:root {
    --paper: #fbf7ef;
    --paper-strong: #fffdf8;
    --ink: #17202a;
    --muted: #617080;
    --line: #d9d0c2;
    --blue: #1f5d9c;
    --blue-deep: #123b64;
    --amber: #f3aa3f;
    --sage: #54726a;
    --coral: #c7664c;
    --shadow: 0 18px 42px rgba(23, 32, 42, 0.12);
    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);
    font-size: 17px;
    line-height: 1.6;
}

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(217, 208, 194, 0.72);
    background: rgba(251, 247, 239, 0.93);
    backdrop-filter: blur(16px);
}

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

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.12rem;
}

.brand img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    box-shadow: 0 10px 22px rgba(18, 59, 100, 0.16);
}

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

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

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

.hero {
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--line);
    background: var(--blue-deep);
    color: #fff;
}

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

.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.32);
    border-radius: 30px;
    box-shadow: 0 24px 62px rgba(3, 15, 28, 0.42);
}

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

.hero-shot-secondary {
    right: 0;
    top: 98px;
    z-index: 2;
    width: min(58%, 230px);
    opacity: 0.92;
}

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

.eyebrow {
    margin: 0 0 16px;
    color: var(--amber);
    font-weight: 800;
    font-size: 0.88rem;
    text-transform: uppercase;
}

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

h1 {
    margin-bottom: 22px;
    font-size: 4.35rem;
    line-height: 0.98;
    max-width: 760px;
}

h2 {
    margin-bottom: 16px;
    font-size: 2.35rem;
    line-height: 1.08;
}

h3 {
    margin-bottom: 8px;
    font-size: 1.12rem;
    line-height: 1.25;
}

.lede {
    max-width: 650px;
    color: rgba(255, 255, 255, 0.84);
    font-size: 1.25rem;
}

.hero-compatibility {
    margin-top: 22px;
}

.compatibility-badge {
    display: inline-flex;
    width: fit-content;
    max-width: 100%;
    align-items: center;
    gap: 12px;
    margin: 0;
    padding: 10px 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.78);
    font-weight: 700;
    line-height: 1.25;
}

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

.compatibility-copy strong {
    color: #fff;
}

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

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

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

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

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

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

.button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
    border: 1px solid var(--blue-deep);
    border-radius: 8px;
    background: var(--blue-deep);
    color: #fff;
    font-weight: 800;
    text-decoration: none;
    transition:
        background-color 160ms ease,
        border-color 160ms ease,
        color 160ms ease,
        transform 160ms ease;
}

.hero .button-primary {
    border-color: var(--amber);
    background: var(--amber);
    color: var(--blue-deep);
    box-shadow: 0 14px 30px rgba(3, 15, 28, 0.28);
}

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

.hero .button-link {
    min-height: 44px;
    padding: 0 4px;
    border-color: transparent;
    background: transparent;
    color: rgba(255, 255, 255, 0.84);
}

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

.hero .button-primary:hover {
    background: #ffc15f;
}

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

.hero .button-link:hover {
    color: #fff;
}

.section {
    padding: 72px 0;
}

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

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

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

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

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

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

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

.screen-card {
    margin: 0;
    border: 1px solid rgba(23, 32, 42, 0.11);
    border-radius: 8px;
    background: var(--paper-strong);
    padding: 18px;
}

.screen-card img {
    width: min(100%, 220px);
    margin: 0 auto;
    border: 1px solid rgba(23, 32, 42, 0.13);
    border-radius: 28px;
    background: #0c1520;
    box-shadow: var(--shadow);
}

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

.screen-card strong {
    display: block;
    color: var(--ink);
    font-size: 1rem;
}

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

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

.workflow-steps article {
    border-top: 4px solid var(--amber);
    background: var(--paper-strong);
    border-radius: 8px;
    padding: 18px;
}

.workflow-steps span {
    display: inline-grid;
    width: 32px;
    height: 32px;
    margin-bottom: 12px;
    place-items: center;
    border-radius: 50%;
    background: var(--blue-deep);
    color: #fff;
    font-weight: 900;
}

.card {
    min-height: 100%;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--paper-strong);
    padding: 22px;
}

.card.accent-blue {
    border-top: 5px solid var(--blue);
}

.card.accent-amber {
    border-top: 5px solid var(--amber);
}

.card.accent-sage {
    border-top: 5px solid var(--sage);
}

.card.accent-coral {
    border-top: 5px solid var(--coral);
}

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

.privacy-table {
    width: 100%;
    border-collapse: collapse;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--paper-strong);
}

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

.privacy-table th {
    background: #efe8dc;
    font-size: 0.9rem;
}

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

.policy {
    max-width: 860px;
}

.policy h1 {
    font-size: 3.05rem;
}

.policy h2 {
    margin-top: 46px;
    font-size: 1.8rem;
}

.policy h3 {
    margin-top: 28px;
}

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

.policy li {
    margin: 8px 0;
}

.note {
    border-left: 5px solid var(--amber);
    border-radius: 8px;
    background: var(--paper-strong);
    padding: 18px 20px;
}

.footer {
    border-top: 1px solid var(--line);
    background: #17202a;
    color: #f7efe2;
    padding: 34px 0;
}

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

.footer a {
    color: #f7efe2;
}

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

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

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

    .hero-compatibility {
        margin-top: 20px;
    }

    .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);
    }

    h1 {
        font-size: 3.1rem;
    }

    .grid,
    .feature-grid,
    .screens-grid {
        grid-template-columns: 1fr;
    }

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

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

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

@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.82rem;
    }

    .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);
    }

    h1,
    .policy h1 {
        font-size: 2.45rem;
    }

    h2 {
        font-size: 1.9rem;
    }

    .lede {
        font-size: 1.08rem;
    }

    .section {
        padding: 52px 0;
    }

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

    .actions {
        display: grid;
    }

    .compatibility-badge {
        align-items: flex-start;
    }

    .button {
        width: 100%;
    }

    .hero .button-link {
        width: auto;
        justify-self: start;
    }

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