
/* ═══════════════════════════════════════════════════════════════════
   StayZelo — guest communication platform for hotels and resorts
   "Modern Luxury Hospitality" system: midnight-slate primary, champagne
   gold accent, warm off-white ground, Plus Jakarta Sans throughout.

   The stylesheet for the ten pages still on the original shell. The one
   type family, the type ramp (--t-*), the weight roles (--w-*) and every
   motion primitive come from assets/base.css, which loads first and is
   shared with the six Stitch pages — so the two systems cannot drift
   apart typographically. What is here is this shell's own components.
   ═══════════════════════════════════════════════════════════════════ */

/* ── Tokens: light is the base, defined on bare :root so the un-stamped
      "system" state always resolves. ─────────────────────────────── */
:root {
  --canvas:       #F8FAFC;
  --surface:      #FFFFFF;
  --surface-alt:  #F4F3ED;
  --ink:          #191C1E;
  --ink-muted:    #45464D;
  --outline:      #E2E8F0;

  --accent:       #0F172A;
  --accent-hover: #1E293B;
  --accent-ink:   #FFFFFF;

  /* Gold three ways: the mid tone for CTAs and rules, a darkened tone for
     text/hover contrast, a bright tone for badge halos and borders. */
  --gold:         #C28235;
  --gold-text:    #9A6320;
  --gold-light:   #E2B15C;
  --border-gold:  rgba(226,177,92,.4);

  /* The midnight-slate bands that carry the hero, the steps and the
     closing CTA. */
  --band:         #0F172A;
  --band-deep:    #0A0F1D;
  --band-ink:     #F8FAFC;
  --band-muted:   #94A3B8;
  --band-line:    rgba(255,255,255,.14);
  --band-card:    rgba(255,255,255,.05);

  --shadow:       0 4px 20px -2px rgba(15,23,42,.06), 0 2px 6px -1px rgba(15,23,42,.03);
  --shadow-lift:  0 20px 35px -8px rgba(15,23,42,.12), 0 8px 16px -4px rgba(15,23,42,.04);

  /* The single family, from base.css. Kept under the old name so the
     component rules below need no rewriting. */
  --sans: var(--ff);

  --container: 1240px;
  --radius: 16px;
  --radius-sm: 8px;

  /* This page commits to one look. Pinning color-scheme keeps the browser's
     own chrome — scrollbars especially — light even when the OS is dark, so
     nothing dark frames a light page. */
  color-scheme: light;
}

/* ── Base ─────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
/* html { scroll-behavior } and the reduced-motion contract are in base.css. */

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;      /* 17px — the reading size for these pages */
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Headings ride the shared ramp. Between the mobile and desktop steps they
   interpolate, so a heading is never stranded at an in-between size on a
   tablet; the clamp endpoints are the ramp's own values. */
h1, h2, h3 {
  font-family: var(--sans);
  text-wrap: balance;
  margin: 0;
}

h1 {
  font-size: clamp(var(--t-display-m), 5.6vw, var(--t-display));
  line-height: 1.08;
  letter-spacing: var(--t-display-ls);
  font-weight: var(--w-display);
}
h2 {
  font-size: clamp(var(--t-h2-m), 4.2vw, var(--t-h2));
  line-height: 1.16;
  letter-spacing: var(--t-h2-ls);
  font-weight: var(--w-heading);
}
h3 {
  font-size: var(--t-h4);
  line-height: var(--t-h4-lh);
  letter-spacing: var(--t-h4-ls);
  font-weight: var(--w-subhead);
}

p { margin: 0; }
a { color: inherit; }

:focus-visible {
  outline: 2.5px solid var(--gold);
  outline-offset: 3px;
  border-radius: 3px;
}

.skip {
  position: absolute; left: -9999px;
  background: var(--accent); color: var(--accent-ink);
  padding: 12px 20px; z-index: 100; text-decoration: none;
  border-radius: 0 0 var(--radius) 0;
}
.skip:focus { left: 0; top: 0; }

