/* ─────────────────────────────────────────────────────────────
   Career Canvas — Marketing site
   v2.1 — staggered features, laptop + phone hero, blob motif
   ───────────────────────────────────────────────────────────── */

:root {
  --paper:    #ffffff;
  --paper-2:  #fdfcf8;
  --paper-3:  #f8f4ee;
  --ink:      #15110d;
  --ink-2:    #3a2f24;
  --ink-3:    #6b5a45;
  --tomato:   #c23a1f;
  --teal:     #3f7878;
  --mustard:  #d4a527;
  --lavender: #9b8eb8;
  --rust:     #7a2a10;
  --rule-soft: rgba(21,17,13,0.18);
  --rule-mid:  rgba(21,17,13,0.32);

  --display: "Instrument Serif", Georgia, serif;
  --sans:    "DM Sans", system-ui, -apple-system, sans-serif;
  --cond:    "Archivo Narrow", "DM Sans", sans-serif;
  --mono:    "IBM Plex Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; -webkit-font-smoothing: antialiased; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); }
body { overflow-x: hidden; }

/* Grain */
/* noise overlay removed */

/* ── Type utilities ─────────────────────────────────────── */
.mono   { font-family: var(--mono); letter-spacing: 0.06em; }
.mono-c { font-family: var(--mono); text-transform: uppercase; letter-spacing: 0.08em; }
.cond   { font-family: var(--cond); font-weight: 700; text-transform: uppercase; letter-spacing: 0.22em; }
.display { font-family: var(--display); font-style: italic; letter-spacing: -0.015em; }
.dot     { color: var(--tomato); }

.container { max-width: 1280px; margin: 0 auto; padding: 0 56px; }

/* ── Top bar ─────────────────────────────────────────────── */
.topbar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(252,250,246,0.92);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--ink);
}
.topbar .inner {
  max-width: 1280px; margin: 0 auto; padding: 14px 56px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.topbar .brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; }
.topbar .brand .word { font-family: var(--display); font-style: italic; font-size: 22px; line-height: 1; letter-spacing: -0.01em; }
.topbar .brand .word .dot { color: var(--tomato); }
.topbar .brand-sub { font-family: var(--cond); font-weight: 700; font-size: 9.5px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-3); padding-left: 12px; border-left: 1px solid var(--rule-soft); }
.topbar .nav { display: flex; align-items: center; gap: 26px; }
.topbar .nav a { text-decoration: none; color: var(--ink-2); font-family: var(--cond); font-weight: 700; font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase; white-space: nowrap; }
.topbar .nav a:hover { color: var(--tomato); }
/* Pill CTAs in the nav need their own colours (specificity beats .topbar .nav a) */
.topbar .nav a.pill { color: var(--ink); }
.topbar .nav a.pill.solid { color: var(--paper-2); }
.topbar .nav a.pill.solid:hover { color: var(--paper-2); }
.topbar .nav a.pill:hover { color: var(--paper); }

/* Pill button */
.pill {
  appearance: none; cursor: pointer; display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--cond); font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; font-size: 11px;
  padding: 11px 18px; border-radius: 999px;
  border: 1px solid var(--ink); background: transparent; color: var(--ink);
  white-space: nowrap; line-height: 1; text-decoration: none;
  transition: background 0.12s, color 0.12s, border-color 0.12s;
}
.pill:hover { background: var(--ink); color: var(--paper); }
.pill.solid { background: var(--tomato); color: var(--paper-2); border-color: var(--tomato); }
.pill.solid:hover { background: var(--rust); border-color: var(--rust); color: var(--paper-2); }
.pill.lg { padding: 14px 22px; font-size: 12px; letter-spacing: 0.16em; }
.pill .sep { width: 3px; height: 3px; border-radius: 50%; background: currentColor; opacity: 0.55; }
.pill .price { font-family: var(--cond); font-weight: 700; letter-spacing: 0.06em; }

/* Editorial rules + eyebrows */
.sec-rule {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 24px; padding-bottom: 12px; border-bottom: 1px solid var(--ink);
  margin-bottom: 40px; position: relative; z-index: 2;
}
.sec-rule .l { display: flex; align-items: baseline; gap: 16px; }
.sec-rule .num { font-family: var(--mono); font-size: 11px; color: var(--tomato); letter-spacing: 0.08em; }
.sec-rule .lbl { font-family: var(--cond); font-weight: 700; text-transform: uppercase; letter-spacing: 0.24em; font-size: 11px; }
.sec-rule .r { font-family: var(--display); font-style: italic; font-size: 15px; color: var(--ink-3); }

/* ─────────────────────────────────────────────────────────
   BLOB MOTIF — riso disc clusters used as background texture
   ───────────────────────────────────────────────────────── */
.blob-bg { position: absolute; pointer-events: none; z-index: 0; }
.blob {
  position: absolute; border-radius: 50%;
  mix-blend-mode: multiply;
  opacity: 1;
}
/* Cluster blobs INSIDE small mockups (canvas devices, laptop) stay solid —
   they're the brand motif at intimate scale, not a background wash. */
.canvas-cluster .blob,
.d-canvas .cluster .blob { opacity: 1; }

.blob.tomato   { background: var(--tomato); }
.blob.teal     { background: var(--teal); }
.blob.mustard  { background: var(--mustard); }
.blob.lavender { background: var(--lavender); }
.blob.rust     { background: var(--rust); }

/* Standard "cluster" composition — drop into any container at a position */
.cluster {
  position: absolute; pointer-events: none; z-index: 0;
  width: 480px; height: 480px;
}
.cluster .blob.b1 { top: 4%;  left: 18%; width: 56%; height: 56%; background: var(--tomato); }
.cluster .blob.b2 { top: 32%; left: 4%;  width: 40%; height: 40%; background: var(--teal); }
.cluster .blob.b3 { top: 44%; left: 44%; width: 42%; height: 42%; background: var(--mustard); }
.cluster .blob.b4 { top: 64%; left: 20%; width: 22%; height: 22%; background: var(--lavender); }

/* ─────────────────────────────────────────────────────────
   HERO — laptop + phone hardware showcase
   ───────────────────────────────────────────────────────── */
.hero { position: relative; padding: 56px 0 32px; overflow: hidden; }
.hero .inner {
  max-width: 1280px; margin: 0 auto; padding: 0 56px;
  display: grid; grid-template-columns: 1fr 1.05fr; gap: 48px;
  align-items: center;
  position: relative; z-index: 2;
}
.hero .l { position: relative; z-index: 3; }
.hero .feat { display: flex; align-items: baseline; gap: 14px; margin-bottom: 22px; }
.hero .feat .fnum { font-family: var(--mono); color: var(--tomato); font-size: 11px; letter-spacing: 0.08em; }
.hero .feat .fl { font-family: var(--cond); font-weight: 700; text-transform: uppercase; letter-spacing: 0.20em; font-size: 11px; color: var(--ink-2); }

.hero h1 {
  font-family: var(--display); font-style: italic; font-weight: 400;
  font-size: 76px; line-height: 0.96; letter-spacing: -0.025em;
  margin: 0 0 24px; max-width: 560px;
}
.hero h1 .accent { color: var(--tomato); }
.hero .lede {
  font-family: var(--sans); font-size: 18px; line-height: 1.6;
  color: var(--ink-2); margin: 0 0 28px; max-width: 480px;
}
.hero .lede em { color: var(--tomato); font-style: italic; }
.hero .cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero .cta-meta { font-family: var(--mono); font-size: 10.5px; color: var(--ink-3); letter-spacing: 0.08em; text-transform: uppercase; margin-top: 16px; }

/* Mobile-only "Try the demo" — sits below the product mockup on small screens. Hidden by default. */
.hero-mobile-cta { display: none; }

/* Hero background blob cluster — sits behind the devices */
.hero .hero-blobs {
  position: absolute; right: -80px; top: 40px; width: 720px; height: 720px;
  pointer-events: none; z-index: 1;
}
.hero .hero-blobs .blob.b1 { top: 30px;  right: 80px;  width: 320px; height: 320px; background: var(--tomato); }
.hero .hero-blobs .blob.b2 { top: 200px; right: 280px; width: 220px; height: 220px; background: var(--teal); }
.hero .hero-blobs .blob.b3 { top: 320px; right: 60px;  width: 240px; height: 240px; background: var(--mustard); }
.hero .hero-blobs .blob.b4 { top: 420px; right: 240px; width: 120px; height: 120px; background: var(--lavender); }

