/* ==========================================
   JOVÉE LINK · v2 shared stylesheet
   Design tokens + nav/footer/typography/buttons
   Pulled from Figma file ijCZ7ld7jJabAgij4J0SFD
   ========================================== */

@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/fonts/poppins-latin-400-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 500; font-display: swap; src: url(/assets/fonts/poppins-latin-500-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 600; font-display: swap; src: url(/assets/fonts/poppins-latin-600-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/fonts/inter-latin-400-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap; src: url(/assets/fonts/inter-latin-500-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url(/assets/fonts/inter-latin-600-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
    /* Brand */
    --brand-navy: #0d2340;
    --brand-teal: #0d7568;
    --brand-mint: #e8f5f3;

    /* Teal scale */
    --teal-50: #f0faf8;
    --teal-100: #dcf3ef;
    --teal-200: #b8e6dd;
    --teal-300: #86d3c6;
    --teal-950: #062a25;

    /* Dark blue scale */
    --navy-200: #c9d8e2;
    --navy-800: #1f3a4f;
    --navy-900: #0d2340;

    /* Neutral */
    --white: #ffffff;
    --gray-50: #f5f5f5;
    --gray-100: #dddedf;
    --gray-400: #6b7078;
    --gray-500: #656a71;
    --gray-700: #4d5157;
    --gray-800: #383b40;
    --gray-900: #212326;
    --black: #101828;

    /* Accent */
    --orange: #ffa300;

    /* Semantic */
    --text-strong: var(--navy-900);
    --text-body: var(--gray-700);
    --text-muted: var(--gray-500);
    --text-eyebrow: var(--brand-teal);

    /* Spacing */
    --sp-1: 4px; --sp-2: 8px; --sp-3: 12px; --sp-4: 16px;
    --sp-5: 20px; --sp-6: 24px; --sp-8: 32px; --sp-10: 40px;
    --sp-12: 48px; --sp-16: 64px; --sp-20: 80px; --sp-24: 96px;

    /* Radius */
    --r-sm: 8px; --r-md: 16px; --r-lg: 24px; --r-xl: 32px; --r-pill: 999px;

    /* Shadow */
    --shadow-xs: 0 1px 2px rgba(13, 13, 18, 0.06);
    --shadow-sm: 0 2px 8px rgba(13, 35, 64, 0.06);
    --shadow-md: 0 8px 24px rgba(13, 35, 64, 0.08);
    --shadow-lg: 0 16px 40px rgba(13, 35, 64, 0.10);
    --shadow-btn: 0 1px 2px rgba(13, 13, 18, 0.06), inset 0 -14px 24px rgba(134, 211, 198, 0.5);

    /* Easing */
    --ease: cubic-bezier(0.16, 1, 0.3, 1);

    /* Fonts */
    --font-head: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Layout */
    --container: 1200px;
    --gutter: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-body);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

/* ==========================================
   TYPOGRAPHY
   ========================================== */
.eyebrow {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: var(--text-eyebrow);
    margin: 0 0 var(--sp-5);
}

.h1 {
    font-family: var(--font-head);
    font-weight: 600;
    font-size: clamp(40px, 5.6vw, 72px);
    line-height: 1.08;
    letter-spacing: -1.5px;
    color: var(--text-strong);
    margin: 0 0 var(--sp-6);
}

.h2 {
    font-family: var(--font-head);
    font-weight: 600;
    font-size: clamp(30px, 3.8vw, 48px);
    line-height: 1.1;
    letter-spacing: -1px;
    color: var(--text-strong);
    margin: 0 0 var(--sp-5);
}

.h3 {
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 22px;
    line-height: 1.3;
    color: var(--text-strong);
    margin: 0 0 var(--sp-3);
}

.lede {
    font-size: 17px;
    line-height: 1.6;
    color: var(--text-body);
    margin: 0 0 var(--sp-8);
    max-width: 60ch;
}
.lede--tight { margin-bottom: var(--sp-6); max-width: 56ch; }

strong { font-weight: 600; color: var(--text-strong); }

/* ==========================================
   BUTTONS
   ========================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-3);
    padding: 14px 24px;
    border-radius: var(--r-pill);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease);
    white-space: nowrap;
}
.btn-primary {
    background: var(--brand-teal);
    color: var(--white);
    box-shadow: var(--shadow-btn);
}
.btn-primary:hover { transform: translateY(-1px); background: #0a5f54; }
.btn-primary svg { width: 18px; height: 18px; stroke: currentColor; }
.btn-outline {
    background: transparent;
    color: var(--text-strong);
    border: 1.5px solid var(--gray-100);
}
.btn-outline:hover { border-color: var(--text-strong); background: var(--white); }
.btn-sm { padding: 10px 18px; font-size: 14px; }

/* App-store buttons (dark pill, kept dark-on-light) */
.btn-store {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--navy-900);
    color: var(--white);
    padding: 14px 22px;
    border-radius: var(--r-md);
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.btn-store:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-store svg { width: 22px; height: 22px; flex-shrink: 0; fill: currentColor; }
.btn-store-text { display: flex; flex-direction: column; line-height: 1.1; text-align: left; }
.btn-store-text small { font-size: 10px; font-weight: 500; opacity: 0.7; }
.btn-store-text strong { font-size: 15px; font-weight: 700; color: var(--white); }

/* ==========================================
   CHIPS
   ========================================== */
.chip {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    border-radius: var(--r-pill);
    border: 1.5px solid var(--teal-200);
    background: var(--white);
    font-size: 13px;
    font-weight: 500;
    color: var(--text-strong);
}
.chip-mint {
    background: var(--teal-100);
    border-color: var(--teal-200);
    color: var(--brand-teal);
}

/* ==========================================
   NAV
   ========================================== */
.nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px) saturate(1.6);
    -webkit-backdrop-filter: blur(16px) saturate(1.6);
    border-bottom: 1px solid rgba(13, 35, 64, 0.04);
}
.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-6);
    padding: 16px var(--gutter); /* side gutter: .nav-inner is also .container, and a bare 16px 0 wiped it */
}
.nav-logo { display: flex; align-items: center; }
.nav-logo img { height: 34px; width: auto; }
.nav-links {
    display: flex;
    align-items: center;
    gap: var(--sp-8);
    list-style: none;
    margin: 0;
    padding: 0;
}
.nav-links a {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-strong);
    transition: color 0.3s var(--ease);
}
.nav-links a:hover,
.nav-links a[aria-current="page"] { color: var(--brand-teal); }
.nav-cta { display: flex; align-items: center; gap: var(--sp-3); }

