:root {
    --navy: #0B1F3A;
    --blue: #276EF1;
    --sky: #EAF4FF;
    --gold: #C79A42;
    --sand: #FFF8E8;
    --paper: #FAF7F0;
    --white: #FFFFFF;
    --ink: #243B53;
    --muted: #6B7C93;
    --line: #D9E2EC;
    --radius-lg: 28px;
    --radius-md: 18px;
    --max-width: 1180px;
    color-scheme: light;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background:
        radial-gradient(circle at 8% 0%, rgba(234, 244, 255, 0.95), transparent 34rem),
        radial-gradient(circle at 100% 16%, rgba(255, 248, 232, 0.95), transparent 32rem),
        var(--paper);
    color: var(--ink);
}

body.menu-open {
    overflow: hidden;
}

body.modal-open {
    overflow: hidden;
}

img,
video {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input {
    font: inherit;
}

.announcement {
    display: flex;
    justify-content: center;
    gap: 12px;
    padding: 10px 18px;
    background: var(--navy);
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.92rem;
    line-height: 1.45;
    text-align: center;
}

.announcement a {
    color: white;
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 16px clamp(18px, 4vw, 56px);
    border-bottom: 1px solid rgba(217, 226, 236, 0.82);
    background: rgba(250, 247, 240, 0.88);
    backdrop-filter: blur(18px);
}

.brand {
    display: inline-flex;
    align-items: center;
    min-width: 0;
}

.brand-mark {
    width: 40px;
    height: 40px;
    object-fit: contain;
    flex: 0 0 auto;
}

.brand-wordmark {
    width: auto;
    height: 42px;
    margin-left: -16px;
}

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

.nav a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    padding: 9px 12px;
    border-radius: 999px;
    color: var(--muted);
    font-size: 0.94rem;
    font-weight: 800;
}

.nav a:hover {
    background: var(--sky);
    color: var(--navy);
}

.nav .primary-button {
    background: var(--blue);
    color: #ffffff !important;
}

.nav .primary-button:hover,
.primary-button:hover {
    background: #174fc4;
    color: #ffffff !important;
}

.language-pill {
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.72);
    color: var(--navy) !important;
}

.menu-button {
    display: none;
    min-height: 44px;
    padding: 9px 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: white;
    color: var(--navy);
    font-weight: 900;
}

.primary-button,
.secondary-button,
.ghost-button {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 18px;
    border-radius: 999px;
    border: 0;
    font-weight: 900;
    cursor: pointer;
}

.primary-button {
    background: var(--blue);
    color: white;
    box-shadow: 0 18px 34px rgba(39, 110, 241, 0.24);
}

.secondary-button {
    border: 1px solid rgba(11, 31, 58, 0.18);
    background: white;
    color: var(--navy);
}

.ghost-button {
    background: transparent;
    color: var(--blue);
    padding-left: 0;
    padding-right: 0;
}

.hero {
    width: min(var(--max-width), calc(100% - 36px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(340px, 0.9fr);
    gap: clamp(64px, 9vw, 136px);
    align-items: center;
    min-height: calc(100vh - 108px);
    padding: clamp(54px, 8vw, 96px) 0 clamp(44px, 7vw, 78px);
}

.hero > :first-child {
    min-width: 0;
    max-width: 620px;
}

.eyebrow {
    display: inline-flex;
    width: fit-content;
    margin: 0 0 16px;
    padding: 8px 12px;
    border-radius: 999px;
    background: var(--sand);
    color: var(--navy);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

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

h1 {
    max-width: 620px;
    margin-bottom: 20px;
    color: var(--navy);
    font-size: clamp(3.2rem, 5.5vw, 4.5rem);
    line-height: 1;
    letter-spacing: 0;
}

h2 {
    margin-bottom: 16px;
    color: var(--navy);
    font-size: clamp(2rem, 4.2vw, 3.2rem);
    line-height: 1.08;
    letter-spacing: 0;
}

h3 {
    margin-bottom: 10px;
    color: var(--navy);
    font-size: 1.18rem;
    line-height: 1.22;
}

.lead {
    max-width: 700px;
    color: var(--ink);
    font-size: clamp(1.08rem, 2vw, 1.28rem);
    line-height: 1.65;
}

.muted {
    color: var(--muted);
}

.hero-actions,
.cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 28px 0 22px;
}

.badge-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.badge {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 8px 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.78);
    color: var(--navy);
    font-size: 0.86rem;
    font-weight: 850;
}

.hero-visual {
    position: relative;
    justify-self: end;
    transform: translateX(clamp(0px, 2vw, 28px));
}

.phone-stack {
    display: grid;
    grid-template-columns: 1fr;
    place-items: center;
}

.phone-shell {
    width: min(360px, 82vw);
    aspect-ratio: 0.492;
    padding: 12px;
    border-radius: 48px;
    background: linear-gradient(145deg, #13233e, #070d1a);
    box-shadow: 0 34px 80px rgba(11, 31, 58, 0.28);
}

.phone-shell.small {
    width: min(292px, 76vw);
}

.phone-screen {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 36px;
    background: #eef4f8;
}

.phone-screen img,
.phone-screen video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.section {
    width: min(var(--max-width), calc(100% - 36px));
    margin: 0 auto;
    padding: 96px 0;
}

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

.section-heading p,
.copy p,
.feature-card p,
.faq-panel,
.privacy-page p {
    color: var(--muted);
    font-size: 1.03rem;
    line-height: 1.72;
}

.trust-grid,
.feature-grid,
.faq-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.trust-card,
.feature-card,
.faq-item,
.flow-card,
.missing-asset {
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.74);
    box-shadow: 0 16px 44px rgba(11, 31, 58, 0.06);
}

.trust-card,
.feature-card,
.flow-card,
.missing-asset {
    padding: 24px;
}

.trust-card span,
.feature-icon,
.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-bottom: 18px;
    border-radius: 999px;
    background: var(--sky);
    color: var(--blue);
    font-weight: 950;
}

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

