:root {
    --bg: #f8fafc;
    --surface: #ffffff;
    --surface-soft: #eef6f3;
    --ink: #14213d;
    --muted: #52616f;
    --line: #dce5e2;
    --primary: #177e89;
    --primary-dark: #0d5c63;
    --accent: #e9b44c;
    --accent-soft: #fff6df;
    --success-soft: #e8f6ef;
    --shadow: 0 18px 48px rgba(20, 33, 61, 0.12);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--bg);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    line-height: 1.6;
}

a {
    color: inherit;
}

.site-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    border-bottom: 1px solid rgba(220, 229, 226, 0.78);
    background: rgba(248, 250, 252, 0.94);
    backdrop-filter: blur(16px);
}

.nav {
    width: min(1120px, calc(100% - 32px));
    min-height: 72px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--ink);
    text-decoration: none;
    font-weight: 800;
}

.brand img {
    width: 38px;
    height: 38px;
    border-radius: 10px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 18px;
    color: var(--muted);
    font-size: 0.95rem;
}

.nav-links a {
    text-decoration: none;
}

.nav-links a:hover,
.nav-links a:focus-visible {
    color: var(--primary-dark);
}

.page-main {
    flex: 1;
}

.section {
    padding: 72px 0;
}

.section-soft {
    background: var(--surface-soft);
}

.section-inner {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
}

.hero {
    position: relative;
    overflow: hidden;
    padding: 88px 0 64px;
    background:
        linear-gradient(130deg, rgba(23, 126, 137, 0.12), transparent 42%),
        linear-gradient(220deg, rgba(233, 180, 76, 0.16), transparent 38%),
        var(--bg);
}

.hero-grid {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.06fr) minmax(320px, 0.94fr);
    gap: 54px;
    align-items: center;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 16px;
    color: var(--primary-dark);
    font-size: 0.88rem;
    font-weight: 760;
    letter-spacing: 0;
}

.hero h1,
.page-hero h1 {
    margin: 0;
    max-width: 780px;
    font-size: clamp(2.45rem, 7vw, 5.1rem);
    line-height: 0.98;
    letter-spacing: 0;
}

.hero-copy,
.page-copy {
    max-width: 690px;
    margin: 22px 0 0;
    color: var(--muted);
    font-size: 1.15rem;
}

.hero-actions {
    margin-top: 32px;
}

.download-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.store-button {
    min-height: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px 18px;
    border: 1px solid #111827;
    border-radius: 8px;
    background: #0b0f19;
    color: #ffffff;
    text-decoration: none;
    font-weight: 760;
    box-shadow: 0 12px 26px rgba(11, 15, 25, 0.14);
    transition: transform 160ms ease, box-shadow 160ms ease, opacity 160ms ease;
}

.store-button:hover,
.store-button:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(11, 15, 25, 0.2);
}

.store-button img {
    display: block;
    height: 42px;
}

.store-button svg {
    flex: 0 0 auto;
}

.store-button small {
    display: block;
    font-size: 0.68rem;
    font-weight: 600;
    opacity: 0.78;
    line-height: 1;
}

.store-button span {
    display: block;
    line-height: 1.15;
}

.store-button.secondary {
    border-color: var(--line);
    background: var(--surface);
    color: var(--ink);
}

.trust-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
    color: var(--muted);
    font-size: 0.92rem;
}

.trust-list span {
    padding: 7px 10px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.78);
}

.phone-preview {
    position: relative;
    min-height: 560px;
}

.phone-card {
    position: absolute;
    width: min(310px, 72vw);
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 34px;
    background: linear-gradient(180deg, #ffffff, #f2f7f5);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.phone-card.primary {
    top: 0;
    right: 40px;
}

.phone-card.secondary-preview {
    left: 0;
    bottom: 12px;
    width: min(260px, 62vw);
    background: #ffffff;
}

.phone-card img {
    display: block;
    width: 100%;
    border-radius: 24px;
}

.screenshot-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.screenshot-card {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: 0 12px 34px rgba(20, 33, 61, 0.08);
}

.screenshot-card img {
    display: block;
    width: 100%;
    aspect-ratio: 1179 / 2556;
    object-fit: cover;
    object-position: top;
}

.screenshot-number {
    position: absolute;
    top: 12px;
    left: 12px;
    width: 36px;
    height: 36px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: rgba(22, 33, 62, 0.9);
    color: #ffffff;
    font-weight: 850;
    box-shadow: 0 8px 18px rgba(20, 33, 61, 0.18);
}

.screenshot-card figcaption {
    padding: 14px 16px 16px;
    color: var(--muted);
    font-size: 0.92rem;
}

.map-showcase {
    display: grid;
    grid-template-columns: minmax(0, 0.78fr) minmax(320px, 1.22fr);
    gap: 38px;
    align-items: center;
}

.map-visual {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: var(--shadow);
}

.map-visual img {
    display: block;
    width: 100%;
    aspect-ratio: 2360 / 1640;
    object-fit: cover;
    object-position: center;
}

.section-heading {
    max-width: 760px;
    margin-bottom: 34px;
}

.section-heading h2,
.content-block h2 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3.15rem);
    line-height: 1.08;
    letter-spacing: 0;
}

