:root {
    --ink: #0a091e;
    --ink-soft: #0c0b24;
    --surface: rgba(255, 255, 255, 0.05);
    --surface-solid: #15112f;
    --ivory: #e0e0e0;
    --mist: #9ca3af;
    --gold: #d8b4fe;
    --cyan: #a78bfa;
    --coral: #818cf8;
    --line: rgba(255, 255, 255, 0.14);
    --shadow: 0 24px 70px rgba(0, 0, 0, 0.3);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    min-height: 100vh;
    margin: 0;
    overflow-x: hidden;
    color: var(--ivory);
    background: var(--ink);
    font-family: 'Jost', sans-serif;
    letter-spacing: 0;
}

a { text-underline-offset: 0.22em; }

:focus-visible {
    outline: 3px solid var(--cyan);
    outline-offset: 4px;
}

.font-heading { font-family: 'Cormorant Garamond', serif; }

.skip-link {
    position: fixed;
    top: 0.75rem;
    left: 0.75rem;
    z-index: 100;
    padding: 0.7rem 1rem;
    color: var(--ink);
    background: var(--ivory);
    transform: translateY(-150%);
}

.skip-link:focus { transform: translateY(0); }

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    border-bottom: 1px solid var(--line);
    background: rgba(10, 9, 30, 0.86);
    backdrop-filter: blur(18px);
}

.legacy-page-header {
    position: relative !important;
    inset: auto !important;
    z-index: 10;
    padding: clamp(2.75rem, 6vw, 5.5rem) 1.5rem 1.5rem !important;
}

.legacy-page-header > .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.legacy-page-header .legacy-logo-link,
.legacy-page-header .legacy-header-cta {
    display: none !important;
}

.legacy-page-header h1 {
    max-width: 900px;
    margin: 0 !important;
    padding: 0 !important;
    font-size: clamp(2.75rem, 6vw, 5.5rem) !important;
    line-height: 1 !important;
    text-align: center;
}

.legacy-page-header nav,
.legacy-page-header p {
    margin-block: 0 !important;
}

body.has-legacy-header .mobile-pt-clearance {
    padding-top: 0 !important;
}

body.has-legacy-header main > section:first-child {
    padding-top: clamp(1.5rem, 4vw, 3rem) !important;
}

.site-nav {
    width: min(1180px, calc(100% - 2rem));
    min-height: 76px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    color: var(--ivory);
    text-decoration: none;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem;
    font-weight: 700;
}

.brand img { width: 46px; height: 46px; object-fit: contain; }

.nav-links { display: flex; align-items: center; gap: 1.6rem; }
.nav-links a { color: var(--mist); text-decoration: none; font-size: 0.92rem; }
.nav-links a:hover { color: var(--ivory); }

.nav-menu { position: relative; }
.nav-menu summary { color: var(--mist); cursor: pointer; font-size: 0.92rem; list-style: none; }
.nav-menu summary::-webkit-details-marker { display: none; }
.nav-menu summary::after { content: ' +'; color: #c084fc; }
.nav-menu[open] summary::after { content: ' -'; }
.nav-menu-panel {
    position: absolute;
    top: calc(100% + 1.25rem);
    left: 50%;
    width: 240px;
    padding: 0.65rem;
    display: grid;
    gap: 0.15rem;
    border: 1px solid var(--line);
    background: rgba(12, 11, 36, 0.98);
    box-shadow: var(--shadow);
    transform: translateX(-50%);
}
.nav-menu-panel a { padding: 0.65rem 0.75rem; }
.nav-menu-panel a:hover { background: rgba(142, 45, 226, 0.18); }

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--line);
    color: var(--ivory);
    background: transparent;
}

.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
    content: '';
    display: block;
    width: 20px;
    height: 1px;
    margin: 5px auto;
    background: currentColor;
}

.hero-shell {
    --hero-top-space: clamp(2.4rem, 5.6vw, 5.6rem);
    width: min(1180px, calc(100% - 2rem));
    min-height: calc(100svh - 76px);
    margin: 0 auto;
    padding: var(--hero-top-space) 0 4rem;
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1.08fr);
    align-items: center;
    gap: clamp(2rem, 7vw, 6rem);
}

