:root {
    --paper: #f6f2e9;
    --paper-strong: #ffffff;
    --paper-warm: #fbf7ee;
    --ink: #14202c;
    --ink-soft: #2b3947;
    --muted: #5d6c7c;
    --muted-strong: #475665;
    --line: #e7ddcd;
    --line-soft: #efe7d8;
    --line-strong: #d4cab8;
    --blue: #2566a6;
    --blue-deep: #0f3a63;
    --blue-mid: #1b4f86;
    --blue-mist: #d8e6f3;
    --amber: #e39f47;
    --amber-soft: #f0bd6f;
    --amber-mist: #f8e3bf;
    --sage: #5a7a6e;
    --sage-mist: #d4e1da;
    --coral: #c46651;
    --coral-mist: #f1d8ce;
    --shadow-soft: 0 18px 50px rgba(14, 28, 44, 0.10);
    --shadow-card: 0 4px 16px rgba(14, 28, 44, 0.04);
    --shadow-screenshot: 0 28px 58px rgba(6, 14, 26, 0.42);
    --radius-sm: 10px;
    --radius: 16px;
    --radius-lg: 22px;
    font-family:
        ui-rounded, "SF Pro Rounded", "Nunito Sans", Inter, -apple-system,
        BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--ink);
    background: var(--paper);
    letter-spacing: 0;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink-soft);
    font-size: 17px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    border-bottom: 1px solid rgba(231, 221, 205, 0.7);
    background: rgba(246, 242, 233, 0.86);
    backdrop-filter: saturate(140%) blur(18px);
    -webkit-backdrop-filter: saturate(140%) blur(18px);
}

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

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--ink);
    text-decoration: none;
    font-weight: 800;
    font-size: 1.1rem;
    letter-spacing: -0.01em;
}

.brand img {
    width: 38px;
    height: 38px;
    border-radius: 9px;
    box-shadow: 0 6px 16px rgba(15, 58, 99, 0.18);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 22px;
    color: var(--muted);
    font-size: 0.94rem;
    font-weight: 600;
}

.nav-links a {
    text-decoration: none;
    transition: color 160ms ease;
}

.nav-links a:hover {
    color: var(--blue-deep);
}

.hero {
    position: relative;
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(1100px 700px at 12% 0%, rgba(143, 187, 230, 0.22), transparent 60%),
        radial-gradient(700px 480px at 92% 96%, rgba(227, 160, 71, 0.14), transparent 60%),
        linear-gradient(180deg, #143d68 0%, #0e3258 60%, #0a294a 100%);
}

.hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    min-height: 620px;
    width: min(1140px, calc(100% - 40px));
    margin: 0 auto;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 440px);
    align-items: center;
    gap: 72px;
    padding: 88px 0 78px;
}

.hero-media {
    position: relative;
    z-index: 2;
    display: grid;
    min-height: 560px;
    align-items: center;
    justify-items: center;
    pointer-events: none;
}

.hero-shot {
    position: absolute;
    width: min(76%, 300px);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 36px;
    box-shadow: var(--shadow-screenshot);
}

.hero-shot-primary {
    position: relative;
    right: 42px;
    top: 0;
    z-index: 3;
    width: min(82%, 320px);
}

.hero-shot-secondary {
    right: -44px;
    top: 112px;
    z-index: 2;
    width: min(52%, 210px);
    opacity: 0.48;
    filter: saturate(0.88);
}

.hero-copy {
    position: relative;
    z-index: 4;
    display: flex;
    max-width: 640px;
    flex-direction: column;
    justify-content: center;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 20px;
    color: var(--amber);
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.eyebrow::before {
    content: "";
    width: 22px;
    height: 1px;
    background: currentColor;
    opacity: 0.7;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    margin-bottom: 22px;
    font-size: clamp(2.4rem, 5vw, 3.85rem);
    line-height: 1.04;
    letter-spacing: -0.02em;
    font-weight: 800;
    max-width: 20ch;
    color: inherit;
}

h2 {
    margin-bottom: 14px;
    font-size: clamp(1.7rem, 3vw, 2.3rem);
    line-height: 1.14;
    letter-spacing: -0.015em;
    font-weight: 800;
    color: var(--ink);
}

h3 {
    margin-bottom: 8px;
    font-size: 1.08rem;
    line-height: 1.3;
    letter-spacing: -0.005em;
    font-weight: 700;
    color: var(--ink);
}

.lede {
    max-width: 56ch;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.18rem;
    line-height: 1.55;
}

.platform-note {
    display: inline-flex;
    width: fit-content;
    max-width: 100%;
    align-items: center;
    gap: 14px;
    margin: -18px 0 32px;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--paper-strong);
    color: var(--muted);
    font-weight: 600;
    line-height: 1.3;
    box-shadow: var(--shadow-card);
}