.wrap {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

/* Eyebrow: the small uppercase label above each section heading. */
.eyebrow {
  display: flex; align-items: center; gap: 10px;
  font-size: var(--t-eyebrow); line-height: var(--t-eyebrow-lh);
  font-weight: var(--w-heading);
  letter-spacing: var(--t-eyebrow-ls); text-transform: uppercase;
  color: var(--gold-text);
  margin: 0 0 18px;
}
.eyebrow::before {
  content: ""; width: 26px; height: 2px;
  background: var(--gold); flex: none; border-radius: 2px;
}
.band .eyebrow { color: var(--gold); }

.lede {
  font-size: clamp(1rem, 1.6vw, var(--t-body-lg));
  line-height: 1.65;
  color: var(--ink-muted);
  max-width: 62ch;
  margin-top: 20px;
}
.band .lede { color: var(--band-muted); }

/* ── Sections ─────────────────────────────────────────────────────── */
section {
  padding-block: clamp(50px, 9vw, 118px);
  /* Clears the sticky nav so an anchored section doesn't land underneath it. */
  scroll-margin-top: 84px;
}

.band {
  background:
    radial-gradient(120% 100% at 15% 0%, var(--band) 0%, var(--band-deep) 100%);
  color: var(--band-ink);
}

.section-head { max-width: 62ch; margin-bottom: clamp(30px, 5vw, 52px); }

/* ── Buttons ──────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px 26px;
  border-radius: var(--radius-sm);
  font-family: var(--sans);
  font-size: var(--t-button); line-height: var(--t-button-lh);
  letter-spacing: var(--t-button-ls); font-weight: var(--w-medium);
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background-color var(--dur) var(--ease-out),
              border-color var(--dur) var(--ease-out),
              color var(--dur) var(--ease-out),
              box-shadow var(--dur) var(--ease-out),
              transform var(--dur-fast) var(--ease-out);
}
.btn:hover { transform: translateY(-1px); }
/* Settles back under the finger the moment it is pressed. */
.btn:active { transform: translateY(0); }

/* Gold is the one primary-CTA color everywhere — on a light section or
   on the deep slate band alike, it carries enough contrast on its own. */
.btn-primary { background: var(--gold); color: var(--accent-ink); }
.btn-primary:hover { background: var(--gold-text); }

.btn-ghost { border-color: var(--outline); color: var(--ink); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

.band .btn-ghost { border-color: var(--band-line); color: var(--band-ink); }
.band .btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

/* ── Nav ──────────────────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 50;
  transition: box-shadow var(--dur-reveal) var(--ease-out);
  background: color-mix(in srgb, var(--canvas) 88%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--outline);
}
.nav-inner {
  display: flex; align-items: center; gap: 26px;
  height: 68px;
}
.brand {
  display: flex; align-items: center; gap: 9px;
  font-family: var(--sans);
  font-weight: var(--w-heading);
  font-size: var(--t-h4); line-height: 1;
  text-decoration: none; letter-spacing: var(--t-h4-ls);
  margin-right: auto;
}
.brand-mark {
  /* The SZ app icon (logo.svg), drawn as-is — it carries its own rounded tile. */
  width: 26px; height: 26px; flex: none; display: block;
}
.nav-links { display: flex; gap: 26px; }
.nav-links a {
  position: relative;
  text-decoration: none;
  font-size: var(--t-body); line-height: var(--t-body-lh); font-weight: 500;
  color: var(--ink-muted);
  transition: color var(--dur-fast) var(--ease-out);
}
.nav-links a:hover { color: var(--ink); }
/* A gold rule that grows out from the centre on hover — the same accent the
   eyebrows and CTAs use, so hovering a link reads as part of the system. */
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -5px;
  height: 2px; border-radius: 2px; background: var(--gold);
  transform: scaleX(0);
  transition: transform var(--dur) var(--ease-out);
}
.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.nav-links a[aria-current="page"] { color: var(--ink); font-weight: var(--w-medium); }
.nav .btn { padding: 10px 20px; }