.hamburger {
    display: none;
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
}
.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-strong);
    margin: 5px 0;
    transition: all 0.3s var(--ease);
}

.mobile-menu {
    display: none;
    position: fixed;
    inset: 64px 0 0;
    background: var(--white);
    z-index: 99;
    padding: var(--sp-8) var(--gutter);
    flex-direction: column;
    gap: var(--sp-6);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
    font-size: 20px;
    font-weight: 500;
    color: var(--text-strong);
    padding: var(--sp-3) 0;
    border-bottom: 1px solid var(--gray-100);
}
.mobile-menu .btn-primary { margin-top: var(--sp-4); align-self: flex-start; }
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu { overflow-y: auto; -webkit-overflow-scrolling: touch; }
.mobile-menu a.btn-primary { color: var(--white); border-bottom: 0; justify-content: center; align-self: stretch; font-size: 16px; }
.mobile-menu .mobile-menu-ext { display: inline-flex; align-items: center; gap: 6px; }
.mobile-menu .mobile-menu-ext svg { width: 16px; height: 16px; opacity: .7; }

/* ==========================================
   SECTIONS
   ========================================== */
section { padding: var(--sp-24) 0; }

/* Adjacent blocks were each paying full freight: 96px bottom against 96px
   top is 192px between any two sections, a quarter of a 768px viewport. The
   first and last block on a page keep their full 96px, so the page still
   opens and closes with air; only the joint between two blocks halves.

   The footer is --brand-mint and so are several of the sections that run
   into it, so that joint has no visual boundary at all and the padding reads
   as pure emptiness. It gets trimmed from both sides. :has() is progressive
   — without it the joint is 112px instead of 144px, which is still an
   improvement on 160px. */