/* ── Device stage in hero ─── */
.hero .r {
  position: relative; z-index: 2;
  min-height: 520px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.device-stage { position: relative; width: 100%; max-width: 640px; }
.hero-demo-link { width: 100%; max-width: 640px; display: flex; justify-content: flex-end; margin-top: 16px; }

/* Laptop — browser chrome + canvas page + chat rail */
.laptop {
  background: var(--ink); border-radius: 14px;
  padding: 8px 8px 0;
  box-shadow: 0 1px 0 rgba(0,0,0,0.15), 0 30px 50px -28px rgba(0,0,0,0.45);
  position: relative; z-index: 2;
}
.laptop-screen {
  background: var(--paper); border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  display: grid; grid-template-rows: 28px 1fr;
  position: relative;
}
.laptop-screen::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.08  0 0 0 0 0.07  0 0 0 0 0.05  0 0 0 0.55 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  background-size: 240px 240px; mix-blend-mode: multiply; opacity: 0.25;
  z-index: 50;
}
.laptop .chrome {
  background: var(--paper-2); border-bottom: 1px solid var(--rule-soft);
  display: flex; align-items: center; padding: 0 12px; gap: 10px;
}
.laptop .chrome .tl { display: flex; gap: 6px; }
.laptop .chrome .tl span { width: 10px; height: 10px; border-radius: 50%; background: var(--ink-3); opacity: 0.6; }
.laptop .chrome .tl span:nth-child(1) { background: #e06457; opacity: 0.88; }
.laptop .chrome .tl span:nth-child(2) { background: #e2b14a; opacity: 0.88; }
.laptop .chrome .tl span:nth-child(3) { background: #5fb46b; opacity: 0.88; }
.laptop .chrome .url {
  flex: 1; text-align: center;
  font-family: var(--mono); font-size: 10px; color: var(--ink-3); letter-spacing: 0.04em;
}
/* Foot/stand — subtle wedge underneath */
.laptop::after {
  content: ""; display: block;
  margin: 6px auto 0; width: 32%; height: 12px;
  background: var(--ink-2); border-radius: 0 0 8px 8px;
  box-shadow: 0 6px 12px -4px rgba(0,0,0,0.3);
}

/* Three-column inside laptop: TOC | canvas | chat rail */
.laptop-body {
  display: grid; grid-template-columns: 130px 1fr 150px;
  height: 100%; min-height: 0;
}

/* ── Left rail: table of contents + pulse ─── */
.laptop-toc {
  border-right: 1px solid var(--rule-soft); background: var(--paper-2);
  padding: 12px 10px;
  display: flex; flex-direction: column; min-height: 0;
}
.laptop-toc .toc-head { display: flex; align-items: baseline; justify-content: space-between; gap: 6px; padding-bottom: 6px; border-bottom: 1px solid var(--ink); font-family: var(--cond); font-weight: 700; font-size: 7.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 4px; }
.laptop-toc .toc-head .num { color: var(--tomato); font-family: var(--mono); }
.laptop-toc .toc-row { display: grid; grid-template-columns: 22px 1fr 6px; gap: 6px; align-items: center; padding: 4px 0; }
.laptop-toc .toc-row .rn { font-family: var(--mono); font-size: 6.5px; color: var(--ink-3); letter-spacing: 0.04em; line-height: 1.1; }
.laptop-toc .toc-row .rn b { color: var(--tomato); font-weight: 700; display: block; }
.laptop-toc .toc-row .rt { font-family: var(--sans); font-size: 9px; color: var(--ink); }
.laptop-toc .toc-row .rd { width: 5px; height: 5px; border-radius: 50%; background: var(--teal); justify-self: end; }
.laptop-toc .toc-row .rd.warn { background: var(--mustard); }
.laptop-toc .toc-row.on { background: var(--paper-3); margin: 0 -10px; padding: 4px 10px; }
.laptop-toc .toc-pulse { margin-top: auto; padding-top: 8px; border-top: 1px solid var(--ink); }
.laptop-toc .toc-pulse .h { display: flex; justify-content: space-between; font-family: var(--cond); font-weight: 700; font-size: 7.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-2); }
.laptop-toc .toc-pulse .h .n { color: var(--tomato); font-family: var(--mono); }
.laptop-toc .toc-pulse .h .live { color: var(--teal); }
.laptop-toc .toc-pulse .num { font-family: var(--display); font-style: italic; font-size: 22px; line-height: 1; margin-top: 6px; }
.laptop-toc .toc-pulse .num .of { font-family: var(--display); font-style: italic; font-size: 11px; color: var(--ink-3); margin-left: 2px; }
.laptop-toc .toc-pulse .track { height: 3px; background: var(--paper); margin-top: 4px; position: relative; }
.laptop-toc .toc-pulse .track .fill { position: absolute; left: 0; top: 0; bottom: 0; width: 63%; background: var(--tomato); }
.laptop-toc .toc-pulse .pulse-meta { font-family: var(--mono); font-size: 7px; color: var(--ink-3); letter-spacing: 0.06em; margin-top: 5px; display: flex; justify-content: space-between; text-transform: uppercase; }
.laptop-canvas { padding: 18px 20px 0; position: relative; overflow: hidden; min-height: 0; }
.laptop-canvas .mast {
  display: flex; justify-content: space-between; align-items: baseline;
  padding-bottom: 8px; border-bottom: 2px double var(--ink);
  font-family: var(--cond); font-weight: 700; font-size: 8.5px; letter-spacing: 0.18em; text-transform: uppercase;
}
.laptop-canvas .mast .r { font-family: var(--mono); font-size: 8px; letter-spacing: 0.08em; color: var(--ink-2); }
.laptop-canvas .feat { display: flex; align-items: baseline; gap: 8px; margin: 12px 0 6px; position: relative; z-index: 3; }
.laptop-canvas .feat .fn { font-family: var(--mono); font-weight: 700; color: var(--tomato); font-size: 8.5px; letter-spacing: 0.08em; }
.laptop-canvas .feat .fl { font-family: var(--cond); font-weight: 700; font-size: 8px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-2); }
.laptop-canvas h2.name {
  position: relative; z-index: 3;
  font-family: var(--display); font-style: italic; font-weight: 400;
  font-size: 88px; line-height: 0.86; letter-spacing: -0.025em; margin: 0;
}
.laptop-canvas h2.name .dot { color: var(--tomato); }
.laptop-canvas .by { margin-top: 8px; position: relative; z-index: 3; }
.laptop-canvas .by .nm { font-family: var(--cond); font-weight: 700; text-transform: uppercase; letter-spacing: 0.16em; font-size: 9.5px; }
.laptop-canvas .by .meta { font-family: var(--mono); font-size: 8.5px; color: var(--ink-2); letter-spacing: 0.06em; text-transform: uppercase; line-height: 1.6; margin-top: 3px; }
.laptop-canvas .ribbon {
  display: flex; align-items: baseline; gap: 10px;
  margin-top: 14px; padding: 5px 0;
  border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink);
}
.laptop-canvas .ribbon .n { font-family: var(--mono); font-weight: 700; color: var(--tomato); font-size: 8px; letter-spacing: 0.08em; }
.laptop-canvas .ribbon .l { font-family: var(--cond); font-weight: 700; font-size: 8.5px; letter-spacing: 0.18em; text-transform: uppercase; }
.laptop-canvas .ribbon .sp { flex: 1; }
.laptop-canvas .ribbon .stars { color: var(--tomato); font-size: 10px; letter-spacing: 1px; }
.laptop-canvas .ribbon .stars .off { color: var(--ink-3); opacity: 0.45; }
.laptop-canvas .ribbon .folio { font-family: var(--mono); font-size: 8px; color: var(--ink-3); letter-spacing: 0.06em; }

/* Riso cluster anchored inside canvas */
.laptop-canvas .canvas-cluster { position: absolute; top: 30px; right: -32px; width: 200px; height: 200px; }
.laptop-canvas .canvas-cluster .blob { position: absolute; border-radius: 50%; mix-blend-mode: multiply; }
.laptop-canvas .canvas-cluster .b1 { top: 0;   right: 30px;  width: 130px; height: 130px; background: var(--tomato); }
.laptop-canvas .canvas-cluster .b2 { top: 50px; right: 110px; width: 100px; height: 100px; background: var(--teal); }
.laptop-canvas .canvas-cluster .b3 { top: 90px; right: 40px;  width: 80px;  height: 80px;  background: var(--mustard); }
.laptop-canvas .canvas-cluster .b4 { top: 130px; right: 90px; width: 38px;  height: 38px;  background: var(--lavender); }