/* Hamburger: hidden until the links no longer fit the bar. */
.nav-toggle {
  display: none;
  width: 40px; height: 40px; flex: none;
  align-items: center; justify-content: center;
  border: 1.5px solid var(--outline); border-radius: 10px;
  background: var(--surface); color: var(--ink);
  cursor: pointer; padding: 0;
}
.nav-toggle svg { width: 18px; height: 18px; display: block; }
.nav-toggle .x { display: none; }
.nav.open .nav-toggle .x { display: block; }
.nav.open .nav-toggle .bars { display: none; }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  /* The links drop into a full-width panel under the bar, opened by the
     hamburger. The "Request a demo" button stays in the bar at all widths. */
  .nav-links {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; gap: 0;
    background: var(--canvas);
    border-bottom: 1px solid var(--outline);
    box-shadow: var(--shadow);
    padding: 6px 24px 14px;
    display: none;
  }
  .nav.open .nav-links { display: flex; }
  .nav-links a {
    padding: 13px 2px; font-size: var(--t-title);
    border-bottom: 1px solid var(--outline);
  }
  /* The underline belongs to a horizontal bar, not to stacked panel rows. */
  .nav-links a::after { display: none; }
  .nav-links a:last-child { border-bottom: 0; }
}

/* The gold italic clause inside a page-head headline. */
.page-head h1 em { font-style: italic; color: var(--gold-light); }

/* ── Overview ─────────────────────────────────────────────────────── */
.tri {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; margin-top: 4px;
  background: var(--outline);
  border: 1px solid var(--outline);
  border-radius: var(--radius);
  overflow: hidden;
}
.tri > div { background: var(--canvas); color: var(--ink); padding: 30px 26px; }
.tri h3 { margin-bottom: 10px; }
.tri p { color: var(--ink-muted); font-size: var(--t-body); line-height: 1.6; }
.tri-role {
  font-size: var(--t-eyebrow); line-height: var(--t-eyebrow-lh);
  font-weight: var(--w-heading); letter-spacing: var(--t-eyebrow-ls);
  text-transform: uppercase; color: var(--gold-text);
  margin-bottom: 14px;
}

/* ── Feature grid ─────────────────────────────────────────────────── */
/* NOTE for the card components below: each one that paints its own light
   background also sets `color`. Without it, a card placed inside a .band
   inherits the band's near-white ink and its heading disappears against the
   card's own white. */
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--outline);
  border-radius: var(--radius);
  padding: 26px 24px;
  box-shadow: var(--shadow);
  color: var(--ink);
  transition: transform var(--dur) var(--ease-out),
              box-shadow var(--dur) var(--ease-out),
              border-color var(--dur) var(--ease-out);
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lift);
  border-color: color-mix(in srgb, var(--accent) 34%, var(--outline));
}
.card h3 { margin-bottom: 9px; }
.card p { font-size: var(--t-body); line-height: 1.6; color: var(--ink-muted); }

/* ── Benefits ─────────────────────────────────────────────────────── */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.benefit {
  background: var(--surface);
  border: 1px solid var(--outline);
  border-left: 3px solid var(--gold);
  border-radius: 4px var(--radius) var(--radius) 4px;
  padding: 28px 28px 28px 26px;
  color: var(--ink);
}
.benefit h3 { margin-bottom: 10px; }
.benefit p { color: var(--ink-muted); font-size: var(--t-body); line-height: 1.6; }

/* ── How it works — the one place numbering is real ───────────────── */
.steps {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px;
  list-style: none; margin: 0; padding: 0;
}
.step {
  background: var(--band-card);
  border: 1px solid var(--band-line);
  border-radius: var(--radius);
  padding: 26px 22px;
}
.step-n {
  font-family: var(--sans);
  font-weight: var(--w-display);
  font-size: var(--t-h3); letter-spacing: var(--t-h3-ls);
  color: var(--gold);
  font-variant-numeric: tabular-nums;
  line-height: 1;
  margin-bottom: 16px;
}
.step h3 { margin-bottom: 9px; color: var(--band-ink); }
.step p { font-size: var(--t-body); line-height: 1.6; color: var(--band-muted); }