.split,
.media-split {
    display: grid;
    grid-template-columns: minmax(280px, 0.86fr) minmax(0, 1fr);
    gap: clamp(32px, 6vw, 78px);
    align-items: center;
}

.media-split.reverse {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.86fr);
}

.bullets {
    display: grid;
    gap: 10px;
    padding: 0;
    margin: 22px 0 0;
    list-style: none;
}

.bullets li {
    position: relative;
    padding-left: 30px;
    color: var(--ink);
    line-height: 1.55;
}

.bullets li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 3px;
    width: 18px;
    height: 18px;
    border-radius: 999px;
    background: var(--blue);
    box-shadow: inset 0 0 0 5px var(--sky);
}

.device-gallery {
    display: grid;
    gap: 14px;
    justify-items: center;
}

.gallery-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.gallery-controls button,
.video-toggle {
    min-width: 44px;
    min-height: 44px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: white;
    color: var(--navy);
    font-weight: 950;
    cursor: pointer;
}

.gallery-dots {
    display: flex;
    gap: 7px;
}

.gallery-dot {
    width: 9px;
    height: 9px;
    min-width: 9px;
    min-height: 9px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: #b9c7d8;
}

.gallery-dot.is-active {
    width: 24px;
    background: var(--blue);
}

.gallery-screen img {
    display: none;
}

.gallery-screen img.is-active {
    display: block;
}

.caption-card {
    max-width: 620px;
    margin-top: 4px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: white;
}

.caption-card .eyebrow {
    margin-bottom: 10px;
}

.video-card {
    display: grid;
    gap: 14px;
    justify-items: center;
}

.video-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    color: var(--muted);
    font-size: 0.92rem;
}

.native-video {
    background: #050914;
}

.native-video video {
    object-fit: cover;
}

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

.privacy-band {
    width: 100%;
    max-width: none;
    padding-left: clamp(18px, 5vw, 72px);
    padding-right: clamp(18px, 5vw, 72px);
    background: linear-gradient(145deg, #071a32, #0B1F3A);
    color: white;
}

.privacy-band h2,
.privacy-band h3,
.privacy-band .eyebrow {
    color: white;
}

.privacy-band .eyebrow {
    border: 1px solid rgba(255, 255, 255, 0.24);
    background: rgba(255, 255, 255, 0.12);
}

.privacy-band p,
.privacy-band .bullets li {
    color: rgba(255, 255, 255, 0.78);
}

.privacy-band .bullets li::before {
    background: var(--gold);
    box-shadow: inset 0 0 0 5px rgba(255, 248, 232, 0.22);
}

.data-flow {
    display: grid;
    gap: 14px;
}

.data-flow img {
    width: 100%;
    border-radius: var(--radius-lg);
    background: white;
}

.privacy-band .flow-card {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.privacy-band .flow-card p {
    color: rgba(255, 255, 255, 0.74);
    margin-bottom: 0;
}

.arrow {
    color: var(--gold);
    font-weight: 950;
    text-align: center;
}

.beta-box,
.newsletter-section {
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--white);
    padding: clamp(26px, 5vw, 42px);
}

.newsletter-form {
    display: grid;
    gap: 10px;
}

.newsletter-form label {
    color: var(--navy);
    font-weight: 900;
}

.newsletter-row {
    display: flex;
    gap: 10px;
}

.newsletter-row input {
    width: min(420px, 100%);
    min-height: 48px;
    padding: 0 16px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: white;
    color: var(--ink);
}

.newsletter-row input:focus {
    outline: 3px solid rgba(39, 110, 241, 0.18);
    border-color: var(--blue);
}

.newsletter-message {
    min-height: 22px;
    margin: 0;
    color: var(--muted);
}

.newsletter-message.is-success {
    color: #23704a;
}

.newsletter-message.is-error {
    color: #a73b45;
}

.beta-modal {
    position: fixed;
    inset: 0;
    z-index: 90;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 22px;
}

.beta-modal.is-open {
    display: flex;
}

.beta-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(11, 31, 58, 0.58);
    backdrop-filter: blur(8px);
}