.compatibility-copy {
    display: flex;
    flex-wrap: wrap;
    gap: 2px 8px;
    align-items: baseline;
}

.compatibility-copy strong {
    color: var(--ink);
    font-weight: 700;
}

.compatibility-copy span {
    font-size: 0.92rem;
}

.device-lockup {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 8px;
    border-radius: 9px;
    background: rgba(243, 170, 63, 0.16);
    color: var(--amber);
}

.device-icon {
    display: block;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.device-icon-phone {
    width: 16px;
}

.device-icon-tablet {
    width: 22px;
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 14px;
    align-items: center;
    margin-top: 32px;
}

.privacy-points {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 0;
    margin-top: 20px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.93rem;
    font-weight: 650;
}

.privacy-points span {
    display: inline-flex;
    align-items: center;
    color: inherit;
    letter-spacing: 0.01em;
}

.privacy-points span + span::before {
    content: "";
    width: 4px;
    height: 4px;
    margin: 0 11px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.38);
}

.button {
    display: inline-flex;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    padding: 0 22px;
    border: 1px solid var(--blue-deep);
    border-radius: 12px;
    background: var(--blue-deep);
    color: #fff;
    font-weight: 700;
    font-size: 0.98rem;
    text-decoration: none;
    transition:
        background-color 180ms ease,
        border-color 180ms ease,
        color 180ms ease,
        transform 180ms ease,
        box-shadow 180ms ease;
}

.hero .button-primary {
    border-color: var(--amber);
    background: var(--amber);
    color: var(--blue-deep);
    box-shadow: 0 12px 28px rgba(8, 28, 50, 0.32);
}

.hero .button-secondary {
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

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

.hero .button-primary:hover {
    background: #f0b561;
    box-shadow: 0 16px 32px rgba(8, 28, 50, 0.36);
}

.hero .button-secondary:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.85);
}

.section {
    padding: 104px 0;
    background: var(--paper);
}

.section.alt {
    background: var(--paper-strong);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.wrap {
    width: min(1140px, calc(100% - 40px));
    margin: 0 auto;
}

.section-head {
    max-width: 720px;
    margin-bottom: 44px;
}

.section-head .eyebrow {
    color: var(--blue);
}

.section-head p:not(.eyebrow) {
    color: var(--muted);
    font-size: 1.06rem;
}

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

.privacy-highlight .grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

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

.screens-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
    align-items: start;
}

.screen-card {
    position: relative;
    margin: 0;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper-strong);
    padding: 22px 18px 22px;
    box-shadow: var(--shadow-card);
    transition:
        transform 220ms ease,
        box-shadow 220ms ease;
}

.screen-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-soft);
}

.screen-card img {
    width: min(100%, 220px);
    margin: 0 auto;
    border: 1px solid rgba(15, 28, 44, 0.08);
    border-radius: 30px;
    background: #0c1520;
    box-shadow: 0 18px 36px rgba(15, 28, 44, 0.18);
}

.screen-card figcaption {
    margin-top: 16px;
    color: var(--muted);
    font-size: 0.94rem;
    line-height: 1.5;
}

.screen-card strong {
    display: block;
    margin-bottom: 4px;
    color: var(--ink);
    font-size: 1rem;
    font-weight: 700;
}

.workflow {
    background: var(--paper);
}

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

.workflow-steps article {
    position: relative;
    border: 1px solid var(--line);
    background: var(--paper-strong);
    border-radius: var(--radius);
    padding: 22px;
    box-shadow: var(--shadow-card);
}

.workflow-steps span {
    display: inline-grid;
    width: 34px;
    height: 34px;
    margin-bottom: 14px;
    place-items: center;
    border-radius: 50%;
    background: var(--blue-deep);
    color: #fff;
    font-weight: 800;
    font-size: 0.95rem;
    box-shadow: 0 6px 14px rgba(15, 58, 99, 0.22);
}

.workflow-steps h3 {
    margin-bottom: 6px;
}