.home-page .hero-shell > * {
    transform: translateY(calc(var(--hero-top-space) * -0.90));
}

.eyebrow {
    margin: 0 0 1rem;
    color: var(--gold);
    font-size: 0.76rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.18em;
}

.hero-copy h1 {
    max-width: 760px;
    margin: 0;
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(3.35rem, 7.6vw, 6.8rem);
    font-weight: 600;
    line-height: 0.88;
    letter-spacing: 0;
}

.hero-copy h1 span { color: var(--cyan); }

.hero-lede {
    max-width: 36rem;
    margin: 1.6rem 0 0;
    color: var(--mist);
    font-size: clamp(1rem, 1.9vw, 1.2rem);
    line-height: 1.75;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 2rem; }

.trust-line {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem 1.4rem;
    margin-top: 2rem;
    color: var(--mist);
    font-size: 0.82rem;
}

.trust-line span::before { content: '\2022'; margin-right: 0.55rem; color: var(--gold); }

.product-stage {
    position: relative;
    min-height: 720px;
    display: grid;
    place-items: center;
    overflow: hidden;
}

.product-stage::before {
    content: '';
    position: absolute;
    width: min(100%, 540px);
    aspect-ratio: 1;
    border: 1px solid rgba(142, 45, 226, 0.34);
    border-radius: 50%;
    box-shadow: inset 0 0 80px rgba(74, 0, 224, 0.12), 0 0 90px rgba(142, 45, 226, 0.14);
}

.phone-shot {
    position: absolute;
    width: min(48%, 282px);
    aspect-ratio: 1080 / 2400;
    object-fit: contain;
    border: 1px solid rgba(247, 241, 231, 0.35);
    border-radius: 26px;
    box-shadow: var(--shadow);
}

.phone-shot:nth-child(1) { z-index: 3; transform: translateY(-1rem); }
.phone-shot:nth-child(2),
.phone-shot:nth-child(3) { width: min(42%, 238px); }
.phone-shot:nth-child(2) { z-index: 2; transform: translate(-62%, 2rem) rotate(-5deg); }
.phone-shot:nth-child(3) { z-index: 1; transform: translate(62%, 2rem) rotate(5deg); }

.section-kicker { color: var(--gold) !important; }

.feature-card {
    position: relative;
    z-index: 5;
    overflow: hidden;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.12);
    backdrop-filter: blur(10px);
    transition: border-color 240ms ease, transform 240ms ease, background 240ms ease;
}

.feature-card:hover {
    border-color: rgba(192, 132, 252, 0.48);
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-4px);
}

.glowing-border { border: 1px solid var(--line); }

.glowing-headline { color: var(--ivory); text-shadow: none; }

