/* ==========================================================================
   Visible Valley: "work-truck signage at night"
   Colors: creosote night, sun-bleached sand, safety-orange signal.
   ========================================================================== */

:root {
  /* brand constants */
  --signal: #ff6b2c;      /* safety orange: buttons & accents (ink text on it: 6.5:1) */
  --signal-deep: #e85a1c;
  --ink-fixed: #16120e;
  --night: #0e1412;
  --night-2: #16201c;
  --on-night: #f3ece1;
  --on-night-muted: #a9b8af;

  /* theme-dependent (light) */
  --sand: #f3ece1;
  --sand-2: #e8dece;
  --ink: #16120e;
  --ink-2: #4a4038;
  --copper-ink: #a3410f;  /* accent text on sand: 5.4:1 */
  --sand-line: rgba(22, 18, 14, 0.14);

  --font: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --gutter: clamp(16px, 4.5vw, 40px);
  --radius: 4px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --sand: #1b1611;
    --sand-2: #221c16;
    --ink: #f1e9dd;
    --ink-2: #c4b8a8;
    --copper-ink: #ff8a55;
    --sand-line: rgba(241, 233, 221, 0.14);
    --night: #0a0f0d;
    --night-2: #121a17;
  }
}
:root[data-theme="dark"] {
  --sand: #1b1611;
  --sand-2: #221c16;
  --ink: #f1e9dd;
  --ink-2: #c4b8a8;
  --copper-ink: #ff8a55;
  --sand-line: rgba(241, 233, 221, 0.14);
  --night: #0a0f0d;
  --night-2: #121a17;
}

/* Section color schemes: components only use --bg/--fg/--muted/--accent/--line */
.s-night { --bg: var(--night); --fg: var(--on-night); --muted: var(--on-night-muted); --accent: var(--signal); --line: rgba(243, 236, 225, 0.12); --panel: var(--night-2); }
.s-sand { --bg: var(--sand); --fg: var(--ink); --muted: var(--ink-2); --accent: var(--copper-ink); --line: var(--sand-line); --panel: var(--sand-2); }
.s-signal { --bg: var(--signal); --fg: var(--ink-fixed); --muted: #3b2a1f; --accent: var(--ink-fixed); --line: rgba(22, 18, 14, 0.25); --panel: #fff8f0; }
.s-night, .s-sand, .s-signal { background: var(--bg); color: var(--fg); }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--night);
  color: var(--on-night);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ol, ul, figure, blockquote { margin: 0; }
ol, ul { padding: 0; list-style: none; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }

:focus-visible { outline: 3px solid var(--signal); outline-offset: 3px; border-radius: 2px; }
.s-signal :focus-visible { outline-color: var(--ink-fixed); }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--signal); color: var(--ink-fixed); padding: 10px 16px; font-weight: 700; text-decoration: none; border-radius: var(--radius); }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(72px, 9vw, 120px); position: relative; }