/* Right rail in laptop — Career Consultant chat */
.laptop-rail {
  border-left: 1px solid var(--rule-soft); background: var(--paper-2);
  padding: 14px 12px 12px;
  display: flex; flex-direction: column; min-height: 0;
}
.laptop-rail .head { font-family: var(--display); font-style: italic; font-size: 13px; line-height: 1; padding-bottom: 6px; border-bottom: 1px solid var(--rule-soft); margin-bottom: 8px; }
.laptop-rail .head .dot { color: var(--tomato); }
.laptop-rail .head .sub { font-family: var(--mono); font-size: 7.5px; color: var(--ink-3); letter-spacing: 0.08em; display: block; margin-top: 4px; font-style: normal; text-transform: uppercase; }
.laptop-rail .messages { display: flex; flex-direction: column; gap: 6px; flex: 1; overflow: hidden; }
.laptop-rail .m {
  font-family: var(--sans); font-size: 8.5px; line-height: 1.45;
  padding: 6px 8px; border-radius: 8px; max-width: 96%;
}
.laptop-rail .m.them { background: var(--paper); align-self: flex-start; color: var(--ink); }
.laptop-rail .m.them .pull { font-family: var(--display); font-style: italic; font-size: 10px; display: block; margin-bottom: 3px; line-height: 1.3; }
.laptop-rail .m.me { background: var(--ink); color: var(--paper); align-self: flex-end; }
.laptop-rail .input {
  margin-top: 8px; padding: 5px 8px; border: 1px solid var(--ink); border-radius: 999px;
  display: flex; align-items: center; justify-content: space-between; gap: 6px;
  background: var(--paper);
}
.laptop-rail .input .ph { font-family: var(--sans); font-size: 8px; color: var(--ink-3); }
.laptop-rail .input .send { width: 14px; height: 14px; border-radius: 50%; background: var(--tomato); color: var(--paper); display: flex; align-items: center; justify-content: center; font-size: 7px; line-height: 1; }

/* Phone overlay — sits in front of laptop on the right */
.phone-overlay {
  position: absolute; right: -20px; bottom: -34px;
  width: 30%; max-width: 180px; z-index: 4;
  transform: rotate(2deg);
}

/* ─────────────────────────────────────────────────────────
   DEVICE — thin curved-edge phone (no notch / no status)
   Used in the staggered feature rows and the hero overlay.
   ───────────────────────────────────────────────────────── */
.device {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--ink);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(0,0,0,0.05), 0 24px 44px -28px rgba(0,0,0,0.35);
  display: flex; flex-direction: column;
  aspect-ratio: 240 / 480;
}
.device::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 40;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.08  0 0 0 0 0.07  0 0 0 0 0.05  0 0 0 0.55 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  background-size: 240px 240px; mix-blend-mode: multiply; opacity: 0.22;
}

/* Top-of-screen chrome — brand + actions (mirrors the real app) */
.device .scr-top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 14px 10px; flex-shrink: 0; gap: 8px;
}
.device .scr-top .brand { display: flex; align-items: center; gap: 6px; font-family: var(--display); font-style: italic; font-size: 13px; line-height: 1; }
.device .scr-top .brand .dot { color: var(--tomato); }
.device .scr-top .mark { width: 18px; height: 18px; border-radius: 50%; background: var(--tomato); display: flex; align-items: center; justify-content: center; color: var(--paper); font-family: var(--display); font-style: italic; font-size: 14px; line-height: 1; flex-shrink: 0; }
.device .scr-top .label { font-family: var(--cond); font-weight: 700; font-size: 9px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink); }
.device .scr-top .label .n { color: var(--tomato); font-family: var(--mono); margin-right: 5px; }
.device .scr-top .back { font-family: var(--cond); font-weight: 700; font-size: 8.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-2); border: 1px solid var(--ink); padding: 4px 8px; border-radius: 5px; }
.device .scr-top .ic-btn {
  width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--ink); background: transparent;
  display: flex; align-items: center; justify-content: center; font-family: var(--mono); font-size: 11px; line-height: 1; color: var(--ink); flex-shrink: 0;
}
.device .scr-top .ic-btn.solid { background: var(--ink); color: var(--paper); }

.device .scr-eyebrow { display: flex; align-items: baseline; gap: 8px; padding: 4px 14px 0; flex-shrink: 0; }
.device .scr-eyebrow .n { font-family: var(--mono); font-weight: 700; color: var(--tomato); font-size: 9.5px; letter-spacing: 0.08em; }
.device .scr-eyebrow .l { font-family: var(--cond); font-weight: 700; font-size: 9.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-2); }

.device .scr-h1 { font-family: var(--display); font-style: italic; font-weight: 400; font-size: 26px; line-height: 1; letter-spacing: -0.015em; padding: 6px 14px 12px; margin: 0; flex-shrink: 0; }
.device .scr-h1 .dot { color: var(--tomato); }
.device .scr-lede { font-family: var(--sans); font-size: 10.5px; line-height: 1.45; color: var(--ink-2); padding: 0 14px 12px; flex-shrink: 0; margin: 0; }

/* Top-level horizontal tabs */
.device .scr-tab { display: flex; gap: 0; padding: 0 14px 10px; flex-shrink: 0; }
.device .scr-tab .t { flex: 1; text-align: center; padding: 7px 4px; font-family: var(--cond); font-weight: 700; font-size: 8px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); border: 1px solid var(--rule-soft); border-right-width: 0; }
.device .scr-tab .t:last-child { border-right-width: 1px; }
.device .scr-tab .t.on { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* Pill-style tabs (Punchy / Editorial / Story) */
.device .scr-pills { display: flex; gap: 5px; padding: 0 14px 10px; flex-shrink: 0; }
.device .scr-pills .t { flex: 1; text-align: center; padding: 5px 4px; font-family: var(--cond); font-weight: 700; font-size: 8px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-2); border: 1px solid var(--ink); border-radius: 999px; }
.device .scr-pills .t.on { background: var(--ink); color: var(--paper); }

.device .scr-input {
  margin: 0 12px 12px; padding: 8px 10px; border: 1px solid var(--ink); border-radius: 999px;
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  background: var(--paper); flex-shrink: 0;
}
.device .scr-input .ph { font-family: var(--sans); font-size: 10.5px; color: var(--ink-3); }
.device .scr-input .send { width: 20px; height: 20px; border-radius: 50%; background: var(--tomato); color: var(--paper); display: flex; align-items: center; justify-content: center; font-size: 10px; line-height: 1; flex-shrink: 0; }

/* Bottom tab bar — 5 items (matches the live app: Canvas / Coach / Compass / Studio / Health) */
.device .tabbar {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 0;
  border-top: 1px solid var(--rule-soft); background: var(--paper);
  padding: 6px 4px 8px; margin-top: auto; flex-shrink: 0;
  position: relative; z-index: 30;
}
.device .tabbar .item { display: flex; flex-direction: column; align-items: center; gap: 3px; color: var(--ink-3); padding: 2px 1px; }
.device .tabbar .item .ic { width: 13px; height: 13px; display: flex; align-items: center; justify-content: center; }
.device .tabbar .item .ic svg { width: 100%; height: 100%; display: block; stroke: currentColor; fill: none; }
.device .tabbar .item .lbl { font-family: var(--cond); font-weight: 700; font-size: 6.5px; letter-spacing: 0.10em; text-transform: uppercase; }
.device .tabbar .item.on { color: var(--tomato); }

/* ─────────────────────────────────────────────────────────
   FEATURES — staggered text/image rows
   ───────────────────────────────────────────────────────── */
.features { padding: 48px 0 32px; position: relative; overflow: hidden; }
.features::before {
  /* Top divider removed — hero flows into features without a line. */
  content: none;
}
.features .head { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: end; margin-bottom: 64px; position: relative; z-index: 2; }
.features .head h2 { font-family: var(--display); font-style: italic; font-weight: 400; font-size: 64px; line-height: 0.95; letter-spacing: -0.02em; margin: 0; }
.features .head h2 .dot { color: var(--tomato); }
.features .head .copy { font-family: var(--sans); font-style: normal; font-size: 18px; line-height: 1.6; color: var(--ink-2); max-width: 480px; }
.features .head .copy em { color: var(--tomato); }

