:root {
    --surface-start: #8bc9ff;
    --surface-end: #b6e3ff;
    --ink-900: #12213b;
    --ink-700: #27406b;
    --line-soft: rgba(30, 64, 122, 0.2);
    --line-strong: rgba(26, 52, 110, 0.36);
    --card-bg: rgba(255, 255, 255, 0.78);
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    min-height: 100vh;
    color: var(--ink-900);
    font-family: "Sora", "Segoe UI", sans-serif;
    background:
        radial-gradient(660px 340px at 12% 9%, rgba(255, 255, 255, 0.34), transparent 70%),
        radial-gradient(820px 420px at 89% 15%, rgba(105, 203, 255, 0.35), transparent 74%),
        linear-gradient(180deg, var(--surface-start), var(--surface-end));
}

.page-shell {
    width: min(1160px, 92vw);
    margin: 0 auto;
    padding: 22px 0 30px;
}

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 0;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(30, 49, 110, 0.28);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #111527;
    text-decoration: none;
    font-family: "Outfit", "Trebuchet MS", sans-serif;
    font-weight: 700;
    font-size: 20px;
    letter-spacing: 0.02em;
}

.brand-logo {
    width: auto;
    height: 52px;
    max-width: min(42vw, 220px);
    display: block;
    object-fit: contain;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
}

.nav {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.nav a {
    text-decoration: none;
    color: #17203a;
    border: 1px solid rgba(24, 36, 72, 0.2);
    background: rgba(255, 255, 255, 0.52);
    border-radius: 999px;
    padding: 8px 13px;
    font-size: 13px;
    font-weight: 600;
    transition: transform 0.2s ease, background 0.2s ease;
}

.nav a:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.76);
}

.nav a.is-active {
    background: #ffffff;
    border-color: rgba(24, 36, 72, 0.35);
}

.apps-main,
.stepzeno-main,
.legal-main {
    padding-top: 22px;
    animation: fade-up 0.7s ease both;
}

.apps-hero,
.stepzeno-hero {
    padding: 8px 2px 8px;
}

.eyebrow {
    margin: 0 0 14px;
    font-size: 12px;
    color: #1d4ea5;
    letter-spacing: 0.13em;
    font-weight: 700;
}

h1 {
    margin: 0;
    font-family: "Outfit", "Trebuchet MS", sans-serif;
    font-size: clamp(35px, 4.2vw, 58px);
    line-height: 1.06;
    letter-spacing: -0.02em;
    color: #141a33;
    max-width: 24ch;
}

.lead {
    margin: 17px 0 0;
    color: #2f4a78;
    font-size: 18px;
    line-height: 1.65;
    max-width: 70ch;
}

.smooth-divider {
    margin: 20px 0;
    border: 0;
    height: 1px;
    background: linear-gradient(90deg, rgba(30, 49, 110, 0), rgba(30, 49, 110, 0.36), rgba(30, 49, 110, 0));
}

.apps-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.app-card {
    border: 1px solid var(--line-soft);
    border-radius: 16px;
    background: var(--card-bg);
    box-shadow: 0 14px 26px rgba(20, 39, 92, 0.12);
    padding: 18px;
}

.app-card-muted {
    display: grid;
    align-content: start;
    gap: 10px;
}

.app-brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.app-brand img {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    object-fit: cover;
    box-shadow: 0 8px 18px rgba(22, 45, 105, 0.24);
}