section + section,
section + .footer { padding-top: var(--sp-12); }
section:has(+ .footer) { padding-bottom: var(--sp-16); }

.section-mint { background: var(--brand-mint); }

/* Hero shared pattern (used by audience pages) */
.page-hero {
    padding: var(--sp-20) 0 var(--sp-24);
    background: linear-gradient(180deg, var(--brand-mint) 0%, #f3faf8 100%);
}
.page-hero.hero-blush {
    background: linear-gradient(180deg, #fef2f0 0%, #faf6f4 100%);
}
.page-hero.hero-navy {
    background: linear-gradient(180deg, #e9eef6 0%, #f5f6fa 100%);
}
.page-hero .h1 { margin-bottom: var(--sp-6); }
.ctas { display: flex; gap: var(--sp-3); flex-wrap: wrap; }

/* ==========================================
   CHECKLIST
   ========================================== */
.checklist { list-style: none; padding: 0; margin: 0 0 var(--sp-8); display: flex; flex-direction: column; gap: var(--sp-6); }
.checklist li { display: flex; gap: var(--sp-4); align-items: flex-start; }
.checklist .check {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    margin-top: 2px;
    color: var(--brand-teal);
}
.checklist .check svg { width: 100%; height: 100%; }
.checklist h3 {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 600;
    color: var(--text-strong);
    margin: 0 0 4px;
    line-height: 1.4;
}
.checklist p {
    font-size: 15px;
    color: var(--text-body);
    margin: 0;
    line-height: 1.55;
}

/* ==========================================
   TWO-COL / FEATURE GRID / CARDS
   ========================================== */
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-16);
    align-items: center;
}

.section-head { margin-bottom: var(--sp-12); max-width: 820px; }

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sp-5);
}
.feature-tile {
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--r-lg);
    padding: var(--sp-8) var(--sp-6);
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.feature-tile:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--teal-200);
}
.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--brand-mint);
    color: var(--brand-teal);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--sp-5);
}
.feature-icon svg { width: 22px; height: 22px; }
.feature-tile h3 {
    font-family: var(--font-head);
    font-size: 19px;
    font-weight: 600;
    color: var(--text-strong);
    margin: 0 0 var(--sp-3);
    line-height: 1.3;
}
.feature-tile p {
    font-size: 15px;
    color: var(--text-body);
    margin: 0;
    line-height: 1.6;
}

/* 3-step blocks */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sp-10);
}
.step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #a9ddd2 0%, #86d3c6 100%);
    color: var(--navy-900);
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 14px;
    margin-bottom: var(--sp-5);
}
.step-card h3 {
    font-family: var(--font-head);
    font-size: 22px;
    font-weight: 600;
    color: var(--text-strong);
    margin: 0 0 var(--sp-3);
}
.step-card p {
    font-size: 15px;
    color: var(--text-body);
    line-height: 1.55;
    margin: 0;
}

/* Dark CTA band */
.cta-band {
    background: linear-gradient(160deg, var(--brand-navy) 0%, var(--navy-900) 60%, var(--teal-950) 100%);
    color: var(--white);
    text-align: center;
    padding: var(--sp-24) 0;
}
.cta-band .h2 { color: var(--white); margin-bottom: var(--sp-4); max-width: 22ch; margin-left: auto; margin-right: auto; }
.cta-band .lede { color: rgba(255, 255, 255, 0.75); max-width: 54ch; margin: 0 auto var(--sp-10); }
.cta-band .ctas { justify-content: center; }
.cta-band .btn-store { background: var(--white); color: var(--navy-900); }
.cta-band .btn-store-text strong { color: var(--navy-900); }

/* ==========================================
   FOOTER (shared across all pages)
   ========================================== */