/* Decorative cluster behind the features intro */
.features .head-blobs { position: absolute; top: 80px; right: -40px; width: 360px; height: 360px; pointer-events: none; z-index: 0; }
.features .head-blobs .blob.b1 { top: 0;   right: 0;   width: 200px; height: 200px; background: var(--tomato); }
.features .head-blobs .blob.b2 { top: 80px; right: 140px; width: 160px; height: 160px; background: var(--teal); }
.features .head-blobs .blob.b3 { top: 180px; right: 40px; width: 140px; height: 140px; background: var(--mustard); }

.feat-row {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
  padding: 64px 0;
  border-top: 1px solid var(--rule-soft);
  position: relative;
}
/* No bottom rule on the last feature row — it would draw a line right above the process section. */
.feat-row:last-child { border-bottom: none; }
.feat-row.image-left .text { order: 2; }
.feat-row.image-left .visual { order: 1; }
.feat-row .text { max-width: 480px; }
.feat-row .num { font-family: var(--mono); font-weight: 700; color: var(--tomato); font-size: 12px; letter-spacing: 0.08em; margin-bottom: 14px; }
.feat-row h3 { font-family: var(--display); font-style: italic; font-weight: 400; font-size: 56px; line-height: 1; letter-spacing: -0.02em; margin: 0 0 18px; }
.feat-row h3 .dot { color: var(--tomato); }
.feat-row p.lede { font-family: var(--sans); font-size: 18px; line-height: 1.6; color: var(--ink); margin: 0 0 14px; }
.feat-row p.lede em { color: var(--tomato); }
.feat-row p.body { font-family: var(--sans); font-size: 14.5px; line-height: 1.65; color: var(--ink-2); margin: 0 0 18px; max-width: 440px; }
.feat-row .meta { font-family: var(--cond); font-weight: 700; font-size: 10px; letter-spacing: 0.20em; text-transform: uppercase; color: var(--ink-3); display: flex; align-items: center; gap: 16px; padding-top: 14px; border-top: 1px solid var(--rule-soft); }
.feat-row .meta .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--tomato); }

.feat-row .visual { position: relative; display: flex; align-items: center; justify-content: center; min-height: 480px; }
.feat-row .visual .row-blobs { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.feat-row .device { width: 320px; max-width: 100%; z-index: 2; position: relative; }
.feat-row .app-shot { width: 320px; max-width: 100%; z-index: 2; }

/* In-context Consultant mock — matches the visual treatment of the cropped
   product screenshots (paper bg, in-app header, bottom tab nav). Sized to
   the same ~1135/1992 aspect ratio so it sits at the same height as the
   real screenshots in the staggered feature row. */
.consult-shot {
  position: relative;
  width: 320px; max-width: 100%;
  aspect-ratio: 1135 / 1992;
  background: var(--paper-2);
  border: 1px solid var(--ink);
  border-radius: 22px;
  overflow: hidden;
  z-index: 2;
  display: flex; flex-direction: column;
  box-shadow: 0 1px 0 rgba(0,0,0,0.05), 0 24px 44px -28px rgba(0,0,0,0.35);
}
.consult-shot::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 40;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.08  0 0 0 0 0.07  0 0 0 0 0.05  0 0 0 0.55 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  background-size: 240px 240px; mix-blend-mode: multiply; opacity: 0.18;
}

/* Top section header — mirrors the live app (rule / label + ×  / rule) */
.consult-shot .head {
  padding: 14px 16px 10px;
  border-bottom: 1px solid var(--ink);
}
.consult-shot .head::before {
  content: ""; display: block; height: 1px; background: var(--ink);
  margin-bottom: 10px;
}
.consult-shot .head .row {
  display: flex; align-items: center; justify-content: space-between;
}
.consult-shot .head .label {
  font-family: var(--cond); font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase; font-size: 10.5px;
  color: var(--ink);
}
.consult-shot .head .label .n {
  font-family: var(--mono); font-weight: 700;
  color: var(--tomato); margin-right: 8px;
}
.consult-shot .head .close {
  width: 26px; height: 26px; border-radius: 50%;
  border: 1px solid var(--ink); display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: 13px; line-height: 1; color: var(--ink);
}

/* Persona ribbon — "FOCUS · POSITIONING · ALEX" */
.consult-shot .persona {
  padding: 10px 16px;
  display: flex; align-items: center; gap: 8px;
  font-family: var(--cond); font-weight: 700;
  font-size: 9px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3);
  border-bottom: 1px solid var(--rule-soft);
}
.consult-shot .persona .pin {
  font-family: var(--cond); font-weight: 700;
  letter-spacing: 0.14em; font-size: 9px;
  padding: 3px 8px; border-radius: 999px;
  background: var(--tomato); color: var(--paper);
}
.consult-shot .persona .who {
  margin-left: auto;
  font-family: var(--mono); font-size: 9px; letter-spacing: 0.06em; color: var(--ink-2);
}

/* Chat body */
.consult-shot .messages {
  flex: 1; min-height: 0; padding: 14px 14px 8px;
  display: flex; flex-direction: column; gap: 10px; overflow: hidden;
}
.consult-shot .m {
  font-family: var(--sans); font-size: 11.5px; line-height: 1.5;
  padding: 10px 12px; border-radius: 14px; max-width: 92%;
}
.consult-shot .m.me {
  background: var(--ink); color: var(--paper); align-self: flex-end;
  border-bottom-right-radius: 4px;
}
.consult-shot .m.them {
  background: var(--paper); color: var(--ink); align-self: flex-start;
  border: 1px solid var(--rule-soft);
  border-bottom-left-radius: 4px;
}
.consult-shot .m.them .pull {
  display: block; font-family: var(--display); font-style: italic;
  font-size: 14px; line-height: 1.3; color: var(--tomato); margin-bottom: 5px;
}
.consult-shot .m .meta {
  display: block; margin-top: 6px;
  font-family: var(--mono); font-size: 8.5px; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--ink-3);
}
.consult-shot .m.them .meta { color: var(--ink-3); }
.consult-shot .m.me .meta { color: rgba(236,226,203,0.7); }

/* Input */
.consult-shot .input {
  margin: 6px 12px 10px;
  padding: 9px 12px;
  border: 1px solid var(--ink); border-radius: 999px;
  background: var(--paper);
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  flex-shrink: 0;
}
.consult-shot .input .ph {
  font-family: var(--sans); font-size: 10.5px; color: var(--ink-3);
}
.consult-shot .input .send {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--tomato); color: var(--paper);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--cond); font-size: 11px; font-weight: 700; line-height: 1;
}

/* Bottom tab nav — mirrors the in-app tab bar shown in the other shots */
.consult-shot .tabbar {
  border-top: 1px solid var(--rule-soft);
  display: grid; grid-template-columns: repeat(6, 1fr);
  padding: 6px 4px 8px;
  flex-shrink: 0; background: var(--paper-2);
}
.consult-shot .tabbar .t {
  text-align: center; padding: 4px 2px;
  font-family: var(--cond); font-weight: 700;
  font-size: 7px; letter-spacing: 0.10em; text-transform: uppercase;
  color: var(--ink-3); line-height: 1.4;
}
.consult-shot .tabbar .t.on { color: var(--tomato); }
.consult-shot .tabbar .t::before {
  content: ""; display: block;
  width: 12px; height: 12px; margin: 0 auto 4px;
  border: 1px solid currentColor; border-radius: 3px;
}

/* App screenshots — drop-in replacement for HTML device mockups,
   keeps the thin curved-edge frame language so they sit on the page the same way. */
.app-shot {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--ink);
  border-radius: 22px;
  box-shadow: 0 1px 0 rgba(0,0,0,0.05), 0 24px 44px -28px rgba(0,0,0,0.4);
  overflow: hidden;
  /* Match the screenshot's interior paper colour so any sub-pixel gap
     between the image and the rounded border doesn't show the lighter
     page background as a white strip. */
  background: var(--paper-2);
}
.laptop-screen > a { display: block; height: 100%; overflow: hidden; }
.laptop-screen img.laptop-screen-img {
  display: block; width: 100%; height: 100%;
  object-fit: cover; object-position: top center;
}
.phone-overlay .app-shot { width: 100%; max-width: none; }

/* Per-row blob accents — pulled from the riso palette so they all feel related */
.feat-row.r1 .row-blobs .blob.b1 { top: 18%; left: 8%;  width: 260px; height: 260px; background: var(--tomato); }
.feat-row.r1 .row-blobs .blob.b2 { top: 50%; left: 50%; width: 180px; height: 180px; background: var(--teal); }

