/* ==========================================================================
   SwapHive landing - "the swap table"
   Same palette as the app (navy + teal). Everything is sized in rem and the
   root size grows with the viewport, so the page scales from a 320px phone to
   a 34" ultrawide (3440px) and beyond without separate layouts.
   ========================================================================== */

:root {
    --teal:        #13A6A1;
    --teal-strong: #17C0BA;
    --teal-deep:   #0E8A85;
    --teal-soft:   rgba(19, 166, 161, 0.14);

    --navy:   #0E1A2B;
    --navy-0: #0A1420;
    --navy-2: #16263C;
    --navy-3: #1B2E48;
    --line:        rgba(255, 255, 255, 0.09);
    --line-strong: rgba(255, 255, 255, 0.18);

    --ink:   #FFFFFF;
    --body:  #9FB0C3;
    --muted: #6E7F93;

    /* condition badges, sampled from the app */
    --c-likenew: #1E9E8F;
    --c-vintage: #B4702A;

    --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
    --gutter: clamp(1.25rem, 4vw, 3.5rem);
    --nav-h: 6.5rem;
    --maxw: 80rem;

    --display: 'Sora', 'Inter', system-ui, sans-serif;
    --text: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
    /* 16px up to ~1440px wide, then grows: 1920 -> 17.7px, 2560 -> 20px, 3440 -> 24px */
    font-size: clamp(16px, 10px + 0.4vw, 28px);
    scroll-behavior: smooth;
    scroll-padding-top: 7.5rem;
    -webkit-text-size-adjust: 100%;
    overflow-x: clip;
}

body {
    font-family: var(--text);
    font-size: 1rem;
    line-height: 1.65;
    color: var(--body);
    background: var(--navy);
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
h1, h2, h3, h4 { color: var(--ink); font-family: var(--display); overflow-wrap: break-word; hyphens: auto; }
p { overflow-wrap: break-word; }

:focus-visible { outline: 3px solid var(--teal-strong); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--maxw)); margin-inline: auto; }

.skip {
    position: absolute; left: 1rem; top: -4rem; z-index: 200;
    background: var(--teal); color: var(--navy); padding: 0.6rem 1rem; border-radius: 8px; font-weight: 600;
}
.skip:focus { top: 1rem; }

/* ---- Type ---------------------------------------------------------------- */
.display {
    font-size: clamp(2rem, 1.2rem + 3.4vw, 4.25rem);
    line-height: 1.04;
    letter-spacing: -0.02em;
    font-weight: 700;
    max-width: 18ch;
}
.lead { font-size: clamp(1.05rem, 1rem + 0.35vw, 1.3rem); line-height: 1.6; max-width: 46ch; }
.label {
    display: flex; align-items: center; gap: 0.7rem;
    color: var(--teal-strong); font-weight: 600; font-size: 0.95rem; margin-bottom: 1rem;
}
.label::before { content: ''; width: 1.6rem; height: 2px; background: currentColor; border-radius: 2px; }

.section { padding-block: clamp(4.5rem, 3rem + 7vw, 10rem); }
.section-head { margin-bottom: clamp(2.5rem, 4vw, 4.5rem); display: grid; gap: 1.1rem; }
.section-head .label { margin-bottom: 0; }

