:root {
  --ocean: var(--brand-ocean-depths);
  --mariner: var(--brand-mariner-blue);
  --orange: var(--brand-sunset-orange);
  --cream: var(--brand-ivory-hull);
  --warm: var(--brand-harbor-mist);
  --disabled: #8C9196;
  --ink2: #111213;
  --line: #E6E2DC;
  --serif: Georgia, Gelasio, "Times New Roman", serif;
  --sans: "Montserrat", -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --fill: linear-gradient(96deg, var(--brand-sunset-orange) 0%, var(--brand-sunset-orange) 22%, #FE8352 42%, #DE6C85 58%, #7F579D 78%, #3345AF 100%);
  --rule: linear-gradient(96deg, var(--brand-sunset-orange), #DE6C85 55%, #3345AF);
  --on-accent: var(--brand-ocean-depths);
  --teal: linear-gradient(105deg, #3FE0B5 0%, #22B6E6 46%, #2E6BE0 100%);
  --nav-h: 80px;

  /* Chat sizing tokens. Shared between marketing helm (site.css) and
     engineer surface (engineer.css) so /, /engineer, /try scale together.
     Values step down at <1200px (11-13" laptops) and again at <768px
     (phone). Kept in :root so both stylesheets read the same variable. */
  --fs-chat-body: 18px;   /* say-text bubble body */
  --fs-chat-lead: 15px;   /* chip + secondary text */
  --fs-stage-h: 26px;     /* stage headings */
  --chat-max-w: 720px;    /* max width of the chat column */
  --bubble-max-w: 68ch;   /* max reading width of a single bubble */
  --chip-max-w: 240px;    /* cap chip width so long labels don't stretch */

  /* ═══════════ DESIGN TOKENS (Phase 1) ═══════════
     Semantic primitives shared by every surface. Existing hardcoded
     values stay in place until refactored to reference these; adding
     the tokens now is non-destructive and gives future work a common
     vocabulary. See docs/design-tokens.md (TODO) for the full contract. */

  /* Spacing scale, 4px base, powers-of and 1.5x steps. Use for padding,
     margin, gap. Named 1..8 rather than xs..3xl so the numeric order is
     obvious at the call site. */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;

  /* Radius scale, 4 stops. Pills always use --r-pill (never a big number).
     Cards default to --r-lg. Inputs, checkbox-adjacent controls: --r-md. */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-pill: 999px;

  /* Button heights, three sizes. Height is set explicitly (not padding-
     derived) so buttons in different contexts sit on the same baseline. */
  --btn-h-sm: 36px;
  --btn-h-md: 44px;
  --btn-h-lg: 52px;

  /* Type scale, 12/14/16/18/24/32/44. Font-family is a separate axis
     (var(--serif) or var(--sans)). Existing chat tokens (--fs-chat-body,
     --fs-chat-lead, --fs-stage-h) still work; new work uses the semantic
     names below. */
  --fs-xs: 12px;
  --fs-sm: 14px;
  --fs-md: 16px;
  --fs-lg: 18px;
  --fs-xl: 24px;
  --fs-2xl: 32px;
  --fs-3xl: 44px;

  /* Motion, two speeds. Interactive feedback (hover, focus) uses fast;
     state transitions (open, close, appear) use med. */
  --tx-fast: 120ms cubic-bezier(.2,.9,.3,1.05);
  --tx-med:  200ms cubic-bezier(.2,.9,.3,1.05);

  /* Elevation, three levels. Buttons rest at 1, cards at 2, overlays at 3. */
  --elev-1: 0 4px 12px rgba(0,0,0,.18);
  --elev-2: 0 12px 32px rgba(0,0,0,.28);
  --elev-3: 0 24px 60px rgba(0,0,0,.42);

  /* Chat gradient, used by chat surfaces only (user bubbles, chat send
     buttons, sonar avatar, plan/boat/checkout CTAs rendered inline in
     chat, helm crown + progress bar). Deep brand navy through mid-blue
     to icy pale blue. Text stays white/cream and remains readable on
     all three stops. Marketing hero button + other landing surfaces
     keep the rainbow (--fill) as brand accent. */
  --chat-fill: linear-gradient(90deg, #2E4FBB 0%, #4A7AD5 55%, #B8CFEF 100%);
  --chat-fill-hover: linear-gradient(90deg, #3A5DD5 0%, #5A88E0 55%, #CBDBF3 100%);
}
@media (max-width: 1200px) {
  :root {
    --fs-chat-body: 16px;
    --fs-chat-lead: 14px;
    --fs-stage-h: 22px;
    --chat-max-w: 640px;
    --chip-max-w: 220px;
  }
}
@media (max-width: 768px) {
  :root {
    --fs-chat-body: 15px;
    --fs-chat-lead: 13px;
    --fs-stage-h: 20px;
    --chat-max-w: 100%;
    --chip-max-w: 200px;
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); color: var(--ocean); background: #fff; -webkit-font-smoothing: antialiased; }
/* Rev3 (spec 0599 O1): Georgia regular on H1 and H2 only; .serif is the
   H2 role on the marketing stage headings. H3 is Montserrat (Figma App H3). */
h1, h2, .serif { font-family: var(--serif); font-weight: 400; letter-spacing: -0.005em; }
h3 { font-family: var(--sans); font-weight: 600; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 60px); }
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--orange); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 9px; cursor: pointer; font-family: var(--serif); font-size: 18px; border-radius: 31px; padding: 13px 30px; border: 0; transition: transform .18s ease, box-shadow .25s ease, background .25s ease, color .2s ease; }
.btn-fill { background: var(--fill); color: var(--on-accent); box-shadow: 0 10px 26px rgba(253,161,0,0.28); }
.btn-fill:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(222,108,133,0.36); }
.btn-outline { background: transparent; color: var(--ocean); border: 3px solid var(--orange); padding: 11px 28px; }
.btn-outline:hover { background: var(--orange); color: var(--on-accent); }
.btn-outline.on-dark { color: var(--cream); }
.btn-outline.on-dark:hover { color: var(--on-accent); }
.btn-grad-outline { color: var(--ocean); border: 2.5px solid transparent; padding: 11px 28px; background: linear-gradient(var(--cream), var(--cream)) padding-box, var(--fill) border-box; }
.btn-grad-outline.on-dark { background: linear-gradient(var(--ocean), var(--ocean)) padding-box, var(--fill) border-box; color: var(--cream); }
.btn-grad-outline:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(222,108,133,0.22); }

/* Nav */
.nav { position: fixed; top: 0; left: 0; right: 0; height: var(--nav-h); z-index: 50; display: flex; align-items: center; justify-content: space-between; padding: 0 clamp(20px, 5vw, 60px); transition: background .35s ease, backdrop-filter .35s ease, border-color .35s ease; border-bottom: 1px solid transparent; }
.nav.scrolled { background: rgba(23,28,47,0.9); backdrop-filter: blur(12px); border-bottom-color: rgba(245,241,235,0.08); }
.logo img { height: 34px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a, .nav-cta { font-size: 12.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(245,241,235,0.82); background: none; border: 0; cursor: pointer; font-family: var(--sans); transition: color .2s ease; padding: 0; }
.nav-links a:hover, .nav-cta:hover { color: #fff; }
.nav-links a.active { color: var(--orange); }
.nav-toggle { display: none; }
@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; padding: 11px; background: none; border: 0; cursor: pointer; }
  .nav-toggle span { height: 2px; width: 100%; background: var(--cream); border-radius: 2px; transition: transform .28s ease, opacity .2s ease; }
  .nav.open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav.open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav.open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav-links { position: fixed; top: var(--nav-h); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: rgba(23,28,47,.98); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-top: 1px solid rgba(245,241,235,.08); border-bottom: 1px solid rgba(245,241,235,.1); padding: 6px 0; transform: translateY(-14px); opacity: 0; pointer-events: none; transition: opacity .26s ease, transform .26s ease; }
  .nav.open .nav-links { opacity: 1; transform: none; pointer-events: auto; }
  .nav-links a { display: block; padding: 15px clamp(20px, 5vw, 60px); font-size: 13px; letter-spacing: .12em; }
  .nav-links a + a { border-top: 1px solid rgba(245,241,235,.06); }
}

/* Sign in, pinned top right on every marketing page. It sits outside
   .nav-links so the phone menu never hides it: beside the hamburger under
   900px, after the links above it. A quiet outline, so Start free stays
   the main action. .nav .nav-signin outranks page resets like .ymh-wrapper a. */
.nav .nav-links { margin-left: auto; }
.nav .nav-signin { flex: none; margin-left: 30px; display: inline-flex; align-items: center; justify-content: center; min-height: 38px; padding: 0 18px; border: 1px solid rgba(245,241,235,0.4); border-radius: 31px; background: transparent; color: var(--cream); font-family: var(--sans); font-size: 12.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; white-space: nowrap; text-decoration: none; transition: border-color .2s ease, color .2s ease, background .2s ease; }
.nav .nav-signin:hover { border-color: var(--cream); color: #fff; background: rgba(245,241,235,0.06); }
.nav .nav-signin:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
@media (max-width: 1200px) { .nav .nav-signin { margin-left: 22px; font-size: 11.5px; letter-spacing: .1em; padding: 0 16px; } }
@media (max-width: 900px) {
  .nav .nav-signin { margin-left: auto; margin-right: 6px; min-height: 40px; padding: 0 14px; font-size: 12px; letter-spacing: .1em; }
}
@media (max-width: 360px) {
  .nav .nav-signin { padding: 0 12px; font-size: 11px; letter-spacing: .08em; margin-right: 2px; }
}

/* Hero (home) */
.hero { position: relative; min-height: 92vh; display: grid; place-items: center; text-align: center; color: #fff; overflow: hidden; }
.hero .bg { position: absolute; inset: 0; background: url("/assets/hero-ocean.webp") center/cover no-repeat; }
.hero .bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(23,28,47,0.55) 0%, rgba(23,28,47,0.28) 40%, rgba(23,28,47,0.62) 100%); }
.hero .inner { position: relative; padding: 120px 20px 90px; max-width: 900px; }
.hero h1 { font-size: clamp(36px, 6vw, 62px); line-height: 1.12; margin: 0 0 34px; text-shadow: 0 2px 30px rgba(0,0,0,0.3); }
.grad-rule { height: 3px; border: 0; margin: 0; background: linear-gradient(90deg, var(--brand-sunset-orange) 0%, #DE6C85 50%, #3345AF 100%); }

/* Section shells */
section { position: relative; }
.band-dark { background: var(--ocean); color: var(--cream); }
.band-cream { background: var(--cream); color: var(--ocean); }
.pad { padding: clamp(64px, 9vw, 112px) 0; }
.center { text-align: center; }
.sec-head { font-size: clamp(28px, 4vw, 44px); line-height: 1.12; margin: 0; }
.lead { font-family: var(--sans); font-weight: 300; font-size: 16px; line-height: 1.65; color: var(--disabled); }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(0.16,1,0.3,1); }
.reveal.in { opacity: 1; transform: none; }

/* Value props */
.valhead { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: end; margin-bottom: 60px; }
.valhead h2 { font-size: clamp(26px, 3.4vw, 40px); line-height: 1.15; margin: 0; color: #fff; }
.valhead p { margin: 0; color: var(--warm); font-weight: 300; font-size: 15.5px; line-height: 1.6; }
.val-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; }
.val { text-align: center; }
.val .ic { margin: 0 auto 18px; }
.val .ic svg { width: 34px; height: 34px; color: var(--orange); display: block; margin: 0 auto; }
.val .lbl { font-size: 11.5px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--warm); line-height: 1.5; }
@media (max-width: 860px) { .valhead { grid-template-columns: 1fr; } .val-row { grid-template-columns: repeat(2, 1fr); gap: 30px; } }

/* Split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 80px); align-items: center; }
.split.reverse .txt { order: 2; }
.split h2 { font-size: clamp(28px, 3.8vw, 44px); line-height: 1.12; margin: 0 0 20px; }
.split p { font-weight: 300; font-size: 16px; line-height: 1.65; color: #55606c; margin: 0 0 30px; }
.split .media img { border-radius: 18px; box-shadow: 0 30px 70px rgba(23,28,47,0.18); width: 100%; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } .split.reverse .txt { order: 0; } }

/* Steps (home) */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 56px; }
.step { background: var(--ocean); color: var(--cream); border-radius: 16px; padding: 30px 26px; }
.step .n { font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--orange); }
.step h3 { font-size: 21px; margin: 14px 0 12px; color: #fff; }
.step p { font-weight: 300; font-size: 13.5px; line-height: 1.6; color: var(--warm); margin: 0; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }

/* Accordion */
.acc { display: flex; flex-direction: column; }
.acc-item { border-bottom: 1px solid var(--warm); }
.acc-btn { width: 100%; text-align: left; background: none; border: 0; cursor: pointer; padding: 20px 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-family: var(--sans); font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ocean); }
.acc-btn .pm { font-size: 20px; color: var(--orange); transition: transform .3s ease; }
.acc-item.open .acc-btn .pm { transform: rotate(45deg); }
.acc-panel { max-height: 0; overflow: hidden; transition: max-height .4s ease, padding .4s ease; }
.acc-item.open .acc-panel { max-height: 240px; padding-bottom: 22px; }
.acc-panel p { margin: 0; font-weight: 300; font-size: 14.5px; line-height: 1.65; color: #55606c; }

/* VESSELIQ band (home) */
.viq { position: relative; text-align: center; color: #fff; overflow: hidden; }
.viq .bg { position: absolute; inset: 0; background: url("/assets/vesseliq-waves.jpg") center/cover no-repeat; }
.viq .bg::after { content: ""; position: absolute; inset: 0; background: rgba(15,19,32,0.6); }
.viq .inner { position: relative; max-width: 720px; margin: 0 auto; }
.viq h2 { font-size: clamp(28px, 4vw, 44px); margin: 0 0 18px; }
.viq p { color: var(--warm); font-weight: 300; font-size: 16px; line-height: 1.65; margin: 0 0 32px; }
.mark { display: inline-block; }
.mark img { display: block; height: 34px; width: auto; }

/* Pricing */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; align-items: stretch; }
.pcard { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--disabled); border-radius: 20px; padding: 30px 28px; box-shadow: 0 11px 30.9px rgba(0,0,0,0.08); }
.pcard.pop { background: var(--ocean); border-color: transparent; color: var(--cream); box-shadow: 0 30px 60px rgba(23,28,47,0.28); }
.pcard .ribbon { position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%); background: var(--orange); color: var(--on-accent); font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 6px 18px; border-radius: 999px; white-space: nowrap; }
.pcard .pname { font-family: var(--serif); font-size: 30px; }
.pcard .ptag { font-weight: 300; font-size: 14px; line-height: 1.4; margin: 8px 0 20px; min-height: 40px; color: inherit; opacity: 0.86; }
.pcard .amt { display: flex; align-items: baseline; gap: 8px; }
.pcard .amt .big { font-size: 40px; font-weight: 600; letter-spacing: -0.01em; }
.pcard .amt .per { font-size: 12px; font-weight: 600; letter-spacing: 0.11em; text-transform: uppercase; color: var(--disabled); }
.pcard.pop .amt .per { color: var(--warm); }
.pcard .yr { font-weight: 300; font-size: 14px; margin-top: 4px; opacity: 0.8; }
.pcard .custom { font-size: 20px; font-weight: 700; margin-top: 6px; }
.pcard .custom-sub { font-weight: 300; font-size: 14px; opacity: 0.8; margin-top: 4px; }
.pcard .pbtn { width: 100%; justify-content: center; margin: 24px 0; }
.pcard ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.pcard li { font-weight: 300; font-size: 14px; line-height: 1.45; padding-left: 24px; position: relative; }
.pcard li::before { content: "✔"; position: absolute; left: 0; color: var(--orange); font-size: 12px; }
.pcard li.head { font-weight: 600; padding-left: 24px; }
.pcard li.head::before { content: "✧"; }
@media (max-width: 900px) { .price-grid { grid-template-columns: 1fr; max-width: 440px; margin-inline: auto; } .pcard.pop { transform: none; } }