.feat-row.r2 .row-blobs .blob.b1 { top: 8%;  right: 10%; width: 280px; height: 280px; background: var(--mustard); }
.feat-row.r2 .row-blobs .blob.b2 { top: 40%; right: 36%; width: 200px; height: 200px; background: var(--tomato); }
.feat-row.r2 .row-blobs .blob.b3 { bottom: 0%; right: 0%; width: 140px; height: 140px; background: var(--teal); }

.feat-row.r3 .row-blobs .blob.b1 { top: 10%; left: 50%; width: 260px; height: 260px; background: var(--teal); }
.feat-row.r3 .row-blobs .blob.b2 { top: 40%; left: 12%; width: 200px; height: 200px; background: var(--tomato); }

.feat-row.r4 .row-blobs .blob.b1 { top: 8%;  right: 18%; width: 280px; height: 280px; background: var(--lavender); }
.feat-row.r4 .row-blobs .blob.b2 { top: 38%; right: 8%;  width: 200px; height: 200px; background: var(--tomato); }
.feat-row.r4 .row-blobs .blob.b3 { top: 56%; right: 38%; width: 120px; height: 120px; background: var(--mustard); }

.feat-row.r5 .row-blobs .blob.b1 { top: 10%; left: 18%; width: 280px; height: 280px; background: var(--mustard); }
.feat-row.r5 .row-blobs .blob.b2 { top: 36%; left: 50%; width: 220px; height: 220px; background: var(--tomato); }
.feat-row.r5 .row-blobs .blob.b3 { bottom: 8%; left: 4%; width: 140px; height: 140px; background: var(--teal); }

/* ─────────────────────────────────────────────────────────
   DEVICE inner content — same names as before, no notch.
   ───────────────────────────────────────────────────────── */

/* ─── Consultant device (AI Coach) ─── */
.d-consult .messages { padding: 4px 14px 0; display: flex; flex-direction: column; gap: 8px; overflow: hidden; flex: 1; min-height: 0; }
.d-consult .m { font-family: var(--sans); font-size: 10.5px; line-height: 1.5; padding: 8px 10px; border-radius: 12px; max-width: 92%; }
.d-consult .m.them { background: var(--paper-2); align-self: flex-start; }
.d-consult .m.them .pull { font-family: var(--display); font-style: italic; font-size: 13px; display: block; margin-bottom: 4px; line-height: 1.3; }
.d-consult .m.me { background: var(--ink); color: var(--paper); align-self: flex-end; }
.d-consult .focus-row {
  display: flex; align-items: center; gap: 6px; padding: 6px 14px;
  font-family: var(--mono); font-size: 8.5px; letter-spacing: 0.08em; color: var(--ink-3); text-transform: uppercase; flex-shrink: 0; margin-top: 4px;
}
.d-consult .focus-row .pill-mini {
  font-family: var(--cond); font-weight: 700; font-size: 7.5px; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 3px 7px; border-radius: 999px; background: var(--tomato); color: var(--paper);
}

/* ─── Canvas device ─── */
.d-canvas .mast { display: flex; align-items: baseline; justify-content: space-between; padding: 8px 14px; border-top: 1px solid var(--ink); border-bottom: 2.5px double var(--ink); font-family: var(--cond); font-weight: 700; font-size: 8px; letter-spacing: 0.16em; text-transform: uppercase; flex-shrink: 0; }
.d-canvas .mast .r { font-family: var(--mono); font-size: 7.5px; letter-spacing: 0.06em; color: var(--ink-2); text-transform: none; }
.d-canvas .cover { position: relative; padding: 12px 14px 14px; flex-shrink: 0; }
.d-canvas .cover .feat { display: flex; align-items: baseline; gap: 7px; margin-bottom: 8px; position: relative; z-index: 3; }
.d-canvas .cover .feat .fn { font-family: var(--mono); font-weight: 700; color: var(--tomato); font-size: 8px; letter-spacing: 0.08em; }
.d-canvas .cover .feat .fl { font-family: var(--cond); font-weight: 700; font-size: 7px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-2); }
.d-canvas .cover h3 { position: relative; z-index: 3; font-family: var(--display); font-style: italic; font-weight: 400; font-size: 56px; line-height: 0.88; margin: 0 0 12px; letter-spacing: -0.025em; }
.d-canvas .cover h3 .dot { color: var(--tomato); }
.d-canvas .cover .by { position: relative; z-index: 3; }
.d-canvas .cover .by .nm { font-family: var(--cond); font-weight: 700; font-size: 9px; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 3px; }
.d-canvas .cover .by .meta { font-family: var(--mono); font-size: 7.5px; color: var(--ink-2); letter-spacing: 0.06em; text-transform: uppercase; line-height: 1.6; }
.d-canvas .cluster { position: absolute; top: 0; right: -12px; width: 130px; height: 130px; pointer-events: none; z-index: 1; }
.d-canvas .cluster .blob { position: absolute; border-radius: 50%; mix-blend-mode: multiply; }
.d-canvas .cluster .b1 { top: 4px;  right: 10px; width: 86px; height: 86px; background: var(--tomato); }
.d-canvas .cluster .b2 { top: 26px; right: 56px; width: 64px; height: 64px; background: var(--teal); }
.d-canvas .cluster .b3 { top: 50px; right: 18px; width: 52px; height: 52px; background: var(--mustard); }
.d-canvas .cluster .b4 { top: 76px; right: 50px; width: 22px; height: 22px; background: var(--lavender); }
.d-canvas .ribbon { display: flex; align-items: baseline; gap: 8px; padding: 6px 14px; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); flex-shrink: 0; }
.d-canvas .ribbon .n { font-family: var(--mono); font-weight: 700; color: var(--tomato); font-size: 8px; letter-spacing: 0.08em; }
.d-canvas .ribbon .l { font-family: var(--cond); font-weight: 700; font-size: 8px; letter-spacing: 0.14em; text-transform: uppercase; }
.d-canvas .ribbon .sp { flex: 1; }
.d-canvas .ribbon .stars { color: var(--tomato); font-size: 10px; letter-spacing: 0.5px; }
.d-canvas .ribbon .stars .off { color: var(--ink-3); opacity: 0.4; }
.d-canvas .ribbon .folio { font-family: var(--mono); font-size: 7.5px; color: var(--ink-3); letter-spacing: 0.06em; }
.d-canvas .intro { padding: 10px 14px 14px; flex: 1; min-height: 0; overflow: hidden; }
.d-canvas .intro h4 { font-family: var(--display); font-style: italic; font-size: 17px; line-height: 1.05; margin: 0 0 8px; }
.d-canvas .intro .role { background: var(--paper-2); padding: 8px 10px; border: 1px solid var(--rule-soft); }
.d-canvas .intro .role .rn { font-family: var(--mono); font-weight: 700; color: var(--tomato); font-size: 7.5px; letter-spacing: 0.08em; margin-bottom: 3px; }
.d-canvas .intro .role .rt { font-family: var(--display); font-style: italic; font-size: 13px; line-height: 1.15; margin-bottom: 4px; }
.d-canvas .intro .role .rb { font-family: var(--sans); font-size: 9px; line-height: 1.45; color: var(--ink-2); }