/* ── Use cases ────────────────────────────────────────────────────── */
.cases { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.case {
  border-top: 2px solid var(--gold);
  padding-top: 22px;
}
.case h3 { margin-bottom: 9px; }
.case p { font-size: var(--t-body); line-height: 1.6; color: var(--ink-muted); }

/* ── FAQ ──────────────────────────────────────────────────────────── */
.faq { max-width: 800px; }
details {
  border-bottom: 1px solid var(--outline);
}
details summary {
  cursor: pointer;
  list-style: none;
  padding: 22px 44px 22px 0;
  position: relative;
  transition: color var(--dur) var(--ease-out);
  font-family: var(--sans);
  font-weight: var(--w-subhead);
  font-size: var(--t-h4); letter-spacing: var(--t-h4-ls);
  line-height: 1.4;
}
details summary::-webkit-details-marker { display: none; }
/* The whole row is the hit target, so the whole row answers the pointer. */
details summary:hover { color: var(--gold-text); }
details summary::after {
  content: ""; position: absolute; right: 8px; top: 50%;
  width: 10px; height: 10px;
  border-right: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: translateY(-70%) rotate(45deg);
  transition: transform var(--dur) var(--ease-out);
}
details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
details p {
  padding: 0 44px 24px 0;
  color: var(--ink-muted);
  font-size: var(--t-body); line-height: 1.7;
  max-width: 70ch;
}

/* ── Demo contact block ───────────────────────────────────────────── */
.demo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 6vw, 72px);
  align-items: center;
}

.demo-points {
  list-style: none; padding: 0;
  margin: 28px 0 0;
  display: grid; gap: 11px;
  color: var(--band-muted);
  font-size: var(--t-body); line-height: 1.6;
}
.demo-points li { display: flex; gap: 11px; align-items: flex-start; }
.demo-points li::before {
  content: ""; flex: none;
  width: 7px; height: 7px; margin-top: .55em;
  border-radius: 50%; background: var(--gold);
}

.reach {
  background: var(--band-card);
  border: 1px solid var(--band-line);
  border-radius: var(--radius);
  padding: clamp(26px, 3.5vw, 38px);
  display: grid; gap: 14px;
  text-align: center;
}
/* Contact opens on a light section like the Stitch pages, reach card
   included; the dark band comes after it. The other demo blocks sit on a
   .band section and are untouched. */
.demo-light .demo-points { color: var(--ink-muted); }
.demo-light .crumb,
.demo-light .crumb a { color: var(--ink-muted); }
.demo-light .crumb [aria-current="page"] { color: var(--ink); }
.demo-light .reach {
  background: var(--surface);
  border-color: var(--outline);
  box-shadow: var(--shadow);
}
.demo-light .reach-lead,
.demo-light .direct-val { color: var(--ink); }
.demo-light .reach-direct,
.demo-light .reach-note { color: var(--ink-muted); }
/* the light-gold "Hi" washes out on white — deepen it */
.demo-light .reach-hi {
  color: var(--gold-text);
  filter: drop-shadow(0 2px 10px rgba(194, 130, 53, .25));
}
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .demo-light .reach-hi {
    background-image: linear-gradient(120deg, var(--gold) 0%, var(--gold-text) 45%, #D9601F 100%);
  }
}
.reach-lead {
  font-family: var(--sans);
  font-weight: var(--w-heading);
  font-size: var(--t-h4); letter-spacing: var(--t-h4-ls);
  color: var(--band-ink);
  margin-bottom: 4px;
}
/* "Hi" is the whole ask — make it the thing the eye lands on. */
.reach-hi {
  display: inline-block;
  color: var(--gold-light);   /* fallback where background-clip:text is missing */
  font-size: 1.35em;          /* a step up from the sentence, not a headline */
  line-height: 1;
  letter-spacing: -0.01em;
  font-weight: var(--w-display);
  margin-left: 2px;
  filter: drop-shadow(0 2px 14px rgba(226, 177, 92, .35));
}
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .reach-hi {
    background: linear-gradient(120deg, #F6D58E 0%, var(--gold-light) 40%, #F08A3C 100%);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
  }
}
.reach-sub { margin-left: 2px; }
.reach .btn { width: 100%; padding-block: 16px; font-size: var(--t-title); }