/* Grain + topographic texture */
.grain { position: relative; isolation: isolate; }
.grain::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0.09; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.topo {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: url("/topo.svg") 70% 40% / cover no-repeat;
  opacity: 0.55;
  -webkit-mask-image: radial-gradient(120% 90% at 75% 40%, #000 30%, transparent 85%);
  mask-image: radial-gradient(120% 90% at 75% 40%, #000 30%, transparent 85%);
}

/* ---------- type ---------- */
.eyebrow, .label {
  font-family: var(--font); font-stretch: 125%; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.12em; font-size: 0.75rem; color: var(--accent);
  display: flex; align-items: center; gap: 10px; margin-bottom: 18px;
}
.label::before { content: ""; width: 28px; height: 3px; background: currentColor; }
.h2 {
  font-stretch: 75%; font-weight: 850; text-transform: uppercase; line-height: 0.92; letter-spacing: -0.01em;
  font-size: clamp(2.6rem, 10.5vw, 4.9rem); max-width: 16ch; text-wrap: balance;
}
.lead { margin-top: 22px; max-width: 56ch; color: var(--muted); font-size: clamp(1.05rem, 2.6vw, 1.2rem); }
.cite { font-family: var(--mono); font-size: 0.75rem; line-height: 1.5; color: var(--muted); margin-top: 14px; }

/* ---------- buttons ---------- */
.btn {
  --b-bg: var(--signal); --b-fg: var(--ink-fixed);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px; border-radius: var(--radius); border: 2px solid var(--b-bg);
  background: var(--b-bg); color: var(--b-fg); text-decoration: none; cursor: pointer;
  font-weight: 800; font-stretch: 110%; letter-spacing: 0.01em; line-height: 1.15; text-align: center;
  box-shadow: 0 4px 0 0 rgba(0,0,0,0.35);
  transition: transform 0.15s var(--ease), box-shadow 0.15s var(--ease), background-color 0.15s;
  touch-action: manipulation; user-select: none;
}
@media (hover: hover) { .btn:hover { transform: translateY(-2px); box-shadow: 0 6px 0 0 rgba(0,0,0,0.35); } }
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 0 rgba(0,0,0,0.35); }
.btn:disabled { opacity: 0.7; cursor: progress; }
.btn-sm { white-space: nowrap; min-height: 40px; padding: 8px 14px; font-size: 0.9rem; box-shadow: none; }
.btn-lg { min-height: 58px; padding: 16px 26px; font-size: 1.08rem; }
.btn-block { width: 100%; }
.btn-ghost { --b-bg: transparent; --b-fg: var(--fg); border-color: currentColor; box-shadow: none; }
.btn-ink { --b-bg: var(--ink-fixed); --b-fg: #fff8f0; }
.btn-arrow { transition: transform 0.2s var(--ease); }
@media (hover: hover) { .btn:hover .btn-arrow { transform: translateX(4px); } }

/* ---------- logo / header ---------- */
.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo-word { font-stretch: 125%; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.9rem; }
.logo-word b { font-weight: 900; margin-left: 0.3em; }

.topbar { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--night) 88%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.topbar-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.topbar-logo { text-decoration: none; }
.topnav { display: none; gap: 28px; font-weight: 600; font-size: 0.95rem; }
.topnav a { text-decoration: none; color: var(--muted); padding: 6px 0; }
.topnav a:hover { color: var(--fg); }
.topbar-actions { display: flex; align-items: center; gap: 8px; }
.theme-btn { width: 40px; height: 40px; display: grid; place-items: center; border-radius: var(--radius); border: 1px solid var(--line); background: transparent; cursor: pointer; color: var(--muted); }
.theme-btn:hover { color: var(--fg); }
.theme-btn .i-sun { display: none; }
:root[data-theme="dark"] .theme-btn .i-sun { display: block; }
:root[data-theme="dark"] .theme-btn .i-moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-btn .i-sun { display: block; }
  :root:not([data-theme="light"]) .theme-btn .i-moon { display: none; }
}
@media (max-width: 380px) { .logo-word { font-size: 0.78rem; } }
@media (min-width: 900px) { .topnav { display: flex; } }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero { position: relative; overflow: hidden; padding-block: 44px 72px; }
.hero::before { /* heat glow, low and off-center: no generic sunset gradient */
  content: ""; position: absolute; z-index: -1; width: 900px; height: 900px; right: -320px; bottom: -520px;
  background: radial-gradient(closest-side, rgba(255, 107, 44, 0.28), transparent 70%);
}
.hero-in { display: grid; gap: 48px; align-items: center; }
.hero-h1 {
  font-stretch: 72%; font-weight: 850; text-transform: uppercase; line-height: 0.9; letter-spacing: -0.01em;
  font-size: clamp(2.75rem, 12.5vw, 6.3rem); text-wrap: balance;
}
.hero-hl { display: block; color: var(--signal); margin-top: 0.08em; }
.hero-sub { margin-top: 24px; font-size: clamp(1.08rem, 3vw, 1.25rem); color: var(--muted); max-width: 44ch; }
.hero-cta { margin-top: 32px; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.cta-note { font-family: var(--mono); font-size: 0.8rem; color: var(--muted); }
@media (max-width: 520px) { .hero-cta .btn { width: 100%; } }

.hero-demo { position: relative; justify-self: center; width: 100%; max-width: 380px; }

/* The phone */
.phone {
  position: relative; width: 100%; aspect-ratio: 9 / 16.6; max-height: 680px;
  border-radius: 46px; padding: 11px;
  background: linear-gradient(145deg, #3a3631, #12100e 40%, #2a2724);
  box-shadow: 0 0 0 1.5px #4a4540 inset, 0 40px 80px -20px rgba(0,0,0,0.7), 0 0 0 1px rgba(255,255,255,0.04);
  transform: rotate(2.5deg);
}
.phone-screen {
  height: 100%; border-radius: 36px; overflow: hidden; display: flex; flex-direction: column;
  background: #fbf8f4; color: #1d1a17; font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
.phone-status { display: flex; justify-content: space-between; align-items: center; padding: 12px 26px 4px; font-size: 13px; font-weight: 600; }
.phone-island { width: 90px; height: 26px; background: #0b0a09; border-radius: 20px; }
.phone-icons { display: flex; gap: 3px; align-items: flex-end; }
.phone-icons i { width: 4px; background: #1d1a17; border-radius: 1px; }
.phone-icons i:nth-child(1) { height: 5px; } .phone-icons i:nth-child(2) { height: 8px; } .phone-icons i:nth-child(3) { height: 11px; }
.chat-head { display: flex; align-items: center; gap: 8px; padding: 10px 18px 12px; border-bottom: 1px solid #ece6de; font-size: 15px; font-weight: 600; }
.chat-avatar { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: #1d1a17; color: #fbf8f4; }
.chat-body { flex: 1; overflow: hidden; padding: 16px 14px; display: flex; flex-direction: column; gap: 12px; font-size: 14px; line-height: 1.45; }
.msg-user { align-self: flex-end; max-width: 84%; background: #ece5dc; padding: 10px 14px; border-radius: 18px 18px 4px 18px; }
.msg-ai { max-width: 100%; display: flex; flex-direction: column; gap: 10px; min-height: 20px; }
.ai-list { display: flex; flex-direction: column; gap: 9px; counter-reset: n; }
.ai-list li { counter-increment: n; display: grid; grid-template-columns: 18px 1fr; column-gap: 4px; }
.ai-list li::before { content: counter(n) "."; font-weight: 600; grid-row: span 2; }
.ai-list strong { font-weight: 650; display: flex; align-items: center; gap: 5px; flex-wrap: wrap; }
.ai-list span:not(.redact) { color: #5d554d; font-size: 13px; }
.redact { display: inline-block; height: 0.95em; background: #1d1a17; border-radius: 2px; vertical-align: -0.1em; }
.chat-input {
  margin: 8px 12px 18px; padding: 10px 8px 10px 16px; border-radius: 24px; background: #fff; border: 1px solid #e6dfd6;
  display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 14px;
}
.chat-typed { flex: 1; min-width: 0; display: flex; color: #9a9087; white-space: nowrap; overflow: hidden; }
.chat-typed.is-typing { color: #1d1a17; justify-content: flex-end; }
.chat-typed.is-typing::after { content: ""; display: inline-block; width: 1.5px; height: 1em; background: #1d1a17; vertical-align: -0.15em; margin-left: 1px; animation: blink 0.9s steps(1) infinite; }
.chat-send { width: 30px; height: 30px; flex: none; border-radius: 50%; background: #1d1a17; color: #fff; display: grid; place-items: center; }
.thinking { display: inline-flex; gap: 4px; padding: 6px 0; }
.thinking i { width: 7px; height: 7px; border-radius: 50%; background: #9a9087; animation: think 1s infinite ease-in-out; }
.thinking i:nth-child(2) { animation-delay: 0.15s; } .thinking i:nth-child(3) { animation-delay: 0.3s; }
.pop { animation: pop 0.35s var(--ease) both; }
@keyframes blink { 50% { opacity: 0; } }
@keyframes think { 0%, 100% { transform: translateY(0); opacity: 0.4; } 50% { transform: translateY(-4px); opacity: 1; } }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(0.98); } }

/* The stamp */
.stamp {
  position: absolute; left: -6%; bottom: 26%; z-index: 2;
  padding: 12px 18px; border: 3px solid var(--signal); border-radius: 6px; color: var(--signal);
  background: rgba(14, 20, 18, 0.92);
  font-stretch: 112%; font-weight: 900; text-transform: uppercase; letter-spacing: 0.02em; line-height: 1.05;
  font-size: clamp(1.15rem, 5.4vw, 1.5rem); max-width: 13ch;
  transform: rotate(-8deg); box-shadow: 0 0 0 4px rgba(255, 107, 44, 0.18), 0 18px 40px rgba(0,0,0,0.5);
  opacity: 0; visibility: hidden;
}
.stamp.is-on { visibility: visible; animation: stamp 0.45s cubic-bezier(0.3, 1.6, 0.5, 1) both; }
@keyframes stamp { from { opacity: 0; transform: rotate(-14deg) scale(1.9); } to { opacity: 1; transform: rotate(-8deg) scale(1); } }
@media (prefers-reduced-motion: reduce) { .stamp.is-on { animation: none; opacity: 1; } }

.chips { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.chips-label { width: 100%; font-family: var(--mono); font-size: 0.75rem; color: var(--muted); }
.chip {
  min-height: 40px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: transparent; cursor: pointer;
  font-weight: 600; font-size: 0.9rem; color: var(--fg); touch-action: manipulation; transition: background-color 0.15s, border-color 0.15s;
}
.chip:hover { border-color: var(--muted); }
.chip[aria-pressed="true"] { background: var(--fg); color: var(--night); border-color: var(--fg); }
.demo-note { margin-top: 12px; font-family: var(--mono); font-size: 0.7rem; color: var(--muted); opacity: 0.85; }

@media (min-width: 960px) {
  .hero { padding-block: 56px 96px; }
  .hero-in { grid-template-columns: 1.2fr 0.8fr; gap: 64px; }
  .hero-h1 { font-size: clamp(3.6rem, 5.4vw, 5.4rem); }
  .hero-sub { margin-top: 20px; }
  .hero-cta { margin-top: 26px; }
  .hero-demo { max-width: 360px; justify-self: end; margin-right: 24px; }
  .stamp { left: -30%; bottom: 30%; font-size: 1.6rem; }
}

/* ==========================================================================
   SHIFT
   ========================================================================== */
.shift-grid { display: grid; gap: 56px; margin-top: 56px; }
.stat-num { font-stretch: 70%; font-weight: 900; line-height: 0.85; font-size: clamp(6rem, 30vw, 11rem); color: var(--accent); letter-spacing: -0.02em; margin-top: 24px; }
.stat-text { margin-top: 14px; font-size: clamp(1.15rem, 3.2vw, 1.4rem); font-weight: 600; max-width: 30ch; line-height: 1.3; }
.bars { display: flex; align-items: flex-end; gap: 14px; height: 150px; border-bottom: 2px solid var(--fg); }
.bar { position: relative; width: 64px; height: calc(var(--h) * 100%); background: var(--fg); transform-origin: bottom; }
.bar-from { background: var(--muted); opacity: 0.55; min-height: 8px; }
.bar-to { background: var(--signal); }
.bar span { position: absolute; bottom: calc(100% + 6px); left: 0; font-family: var(--mono); font-size: 0.8rem; font-weight: 500; }
.bar em { position: absolute; top: calc(100% + 8px); left: 0; font-style: normal; font-family: var(--mono); font-size: 0.75rem; color: var(--muted); }
.dotfield { display: grid; grid-template-columns: repeat(25, 1fr); gap: clamp(3px, 0.9vw, 6px); max-width: 420px; }
.dotfield i { aspect-ratio: 1; border-radius: 50%; background: var(--fg); opacity: 0.16; }
.dotfield i.on { background: var(--signal); opacity: 1; box-shadow: 0 0 0 3px color-mix(in srgb, var(--signal) 30%, transparent); }
.kicker {
  margin-top: 72px; padding-top: 28px; border-top: 2px solid var(--fg);
  font-stretch: 85%; font-weight: 750; font-size: clamp(1.4rem, 4.4vw, 2.1rem); line-height: 1.15; max-width: 34ch; text-wrap: balance;
}
@media (min-width: 860px) { .shift-grid { grid-template-columns: 1fr 1fr; gap: 72px; } .stat-big { padding-right: 24px; border-right: 1px solid var(--line); } }

.js-reveal .reveal .bar { transform: scaleY(0); transition: transform 0.9s var(--ease) 0.2s; }
.js-reveal .reveal.in .bar { transform: none; }
.js-reveal .reveal .dotfield i.on { transform: scale(0); transition: transform 0.5s cubic-bezier(0.3, 1.8, 0.5, 1) 0.5s; }
.js-reveal .reveal.in .dotfield i.on { transform: none; }

/* ==========================================================================
   PROOF
   ========================================================================== */
.proof-rows { margin-top: 56px; display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.proof-row { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "who score" "dots dots"; gap: 14px 20px; padding: 24px 0; border-bottom: 1px solid var(--line); align-items: end; }
.proof-who { grid-area: who; display: flex; flex-direction: column; gap: 2px; }
.proof-name { font-weight: 750; font-size: 1.1rem; }
.proof-detail { font-family: var(--mono); font-size: 0.85rem; color: var(--sun, #f5b041); }
.proof-dots { grid-area: dots; display: grid; grid-template-columns: repeat(18, 1fr); gap: 4px; }
.proof-dots i { aspect-ratio: 1; border-radius: 2px; background: rgba(243, 236, 225, 0.1); }
.proof-dots i.on { background: var(--signal); }
.is-top .proof-dots i.on { background: var(--on-night); }
.proof-score { grid-area: score; text-align: right; line-height: 0.85; }
.proof-n { display: block; font-stretch: 70%; font-weight: 900; font-size: clamp(3.4rem, 14vw, 5.2rem); }
.proof-of { font-family: var(--mono); font-size: 0.75rem; color: var(--muted); }
.is-zero .proof-n { color: var(--signal); }
.is-zero .proof-dots i { background: transparent; box-shadow: inset 0 0 0 1px rgba(243, 236, 225, 0.2); }
@media (min-width: 760px) {
  .proof-row { grid-template-columns: 240px 1fr 130px; grid-template-areas: "who dots score"; align-items: center; gap: 32px; }
  .proof-dots { grid-template-columns: repeat(36, 1fr); gap: 5px; }
  .proof-dots i { aspect-ratio: 0.5; }
}
.js-reveal .proof-row .proof-dots i.on { transform: scaleY(0); transition: transform 0.4s var(--ease); transition-delay: calc(var(--d) + var(--k) * 22ms); transform-origin: bottom; }
.js-reveal .proof-row.in .proof-dots i.on { transform: none; }

.proof-quote { margin-top: 64px; padding-left: 22px; border-left: 6px solid var(--signal); max-width: 30ch; }
.proof-quote p { font-stretch: 80%; font-weight: 800; font-size: clamp(1.8rem, 6.5vw, 3rem); line-height: 1.02; text-transform: uppercase; text-wrap: balance; }
.proof-quote footer { margin-top: 14px; font-size: clamp(1.1rem, 3vw, 1.3rem); color: var(--signal); font-weight: 700; }
.cite-night { margin-top: 40px; }

/* ==========================================================================
   HOW
   ========================================================================== */
.steps { margin-top: 56px; display: grid; gap: 0; counter-reset: s; }
.step { position: relative; padding: 32px 0 32px 0; border-top: 2px solid var(--fg); display: grid; grid-template-columns: auto 1fr; column-gap: 20px; align-items: baseline; }
.step-n { font-family: var(--mono); font-size: 0.85rem; color: var(--accent); font-weight: 500; }
.step-word { font-stretch: 72%; font-weight: 900; text-transform: uppercase; line-height: 0.9; font-size: clamp(3.4rem, 15vw, 6.5rem); }
.step p { grid-column: 2; margin-top: 14px; color: var(--muted); max-width: 40ch; font-size: 1.08rem; }
.step-loop { grid-column: 2; margin-top: 16px; display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 0.8rem; color: var(--accent); }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 36px; }
  .step { grid-template-columns: 1fr; padding-top: 24px; }
  .step-n { margin-bottom: 14px; }
  .step p, .step-loop { grid-column: 1; }
  .step-word { font-size: clamp(3.4rem, 6.4vw, 5.5rem); }
}

/* ==========================================================================
   PRICING
   ========================================================================== */
.tiers { margin-top: 56px; display: grid; gap: 16px; }
.tier { padding: 28px 24px; border: 1px solid var(--line); border-radius: var(--radius); display: flex; flex-direction: column; background: var(--panel); }
.tier-check { background: transparent; border-style: dashed; }
.tier.is-featured { border: 2px solid var(--signal); position: relative; }
.tier.is-featured::before { content: "Where results come from"; position: absolute; top: -12px; left: 20px; padding: 3px 10px; background: var(--signal); color: var(--ink-fixed); font-size: 0.7rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; font-stretch: 115%; border-radius: 2px; }
.tier-note { font-family: var(--mono); font-size: 0.78rem; color: var(--muted); min-height: 1.2em; }
.tier-name { margin-top: 8px; font-weight: 800; font-size: 1.25rem; font-stretch: 100%; }
.tier-price { margin-top: 10px; display: flex; align-items: baseline; gap: 6px; }
.tier-price span { font-stretch: 72%; font-weight: 900; font-size: clamp(3.4rem, 13vw, 4.4rem); line-height: 1; }
.tier-price small { font-family: var(--mono); color: var(--muted); font-size: 0.9rem; }
.ticks { margin: 20px 0 28px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.ticks li { position: relative; padding-left: 26px; font-size: 0.98rem; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 0.42em; width: 12px; height: 7px; border-left: 2.5px solid var(--signal); border-bottom: 2.5px solid var(--signal); transform: rotate(-45deg); }
.tier .btn { width: 100%; }
@media (min-width: 900px) { .tiers { grid-template-columns: 0.85fr 1fr 1fr; align-items: stretch; } }

.founding {
  margin-top: 28px; padding: 32px 24px; background: var(--signal); color: var(--ink-fixed); border-radius: var(--radius);
  display: flex; flex-direction: column; gap: 24px; position: relative; overflow: hidden;
}
.founding::after { /* diagonal hazard-stripe edge */
  content: ""; position: absolute; right: 0; top: 0; bottom: 0; width: 14px;
  background: repeating-linear-gradient(-45deg, var(--ink-fixed) 0 8px, transparent 8px 16px); opacity: 0.85;
}
.founding-tag { font-stretch: 125%; font-weight: 800; text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.75rem; }
.founding-h { margin-top: 10px; font-stretch: 75%; font-weight: 900; text-transform: uppercase; line-height: 0.95; font-size: clamp(2rem, 7.5vw, 3.4rem); max-width: 16ch; }
.founding-text { margin-top: 12px; max-width: 48ch; font-weight: 500; }
.founding-status { margin-top: 10px; font-family: var(--mono); font-weight: 500; }
.founding .btn { align-self: flex-start; box-shadow: 0 4px 0 rgba(0,0,0,0.25); }
@media (max-width: 520px) { .founding .btn { align-self: stretch; } }
@media (min-width: 900px) { .founding { flex-direction: row; align-items: center; justify-content: space-between; padding: 44px 56px 44px 44px; } .founding .btn { align-self: center; flex: none; } }

.promises { margin-top: 48px; display: grid; gap: 20px; }
.promises li { display: flex; flex-direction: column; gap: 4px; padding-top: 16px; border-top: 1px solid var(--line); }
.promises strong { font-stretch: 115%; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.78rem; color: var(--signal); }
.promises span { color: var(--fg); font-size: 1.02rem; }
@media (min-width: 900px) { .promises { grid-template-columns: repeat(3, 1fr); gap: 36px; } }

/* ==========================================================================
   SERVE
   ========================================================================== */
.serve-in { display: grid; gap: 56px; align-items: center; }
.trades { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 0 0.4em; font-stretch: 75%; font-weight: 850; text-transform: uppercase; line-height: 1.05; font-size: clamp(1.9rem, 7.6vw, 3rem); }
.trades li:not(:last-child)::after { content: " /"; color: var(--accent); font-weight: 500; }
.map { position: relative; }
.map svg { width: 100%; height: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.city-dot { fill: var(--fg); }
.city.is-key .city-dot { fill: var(--signal); }
.city-ring { fill: none; stroke: var(--signal); stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: ring 2.4s var(--ease) infinite; }
@keyframes ring { from { transform: scale(0.5); opacity: 1; } to { transform: scale(1.8); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .city-ring { animation: none; } }
.city-label { fill: var(--fg); font-family: var(--font); font-weight: 700; font-size: 13px; font-stretch: 90%; }
.map figcaption { margin-top: 12px; display: flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 0.78rem; color: var(--muted); }
.key-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--signal); flex: none; }
@media (min-width: 960px) { .serve-in { grid-template-columns: 1fr 1fr; gap: 72px; } }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-in { display: grid; gap: 40px; }
.faq-list { border-top: 1px solid var(--line); }
.faq { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 22px 0; font-weight: 750; font-size: clamp(1.1rem, 3.4vw, 1.3rem); line-height: 1.25;
}
.faq summary::-webkit-details-marker { display: none; }
.faq-icon { position: relative; width: 18px; height: 18px; flex: none; }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; left: 0; top: 8px; width: 18px; height: 2.5px; background: var(--signal); transition: transform 0.25s var(--ease); }
.faq-icon::after { transform: rotate(90deg); }
.faq[open] .faq-icon::after { transform: rotate(0); }
.faq p { padding: 0 0 24px; color: var(--muted); max-width: 62ch; }
@media (min-width: 960px) { .faq-in { grid-template-columns: 0.8fr 1.2fr; gap: 72px; } }

/* ==========================================================================
   CHECK FORM
   ========================================================================== */
.check-in { display: grid; gap: 44px; }
.s-signal .label::before { background: var(--ink-fixed); }
.s-signal .lead { color: #2b1d13; }
.contact-links { margin-top: 32px; display: flex; flex-direction: column; gap: 6px; }
.contact-links p { font-weight: 700; margin-bottom: 4px; }
.contact-link { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 800; font-size: 1.15rem; text-decoration: none; border-bottom: 2px solid transparent; align-self: flex-start; }
.contact-link:hover { border-bottom-color: currentColor; }

.form { background: #fff8f0; color: var(--ink-fixed); padding: 24px 20px; border-radius: var(--radius); box-shadow: 10px 10px 0 var(--ink-fixed); display: flex; flex-direction: column; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; flex: 1; min-width: 0; }
.field-row { display: flex; flex-direction: column; gap: 16px; }
.field label { font-weight: 700; font-size: 0.92rem; }
.field input, .field select {
  width: 100%; min-height: 50px; padding: 12px 14px; font-size: 16px; /* 16px stops iOS zoom */
  color: var(--ink-fixed); background: #fff; border: 2px solid #c9bcad; border-radius: var(--radius); appearance: none; -webkit-appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%2316120e' stroke-width='2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.field input:focus, .field select:focus { border-color: var(--ink-fixed); outline: 3px solid var(--signal); outline-offset: 0; }
.hp { position: absolute; left: -9999px; }
.form .btn { margin-top: 6px; }
.form-privacy { font-size: 0.82rem; color: #5a4a3c; }
.form-status:empty { display: none; }
.form-status { padding: 12px 14px; border-radius: var(--radius); font-weight: 700; }
.form-status.is-ok { background: #dff3e4; color: #0f4d22; }
.form-status.is-error { background: #fde4dc; color: #8a2200; }
@media (min-width: 560px) { .field-row { flex-direction: row; } .form { padding: 32px; } }
@media (min-width: 960px) { .check-in { grid-template-columns: 0.9fr 1.1fr; gap: 72px; align-items: start; } }

/* ==========================================================================
   FOOTER + STICKY CTA
   ========================================================================== */
.footer { padding: 56px 0 100px; border-top: 1px solid var(--line); }
.footer-in { display: grid; gap: 32px; }
.footer-line { margin-top: 14px; color: var(--muted); max-width: 40ch; }
.footer-contact { display: flex; flex-direction: column; gap: 8px; font-weight: 700; }
.footer-contact a { text-decoration: none; min-height: 32px; }
.footer-contact a:hover { color: var(--signal); }
.footer-contact span { font-weight: 400; color: var(--muted); }
.footer-base { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; font-family: var(--mono); font-size: 0.75rem; color: var(--muted); }
@media (min-width: 800px) { .footer { padding-bottom: 56px; } .footer-in { grid-template-columns: 1fr auto; } .footer-base { flex-direction: row; justify-content: space-between; } }

.sticky-cta {
  position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 60;
  transform: translateY(140%); transition: transform 0.35s var(--ease); box-shadow: 0 10px 30px rgba(0,0,0,0.45);
}
.sticky-cta.is-on { transform: none; }
@media (min-width: 800px) { .sticky-cta { display: none; } }

/* ---------- scroll reveal (only when JS + motion allowed) ---------- */
.js-reveal .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); transition-delay: var(--d, 0ms); }
.js-reveal .reveal.in { opacity: 1; transform: none; }