/* ─── Compass device — Pros / Cons style (matches the live app) ─── */
.d-compass .title-row { padding: 6px 14px 4px; flex-shrink: 0; }
.d-compass .title-row h4 { font-family: var(--display); font-style: italic; font-weight: 400; font-size: 22px; line-height: 1; margin: 0; letter-spacing: -0.015em; }
.d-compass .tag-row { display: flex; align-items: center; gap: 8px; padding: 6px 14px; flex-shrink: 0; }
.d-compass .tag-row .tag { background: rgba(63,120,120,0.14); color: var(--teal); font-family: var(--cond); font-weight: 700; font-size: 7.5px; letter-spacing: 0.14em; text-transform: uppercase; padding: 3px 7px; border-radius: 4px; }
.d-compass .tag-row .stars { color: var(--mustard); font-size: 11px; letter-spacing: 0.5px; }
.d-compass .tag-row .stars .off { color: var(--ink-3); opacity: 0.45; }
.d-compass .verdict { padding: 0 14px 8px; font-family: var(--cond); font-weight: 700; font-size: 8.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal); border-bottom: 1px solid var(--rule-soft); margin-bottom: 8px; flex-shrink: 0; }
.d-compass .box { margin: 0 14px 8px; padding: 8px 10px; border-radius: 3px; flex-shrink: 0; }
.d-compass .box.pros { background: rgba(63,120,120,0.10); }
.d-compass .box.cons { background: rgba(194,58,31,0.08); }
.d-compass .box .b-head { font-family: var(--cond); font-weight: 700; font-size: 8.5px; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 5px; }
.d-compass .box.pros .b-head { color: var(--teal); }
.d-compass .box.pros .b-head::before { content: "+ "; }
.d-compass .box.cons .b-head { color: var(--tomato); }
.d-compass .box.cons .b-head::before { content: "− "; }
.d-compass .box ul { list-style: none; margin: 0; padding: 0; }
.d-compass .box li { display: grid; grid-template-columns: 8px 1fr; gap: 5px; padding: 2px 0; font-family: var(--sans); font-size: 9px; color: var(--ink); line-height: 1.35; }
.d-compass .box li::before { content: "·"; font-family: var(--mono); color: var(--ink-3); font-weight: 700; }
.d-compass .analysis { padding: 4px 14px 0; display: flex; align-items: center; gap: 6px; font-family: var(--cond); font-weight: 700; font-size: 8.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-2); flex-shrink: 0; }
.d-compass .analysis::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); flex-shrink: 0; }
.d-compass .analysis-body { padding: 4px 14px 0; font-family: var(--sans); font-size: 9px; line-height: 1.45; color: var(--ink-2); flex-shrink: 0; }

/* ─── Studio device ─── */
.d-studio .out { margin: 0 14px 8px; padding: 12px; background: var(--paper-2); border: 1px solid var(--rule-soft); position: relative; flex: 1; min-height: 0; overflow: hidden; }
.d-studio .out::before {
  content: "''"; position: absolute; top: -3px; left: 8px;
  font-family: var(--display); font-style: italic; font-size: 32px; color: var(--tomato); line-height: 1;
}
.d-studio .out p { font-family: var(--display); font-style: italic; font-size: 12.5px; line-height: 1.45; color: var(--ink); margin: 4px 0 0; }
.d-studio .out p + p { margin-top: 6px; font-size: 11px; color: var(--ink-2); }
.d-studio .out .sig { display: flex; align-items: baseline; justify-content: space-between; margin-top: 8px; padding-top: 6px; border-top: 1px dashed var(--rule-soft); font-family: var(--mono); font-size: 8px; color: var(--ink-3); letter-spacing: 0.08em; text-transform: uppercase; }
.d-studio .actions { display: flex; gap: 6px; padding: 0 14px 8px; flex-shrink: 0; }
.d-studio .actions .a { flex: 1; text-align: center; padding: 6px; border: 1px solid var(--ink); border-radius: 999px; font-family: var(--cond); font-weight: 700; font-size: 8.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink); }
.d-studio .actions .a.solid { background: var(--tomato); color: var(--paper); border-color: var(--tomato); }

/* ─── Health Check device ─── */
.d-health .hc-score { margin: 0 14px 8px; padding: 10px 12px; border: 1px solid var(--rule-soft); background: var(--paper-2); flex-shrink: 0; }
.d-health .hc-score .grid { display: grid; grid-template-columns: auto 1fr; gap: 0 12px; align-items: start; }
.d-health .hc-score .col-l { border-right: 1px solid var(--rule-soft); padding-right: 12px; text-align: left; }
.d-health .hc-score .big { font-family: var(--display); font-style: italic; font-size: 32px; line-height: 0.92; color: var(--mustard); }
.d-health .hc-score .big .of { font-family: var(--display); font-style: italic; font-size: 13px; color: var(--ink-3); margin-left: 1px; }
.d-health .hc-score .lbl { font-family: var(--cond); font-weight: 700; font-size: 7px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); margin-top: 4px; }
.d-health .hc-score .col-r .h { font-family: var(--cond); font-weight: 700; font-size: 8px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal); margin-bottom: 5px; }
.d-health .hc-score .col-r .b { font-family: var(--sans); font-size: 9px; line-height: 1.45; color: var(--ink); }
.d-health .breakdown-head { padding: 4px 14px; font-family: var(--cond); font-weight: 700; font-size: 8.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); flex-shrink: 0; }
.d-health .bars { padding: 0 14px 4px; flex: 1; min-height: 0; overflow: hidden; }
.d-health .bar-row { padding: 5px 0; border-top: 1px solid var(--rule-soft); }
.d-health .bar-row .head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 3px; font-family: var(--sans); font-size: 9.5px; color: var(--ink); }
.d-health .bar-row .head .v { font-family: var(--mono); font-weight: 700; font-size: 9px; color: var(--teal); }
.d-health .bar-row .head .v.warn { color: var(--mustard); }
.d-health .bar-row .head .v.risk { color: var(--tomato); }
.d-health .bar-row .track { height: 4px; background: var(--paper-3); position: relative; }
.d-health .bar-row .fill { position: absolute; left: 0; top: 0; bottom: 0; background: var(--teal); }
.d-health .bar-row .fill.warn { background: var(--mustard); }
.d-health .bar-row .fill.risk { background: var(--tomato); }

/* ─────────────────────────────────────────────────────────
   PROCESS, TESTIMONIALS, PRICING, FAQ, CTA, FOOTER
   ───────────────────────────────────────────────────────── */
.process { padding: 48px 0 48px; position: relative; overflow: hidden; }
.process .head { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; margin-bottom: 56px; align-items: end; position: relative; z-index: 2; }
.process .head h2 { font-family: var(--display); font-style: italic; font-weight: 400; font-size: 64px; line-height: 0.95; letter-spacing: -0.02em; margin: 0; }
.process .head h2 .dot { color: var(--tomato); }
.process .head .copy { font-family: var(--display); font-style: italic; font-size: 19px; line-height: 1.45; color: var(--ink-2); max-width: 460px; }
.process .head .copy em { color: var(--tomato); }
.process .head-blobs { position: absolute; top: 40px; left: -60px; width: 360px; height: 360px; pointer-events: none; z-index: 0; }
.process .head-blobs .blob.b1 { top: 0;   left: 80px;  width: 220px; height: 220px; background: var(--lavender); }
.process .head-blobs .blob.b2 { top: 100px; left: 0;   width: 180px; height: 180px; background: var(--tomato); }
.process .head-blobs .blob.b3 { top: 200px; left: 140px; width: 140px; height: 140px; background: var(--mustard); }

.process .steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; position: relative; z-index: 2; }
.process .step { padding-top: 28px; border-top: 1px solid var(--ink); }
.process .step .num { font-family: var(--mono); font-weight: 700; color: var(--tomato); font-size: 13px; letter-spacing: 0.08em; margin-bottom: 18px; }
.process .step h3 { font-family: var(--display); font-style: italic; font-weight: 400; font-size: 32px; line-height: 1.02; margin: 0 0 12px; letter-spacing: -0.015em; }
.process .step p { font-family: var(--sans); font-size: 14px; line-height: 1.6; color: var(--ink-2); margin: 0; }
.process .step p em { font-family: var(--display); font-style: italic; color: var(--tomato); }
.process .step .meta { font-family: var(--mono); font-size: 10px; letter-spacing: 0.06em; color: var(--ink-3); margin-top: 16px; text-transform: uppercase; }

/* Testimonials */
.testimonials { display: block; background: var(--paper-2); padding: 96px 0; position: relative; overflow: hidden; }
.testimonials .head { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: end; margin-bottom: 40px; position: relative; z-index: 2; }
.testimonials .head h2 { font-family: var(--display); font-style: italic; font-weight: 400; font-size: 56px; line-height: 0.95; letter-spacing: -0.02em; margin: 0; }
.testimonials .head h2 .dot { color: var(--tomato); }
.testimonials .carousel-controls { display: flex; gap: 8px; }
.testimonials .arrow {
  appearance: none; cursor: pointer; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--ink); background: transparent; color: var(--ink);
  font-size: 16px; line-height: 1;
  display: flex; align-items: center; justify-content: center;
}
.testimonials .arrow:hover { background: var(--ink); color: var(--paper); }
.testimonials .head-blobs { position: absolute; top: 0; right: -60px; width: 380px; height: 380px; pointer-events: none; z-index: 0; }
.testimonials .head-blobs .blob.b1 { top: 20px;  right: 60px;  width: 240px; height: 240px; background: var(--teal); }
.testimonials .head-blobs .blob.b2 { top: 140px; right: 200px; width: 160px; height: 160px; background: var(--tomato); }
.testimonials .head-blobs .blob.b3 { top: 240px; right: 80px;  width: 120px; height: 120px; background: var(--mustard); }