.btn-primary,
.btn-secondary {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    border-radius: 4px !important;
    transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.btn-primary {
    color: white !important;
    background: linear-gradient(90deg, #4a00e0, #8e2de2);
    box-shadow: 0 4px 15px rgba(142, 45, 226, 0.5);
}

.btn-primary:hover { box-shadow: 0 6px 20px rgba(142, 45, 226, 0.7); transform: translateY(-2px); }

.btn-secondary { border: 1px solid rgba(247, 241, 231, 0.4); background: transparent; }
.btn-secondary:hover { color: var(--ink) !important; background: var(--ivory); transform: translateY(-2px); }

.logo-img { height: 8rem; }

#star-container { overflow: hidden; opacity: 0.62; }
.star { position: absolute; border-radius: 50%; background: white; animation: twinkle linear infinite; }

@keyframes twinkle { 0%, 100% { opacity: 0.12; } 50% { opacity: 0.82; } }

.timelapse-feature {
    background: linear-gradient(180deg, rgba(12, 11, 36, 0.95), rgba(10, 9, 30, 0.95));
}

.timelapse-layout {
    width: min(1080px, calc(100% - 2rem));
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
    align-items: center;
    gap: clamp(2rem, 7vw, 6rem);
}

.timelapse-image {
    width: min(100%, 380px);
    aspect-ratio: 1080 / 2400;
    justify-self: center;
    object-fit: cover;
    object-position: center 42%;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 24px;
    box-shadow: 0 0 50px rgba(142, 45, 226, 0.28);
}

.timelapse-steps {
    margin: 2rem 0 0;
    padding: 0;
    display: grid;
    gap: 1rem;
    list-style: none;
    counter-reset: timelapse-step;
}

.timelapse-steps li {
    position: relative;
    min-height: 2.5rem;
    padding-left: 3.25rem;
    color: var(--mist);
    line-height: 1.6;
    counter-increment: timelapse-step;
}

.timelapse-steps li::before {
    content: counter(timelapse-step);
    position: absolute;
    left: 0;
    top: 0;
    width: 2.25rem;
    height: 2.25rem;
    display: grid;
    place-items: center;
    border: 1px solid rgba(192, 132, 252, 0.55);
    border-radius: 50%;
    color: #e9d5ff;
}

.app-screenshot {
    display: block;
    width: min(100%, 360px);
    height: auto;
    margin-inline: auto;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 20px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.38), 0 0 38px rgba(142, 45, 226, 0.16);
}

.screenshot-pair {
    width: min(960px, calc(100% - 2rem));
    margin-inline: auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: clamp(1.25rem, 4vw, 3rem);
}

.screenshot-pair figure { margin: 0; }

.screenshot-caption {
    margin-top: 1rem;
    color: var(--mist);
    font-size: 0.88rem;
    line-height: 1.5;
    text-align: center;
}

.reveal { opacity: 0; transform: translateY(20px); transition: opacity 650ms ease, transform 650ms ease; }
.reveal.is-visible { opacity: 1; transform: none; }

footer { border-top: 1px solid var(--line); }

@media (max-width: 820px) {
    .nav-toggle { display: block; }
    .nav-links {
        position: absolute;
        top: 76px;
        left: 1rem;
        right: 1rem;
        display: none;
        padding: 1rem;
        flex-direction: column;
        align-items: stretch;
        border: 1px solid var(--line);
        background: var(--surface-solid);
        box-shadow: var(--shadow);
    }
    .nav-links.is-open { display: flex; }
    .nav-links a { padding: 0.55rem; }
    .nav-menu summary { padding: 0.55rem; }
    .nav-menu-panel {
        position: static;
        width: 100%;
        padding: 0.35rem 0 0.35rem 1rem;
        border: 0;
        background: transparent;
        box-shadow: none;
        transform: none;
    }
    .hero-shell { --hero-top-space: 3.2rem; min-height: auto; grid-template-columns: 1fr; padding-top: var(--hero-top-space); }
    .hero-copy { text-align: center; }
    .hero-lede { margin-inline: auto; }
    .hero-actions, .trust-line { justify-content: center; }
    .product-stage { min-height: 590px; }
    .timelapse-layout { grid-template-columns: 1fr; }
    .timelapse-copy { text-align: center; }
    .timelapse-steps { max-width: 34rem; margin-inline: auto; text-align: left; }
    .screenshot-pair { grid-template-columns: 1fr; max-width: 420px; }
}

@media (max-width: 540px) {
    .brand span { display: none; }
    .hero-copy h1 { font-size: clamp(3rem, 17vw, 4.75rem); }
    .hero-actions { flex-direction: column; }
    .hero-actions a { width: 100%; }
    .product-stage { min-height: 480px; }
    .phone-shot { width: 52%; border-radius: 18px; }
    .phone-shot:nth-child(2),
    .phone-shot:nth-child(3) { width: 43%; }
    .phone-shot:nth-child(2) { transform: translate(-58%, 1.5rem) rotate(-4deg); }
    .phone-shot:nth-child(3) { transform: translate(58%, 1.5rem) rotate(4deg); }
    .mobile-pt-clearance { padding-top: 16rem !important; }
    .logo-img { height: 5.5rem !important; }
}

@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; }
    .reveal { opacity: 1; transform: none; }
}

/* ---------------------------------------------------------------
   Legal pages (Privacy, Terms, Disclosure)
   Shared typography for a calm, on-brand reading experience.
   --------------------------------------------------------------- */
.legal-content {
    color: var(--ivory);
    font-size: 1.02rem;
    line-height: 1.72;
}