/* ---- Buttons ------------------------------------------------------------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
    font: 600 1rem/1 var(--text); padding: 0.95rem 1.5rem; border-radius: 999px;
    border: 0; cursor: pointer; transition: transform 0.2s var(--ease), background 0.2s, box-shadow 0.2s;
}
.btn-primary { background: var(--teal); color: var(--navy-0); }
.btn-primary:hover { background: var(--teal-strong); transform: translateY(-2px); box-shadow: 0 12px 30px rgba(19, 166, 161, 0.35); }
.btn-lg { padding: 1.1rem 2rem; font-size: 1.05rem; }
.btn:disabled { opacity: 0.6; cursor: wait; transform: none; }

/* ---- Nav ------------------------------------------------------------------ */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 100; transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s; border-bottom: 1px solid transparent; }
.nav.scrolled { background: rgba(14, 26, 43, 0.82); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); border-color: var(--line); }
.nav-in { display: flex; align-items: center; justify-content: space-between; height: var(--nav-h); }
.nav-logo .logo-img { height: 4.7rem; width: auto; filter: drop-shadow(0 2px 14px rgba(19, 166, 161, 0.35)); }
.nav-panel { display: flex; align-items: center; gap: clamp(1rem, 2vw, 2rem); flex: 1; margin-left: clamp(1.5rem, 4vw, 5rem); }
.nav-links { display: flex; gap: clamp(1.1rem, 2.1vw, 2.3rem); flex: 1; justify-content: center; }
.nav-links a { white-space: nowrap; color: var(--body); font-weight: 500; font-size: 1rem; transition: color 0.2s; }
.nav-links a:hover { color: var(--ink); }
.nav-cta { padding: 0.7rem 1.2rem; font-size: 0.95rem; white-space: nowrap; }

.lang { display: flex; padding: 0.2rem; border-radius: 999px; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line); }
.lang-btn { padding: 0.3rem 0.6rem; border-radius: 999px; font-size: 0.78rem; font-weight: 600; color: var(--body); transition: background 0.2s, color 0.2s; }
.lang-btn:hover { color: var(--ink); }
.lang-btn[aria-current='true'] { background: var(--teal); color: var(--navy-0); }