.carousel { position: relative; z-index: 2; }
.carousel .track {
  display: flex; gap: 28px; overflow-x: auto; scroll-snap-type: x mandatory;
  scroll-behavior: smooth; padding-bottom: 18px;
  scrollbar-width: none;
}
.carousel .track::-webkit-scrollbar { display: none; }
.carousel .card {
  flex: 0 0 calc((100% - 28px * 2) / 3);
  scroll-snap-align: start;
  background: var(--paper); border: 1px solid var(--ink); padding: 36px 32px 28px;
  position: relative; display: flex; flex-direction: column; gap: 18px;
  min-height: 360px;
}
.carousel .card::before {
  content: "''"; position: absolute; top: 4px; left: 22px;
  font-family: var(--display); font-style: italic; font-size: 88px; color: var(--tomato); line-height: 1;
}
.carousel .card .num { font-family: var(--mono); font-weight: 700; color: var(--tomato); font-size: 10.5px; letter-spacing: 0.08em; position: relative; z-index: 2; margin-top: 28px; }
.carousel .card blockquote { margin: 0; font-family: var(--display); font-style: italic; font-size: 22px; line-height: 1.35; color: var(--ink); letter-spacing: -0.005em; flex: 1; }
.carousel .card blockquote em { color: var(--tomato); font-style: italic; }
.carousel .card .who { padding-top: 14px; border-top: 1px solid var(--rule-soft); }
.carousel .card .who .nm { font-family: var(--cond); font-weight: 700; text-transform: uppercase; letter-spacing: 0.18em; font-size: 11px; color: var(--ink); }
.carousel .card .who .role { font-family: var(--mono); font-size: 10px; letter-spacing: 0.04em; color: var(--ink-3); text-transform: uppercase; margin-top: 4px; }

.carousel .dots { display: flex; gap: 6px; justify-content: center; margin-top: 24px; }
.carousel .dot-i { width: 6px; height: 6px; border-radius: 50%; background: var(--rule-soft); border: none; cursor: pointer; padding: 0; }
.carousel .dot-i.on { background: var(--tomato); }

/* Pricing — traditional product card with feature list */
.pricing { padding: 112px 0; position: relative; overflow: hidden; }
.pricing .inner { max-width: 1100px; margin: 0 auto; padding: 0 56px; position: relative; z-index: 2; }
.pricing .bg-blobs { position: absolute; top: 50%; left: 50%; width: 720px; height: 720px; transform: translate(-50%,-50%); pointer-events: none; z-index: 0; }
.pricing .bg-blobs .blob.b1 { top: 50px;  left: 200px; width: 380px; height: 380px; background: var(--tomato); }
.pricing .bg-blobs .blob.b2 { top: 250px; left: 100px; width: 260px; height: 260px; background: var(--teal); }
.pricing .bg-blobs .blob.b3 { top: 320px; left: 380px; width: 240px; height: 240px; background: var(--mustard); }
.pricing .head { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: end; margin-bottom: 56px; }
.pricing .head h2 { font-family: var(--display); font-style: italic; font-weight: 400; font-size: 64px; line-height: 0.95; letter-spacing: -0.02em; margin: 0; }
.pricing .head h2 .accent { color: var(--tomato); }
.pricing .head .copy { font-family: var(--display); font-style: italic; font-size: 19px; line-height: 1.45; color: var(--ink-2); max-width: 460px; }
.pricing .head .copy em { color: var(--tomato); }

.pricing-card {
  background: var(--paper);
  border: 1px solid var(--ink);
  display: grid; grid-template-columns: 1fr 1.1fr;
  max-width: 920px; margin: 0 auto;
  box-shadow: 0 1px 0 rgba(0,0,0,0.05), 0 30px 60px -36px rgba(0,0,0,0.32);
}
.pricing-card .left { padding: 44px 40px; border-right: 1px solid var(--ink); display: flex; flex-direction: column; gap: 22px; background: var(--paper-2); }
.pricing-card .left .badge { display: inline-flex; align-self: flex-start; align-items: center; gap: 8px; font-family: var(--cond); font-weight: 700; text-transform: uppercase; letter-spacing: 0.22em; font-size: 10px; color: var(--ink-2); padding: 5px 10px; border: 1px solid var(--ink); border-radius: 999px; }
.pricing-card .left .badge .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--tomato); }
.pricing-card .left h3 { font-family: var(--display); font-style: italic; font-weight: 400; font-size: 36px; line-height: 1; margin: 0; letter-spacing: -0.015em; }
.pricing-card .left h3 .accent { color: var(--tomato); }
.pricing-card .left .blurb { font-family: var(--sans); font-size: 14.5px; line-height: 1.55; color: var(--ink-2); margin: 0; }
.pricing-card .price-row { display: flex; align-items: baseline; gap: 10px; padding-top: 14px; border-top: 1px solid var(--rule-soft); margin-top: auto; }
.pricing-card .price-row .currency { font-family: var(--display); font-style: italic; font-size: 28px; color: var(--ink-3); line-height: 1; }
.pricing-card .price-row .price { font-family: var(--display); font-style: italic; font-weight: 400; font-size: 80px; line-height: 0.9; letter-spacing: -0.025em; }
.pricing-card .price-row .period { font-family: var(--cond); font-weight: 700; text-transform: uppercase; letter-spacing: 0.18em; font-size: 10.5px; color: var(--ink-3); }
.pricing-card .left .sub { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.pricing-card .left .sub b { color: var(--ink); font-weight: 500; }

.pricing-card .right { padding: 44px 40px; display: flex; flex-direction: column; gap: 18px; }
.pricing-card .right .head-row { display: flex; align-items: baseline; justify-content: space-between; padding-bottom: 8px; border-bottom: 1px solid var(--ink); margin-bottom: 4px; }
.pricing-card .right .head-row .l { font-family: var(--cond); font-weight: 700; text-transform: uppercase; letter-spacing: 0.20em; font-size: 11px; }
.pricing-card .right .head-row .r { font-family: var(--mono); font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); }
.pricing-card ul.includes { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.pricing-card ul.includes li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: baseline; }
.pricing-card ul.includes li .ck {
  width: 18px; height: 18px; border-radius: 50%; background: var(--tomato);
  display: inline-flex; align-items: center; justify-content: center; color: var(--paper);
  font-family: var(--cond); font-weight: 700; font-size: 10px; line-height: 1;
}
.pricing-card ul.includes li .t { font-family: var(--sans); font-size: 14px; line-height: 1.45; color: var(--ink); }
.pricing-card ul.includes li .t b { font-family: var(--display); font-style: italic; font-weight: 400; }
.pricing-card .cta-row { margin-top: 14px; padding-top: 18px; border-top: 1px solid var(--rule-soft); display: flex; flex-direction: column; gap: 10px; }
.pricing-card .cta-row .pill { width: 100%; justify-content: center; }
.pricing-card .cta-row .meta { font-family: var(--mono); font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); text-align: center; }

@media (max-width: 920px) {
  .pricing .head { grid-template-columns: 1fr; gap: 18px; }
  .pricing .head h2 { font-size: 44px; }
  .pricing-card { grid-template-columns: 1fr; }
  .pricing-card .left { border-right: none; border-bottom: 1px solid var(--ink); }
  .pricing-card .left, .pricing-card .right { padding: 32px 24px; }
  .pricing-card .price-row .price { font-size: 64px; }
}

