/* ============================================================
   Documented — Landing page (marketing layer)
   Direction A · Warm editorial. Soft serif Fraunces for display,
   Hanken Grotesk for body/UI, Spline Sans Mono on timestamp lines
   only. Warm paper (#FBF7EF), pine ink (#243F34), terracotta accent
   (#C26B3C). Softer rounded cards, gentle pine-tinted shadows.

   This block OVERRIDES the design-system tokens loaded by tokens.css
   so nothing cool/techy (IBM Plex / Spectral / honey) leaks through.
   ============================================================ */

:root {
  /* ---- Warm editorial palette --------------------------- */
  --paper:#FBF7EF; --paper-2:#F5EEE1; --card:#FFFFFF;
  --pine:#243F34; --pine-deep:#172A22;
  --terra:#C26B3C; --terra-deep:#9A5026;
  --seal:#2C7A57; --seal-soft:#E4F0E8;
  --ink:#2C2A25; --ink-soft:#5C564B; --ink-faint:#8C8474;
  --hairline:#E8DFCF; --hairline-strong:#DCD0BB;

  /* ---- Fonts (Fraunces · Hanken Grotesk · Spline Sans Mono) */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-sans: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "Spline Sans Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --label-font: var(--font-sans);

  /* ---- Remap semantic aliases onto the warm palette ----- */
  --color-bg:             var(--paper);
  --color-surface:        var(--card);
  --color-surface-sunken: var(--paper-2);
  --color-surface-inset:  var(--paper);

  --brand:                var(--pine);
  --brand-hover:          var(--pine-deep);
  --brand-pressed:        var(--pine-deep);
  --brand-soft:           #ECF1ED;
  --brand-soft-border:    #D7E2DA;

  /* terracotta replaces honey as the warm accent */
  --accent:               var(--terra);
  --accent-hover:         var(--terra-deep);
  --accent-soft:          #F6E7D6;

  --text-primary:         var(--pine-deep);
  --text-secondary:       var(--ink-soft);
  --text-muted:           var(--ink-faint);
  --text-faint:           var(--ink-faint);
  --text-on-brand:        var(--paper);
  --text-on-accent:       #FFFFFF;
  --text-link:            var(--terra-deep);

  --border:               var(--hairline);
  --border-strong:        var(--hairline-strong);
  --border-brand:         var(--pine);

  --focus-ring:           color-mix(in srgb, var(--terra) 42%, transparent);

  /* status — seal green for verified, terracotta-tinted alerts */
  --success:              var(--seal);
  --success-soft:         var(--seal-soft);
  --success-border:       #C7E0D2;

  /* honey-named tokens still referenced by a few rules — point
     them at the terracotta family so no amber leaks through */
  --honey-200:            #E8C9A6;
  --honey-300:            #E0A86E;
  --honey-400:            #D08A4E;

  /* warm verified text on dark pine bands */
  --verify-100:           #BFE0CC;

  /* softer, more human corners */
  --radius-sm: 10px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 18px;
  --radius-2xl: 24px;

  /* gentle pine-tinted shadows */
  --shadow-xs: 0 1px 2px rgba(36,63,52,.05);
  --shadow-sm: 0 1px 2px rgba(36,63,52,.05), 0 2px 8px rgba(36,63,52,.05);
  --shadow-md: 0 2px 4px rgba(36,63,52,.05), 0 8px 22px rgba(36,63,52,.09);
  --shadow-lg: 0 4px 10px rgba(36,63,52,.06), 0 18px 40px rgba(36,63,52,.12);
  --shadow-xl: 0 10px 20px rgba(36,63,52,.08), 0 28px 64px rgba(36,63,52,.14);
}

/* ::selection picks up the terracotta accent, gently */
::selection { background: color-mix(in srgb, var(--terra) 28%, transparent); }

