/* =========================================================
   Practical Ops: site styles
   1. Tokens   2. Base   3. Buttons   4. Header and footer
   5. Homepage   6. Bottleneck Finder   7. Calculators
   8. Privacy and 404   9. Responsive
   ========================================================= */

/* ---------- 1. Tokens ---------- */
:root {
  --bg: #f7f6f2;
  --surface: #ffffff;
  --surface-2: #f0eee8;
  --ink: #0f1a15;
  --ink-2: #26332d;
  --muted: #5d6861;
  --line: #e4e1d8;
  --line-strong: #d3cfc3;

  --brand: #1e5a43;
  --brand-600: #174a37;
  --brand-700: #103a2b;
  --brand-50: #eaf3ee;
  --brand-100: #d3e7db;
  --mint: #86d9ae;

  --amber: #f2c14e;
  --amber-50: #fbf1d6;
  --red: #c0442f;
  --red-50: #fbe5e0;

  --dark: #0b1511;
  --dark-2: #13211b;
  --dark-line: rgba(255, 255, 255, 0.1);
  --dark-text: #eef3f0;
  --dark-muted: #a1b3aa;

  --display: "Inter Tight", "Inter", system-ui, sans-serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;

  --r-sm: 10px;
  --r: 16px;
  --r-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(15, 26, 21, 0.05), 0 1px 1px rgba(15, 26, 21, 0.03);
  --shadow-md: 0 14px 34px -14px rgba(15, 26, 21, 0.2), 0 2px 6px rgba(15, 26, 21, 0.04);
  --shadow-lg: 0 40px 80px -30px rgba(5, 12, 9, 0.55), 0 8px 20px -8px rgba(5, 12, 9, 0.25);

  --max: 1180px;
  --header-h: 72px;
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 { font-family: var(--display); line-height: 1.12; margin: 0 0 0.5em; color: var(--ink); }
h1, h2, h3 { text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 5.4vw, 4.2rem); font-weight: 700; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); font-weight: 700; letter-spacing: -0.028em; max-width: 22ch; }
h3 { font-size: 1.2rem; font-weight: 650; letter-spacing: -0.012em; }
p { margin: 0 0 1em; }
a { color: inherit; }
img, svg { display: block; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 28px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 0.74rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--brand); margin: 0 0 18px;
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