.app-mark {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: "Outfit", "Trebuchet MS", sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    background: linear-gradient(145deg, #3779ee, #1f4aa8);
    box-shadow: 0 8px 18px rgba(22, 45, 105, 0.24);
}

.app-brand h2,
.app-card h2 {
    margin: 4px 0 0;
    font-family: "Outfit", "Trebuchet MS", sans-serif;
    font-size: clamp(28px, 2.8vw, 38px);
    line-height: 1.12;
    color: #102045;
}

.tag {
    margin: 0;
    font-size: 11px;
    letter-spacing: 0.11em;
    font-weight: 800;
    color: #1b4ea7;
}

.app-copy {
    margin: 12px 0 0;
    color: #2d4674;
    line-height: 1.65;
}

.feature-list {
    margin: 12px 0 0;
    padding-left: 19px;
    color: #1e3765;
    line-height: 1.7;
    display: grid;
    gap: 4px;
}

.app-actions,
.hero-actions,
.legal-links {
    margin-top: 14px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    padding: 10px 16px;
    border-radius: 10px;
    border: 1px solid transparent;
    font-size: 13px;
    font-weight: 700;
}

.btn-primary {
    color: #ffffff;
    background: linear-gradient(135deg, #2270f2, #0f3f9f);
    box-shadow: 0 11px 20px rgba(23, 70, 160, 0.27);
}

.btn-secondary {
    color: #1b3466;
    border-color: var(--line-strong);
    background: rgba(255, 255, 255, 0.66);
}

.btn:hover {
    transform: translateY(-1px);
}

.inline-link {
    text-decoration: none;
    color: #1a4697;
    font-weight: 700;
}

.inline-link:hover {
    text-decoration: underline;
}

.stepzeno-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 330px);
    gap: 18px;
    align-items: center;
}

.stepzeno-logo-box {
    border: 1px solid var(--line-soft);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 14px 26px rgba(20, 39, 92, 0.12);
    padding: 20px;
}

.stepzeno-logo-box img {
    width: 100%;
    border-radius: 18px;
    object-fit: cover;
    box-shadow: 0 12px 22px rgba(17, 35, 83, 0.2);
}

.stepzeno-section {
    border: 1px solid var(--line-soft);
    border-radius: 16px;
    background: var(--card-bg);
    box-shadow: 0 14px 26px rgba(20, 39, 92, 0.1);
    padding: 18px;
}

.stepzeno-section h2,
.legal-card h2 {
    margin: 0;
    font-family: "Outfit", "Trebuchet MS", sans-serif;
    font-size: clamp(27px, 2.5vw, 36px);
    line-height: 1.14;
    color: #102045;
}

.stepzeno-section p {
    margin: 12px 0 0;
    color: #2d4674;
    line-height: 1.67;
}

.highlights {
    margin: 14px 0 0;
    padding-left: 19px;
    color: #1e3765;
    line-height: 1.72;
    display: grid;
    gap: 5px;
}

.gallery-grid {
    margin-top: 14px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.gallery-grid figure {
    margin: 0;
    border: 1px solid rgba(20, 43, 98, 0.22);
    border-radius: 14px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.9);
}

.gallery-grid img {
    width: 100%;
    aspect-ratio: 9 / 16;
    object-fit: cover;
    display: block;
}

.gallery-grid figcaption {
    padding: 8px 10px;
    font-size: 12px;
    font-weight: 600;
    color: #284472;
}

.legal-wrap {
    border: 1px solid var(--line-soft);
    border-radius: 16px;
    background: var(--card-bg);
    box-shadow: 0 14px 26px rgba(20, 39, 92, 0.1);
    padding: 20px;
}

.legal-meta {
    margin: 14px 0 0;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    color: #23406f;
    font-size: 13px;
    font-weight: 600;
}

.legal-divider {
    margin: 16px 0;
    border: 0;
    height: 1px;
    background: linear-gradient(90deg, rgba(30, 49, 110, 0), rgba(30, 49, 110, 0.3), rgba(30, 49, 110, 0));
}

.legal-card {
    display: grid;
    gap: 10px;
}

.legal-card + .legal-card {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--line-soft);
}

.legal-card h3 {
    margin: 0;
    font-family: "Outfit", "Trebuchet MS", sans-serif;
    font-size: clamp(22px, 2vw, 30px);
    line-height: 1.2;
    color: #132652;
}

.legal-card p {
    margin: 0;
    color: #2d4674;
    line-height: 1.67;
}