/* ---- reset / base -------------------------------------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--color-bg);
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--text-primary);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-tight);
  line-height: var(--leading-tight);
  margin: 0;
  text-wrap: balance;
}
p { margin: 0; text-wrap: pretty; }
img { display: block; max-width: 100%; }
[data-lucide] { width: 20px; height: 20px; stroke-width: 1.75px; }

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

/* skip link */
.skip {
  position: absolute; left: -999px; top: 8px; z-index: 1000;
  background: var(--brand); color: var(--text-on-brand);
  padding: 10px 16px; border-radius: var(--radius-md); font-weight: 600;
}
.skip:focus { left: 16px; }

/* ---- eyebrow ------------------------------------------- */
.eyebrow {
  display: inline-block;
  font-family: var(--label-font);
  font-size: var(--label-size);
  font-weight: var(--label-weight);
  text-transform: uppercase;
  letter-spacing: var(--label-tracking);
  color: var(--text-muted);
}
.eyebrow--light { color: rgba(250, 247, 242, 0.62); }
.eyebrow--accent { color: var(--accent-hover); }

/* ---- buttons ------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  padding: 12px 20px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s var(--ease-out), color 0.2s var(--ease-out),
              transform 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out),
              border-color 0.2s var(--ease-out);
}
.btn:focus-visible { outline: none; box-shadow: var(--ring); }
.btn--primary { background: var(--brand); color: var(--text-on-brand); }
.btn--primary:hover { background: var(--brand-hover); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--primary:active { background: var(--brand-pressed); transform: translateY(1px); box-shadow: none; }
.btn--ghost { background: transparent; color: var(--text-primary); border-color: var(--border-strong); }
.btn--ghost:hover { background: var(--color-surface-sunken); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn--ghost:active { transform: translateY(1px); box-shadow: none; }
.btn--onink { background: var(--color-surface); color: var(--brand); }
.btn--onink:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn--onink:active { transform: translateY(1px); box-shadow: none; }
.btn--lg { padding: 15px 26px; font-size: 16px; }
.btn i[data-lucide] { width: 18px; height: 18px; flex: none; }

/* ---- verified / seal chip — the signature motif -------- */
.vchip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px 4px 9px;
  background: var(--success-soft);
  border: 1px solid var(--success-border);
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: var(--tracking-mono);
  color: var(--success);
  white-space: nowrap;
}
.vchip i[data-lucide] { width: 13px; height: 13px; stroke-width: 2px; }
.vchip--lg { font-size: 12.5px; padding: 6px 13px 6px 11px; }

/* honey seal dot — used as the freshly-sealed marker */
.seal-dot {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 4px 11px 4px 9px;
  background: var(--accent-soft);
  border: 1px solid var(--honey-200);
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 11px; font-weight: 500; letter-spacing: var(--tracking-mono);
  color: var(--accent-hover); white-space: nowrap;
}
.seal-dot::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: none; }

/* ---- email capture ------------------------------------- */
.capture { display: flex; gap: 10px; max-width: 460px; }
.capture__field {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  background: var(--color-surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  transition: border-color 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
}
.capture__field:focus-within { border-color: var(--border-brand); box-shadow: var(--ring); }
.capture__field i[data-lucide] { color: var(--text-muted); width: 18px; height: 18px; flex: none; }
.capture input {
  flex: 1;
  min-width: 0;
  border: none;
  outline: none;
  background: transparent;
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--text-primary);
  padding: 14px 0;
}
.capture input::placeholder { color: var(--text-muted); }
.capture input:disabled { color: var(--text-muted); }
.capture__msg { font-size: 13.5px; margin-top: 11px; min-height: 19px; display: flex; align-items: center; gap: 6px; }
.capture__msg.error { color: var(--danger); }
.capture__msg.success { color: var(--success); font-weight: 500; }
.capture__msg i { width: 15px; height: 15px; flex: none; }
.capture .btn[disabled] { opacity: 0.75; cursor: default; transform: none !important; box-shadow: none; }
.capture .btn .spinner {
  width: 15px; height: 15px; border-radius: 50%;
  border: 2px solid rgba(250, 247, 242, 0.4); border-top-color: var(--text-on-brand);
  animation: spin 0.7s linear infinite;
}
.btn--onink .spinner { border-color: rgba(30, 58, 50, 0.3); border-top-color: var(--brand); }
@keyframes spin { to { transform: rotate(360deg); } }