/* The number itself is the reassurance — show it, don't hide it behind a verb. */
.reach-call { font-variant-numeric: tabular-nums; letter-spacing: .01em; }

/* Phones hide this: tapping the buttons works there, and the extra line is
   just noise. It appears from tablet width up, where the buttons often
   cannot resolve to anything. */
.reach-direct {
  display: none;
  margin-top: 6px;
  font-size: var(--t-body-sm);
  color: var(--band-muted);
  line-height: 1.8;
}
@media (min-width: 768px) {
  .reach-direct { display: block; }
}

.direct-val {
  color: var(--band-ink);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: .015em;
  text-decoration: none;
  /* One click takes the whole value, so there is no need for a copy button. */
  user-select: all;
  white-space: nowrap;
}
a.direct-val { text-decoration: underline; text-underline-offset: 3px; }
a.direct-val:hover { color: var(--gold); }
.sep { margin: 0 5px; opacity: .5; }

.reach-note {
  font-size: var(--t-body-sm);
  color: var(--band-muted);
  opacity: .85;
}

@media (max-width: 900px) {
  .demo-grid { grid-template-columns: 1fr; }
}

/* ── Footer ───────────────────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--outline);
  padding-block: 44px;
  font-size: var(--t-body);
  color: var(--ink-muted);
}
/* ── Motion ───────────────────────────────────────────────────────── */
/* The reveal and hero-entrance primitives, the reduced-motion contract and
   the easing/duration tokens all live in assets/base.css, shared with the
   Stitch pages. Only the nav's own scroll behaviour is local to this
   stylesheet. */

/* Lifts once the page is no longer at the top, so the bar reads as floating
   over the content rather than being a permanent heavy rule. */
.nav.scrolled { box-shadow: 0 10px 30px -22px rgba(15, 23, 42, .5); }

/* ── Responsive ───────────────────────────────────────────────────── */
@media (max-width: 1000px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps  { grid-template-columns: repeat(2, 1fr); }
  .cases  { grid-template-columns: repeat(2, 1fr); }
  .tri    { grid-template-columns: 1fr; }
}

/* ── Mobile-first tightening: tighter vertical rhythm and denser cards, so
      a phone scrolls far less.

      Type sizes are NOT re-declared here. h1/h2 and .prose h2 clamp down to
      the ramp's own mobile steps on their own, and the rest of the ramp is
      one size at every width by design — that is what makes the scale the
      same scale on a phone as on a laptop. ─────────────────────────────── */
@media (max-width: 640px) {
  body { font-size: var(--t-body-lg); }
  .wrap { padding-inline: 18px; }

  section { padding-block: 40px; scroll-margin-top: 66px; }
  .section-head { margin-bottom: 20px; }
  .eyebrow { margin-bottom: 11px; }
  .lede { margin-top: 13px; }

  h3 { font-size: var(--t-h3-m); line-height: var(--t-h3-m-lh); }

  .grid-4, .grid-2, .steps, .cases { grid-template-columns: 1fr; gap: 13px; }
  .btn-row { margin-top: 22px; }

  /* Nav */
  .nav-inner { height: 56px; gap: 10px; }
  .brand { font-size: var(--t-title); }
  .nav .btn { padding: 11px 13px; }
  .nav-toggle { width: 36px; height: 36px; }

  .card { padding: 18px 16px; }
  .benefit { padding: 18px 16px 18px 15px; }
  .tri > div { padding: 20px 17px; }
  .step { padding: 17px 16px; }
  .step-n { font-size: var(--t-h3-m); margin-bottom: 11px; }
  .reach { padding: 20px 17px; }
  .case { padding-top: 17px; }

  .demo-points { gap: 8px; margin-top: 20px; }

  details summary { padding-block: 15px; padding-right: 38px; }
  details p { padding-bottom: 17px; }
}