.section-heading p,
.content-block p {
    margin: 14px 0 0;
    color: var(--muted);
    font-size: 1.05rem;
}

.feature-grid,
.answer-grid,
.use-case-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.feature-card,
.answer-card,
.use-case-card {
    min-height: 100%;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
}

.feature-card h3,
.answer-card h3,
.use-case-card h3 {
    margin: 0 0 10px;
    font-size: 1.12rem;
    line-height: 1.28;
}

.feature-card p,
.answer-card p,
.use-case-card p,
.faq-item p {
    margin: 0;
    color: var(--muted);
}

.card-icon {
    width: 38px;
    height: 38px;
    margin-bottom: 18px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: var(--accent-soft);
    color: #805400;
    font-weight: 850;
}

.content-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.88fr) minmax(320px, 1.12fr);
    gap: 42px;
    align-items: start;
}

.privacy-panel {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
    gap: 42px;
    align-items: center;
    padding: 42px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: 0 12px 34px rgba(20, 33, 61, 0.08);
}

.privacy-link {
    display: inline-flex;
    margin-top: 20px;
    color: var(--primary-dark);
    font-weight: 760;
    text-underline-offset: 3px;
}

.privacy-points {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.privacy-points li {
    position: relative;
    padding: 14px 16px 14px 44px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--success-soft);
    color: var(--ink);
    font-weight: 700;
}

.privacy-points li::before {
    position: absolute;
    left: 16px;
    content: "✓";
    color: var(--primary-dark);
    font-weight: 900;
}

.steps {
    display: grid;
    gap: 14px;
}

.step {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 14px;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
}

.step-number {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--primary);
    color: #ffffff;
    display: grid;
    place-items: center;
    font-weight: 820;
}

.step h3 {
    margin: 0 0 5px;
}

.step p {
    margin: 0;
    color: var(--muted);
}

.page-hero {
    padding: 76px 0 54px;
    background: var(--surface-soft);
}

.faq-list {
    display: grid;
    gap: 14px;
}

.faq-item {
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
}

.faq-item h2 {
    margin: 0 0 8px;
    font-size: 1.18rem;
}

.cta-band {
    padding: 54px;
    border-radius: 8px;
    background: #16213e;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.cta-band h2 {
    margin: 0;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    line-height: 1.08;
}

.cta-band p {
    margin: 12px 0 0;
    color: rgba(255, 255, 255, 0.76);
}

.site-footer {
    border-top: 1px solid var(--line);
    background: var(--surface);
}

.footer-inner {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
    padding: 30px 0;
    display: flex;
    justify-content: space-between;
    gap: 24px;
    color: var(--muted);
    font-size: 0.94rem;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.footer-links a {
    text-decoration: none;
}

.footer-links a:hover,
.footer-links a:focus-visible {
    color: var(--primary-dark);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 900px) {
    .hero-grid,
    .content-layout,
    .map-showcase,
    .privacy-panel {
        grid-template-columns: 1fr;
    }

    .phone-preview {
        min-height: 500px;
    }

    .phone-card.primary {
        right: 0;
    }

    .feature-grid,
    .answer-grid,
    .use-case-grid,
    .screenshot-strip {
        grid-template-columns: 1fr 1fr;
    }

    .cta-band {
        align-items: flex-start;
        flex-direction: column;
        padding: 34px;
    }

    .privacy-panel {
        padding: 28px;
    }
}

@media (max-width: 680px) {
    .nav {
        min-height: auto;
        padding: 14px 0;
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .nav-links {
        width: 100%;
        gap: 12px;
        overflow-x: auto;
        padding-bottom: 4px;
    }

    .hero {
        padding-top: 52px;
    }

    .section {
        padding: 52px 0;
    }

    .hero h1,
    .page-hero h1 {
        font-size: 2.7rem;
    }

    .download-row {
        align-items: stretch;
        flex-direction: column;
    }

    .store-button {
        width: 100%;
    }

    .feature-grid,
    .answer-grid,
    .use-case-grid {
        grid-template-columns: 1fr;
    }

    .phone-preview {
        min-height: 430px;
    }

    .phone-card {
        width: min(270px, 82vw);
    }

    .phone-card.primary {
        position: relative;
        right: auto;
        margin-left: auto;
    }

    .phone-card.secondary-preview {
        display: none;
    }

    .footer-inner {
        flex-direction: column;
    }
}

@media (max-width: 520px) {
    .screenshot-strip {
        display: flex;
        gap: 14px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding-bottom: 8px;
    }

    .screenshot-card {
        flex: 0 0 78%;
        scroll-snap-align: start;
    }
}