.microline { font-size: 13px; color: var(--text-muted); display: inline-flex; align-items: center; gap: 7px; }
.microline i[data-lucide] { width: 14px; height: 14px; flex: none; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: var(--z-sticky);
  height: 64px;
  background: rgba(250, 247, 242, 0);
  border-bottom: 1px solid transparent;
  transition: background 0.3s var(--ease-out), border-color 0.3s var(--ease-out);
}
.nav--scrolled {
  background: rgba(250, 247, 242, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--border);
}
.nav__inner { display: flex; align-items: center; height: 64px; gap: 32px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: var(--weight-semibold); font-size: 20px; letter-spacing: var(--tracking-tight); color: var(--text-primary); }
.brand img { width: 28px; height: 28px; }
.nav__links { display: flex; gap: 28px; margin: 0 auto; font-size: 14.5px; font-weight: 500; color: var(--text-secondary); }
.nav__links a { transition: color 0.2s var(--ease-out); padding: 4px 0; }
.nav__links a:hover { color: var(--brand); }
.nav__cta { display: flex; align-items: center; gap: 10px; }
.nav__menu { display: none; min-height: 44px; min-width: 44px; padding: 0; }

/* ============================================================
   HERO — split, left-aligned
   ============================================================ */
.hero { padding: 76px 0 92px; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 64px; align-items: center; }
.hero h1 { font-size: 60px; margin: 18px 0 0; }
.hero .lead { font-size: 19px; line-height: 1.6; color: var(--text-secondary); margin: 24px 0 0; max-width: 30em; }
.hero__cta { margin-top: 30px; }
.hero__cta-row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-top: 14px; }
.hero .microline { margin-top: 18px; }

/* ---- phone frame --------------------------------------- */
.phone {
  width: 300px; margin: 0 auto;
  background: var(--stone-900); border-radius: 44px; padding: 8px;
  box-shadow: var(--shadow-xl);
}
.phone__screen { background: var(--color-bg); border-radius: 36px; overflow: hidden; }
.phone__bar { display: flex; align-items: center; justify-content: space-between; padding: 15px 22px 10px; font-family: var(--font-mono); font-size: 12px; font-weight: 500; color: var(--text-primary); }
.phone__bar .dots { display: flex; gap: 6px; align-items: center; color: var(--text-primary); }
.phone__head { padding: 6px 18px 14px; background: var(--color-surface); border-bottom: 1px solid var(--border); }
.phone__head .t { font-family: var(--font-display); font-size: 22px; font-weight: var(--weight-semibold); letter-spacing: var(--tracking-tight); color: var(--text-primary); }
.phone__head .s { font-family: var(--font-mono); font-size: 11px; color: var(--text-muted); margin-top: 2px; }
.phone__body { padding: 14px; display: flex; flex-direction: column; gap: 11px; background: var(--color-bg); }