.footer {
    background: var(--brand-mint);
    padding: var(--sp-16) 0 var(--sp-10);
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: var(--sp-10);
    margin-bottom: var(--sp-12);
}
.footer-brand img { height: 32px; width: auto; margin-bottom: var(--sp-5); }
.footer-tag {
    font-size: 15px;
    color: var(--text-body);
    line-height: 1.6;
    margin: 0;
    max-width: 30ch;
}
.footer-col h3 {
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    color: var(--text-strong);
    margin: 0 0 var(--sp-5);
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: var(--sp-3); }
.footer-col a {
    font-size: 15px;
    color: var(--text-body);
    transition: color 0.3s var(--ease);
}
.footer-col a:hover { color: var(--brand-teal); }
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--sp-6);
    border-top: 1px solid rgba(13, 35, 64, 0.08);
    font-size: 14px;
    color: var(--text-muted);
    flex-wrap: wrap;
    gap: var(--sp-4);
}
.footer-legal { display: flex; gap: var(--sp-8); }
.footer-legal a:hover { color: var(--brand-teal); }

/* ==========================================
   FAQ ACCORDION
   ========================================== */
.faq-list { display: flex; flex-direction: column; gap: var(--sp-3); }
.faq-item {
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--r-lg);
    padding: var(--sp-6) var(--sp-8);
    transition: border-color 0.3s var(--ease);
}
.faq-item[open] { border-color: var(--teal-200); }
.faq-item summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--sp-4);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 17px;
    color: var(--text-strong);
    line-height: 1.4;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-chev {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    transition: transform 0.3s var(--ease);
    color: var(--text-strong);
    transform: rotate(180deg); /* the drawn arrow points up: turned, it points down on a closed question */
}
.faq-item[open] .faq-chev { transform: none; }
.faq-item p {
    margin: var(--sp-4) 0 0;
    font-size: 15px;
    color: var(--text-body);
    line-height: 1.65;
}
.faq-item a {
    color: var(--brand-teal);
    text-decoration: underline;
    text-decoration-color: rgba(13, 117, 104, 0.4);
    text-underline-offset: 2px;
}
.faq-group { margin-bottom: var(--sp-10); }
.faq-group h3 {
    font-family: var(--font-head);
    font-size: 22px;
    font-weight: 600;
    color: var(--text-strong);
    margin: 0 0 var(--sp-5);
    letter-spacing: -0.3px;
}

/* ==========================================
   PROSE (for /privacy, /terms)
   ========================================== */
.prose-page { padding: var(--sp-20) 0 var(--sp-24); }
.prose {
    max-width: 760px;
    margin: 0 auto;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-body);
}
.prose h2 {
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 26px;
    line-height: 1.2;
    color: var(--text-strong);
    margin: var(--sp-12) 0 var(--sp-4);
    letter-spacing: -0.5px;
}
.prose p { margin: 0 0 var(--sp-4); }
.prose ul { margin: 0 0 var(--sp-5); padding-left: 20px; }
.prose li { margin-bottom: var(--sp-2); }
.prose a {
    color: var(--brand-teal);
    text-decoration: underline;
    text-decoration-color: rgba(13, 117, 104, 0.4);
    text-underline-offset: 2px;
}
.prose a:hover { color: var(--navy-800); }
.prose .contact-block {
    background: var(--brand-mint);
    border-radius: var(--r-md);
    padding: var(--sp-5) var(--sp-6);
    margin-top: var(--sp-6);
}
.prose .contact-block p { margin: 0; }

.page-head {
    text-align: left;
    max-width: 760px;
    margin: 0 auto var(--sp-10);
}
.page-head .effective {
    font-size: 15px;
    color: var(--text-muted);
    margin: var(--sp-3) 0 0;
}

/* ==========================================
   ANIMATIONS
   ========================================== */
.reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.in { opacity: 1; transform: translateY(0); }

/* ==========================================
   RESPONSIVE
   ========================================== */