/* Side-by-side calls to action get too narrow to read well below this; full
   width also makes them easier to hit with a thumb. */
@media (max-width: 560px) {
  .btn-row { flex-direction: column; }
  .btn-row .btn { width: 100%; }
}

/* Smallest phones */
@media (max-width: 380px) {
  .wrap { padding-inline: 15px; }
}

/* ═══════════════════════════════════════════════════════════════════
   Additions for the sales rewrite — new components only, existing
   tokens and primitives reused throughout.
   ═══════════════════════════════════════════════════════════════════ */

/* ── Mobile sticky CTA ────────────────────────────────────────────── */
/* Hidden entirely at desktop widths (the nav's own CTA covers that case).
   env() padding keeps it clear of a phone's home-indicator/gesture area. */
.sticky-cta {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  gap: 10px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: color-mix(in srgb, var(--canvas) 92%, transparent);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--outline);
  box-shadow: 0 -10px 30px -22px rgba(15,23,42,.35);
}
.sticky-cta-btn {
  flex: 1;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px;
  border-radius: 100px;
  font-size: var(--t-button); font-weight: var(--w-medium);
  letter-spacing: var(--t-button-ls);
  text-decoration: none;
  border: 1.5px solid var(--outline);
  color: var(--ink);
}
.sticky-cta-btn.is-demo { background: var(--accent); border-color: var(--accent); color: #FFFFFF; }
.sticky-cta-btn.is-wa { background: var(--surface); }

@media (max-width: 900px) {
  .sticky-cta { display: flex; }
  /* Stops the bar from ever sitting over the footer's own CTA/links. */
  body { padding-bottom: calc(66px + env(safe-area-inset-bottom)); }
}


/* ═══════════════════════════════════════════════════════════════════
   INNER PAGES
   Components the homepage never needed. Same tokens, same rhythm — a
   subpage should read as the same site, not a different template.
   ═══════════════════════════════════════════════════════════════════ */

/* ── Page head: the inner-page counterpart to the homepage hero.
      Shorter, no product visual, but the same dark band. ─────────── */
.page-head { padding-block: clamp(46px, 7vw, 78px) clamp(40px, 6vw, 66px); }
.page-head h1 { font-size: clamp(var(--t-h2-m), 4.6vw, var(--t-display)); max-width: 19ch; }
.page-head .lede { max-width: 60ch; }

/* Breadcrumbs — a real trail, and the visible counterpart to the
   BreadcrumbList in each page's JSON-LD. */
.crumb { font-size: var(--t-body-sm); margin-bottom: 16px; color: var(--band-muted); }
.crumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 7px; }
.crumb li { display: flex; align-items: center; gap: 7px; }
.crumb li + li::before { content: "/"; opacity: .45; }
.crumb a { color: var(--band-muted); text-decoration: none; }
.crumb a:hover { color: var(--gold); }
.crumb [aria-current="page"] { color: var(--band-ink); }

/* Contact has no page head: the demo block opens the page and carries the
   h1, sized as the h2 it was so the two-column layout keeps its balance. */
.demo-intro h1 {
  font-size: clamp(var(--t-h2-m), 4.2vw, var(--t-h2));
  line-height: 1.16;
  letter-spacing: var(--t-h2-ls);
  font-weight: var(--w-heading);
}

/* ── Answer-first block. The paragraph an AI engine should be able to
      lift whole: a direct definition, set apart from the argument
      around it. Deliberately plain — no icon, no decoration. ─────── */
.answer {
  border-left: 3px solid var(--gold);
  padding: 4px 0 4px 20px;
  margin-bottom: 26px;
  max-width: 68ch;
}
.answer p { font-size: var(--t-body-lg); line-height: 1.6; color: var(--ink); }
.answer p + p { margin-top: 12px; }
.band .answer p { color: var(--band-ink); }