.card {
    position: relative;
    min-height: 100%;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper-strong);
    padding: 28px 24px 24px;
    box-shadow: var(--shadow-card);
    transition:
        transform 220ms ease,
        box-shadow 220ms ease;
}

.card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 24px;
    width: 36px;
    height: 3px;
    border-radius: 0 0 3px 3px;
    background: var(--blue);
    opacity: 0.9;
}

.card.accent-blue::before {
    background: var(--blue);
}

.card.accent-amber::before {
    background: var(--amber);
}

.card.accent-sage::before {
    background: var(--sage);
}

.card.accent-coral::before {
    background: var(--coral);
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-soft);
}

.card p,
.workflow-steps p,
.policy p,
.support-list p {
    color: var(--muted);
}

.privacy-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper-strong);
    box-shadow: var(--shadow-card);
}

.privacy-table th,
.privacy-table td {
    padding: 16px 18px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
    font-size: 0.96rem;
}

.privacy-table th {
    background: #f1ead8;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--ink);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.privacy-table tr:last-child td {
    border-bottom: 0;
}

.policy {
    max-width: 780px;
}

.policy .eyebrow {
    color: var(--blue);
}

.policy h1 {
    font-size: clamp(2.1rem, 4.5vw, 3rem);
    color: var(--ink);
    letter-spacing: -0.02em;
}

.policy h2 {
    margin-top: 52px;
    font-size: 1.55rem;
    color: var(--ink);
}

.policy h3 {
    margin-top: 32px;
    color: var(--ink);
}

.policy ul {
    padding-left: 22px;
}

.policy li {
    margin: 8px 0;
}

.policy .lede {
    color: var(--muted-strong);
    font-size: 1.16rem;
    margin-bottom: 28px;
}

.note {
    border: 1px solid var(--amber-mist);
    border-left: 5px solid var(--amber);
    border-radius: var(--radius);
    background: linear-gradient(180deg, #fdf6e6, #fbf2dc);
    padding: 20px 22px;
    color: var(--ink-soft);
    box-shadow: var(--shadow-card);
}

.note strong {
    color: var(--ink);
}

.footer {
    background: #11202f;
    color: #d6cdb9;
    padding: 40px 0;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    width: min(1140px, calc(100% - 40px));
    margin: 0 auto;
    font-size: 0.94rem;
}

.footer a {
    color: #efe6d2;
    text-decoration: none;
    transition: color 160ms ease;
}

.footer a:hover {
    color: #fff;
}

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

@media (max-width: 960px) {
    .hero {
        min-height: auto;
    }

    .hero-inner {
        min-height: auto;
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 72px 0 40px;
    }

    .hero-media {
        min-height: 500px;
        order: 2;
    }

    .hero-shot {
        width: min(54%, 280px);
    }

    .hero-shot-primary {
        right: 68px;
        top: 0;
        width: min(58%, 300px);
    }

    .hero-shot-secondary {
        right: calc(50% - 206px);
        top: 92px;
        width: min(42%, 220px);
    }

    .platform-note {
        margin-top: -10px;
    }

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

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

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

    .section {
        padding: 78px 0;
    }

    .screen-card img {
        width: min(100%, 240px);
    }
}

@media (max-width: 640px) {
    body {
        font-size: 16px;
    }

    .nav {
        min-height: 66px;
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
        padding: 12px 0;
    }

    .nav-links {
        display: grid;
        width: 100%;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px 0;
        font-size: 0.84rem;
    }

    .nav-links a {
        text-align: center;
    }

    .brand span {
        display: none;
    }

    .hero {
        min-height: auto;
    }

    .hero-media {
        min-height: auto;
        justify-items: center;
    }

    .hero-shot-primary {
        width: min(76%, 250px);
        right: 0;
    }

    .hero-shot-secondary {
        display: none;
    }

    .hero-inner,
    .wrap,
    .nav,
    .footer-inner {
        width: calc(100vw - 28px);
    }

    .lede {
        font-size: 1.06rem;
    }

    .section {
        padding: 60px 0;
    }

    .grid,
    .feature-grid,
    .screens-grid,
    .workflow-steps,
    .privacy-highlight .grid {
        grid-template-columns: 1fr;
    }

    .actions {
        display: grid;
    }

    .platform-note {
        align-items: flex-start;
        width: 100%;
        margin-top: -12px;
    }

    .button {
        width: 100%;
    }

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

    .privacy-table th,
    .privacy-table td {
        padding: 12px 14px;
        font-size: 0.9rem;
    }
}