/* Tablet (641 to 1100): links on a second row like the homepage, two-column cards */
@media (max-width: 1100px) {
    .nav-inner { flex-wrap: wrap; row-gap: 4px; padding: 20px var(--gutter) 8px; }
    .nav-logo { order: 1; }
    .nav-cta { order: 2; }
    .nav-links { order: 3; width: 100%; display: flex; gap: 20px; }
    .nav-links a { display: inline-block; padding: 10px 2px; font-size: 14px; }
    .nav-cta .btn { display: inline-flex; }
    .hamburger { display: none; }

    .two-col { grid-template-columns: minmax(0, 1fr); gap: var(--sp-12); }
    .feature-grid { grid-template-columns: 1fr 1fr; gap: var(--sp-4); }
    .steps-grid { grid-template-columns: 1fr 1fr; gap: var(--sp-8); }
    .ways-grid { grid-template-columns: 1fr 1fr; }

    .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--sp-8); }
    .footer-brand { grid-column: 1 / -1; }
    .footer-col ul { gap: 2px; }
    section { padding: var(--sp-16) 0; }
    .page-hero { padding: var(--sp-12) 0 var(--sp-16); }
    .cta-band { padding: var(--sp-16) 0; }
    .prose-page { padding: var(--sp-12) 0 var(--sp-16); }
}

@media (pointer: coarse), (max-width: 1100px) {
    .footer-col ul { gap: 2px; }
    .footer-col a, .footer-legal a { display: inline-block; padding: 7px 0; }
    .footer-legal { gap: 16px; }
}

/* Phones (640 and under): hamburger menu, single column */
@media (max-width: 640px) {
    .nav-inner { flex-wrap: nowrap; padding: 16px var(--gutter); }
    .nav-links, .nav-cta .btn { display: none; }
    .hamburger { display: block; }
    .nav-cta { gap: var(--sp-2); }
    .feature-grid, .steps-grid, .ways-grid { grid-template-columns: 1fr; }
}

@media (max-width: 540px) {
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .footer-legal { gap: var(--sp-5); }
    .prose h2 { font-size: 22px; }
}

.nav-links .nav-ext { display: inline-flex; align-items: center; gap: 3px; }
.nav-links .nav-ext svg { width: 12px; height: 12px; opacity: .7; }

/* Footer social icons + bottom row (shared with the homepage) */
.footer-bottom-right { display: flex; align-items: center; gap: var(--sp-8); flex-wrap: wrap; }
.footer-social { display: flex; align-items: center; gap: var(--sp-3); }
.footer-social a {
    width: 40px; height: 40px; border-radius: 50%; background: var(--white); color: var(--navy-900);
    display: inline-flex; align-items: center; justify-content: center; border: 1px solid rgba(13,35,64,0.08);
    transition: background 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease);
}
.footer-social a:hover { background: var(--brand-teal); color: var(--white); transform: translateY(-2px); }
.footer-social svg { width: 18px; height: 18px; fill: currentColor; }
@media (max-width: 540px) { .footer-bottom-right { justify-content: center; } }

/* The header's own phone button. Hidden above 640px. */
.nav-app { display: none; }

/* ==========================================
   PHONE PASS (640 and under)
   Less box, more content: tighter type and spacing, cards
   become plain rows with a hairline between them, store
   buttons sit side by side, the footer folds to two columns.
   The header is a floating bar that folds away while you
   scroll down, and the menu drops from it.
   ========================================== */