/* ── Long-form prose: articles, privacy, terms. Measure capped for
      readability rather than filling the container. ─────────────── */
.prose { max-width: 68ch; }
.prose h2 { font-size: clamp(var(--t-h3-m), 2.6vw, var(--t-h3)); line-height: 1.25; margin-top: 40px; margin-bottom: 14px; }
.prose h3 { margin-top: 28px; margin-bottom: 9px; }
.prose p, .prose li { color: var(--ink-muted); font-size: var(--t-body-lg); line-height: 1.72; }
.prose p + p { margin-top: 15px; }
.prose ul, .prose ol { margin: 15px 0 0; padding-left: 22px; display: grid; gap: 8px; }
.prose li::marker { color: var(--gold-text); }
.prose a { color: var(--accent); text-underline-offset: 3px; }
.prose a:hover { color: var(--gold-text); }
.prose strong { color: var(--ink); font-weight: var(--w-medium); }
.prose hr { border: 0; border-top: 1px solid var(--outline); margin: 34px 0; }
.prose-meta { font-size: var(--t-body-sm); color: var(--ink-muted); margin-bottom: 26px; }

/* .steps is styled for the dark band it was designed on. On a light
   section the same cards need the ordinary surface treatment. */
.steps-light .step { background: var(--surface); border-color: var(--outline); }
.steps-light .step-n { color: var(--gold-text); }