/* FAQ */
.faq { background: var(--paper); padding: 96px 0; position: relative; overflow: hidden; }
.faq .head { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: end; margin-bottom: 40px; position: relative; z-index: 2; }
.faq .head h2 { font-family: var(--display); font-style: italic; font-weight: 400; font-size: 56px; line-height: 0.95; letter-spacing: -0.02em; margin: 0; }
.faq .head h2 .dot { color: var(--tomato); }
.faq .head .copy { font-family: var(--display); font-style: italic; font-size: 18px; line-height: 1.45; color: var(--ink-2); max-width: 420px; }
.faq .head .copy a { color: var(--tomato); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.faq .head .copy a:hover { color: var(--rust); }
.faq .head-blobs { position: absolute; top: 30px; right: 56px; width: 280px; height: 280px; pointer-events: none; z-index: 0; }
.faq .head-blobs .blob.b1 { top: 0;  right: 40px; width: 180px; height: 180px; background: var(--lavender); }
.faq .head-blobs .blob.b2 { top: 80px; right: 120px; width: 140px; height: 140px; background: var(--tomato); }
.faq .list { max-width: 920px; margin: 0 auto; position: relative; z-index: 2; }
.faq details {
  border-top: 1px solid var(--ink);
  padding: 20px 0;
}
.faq details:last-child { border-bottom: 1px solid var(--ink); }
.faq summary {
  list-style: none; cursor: pointer;
  display: grid; grid-template-columns: 36px 1fr 24px; gap: 18px; align-items: baseline;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .num { font-family: var(--mono); font-weight: 700; color: var(--tomato); font-size: 11px; letter-spacing: 0.08em; }
.faq summary .q { font-family: var(--display); font-style: italic; font-size: 26px; line-height: 1.25; color: var(--ink); letter-spacing: -0.01em; }
.faq summary .ic {
  width: 24px; height: 24px; border: 1px solid var(--ink); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: 14px; line-height: 1; color: var(--ink);
  transition: transform 0.2s, background 0.15s, color 0.15s;
}
.faq details[open] summary .ic { background: var(--ink); color: var(--paper); transform: rotate(45deg); }
.faq .answer {
  padding: 16px 0 4px 54px;
  font-family: var(--sans); font-size: 15px; line-height: 1.6; color: var(--ink-2);
  max-width: 680px;
}
.faq .answer p { margin: 0 0 10px; }
.faq .answer p:last-child { margin-bottom: 0; }
.faq .answer em { font-family: var(--display); font-style: italic; color: var(--tomato); }

/* Final CTA */
.final-cta { padding: 112px 0 96px; text-align: center; position: relative; overflow: hidden; }
.final-cta .bg-blobs { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 720px; height: 600px; pointer-events: none; z-index: 0; }
.final-cta .bg-blobs .blob.b1 { top: 60px;  left: 80px;  width: 320px; height: 320px; background: var(--tomato); }
.final-cta .bg-blobs .blob.b2 { top: 180px; left: 300px; width: 240px; height: 240px; background: var(--teal); }
.final-cta .bg-blobs .blob.b3 { top: 320px; left: 120px; width: 200px; height: 200px; background: var(--mustard); }
.final-cta .container { position: relative; z-index: 2; }
.final-cta h2 { font-family: var(--display); font-style: italic; font-weight: 400; font-size: 88px; line-height: 0.95; letter-spacing: -0.025em; margin: 0 auto 28px; max-width: 920px; }
.final-cta h2 .accent { color: var(--tomato); }
.final-cta .body { font-family: var(--sans); font-size: 18px; line-height: 1.6; color: var(--ink-2); margin: 0 auto 36px; max-width: 580px; }
.final-cta .body em { color: var(--tomato); }

footer {
  border-top: 1px solid var(--ink); padding: 28px 0 24px;
  background: var(--paper); position: relative; z-index: 2;
}
footer .inner {
  max-width: 1280px; margin: 0 auto; padding: 0 56px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  font-family: var(--mono); font-size: 10.5px; color: var(--ink-3); letter-spacing: 0.08em; text-transform: uppercase;
}
footer .brand { font-family: var(--display); font-style: italic; font-size: 18px; letter-spacing: -0.01em; color: var(--ink); text-transform: none; }
footer .brand .dot { color: var(--tomato); }
footer nav { display: flex; gap: 24px; }
footer nav a { text-decoration: none; color: var(--ink-3); }
footer nav a:hover { color: var(--ink); }

/* ─────────────────────────────────────────────────────────
   RESPONSIVE
   ───────────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .hero h1 { font-size: 64px; }
  .features .head h2, .process .head h2, .testimonials .head h2, .faq .head h2 { font-size: 48px; }
  .pricing h2, .final-cta h2 { font-size: 64px; }
  .feat-row { gap: 48px; }
  .feat-row h3 { font-size: 44px; }
  .feat-row .device { width: 280px; }
}

@media (max-width: 920px) {
  .container, .topbar .inner, footer .inner, .hero .inner, .pricing .inner { padding-left: 32px; padding-right: 32px; }
  .hero .inner { grid-template-columns: 1fr; gap: 40px; }
  .hero .r { min-height: auto; }
  /* Show "Try demo" below the mockup on mobile; hide redundant price meta (Buy Now button already shows $45) */
  .hero .cta-meta { display: none; }
  .hero-mobile-cta { display: flex; justify-content: flex-start; margin-top: -16px; padding: 0; }
  .phone-overlay { right: 0; bottom: -28px; max-width: 130px; }
  /* Tighten the process section's head→steps gap on mobile so it matches features/faq */
  .process { padding: 32px 0 64px; }
  .process .head { margin-bottom: 24px; }
  .process .steps { gap: 24px; }
  .process .step { padding-top: 20px; }
  .hero h1 { font-size: 52px; }
  .features { padding: 64px 0 72px; }
  .features .sec-rule { display: none; }
  .features .head, .process .head, .faq .head, .testimonials .head { grid-template-columns: 1fr; gap: 18px; }
  .feat-row { grid-template-columns: 1fr; gap: 32px; padding: 48px 0; }
  .feat-row .visual { min-height: 380px; }
  .feat-row.image-left .text, .feat-row.image-left .visual { order: initial; }
  .process .steps { grid-template-columns: 1fr; gap: 36px; }
  .carousel .card { flex-basis: calc(100% - 16px); }
  .topbar .nav { display: none; }
  .topbar .brand-sub { display: none; }
  .pricing { padding: 80px 0; }
  .pricing h2, .final-cta h2 { font-size: 48px; }
  .pricing .stack { grid-template-columns: 1fr; gap: 14px; }
  .features .head-blobs, .process .head-blobs, .testimonials .head-blobs, .faq .head-blobs, .hero .hero-blobs { display: none; }
  .feat-row .meta { display: none; }
  footer .inner { flex-direction: column; align-items: flex-start; gap: 14px; }
  .hero-demo-link { display: none; }
  .air-band { padding: 72px 0 80px; }
  .air-band .inner { grid-template-columns: 1fr; gap: 0; }
  .air-band-h { font-size: 48px; }
  .air-band-sub { max-width: 100%; }
  .air-band-blobs { display: none; }
  .air-band-dims { display: none; }
}

/* ── AI Resilience Check hero band ─────────────────────────── */
.air-band {
  position: relative;
  background: var(--paper-2);
  border-bottom: 1px solid var(--rule-soft);
  padding: 96px 0 104px;
  overflow: hidden;
}
.air-band .inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 48px;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 80px;
  align-items: center;
}
.air-band-content { /* left column wrapper — no extra styles needed */ }
.air-band-blobs {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}
.air-band-blobs .blob {
  position: absolute;
  border-radius: 50%;
  mix-blend-mode: multiply;
  filter: blur(60px);
}
.air-band-blobs .b1 { width: 420px; height: 420px; top: -80px; right: -60px; background: var(--tomato); opacity: 0.12; }
.air-band-blobs .b2 { width: 280px; height: 280px; top: 60px; right: 200px; background: var(--mustard); opacity: 0.10; }
.air-band-blobs .b3 { width: 200px; height: 200px; bottom: -40px; right: 80px; background: var(--teal); opacity: 0.08; }

.air-band-eyebrow {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 28px;
}
.air-band-eyebrow .air-num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--tomato);
  text-transform: uppercase;
}
.air-band-eyebrow .air-label {
  font-family: var(--cond);
  font-weight: 700;
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.air-band-h {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(44px, 5.5vw, 68px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 22px;
  max-width: 16ch;
}
.air-band-h .dot { color: var(--tomato); }

.air-band-sub {
  font-family: var(--sans);
  font-size: clamp(16px, 1.6vw, 18px);
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 52ch;
  margin: 0 0 36px;
}

.air-band-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Right column — stacked dimensions list */
.air-band-dims {
  border-left: 1px solid var(--rule-soft);
  padding-left: 56px;
  display: flex;
  flex-direction: column;
}
.air-band-dims .dim-item {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 0.5px solid var(--rule-soft);
}
.air-band-dims .dim-item:first-child { padding-top: 0; }
.air-band-dims .dim-item:last-child { border-bottom: none; padding-bottom: 0; }
.air-band-dims .dim-roman {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--tomato);
  min-width: 18px;
  text-align: right;
  flex-shrink: 0;
}
.air-band-dims .dim-name {
  font-family: var(--display);
  font-style: italic;
  font-size: 26px;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--ink);
  line-height: 1;
  white-space: nowrap;
}