@media (max-width: 640px) {
    :root { --gutter: 20px; }

    /* ---------- Header: a floating bar ---------- */
    /* At the top of the page it is part of the page and scrolls away with it, so nothing sits on what
       you are reading. Scroll back up and it returns as a floating bar. */
    .nav { position: relative; top: auto; z-index: 100; padding: 8px 10px 0; background: none; border: 0; -webkit-backdrop-filter: none; backdrop-filter: none; pointer-events: none; transition: transform 0.32s var(--ease); }
    .nav.is-stuck { position: sticky; top: 0; }
    .nav-inner { pointer-events: auto; flex-wrap: nowrap; gap: 8px; max-width: none; min-height: 0; height: 52px; margin: 0; padding: 0 10px; border-radius: 26px; background-color: rgba(255, 255, 255, 0); box-shadow: 0 0 0 1px rgba(13, 35, 64, 0), 0 8px 24px rgba(13, 35, 64, 0); transition: background-color 0.25s var(--ease), box-shadow 0.25s var(--ease), padding 0.3s var(--ease); }
    .nav-logo { flex: 0 0 auto; order: 0; height: 44px; margin-left: -3px; -webkit-tap-highlight-color: transparent; }
    .nav-logo img { height: 32px; width: auto; }
    .nav-links, .nav-cta .btn { display: none; }
    .nav-cta { order: 0; gap: 6px; }
    .nav-app { position: relative; display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; height: 36px; padding: 0 15px; border-radius: 18px; background: var(--brand-teal); color: #fff; font-family: var(--font-body); font-size: 13.5px; font-weight: 600; line-height: 1; white-space: nowrap; transition: transform 0.15s var(--ease); -webkit-tap-highlight-color: transparent; }
    .nav-app::after { content: ""; position: absolute; inset: -6px -3px; } /* a 48px target for the thumb */
    .nav-app:active { transform: scale(0.96); }
    .hamburger { display: block; position: relative; flex: 0 0 auto; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background-color: rgba(13, 35, 64, 0.06); cursor: pointer; transition: background-color 0.25s var(--ease); -webkit-tap-highlight-color: transparent; }
    .hamburger span { position: absolute; left: 13px; top: 21px; width: 18px; height: 2px; margin: 0; border-radius: 2px; background: var(--navy-900); transition: transform 0.3s var(--ease), opacity 0.2s var(--ease); }
    .hamburger span:nth-child(1) { transform: translateY(-6px); }
    .hamburger span:nth-child(3) { transform: translateY(6px); }
    .hamburger[aria-expanded="true"] span:nth-child(1) { transform: rotate(45deg); }
    .hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
    .hamburger[aria-expanded="true"] span:nth-child(3) { transform: rotate(-45deg); }
    /* scrolled back up, or the menu is open: the bar lifts off the page */
    .nav.is-float .nav-inner, .nav.is-menu .nav-inner { padding: 0 4px 0 14px; background-color: #fff; box-shadow: 0 0 0 1px rgba(13, 35, 64, 0.06), 0 8px 24px rgba(13, 35, 64, 0.12); }
    .nav.is-float { animation: nav-in 0.34s var(--ease); }
    /* scrolling down again: out of the way, shadow and all */
    .nav.is-hide { transform: translateY(calc(-100% - 36px)); }
    .nav.is-hide .nav-inner { pointer-events: none; }

    /* ---------- Menu: a card that drops from the bar ---------- */
    .mobile-menu, .mobile-menu.open { display: flex; }
    .mobile-menu { position: fixed; inset: 68px 10px auto 10px; z-index: 99; flex-direction: column; gap: 2px; box-sizing: border-box; max-height: calc(100vh - 84px); max-height: calc(100dvh - 84px); padding: 8px; overflow-y: auto; overscroll-behavior: contain; border-radius: 24px; background: #fff; box-shadow: 0 0 0 1px rgba(13, 35, 64, 0.06), 0 24px 60px rgba(13, 35, 64, 0.28); transform-origin: calc(100% - 26px) 0; transform: translateY(-8px) scale(0.96); opacity: 0; visibility: hidden; pointer-events: none; transition: transform 0.26s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.18s var(--ease), visibility 0s linear 0.26s; }
    .mobile-menu.open { transform: none; opacity: 1; visibility: visible; pointer-events: auto; transition: transform 0.26s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.18s var(--ease); }
    .mobile-menu > a { display: grid; grid-template-columns: 40px minmax(0, 1fr) 18px; column-gap: 12px; align-items: center; padding: 9px 10px; border: 0; border-radius: 16px; font-size: 16px; color: var(--text-strong); -webkit-tap-highlight-color: transparent; }
    .mobile-menu > a:active, .mobile-menu > a[aria-current="page"] { background: var(--brand-mint); }
    .mm-ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--brand-mint); color: var(--brand-teal); }
    .mobile-menu > a[aria-current="page"] .mm-ico { background: #fff; }
    .mm-ico svg, .mm-go { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
    .mm-ico svg { width: 19px; height: 19px; }
    .mm-txt strong { display: block; font-family: var(--font-head); font-size: 16px; font-weight: 600; line-height: 1.25; color: var(--text-strong); }
    .mm-txt small { display: block; margin-top: 1px; font-size: 13px; font-weight: 400; line-height: 1.35; color: var(--text-body); }
    .mm-go { width: 18px; height: 18px; color: #9aa6b2; }
    .mm-foot { margin-top: 6px; padding: 14px 10px 8px; border-top: 1px solid rgba(13, 35, 64, 0.08); }
    .mm-foot p { margin: 0 0 10px; font-size: 13px; font-weight: 500; line-height: 1.3; color: var(--text-body); }
    .mm-stores { display: flex; gap: 10px; }
    .mm-stores .btn-store { flex: 1 1 0; min-width: 0; width: auto; justify-content: center; padding: 10px 8px; gap: 8px; border: 0; border-radius: 12px; color: #fff; }
    .mobile-menu.open > * { animation: mm-in 0.36s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
    .mobile-menu.open > :nth-child(2) { animation-delay: 0.03s; }
    .mobile-menu.open > :nth-child(3) { animation-delay: 0.06s; }
    .mobile-menu.open > :nth-child(4) { animation-delay: 0.09s; }
    .mobile-menu.open > :nth-child(5) { animation-delay: 0.12s; }
    .mobile-menu.open > :nth-child(6) { animation-delay: 0.15s; }
    .nav-scrim { position: fixed; inset: 0; z-index: 98; background: rgba(13, 35, 64, 0.4); opacity: 0; visibility: hidden; transition: opacity 0.25s var(--ease), visibility 0s linear 0.25s; -webkit-tap-highlight-color: transparent; }
    .nav-scrim.show { opacity: 1; visibility: visible; transition: opacity 0.25s var(--ease); }

    /* ---------- Touch: things answer the finger ---------- */
    a, button, summary { -webkit-tap-highlight-color: rgba(13, 117, 104, 0.1); }
    .btn, .btn-store { transition: transform 0.15s var(--ease), box-shadow 0.2s var(--ease), background-color 0.2s var(--ease); }
    .btn:active, .btn-store:active, .btn-store:hover:active { transform: scale(0.97); }

    /* ---------- Type and spacing ---------- */
    h1, h2, h3, .h1, .h2 { text-wrap: balance; }
    p, li { text-wrap: pretty; }
    section { padding: 44px 0; }
    .h1 { font-size: clamp(30px, 8.4vw, 36px); line-height: 1.12; letter-spacing: -0.02em; }
    .h2 { font-size: clamp(24px, 6.6vw, 28px); line-height: 1.18; }
    .lede { font-size: 16px; line-height: 1.55; }
    .page-hero { margin-top: -60px; padding: 84px 0 36px; }
    .page-hero .h1 { margin-bottom: 14px; }
    .section-head { margin-bottom: 20px; }
    /* store buttons: two across, never stacked */
    .ctas { flex-wrap: wrap; gap: 10px; }
    .ctas > .btn { flex: 1 0 100%; justify-content: center; }
    .ctas .btn-store { flex: 1 1 0; min-width: 0; justify-content: center; padding: 10px 8px; gap: 8px; border-radius: 12px; }
    .ctas .btn-store svg { width: 20px; height: 20px; }
    .btn-store-text small { font-size: 9px; white-space: nowrap; }
    .btn-store-text strong { font-size: 14px; white-space: nowrap; }
    /* feature tiles: rows, not boxes */
    .feature-grid { gap: 0; }
    .feature-tile, .feature-tile:hover { display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 14px; align-items: start; background: none; border: 0; border-radius: 0; box-shadow: none; transform: none; padding: 16px 0; border-bottom: 1px solid rgba(13, 35, 64, 0.09); }
    .feature-tile:last-child { border-bottom: 0; padding-bottom: 0; }
    .feature-tile:first-child { padding-top: 0; }
    .feature-icon { width: 40px; height: 40px; margin: 0; grid-row: 1 / span 2; }
    .feature-icon svg { width: 19px; height: 19px; }
    .feature-tile h3 { font-size: 16.5px; margin: 0 0 3px; }
    .feature-tile p { font-size: 14.5px; line-height: 1.5; }
    /* "two ways" cards: two plain entries with a hairline between them */
    div.ways-grid { gap: 0; } /* the page's own rule sets a gap; this one has to outrank it */
    .ways-grid .way-card, .ways-grid .way-card:hover { padding: 18px 0; background: none; border: 0; border-bottom: 1px solid rgba(13, 35, 64, 0.1); border-radius: 0; box-shadow: none; transform: none; }
    .ways-grid .way-card:first-child { padding-top: 0; }
    .ways-grid .way-card:last-child { border-bottom: 0; padding-bottom: 0; }
    .ways-grid .way-tag { background: #fff; margin-bottom: 0; }
    .ways-grid .way-card h3 { font-size: 18px; margin: 10px 0 5px; }
    .ways-grid .way-card p { font-size: 14.5px; line-height: 1.55; }
    /* steps */
    .steps-grid { gap: 18px; }
    .step-card { display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 14px; }
    .step-card .step-num { grid-row: 1 / span 2; width: 40px; height: 40px; margin: 0; font-size: 14px; }
    .step-card h3 { font-size: 17px; margin: 0 0 3px; }
    .step-card p { font-size: 14.5px; line-height: 1.5; margin: 0; }
    /* the try-on page keeps its own step styles: on phones they follow the same plain rows */
    .steps-grid .step-card, .steps-grid .step-card:hover { padding: 0; background: none; border: 0; border-radius: 0; box-shadow: none; transform: none; }
    .steps-grid .step-card .step-num { width: 40px; height: 40px; margin: 0; }
    /* questions: a plain list with hairlines */
    .faq-list { gap: 0; }
    .faq-item, .faq-item[open] { background: none; border: 0; border-bottom: 1px solid rgba(13, 35, 64, 0.1); border-radius: 0; padding: 0; }
    .faq-item summary { font-size: 15.5px; padding: 15px 0; margin: 0; }
    .faq-item p { margin: -4px 0 16px; font-size: 14.5px; line-height: 1.6; }
    /* closing band */
    .cta-band { padding: 40px 0; }
    .cta-band .h2 { margin-bottom: 10px; }
    .cta-band .lede { margin-bottom: 22px; font-size: 15px; }
    /* footer: two columns of links */
    .footer { padding: 36px 0 24px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 22px 16px; }
    .footer-brand { grid-column: 1 / -1; }
    .footer-tag { font-size: 14px; margin-top: 10px; }
    .footer-col h3 { margin-bottom: 6px; font-size: 13px; }
    .footer-col a { font-size: 14px; padding: 6px 0; }
    .footer-bottom { margin-top: 22px; padding-top: 18px; gap: 12px; }
    .prose-page { padding: 28px 0 44px; }
}
/* the narrowest phones: the logo and the button give a little so the bar still fits */
@media (max-width: 350px) {
    .nav-logo img { height: 28px; }
    .nav-app { padding: 0 12px; font-size: 13px; }
}
@keyframes mm-in { from { opacity: 0; transform: translateY(-6px); } }
/* Phones: going from one page to the next cross-fades instead of flashing white. The switch for it
   (@view-transition) sits in each page's <head>, because the browser reads it before this file has
   loaded; this only sets the pace. Browsers that do not know it ignore it. */
@media (max-width: 640px) {
    ::view-transition-old(root), ::view-transition-new(root) { animation-duration: 0.22s; }
}
@keyframes nav-in { from { transform: translateY(calc(-100% - 36px)); } }
@media (max-width: 640px) and (prefers-reduced-motion: reduce) {
    .nav, .nav-inner, .nav-app, .hamburger, .hamburger span, .mobile-menu, .mobile-menu.open, .nav-scrim, .nav-scrim.show { transition: none; }
    .mobile-menu.open > *, .nav.is-float { animation: none; }
}