.legal-content p { margin: 0 0 1.1rem; }
.legal-content p:last-child { margin-bottom: 0; }
.legal-content strong { color: #f3e8ff; font-weight: 600; }

.legal-content a {
    color: #c4b5fd;
    text-decoration: underline;
    text-decoration-color: rgba(196, 181, 253, 0.4);
    transition: color 180ms ease, text-decoration-color 180ms ease;
}
.legal-content a:hover { color: #fff; text-decoration-color: currentColor; }

.legal-content h3 {
    position: relative;
    margin: 2.75rem 0 1.1rem;
    padding: 0 0 0.55rem 1.15rem;
    color: #66D2EE;
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.4rem, 2.4vw, 1.75rem);
    font-weight: 700;
    letter-spacing: 0.01em;
    border-bottom: 1px solid rgba(216, 180, 254, 0.18);
}
.legal-content h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.3em;
    width: 3px;
    height: 1.15em;
    border-radius: 2px;
    background: linear-gradient(180deg, #d8b4fe, #8e2de2);
    box-shadow: 0 0 12px rgba(142, 45, 226, 0.35);
}
.legal-content > h3:first-of-type { margin-top: 0.5rem; }

.legal-content ul {
    margin: 0.4rem 0 1.4rem;
    padding: 0;
    list-style: none;
}
.legal-content ul li {
    position: relative;
    margin-bottom: 0.55rem;
    padding: 0.1rem 0 0.1rem 1.6rem;
}
.legal-content ul li::before {
    content: '';
    position: absolute;
    left: 0.35rem;
    top: 0.8em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--cyan);
    box-shadow: 0 0 8px rgba(216, 180, 254, 0.55);
}

.legal-meta {
    display: block;
    max-width: 30rem;
    margin: 0 auto 2.5rem;
    padding: 0.7rem 1.25rem;
    text-align: center;
    color: var(--mist);
    font-size: 0.85rem;
    letter-spacing: 0.04em;
    border-top: 1px solid rgba(216, 180, 254, 0.22);
    border-bottom: 1px solid rgba(216, 180, 254, 0.22);
}
.legal-meta strong { color: var(--gold); font-weight: 500; }
.legal-meta em { color: var(--gold); font-style: normal; }

.legal-lede {
    margin: 0 0 1.5rem;
    color: var(--ivory);
    font-size: 1.08rem;
    line-height: 1.7;
}

.legal-callout {
    margin: 0 0 2rem;
    padding: 1.1rem 1.35rem;
    color: var(--ivory);
    font-size: 0.92rem;
    line-height: 1.6;
    letter-spacing: 0.02em;
    border: 1px solid rgba(216, 180, 254, 0.32);
    border-left: 3px solid var(--gold);
    border-radius: 10px;
    background: linear-gradient(140deg, rgba(142, 45, 226, 0.14), rgba(74, 0, 224, 0.05));
}

.important-notice {
    margin: 0 0 2.5rem;
    padding: 1.5rem 1.75rem;
    border: 1px solid rgba(216, 180, 254, 0.35);
    border-radius: 16px;
    background: linear-gradient(140deg, rgba(142, 45, 226, 0.16), rgba(74, 0, 224, 0.06));
    box-shadow: 0 12px 40px rgba(74, 0, 224, 0.18);
}
.important-notice h3 {
    margin: 0 0 0.6rem;
    padding: 0;
    color: var(--gold);
    border: 0;
}
.important-notice h3::before { content: none; }
.important-notice p { margin: 0; color: var(--ivory); }

@media (max-width: 640px) {
    .legal-content { font-size: 0.98rem; line-height: 1.68; }
    .legal-content h3 { margin-top: 2.25rem; }
    .legal-callout, .important-notice { padding: 1.1rem 1.15rem; }
}
/* Footer: Delete Account link, dark red, last item in the footer */
footer a[href="delete-account.html"] { color: #8B0000; }
footer a[href="delete-account.html"]:hover { color: #ffffff; }

/* "Last Updated" line: center it. The .legal-content p rule was overriding the auto margins. */
.legal-content .legal-meta { margin: 0 auto 2.5rem; }