.beta-modal-panel {
    position: relative;
    z-index: 1;
    width: min(560px, 100%);
    padding: clamp(26px, 5vw, 38px);
    border: 1px solid rgba(217, 226, 236, 0.88);
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: 0 30px 80px rgba(11, 31, 58, 0.25);
}

.beta-modal-panel h2 {
    margin-bottom: 12px;
}

.update-modal-panel {
    width: min(640px, 100%);
}

.update-highlight-title {
    margin: 22px 0 10px;
}

.update-highlight-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 4px;
}

.update-highlight-list span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 7px 10px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--sky);
    color: var(--navy);
    font-size: 0.86rem;
    font-weight: 850;
}

.release-section-title {
    margin-top: 44px;
}

.release-section-title:first-of-type {
    margin-top: 34px;
}

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

.release-list li {
    position: relative;
    padding: 18px 18px 18px 48px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.76);
    color: var(--ink);
    line-height: 1.55;
}

.release-list li::before {
    content: "";
    position: absolute;
    top: 22px;
    left: 20px;
    width: 14px;
    height: 14px;
    border-radius: 999px;
    background: var(--blue);
    box-shadow: 0 0 0 5px var(--sky);
}

.beta-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: white;
    color: var(--navy);
    cursor: pointer;
    font-size: 1.4rem;
    line-height: 1;
}

.beta-modal-close:hover {
    background: var(--navy);
    color: white;
}

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

.faq-item {
    overflow: hidden;
}

.faq-trigger {
    width: 100%;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 22px;
    border: 0;
    background: white;
    color: var(--navy);
    text-align: left;
    font-weight: 900;
    cursor: pointer;
}

.faq-panel {
    display: none;
    padding: 0 22px 22px;
}

.faq-item.is-open .faq-panel {
    display: block;
}

.privacy-hero {
    width: min(var(--max-width), calc(100% - 36px));
    margin: 0 auto;
    padding: 78px 0 54px;
}

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

.data-table {
    width: 100%;
    border-collapse: collapse;
    overflow: hidden;
    border-radius: var(--radius-md);
    background: white;
}

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

.data-table th {
    color: var(--navy);
    background: var(--sky);
}

.site-footer {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 28px;
    align-items: center;
    padding: 28px clamp(18px, 4vw, 56px);
    border-top: 1px solid var(--line);
    background: white;
}

.footer-links,
.footer-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px 18px;
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
    margin: 14px 0;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    color: var(--navy);
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.social-link:hover {
    background: var(--navy);
    color: #fff;
    transform: translateY(-1px);
}

.social-link svg {
    width: 21px;
    height: 21px;
    display: block;
}

.footer-links a,
.footer-meta a {
    color: var(--navy);
    font-weight: 850;
}

.footer-copy {
    color: var(--muted);
    line-height: 1.55;
}

.placeholder-art {
    min-height: 420px;
    display: grid;
    place-items: center;
    padding: 28px;
    border: 2px dashed rgba(39, 110, 241, 0.26);
    border-radius: var(--radius-lg);
    background: linear-gradient(145deg, var(--sky), var(--sand));
    color: var(--navy);
    text-align: center;
    font-weight: 900;
}

.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 (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

@media (max-width: 1080px) {
    .trust-grid,
    .feature-grid,
    .pipeline,
    .promise-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero,
    .split,
    .media-split,
    .media-split.reverse {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .announcement {
        flex-direction: column;
        gap: 4px;
    }

    .site-header {
        align-items: center;
    }

    .menu-button {
        display: inline-flex;
    }

    .nav {
        position: fixed;
        inset: 75px 12px auto;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 14px;
        border: 1px solid var(--line);
        border-radius: var(--radius-lg);
        background: white;
        box-shadow: 0 24px 64px rgba(11, 31, 58, 0.18);
    }

    .nav.is-open {
        display: flex;
    }

    .nav a {
        justify-content: center;
    }

    .hero {
        min-height: auto;
        padding-top: 48px;
    }

    .hero-visual {
        justify-self: center;
        transform: none;
    }

    .media-split > .copy {
        order: 1;
    }

    .media-split > :not(.copy) {
        order: 2;
    }

    .split > .copy {
        order: 1;
    }

    .split > :not(.copy) {
        order: 2;
    }

    h1 {
        font-size: clamp(2.45rem, 12vw, 3.4rem);
        line-height: 1.02;
    }

    h2 {
        font-size: clamp(1.9rem, 8vw, 2.55rem);
    }

    .section {
        padding: 56px 0;
    }

    .trust-grid,
    .feature-grid,
    .pipeline,
    .memory-pair,
    .promise-grid {
        grid-template-columns: 1fr;
    }

    .newsletter-row {
        flex-direction: column;
    }

    .newsletter-row input,
    .newsletter-row .primary-button {
        width: 100%;
    }

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

    .footer-links,
    .footer-meta,
    .social-links {
        justify-content: flex-start;
    }
}