/* ── Cross-links between sibling pages ───────────────────────────── */
.next-links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 8px; }
.next-links a {
  display: block; text-decoration: none;
  background: var(--surface); border: 1px solid var(--outline);
  border-radius: var(--radius); padding: 20px 22px;
  color: var(--ink);
  transition: border-color var(--dur) var(--ease-out),
              transform var(--dur) var(--ease-out),
              box-shadow var(--dur) var(--ease-out);
}
.next-links a:hover { border-color: var(--gold); transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.next-links b { display: block; font-weight: var(--w-subhead); font-size: var(--t-title); letter-spacing: var(--t-title-ls); color: var(--ink); margin-bottom: 5px; }
.next-links span { font-size: var(--t-body); line-height: 1.55; color: var(--ink-muted); }

/* ── Article index ───────────────────────────────────────────────── */
.posts { display: grid; gap: 18px; max-width: 760px; }
.post {
  background: var(--surface); border: 1px solid var(--outline);
  border-radius: var(--radius); padding: 26px 28px;
  color: var(--ink);
}
.post h2 { font-size: var(--t-h4); line-height: var(--t-h4-lh); letter-spacing: var(--t-h4-ls); margin-bottom: 8px; }
.post h2 a { text-decoration: none; }
.post h2 a:hover { color: var(--gold-text); }
.post p { color: var(--ink-muted); font-size: var(--t-body); line-height: 1.6; }

/* ── Footer: 15 pages need columns, not one wrapping row ─────────── */
.foot-cols {
  display: grid; grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 32px; padding-bottom: 34px;
}
.foot-cols .brand { font-size: var(--t-body-lg); color: var(--ink); }
.foot-blurb { font-size: var(--t-body); color: var(--ink-muted); margin-top: 12px; max-width: 34ch; }
.foot-col h2 {
  font-family: var(--sans);
  font-size: var(--t-eyebrow); line-height: var(--t-eyebrow-lh);
  font-weight: var(--w-heading);
  letter-spacing: var(--t-eyebrow-ls); text-transform: uppercase; color: var(--ink);
  margin-bottom: 13px;
}
.foot-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.foot-col a { color: var(--ink-muted); text-decoration: none; font-size: var(--t-body); }
.foot-col a:hover { color: var(--accent); }
.foot-base {
  display: flex; flex-wrap: wrap; gap: 10px 24px; align-items: center;
  border-top: 1px solid var(--outline); padding-top: 22px;
  font-size: var(--t-body-sm); color: var(--ink-muted);
}
.foot-base .foot-tag { margin-right: auto; }

@media (max-width: 860px) {
  .foot-cols { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .foot-cols .brand-wrap { grid-column: 1 / -1; }
  .next-links { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .page-head { padding-block: 34px 30px; }
}

/* ── Legal documents: Privacy, Terms, Delete Account ─────────────────────
      Deliberately plain: no band, eyebrow, reveal or sales CTA, so they read
      as documents and not as marketing pages. */
.legal { background: var(--surface); padding-block: clamp(32px, 5vw, 56px) clamp(48px, 7vw, 80px); }
.legal .wrap { max-width: 860px; }
.legal-head { border-bottom: 2px solid var(--ink); padding-bottom: 18px; margin-bottom: 24px; }
.legal-head h1 { font-size: clamp(1.75rem, 4vw, 2.25rem); line-height: 1.2; color: var(--ink); }
.legal-dates { display: flex; flex-wrap: wrap; gap: 4px 28px; margin: 12px 0 0; font-size: var(--t-body-sm); color: var(--ink-muted); }
.legal-dates div { display: flex; gap: 6px; }
.legal-dates dt { font-weight: var(--w-medium); color: var(--ink); }
.legal-dates dd { margin: 0; }
.legal p, .legal li, .legal td, .legal th { font-size: 1rem; line-height: 1.65; color: var(--ink); }
.legal a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.legal-intro { margin-bottom: 24px; }
.legal section { scroll-margin-top: 84px; margin-top: 32px; padding-block: 0; }
.legal h2 { font-size: 1.1875rem; line-height: 1.35; color: var(--ink); margin-bottom: 12px; }
.clause { position: relative; padding-left: 3rem; margin-top: 10px; }
.clause-no { position: absolute; left: 0; top: 0; font-variant-numeric: tabular-nums; color: var(--ink-muted); }
.legal-alpha { list-style: none; counter-reset: legal-alpha; margin: 8px 0 0; padding: 0 0 0 3rem; display: grid; gap: 6px; }
.legal-alpha li { counter-increment: legal-alpha; position: relative; padding-left: 2rem; }
.legal-alpha li::before { content: "(" counter(legal-alpha, lower-alpha) ")"; position: absolute; left: 0; color: var(--ink-muted); }
.legal-toc { border: 1px solid var(--outline); border-radius: var(--radius-sm); padding: 16px 20px; }
.legal-toc h2 { font-size: 1rem; margin-bottom: 8px; }
.legal-toc ol { margin: 0; padding-left: 1.5rem; display: grid; gap: 3px; }
.legal-toc li, .legal-toc a { font-size: var(--t-body); }
.legal-table { overflow-x: auto; margin-top: 12px; }
.legal-table table { width: 100%; min-width: 560px; border-collapse: collapse; }
.legal-table th, .legal-table td { border: 1px solid var(--outline); padding: 9px 12px; text-align: left; vertical-align: top; font-size: var(--t-body); line-height: 1.5; }
.legal-table th { background: var(--canvas); font-weight: var(--w-medium); }
.legal-contact { border-left: 3px solid var(--ink); padding: 4px 0 4px 16px; margin-block: 12px; }
.legal-todo { background: #FFF3BF; color: var(--ink); padding: 0 4px; }

@media (max-width: 900px) {
  body:has(.legal) { padding-bottom: 0; }
}
@media (max-width: 600px) {
  .clause { padding-left: 2.5rem; }
  .legal-alpha { padding-left: 1rem; }
  .legal-table table { min-width: 0; }
  .legal-table th, .legal-table td { padding: 8px; }
}
@media print {
  .skip, header.nav, footer { display: none; }
  .legal { padding: 0; }
  .legal .wrap { max-width: none; padding: 0; }
  .legal-table { overflow: visible; }
  .legal-table table { min-width: 0; }
  .legal section { break-inside: auto; }
  .legal h2 { break-after: avoid; }
  .legal a { color: inherit; }
}