.legal-card ul {
    margin: 0;
    padding-left: 19px;
    color: #1f3a69;
    line-height: 1.72;
    display: grid;
    gap: 5px;
}

.contact-callout {
    margin-top: 18px;
    border: 1px solid rgba(24, 52, 120, 0.24);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.82);
    padding: 14px;
}

.contact-callout p {
    margin: 0;
    color: #24406f;
    line-height: 1.62;
}

.site-footer {
    margin-top: 26px;
    padding-top: 18px;
    border-top: 1px solid rgba(30, 49, 110, 0.28);
    color: #1c274a;
}

.site-footer-main {
    display: grid;
    grid-template-columns: minmax(180px, auto) auto minmax(260px, 420px);
    align-items: start;
    gap: 14px 24px;
}

.footer-brand {
    font-size: 18px;
}

.footer-brand .brand-logo {
    width: auto;
    height: 38px;
    max-width: min(32vw, 165px);
}

.footer-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.footer-nav a {
    text-decoration: none;
    color: #17203a;
    border: 1px solid rgba(24, 36, 72, 0.2);
    background: rgba(255, 255, 255, 0.56);
    border-radius: 999px;
    padding: 7px 12px;
    font-size: 12px;
    font-weight: 700;
}

.footer-subscribe {
    display: grid;
    gap: 8px;
}

.footer-subscribe label {
    font-size: 13px;
    font-weight: 600;
    color: #1d2b56;
}

.footer-subscribe-row {
    display: flex;
    gap: 8px;
}

.footer-subscribe-row input {
    width: 100%;
    min-width: 0;
    border-radius: 10px;
    border: 1px solid rgba(40, 61, 132, 0.3);
    background: rgba(255, 255, 255, 0.86);
    color: #1a2852;
    padding: 10px 12px;
    font-size: 14px;
}

.footer-subscribe-row input:focus {
    outline: none;
    border-color: #4464e2;
    box-shadow: 0 0 0 2px rgba(68, 100, 226, 0.18);
}

.footer-subscribe-row button {
    border: 0;
    border-radius: 10px;
    padding: 0 16px;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    background: linear-gradient(135deg, #3557d9, #2438a1);
    box-shadow: 0 10px 18px rgba(43, 69, 171, 0.24);
    cursor: pointer;
}

.footer-subscribe-row button:hover {
    opacity: 0.94;
}

.footer-flash {
    margin: 0;
    border-radius: 8px;
    padding: 8px 10px;
    font-size: 12px;
    line-height: 1.5;
}

.footer-flash.ok {
    border: 1px solid #57bf8f;
    background: #def7e8;
    color: #204931;
}

.footer-flash.err {
    border: 1px solid #ef7f7f;
    background: #ffe2e2;
    color: #6f2323;
}

.site-footer-divider {
    height: 1px;
    margin: 16px 0 12px;
    background: linear-gradient(90deg, rgba(30, 49, 110, 0), rgba(30, 49, 110, 0.36), rgba(30, 49, 110, 0));
}

.site-footer-bottom {
    font-size: 12px;
    color: rgba(16, 21, 38, 0.75);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
}

.honeypot {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
}

@keyframes fade-up {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 980px) {
    .apps-grid {
        grid-template-columns: 1fr;
    }

    .stepzeno-hero-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .site-footer-main {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .page-shell {
        width: min(1160px, 94vw);
        padding-top: 14px;
    }

    .topbar {
        flex-direction: column;
        align-items: flex-start;
    }

    h1 {
        font-size: clamp(31px, 10.5vw, 49px);
    }

    .brand-logo {
        height: 44px;
    }

    .footer-brand .brand-logo {
        height: 32px;
    }

    .lead {
        font-size: 16px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .footer-subscribe-row {
        flex-direction: column;
    }

    .footer-subscribe-row button {
        width: 100%;
        height: 42px;
    }
}