.lede { font-size: 1.18rem; line-height: 1.6; color: var(--muted); max-width: 56ch; }
.section-lede { font-size: 1.08rem; color: var(--muted); max-width: 62ch; }
.mono { font-family: var(--mono); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.icon { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.icon-tile {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px;
  background: var(--brand-50); color: var(--brand); margin-bottom: 20px;
  box-shadow: inset 0 0 0 1px var(--brand-100);
}

/* ---------- 3. Buttons and forms ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--brand); color: #fff;
  font: 600 0.98rem/1 var(--sans);
  padding: 15px 22px; border: 0; border-radius: 11px;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 1px 2px rgba(15, 26, 21, 0.2);
  transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { background: var(--brand-600); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: 0.6; cursor: default; transform: none; }
.btn:focus-visible, input:focus-visible, button:focus-visible, a:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }
.btn .icon { width: 18px; height: 18px; }
.btn-small { padding: 11px 16px; font-size: 0.9rem; border-radius: 10px; }
.btn-light { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2); }
.btn-light:hover { background: var(--brand-50); }
.btn-ghost { background: var(--surface); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-strong); }
.btn-ghost:hover { background: var(--surface-2); }
.btn-outline { background: transparent; color: var(--brand); box-shadow: inset 0 0 0 1.5px var(--brand); }
.btn-outline:hover { background: var(--brand-50); }
.btn-dark-ghost { background: rgba(255, 255, 255, 0.06); color: var(--dark-text); box-shadow: inset 0 0 0 1px var(--dark-line); }
.btn-dark-ghost:hover { background: rgba(255, 255, 255, 0.12); }

.text-link { display: inline-flex; align-items: center; gap: 6px; color: var(--brand); font-weight: 600; text-decoration: none; }
.text-link .icon { width: 18px; height: 18px; transition: transform 0.15s ease; }
.text-link:hover .icon { transform: translateX(3px); }

.signup { max-width: 540px; }
.signup-label { display: block; font-weight: 600; margin-bottom: 10px; }
.signup-row {
  display: flex; gap: 6px; padding: 6px;
  background: var(--surface); border: 1px solid var(--line-strong); border-radius: 14px;
  box-shadow: var(--shadow-sm);
}
.signup-row:focus-within { border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-50); }
.signup input {
  flex: 1; min-width: 0; border: 0; background: transparent; color: var(--ink);
  font: 400 1rem var(--sans); padding: 10px 12px;
}
.signup input:focus { outline: none; }
.signup .btn { padding: 13px 18px; }
.signup-note { font-size: 0.82rem; color: var(--muted); margin: 10px 0 0; line-height: 1.5; }
.signup-note a { color: inherit; text-decoration: underline; }
.signup-note.ok { color: var(--brand); font-weight: 600; }

/* signup on dark backgrounds */
.on-dark .signup-label { color: var(--dark-text); }
.on-dark .signup-row { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.16); box-shadow: none; }
.on-dark .signup-row:focus-within { border-color: var(--mint); box-shadow: 0 0 0 4px rgba(134, 217, 174, 0.15); }
.signup.on-dark input { color: #fff; }
.signup.on-dark input::placeholder { color: #8fa39a; }
.signup.on-dark .btn { background: var(--mint); color: var(--dark); box-shadow: none; }
.signup.on-dark .btn:hover { background: #a3e6c3; }
.on-dark .signup-note { color: var(--dark-muted); }
.on-dark .signup-note.ok { color: var(--mint); }

/* ---------- 4. Header and footer ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 246, 242, 0.82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(15, 26, 21, 0.07);
}
.header-inner { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 700; font-size: 1.12rem; letter-spacing: -0.02em; text-decoration: none; color: var(--ink); }
.logo-mark { width: 30px; height: 30px; color: var(--brand); }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { text-decoration: none; color: var(--ink-2); font-size: 0.93rem; font-weight: 500; padding: 8px 12px; border-radius: 8px; transition: background 0.15s ease, color 0.15s ease; }
.nav a:hover { background: rgba(15, 26, 21, 0.05); color: var(--ink); }
.nav-toggle { display: none; margin-left: auto; width: 42px; height: 42px; border: 0; border-radius: 10px; background: transparent; cursor: pointer; padding: 11px 10px; }
.nav-toggle span { display: block; height: 2px; background: var(--ink); border-radius: 2px; margin: 4px 0; transition: transform 0.2s ease, opacity 0.2s ease; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.site-footer { background: var(--dark); color: var(--dark-muted); font-size: 0.92rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; padding-top: 80px; padding-bottom: 56px; }
.footer-brand .logo { color: #fff; margin-bottom: 16px; }
.footer-brand .logo-mark { color: var(--brand); }
.footer-brand p { max-width: 36ch; }
.footer-col h4 { font-family: var(--mono); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.footer-col a { display: block; color: var(--dark-muted); text-decoration: none; padding: 4px 0; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px 32px; flex-wrap: wrap; padding-top: 26px; padding-bottom: 32px; border-top: 1px solid var(--dark-line); font-size: 0.82rem; }
.footer-bottom .logo { color: #fff; font-size: 1rem; }
.footer-bottom .logo-mark { width: 26px; height: 26px; }
.footer-legal a { color: var(--dark-muted); margin-right: 16px; }
.footer-legal a:hover { color: #fff; }
.footer-kicker { color: var(--dark-muted); margin: 0 0 4px; font-size: 0.92rem; }
.footer-pitch { color: #fff; font-family: var(--display); font-size: 1.25rem; font-weight: 600; letter-spacing: -0.01em; line-height: 1.35; max-width: 22ch; margin-bottom: 22px; }

/* ---------- 5. Homepage ---------- */
.section { padding: 120px 0; }
.section.alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { margin-bottom: 56px; }
.section-head.center { text-align: center; }
.section-head.center h2, .section-head.center .section-lede { margin-left: auto; margin-right: auto; }

/* Hero */
.hero { position: relative; overflow: hidden; background: var(--dark); color: var(--dark-text); }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(900px 520px at 85% -10%, rgba(134, 217, 174, 0.2), transparent 62%),
    radial-gradient(700px 520px at -5% 110%, rgba(30, 90, 67, 0.55), transparent 62%);
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse at 70% 30%, #000 20%, transparent 75%);
}
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; padding-top: 96px; padding-bottom: 88px; }
.hero h1 { color: #fff; }
.hero h1 em { font-style: normal; color: var(--mint); }
.hero .eyebrow { color: var(--mint); }
.hero .lede { color: var(--dark-muted); }
.hero .signup { margin-top: 34px; }
.hero-secondary { margin-top: 22px; color: var(--dark-muted); font-size: 0.95rem; }
.hero-secondary a { color: #fff; font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, 0.3); }
.hero-secondary a:hover { border-color: var(--mint); }

.hero-visual { position: relative; min-height: 520px; }
.hv-card { position: absolute; border-radius: 14px; overflow: hidden; }
.hv-label {
  position: absolute; z-index: 3; font-family: var(--mono); font-size: 0.7rem; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px;
}
.hv-label.before { top: 6px; left: 0; background: rgba(192, 68, 47, 0.18); color: #ffb4a6; box-shadow: inset 0 0 0 1px rgba(255, 140, 120, 0.3); }
.hv-label.after { bottom: -14px; right: 20px; background: rgba(134, 217, 174, 0.16); color: var(--mint); box-shadow: inset 0 0 0 1px rgba(134, 217, 174, 0.35); }

.sheet {
  top: 34px; left: 0; width: 84%;
  background: #f5f3ee; box-shadow: var(--shadow-lg);
  transform: rotate(-2.5deg);
}
.sheet-bar { display: flex; align-items: center; gap: 6px; padding: 10px 12px; background: #e6e3dc; border-bottom: 1px solid #d8d4ca; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: #cfcac0; }
.sheet-name { font-family: var(--mono); font-size: 0.72rem; color: #6d726d; margin-left: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sheet-grid { display: grid; grid-template-columns: 28px 1.1fr 0.7fr 0.9fr 1.3fr; font-family: var(--mono); font-size: 0.72rem; color: #2a2f2b; }
.c { padding: 7px 7px; border-right: 1px solid #e3e0d9; border-bottom: 1px solid #e3e0d9; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-height: 30px; }
.c.h, .c.n { background: #ebe8e1; color: #7a7f7a; text-align: center; }
.c.b { font-weight: 600; }
.c.r { text-align: right; }
.c.err { color: var(--red); background: var(--red-50); font-weight: 600; }
.c.hl { background: #ffef9e; font-weight: 600; }

.app {
  right: 0; bottom: 0; width: 70%; z-index: 2;
  background: var(--surface); color: var(--ink);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.app-top { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.app-title { display: flex; align-items: center; gap: 10px; font-weight: 650; font-size: 0.95rem; }
.app-title .logo-mark { width: 22px; height: 22px; }
.app-live { font-family: var(--mono); font-size: 0.68rem; color: var(--brand); display: inline-flex; align-items: center; gap: 6px; }
.app-live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #2fb36f; box-shadow: 0 0 0 3px rgba(47, 179, 111, 0.2); }
.app-kpis { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); }
.app-kpis > div { padding: 14px 18px; border-right: 1px solid var(--line); }
.app-kpis > div:last-child { border-right: 0; }
.kpi { display: block; font-family: var(--display); font-size: 1.45rem; font-weight: 700; letter-spacing: -0.02em; }
.kpi-label { font-size: 0.74rem; color: var(--muted); }
.app-rows { padding: 6px 0; }
.app-row { display: grid; grid-template-columns: 1fr auto auto; gap: 14px; align-items: center; padding: 9px 18px; font-size: 0.85rem; }
.app-row + .app-row { border-top: 1px solid var(--surface-2); }
.app-row .val { font-variant-numeric: tabular-nums; font-weight: 500; }
.tag { font-size: 0.7rem; font-weight: 600; padding: 4px 9px; border-radius: 999px; white-space: nowrap; }
.tag.open { background: var(--surface-2); color: var(--ink-2); }
.tag.won { background: var(--brand-50); color: var(--brand); }
.tag.follow { background: var(--amber-50); color: #8a6200; }

.hero-strip { position: relative; z-index: 1; border-top: 1px solid var(--dark-line); }
.strip-inner { display: grid; grid-template-columns: repeat(3, 1fr); }
.strip-item { display: flex; align-items: center; gap: 14px; padding: 26px 24px 26px 0; color: var(--dark-muted); font-size: 0.95rem; line-height: 1.4; }
.strip-item + .strip-item { padding-left: 28px; border-left: 1px solid var(--dark-line); }
.strip-item strong { color: #fff; font-weight: 600; display: block; }
.strip-item .icon { color: var(--mint); width: 24px; height: 24px; }

/* Problem cards */
.cards { display: grid; gap: 22px; }
.cards.three { grid-template-columns: repeat(3, 1fr); }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  padding: 32px; box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.card p { color: var(--muted); margin: 0; }
.card-num { display: block; font-family: var(--mono); font-size: 0.74rem; color: var(--brand); letter-spacing: 0.06em; margin-bottom: 10px; }

.pitch-band {
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
  margin-top: 40px; padding: 30px 34px; border-radius: var(--r);
  background: var(--brand-50); border: 1px solid var(--brand-100);
}
.pitch { margin: 0; font-family: var(--display); font-size: 1.35rem; font-weight: 650; letter-spacing: -0.015em; max-width: 34ch; line-height: 1.3; }
.pitch-link { display: flex; flex-direction: column; gap: 8px; margin: 0; }

/* How it works */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; position: relative; }
.steps::before { content: ""; position: absolute; top: 55px; left: 12%; right: 12%; border-top: 2px dashed var(--line-strong); z-index: 0; }
.step { position: relative; z-index: 1; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 30px; box-shadow: var(--shadow-sm); }
.step-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.step-num { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; background: var(--brand); color: #fff; font-family: var(--display); font-size: 1.3rem; font-weight: 700; box-shadow: 0 8px 18px -8px rgba(30, 90, 67, 0.7); }
.step-meta { font-family: var(--mono); font-size: 0.74rem; color: var(--brand); background: var(--brand-50); padding: 5px 10px; border-radius: 999px; }
.step p { color: var(--muted); margin: 0; }

.terms {
  margin-top: 28px; border-radius: var(--r-lg); overflow: hidden; position: relative;
  background: linear-gradient(135deg, var(--brand-600), var(--brand-700));
  color: #e6f0ea; padding: 44px;
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px 56px; align-items: center;
}
.terms::after { content: ""; position: absolute; right: -120px; top: -120px; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(circle, rgba(134, 217, 174, 0.25), transparent 70%); }
.terms h3 { color: #fff; font-size: 1.4rem; margin-bottom: 18px; }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist .icon { color: var(--mint); width: 20px; height: 20px; margin-top: 3px; }
.limit {
  position: relative; z-index: 1; margin: 0; padding: 28px; border-radius: var(--r);
  background: rgba(255, 255, 255, 0.07); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  font-family: var(--display); font-size: 1.25rem; font-weight: 600; line-height: 1.4; color: #fff; letter-spacing: -0.01em;
}
.limit::before { content: "\201C"; display: block; font-size: 3rem; line-height: 0.6; color: var(--mint); margin-bottom: 10px; }

/* Proof */
.proof { display: grid; grid-template-columns: 1fr 1.05fr; gap: 32px; align-items: center; }
.before-after { display: grid; gap: 16px; }
.ba { border-radius: var(--r); padding: 26px 28px; border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow-sm); }
.ba-head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.ba-head h3 { margin: 0; font-family: var(--mono); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; }
.ba-badge { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; }
.ba-badge .icon { width: 17px; height: 17px; }
.before .ba-badge { background: var(--red-50); color: var(--red); }
.before h3 { color: var(--red); }
.after { background: linear-gradient(180deg, #f4faf6, #fff); border-color: var(--brand-100); }
.after .ba-badge { background: var(--brand); color: #fff; }
.after h3 { color: var(--brand); }
.ba ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.ba li { position: relative; padding-left: 18px; color: var(--ink-2); font-size: 0.97rem; }
.ba li::before { content: ""; position: absolute; left: 0; top: 0.65em; width: 6px; height: 6px; border-radius: 50%; background: var(--line-strong); }
.after li::before { background: var(--brand); }

.dash { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-md); overflow: hidden; }
.dash-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 22px; border-bottom: 1px solid var(--line); background: var(--surface-2); }
.dash-head span:first-child { font-weight: 650; }
.dash-head .mono { font-size: 0.72rem; color: var(--muted); }
.dash-kpis { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); }
.dash-kpis > div { padding: 20px 22px; border-right: 1px solid var(--line); }
.dash-kpis > div:last-child { border-right: 0; }
.dash-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.dash-table th { text-align: left; font-weight: 500; color: var(--muted); font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.05em; padding: 12px 22px; border-bottom: 1px solid var(--line); }
.dash-table td { padding: 13px 22px; border-bottom: 1px solid var(--surface-2); font-variant-numeric: tabular-nums; }
.dash-table tr:last-child td { border-bottom: 0; }
.dash-table .r { text-align: right; }
.honest { margin: 36px 0 0; color: var(--muted); max-width: 72ch; font-size: 0.98rem; padding-left: 18px; border-left: 3px solid var(--amber); }

/* Free tools */
.tools { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.tool {
  display: flex; flex-direction: column; text-decoration: none; color: var(--ink);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.tool:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.tool-visual { height: 190px; background: var(--brand-50); border-bottom: 1px solid var(--line); position: relative; display: grid; place-items: center; overflow: hidden; }
.tool-body { padding: 30px; display: flex; flex-direction: column; flex: 1; }
.tool-body p { color: var(--muted); }
.tool-body .text-link { margin-top: auto; }
.mini-bars { width: 72%; display: grid; gap: 10px; }
.mini-bar { display: grid; grid-template-columns: 110px 1fr; gap: 10px; align-items: center; font-size: 0.72rem; color: var(--ink-2); }
.mini-bar span:last-child { height: 10px; border-radius: 5px; background: #c9d8cf; }
.mini-bar.top span:last-child { background: var(--brand); }
.mini-readout { background: var(--surface); border-radius: 14px; box-shadow: var(--shadow-md); padding: 18px 24px; text-align: left; min-width: 230px; }
.mini-readout .res-label { margin-bottom: 2px; }
.mini-readout strong { font-family: var(--display); font-size: 2rem; letter-spacing: -0.02em; color: var(--brand-600); }
.mini-readout small { color: var(--muted); }

/* About */
.about { display: grid; grid-template-columns: 1.15fr 1fr; gap: 64px; align-items: start; }
.about-body { font-size: 1.08rem; color: var(--ink-2); }
.principles { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 10px 30px; box-shadow: var(--shadow-sm); }
.principle { display: flex; gap: 16px; padding: 20px 0; }
.principle + .principle { border-top: 1px solid var(--line); }
.principle .icon-tile { margin: 0; width: 40px; height: 40px; border-radius: 10px; }
.principle h4 { font-size: 1rem; margin: 0 0 2px; }
.principle p { margin: 0; color: var(--muted); font-size: 0.93rem; }

/* Close */
.close { position: relative; overflow: hidden; background: var(--dark); color: var(--dark-text); padding: 120px 0; }
.close::before { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 360px at 50% 0%, rgba(134, 217, 174, 0.18), transparent 70%); }
.close-inner { position: relative; text-align: center; display: flex; flex-direction: column; align-items: center; }
.close h2 { color: #fff; max-width: 20ch; }
.close p { color: var(--dark-muted); }
.close .signup { width: 100%; margin-top: 18px; }

/* ---------- Inner page backgrounds ---------- */
.finder, .calc-page, .legal, .notfound {
  background: radial-gradient(1000px 360px at 15% -40px, var(--brand-50), transparent 70%) no-repeat, var(--bg);
}

/* ---------- 6. Bottleneck Finder ---------- */
.finder { min-height: calc(100vh - var(--header-h)); }
.finder-screen { padding: 72px 0 104px; }
.finder-narrow { max-width: 800px; }
.finder-wide { max-width: 1080px; }
.finder h1 { max-width: 18ch; }
.finder h2 { max-width: none; }
.finder h2:focus, .finder h1:focus { outline: none; }
.finder-meta { display: inline-flex; gap: 8px; font-family: var(--mono); font-size: 0.78rem; color: var(--muted); background: var(--surface); border: 1px solid var(--line); padding: 8px 14px; border-radius: 999px; }
.picker-title { font-size: 1.3rem; margin-top: 44px; }
.area-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 18px; }
.area-btn {
  display: flex; flex-direction: column; align-items: flex-start; gap: 6px; text-align: left;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  padding: 22px; font: inherit; color: var(--ink); cursor: pointer; box-shadow: var(--shadow-sm);
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.area-btn:hover { border-color: var(--brand); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.area-btn .card-num { margin-bottom: 4px; }
.area-name { font-family: var(--display); font-weight: 650; font-size: 1.05rem; line-height: 1.25; letter-spacing: -0.01em; }
.area-who { font-size: 0.82rem; color: var(--muted); line-height: 1.4; }
.picker-note { margin-top: 22px; font-size: 0.93rem; color: var(--muted); }

.progress-sticky { position: sticky; top: var(--header-h); z-index: 5; background: rgba(247, 246, 242, 0.92); backdrop-filter: blur(8px); padding: 14px 0 10px; margin-bottom: 18px; }
.progress { height: 6px; background: var(--surface-2); border-radius: 999px; overflow: hidden; margin-bottom: 8px; }
.progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--brand), #2f8a63); border-radius: 999px; transition: width 0.3s ease; }
.quiz-count { font-family: var(--mono); font-size: 0.76rem; color: var(--muted); margin: 0; }

.q { border: 1px solid var(--line); background: var(--surface); border-radius: var(--r); padding: 22px 24px 24px; margin: 0 0 14px; box-shadow: var(--shadow-sm); transition: border-color 0.15s ease; }
.q legend { float: left; width: 100%; padding: 0; margin-bottom: 16px; font-weight: 550; font-size: 1.04rem; line-height: 1.45; }
.q-num { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: var(--brand-50); color: var(--brand); font-family: var(--mono); font-size: 0.76rem; margin-right: 12px; vertical-align: 1px; }
.q.missing { border-color: var(--red); box-shadow: 0 0 0 3px var(--red-50); }
.scale { clear: both; display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; padding: 4px; background: var(--surface-2); border-radius: 12px; }
.scale input { position: absolute; opacity: 0; pointer-events: none; }
.scale label {
  display: grid; place-items: center; text-align: center; min-height: 44px; padding: 6px 4px;
  border-radius: 9px; font-size: 0.88rem; font-weight: 500; color: var(--ink-2);
  cursor: pointer; user-select: none; line-height: 1.2;
  transition: background 0.12s ease, color 0.12s ease, box-shadow 0.12s ease;
}
.scale label:hover { background: var(--surface); box-shadow: var(--shadow-sm); }
.scale input:checked + label { background: var(--brand); color: #fff; font-weight: 600; box-shadow: 0 4px 10px -4px rgba(30, 90, 67, 0.6); }
.scale input:focus-visible + label { outline: 3px solid var(--amber); outline-offset: 2px; }
.quiz-error { color: var(--red); font-weight: 500; margin: 6px 0 0; }
.quiz-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 26px; }

.chart { margin-top: 36px; padding: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); display: grid; gap: 14px; box-shadow: var(--shadow-sm); }
.bar-row { display: grid; grid-template-columns: 260px 1fr 40px; align-items: center; gap: 16px; font-size: 0.94rem; }
.bar-label { color: var(--muted); }
.bar-track { height: 12px; background: var(--surface-2); border-radius: 999px; overflow: hidden; }
.bar-fill { display: block; height: 100%; background: #c3cfc8; border-radius: 999px; }
.bar-value { font-family: var(--mono); font-size: 0.84rem; text-align: right; color: var(--muted); }
.bar-row.top .bar-label { color: var(--ink); font-weight: 600; }
.bar-row.top .bar-fill { background: linear-gradient(90deg, var(--brand), #2f8a63); }
.bar-row.top .bar-value { color: var(--ink); font-weight: 600; }
.chart-note { font-size: 0.84rem; color: var(--muted); margin-top: 10px; }

.fixes { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 32px; }
.fix { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 28px; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); }
.fix-rank { display: inline-flex; align-self: flex-start; font-family: var(--mono); font-size: 0.74rem; color: var(--brand); background: var(--brand-50); padding: 5px 10px; border-radius: 999px; margin-bottom: 14px; }
.fix-cost { color: var(--muted); font-size: 0.95rem; }
.fix-cost strong { color: var(--ink); font-weight: 600; }
.fix-box { background: linear-gradient(180deg, #f2f8f4, var(--brand-50)); border: 1px solid var(--brand-100); border-radius: 12px; padding: 18px 20px; margin-top: auto; }
.fix-box p { margin: 0; font-size: 0.95rem; color: var(--ink-2); }
.fix-name { font-family: var(--display); font-weight: 700; color: var(--brand-600) !important; margin-bottom: 4px !important; font-size: 1.05rem !important; }
.fix-link { margin: 16px 0 0; }
.fix-link a { color: var(--brand); font-weight: 600; text-decoration: none; }
.fix-link a:hover { text-decoration: underline; }

.results-signup { margin-top: 40px; padding: 34px; background: var(--dark); color: var(--dark-text); border-radius: var(--r-lg); position: relative; overflow: hidden; }
.results-signup::before { content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(134, 217, 174, 0.2), transparent 70%); }
.results-signup h3 { color: #fff; }
.results-signup p { color: var(--dark-muted); position: relative; }
.results-signup .signup { margin-top: 16px; max-width: none; position: relative; }
.results-signup .signup-row { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.16); box-shadow: none; }
.results-signup .signup input { color: #fff; }
.results-signup .signup input::placeholder { color: #8fa39a; }
.results-signup .signup .btn { background: var(--mint); color: var(--dark); box-shadow: none; }
.results-signup .signup .btn:hover { background: #a3e6c3; }
.results-signup .signup-note { color: var(--dark-muted); }
.results-signup .signup-note.ok { color: var(--mint); }

.fine-print { font-size: 0.84rem; color: var(--muted); margin: 28px 0 20px; }

/* ---------- 7. Calculators ---------- */
.calc-page { padding-bottom: 88px; }
.calc-intro { padding-top: 64px; padding-bottom: 8px; }
.calc-intro h1 { max-width: 20ch; }
.example-note { display: inline-flex; align-items: center; gap: 10px; font-size: 0.92rem; color: var(--ink-2); padding: 10px 16px; border-radius: 999px; background: var(--amber-50); border: 1px solid #f0dfa8; }
.example-note::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--amber); flex-shrink: 0; }
.example-note a, .calc-more a { color: var(--brand); font-weight: 600; }

.calc-layout { display: grid; grid-template-columns: 1fr 420px; gap: 32px; align-items: start; margin-top: 30px; }
.calc-fields { display: grid; gap: 10px; margin-bottom: 18px; }
.field { display: grid; grid-template-columns: 1fr 160px; gap: 18px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; box-shadow: var(--shadow-sm); transition: border-color 0.15s ease; }
.field:focus-within { border-color: var(--brand); }
.field label { font-size: 0.95rem; line-height: 1.4; color: var(--ink-2); }
.input-wrap { display: flex; align-items: center; border: 1px solid var(--line-strong); border-radius: 9px; background: var(--bg); overflow: hidden; transition: border-color 0.15s ease, box-shadow 0.15s ease; }
.input-wrap:focus-within { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-50); background: #fff; }
.input-wrap input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 10px 10px; font: 500 0.98rem var(--mono); color: var(--ink); text-align: right; }
.input-wrap input:focus { outline: none; }
.prefix, .suffix { font-family: var(--mono); font-size: 0.82rem; color: var(--muted); padding: 0 10px; }
.prefix { padding-right: 0; }
.suffix { padding-left: 0; min-width: 36px; }

.calc-results { position: sticky; top: calc(var(--header-h) + 16px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.res-block { padding: 24px 26px; border-bottom: 1px solid var(--line); }
.res-save { background: linear-gradient(180deg, #f2f8f4, var(--brand-50)); }
.res-label { font-family: var(--mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin: 0 0 6px; }
.res-save .res-label { color: var(--brand-600); }
.res-big { font-family: var(--display); font-size: 2.3rem; font-weight: 700; letter-spacing: -0.03em; margin: 0; line-height: 1.1; font-variant-numeric: tabular-nums; }
.res-save .res-big { color: var(--brand-600); }
.res-per { font-family: var(--sans); font-size: 0.95rem; font-weight: 500; letter-spacing: 0; color: var(--muted); }
.res-sub { margin: 6px 0 0; color: var(--muted); font-size: 0.92rem; }
.improve { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 0.9rem; color: var(--ink-2); }
.improve output { font-family: var(--mono); font-weight: 600; color: var(--brand-600); background: #fff; padding: 2px 8px; border-radius: 6px; box-shadow: var(--shadow-sm); }
.res-save input[type=range] { width: 100%; margin: 12px 0 18px; accent-color: var(--brand); }
.res-detail { padding: 22px 26px 24px; }
.res-leak-label { font-size: 0.84rem; color: var(--muted); margin: 0; }
.res-leak { font-family: var(--display); font-weight: 650; font-size: 1.05rem; margin: 0 0 16px; }
.res-breakdown { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 12px; }
.res-breakdown li { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; font-size: 0.88rem; }
.bd-name { color: var(--muted); }
.bd-val { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.bd-bar { grid-column: 1 / -1; height: 6px; background: var(--surface-2); border-radius: 999px; overflow: hidden; }
.bd-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--brand), #2f8a63); border-radius: 999px; }
.res-risk { font-size: 0.92rem; padding: 14px 16px; background: var(--amber-50); border: 1px solid #f0dfa8; border-radius: 10px; margin-bottom: 14px; color: var(--ink-2); }
.calc-results .fine-print { margin: 0; font-size: 0.8rem; }

.calc-next { margin-top: 40px; padding: 24px 28px; border: 1px solid var(--brand-100); border-radius: var(--r); display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; background: linear-gradient(180deg, #f4faf6, #fff); box-shadow: var(--shadow-sm); }
.calc-next p { margin: 0; }
.calc-cta { margin-top: 40px; }
.calc-more { margin-top: 24px; color: var(--muted); }
.calc-bar { display: none; }

.calc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 36px; }
.calc-card { display: flex; flex-direction: column; text-decoration: none; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 30px; box-shadow: var(--shadow-sm); transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease; }
.calc-card:hover { border-color: var(--brand); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.calc-card p { color: var(--muted); font-size: 0.95rem; }
.calc-card-go { margin-top: auto; color: var(--brand); font-weight: 600; font-size: 0.95rem; }

/* ---------- 8. Privacy and 404 ---------- */
.legal { padding: 72px 0 104px; }
.legal-inner { max-width: 740px; }
.legal h2 { font-size: 1.35rem; margin-top: 2.2em; }
.legal ul { padding-left: 1.2em; }
.legal li { margin-bottom: 0.6em; }
.legal a { color: var(--brand); }
.legal-date { font-family: var(--mono); font-size: 0.82rem; color: var(--muted); }
.notfound { padding: 120px 0; min-height: calc(100vh - var(--header-h)); }
.notfound .big { display: inline-block; font-family: var(--mono); font-size: 0.95rem; color: var(--red); background: var(--red-50); padding: 6px 12px; border-radius: 8px; margin-bottom: 18px; }
.notfound-links { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }

/* ---------- 9. Responsive ---------- */
@media (max-width: 1020px) {
  .nav { display: none; }
  .nav-toggle { display: block; }
  .header-cta { margin-left: auto; }
  .nav-toggle { margin-left: 0; }
  .nav-open .nav {
    display: flex; flex-direction: column; gap: 2px;
    position: absolute; top: var(--header-h); left: 0; right: 0;
    background: var(--bg); border-bottom: 1px solid var(--line);
    padding: 12px 20px 20px; box-shadow: var(--shadow-md);
  }
  .nav-open .nav a { padding: 12px 10px; font-size: 1rem; }
}

@media (max-width: 920px) {
  .hero-inner, .proof, .about { grid-template-columns: 1fr; }
  .hero-inner { gap: 48px; padding-top: 64px; padding-bottom: 56px; }
  .hero-visual { min-height: 500px; max-width: 580px; margin-bottom: 16px; }
  .strip-inner { grid-template-columns: 1fr; }
  .strip-item { padding: 16px 0; }
  .strip-item + .strip-item { padding-left: 0; border-left: 0; border-top: 1px solid var(--dark-line); }
  .cards.three, .steps, .tools { grid-template-columns: 1fr; }
  .steps::before { display: none; }
  .terms { grid-template-columns: 1fr; padding: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .fixes { grid-template-columns: 1fr; }
  .area-grid { grid-template-columns: repeat(2, 1fr); }
  .calc-layout { grid-template-columns: 1fr; }
  .calc-results { position: static; }
  .calc-grid { grid-template-columns: 1fr; }
  .calc-bar {
    display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
    background: var(--dark); color: #fff; text-align: center;
    padding: 14px 16px calc(14px + env(safe-area-inset-bottom)); font-size: 0.95rem;
    transition: transform 0.2s ease;
  }
  .calc-bar strong { color: var(--mint); }
  .calc-bar.hide { transform: translateY(100%); }
  .calc-page { padding-bottom: 104px; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  :root { --header-h: 64px; }
  .header-cta { display: none; }
  .nav-toggle { margin-left: auto; }
  .section, .close { padding: 80px 0; }
  .section-head { margin-bottom: 36px; }
  .hero-visual { min-height: 480px; }
  .hero .eyebrow { letter-spacing: 0.06em; font-size: 0.68rem; }
  .sheet { width: 92%; }
  .app { width: 84%; }
  .sheet-grid { grid-template-columns: 22px 1fr 0.7fr 0.8fr 1.1fr; font-size: 0.62rem; }
  .c { padding: 6px 4px; min-height: 26px; }
  .app-kpis > div { padding: 12px; }
  .kpi { font-size: 1.15rem; }
  .app-row { padding: 8px 12px; gap: 8px; font-size: 0.8rem; }
  .signup-row { flex-direction: column; }
  .signup .btn { width: 100%; }
  .card, .step, .ba, .fix, .tool-body { padding: 24px; }
  .pitch-band { padding: 24px; }
  .terms { padding: 26px; }
  .principles { padding: 6px 20px; }
  .dash-kpis > div { padding: 14px 12px; }
  .dash-table th, .dash-table td { padding: 10px 12px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 20px; padding-top: 56px; padding-bottom: 44px; }
  .finder-screen { padding: 44px 0 72px; }
  .area-grid { grid-template-columns: 1fr; }
  .q { padding: 18px 16px; }
  .q legend { font-size: 1rem; }
  .scale { gap: 3px; padding: 3px; }
  .scale label { font-size: 0.74rem; min-height: 46px; padding: 4px 2px; }
  .chart { padding: 18px; gap: 16px; }
  .bar-row { grid-template-columns: 1fr 34px; gap: 6px 10px; }
  .bar-label { grid-column: 1 / -1; font-size: 0.88rem; }
  .results-signup { padding: 24px; }
  .calc-intro { padding-top: 40px; }
  .field { grid-template-columns: 1fr; gap: 8px; }
  .input-wrap { max-width: 220px; }
  .res-big { font-size: 1.9rem; }
  .example-note { border-radius: 12px; }
}

/* ---------- Pill button (white with arrow circle) ---------- */
.btn-pill {
  display: inline-flex; align-items: center; gap: 12px;
  background: #fff; color: var(--ink); text-decoration: none;
  font: 600 0.95rem/1 var(--sans); padding: 6px 6px 6px 20px; border-radius: 999px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn-pill:hover { transform: translateY(-1px); box-shadow: 0 8px 20px -10px rgba(0, 0, 0, 0.6); }
.btn-pill-icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--dark); color: #fff; transition: transform 0.15s ease; }
.btn-pill-icon .icon { width: 17px; height: 17px; }
.btn-pill:hover .btn-pill-icon { transform: translateX(2px); }
.btn-mint { background: var(--mint); color: var(--dark); box-shadow: none; }
.btn-mint:hover { background: #a3e6c3; }

/* ---------- About page ---------- */
.about-page { background: var(--bg); }
.about-hero { position: relative; overflow: hidden; background: var(--dark); color: var(--dark-text); }
.about-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(800px 380px at 50% -10%, rgba(134, 217, 174, 0.18), transparent 70%); }
.about-hero-inner { position: relative; text-align: center; padding-top: 104px; padding-bottom: 176px; display: flex; flex-direction: column; align-items: center; }
.about-hero h1 { color: #fff; max-width: 17ch; }
.about-hero .eyebrow { color: var(--mint); }
.about-hero .lede { color: var(--dark-muted); text-align: center; }

.about-story { display: grid; grid-template-columns: 380px 1fr; gap: 72px; align-items: start; margin-top: -112px; position: relative; z-index: 2; padding-bottom: 40px; }
.about-photo { margin: 0; position: sticky; top: calc(var(--header-h) + 24px); }
.about-photo img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); background: var(--surface-2); }
.about-photo figcaption { margin-top: 14px; font-family: var(--mono); font-size: 0.78rem; color: var(--muted); text-align: center; }
.photo-fallback { display: none; }
.about-photo.no-photo .photo-fallback {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center;
  aspect-ratio: 4 / 5; border-radius: var(--r-lg); box-shadow: var(--shadow-lg);
  background: linear-gradient(160deg, var(--brand-600), var(--brand-700)); color: #fff;
  font-family: var(--display); font-size: 1.2rem; font-weight: 600; padding: 24px;
}
.about-photo.no-photo .photo-fallback small { font-family: var(--mono); font-size: 0.75rem; font-weight: 400; color: var(--mint); }
.prose { padding-top: 152px; font-size: 1.12rem; line-height: 1.75; color: var(--ink-2); max-width: 62ch; }
.prose p { margin-bottom: 1.2em; }

.center-title { text-align: center; margin: 0 auto 48px; }
.about-numbers { padding-top: 72px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 30px; box-shadow: var(--shadow-sm); }
.stat-big { display: block; font-family: var(--display); font-size: 2.4rem; font-weight: 700; letter-spacing: -0.03em; color: var(--brand-600); margin-bottom: 8px; }
.stat p { margin: 0; color: var(--muted); }
.about-how { padding-top: 40px; }
.not-list { margin-top: 8px; font-size: 1.05rem; color: var(--ink-2); }
.not-list p:first-child { padding: 18px 20px; background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--amber); border-radius: 10px; }
.close-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 12px; }

@media (max-width: 920px) {
  .about-story { grid-template-columns: 1fr; gap: 32px; margin-top: -96px; }
  .about-photo { position: static; max-width: 340px; margin: 0 auto; width: 100%; }
  .prose { padding-top: 0; }
  .stats { grid-template-columns: 1fr; }
  .about-hero-inner { padding-top: 72px; padding-bottom: 140px; }
}

/* ---------- What I offer ---------- */
.offers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.offer { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 30px; box-shadow: var(--shadow-sm); transition: transform 0.2s ease, box-shadow 0.2s ease; }
.offer:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.offer-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 4px; }
.offer-top .icon-tile { margin-bottom: 16px; }
.offer p { color: var(--muted); }
.offer-for { margin: auto 0 0; padding-top: 16px; border-top: 1px solid var(--line); font-size: 0.93rem; }
.offer-for strong { color: var(--ink); font-weight: 600; }
.offer-note { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 32px 0 0; font-weight: 500; color: var(--ink-2); }
.offer-note .icon { color: var(--brand); }

/* ---------- Short About on homepage ---------- */
.about-mini { display: flex; align-items: center; gap: 48px; }
.about-mini > div { max-width: 640px; }
.about-mini-photo { width: 180px; height: 180px; border-radius: 50%; object-fit: cover; flex-shrink: 0; box-shadow: var(--shadow-md); }
.about-mini .section-lede { margin-bottom: 18px; }

@media (max-width: 920px) {
  .offers { grid-template-columns: 1fr; }
  .offer-note { justify-content: flex-start; align-items: flex-start; }
  .about-mini { flex-direction: column; align-items: flex-start; gap: 24px; }
  .about-mini-photo { width: 120px; height: 120px; }
}

/* About story without a photo: one centred card overlapping the dark header */
.about-story { display: block; max-width: 820px; margin: -112px auto 0; padding-bottom: 24px; }
.about-story .prose {
  padding: 52px 60px; max-width: none;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-md);
}
.about-story .prose p:last-child { margin-bottom: 0; }
@media (max-width: 920px) { .about-story { margin-top: -96px; } }
@media (max-width: 560px) { .about-story .prose { padding: 28px 22px; font-size: 1.04rem; } }

.stats.four { grid-template-columns: repeat(4, 1fr); }
.stats.four .stat-big { font-size: 1.6rem; white-space: nowrap; }
.stats.four .stat { padding: 28px 26px; }
@media (max-width: 1020px) { .stats.four { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .stats.four { grid-template-columns: 1fr; } }

/* About: credentials as one quiet line, and benefit cards */
.cred-line { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.cred-line li { font-family: var(--mono); font-size: 0.76rem; color: var(--dark-muted); padding: 7px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.05); box-shadow: inset 0 0 0 1px var(--dark-line); }
.stat.benefit h3 { font-size: 1.15rem; margin-bottom: 8px; }
.stat.benefit { border-top: 3px solid var(--brand); }
.stats.benefits-four { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1020px) { .stats.benefits-four { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .stats.benefits-four { grid-template-columns: 1fr; } }

/* =========================================================
   Direction A: quiet editorial
   Cream, near-black, one burnt orange accent, serif headlines.
   This block overrides the earlier styles above.
   ========================================================= */
:root {
  --bg: #faf8f4;
  --surface: #ffffff;
  --surface-2: #f3efe7;
  --ink: #1c1917;
  --ink-2: #3f3a36;
  --muted: #6b645e;
  --line: #e7e1d7;
  --line-strong: #d6cec2;

  --brand: #c2410c;
  --brand-600: #9a3412;
  --brand-700: #7c2d12;
  --brand-50: #fbf1ea;
  --brand-100: #f1d9c8;
  --mint: #f2a774;

  --amber-50: #fbf1ea;

  --dark: #1c1917;
  --dark-2: #292524;
  --dark-line: rgba(255, 255, 255, 0.12);
  --dark-text: #f5f3ef;
  --dark-muted: #aaa29a;

  --display: "Newsreader", Georgia, "Times New Roman", serif;

  --r-sm: 6px;
  --r: 10px;
  --r-lg: 12px;
  --shadow-sm: none;
  --shadow-md: 0 1px 2px rgba(28, 25, 23, 0.06);
  --shadow-lg: 0 1px 3px rgba(28, 25, 23, 0.08);
}

/* Type: serif for big headlines, sans for everything else */
h1, h2 { font-family: var(--display); font-weight: 500; letter-spacing: -0.015em; line-height: 1.1; }
h1 { font-size: clamp(2.6rem, 5.6vw, 4.4rem); }
h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
h3, h4 { font-family: var(--sans); font-weight: 600; letter-spacing: -0.005em; }
.eyebrow { font-family: var(--sans); font-size: 0.74rem; font-weight: 600; letter-spacing: 0.1em; color: var(--brand); }
.eyebrow::before { display: none; }
.lede { color: var(--muted); }

/* Buttons: near-black primary, orange only for links */
.btn { background: var(--ink); box-shadow: none; border-radius: 8px; }
.btn:hover { background: #000; transform: none; }
.btn-ghost { background: transparent; box-shadow: inset 0 0 0 1px var(--line-strong); }
.btn-ghost:hover { background: var(--surface-2); }
.btn-small { border-radius: 8px; }
.text-link { color: var(--brand); }
.signup-row { box-shadow: none; border-radius: 10px; }
.signup-row:focus-within { box-shadow: 0 0 0 3px var(--brand-50); border-color: var(--ink); }

/* Header */
.site-header { background: rgba(250, 248, 244, 0.9); border-bottom: 1px solid var(--line); }
.logo { font-family: var(--display); font-weight: 600; font-size: 1.25rem; letter-spacing: -0.01em; }
.logo-mark { color: var(--ink); }
.nav a { color: var(--ink-2); }

/* Remove decoration: gradients, glows, grids, icon tiles, hover lifts */
.hero::before, .hero::after, .close::before, .about-hero::before,
.terms::after, .results-signup::before { display: none; }
.finder, .calc-page, .legal, .notfound, .about-page { background: var(--bg); }
.icon-tile { display: none; }
.card:hover, .offer:hover, .tool:hover, .area-btn:hover, .calc-card:hover { transform: none; box-shadow: none; }
.section.alt { background: var(--surface-2); border: 0; }
.section { padding: 112px 0; }

/* Homepage hero: cream, text only */
.hero { background: var(--bg); color: var(--ink); border-bottom: 1px solid var(--line); }
.hero-inner { grid-template-columns: 1fr; max-width: 900px; margin-left: 0; padding-top: 120px; padding-bottom: 112px; }
.hero-inner.wrap { margin-left: auto; margin-right: auto; max-width: var(--max); }
.hero-copy { max-width: 820px; }
.hero h1 { color: var(--ink); }
.hero h1 em { font-style: italic; color: var(--brand); }
.hero .eyebrow { color: var(--brand); }
.hero .lede { color: var(--muted); font-size: 1.22rem; }
.hero-actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-top: 34px; }

/* Problem cards: editorial columns with a top rule, no boxes */
.card { background: transparent; border: 0; border-top: 1px solid var(--ink); border-radius: 0; padding: 22px 0 0; }
.card h3 { font-size: 1.12rem; }

/* Services: flat white cards */
.offer { border-radius: var(--r); box-shadow: none; }
.step-meta { background: transparent; padding: 0; font-family: var(--sans); font-size: 0.8rem; font-weight: 600; color: var(--brand); }
.offer-top { margin-bottom: 14px; }
.offer-note .icon { color: var(--brand); }

/* Case study */
.ba { background: transparent; border: 0; border-top: 1px solid var(--ink); border-radius: 0; padding: 20px 0 0; box-shadow: none; }
.after { background: transparent; border-color: var(--ink); }
.ba-badge { display: none; }
.ba-head h3 { font-family: var(--sans); font-size: 0.78rem; }
.before h3 { color: var(--muted); }
.after h3 { color: var(--brand); }
.after li::before { background: var(--brand); }
.dash { box-shadow: none; border-radius: var(--r); }
.dash-head { background: var(--surface); }
.kpi { font-family: var(--display); font-weight: 500; }
.honest { border-left: 0; padding-left: 0; font-style: italic; }
.tag.won { background: #eef3ea; color: #3f6212; }
.tag.follow { background: var(--brand-50); color: var(--brand-600); }

/* Free tools */
.tool { box-shadow: none; border-radius: var(--r); }
.tool-visual { background: var(--bg); }
.mini-bar span:last-child { background: var(--line-strong); }
.mini-bar.top span:last-child { background: var(--ink); }
.mini-readout { box-shadow: none; border: 1px solid var(--line); }
.mini-readout strong { color: var(--ink); font-family: var(--display); font-weight: 500; }

/* Close section: cream, centred, quiet */
.close { background: var(--bg); color: var(--ink); border-top: 1px solid var(--line); }
.close h2 { color: var(--ink); }
.close p { color: var(--muted); }
.close .eyebrow { color: var(--brand); }

/* Footer */
.site-footer { background: var(--dark); }
.footer-pitch { font-family: var(--display); font-weight: 500; font-size: 1.45rem; }
.footer-col h4 { font-family: var(--sans); font-weight: 600; color: #fff; }
.footer-bottom .logo { font-family: var(--display); }
.footer-brand .logo-mark, .footer-bottom .logo-mark { color: #f5f3ef; }

/* About page */
.about-hero { background: var(--bg); color: var(--ink); border-bottom: 1px solid var(--line); }
.about-hero h1 { color: var(--ink); }
.about-hero .eyebrow { color: var(--brand); }
.about-hero .lede { color: var(--muted); }
.about-hero-inner { padding-top: 112px; padding-bottom: 88px; }
.cred-line li { background: transparent; color: var(--muted); box-shadow: inset 0 0 0 1px var(--line-strong); font-family: var(--sans); font-size: 0.8rem; }
.about-story { margin-top: 0; max-width: 720px; padding-top: 72px; }
.about-story .prose { background: none; border: 0; box-shadow: none; padding: 0; font-size: 1.15rem; }
.about-story .prose p:first-child::first-letter { font-family: var(--display); }
.stat { background: transparent; border: 0; border-top: 1px solid var(--ink); border-radius: 0; padding: 22px 0 0; box-shadow: none; }
.stat.benefit { border-top: 1px solid var(--ink); }
.stats.four .stat, .stats.benefits-four .stat { padding: 22px 0 0; }
.stat-big { font-family: var(--display); font-weight: 500; color: var(--ink); }
.principles { box-shadow: none; }
.not-list p:first-child { border: 0; border-left: 2px solid var(--brand); border-radius: 0; background: transparent; padding: 4px 0 4px 18px; }

/* Bottleneck Finder */
.finder-meta { background: transparent; font-family: var(--sans); }
.area-btn { box-shadow: none; border-radius: var(--r); }
.area-btn:hover { border-color: var(--ink); }
.area-name { font-family: var(--sans); font-weight: 600; }
.card-num { font-family: var(--sans); font-weight: 600; color: var(--brand); }
.q { box-shadow: none; border-radius: var(--r); }
.q-num { background: transparent; color: var(--brand); font-family: var(--sans); font-weight: 600; width: auto; margin-right: 10px; }
.scale label:hover { box-shadow: none; }
.scale input:checked + label { background: var(--ink); box-shadow: none; }
.progress span { background: var(--ink); }
.progress-sticky { background: rgba(250, 248, 244, 0.94); }
.chart { box-shadow: none; }
.bar-fill { background: var(--line-strong); }
.bar-row.top .bar-fill { background: var(--brand); }
.fix { box-shadow: none; }
.fix-rank { background: transparent; padding: 0; font-family: var(--sans); font-weight: 600; }
.fix-box { background: var(--bg); border-color: var(--line); }
.fix-name { font-family: var(--sans) !important; color: var(--ink) !important; }
.results-signup { border-radius: var(--r-lg); }
.calc-next { background: var(--surface); box-shadow: none; border-color: var(--line); }

/* Calculators */
.example-note { background: transparent; border: 0; padding: 0; border-radius: 0; color: var(--muted); }
.example-note::before { background: var(--brand); }
.field { box-shadow: none; }
.field:focus-within { border-color: var(--ink); }
.input-wrap:focus-within { border-color: var(--ink); box-shadow: 0 0 0 3px var(--surface-2); }
.calc-results { box-shadow: none; border-radius: var(--r-lg); }
.res-save { background: var(--bg); }
.res-label { font-family: var(--sans); font-weight: 600; }
.res-save .res-label, .res-save .res-big { color: var(--brand-600); }
.res-big { font-family: var(--display); font-weight: 500; }
.improve output { box-shadow: none; border: 1px solid var(--line); }
.res-save input[type=range] { accent-color: var(--ink); }
.bd-bar span { background: var(--ink); }
.res-risk { background: var(--bg); border-color: var(--line); }
.calc-card { box-shadow: none; }
.calc-card:hover { border-color: var(--ink); }

@media (max-width: 920px) {
  .hero-inner { padding-top: 80px; padding-bottom: 72px; }
  .about-story { padding-top: 48px; }
}
@media (max-width: 560px) {
  .section, .close { padding: 72px 0; }
  .about-hero-inner { padding-top: 72px; padding-bottom: 56px; }
}
.site-footer .logo-mark { color: #f5f3ef; --cell: #1c1917; --cell-accent: #c2410c; }

/* ---------- Contact ---------- */
.contact-page { background: var(--bg); }
.contact-inner { max-width: 860px; padding-top: 112px; padding-bottom: 112px; }
.contact-inner h1 { max-width: 16ch; }
.contact-btn { margin-top: 18px; font-size: 1.05rem; padding: 18px 26px; }
.contact-btn .icon { width: 20px; height: 20px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-top: 72px; }
.contact-col { border-top: 1px solid var(--ink); padding-top: 22px; }
.contact-col ul { padding-left: 1.1em; margin: 0; color: var(--ink-2); }
.contact-col li { margin-bottom: 8px; }
.contact-col p { color: var(--muted); }
.contact-cta { text-align: center; display: flex; flex-direction: column; align-items: center; }
.contact-cta .btn { margin-top: 10px; }
.contact-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 12px; }
.results-contact { margin-top: 40px; padding: 34px; background: var(--dark); color: var(--dark-text); border-radius: var(--r-lg); }
.results-contact h3 { color: #fff; }
.results-contact p { color: var(--dark-muted); }
.results-contact .btn { background: #fff; color: var(--ink); }
.results-contact .btn:hover { background: var(--surface-2); }
@media (max-width: 760px) {
  .contact-inner { padding-top: 72px; padding-bottom: 72px; }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; margin-top: 48px; }
  .contact-btn { width: 100%; justify-content: center; white-space: normal; }
}

/* ---------- About page v2: story column + facts sidebar ---------- */
.about-hero-inner { padding-top: 104px; padding-bottom: 72px; }
.about-hero .lede { max-width: 44ch; }
.about-body-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 72px; align-items: start; padding-top: 72px; padding-bottom: 96px; max-width: 1080px; }
.about-body-grid .prose { padding: 0; max-width: 64ch; font-size: 1.14rem; line-height: 1.75; color: var(--ink-2); }
.about-body-grid .prose p { margin-bottom: 1.15em; }
.prose-h { font-family: var(--display); font-size: 1.6rem; font-weight: 500; margin: 1.8em 0 0.5em; max-width: none; }
.facts { position: sticky; top: calc(var(--header-h) + 24px); border-top: 1px solid var(--ink); padding-top: 18px; }
.facts-title { font-size: 0.74rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brand); margin: 0 0 14px; }
.facts dl { margin: 0; }
.facts dt { font-size: 0.8rem; color: var(--muted); margin-top: 14px; }
.facts dd { margin: 2px 0 0; font-size: 1rem; color: var(--ink); line-height: 1.45; }
.about-close { border-top: 1px solid var(--line); }
@media (max-width: 920px) {
  .about-body-grid { grid-template-columns: 1fr; gap: 48px; padding-top: 48px; padding-bottom: 72px; }
  .facts { position: static; }
}