/* mini entry card inside phone */
.mini {
  background: var(--color-surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 14px;
  box-shadow: var(--shadow-xs);
}
.mini__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.mini__cat { font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.07em; color: var(--text-muted); }
.mini__cat.alert { color: var(--danger); }
.mini h5 { font-family: var(--font-display); font-size: 15px; font-weight: var(--weight-semibold); letter-spacing: var(--tracking-snug); color: var(--text-primary); margin: 0; line-height: 1.3; }
.mini__ts { display: flex; align-items: center; gap: 5px; font-family: var(--font-mono); font-size: 10px; color: var(--text-muted); margin-top: 9px; }
.mini__ts i { width: 12px; height: 12px; }

/* ============================================================
   SECTIONS — shared
   ============================================================ */
section { position: relative; }
.block { padding: 96px 0; }
.shead { max-width: 660px; }
.shead h2 { font-size: 40px; margin: 14px 0 0; }
.shead p { font-size: 18px; line-height: 1.6; color: var(--text-secondary); margin: 18px 0 0; }

/* ============================================================
   HOW IT WORKS — zig-zag rows + breadth chip row
   ============================================================ */
.howchips { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px 12px; align-items: center; }
.howchips__lbl { font-family: var(--font-display); font-weight: var(--weight-semibold); font-size: 17px; color: var(--text-primary); margin-right: 4px; }
.howchip { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: var(--text-secondary); background: var(--color-surface); border: 1px solid var(--border-strong); padding: 8px 14px; border-radius: var(--radius-pill); box-shadow: var(--shadow-xs); }
.howchip i { width: 15px; height: 15px; flex: none; color: var(--accent-hover); }
.zig { margin-top: 56px; display: flex; flex-direction: column; gap: 76px; }
.zrow { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.zrow.flip .ztext { order: 2; }
.zstep { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: var(--radius-md); background: var(--brand-soft); color: var(--brand); font-family: var(--font-mono); font-weight: 600; font-size: 15px; }
.ztext h3 { font-size: 27px; margin: 18px 0 0; }
.ztext p { font-size: 16.5px; line-height: 1.6; margin: 14px 0 0; max-width: 30em; color: var(--text-secondary); }
.zvisual { display: flex; justify-content: center; }

/* capture sheet visual */
.sheet { width: 100%; max-width: 380px; background: var(--color-surface); border: 1px solid var(--border); border-radius: var(--radius-xl); box-shadow: var(--shadow-md); overflow: hidden; }
.sheet__bar { padding: 16px 18px; border-bottom: 1px solid var(--border); font-family: var(--font-display); font-weight: var(--weight-semibold); color: var(--text-primary); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.sheet__body { padding: 18px; display: flex; flex-direction: column; gap: 14px; }
.fauxfield { border: 1px solid var(--border-strong); border-radius: var(--radius-md); padding: 12px 14px; font-size: 14px; color: var(--text-primary); }
.fauxfield.muted { color: var(--text-muted); }
.fauxchipline { display: flex; gap: 8px; flex-wrap: wrap; }
.fauxchip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border: 1px solid var(--border-strong); border-radius: var(--radius-pill); font-size: 13px; color: var(--text-secondary); }
.fauxchip i { width: 15px; height: 15px; color: var(--text-muted); }

/* photo step example (Log) — relatable photo + sealed entry card */
.zexample { width: 100%; max-width: 400px; }
.zexample__photo { border-radius: var(--radius-xl) var(--radius-xl) 0 0; overflow: hidden; aspect-ratio: 13 / 8; box-shadow: var(--shadow-md); }
.zexample__photo img { width: 100%; height: 100%; object-fit: cover; }
.zexample__card { background: var(--color-surface); border: 1px solid var(--border); border-top: none; border-radius: 0 0 var(--radius-xl) var(--radius-xl); box-shadow: var(--shadow-md); padding: 16px 18px 18px; margin-top: -1px; }
.zexample__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.zexample__cat { font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.07em; color: var(--text-muted); }
.zexample__card h4 { font-family: var(--font-display); font-size: 18px; font-weight: var(--weight-semibold); color: var(--text-primary); line-height: 1.25; margin: 0 0 12px; }

/* sealed detail visual */
.sealcard { width: 100%; max-width: 380px; background: var(--color-surface); border: 1px solid var(--border); border-radius: var(--radius-xl); box-shadow: var(--shadow-md); padding: 26px; }
.sealcard__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.sealcard .lockwrap { width: 56px; height: 56px; border-radius: var(--radius-lg); background: var(--success-soft); color: var(--success); display: flex; align-items: center; justify-content: center; }
.sealcard .lockwrap i { width: 28px; height: 28px; stroke-width: 2px; }
.sealcard h4 { font-size: 19px; margin: 18px 0 0; }
.sealcard .meta { font-family: var(--font-mono); font-size: 12px; color: var(--text-muted); margin-top: 12px; line-height: 1.8; }
.sealcard .meta b { color: var(--text-secondary); font-weight: 500; }

/* ============================================================
   PDF EXPORT SAMPLE (hero asset)
   ============================================================ */
.pdf {
  width: 100%; max-width: 420px;
  background: #fff; border: 1px solid var(--border-strong); border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.pdf__top { height: 6px; background: var(--accent); }
.pdf__inner { padding: 26px 26px 30px; }
.pdf__head { display: flex; align-items: flex-start; justify-content: space-between; border-bottom: 2px solid var(--brand); padding-bottom: 14px; gap: 12px; }
.pdf__head h4 { font-size: 19px; }
.pdf__head .sub { font-family: var(--font-mono); font-size: 11.5px; color: var(--text-muted); margin-top: 4px; }
.pdf__head img { width: 30px; height: 30px; flex: none; }
.pdf__gen { font-family: var(--font-mono); font-size: 10.5px; color: var(--text-muted); margin: 12px 0 6px; }
.pdf__row { display: flex; gap: 12px; align-items: baseline; padding: 9px 0; border-top: 1px solid var(--border); }
.pdf__row .d { font-family: var(--font-mono); font-size: 11px; color: var(--text-muted); width: 120px; flex: none; }
.pdf__row .l { font-size: 13px; color: var(--text-primary); flex: 1; }
.pdf__row .v { color: var(--success); display: inline-flex; }
.pdf__row .v i { width: 14px; height: 14px; stroke-width: 2px; }
.pdf__more { font-family: var(--font-mono); font-size: 11px; color: var(--text-muted); margin-top: 12px; }

/* ============================================================
   WHY IT HOLDS UP — alternating feature blocks (bb-)
   ============================================================ */
.bb-head { max-width: 62ch; }
.bb-head h2 { font-size: 46px; margin: 14px 0 0; }
.bb-head p { font-size: 18px; line-height: 1.6; color: var(--text-secondary); margin: 16px 0 0; max-width: 48ch; }

.bb-arow { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding: 46px 0; border-bottom: 1px solid var(--border); }
.bb-arow:nth-of-type(even) .bb-acopy { order: 2; }

.bb-word { font-family: var(--font-display); font-size: 38px; font-weight: var(--weight-semibold); letter-spacing: var(--tracking-tight); color: var(--text-primary); margin-bottom: 12px; display: flex; align-items: center; gap: 14px; }
.bb-ai { width: 46px; height: 46px; flex: none; border-radius: var(--radius-md); background: var(--accent-soft); color: var(--accent-hover); display: flex; align-items: center; justify-content: center; }
.bb-ai i { width: 23px; height: 23px; }
.bb-arow p { font-size: 17px; line-height: 1.55; color: var(--text-secondary); max-width: 42ch; }

.bb-avis { display: flex; justify-content: center; }
.bb-vcard { width: 100%; max-width: 380px; background: var(--color-surface); border: 1px solid var(--border); border-radius: var(--radius-xl); box-shadow: var(--shadow-md); padding: 18px; }
.bb-vcard--stack { display: flex; flex-direction: column; gap: 10px; }
.bb-vcard--narrow { max-width: 300px; }

.bb-vhead { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.bb-vhead b { font-family: var(--font-display); font-size: 14px; font-weight: var(--weight-semibold); color: var(--text-primary); }

.bb-chainrow { display: flex; align-items: center; gap: 12px; padding: 11px 4px; }
.bb-chainrow + .bb-chainrow { border-top: 1px dashed var(--border); }
.bb-knot { width: 30px; height: 30px; flex: none; border-radius: 50%; background: var(--success-soft); color: var(--success); border: 1.5px solid var(--success-border); display: flex; align-items: center; justify-content: center; }
.bb-knot i { width: 16px; height: 16px; }
.bb-knot--alert { background: var(--accent-soft); color: var(--accent-hover); border-color: var(--honey-200); }
.bb-who { flex: 1; min-width: 0; }
.bb-t1 { font-size: 14px; font-weight: var(--weight-semibold); color: var(--text-primary); }
.bb-t2 { font-family: var(--font-mono); font-size: 10.5px; color: var(--text-faint); margin-top: 2px; }
.bb-t2--alert { color: var(--accent-hover); }

.bb-tstamp { display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-mono); font-size: 13px; color: var(--text-primary); background: var(--color-surface-sunken); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 11px 14px; }
.bb-tstamp i { width: 16px; height: 16px; flex: none; color: var(--accent-hover); }

.bb-evrow { display: flex; gap: 10px; flex-wrap: wrap; }
.bb-evtile { width: 64px; height: 64px; border-radius: var(--radius-md); background: var(--accent-soft); color: var(--accent-hover); border: 1px solid var(--honey-200); display: flex; align-items: center; justify-content: center; }
.bb-evtile i { width: 26px; height: 26px; }

.bb-pdf { background: var(--color-surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 14px; }
.bb-pt { font-family: var(--font-display); font-size: 14px; font-weight: var(--weight-semibold); color: var(--text-primary); text-align: center; border-bottom: 1px solid var(--border); padding-bottom: 8px; margin-bottom: 8px; }
.bb-pl { display: flex; justify-content: space-between; gap: 12px; font-size: 11px; color: var(--text-secondary); padding: 5px 0; border-bottom: 1px dotted var(--border); }
.bb-pl--last { border: none; }
.bb-pl .bb-d { font-family: var(--font-mono); font-size: 10px; color: var(--text-faint); flex: none; }
.bb-seal-note { font-family: var(--font-mono); font-size: 9.5px; color: var(--success); }

.bb-wedge { margin-top: 28px; display: inline-flex; align-items: center; gap: 10px; font-size: 15.5px; line-height: 1.5; color: var(--text-primary); background: var(--brand-soft); border: 1px solid var(--brand-soft-border); border-radius: var(--radius-lg); padding: 14px 18px; max-width: 64ch; }
.bb-wedge i { width: 18px; height: 18px; flex: none; color: var(--brand); }

.bb-caveat { margin-top: 20px; font-size: 13px; line-height: 1.6; color: var(--text-faint); max-width: 60ch; }

@media (max-width: 820px) {
  .bb-head h2 { font-size: 34px; }
  .bb-arow { grid-template-columns: 1fr; gap: 26px; padding: 36px 0; }
  .bb-arow:nth-of-type(even) .bb-acopy { order: 0; }
  .bb-avis { justify-content: flex-start; }
  .bb-word { font-size: 32px; }
}

/* ============================================================
   FAQ — accordion
   ============================================================ */
.faq { max-width: var(--container-md); margin: 44px auto 0; }
.faq__item { border-bottom: 1px solid var(--border); }
.faq__q { width: 100%; min-height: 44px; background: none; border: none; cursor: pointer; text-align: left; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 4px; font-family: var(--font-display); font-size: 18px; font-weight: var(--weight-semibold); letter-spacing: var(--tracking-snug); color: var(--text-primary); }
.faq__q:focus-visible { outline: none; box-shadow: var(--ring); border-radius: var(--radius-sm); }
.faq__q i { flex: none; color: var(--text-muted); transition: transform 0.3s var(--ease-out); }
.faq__item.open .faq__q i { transform: rotate(180deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height 0.32s var(--ease-out); }
.faq__a-inner { padding: 0 4px 22px; font-size: 15.5px; line-height: 1.65; color: var(--text-secondary); max-width: 64ch; }

/* ============================================================
   FINAL CTA — pine band
   ============================================================ */
.final { background: var(--brand); color: var(--text-on-brand); }
.final .inner { padding: 92px 24px; }
.final h2 { font-size: 46px; color: var(--stone-50); max-width: 14em; }
.final .capture { margin-top: 32px; }
.final .capture__field { background: rgba(250, 247, 242, 0.08); border-color: rgba(250, 247, 242, 0.2); }
.final .capture input { color: #fff; }
.final .capture input::placeholder { color: rgba(250, 247, 242, 0.5); }
.final .capture__field i[data-lucide] { color: rgba(250, 247, 242, 0.55); }
.final .capture__field:focus-within { border-color: var(--honey-400); box-shadow: 0 0 0 3px rgba(194, 107, 60, 0.32); }
.final .capture__msg.success { color: var(--verify-100); }
.final .capture__msg.error { color: var(--danger-100); }
.final .microline { color: rgba(250, 247, 242, 0.62); margin-top: 18px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--color-bg); border-top: 1px solid var(--border); padding: 48px 0 40px; }
.footer__inner { display: flex; align-items: flex-start; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.footer__desc { font-size: 13.5px; color: var(--text-muted); margin-top: 12px; max-width: 26em; }
.footer__links { display: flex; gap: 28px; flex-wrap: wrap; font-size: 13.5px; color: var(--text-secondary); }
.footer__links a { padding: 4px 0; }
.footer__links a:hover { color: var(--brand); }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--border); }
.footer__bottom .copy { font-family: var(--font-mono); font-size: 12px; color: var(--text-muted); }

/* ============================================================
   SCROLL REVEAL — fade + 12px rise only
   ============================================================ */
.reveal { transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out); transition-delay: calc(var(--i, 0) * 70ms); }
.js-reveal .reveal:not(.in) { opacity: 0; transform: translateY(12px); }
@media (prefers-reduced-motion: reduce) {
  .js-reveal .reveal:not(.in) { opacity: 1; transform: none; }
  .reveal { transition: none; }
  html { scroll-behavior: auto; }
  .spinner { animation: none; }
}

/* ============================================================
   HERO PHOTO TREATMENT — WhatsApp-inspired, photo-forward (hp-)
   Warm rounded photo frames, soft pine-tinted shadows.
   Photos are Unsplash placeholders pending licensing.
   ============================================================ */

/* ---- HERO photo + floating sealed entry (hp-) ---------- */
.hero__media { position: relative; }
.hp-photo {
  position: absolute; inset: 8px auto auto 0;
  width: 62%; max-width: 240px; aspect-ratio: 4 / 5;
  border-radius: 22px; overflow: hidden;
  box-shadow: var(--shadow-lg);
  z-index: 0;
}
.hp-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero__media .phone { position: relative; z-index: 1; }
.hp-float {
  position: absolute; right: 0; bottom: 30px; z-index: 2;
  width: 210px; background: var(--color-surface);
  border: 1px solid var(--border); border-radius: 16px;
  box-shadow: var(--shadow-lg); padding: 13px 14px;
}
.hp-float__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 6px; }
.hp-float__cat { font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.07em; color: var(--text-muted); }
.hp-float h4 { font-family: var(--font-display); font-size: 15px; font-weight: var(--weight-semibold); color: var(--text-primary); line-height: 1.25; margin: 0; }
.hp-float__ts { font-family: var(--font-mono); font-size: 10.5px; color: var(--text-muted); margin-top: 4px; }

@media (max-width: 980px) {
  .hp-photo { max-width: 200px; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; gap: 44px; }
  .hero__media { order: 2; }            /* hero copy BEFORE phone mock on mobile */
  .zrow { grid-template-columns: 1fr; gap: 24px; }
  .zrow.flip .ztext { order: 0; }
}
@media (max-width: 768px) {
  .nav__links { display: none; }
  .nav__menu { display: inline-flex; }
  .nav__cta .btn--ghost { display: none; }
  .hero { padding: 48px 0 64px; }
  .hero h1 { font-size: 40px; }
  .shead h2, .final h2 { font-size: 32px; }
  .block { padding: 64px 0; }
  .final .inner { padding: 64px 24px; }
  .capture { flex-direction: column; }
}