/* Footer */
footer { background: var(--ocean); color: var(--cream); }
.foot { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; align-items: start; }
.foot h4 { font-family: var(--sans); font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; margin: 0 0 16px; }
.foot p, .foot a, .foot span { font-weight: 300; font-size: 13.5px; line-height: 1.8; color: var(--warm); }
.foot .seal img { width: 132px; height: 132px; margin: 0 auto; display: block; }
.foot .rows { display: grid; gap: 6px; }
@media (max-width: 820px) { .foot { grid-template-columns: 1fr; text-align: left; } .foot .seal img { margin: 0; } }
.copyright { border-top: 1px solid rgba(245,241,235,0.1); text-align: center; font-size: 12px; color: var(--disabled); padding: 22px 0; margin-top: 60px; }

/* ── VesselIQ page ── */
.viq-hero { position: relative; min-height: 88vh; display: grid; place-items: center; text-align: center; color: #fff; overflow: hidden; }
.viq-hero .bg { position: absolute; inset: 0; background: url("/assets/viq-hero.jpg") center/cover no-repeat; }
.viq-hero .bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(9,12,22,0.5), rgba(9,12,22,0.25) 45%, rgba(9,12,22,0.65)); }
.viq-hero .inner { position: relative; padding-top: 90px; }
.viq-hero .mark img { height: clamp(44px, 6vw, 66px); }
.viq-hero .mark img { height: clamp(38px, 5vw, 56px); }
.viq-hero .by { margin: 16px 0 0; font-size: 13px; font-weight: 400; font-style: italic; color: var(--warm); }
.viq-hero .by b { display: block; font-size: 15px; font-style: normal; font-weight: 600; letter-spacing: 0.28em; text-transform: uppercase; color: #fff; margin-top: 8px; }

.teal { background: var(--teal); position: relative; overflow: hidden; }
.teal-card { max-width: 620px; margin: 0 auto; background: var(--ocean); border-radius: 20px; padding: clamp(30px, 4vw, 48px); text-align: center; box-shadow: 0 30px 70px rgba(15,40,70,0.28); }
.teal-card h2 { color: #fff; font-size: clamp(24px, 3.2vw, 34px); line-height: 1.15; margin: 0 0 16px; }
.teal-card p { color: var(--warm); font-weight: 300; font-size: 15.5px; line-height: 1.65; margin: 0; }

.viq-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 52px; }
.vstep { border: 1px solid rgba(122,168,255,0.4); border-radius: 14px; padding: 28px 24px; background: rgba(122,168,255,0.05); text-align: center; }
.vstep h3 { font-family: var(--serif); font-size: 22px; color: #fff; margin: 0 0 12px; }
.vstep p { font-weight: 300; font-size: 13.5px; line-height: 1.6; color: var(--warm); margin: 0; }
@media (max-width: 900px) { .viq-steps { grid-template-columns: repeat(2, 1fr); } }

.hud { position: relative; min-height: 62vh; display: grid; place-items: center; text-align: center; color: #fff; overflow: hidden; }
.hud .bg { position: absolute; inset: 0; background: url("/assets/viq-hud.jpg") center/cover no-repeat; }
.hud .bg::after { content: ""; position: absolute; inset: 0; background: rgba(10,16,30,0.4); }
.hud h2 { position: relative; font-size: clamp(26px, 3.6vw, 40px); line-height: 1.15; margin: 0; max-width: 16ch; text-shadow: 0 2px 24px rgba(0,0,0,0.4); }

.delivers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 52px; }
.dcard { background: var(--cream); border-radius: 16px; padding: 26px 22px; text-align: center; }
.dcard .ic { margin: 0 auto 16px; }
.dcard .ic svg { width: 34px; height: 34px; color: var(--orange); display: block; margin: 0 auto; }
.dcard h4 { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ocean); margin: 0 0 10px; }
.dcard p { font-weight: 300; font-size: 13px; line-height: 1.55; color: #55606c; margin: 0; }
@media (max-width: 900px) { .delivers { grid-template-columns: repeat(2, 1fr); } }

/* ── Founding Captains page ── */
.fc-hero { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.fc-hero .photo { background: url("/assets/sunset.jpg") center/cover no-repeat; min-height: 340px; }
.fc-hero .panelside { background: var(--ocean); color: var(--cream); display: flex; align-items: center; padding: clamp(96px, 9vw, 124px) clamp(30px, 5vw, 72px) clamp(48px, 6vw, 72px); }
.fc-hero h1 { color: #fff; font-size: clamp(30px, 3.8vw, 46px); line-height: 1.12; margin: 0 0 20px; }
.fc-hero .sub { font-weight: 300; font-size: 15.5px; line-height: 1.6; color: var(--warm); margin: 0 0 32px; max-width: 46ch; }
@media (max-width: 820px) { .fc-hero { grid-template-columns: 1fr; } }
.fc-form { display: grid; gap: 22px; max-width: 480px; }
.fc-note { font-size: 12px; line-height: 1.5; color: var(--warm); margin: -6px 0 0; }
.fc-note.ok { color: var(--orange); }
.fc-field label .opt { color: var(--disabled); font-weight: 400; letter-spacing: 0; text-transform: none; }
.fc-field.bad input, .fc-field.bad select { border-bottom-color: #ff7a7a; }
.fc-field { display: flex; flex-direction: column; gap: 8px; }
.fc-field label { font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--warm); }
.fc-field label .req { color: var(--orange); }
.fc-field input, .fc-field select { background: transparent; border: 0; border-bottom: 1px solid rgba(245,241,235,0.3); color: #fff; font-family: var(--sans); font-size: 15px; padding: 8px 0; outline: none; transition: border-color .2s ease; }
.fc-field select { color: var(--warm); }
.fc-field input:focus, .fc-field select:focus { border-bottom-color: var(--orange); }
.fc-field input::placeholder { color: var(--disabled); }
.fc-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.fc-form .btn { margin-top: 8px; justify-self: start; }

.benefits { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; margin-top: 56px; }
.bcard { background: var(--ocean); color: var(--cream); border-radius: 14px; padding: 30px 20px; text-align: center; }
.bcard .ic { color: var(--orange); width: 30px; height: 30px; margin: 0 auto 18px; }
.bcard h3 { font-family: var(--serif); font-size: 21px; line-height: 1.15; color: #fff; margin: 0; }
@media (max-width: 980px) { .benefits { grid-template-columns: repeat(2, 1fr); } }
.note-box { max-width: 760px; margin: 44px auto 0; border: 1px solid var(--warm); border-radius: 14px; padding: 24px 28px; text-align: center; }
.note-box p { margin: 0; font-weight: 300; font-size: 14.5px; line-height: 1.6; color: #55606c; }

/* ── Concierge panel ── */
.panel { position: fixed; z-index: 60; top: calc(var(--nav-h) + 12px); right: clamp(12px, 3vw, 28px); width: min(410px, calc(100vw - 24px)); height: min(660px, calc(100vh - var(--nav-h) - 30px)); display: flex; flex-direction: column; background: linear-gradient(180deg, #1e2645 0%, var(--ocean) 100%); border: 1px solid rgba(245,241,235,0.13); border-radius: 22px; overflow: hidden; box-shadow: 0 34px 90px rgba(0,0,0,0.55); transform-origin: top right; transform: translateY(-14px) scale(0.96); opacity: 0; pointer-events: none; transition: transform .48s cubic-bezier(0.16,1,0.3,1), opacity .3s ease; }
.panel.open { transform: none; opacity: 1; pointer-events: auto; }
.p-head { padding: 17px 19px; border-bottom: 1px solid rgba(245,241,235,0.08); color: var(--cream); }
.p-head-row { display: flex; align-items: center; justify-content: space-between; }
.p-title { display: flex; align-items: center; gap: 10px; }
.p-title h3 { margin: 0; font-family: var(--serif); font-size: 17px; }
.p-sub { font-size: 11px; color: var(--disabled); margin-top: 2px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 0 rgba(253,161,0,0.7); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(253,161,0,0.6);} 70% { box-shadow: 0 0 0 7px rgba(253,161,0,0);} 100% { box-shadow: 0 0 0 0 rgba(253,161,0,0);} }
.p-close { background: none; border: 0; color: var(--warm); font-size: 21px; cursor: pointer; line-height: 1; padding: 4px; border-radius: 8px; }
.p-close:hover { color: #fff; background: rgba(245,241,235,0.08); }
.demo-badge { display: none; font-size: 10px; color: var(--on-accent); background: var(--orange); border-radius: 999px; padding: 2px 8px; font-weight: 700; margin-left: 6px; }
.demo .demo-badge { display: inline-block; }
.progress { height: 4px; border-radius: 3px; background: rgba(245,241,235,0.1); margin-top: 14px; overflow: hidden; }
.progress > span { display: block; height: 100%; width: 8%; border-radius: 3px; background: var(--fill); transition: width .6s cubic-bezier(0.16,1,0.3,1); }
.p-body { flex: 1; overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 14px; }
.p-body::-webkit-scrollbar { width: 8px; }
.p-body::-webkit-scrollbar-thumb { background: rgba(245,241,235,0.14); border-radius: 8px; }
.msg { max-width: 88%; font-weight: 300; font-size: 14px; line-height: 1.55; animation: rise .38s cubic-bezier(0.16,1,0.3,1) both; }
@keyframes rise { from { opacity: 0; transform: translateY(8px);} to { opacity: 1; transform: none;} }
.msg.bot { align-self: flex-start; color: var(--cream); background: rgba(34,47,89,0.7); border: 1px solid rgba(245,241,235,0.07); padding: 12px 14px; border-radius: 4px 15px 15px 15px; }
.msg.user { align-self: flex-end; color: var(--on-accent); background: var(--cream); padding: 12px 14px; border-radius: 15px 4px 15px 15px; font-weight: 500; }
.typing { align-self: flex-start; display: flex; gap: 5px; padding: 14px; background: rgba(34,47,89,0.7); border-radius: 4px 15px 15px 15px; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--warm); opacity: .5; animation: blink 1.2s infinite; }
.typing i:nth-child(2){animation-delay:.2s} .typing i:nth-child(3){animation-delay:.4s}
@keyframes blink { 0%,60%,100%{opacity:.25;transform:none} 30%{opacity:1;transform:translateY(-3px)} }
.card { align-self: stretch; animation: rise .42s cubic-bezier(0.16,1,0.3,1) both; }
.c-tag { font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--orange); margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.src-badge { font-size: 10px; padding: 2px 8px; border-radius: 999px; background: rgba(51,69,175,0.22); color: #b9c8ff; text-transform: none; letter-spacing: 0.02em; }
.src-badge.web { background: rgba(253,161,0,0.18); color: #ffd489; }
.boat, .checkout, .access { background: rgba(34,47,89,0.6); border: 1px solid rgba(245,241,235,0.1); border-radius: 16px; padding: 16px; }
.boat h4 { font-family: var(--serif); margin: 0 0 12px; font-size: 19px; color: #fff; }
.spec { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; font-size: 13px; }
.spec .k { color: var(--disabled); } .spec .v { color: var(--cream); text-align: right; }
.spec .v.unset { color: var(--orange); font-style: italic; }
.note { margin-top: 10px; font-weight: 300; font-size: 12px; color: var(--warm); line-height: 1.4; }
.row { display: flex; gap: 8px; margin-top: 14px; }
.mini { flex: 1; text-align: center; cursor: pointer; padding: 11px 16px; border-radius: 999px; font-size: 14px; font-weight: 400; font-family: var(--serif); border: 1px solid rgba(245,241,235,0.2); background: rgba(245,241,235,0.05); color: var(--cream); transition: transform .16s ease, background .2s ease; }
.mini:hover { transform: translateY(-1px); background: rgba(245,241,235,0.12); }
.mini.primary { border: 0; color: var(--on-accent); background: var(--fill); }
.cplans { display: grid; gap: 12px; }
.cplan { position: relative; background: rgba(34,47,89,0.6); border: 1px solid rgba(245,241,235,0.1); border-radius: 16px; padding: 15px; }
.cplan.rec { border: 1.5px solid transparent; background: linear-gradient(rgba(30,38,69,0.95), rgba(30,38,69,0.95)) padding-box, var(--fill) border-box; }
.cplan .flag { position: absolute; top: -9px; right: 14px; font-size: 10px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--on-accent); background: var(--fill); padding: 3px 10px; border-radius: 999px; }
.cplan .nm { font-family: var(--serif); font-size: 18px; color: #fff; }
.cplan .pr { font-family: var(--serif); font-size: 24px; margin: 4px 0 2px; color: #fff; }
.cplan .an { font-size: 12px; color: var(--disabled); }
.cplan ul { list-style: none; margin: 10px 0 12px; padding: 0; display: grid; gap: 6px; }
.cplan li { font-weight: 300; font-size: 12px; color: var(--cream); padding-left: 18px; position: relative; line-height: 1.35; }
.cplan li::before { content: "✔"; position: absolute; left: 0; color: var(--orange); font-size: 10px; }
.checkout .co { display: flex; align-items: baseline; justify-content: space-between; margin: 4px 0 2px; }
.checkout .co .p { font-family: var(--serif); font-size: 22px; color: #fff; }
.fields { margin-top: 12px; display: grid; gap: 8px; }
.ff { height: 38px; border-radius: 9px; border: 1px solid rgba(245,241,235,0.14); background: rgba(23,28,47,0.6); display: flex; align-items: center; padding: 0 12px; color: var(--disabled); font-size: 13px; }
.secure { font-size: 11.5px; color: var(--disabled); margin-top: 8px; display: flex; align-items: center; gap: 7px; }
.secure svg { width: 14px; height: 14px; color: var(--orange); flex: none; }
.access { border-color: rgba(253,161,0,0.4); background: linear-gradient(180deg, rgba(253,161,0,0.1), rgba(34,47,89,0.4)); }
.access h4 { font-family: var(--serif); margin: 0 0 6px; font-size: 18px; color: #fff; }
.access .exp { font-size: 12px; color: var(--warm); }
.access .link { font-size: 12px; color: #b9c8ff; word-break: break-all; background: rgba(23,28,47,0.6); border-radius: 9px; padding: 9px 11px; margin: 10px 0; }
.p-foot { padding: 12px 14px 14px; border-top: 1px solid rgba(245,241,235,0.08); }
.composer { display: flex; gap: 8px; align-items: flex-end; }
.composer textarea { flex: 1; resize: none; max-height: 110px; min-height: 44px; background: rgba(23,28,47,0.7); border: 1px solid rgba(245,241,235,0.14); border-radius: 12px; color: var(--cream); font-family: var(--sans); font-size: 14px; padding: 12px 14px; line-height: 1.4; outline: none; transition: border-color .2s ease; }
.composer textarea:focus { border-color: rgba(253,161,0,0.5); }
.composer textarea::placeholder { color: var(--disabled); }
.send { width: 44px; height: 44px; flex: none; border: 0; border-radius: 12px; cursor: pointer; background: var(--fill); color: var(--on-accent); font-size: 18px; display: grid; place-items: center; transition: transform .16s ease; }
.send:hover { transform: translateY(-1px); }
.send:disabled { opacity: .5; cursor: default; transform: none; }

/* ═══════════════════ THE HELM, concierge dock ═══════════════════ */
body { padding-bottom: 104px; }
@property --helm-angle { syntax: '<angle>'; initial-value: 0deg; inherits: false; }

/* Siri-style edge illumination */
.helm-glow { position: fixed; inset: 0; z-index: 70; pointer-events: none; opacity: 0; transition: opacity .5s ease; }
.helm-glow::before { content: ""; position: absolute; inset: -12%; background: conic-gradient(from var(--helm-angle), var(--brand-sunset-orange), #DE6C85, #3345AF, #7F579D, var(--brand-sunset-orange)); filter: blur(38px); -webkit-mask: radial-gradient(115% 115% at 50% 50%, transparent 60%, #000 93%); mask: radial-gradient(115% 115% at 50% 50%, transparent 60%, #000 93%); animation: helmRotate 7s linear infinite; }
.helm-glow.on { opacity: .85; }
.helm-glow.speak { opacity: 1; }
.helm-glow.speak::before { animation-duration: 3.5s; filter: blur(34px) saturate(1.55); }
@keyframes helmRotate { to { --helm-angle: 360deg; } }

/* Section spotlight (agent navigation) */
.helm-spot { position: fixed; z-index: 60; pointer-events: none; border-radius: 18px; box-shadow: 0 0 0 2px var(--brand-sunset-orange-a45), inset 0 0 70px rgba(253,161,0,.16); opacity: 0; }
.helm-spot.on { animation: helmSpot 2.6s ease; }
@keyframes helmSpot { 0%{opacity:0} 14%{opacity:1} 68%{opacity:1} 100%{opacity:0} }

/* Sonar avatar */
.sonar { position: relative; width: 42px; height: 42px; border-radius: 50%; flex: none; display: grid; place-items: center; background: var(--chat-fill); }
.sonar svg,
.sonar img { width: 20px; height: 20px; color: var(--on-accent); position: relative; z-index: 2; object-fit: contain; }
.sonar .ring { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--orange); opacity: 0; animation: sonar 3s ease-out infinite; }
.sonar .ring.r2 { animation-delay: -1.5s; }
@keyframes sonar { 0%{transform:scale(1);opacity:.8} 100%{transform:scale(2.1);opacity:0} }
.sonar.sm { width: 30px; height: 30px; } .sonar.sm svg, .sonar.sm img { width: 15px; height: 15px; }

/* Dock */
.helm { position: fixed; left: 50%; transform: translateX(-50%); bottom: 14px; z-index: 90; width: min(760px, 100vw - 28px); font-family: var(--sans); }
.helm-bar { display: flex; align-items: center; gap: 12px; padding: 11px 12px; background: rgba(13,18,36,.82); backdrop-filter: blur(22px) saturate(1.3); -webkit-backdrop-filter: blur(22px) saturate(1.3); border: 1px solid rgba(255,255,255,.13); border-radius: 999px; box-shadow: 0 20px 60px rgba(0,0,0,.5); position: relative; z-index: 2; }
.helm.open .helm-bar { border-radius: 0 0 22px 22px; }
.helm-input { flex: 1; min-width: 0; background: none; border: 0; outline: none; color: var(--cream); font-size: 15px; }
.helm-input::placeholder { font-family: var(--serif); font-style: italic; color: rgba(245,241,235,.5); }
.helm-tele { display: flex; gap: 13px; }
@media (max-width: 700px){ .helm-tele { display: none; } }
.tp { display: inline-flex; align-items: center; gap: 5px; font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 9.5px; letter-spacing: .09em; text-transform: uppercase; color: rgba(245,241,235,.42); }
.tp i { width: 5px; height: 5px; border-radius: 50%; background: rgba(255,255,255,.22); }
.tp.live { color: var(--orange); } .tp.live i { background: var(--orange); box-shadow: 0 0 8px var(--orange); }
.tp.done { color: rgba(245,241,235,.8); } .tp.done i { background: var(--orange); box-shadow: 0 0 6px var(--orange); }
.helm-send { width: 40px; height: 40px; flex: none; border: 0; border-radius: 50%; cursor: pointer; background: var(--chat-fill); color: var(--on-accent); font-size: 17px; display: grid; place-items: center; transition: transform .16s ease; }
.helm-send:hover { transform: translateY(-1px); } .helm-send:disabled { opacity: .5; cursor: default; transform: none; }

/* Conversation surface */
.helm-surface { position: absolute; bottom: calc(100% - 1px); left: 0; right: 0; height: 0; overflow: hidden; opacity: 0; pointer-events: none; background: rgba(13,18,36,.9); backdrop-filter: blur(22px) saturate(1.3); -webkit-backdrop-filter: blur(22px) saturate(1.3); border: 1px solid rgba(255,255,255,.13); border-bottom: none; border-radius: 20px 20px 0 0; display: flex; flex-direction: column; box-shadow: 0 -10px 50px rgba(0,0,0,.4); transition: height .32s cubic-bezier(.2,.9,.3,1.05), opacity .25s ease; }
.helm.open .helm-surface { height: min(58vh, 540px); opacity: 1; pointer-events: auto; }
.helm.open.peek .helm-surface { height: 218px; }
.helm-crown { height: 2px; flex: none; background: var(--chat-fill); }
.helm-head { display: flex; align-items: center; gap: 10px; padding: 12px 14px 10px; flex: none; }
.helm-head-t { flex: 1; line-height: 1.2; }
.helm-head-t b { display: block; font-family: var(--serif); font-weight: 400; font-size: 15px; color: #fff; }
.helm-head-t .online { font-size: 11px; color: var(--disabled); display: inline-flex; align-items: center; gap: 5px; margin-top: 2px; }
.helm-head-t .online i { width: 6px; height: 6px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 6px var(--orange); }
.helm-collapse { background: none; border: 0; color: var(--warm); cursor: pointer; font-size: 15px; padding: 4px 8px; border-radius: 8px; }
.helm-collapse:hover { background: rgba(245,241,235,.08); color: #fff; }
.helm-prog { height: 3px; flex: none; background: rgba(245,241,235,.08); }
.helm-prog > span { display: block; height: 100%; width: 8%; background: linear-gradient(90deg,var(--brand-sunset-orange),#DE6C85,#3345AF); transition: width .6s cubic-bezier(.16,1,.3,1); }
.helm-msgs { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.helm-msgs::-webkit-scrollbar { width: 8px; } .helm-msgs::-webkit-scrollbar-thumb { background: rgba(245,241,235,.14); border-radius: 8px; }
.helm-chips { display: flex; gap: 8px; padding: 0 14px 10px; flex-wrap: wrap; flex: none; }
.chip { cursor: pointer; font-size: var(--fs-chat-lead); color: var(--cream); background: rgba(245,241,235,.06); border: 1px solid rgba(245,241,235,.14); border-radius: 999px; padding: 7px 13px; max-width: var(--chip-max-w); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; transition: background .2s ease; }
.chip:hover { background: rgba(245,241,235,.13); }
.helm-disc { font-size: 10.5px; color: var(--disabled); text-align: center; padding: 0 16px 12px; flex: none; }

.helm-msgs .msg { max-width: 84%; font-size: 14px; line-height: 1.5; animation: rise .3s ease both; }
.helm-msgs .msg.bot { align-self: flex-start; background: #1d2440; border: 1px solid #2c3660; color: var(--cream); padding: 11px 14px; border-radius: 14px 14px 14px 5px; }
.helm-msgs .msg.user { align-self: flex-end; background: var(--chat-fill); color: var(--on-accent); padding: 11px 14px; border-radius: 14px 14px 5px 14px; font-weight: 500; }
.helm-msgs .msg.sys { align-self: center; font-size: 12px; color: var(--warm); border: 1px dashed rgba(245,241,235,.22); border-radius: 10px; padding: 7px 12px; text-align: center; }
.helm-msgs .typing { align-self: flex-start; }
@media (prefers-reduced-motion: reduce) {
  .helm-glow::before { animation: none; } .helm-glow.on, .helm-glow.speak { opacity: .5; }
  .sonar .ring { animation: none; } .helm-spot.on { animation: none; opacity: 1; }
  .helm-surface { transition: opacity .2s ease; }
}

/* ═══════════ HELM, full-screen takeover (Siri-style) ═══════════ */
.helm-glow { z-index: 82; }
.helm-scrim { position: fixed; inset: 0; z-index: 80; opacity: 0; pointer-events: none; background: rgba(9,12,22,.5); backdrop-filter: blur(20px) saturate(.9) brightness(.62); -webkit-backdrop-filter: blur(20px) saturate(.9) brightness(.62); transition: opacity .55s ease; }
.helm-scrim.on { opacity: 1; pointer-events: auto; }

.helm.takeover { position: fixed; inset: 0; left: 0; right: 0; bottom: 0; width: auto; transform: none; display: flex; flex-direction: column; }
.helm.takeover .helm-surface { position: static; height: auto !important; flex: 1; opacity: 1; pointer-events: auto; background: transparent; border: none; box-shadow: none; border-radius: 0; overflow: hidden; }
.helm.takeover .helm-crown { display: none; }
.helm.takeover .helm-head { max-width: 720px; width: 100%; margin: 0 auto; padding: 22px 18px 6px; }
.helm.takeover .helm-head-t b { font-size: 16px; }
.helm.takeover .helm-collapse { font-size: 22px; }
.helm.takeover .helm-prog { max-width: 720px; width: 100%; margin: 0 auto; background: rgba(245,241,235,.12); }
.helm.takeover .helm-msgs { max-width: 680px; width: 100%; margin: 0 auto; justify-content: flex-end; gap: 18px; padding: 26px 22px; }
/* In takeover mode the stage (cards, boat panel, checkout) is the primary
   surface, guarantee it enough vertical room so a chatty bubble can't crop it. */
.helm.takeover .helm-stage { min-height: 380px; }
.helm.takeover .helm-chips { max-width: 680px; width: 100%; margin: 0 auto; }
.helm.takeover .helm-disc { display: none; }
.helm.takeover .helm-bar { width: min(760px, 100vw - 28px); margin: 0 auto 24px; background: rgba(13,18,36,.5); }

/* Floating, translucent conversation */
.helm.takeover .helm-msgs .msg { max-width: 100%; animation: floatIn .6s cubic-bezier(.2,.9,.3,1.05) both; }
.helm.takeover .helm-msgs .msg.bot { align-self: flex-start; max-width: 90%; font-family: var(--serif); font-size: 21px; line-height: 1.45; color: #fff; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.09); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); padding: 16px 20px; border-radius: 18px 18px 18px 6px; text-shadow: 0 1px 22px rgba(0,0,0,.45); }
.helm.takeover .helm-msgs .msg.user { align-self: flex-end; max-width: 78%; font-size: 15px; background: linear-gradient(90deg, rgba(253,161,0,.9), rgba(222,108,133,.9) 52%, rgba(51,69,175,.9)); color: var(--on-accent); }
.helm.takeover .helm-msgs .msg.sys { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.16); color: var(--cream); }
.helm.takeover .helm-msgs .card { animation: floatIn .6s cubic-bezier(.2,.9,.3,1.05) both; }
.helm.takeover .helm-msgs .boat, .helm.takeover .helm-msgs .checkout, .helm.takeover .helm-msgs .access, .helm.takeover .helm-msgs .cplan { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.12); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
@keyframes floatIn { from { opacity: 0; transform: translateY(22px) scale(.985); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .helm.takeover .helm-msgs .msg, .helm.takeover .helm-msgs .card { animation: none; } .helm-scrim { transition: none; } }

/* ═══════════ HELM v2, immersive stage (chat only on CTA) ═══════════ */
body { padding-bottom: 0; }
.helm { display: none; }
.helm.on { display: flex; position: fixed; inset: 0; flex-direction: column; z-index: 90; width: auto; transform: none; }

.helm-top { display: flex; align-items: center; gap: 12px; max-width: 900px; width: 100%; margin: 0 auto; padding: 18px 20px 4px; }
.helm-top-t { line-height: 1.15; }
.helm-top-t b { font-family: var(--serif); font-weight: 400; font-size: 16px; color: #fff; display: block; }
.helm-top-t .tstat { font-size: 11px; color: var(--disabled); }
.helm-top .helm-tele { margin-left: auto; display: flex; gap: 13px; }
@media (max-width: 640px){ .helm-top .helm-tele { display: none; } }
.helm-collapse { background: none; border: 0; color: var(--warm); font-size: 16px; cursor: pointer; padding: 6px 9px; border-radius: 8px; }
.helm-reset { background: none; border: 0; color: var(--warm); font-size: 17px; cursor: pointer; padding: 6px 9px; border-radius: 8px; opacity: .7; transition: opacity .18s ease, color .18s ease; }
.helm-reset:hover { opacity: 1; color: var(--orange); }
.helm-collapse:hover { color: #fff; background: rgba(245,241,235,.08); }
.helm-prog { max-width: 900px; width: 100%; margin: 8px auto 0; height: 3px; background: rgba(245,241,235,.1); border-radius: 3px; overflow: hidden; }
.helm-prog > span { display: block; height: 100%; width: 8%; background: linear-gradient(90deg,var(--brand-sunset-orange),#DE6C85,#3345AF); transition: width .6s cubic-bezier(.16,1,.3,1); }

.helm-stage { flex: 1; overflow-y: auto; display: flex; align-items: center; justify-content: center; padding: 22px 20px; }
.stagewrap { width: 100%; max-width: 860px; margin: auto; animation: floatIn .55s cubic-bezier(.2,.9,.3,1.05) both; }
.stage-h { text-align: center; font-family: var(--serif); font-size: var(--fs-stage-h); color: #fff; margin: 0 0 22px; text-shadow: 0 1px 24px rgba(0,0,0,.4); }
.stage-intro { text-align: center; }
.stage-intro .sonar.big { width: 78px; height: 78px; margin: 0 auto 24px; }
.stage-intro .sonar.big svg,
.stage-intro .sonar.big img { width: 40px; height: 40px; }
.stage-intro .stage-h { font-size: clamp(24px, 3.6vw, 32px); }
.stage-steps { display: inline-flex; align-items: center; gap: 12px; flex-wrap: wrap; justify-content: center; }
.stage-steps span { font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--warm); padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); }
.stage-steps i { width: 18px; height: 1px; background: linear-gradient(90deg,var(--brand-sunset-orange),#3345AF); }

/* Concierge stage plan-card triptych. All three cards share the same
   border weight so the visual grid reads as a set. The recommended card
   gets an INNER accent ring via inset shadow instead of a border-color
   swap; that keeps the outer geometry identical while adding emphasis.
   All CTAs sit at the same height at the bottom of the card (flex column
   with margin-top:auto), have the same min-height, and stretch full width. */
.scards { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4); align-items: stretch; }
.scard { position: relative; display: flex; flex-direction: column; background: var(--ocean); border: 1px solid rgba(245,241,235,.14); border-radius: var(--r-lg); padding: var(--space-5) var(--space-5); }
.scard.rec { background: var(--mariner); box-shadow: var(--elev-2), inset 0 0 0 1px rgba(253,161,0,.55); }
.scard .rflag { position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%); font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--on-accent); background: var(--orange); padding: 5px 14px; border-radius: var(--r-pill); white-space: nowrap; }
.scard .snm { font-family: var(--serif); font-size: 24px; color: #fff; }
.scard .stag { font-weight: 300; font-size: 12.5px; line-height: 1.4; color: var(--warm); margin: 6px 0 16px; min-height: 34px; }
.scard .samt { display: flex; align-items: baseline; gap: 6px; }
.scard .samt .big { font-family: var(--serif); font-size: 34px; color: #fff; }
.scard .samt .per { font-size: 11px; font-weight: 600; letter-spacing: .11em; text-transform: uppercase; color: var(--warm); }
.scard .scustom { font-family: var(--serif); font-size: 22px; color: #fff; }
.scard .san { font-size: 12.5px; color: var(--warm); margin-top: 4px; }
.scard ul { list-style: none; margin: 18px 0; padding: 0; display: grid; gap: 8px; }
.scard li { font-size: 12.5px; color: var(--cream); padding-left: 22px; position: relative; line-height: 1.4; }
.scard li::before { content: "✔"; position: absolute; left: 0; color: var(--orange); font-size: 11px; }
.scard li.head { font-weight: 600; color: #fff; }
.scard li.head::before { content: "✧"; }
/* CTA: pinned to bottom, full width, uniform height. `flex:0 0 auto` cancels
   the `.mini { flex:1 }` inherited from row-flex contexts so the CTA doesn't
   stretch vertically inside the column. */
.scard .mini { width: 100%; margin-top: auto; flex: 0 0 auto; min-height: var(--btn-h-md); display: inline-flex; align-items: center; justify-content: center; }
/* Waitlist / secondary CTA: visible ghost so it reads as a real button next
   to the primary orange fills, not as a faded placeholder. Same height and
   width as the primary. */
.scard .mini:not(.primary) { background: rgba(245,241,235,.07); border-color: rgba(245,241,235,.32); color: var(--cream); }
.scard .mini:not(.primary):hover { background: rgba(253,161,0,.12); border-color: rgba(253,161,0,.55); color: var(--orange); }
@media (max-width: 760px){ .scards { grid-template-columns: 1fr; max-width: 380px; margin: 0 auto; } }

.stage-boat, .stage-checkout, .stage-access { max-width: 460px; margin: 0 auto; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-radius: 18px; padding: 22px; }
.stage-checkout .co { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 2px; }
.stage-checkout .co > span:first-child { color: var(--cream); font-size: 14.5px; }
.stage-checkout .co .p { font-family: var(--serif); font-size: 26px; color: #fff; }
.stage-checkout .co.due { margin-top: 10px; padding-top: 10px; border-top: 1px solid rgba(245,241,235,.12); }
.stage-checkout .co.due > span:first-child { color: var(--warm); }
.stage-checkout .co.due .p { font-size: 22px; }
.stage-checkout .an { font-size: 13px; color: var(--warm); margin-bottom: 4px; }
.stage-checkout .fleet-hint { margin: 10px 0 6px; padding: 10px 12px; background: rgba(253,161,0,.08); border: 1px solid rgba(253,161,0,.3); border-radius: 8px; font-size: 12.5px; color: rgba(245,241,235,.85); line-height: 1.45; }
.mini.wide { width: 100%; margin-top: 8px; }
.section-clone .split { grid-template-columns: 1fr; gap: 24px; }
.section-clone .reveal { opacity: 1 !important; transform: none !important; }

/* Bubble is capped so a long assistant reply cannot dominate the vertical space
   and squeeze the plan/boat cards rendered in the stage above. Any overflow
   scrolls inside the bubble instead of pushing the stage off-screen. */
.helm-say { max-width: var(--chat-max-w); width: 100%; margin: 0 auto; padding: 4px 22px 8px; text-align: center; flex: none; }
.say-text { font-family: var(--serif); font-size: var(--fs-chat-body); line-height: 1.5; color: #fff; display: inline-block; padding: 12px 20px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-radius: 16px; opacity: 0; box-shadow: 0 8px 34px rgba(0,0,0,.35); max-height: 22vh; overflow-y: auto; text-align: left; max-width: 100%; box-sizing: border-box; }
.say-text.in { animation: floatIn .5s cubic-bezier(.2,.9,.3,1.05) both; }
.say-text .typing { display: inline-flex; gap: 7px; align-items: center; padding: 2px 0; }
.say-text .typing i { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); opacity: .5; animation: sayblink 1.15s infinite; }
.say-text .typing i:nth-child(2) { animation-delay: .18s; }
.say-text .typing i:nth-child(3) { animation-delay: .36s; }
@keyframes sayblink { 0%,60%,100% { opacity: .3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }
.say-chips { margin-top: 12px; display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.helm.on .helm-bar { max-width: 760px; width: min(760px, 100vw - 28px); margin: 0 auto 22px; border-radius: 999px; background: rgba(13,18,36,.55); }

/* ── Hero: holographic guided-onboarding elements ── */
.hero-badge { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--cream); background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); padding: 8px 16px; border-radius: 999px; margin-bottom: 26px; }
.hero-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 0 rgba(253,161,0,.7); animation: pulse 2s infinite; }
.hero-sub { font-family: var(--sans); font-weight: 300; font-size: 17px; line-height: 1.55; color: var(--warm); max-width: 46ch; margin: 0 auto 32px; }
.cta-row { display: inline-flex; gap: 14px; align-items: center; flex-wrap: wrap; justify-content: center; }

/* Hero engineer widget: the working "ask a chief engineer anything" box
   above the fold. Submits to /try?q=... so the answer arrives with zero
   friction. Concierge signup path collapses to a secondary link below. */
.hero-ask { display: flex; gap: 10px; max-width: 640px; margin: 0 auto 18px; padding: 8px; background: rgba(23,28,47,.55); border: 1px solid rgba(245,241,235,.18); border-radius: 999px; backdrop-filter: blur(16px) saturate(1.2); -webkit-backdrop-filter: blur(16px) saturate(1.2); box-shadow: 0 18px 50px rgba(0,0,0,.35); }
.hero-ask-input { flex: 1; min-width: 0; background: transparent; border: 0; outline: none; color: var(--cream); font-family: var(--sans); font-size: 16px; padding: 10px 14px; }
.hero-ask-input::placeholder { color: rgba(245,241,235,.5); font-style: italic; }
.hero-ask-btn { flex: none; background: linear-gradient(90deg,var(--brand-sunset-orange),#DE6C85 52%,#3345AF); color: #fff; border: 0; padding: 10px 22px; border-radius: 999px; font-family: var(--sans); font-size: 14px; font-weight: 600; letter-spacing: .04em; cursor: pointer; transition: transform .12s ease, box-shadow .18s ease; }
.hero-ask-btn:hover { transform: translateY(-1px); box-shadow: 0 12px 28px rgba(253,161,0,.35); }

.hero-ask-taxonomy { font-size: 12px; color: rgba(245,241,235,.55); letter-spacing: .12em; text-transform: uppercase; margin: 0 auto 24px; }
.hero-starters { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; max-width: 780px; margin: 0 auto 30px; }
.hero-starter { background: rgba(245,241,235,.06); border: 1px solid rgba(245,241,235,.16); color: var(--cream); font-family: var(--sans); font-size: 13px; font-weight: 500; padding: 8px 15px; border-radius: 999px; cursor: pointer; transition: background .18s ease, border-color .18s ease, color .18s ease; }
.hero-starter:hover { background: rgba(253,161,0,.12); border-color: rgba(253,161,0,.5); color: #fff; }

.hero-secondary { display: inline-flex; align-items: center; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 4px; }
.hero-onboard { background: transparent; color: var(--cream); font-family: var(--sans); font-size: 14px; font-weight: 600; letter-spacing: .04em; border: 1px solid rgba(245,241,235,.28); padding: 10px 22px; border-radius: 999px; cursor: pointer; transition: background .18s ease, border-color .18s ease; }
.hero-onboard:hover { background: rgba(245,241,235,.08); border-color: var(--cream); }
.hero-demo { color: rgba(245,241,235,.85); font-family: var(--sans); font-size: 13px; font-weight: 600; letter-spacing: .02em; padding: 10px 4px; text-decoration: none; border-bottom: 1px solid transparent; transition: border-color .18s ease, color .18s ease; }
.hero-demo:hover { color: var(--cream); border-bottom-color: rgba(245,241,235,.6); }
.hero-taxonomy { font-size: 12.5px; color: rgba(245,241,235,.6); font-style: italic; width: 100%; text-align: center; margin-top: 2px; }

@media (max-width: 900px) {
  .hero-ask { padding: 6px; }
  .hero-ask-btn { padding: 10px 18px; font-size: 13px; }
  .hero-starters { gap: 7px; }
  .hero-starter { font-size: 12.5px; padding: 6px 12px; }
  .hero-secondary { flex-direction: column; gap: 8px; }
  .hero-taxonomy { font-size: 12px; text-align: center; }
}
.btn-ghost { background: rgba(255,255,255,.09); color: var(--cream); border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn-ghost:hover { background: rgba(255,255,255,.16); transform: translateY(-2px); }
.holo-steps { margin-top: 42px; display: inline-flex; align-items: center; gap: 14px; flex-wrap: wrap; justify-content: center; }
.holo-steps span { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: rgba(245,241,235,.72); }
.holo-steps i { width: 24px; height: 1px; background: linear-gradient(90deg,var(--brand-sunset-orange),#3345AF); }
.holo { position: absolute; z-index: 3; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-radius: 14px; padding: 12px 16px; box-shadow: 0 14px 44px rgba(0,0,0,.3), inset 0 0 30px rgba(51,69,175,.08); animation: floaty 6s ease-in-out infinite; }
.holo .hl { font-size: 10px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--orange); }
.holo .hm { font-family: var(--serif); font-size: 15px; color: #fff; margin-top: 3px; white-space: nowrap; }
.holo-1 { top: 17%; left: 5%; animation-delay: -1s; }
.holo-2 { top: 24%; right: 6%; animation-delay: -3s; }
.holo-3 { bottom: 20%; right: 13%; animation-delay: -2.2s; }
@keyframes floaty { 0%,100%{ transform: translateY(0) } 50%{ transform: translateY(-13px) } }
@media (max-width: 900px){ .holo { display: none; } }
@media (prefers-reduced-motion: reduce){ .holo { animation: none; } }

/* VesselIQ explainer (stage) */
.viq-explain { text-align: center; max-width: 660px; margin: 0 auto; }
.viq-explain .mark { display: inline-block; margin-bottom: 20px; }
.viq-explain .mark img { height: 34px; width: auto; display: block; }
.viq-explain > p { font-family: var(--sans); font-weight: 300; font-size: 15px; line-height: 1.65; color: var(--warm); margin: 0 auto 24px; max-width: 54ch; }
.viq-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.viq-4 > div { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: 12px; padding: 16px 12px; text-align: left; }
.viq-4 b { display: block; font-family: var(--serif); font-weight: 400; font-size: 16px; color: #fff; margin-bottom: 6px; }
.viq-4 span { font-size: 11.5px; line-height: 1.45; color: var(--warm); }
@media (max-width: 700px){ .viq-4 { grid-template-columns: repeat(2, 1fr); } }

/* ═══════════ Brand elevation of the concierge ═══════════ */
/* Deep Ocean-Depths environment instead of a plain blurred page */
.helm-scrim { background: radial-gradient(130% 100% at 50% -10%, rgba(34,47,89,.55), rgba(9,12,22,.78)); backdrop-filter: blur(24px) saturate(.85) brightness(.5); -webkit-backdrop-filter: blur(24px) saturate(.85) brightness(.5); }
.helm-top-t .tstat { font-style: italic; }
.helm-top .tp { color: rgba(245,241,235,.42); }

/* Concierge voice, an elegant serif line, warm glass. Font size + max
   width use shared tokens so the bubble reads well on 11" laptops (where
   it used to render at 21px and feel like a slide deck). */
.say-text { font-family: var(--serif); font-style: italic; font-size: var(--fs-chat-body); line-height: 1.5; color: var(--cream); background: linear-gradient(180deg, rgba(34,47,89,.5), rgba(23,28,47,.55)); border: 1px solid rgba(245,241,235,.14); border-radius: 18px; padding: 14px 22px; box-shadow: 0 12px 44px rgba(0,0,0,.42), inset 0 1px 0 rgba(245,241,235,.06); max-width: var(--bubble-max-w); }

/* Headings, upright Georgia, cream (italic Georgia is reserved for the concierge voice) */
.stage-h { color: var(--cream); font-style: normal; }

/* Warm navy glass cards, cream type, hairline borders */
.stage-boat, .stage-checkout, .stage-access, .viq-4 > div, .stage-steps span {
  background: linear-gradient(180deg, rgba(34,47,89,.46), rgba(23,28,47,.5)); border-color: rgba(245,241,235,.12);
  box-shadow: 0 16px 46px rgba(0,0,0,.3);
}
.stage-boat h4, .stage-access h4, .viq-4 b, .viq-explain > p { color: var(--cream); }

/* Sunset Orange as THE action accent (reserve the tri-gradient for the hero + sonar) */
.mini.primary { background: var(--orange); color: var(--ocean); font-weight: 600; box-shadow: 0 8px 22px rgba(253,161,0,.26); }
.mini.primary:hover { background: #ffb52e; transform: translateY(-1px); }
.mini { border-color: rgba(245,241,235,.18); color: var(--cream); }
.mini.primary[href], a.mini.primary { text-decoration: none; }

/* Chips, refined, gold hover */
.chip { background: rgba(245,241,235,.05); border-color: rgba(245,241,235,.16); color: var(--cream); font-size: 12.5px; }
.chip:hover { background: rgba(253,161,0,.12); border-color: rgba(253,161,0,.45); color: #fff; }

/* Input bar, warm glass, serif italic placeholder */
.helm.on .helm-bar { background: linear-gradient(180deg, rgba(34,47,89,.5), rgba(13,18,36,.62)); border-color: rgba(245,241,235,.14); }
.helm-input { color: var(--cream); }
.helm-input::placeholder { font-family: var(--serif); font-style: italic; color: rgba(245,241,235,.45); }

/* Section background video (progressive: poster PNG until the clip loads) */
.bgvid { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.bg::after { z-index: 2; }

/* Keep section content above the bg video + overlay */
.hero .inner, .viq .inner, .viq-hero .inner, .hud h2 { z-index: 3; }

/* ═══════════ 11-13" laptop optimization (MacBook Air 11, 13") ═══════════
   Previously the hero + concierge used clamps with 6vw scaling that only
   started shrinking below phone widths. On a MacBook 11" (1366x768) the
   headline was reading at ~50px and the concierge chip row wrapped ugly.
   Two things go wrong at this size: type is oversized, and the nav wraps. */
@media (max-width: 1200px) {
  .hero .inner { padding: 90px 20px 60px; }
  .hero h1 { font-size: clamp(30px, 4.6vw, 46px); }
  .hero-sub { font-size: 15.5px; }
  .btn { font-size: 15px; padding: 11px 22px; }
  .sec-head, .split h2, .viq h2, .valhead h2 { font-size: clamp(24px, 3.2vw, 34px); }
  .lead { font-size: 15px; }
  .wrap { padding: 0 clamp(18px, 4vw, 40px); }
  .nav-links { gap: 22px; }
  .nav-links a { font-size: 11.5px; letter-spacing: .1em; }
  .helm-say { padding: 4px 18px 6px; }
  .helm-stage { padding: 18px 18px; min-height: 340px; }
  .stage-intro .sonar.big { width: 64px; height: 64px; margin-bottom: 18px; }
  .stage-intro .sonar.big svg,
  .stage-intro .sonar.big img { width: 34px; height: 34px; }
  .viq-4 b { font-size: 15px; }
  .viq-4 span { font-size: 11px; }
}

/* ═══════════ Mobile optimization ═══════════ */
@media (max-width: 560px) {
  /* Hero, smaller headline, stacked full-width CTAs (no cramped side-by-side) */
  .hero { min-height: 88vh; }
  .hero .inner { padding: 104px 18px 72px; }
  .hero h1 { font-size: clamp(30px, 8.4vw, 40px); margin-bottom: 22px; }
  .hero-sub { font-size: 15.5px; margin-bottom: 28px; }
  .hero-badge { margin-bottom: 20px; font-size: 11px; }
  .cta-row { display: flex; flex-direction: column; width: 100%; max-width: 340px; margin: 0 auto; gap: 12px; }
  .cta-row .btn { width: 100%; justify-content: center; }
  .btn { font-size: 16px; padding: 13px 24px; }

  /* Headings + section rhythm */
  .sec-head, .split h2, .viq h2, .valhead h2, .fc-hero h1, .teal-card h2 { font-size: clamp(24px, 7.4vw, 34px); }
  .val-row { gap: 24px 14px; }
  .val .lbl { font-size: 11px; }
  .steps, .viq-steps, .delivers, .benefits { gap: 14px; }

  /* Pricing card breathing room */
  .pcard { padding: 28px 22px; }

  /* The Helm, comfortable on a phone */
  .helm-top { padding: 14px 16px 4px; }
  .helm-prog { margin-top: 6px; }
  .helm-stage { padding: 14px 12px; }
  .stage-h { font-size: 20px; margin-bottom: 16px; }
  .stage-intro .sonar.big { width: 64px; height: 64px; margin-bottom: 18px; }
  .scard { padding: 20px 18px; }
  .scard .snm { font-size: 22px; }
  .scard .samt .big { font-size: 30px; }
  .stage-boat, .stage-checkout, .stage-access { padding: 18px; }
  .say-text { font-size: 15.5px; padding: 12px 16px; line-height: 1.45; }
  .helm-say { padding: 4px 14px 6px; }
  .say-chips { gap: 7px; }
  .chip { font-size: 12px; padding: 8px 12px; }
  .helm.on .helm-bar { width: min(760px, 100vw - 20px); margin-bottom: 12px; padding: 9px 10px; }
  .helm-input { font-size: 16px; } /* 16px avoids iOS input zoom */
  .stage-steps span { font-size: 10.5px; padding: 7px 11px; }
}
@media (max-width: 480px) {
  .fc-row { grid-template-columns: 1fr; }
  .fc-hero .photo { min-height: 230px; }
  .fc-hero .panelside { padding: 40px 24px 48px; }
  .foot { gap: 26px; }
}
@media (max-width: 380px) {
  .val-row { grid-template-columns: repeat(2, 1fr); }
  .cta-row { max-width: 100%; }
}

/* ═══════════════════════════════════════════════════════════════════════
 * Spec 0150 · Landing + pricing mobile breakpoints
 * ═══════════════════════════════════════════════════════════════════════
 * Owner iPhone screenshots 2026-08-14 flagged hero + plan grid overflow
 * on public surfaces. Additive; the existing 560/480/380 breakpoints
 * above still apply. These sit at the 640/375 bands the spec calls out.
 * ═══════════════════════════════════════════════════════════════════════ */
@media (max-width: 640px) {
  /* Hero ask row was already max-width 640px; on 375 the button + input
   * combo can push past the viewport when the button label wraps.
   * Stack the button below the input at <=640 so both stay full-width
   * and there is no horizontal scroll. */
  .hero-ask {
    flex-direction: column;
    padding: 12px;
    border-radius: 22px;
    gap: 8px;
  }
  .hero-ask-input {
    width: 100%;
    padding: 12px 14px;
  }
  .hero-ask-btn {
    width: 100%;
    justify-content: center;
    min-height: 44px;
  }
  .hero-starters {
    gap: 6px;
    margin-bottom: 22px;
  }
  .hero-starter {
    font-size: 12px;
    padding: 8px 12px;
    min-height: 40px;
  }
  /* Landing plan grid stacks 1-col already at 900 but pcards can exceed
   * the viewport when their .pnote or .ribbon text is long. Constrain. */
  .price-grid .pcard {
    max-width: 100%;
    box-sizing: border-box;
  }
  /* Pricing hero + cards: tighter padding to match the mobile grid. */
  .pricing-hero {
    padding-left: 18px;
    padding-right: 18px;
  }
  /* Footer at 375 wraps into two loose lines; give it breathing room. */
  .foot {
    gap: 24px;
  }
}
@media (max-width: 400px) {
  /* At 375 the badge + hero copy can crowd. Nudge headline down and
   * clamp the sub width so the paragraph reflows before the viewport. */
  .hero .inner {
    padding: 100px 16px 60px;
  }
  .hero h1 {
    font-size: clamp(26px, 8vw, 34px);
    margin-bottom: 20px;
  }
  .hero-sub {
    font-size: 14.5px;
    margin-bottom: 22px;
  }
  .hero-badge {
    font-size: 10.5px;
    padding: 5px 10px;
  }
  /* Nav login pill on marketing pages: contain within the mobile drawer
   * row height and full-width so the tap target reads as a real button. */
  .nav.open .nav-links #navLogin {
    margin: 6px clamp(20px, 5vw, 60px);
    display: inline-flex;
    justify-content: center;
    padding: 10px 14px;
  }
}

/* Offer terms next to the control that starts a paid auto-renewing trial. Body size
   on purpose: "clear and conspicuous" means legible, not fine print. Required by the
   FTC Negative Option Rule, ROSCA, and California's ADRA. */
.terms { margin-top: 14px; padding-top: 12px; border-top: 1px solid rgba(245,241,235,.12); }
.terms p { font-size: 13px; line-height: 1.5; color: var(--cream); margin: 0 0 8px; }
.terms p.fine { font-size: 12px; color: var(--disabled); margin-bottom: 0; }
.terms a { color: var(--orange); text-decoration: underline; text-underline-offset: 2px; }
/* Express consent to auto-renewal. Never pre-checked, never bundled with other terms. */
.consent { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start; margin-top: 14px; font-size: 12.5px; line-height: 1.5; color: var(--cream); cursor: pointer; }
.consent input { width: 17px; height: 17px; margin: 1px 0 0; accent-color: var(--orange); flex: none; cursor: pointer; }
.consent input:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
.is-disabled { opacity: .45; cursor: not-allowed; }

/* Notice at collection, under the chat input on every turn rather than once in a
   greeting that scrolls away. Doubles as the AI disclosure: someone has to be able to
   tell they are talking to a machine at the moment they decide what to type. */
.helm-notice { max-width: 760px; width: min(760px, 100vw - 28px); margin: -8px auto 14px; padding: 0 18px; text-align: center; font-size: 11.5px; line-height: 1.5; color: var(--disabled); }
.helm-notice a { color: var(--warm); text-decoration: underline; text-underline-offset: 2px; }
.helm-notice a:hover, .helm-notice a:focus-visible { color: var(--orange); }

/* Issue 1224. No header label ever wraps.
   Below 1200px the inline links give way to the hamburger (#navToggle opens
   #mainNav) on every page that uses .nav, including the home page, whose inline
   .ymh-wrapper rules only collapse at 900px. At 1200px and above every label
   is nowrap on one line, with gap and tracking tightened up to 1359px so the
   row fits. Selectors are prefixed with html so they outrank the home page's
   inline .ymh-wrapper rules and the header is the same on every page. */
html .nav .nav-links { flex: none; }
html .nav .logo { flex: none; }
html .nav .nav-links a, html .nav .nav-cta, html .nav .nav-signin { white-space: nowrap; }
@media (min-width: 1200px) and (max-width: 1359px) {
  html .nav .nav-links { gap: 22px; }
  html .nav .nav-links a, html .nav .nav-cta { font-size: 12px; letter-spacing: .1em; }
  html .nav .nav-signin { margin-left: 18px; padding: 0 14px; font-size: 12px; letter-spacing: .1em; }
}
@media (max-width: 1199.98px) {
  html .nav .nav-toggle { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; padding: 11px; background: none; border: 0; cursor: pointer; }
  html .nav .nav-toggle span { height: 2px; width: 100%; background: var(--cream); border-radius: 2px; transition: transform .28s ease, opacity .2s ease; }
  html .nav.open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  html .nav.open .nav-toggle span:nth-child(2) { opacity: 0; }
  html .nav.open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  html .nav .nav-links { position: fixed; top: var(--nav-h); left: 0; right: 0; margin-left: 0; flex-direction: column; align-items: stretch; gap: 0; background: rgba(23,28,47,.98); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-top: 1px solid rgba(245,241,235,.08); border-bottom: 1px solid rgba(245,241,235,.1); padding: 6px 0; transform: translateY(-14px); opacity: 0; pointer-events: none; transition: opacity .26s ease, transform .26s ease; }
  html .nav.open .nav-links { opacity: 1; transform: none; pointer-events: auto; }
  html .nav .nav-links a { display: block; padding: 15px clamp(20px, 5vw, 60px); font-size: 13px; letter-spacing: .12em; }
  html .nav .nav-links a + a { border-top: 1px solid rgba(245,241,235,.06); }
  html .nav .nav-signin { margin-left: auto; margin-right: 6px; min-height: 40px; padding: 0 14px; font-size: 12px; letter-spacing: .1em; }
}
@media (max-width: 360px) {
  html .nav .nav-signin { padding: 0 12px; font-size: 11px; letter-spacing: .08em; margin-right: 2px; }
}

/* Issue 1224. The header rules the home page used to carry inline under
   .ymh-wrapper, moved here so / and /concierge render the header from one
   source. The home page's scroll script drives --nav-opacity and --nav-blur;
   a page with no hero (the Concierge) sets only a solid background-color. */
:root { --ocean-rgb: 23, 28, 47; --nav-opacity: 0; --nav-blur: 0px; }
.ymh-wrapper * { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
.ymh-wrapper a { color: inherit; text-decoration: none; }
.ymh-wrapper img { max-width: 100%; height: auto; display: block; }
.ymh-wrapper .nav { position: fixed; top: 0; left: 0; right: 0; height: var(--nav-h); z-index: 50; display: flex; align-items: center; justify-content: space-between; padding: 0 clamp(20px, 5vw, 60px); background-color: rgba(var(--ocean-rgb), var(--nav-opacity)); backdrop-filter: blur(var(--nav-blur)); -webkit-backdrop-filter: blur(var(--nav-blur)); border: none !important; outline: none !important; opacity: 0; transform: translateY(-100%); pointer-events: none; transition: opacity .5s cubic-bezier(0.16, 1, 0.3, 1), transform .5s cubic-bezier(0.16, 1, 0.3, 1); }
.ymh-wrapper .nav.is-visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.ymh-wrapper .logo img { height: 34px; width: auto; display: block; }
.ymh-wrapper .nav-links { display: flex; align-items: center; gap: 34px; }
.ymh-wrapper .nav-links a { font-size: 12.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(245,241,235,0.82); transition: color .2s ease; }
.ymh-wrapper .nav-links a:hover { color: #fff; }
.ymh-wrapper .nav-links a.active { color: var(--orange); }
.ymh-wrapper .nav-toggle { display: none; }