.nav-toggle { display: none; width: 2.9rem; height: 2.9rem; border: 1px solid var(--line-strong); border-radius: 50%; background: transparent; cursor: pointer; position: relative; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { position: absolute; left: 50%; width: 1.1rem; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 0.25s var(--ease), background 0.2s; }
.nav-toggle span { top: 50%; transform: translate(-50%, -50%); }
.nav-toggle span::before, .nav-toggle span::after { content: ''; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded='true'] span { background: transparent; }
.nav-toggle[aria-expanded='true'] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded='true'] span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1239px) {
    :root { --nav-h: 5rem; }
    .nav-logo .logo-img { height: 3.1rem; }
    .nav-toggle { display: block; }
    .nav-panel {
        margin-left: 0; flex: none;
        position: absolute; inset: var(--nav-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 1.2rem;
        padding: 1.5rem var(--gutter) 2rem; background: rgba(10, 20, 32, 0.97); backdrop-filter: blur(16px);
        border-bottom: 1px solid var(--line); display: none;
    }
    .nav-panel.open { display: flex; }
    .nav-links { flex-direction: column; gap: 0; }
    .nav-links a { padding: 0.9rem 0; font-size: 1.1rem; border-bottom: 1px solid var(--line); }
    .lang { align-self: flex-start; }
    .nav-cta { padding: 1rem; }
}

/* ---- Phone frame (real app screens) -------------------------------------- */
.phone {
    position: relative; aspect-ratio: 560 / 1217; border-radius: 9.2% / 4.2%; overflow: hidden;
    background: var(--navy-2); box-shadow: 0 0 0 1px var(--line-strong), 0 2.5rem 5rem rgba(0, 0, 0, 0.55);
}
.phone img { width: 100%; height: 100%; object-fit: cover; }

/* ---- Hero ----------------------------------------------------------------- */
.hero {
    position: relative; min-height: min(100svh, 64rem); display: grid; align-items: center;
    padding: 9rem 0 4rem;
    background:
        radial-gradient(60% 55% at 85% 20%, rgba(19, 166, 161, 0.22), transparent 70%),
        radial-gradient(45% 45% at 5% 95%, rgba(23, 192, 186, 0.1), transparent 70%),
        var(--navy);
}
.hero-in { display: grid; gap: 3.5rem; align-items: center; }
.hero-copy { display: grid; gap: 1.6rem; justify-items: start; min-width: 0; }

.pill {
    display: inline-flex; align-items: center; gap: 0.6rem; padding: 0.45rem 1rem 0.45rem 0.8rem; border-radius: 999px;
    background: var(--teal-soft); border: 1px solid rgba(19, 166, 161, 0.4); color: #5fe0da; font-size: 0.9rem; font-weight: 600;
}
.pill { border-radius: 1.2rem; align-items: center; }
.pill-text { display: grid; line-height: 1.25; }
.pill-text strong { font-weight: 700; font-size: 0.95rem; }
.pill-text small { font-size: 0.78rem; font-weight: 500; color: var(--body); }
.pill-dot { width: 0.55rem; height: 0.55rem; border-radius: 50%; background: var(--teal-strong); box-shadow: 0 0 0 4px rgba(23, 192, 186, 0.25); }

.hero-title, .display, .quote { hyphens: manual; }
.hero-title .accent { color: var(--teal); }
.hero-title {
    font-size: clamp(2.4rem, 1.2rem + 4.6vw, 5.4rem);
    line-height: 1; letter-spacing: -0.014em; font-weight: 700;
    max-width: 14ch; hyphens: manual;
}
.hero-lead { font-size: clamp(1.08rem, 1rem + 0.4vw, 1.4rem); max-width: 40ch; color: var(--body); }

.store-row { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 0.4rem; scroll-margin-top: calc(var(--nav-h) + 2rem); }
.store {
    display: inline-flex; align-items: center; gap: 0.7rem; padding: 0.7rem 1.2rem 0.7rem 1rem; border-radius: 14px;
    background: var(--ink); color: var(--navy-0); transition: transform 0.2s var(--ease), box-shadow 0.2s;
}
.store:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4); }
.store-pending { cursor: default; opacity: 0.75; }
.store-pending:hover { transform: none; box-shadow: none; }
.store-status { margin-top: -0.9rem; max-width: 40ch; font-size: 0.8rem; color: var(--body); }
.store svg { width: 1.7rem; height: 1.7rem; flex: none; }
.store span { display: grid; line-height: 1.15; text-align: start; }
.store small { font-size: 0.7rem; font-weight: 500; color: #3b4a5d; }
.store strong { font-size: 1.1rem; font-weight: 700; }
.hero-early { color: var(--teal-strong); font-weight: 600; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.hero-early:hover { color: #5fe0da; }

/* The swap table */
.stage { position: relative; width: min(100%, 34rem); aspect-ratio: 1 / 1.2; margin-inline: auto; justify-self: center; }
.stage-phone { position: absolute; left: 26%; top: 0; width: 48%; z-index: 1; }
.slab {
    position: absolute; z-index: 2; width: 41%; margin: 0; padding: 0.4rem 0.4rem 0; border-radius: 1.1rem;
    background: var(--navy-3); box-shadow: 0 0 0 1px var(--line-strong), 0 1.6rem 3rem rgba(0, 0, 0, 0.5);
    transition: left 0.95s var(--ease), top 0.95s var(--ease), transform 0.95s var(--ease);
}
.slab img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 0.8rem; background: #fff; }
.slab-card img { aspect-ratio: 3 / 4; }
.slab figcaption { display: grid; gap: 0.4rem; justify-items: start; padding: 0.65rem 0.35rem 0.75rem; }
.slab figcaption b { color: var(--ink); font-size: 0.85rem; font-weight: 600; line-height: 1.25; }
.slab-card { width: 36%; }
.slab-a1 { z-index: 2; padding-bottom: 0.4rem; left: 0; top: 2%; transform: rotate(-9deg); }
.slab-a2 { z-index: 3; left: 11%; top: 10%; transform: rotate(-3deg); }
.slab-b { left: 59%; top: 44%; transform: rotate(5deg); }
.stage[data-swapped='1'] .slab-a1 { left: 49%; top: 36%; transform: rotate(3deg); }
.stage[data-swapped='1'] .slab-a2 { left: 59%; top: 44%; transform: rotate(8deg); }
.stage[data-swapped='1'] .slab-b { left: 0; top: 3%; transform: rotate(-6deg); }
.stage.is-swapping .slab { animation: lift 0.95s var(--ease); }
@keyframes lift { 40% { scale: 1.07; box-shadow: 0 0 0 1px var(--teal), 0 2.4rem 4rem rgba(19, 166, 161, 0.35); } }

.tag { display: inline-block; padding: 0.15rem 0.55rem; border-radius: 6px; font-size: 0.72rem; font-weight: 600; color: #fff; }
.tag-likenew { background: var(--c-likenew); }
.tag-vintage { background: var(--c-vintage); }

.swap-btn {
    position: absolute; z-index: 3; left: 0; bottom: 0; display: inline-flex; align-items: center; gap: 0.55rem;
    padding: 0.8rem 1.25rem; border-radius: 999px; border: 0; cursor: pointer;
    background: var(--teal); color: var(--navy-0); font: 600 0.95rem/1 var(--text);
    box-shadow: 0 10px 28px rgba(19, 166, 161, 0.4); transition: transform 0.2s var(--ease), background 0.2s;
}
.swap-btn svg { width: 1.2rem; height: 1.2rem; transition: transform 0.6s var(--ease); }
.swap-btn:hover { background: var(--teal-strong); transform: translateY(-2px); }
.stage[data-swapped='1'] .swap-btn svg { transform: rotate(180deg); }
.swap-toast {
    position: absolute; z-index: 3; right: 0; top: 0; padding: 0.5rem 0.95rem; border-radius: 999px;
    background: rgba(14, 26, 43, 0.9); border: 1px solid var(--teal); color: #5fe0da; font-size: 0.85rem; font-weight: 600;
    opacity: 0; transform: translateY(-6px); transition: opacity 0.4s, transform 0.4s var(--ease); pointer-events: none;
}
.swap-toast:not(:empty)::before { content: '\2713\00a0'; }
.swap-toast.show { opacity: 1; transform: none; }

@media (min-width: 960px) {
    .hero-in { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 4vw; }
    .stage { justify-self: end; margin-inline: 0; }
}

/* ---- Free band ------------------------------------------------------------ */
.free { background: var(--teal); color: var(--navy-0); padding-block: clamp(2.2rem, 3vw, 3.5rem); }
.free-in { display: grid; gap: 1.2rem 3rem; align-items: center; }
.free h2 { color: var(--navy-0); font-size: clamp(1.8rem, 1.1rem + 2.4vw, 3.2rem); line-height: 1.05; letter-spacing: -0.025em; font-weight: 800; }
.free p { font-weight: 500; font-size: 1.1rem; max-width: 36ch; }
.free ul { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.free li { background: var(--navy-0); color: var(--ink); padding: 0.55rem 1.1rem; border-radius: 999px; font-weight: 600; font-size: 0.95rem; }
@media (min-width: 960px) {
    .free-in { grid-template-columns: auto 1fr; }
    .free-in h2 { grid-row: 1 / span 2; }
    .free ul { grid-column: 2; align-self: start; }
    .free p { grid-column: 2; align-self: end; }
}

/* ---- Community ------------------------------------------------------------ */
.community-in { display: grid; gap: 3rem; align-items: start; }
.community-photo { position: relative; margin: 0; border-radius: 1.6rem; overflow: hidden; box-shadow: 0 0 0 1px var(--line-strong), 0 2rem 4rem rgba(0, 0, 0, 0.45); }
.community-photo img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; }
.community-photo figcaption {
    position: absolute; inset: auto 1rem 1rem 1rem; padding: 0.9rem 1.1rem; border-radius: 1rem; color: var(--ink);
    background: rgba(10, 20, 32, 0.78); backdrop-filter: blur(10px); font: 700 clamp(1.1rem, 1rem + 0.6vw, 1.5rem)/1.2 var(--display);
}
.community-copy { display: grid; gap: 1.4rem; }
.community-copy .display { max-width: 15ch; }
.community-copy .lead { max-width: 52ch; }
.people { display: grid; gap: 1rem; margin-top: 1rem; }
.people li { display: grid; grid-template-columns: 5.5rem minmax(0, 1fr); gap: 1.1rem; align-items: center; padding: 0.8rem; border-radius: 1.2rem; background: var(--navy-2); border: 1px solid var(--line); }
.people img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 0.8rem; }
.people h3 { font-size: 1.25rem; letter-spacing: -0.01em; margin-bottom: 0.2rem; }
.people p { font-size: 0.98rem; line-height: 1.5; }
.community .close { font: 650 clamp(1.3rem, 1.1rem + 1vw, 2rem)/1.2 var(--display); color: var(--ink); letter-spacing: -0.015em; max-width: 24ch; margin-top: 1rem; }
@media (min-width: 960px) {
    .community-in { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(3rem, 6vw, 7rem); }
    .community-photo { position: sticky; top: 6rem; }
}

/* ---- How it works --------------------------------------------------------- */
.how { background: var(--navy-0); }
.how-grid { display: grid; gap: 2rem; }
.how-phone { display: none; }
.steps { counter-reset: s; display: grid; gap: 1.2rem; }
.step { counter-increment: s; position: relative; padding: 1.6rem 1.4rem 1.6rem 4.6rem; border-radius: 1.4rem; background: var(--navy-2); border: 1px solid var(--line); }
.step::before {
    content: counter(s); position: absolute; left: 1.2rem; top: 1.3rem; width: 2.4rem; height: 2.4rem; display: grid; place-items: center;
    border-radius: 50%; background: var(--teal); color: var(--navy-0); font: 700 1.1rem/1 var(--display);
}
.step h3 { font-size: 1.45rem; letter-spacing: -0.015em; margin-bottom: 0.4rem; }
.step p { max-width: 42ch; }
.step-phone { width: min(15rem, 62%); margin-top: 1.4rem; }
@media (min-width: 960px) {
    .how-grid { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(3rem, 6vw, 7rem); align-items: start; }
    .how-phone { display: block; position: sticky; top: calc(50svh - 20rem); width: min(100%, 18.5rem); margin-inline: auto; }
    .how-phone .phone { background: var(--navy-2); }
    .shot { position: absolute; inset: 0; opacity: 0; transition: opacity 0.5s var(--ease); }
    .shot.on { opacity: 1; }
    .steps { gap: 0; }
    .step { background: none; border: 0; border-radius: 0; min-height: clamp(16rem, 40svh, 30rem); padding: 2rem 0 2rem 5.6rem; display: flex; flex-direction: column; justify-content: center; opacity: 0.5; transition: opacity 0.4s; }
    .step.is-on { opacity: 1; }
    .step::before { left: 0; top: auto; width: 3.6rem; height: 3.6rem; font-size: 1.5rem; background: transparent; color: var(--teal-strong); border: 2px solid var(--teal); transition: background 0.4s, color 0.4s; }
    .step.is-on::before { background: var(--teal); color: var(--navy-0); }
    .step h3 { font-size: clamp(1.7rem, 1.2rem + 1.4vw, 2.6rem); }
    .step p { font-size: 1.15rem; }
    .step-phone { display: none; }
}

/* ---- Categories mosaic ---------------------------------------------------- */
.mosaic { display: grid; grid-template-columns: repeat(2, 1fr); grid-auto-rows: 9rem; gap: 0.8rem; }
.tile { position: relative; border-radius: 1.2rem; overflow: hidden; background: var(--navy-2); box-shadow: 0 0 0 1px var(--line); }
.tile img { background: #fff; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.tile:hover img { transform: scale(1.05); }
.tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10, 20, 32, 0.7), transparent 50%); }
.tile span {
    position: absolute; z-index: 1; left: 0.8rem; bottom: 0.8rem; padding: 0.35rem 0.8rem; border-radius: 999px;
    background: rgba(10, 20, 32, 0.75); backdrop-filter: blur(8px); color: var(--ink); font-weight: 600; font-size: 0.9rem;
}
.t-cards { grid-column: span 2; grid-row: span 2; }
.t-comics { grid-column: span 2; }
@media (min-width: 720px) {
    .mosaic { grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(9rem, 15vw, 15rem); gap: 1rem; }
    .t-cards { grid-column: 1 / 3; grid-row: 1 / 3; }
    .t-sneak { grid-column: 3; grid-row: 1; }
    .t-fig { grid-column: 4; grid-row: 1; }
    .t-lego { grid-column: 3 / 5; grid-row: 2; }
    .t-jersey { grid-column: 1; grid-row: 3; }
    .t-vinyl { grid-column: 2; grid-row: 3; }
    .t-watch { grid-column: 3; grid-row: 3; }
    .t-comics { grid-column: 4; grid-row: 3; }
}
.cats { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 2rem; }
.cat { display: inline-flex; align-items: center; gap: 0.6rem; padding: 0.55rem 1.1rem 0.55rem 0.8rem; border-radius: 999px; background: var(--navy-2); border: 1px solid var(--line); color: var(--ink); font-size: 0.95rem; transition: border-color 0.2s, transform 0.2s var(--ease); }
.cat:hover { border-color: var(--teal); transform: translateY(-2px); }
.cat-ico { display: grid; place-items: center; width: 1.7rem; height: 1.7rem; color: var(--teal-strong); }
.cat-ico svg { width: 100%; height: 100%; }
.cat strong { font-weight: 500; }

/* ---- Features ------------------------------------------------------------- */
.features { background: var(--navy-0); }
.feat-grid { display: grid; gap: 3rem; }
.feat { display: grid; gap: 0.9rem; align-content: start; }
.feat h3 { font-size: clamp(1.5rem, 1.2rem + 0.8vw, 2rem); line-height: 1.12; letter-spacing: -0.02em; }
.feat .label { margin: 1.2rem 0 0; font-size: 0.9rem; }
.feat-phone { aspect-ratio: 560 / 720; border-radius: 9.2% 9.2% 0 0 / 7% 7% 0 0; box-shadow: 0 0 0 1px var(--line-strong); -webkit-mask-image: linear-gradient(#000 72%, transparent); mask-image: linear-gradient(#000 72%, transparent); }
.feat-phone img { height: auto; object-position: top; }
.ticks { display: grid; gap: 0.5rem; margin-top: 0.4rem; }
.ticks li { display: flex; gap: 0.7rem; color: var(--ink); font-weight: 500; font-size: 0.97rem; }
.ticks li::before { content: ''; flex: none; width: 1.2rem; height: 1.2rem; margin-top: 0.2rem; border-radius: 50%; background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A1420' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 70% no-repeat; }
@media (min-width: 900px) { .feat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 4rem); } }
@media (min-width: 560px) and (max-width: 899px) { .feat-phone { max-width: 22rem; } }

/* ---- Trust ---------------------------------------------------------------- */
.trust-in { display: grid; gap: 3rem; }
.trust-head { display: grid; gap: 1.1rem; align-content: start; }
.quote { font: 800 clamp(1.8rem, 1.1rem + 3vw, 3.6rem)/1.02 var(--display); letter-spacing: -0.022em; color: var(--teal-strong); max-width: 12ch; margin-top: 1.2rem; }
.trust-list li { display: grid; grid-template-columns: 3.4rem minmax(0, 1fr); gap: 1.2rem; padding-block: 1.6rem; border-top: 1px solid var(--line); }
.trust-list li:last-child { border-bottom: 1px solid var(--line); }
.trust-list svg { width: 3.4rem; height: 3.4rem; padding: 0.8rem; border-radius: 1rem; background: var(--teal-soft); color: var(--teal-strong); }
.trust-list h3 { font-size: 1.35rem; letter-spacing: -0.01em; margin-bottom: 0.3rem; }
.trust-list p { max-width: 50ch; }
@media (min-width: 960px) {
    .trust-in { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(3rem, 6vw, 7rem); }
    .trust-head { position: sticky; top: 6rem; align-self: start; }
}

/* ---- FAQ ------------------------------------------------------------------ */
.faq { background: var(--navy-0); }
.faq-in { display: grid; gap: 2.5rem; }
.faq-head { align-content: start; }
.qa { border-top: 1px solid var(--line); }
.qa:last-child { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding: 1.35rem 0; color: var(--ink); font: 650 clamp(1.1rem, 1rem + 0.5vw, 1.45rem)/1.25 var(--display); letter-spacing: -0.01em; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: ''; flex: none; width: 1.9rem; height: 1.9rem; border-radius: 50%; border: 1.5px solid var(--teal); background: linear-gradient(var(--teal-strong), var(--teal-strong)) center / 0.8rem 2px no-repeat, linear-gradient(var(--teal-strong), var(--teal-strong)) center / 2px 0.8rem no-repeat; transition: transform 0.3s var(--ease); }
.qa[open] summary::after { transform: rotate(135deg); background-color: var(--teal-soft); }
.qa p { padding: 0 3.5rem 1.6rem 0; max-width: 60ch; font-size: 1.05rem; }
@media (min-width: 960px) {
    .faq-in { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(3rem, 6vw, 7rem); }
    .faq-head { position: sticky; top: 6rem; align-self: start; }
}

/* ---- Waitlist ------------------------------------------------------------- */
.waitlist-card { display: grid; gap: 2.5rem; padding: clamp(1.5rem, 4vw, 4rem); border-radius: clamp(1.5rem, 3vw, 2.4rem); background: var(--navy-2); border: 1px solid var(--line-strong); background-image: radial-gradient(60% 80% at 100% 0, rgba(19, 166, 161, 0.2), transparent 70%); }
.waitlist-head { display: grid; gap: 1.1rem; align-content: start; }
.waitlist-photo { display: none; }
@media (min-width: 960px) {
    .waitlist-card { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(2.5rem, 5vw, 6rem); }
    .waitlist-photo { display: block; margin-top: 1.5rem; width: 100%; max-width: 24rem; aspect-ratio: 1; object-fit: cover; border-radius: 1.4rem; box-shadow: 0 0 0 1px var(--line-strong); transform: rotate(-2.5deg); }
}

.form-grid { display: grid; gap: 1.1rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.field { display: grid; gap: 0.45rem; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field > label { color: var(--ink); font-weight: 600; font-size: 0.95rem; }
.field input, .field select, .field textarea {
    width: 100%; min-width: 0; padding: 0.9rem 1rem; border-radius: 0.9rem; border: 1px solid var(--line-strong);
    background: var(--navy); color: var(--ink); font: 400 1rem var(--text); transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { resize: vertical; min-height: 6rem; line-height: 1.5; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(19, 166, 161, 0.3); }
.chips-select { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip-opt { position: relative; cursor: pointer; }
.chip-opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip-opt span { display: inline-block; padding: 0.5rem 0.95rem; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--body); font-size: 0.9rem; transition: all 0.2s; }
.chip-opt:hover span { border-color: var(--teal); color: var(--ink); }
.chip-opt.selected span { background: var(--teal); border-color: var(--teal); color: var(--navy-0); font-weight: 600; }
.chip-opt:has(input:focus-visible) span { outline: 3px solid var(--teal-strong); outline-offset: 2px; }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-submit { margin-top: 1.4rem; }
.form-submit .btn { width: 100%; }
.form-note { margin-top: 1rem; font-size: 0.85rem; color: var(--muted); }
.form-note a { color: var(--teal-strong); text-decoration: underline; text-underline-offset: 3px; }
.success-message { margin-top: 1rem; padding: 0.9rem 1.1rem; border-radius: 0.9rem; font-weight: 600; }
@media (max-width: 559px) { .form-grid { grid-template-columns: 1fr; } }

/* ---- Footer --------------------------------------------------------------- */
.footer { background: var(--navy-0); border-top: 1px solid var(--line); padding-top: clamp(3rem, 5vw, 5rem); }
.footer-in { display: grid; gap: 2.5rem 2rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.footer-brand { grid-column: 1 / -1; display: grid; gap: 1rem; justify-items: start; }
.footer-brand .logo-img { height: 3.6rem; width: auto; }
.footer-brand p { max-width: 38ch; }
.footer-col { display: grid; gap: 0.6rem; align-content: start; }
.footer-col h4 { color: var(--ink); font-size: 1rem; margin-bottom: 0.3rem; }
.footer-col a { color: var(--body); font-size: 0.95rem; width: fit-content; }
.footer-col a:hover, .footer-col a[aria-current] { color: var(--teal-strong); }
.social-row { display: flex; gap: 0.6rem; }
.social-btn { display: grid; place-items: center; width: 2.7rem; height: 2.7rem; border-radius: 50%; border: 1px solid var(--line-strong); color: var(--body); transition: all 0.2s; }
.social-btn:hover { color: var(--navy-0); background: var(--teal); border-color: var(--teal); }
.social-btn svg { width: 1.25rem; height: 1.25rem; }
.photo-credit { flex-basis: 100%; font-size: 0.75rem; }
.photo-credit a { text-decoration: underline; text-underline-offset: 2px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.6rem 2rem; margin-top: 3rem; padding-block: 1.6rem; border-top: 1px solid var(--line); font-size: 0.85rem; color: var(--muted); }
@media (min-width: 900px) {
    .footer-in { grid-template-columns: 1.6fr repeat(3, minmax(0, 1fr)); }
    .footer-brand { grid-column: auto; }
}

/* ---- Wide screens: let the composition breathe ---------------------------- */
@media (min-width: 1800px) { :root { --maxw: 88rem; } .stage { width: min(100%, 38rem); } }
@media (min-width: 2800px) { :root { --maxw: 100rem; } .stage { width: min(100%, 44rem); } .hero-in { gap: 8vw; } }

/* ---- Small phones --------------------------------------------------------- */
@media (max-width: 379px) {
    .hero-title { font-size: 2.3rem; }
    .store { padding-inline: 0.8rem; }
    .people li { grid-template-columns: 4.2rem minmax(0, 1fr); }
    .qa p { padding-right: 0; }
}

/* ---- Motion preferences --------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
}

/* ---- Legal pages ---------------------------------------------------------- */
.legal-main { padding: calc(var(--nav-h) + 3rem) 0 clamp(4rem, 6vw, 7rem); }
.legal-body { max-width: 52rem; }
.legal-body h1 { font-size: clamp(2.2rem, 1.4rem + 3vw, 3.6rem); line-height: 1.05; letter-spacing: -0.02em; margin: 0.4rem 0 1.6rem; hyphens: manual; }
.legal-body h2 { font-size: clamp(1.3rem, 1.1rem + 0.8vw, 1.7rem); margin: 2.6rem 0 0.8rem; letter-spacing: -0.01em; }
.legal-body p { margin-bottom: 1rem; max-width: 70ch; }
.legal-body .legal-lead { color: #c3cfde; font-size: 1.1rem; }
.legal-body ul { margin: 0 0 1.1rem 1.2rem; list-style: disc; max-width: 70ch; }
.legal-body li { margin-bottom: 0.5rem; }
.legal-body li::marker { color: var(--teal); }
.legal-body a { color: var(--teal-strong); text-decoration: underline; text-underline-offset: 3px; }
.legal-body strong { color: var(--ink); }
.legal-updated { margin-top: 2.6rem; color: var(--muted); font-size: 0.9rem; }
.legal-note { display: inline-block; margin-bottom: 1.2rem; padding: 0.6rem 1rem; border-radius: 0.9rem; background: var(--teal-soft); border: 1px solid rgba(19, 166, 161, 0.4); color: #bff3ef; font-size: 0.9rem; }
.legal-nav .nav-links { justify-content: flex-end; }

/* Support page: cards echo the app's Help & Support screen */
.support-card { background: var(--navy-3); border: 1px solid var(--line); border-radius: 1rem; padding: 1.1rem 1.3rem; margin-bottom: 0.8rem; }
.support-card h3 { font-size: 1.05rem; font-weight: 600; margin: 0 0 0.4rem; color: var(--ink); }
.support-card p { margin: 0; color: #c3cfde; max-width: 62ch; }
.support-mail { color: var(--teal-strong); font-weight: 600; word-break: break-all; }
.support-mail:hover { color: #5fe0da; }
.support-legal { margin-top: 2rem; color: #8fa0b5; }
.support-legal a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
