/* teams.css — /teams/ only.
 *
 * Same family as simple.css (dark first screen, white sheet below, Poppins +
 * JetBrains Mono, indigo accent) so the page reads as the same company. The
 * product UI inside the page — the sample report — deliberately uses a quieter
 * register: thin borders, no shadows inside, colour only for grade state (green
 * A, amber C, red problems). That restraint is what makes it read as software a
 * leader would trust rather than a marketing illustration.
 *
 * Series colours (s1/s2/s3) are the validated first three slots of the site's
 * data-viz palette; they are only ever used together.
 */

:root {
  --dark:    #08090E;
  --dark-2:  #101119;
  --dark-3:  #171924;
  --paper:   #FFFFFF;
  --paper-2: #F7F8FC;
  --ink:     #16171F;
  --body:    #4C4E60;
  --muted:   #7A7D8E;
  --hair:    rgba(16,17,25,.09);
  --hair-2:  rgba(16,17,25,.15);
  --on-dark:   #FFFFFF;
  --on-dark-2: rgba(255,255,255,.78);
  --on-dark-3: rgba(255,255,255,.62);
  --accent:  #3A53D4;
  --accent-2:#6889FF;

  --a: #16703F;  --a-bg: #E6F3EB;
  --b: #3F4450;  --b-bg: #EEF0F2;
  --c: #935607;  --c-bg: #FBF0DE;
  --d: #B42318;  --d-bg: #FDECEB;
  --s1: #2A78D6; --s2: #EB6834; --s3: #1BAF7A;

  --display: "Poppins", system-ui, -apple-system, sans-serif;
  --mono:    "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  /* Same gutter as simple.css's --pad. There is deliberately no max-width: the
     homepage runs edge to edge on wide displays, and a capped column here read as
     a boxed-in page next to it (seen at ~2560px). Long text keeps its own ch-based
     measure instead. */
  --gut: clamp(24px, 5vw, 70px);
}

* { box-sizing: border-box; }
/* Components set their own display values; the hidden attribute must still win. */
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--display); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
a { color: inherit; }
img { display: block; max-width: 100%; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; text-align: inherit; }
:focus-visible { outline: 3px solid var(--accent-2); outline-offset: 3px; border-radius: 6px; }
.wrap { width: 100%; padding-inline: var(--gut); }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--paper); color: var(--ink); padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.up { color: var(--a); }
.down { color: var(--d); }

/* ─────────────────────────── buttons ─────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px; border-radius: 999px; border: 1px solid transparent;
  font-size: 15.5px; font-weight: 600; text-decoration: none; white-space: nowrap;
  transition: transform .16s ease, background .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.btn:hover { transform: translateY(-1px); }
@media (prefers-reduced-motion: reduce) { .btn, .btn:hover { transition: none; transform: none; } }
.btn-light { background: var(--on-dark); color: var(--dark); box-shadow: 0 18px 44px -22px rgba(0,0,0,.9); }
.btn-ghost-dark { color: var(--on-dark); border-color: rgba(255,255,255,.24); }
.btn-ghost-dark:hover { border-color: rgba(255,255,255,.5); }
.btn-dark { background: var(--dark-2); color: #fff; }
.btn-dark:hover { background: var(--accent); }
.btn-sm { padding: 8px 16px; font-size: 14px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .6; cursor: default; transform: none; }

/* ─────────────────────────── nav ─────────────────────────── */
.nav { position: sticky; top: 0; z-index: 20; background: rgba(8,9,14,.86); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid rgba(255,255,255,.07); }
/* Same 3-column bar as the homepage: the Personal / Teams switch sits at the true
   centre on both pages, so choosing a side never makes it jump. */
.nav-in { display: grid; grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); align-items: center; gap: 16px; height: 72px; }
.nav-in > .brand { justify-self: start; }
.nav-right { justify-self: end; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 9px; color: var(--on-dark); text-decoration: none; font-weight: 700; font-size: 17px; letter-spacing: -.01em; }
.brand img { border-radius: 7px; }
/* Personal / Teams switch — same control as the homepage bar, Teams selected here. */
.mode { display: inline-flex; padding: 5px; gap: 2px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.2); }
.mode-opt { padding: 10px 26px; border-radius: 999px; font-size: 16px; font-weight: 600; line-height: 1.2; text-decoration: none; white-space: nowrap; color: rgba(255,255,255,.82); transition: background .16s ease, color .16s ease; }
.mode-opt:hover { background: rgba(255,255,255,.12); color: #fff; }
.mode-opt.is-on { background: #fff; color: var(--dark); }
@media (prefers-reduced-motion: reduce) { .mode-opt { transition: none; } }
@media (max-width: 560px) {
  .nav .brand span { display: none; }
  /* Phones: logo, a centred switch and Book a call must share one row. A 16px
     gutter (the homepage keeps 24px) and the phone-size switch, identical on both
     pages, are what fit without the switch leaving the true centre. */
  .nav .wrap { padding-inline: 16px; }
  .nav-in { height: 64px; gap: 6px; }
  .mode { padding: 4px; }
  .mode-opt { padding: 7px 11px; font-size: 13.5px; }
  .nav .btn-sm { padding: 8px 11px; font-size: 13px; }
}
.nav-links { display: flex; gap: 22px; }
.nav-links a { color: var(--on-dark-3); text-decoration: none; font-size: 14.5px; font-weight: 500; }
.nav-links a:hover { color: var(--on-dark); }
@media (max-width: 1120px) { .nav-links { display: none; } }

/* ─────────────────────────── hero ─────────────────────────── */
.hero { background: var(--dark); color: var(--on-dark); padding-block: clamp(48px, 9vh, 96px) clamp(48px, 7vh, 80px); position: relative; overflow: hidden; }
/* one quiet lift of the accent behind the report — the only decorative light on the page */
.hero::before { content: ""; position: absolute; left: 50%; top: 58%; width: min(1100px, 120vw); height: 520px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(58,83,212,.28), rgba(58,83,212,0)); pointer-events: none; }
.hero .wrap { position: relative; }
/* No width cap on the copy block: the headline sets on two fixed lines (spans, the
   homepage's trick) and its size scales with the viewport, so on a 2560px display
   it runs ~1500px wide instead of wrapping to three short lines in a 780px box. */
.hero-copy { max-width: none; }
.h1-l { display: block; }
.hero h1 { font-size: clamp(34px, 3.75vw, 96px); line-height: 1.04; letter-spacing: -.035em; font-weight: 700; text-wrap: wrap; }
.lede { margin-top: clamp(18px, 1.4vw, 32px); font-size: clamp(16.5px, 1vw, 24px); line-height: 1.6; color: var(--on-dark-2); max-width: 62ch; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.fine { margin-top: 14px; font-size: 13px; color: var(--on-dark-3); }
.report-cap { margin-top: 14px; font-size: 12.5px; color: var(--on-dark-3); text-align: center; }

/* ─────────────────────────── sample report ─────────────────────────── */
.report { margin: clamp(40px, 6vh, 64px) 0 0; background: var(--paper); color: var(--ink); border-radius: 14px; overflow: hidden; box-shadow: 0 50px 120px -40px rgba(0,0,0,.85), 0 0 0 1px rgba(255,255,255,.08); font-size: 13.5px; line-height: 1.45; }
.r-chrome { display: flex; align-items: center; gap: 12px; height: 40px; padding-inline: 14px; background: var(--paper-2); border-bottom: 1px solid var(--hair); }
.r-dots { display: flex; gap: 6px; }
.r-dots i { width: 10px; height: 10px; border-radius: 50%; background: #D9DBE3; }
.r-title { font-size: 12.5px; font-weight: 500; color: var(--body); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.r-badge { margin-left: auto; font-size: 11px; font-weight: 500; color: var(--body); border: 1px solid var(--hair-2); border-radius: 5px; padding: 1px 7px; white-space: nowrap; }
.r-body { padding: clamp(14px, 2vw, 22px); display: flex; flex-direction: column; gap: 14px; }
.r-summary { font-size: clamp(15px, 1.5vw, 18px); font-weight: 600; letter-spacing: -.01em; line-height: 1.35; max-width: 60ch; }
.r-kpis { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); border: 1px solid var(--hair); border-radius: 10px; }
.r-kpi { display: flex; flex-direction: column; gap: 1px; padding: 11px 14px; border-left: 1px solid var(--hair); min-width: 0; }
.r-kpi:first-child { border-left: 0; }
.r-label { font-size: 11.5px; color: var(--muted); }
.r-val { font-size: 22px; font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; line-height: 1.25; }
.r-val small { font-size: 12px; font-weight: 500; color: var(--body); margin-left: 3px; letter-spacing: 0; }
.r-sub { font-size: 11.5px; color: var(--body); }
@media (max-width: 760px) { .r-kpis { grid-template-columns: repeat(2, minmax(0,1fr)); } .r-kpi:nth-child(3) { border-left: 0; } .r-kpi:nth-child(n+3) { border-top: 1px solid var(--hair); } }

.r-split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 14px; align-items: start; }
@media (max-width: 960px) { .r-split { grid-template-columns: 1fr; } }
.r-list, .r-detail { border: 1px solid var(--hair); border-radius: 10px; min-width: 0; }
.r-list ul { list-style: none; margin: 0; padding: 0; }
.r-list-head { display: flex; justify-content: space-between; padding: 8px 12px; border-bottom: 1px solid var(--hair); font-size: 11.5px; color: var(--muted); }
.r-row { display: grid; grid-template-columns: 32px minmax(0,1fr) auto; gap: 10px; align-items: center; width: 100%; padding: 9px 12px; border-top: 1px solid var(--hair); position: relative; }
.r-list li:first-child .r-row { border-top: 0; }
.r-row:hover { background: var(--paper-2); }
.r-row[aria-pressed="true"] { background: #F0F1F5; }
.r-row[aria-pressed="true"]::before { content: ""; position: absolute; left: 0; top: 7px; bottom: 7px; width: 2px; border-radius: 2px; background: var(--ink); }
.r-row > .g { width: 32px; height: 32px; font-size: 13.5px; }
.r-who { min-width: 0; display: flex; flex-direction: column; }
.r-nm { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; line-height: 1.3; }
.r-nm b { font-weight: 600; font-size: 13.5px; }
.r-nm > span:not(.pill) { font-size: 11.5px; color: var(--muted); }
.r-mi { font-size: 12.5px; color: var(--body); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.r-days { display: flex; gap: 3px; }
.r-days .g { width: 22px; height: 19px; font-size: 10px; border-radius: 4px; }
@media (max-width: 520px) { .r-row { grid-template-columns: 32px minmax(0,1fr); } .r-row .r-days { display: none; } }

.g { display: inline-grid; place-items: center; border-radius: 6px; font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: -.01em; flex: none; }
.ga { background: var(--a-bg); color: var(--a); }
.gb { background: var(--b-bg); color: var(--b); }
.gc { background: var(--c-bg); color: var(--c); }
.gd { background: var(--d-bg); color: var(--d); }
.pill { font-size: 10.5px; font-weight: 500; padding: 0 6px; border-radius: 4px; white-space: nowrap; line-height: 1.6; }
.pill.crit { background: var(--d-bg); color: var(--d); }
.pill.warn { background: var(--c-bg); color: var(--c); }
.pill.good { background: var(--a-bg); color: var(--a); }

.rd-head { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-bottom: 1px solid var(--hair); }
.rd-grade { width: 44px; height: 44px; font-size: 19px; border-radius: 8px; }
.rd-head h3 { font-size: 16px; font-weight: 600; letter-spacing: -.01em; }
.rd-head p { font-size: 12px; color: var(--body); }
.rd-cols { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
.rd-cols > div { padding: 12px 14px 14px; min-width: 0; }
.rd-cols > div + div { border-left: 1px solid var(--hair); }
@media (max-width: 640px) { .rd-cols { grid-template-columns: 1fr; } .rd-cols > div + div { border-left: 0; border-top: 1px solid var(--hair); } }
.r-sec { font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.r-sec:not(:first-child) { margin-top: 14px; }
.rd-days, .rd-ev, .rd-acts { list-style: none; margin: 0; padding: 0; }
.rd-days li { display: grid; grid-template-columns: 30px 26px minmax(0,1fr); gap: 7px; align-items: start; padding-block: 5px; border-top: 1px solid var(--hair); font-size: 12.5px; }
.rd-days li:first-child { border-top: 0; padding-top: 0; }
.rd-days .g { width: 26px; height: 18px; font-size: 10px; border-radius: 4px; }
.rd-d { color: var(--muted); font-size: 11.5px; }
.rd-ev li { font-family: var(--mono); font-size: 11px; color: var(--body); padding-left: 11px; position: relative; line-height: 1.5; margin-bottom: 3px; }
.rd-ev li::before { content: ""; position: absolute; left: 0; top: .6em; width: 4px; height: 4px; border-radius: 50%; background: var(--hair-2); }
.rd-acts { counter-reset: act; }
.rd-acts li { counter-increment: act; display: grid; grid-template-columns: 18px minmax(0,1fr) auto; grid-template-rows: auto auto; column-gap: 8px; padding-block: 8px; border-top: 1px solid var(--hair); }
.rd-acts li:first-child { border-top: 0; padding-top: 0; }
.rd-acts li::before { content: counter(act); grid-row: 1 / 3; font-size: 11.5px; color: var(--muted); padding-top: 1px; }
.rd-t { grid-column: 2; font-size: 10.5px; color: var(--muted); }
.rd-acts b { grid-column: 2; font-size: 13px; font-weight: 600; line-height: 1.35; }
.rd-g { grid-column: 3; grid-row: 1 / 3; align-self: center; font-weight: 600; font-size: 13px; white-space: nowrap; }
.rd-proj { display: flex; align-items: center; gap: 8px; margin-top: 10px; padding: 7px 9px; border-radius: 7px; background: var(--paper-2); border: 1px solid var(--hair); font-size: 12px; color: var(--body); }
.rd-proj .g { width: 26px; height: 18px; font-size: 10px; border-radius: 4px; }
.rd-work { list-style: none; margin: 0 0 6px; padding: 0; font-size: 12.5px; }
.rd-work li { padding: 3px 0 3px 16px; position: relative; }
.rd-work li::before { content: ""; position: absolute; left: 1px; top: .72em; width: 7px; height: 4px; border-left: 1.6px solid var(--a); border-bottom: 1.6px solid var(--a); transform: rotate(-45deg); }

/* ─────────────────────────── thesis ─────────────────────────── */
.thesis { background: var(--paper); padding-block: clamp(56px, 9vh, 104px) 0; }
.thesis p { font-size: clamp(26px, 3vw, 76px); font-weight: 700; line-height: 1.12; letter-spacing: -.03em; }
.thesis .muted-l { color: var(--muted); }

/* ─────────────────────────── sections ─────────────────────────── */
.sec { padding-block: clamp(64px, 10vh, 112px); }
.sec-alt { background: var(--paper-2); border-block: 1px solid var(--hair); }
.sec-dark { background: var(--dark); color: var(--on-dark); }
.sec-head { max-width: min(1400px, 100%); margin-bottom: clamp(32px, 5vh, 64px); }
.kicker { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.sec-dark .kicker { color: var(--accent-2); }
.sec-head h2 { font-size: clamp(28px, 2.9vw, 72px); line-height: 1.08; letter-spacing: -.03em; font-weight: 700; max-width: 26ch; }
.sec-head > p:last-child:not(.kicker) { margin-top: clamp(14px, 1vw, 24px); color: var(--body); font-size: clamp(16.5px, .95vw, 22px); max-width: 62ch; }
.sec-dark .sec-head > p:last-child:not(.kicker) { color: var(--on-dark-2); }

/* features — alternating copy and a live-rendered slice of the report */
.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: center; padding-block: clamp(28px, 4vh, 44px); border-top: 1px solid var(--hair); }
.feature:nth-of-type(even) .f-copy { order: 2; }
.f-copy h3 { font-size: clamp(21px, 1.55vw, 38px); line-height: 1.2; letter-spacing: -.015em; font-weight: 700; }
.f-copy p { margin-top: 12px; color: var(--body); max-width: 50ch; font-size: clamp(16px, .9vw, 21px); }
.f-vis { font-size: 13.5px; line-height: 1.45; }
@media (max-width: 860px) { .feature { grid-template-columns: 1fr; } .feature:nth-of-type(even) .f-copy { order: 0; } }
.mini { border: 1px solid var(--hair); border-radius: 12px; padding: 14px 16px; background: var(--paper); }
.mini-row { display: grid; grid-template-columns: 32px minmax(0,1fr) auto; gap: 10px; align-items: center; padding-block: 9px; border-top: 1px solid var(--hair); }
.mini-row:first-child { border-top: 0; padding-top: 0; }
.mini-row:last-child { padding-bottom: 0; }
.mini-row > .g { width: 32px; height: 32px; font-size: 13.5px; }
.mini-who { display: flex; flex-direction: column; min-width: 0; }
.mini-who b { font-weight: 600; font-size: 13.5px; }
.mini-who span { font-size: 12.5px; color: var(--body); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 440px) { .mini-row { grid-template-columns: 32px minmax(0,1fr); } .mini-row .r-days { display: none; } }
.alerts { display: flex; flex-direction: column; gap: 10px; }
.alert { display: flex; flex-direction: column; gap: 4px; border: 1px solid var(--hair); border-left: 3px solid var(--d); border-radius: 10px; padding: 12px 14px; background: var(--paper); }
.a-top { display: flex; justify-content: space-between; gap: 10px; font-size: 12.5px; }
.a-top b { color: var(--d); font-weight: 600; }
.a-top span { font-weight: 600; }
.a-txt { font-size: 13.5px; color: var(--body); }
.a-txt b { color: var(--ink); font-weight: 600; }
.legend { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 12px; color: var(--body); }
.legend i { display: inline-block; width: 9px; height: 9px; border-radius: 2px; margin-right: 6px; vertical-align: -.5px; }
.s1 { background: var(--s1); } .s2 { background: var(--s2); } .s3 { background: var(--s3); }
.bars { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.bar { display: grid; grid-template-columns: 58px minmax(0,1fr) 46px; gap: 10px; align-items: center; font-size: 12.5px; }
.bar b { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.track { display: flex; gap: 2px; height: 12px; }
.track i { display: block; height: 100%; }
.track i:first-child { border-radius: 3px 0 0 3px; }
.track i:last-child { border-radius: 0 3px 3px 0; }

/* habits */
.habits { background: var(--paper); border: 1px solid var(--hair); border-radius: 14px; overflow: hidden; }
.h-head, .habit { display: grid; grid-template-columns: minmax(0, 1.15fr) 100px 100px minmax(0, 1.6fr); gap: 20px; align-items: center; padding-inline: 20px; }
.h-head { padding-block: 10px; background: var(--paper-2); border-bottom: 1px solid var(--hair); font-size: 12px; color: var(--muted); }
.habit { padding-block: 18px; border-top: 1px solid var(--hair); }
.h-head + .habit { border-top: 0; }
.h-t h3 { font-size: 15.5px; font-weight: 600; letter-spacing: -.01em; }
.h-t p { font-size: 13px; color: var(--body); margin-top: 2px; }
.h-v b { font-size: 21px; font-weight: 600; letter-spacing: -.015em; white-space: nowrap; }
.h-v b.a { color: var(--a); } .h-v b.c { color: var(--c); }
.h-lbl { display: none; font-size: 11px; color: var(--muted); }
/* The plot is an SVG scaled by its viewBox, so its text and dots grow with the
   column. Full-bleed made that column ~1000px on a 2560px display and the tick
   labels rendered at ~3x; capping the drawing keeps them at their designed size. */
.h-plot { min-width: 0; }
.h-plot svg { max-width: 100%; height: auto; display: block; overflow: visible; }
.h-plot text { fill: var(--muted); font-family: var(--display); font-size: 10.5px; }
.h-foot { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 12px 20px; border-top: 1px solid var(--hair); font-size: 12px; color: var(--muted); }
.ga-dot, .gb-dot, .gc-dot { border-radius: 50% !important; }
.ga-dot { background: var(--a); } .gb-dot { background: #9A9DAA; } .gc-dot { background: var(--c); }
@media (max-width: 860px) {
  .h-head { display: none; }
  .habit { grid-template-columns: 1fr 1fr; gap: 10px 18px; }
  .h-t, .h-plot { grid-column: 1 / -1; }
  .h-lbl { display: block; }
}

/* automations */
.autos { display: grid; grid-template-columns: minmax(260px, .7fr) minmax(0, 1.3fr); gap: 18px; align-items: start; font-size: 14px; }
@media (max-width: 900px) { .autos { grid-template-columns: 1fr; } }
.a-list { list-style: none; margin: 0; padding: 0; border: 1px solid var(--hair); border-radius: 12px; overflow: hidden; }
.a-row { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 12px; align-items: center; width: 100%; padding: 13px 16px; border-top: 1px solid var(--hair); position: relative; }
.a-list li:first-child .a-row { border-top: 0; }
.a-row:hover { background: var(--paper-2); }
.a-row[aria-pressed="true"] { background: #F0F1F5; }
.a-row[aria-pressed="true"]::before { content: ""; position: absolute; left: 0; top: 9px; bottom: 9px; width: 2px; border-radius: 2px; background: var(--ink); }
.a-row b { display: block; font-weight: 600; font-size: 14px; line-height: 1.35; }
.a-row b + span { font-size: 12.5px; color: var(--muted); }
.a-h { font-weight: 600; text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.a-h small { display: block; font-size: 11px; color: var(--muted); font-weight: 400; }
.a-detail { border: 1px solid var(--hair); border-radius: 12px; min-width: 0; }
.ad-head { padding: 16px 20px; border-bottom: 1px solid var(--hair); }
.ad-head h3 { font-size: 19px; font-weight: 600; letter-spacing: -.01em; }
.ad-head p { font-size: 13px; color: var(--body); margin-top: 2px; }
.ad-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
.ad-grid > div { padding: 16px 20px 18px; min-width: 0; }
.ad-grid > div + div { border-left: 1px solid var(--hair); }
.ad-txt { font-size: 14px; color: var(--ink); }
.ad-stat { font-family: var(--mono); font-size: 11.5px; color: var(--body); margin-top: 6px; }
.ad-steps { list-style: none; margin: 0; padding: 0; counter-reset: st; }
.ad-steps li { counter-increment: st; display: grid; grid-template-columns: 22px 64px minmax(0,1fr); gap: 8px; align-items: start; padding-block: 8px; border-top: 1px solid var(--hair); font-size: 13.5px; }
.ad-steps li:first-child { border-top: 0; padding-top: 0; }
.ad-steps li::before { content: counter(st); width: 20px; height: 20px; border-radius: 50%; border: 1px solid var(--hair-2); display: grid; place-items: center; font-size: 11px; color: var(--body); }
.ad-steps b { font-weight: 600; font-size: 13px; padding-top: 1px; }
.ad-foot { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--hair); }
.ad-foot > div { padding: 14px 20px 16px; }
.ad-foot > div + div { border-left: 1px solid var(--hair); }
.ad-acc { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; }
.ad-acc span:last-child { color: var(--body); text-align: right; }
@media (max-width: 640px) {
  .ad-grid, .ad-foot { grid-template-columns: 1fr; }
  .ad-grid > div + div, .ad-foot > div + div { border-left: 0; border-top: 1px solid var(--hair); }
}

/* calculator */
.calc-box { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); background: var(--paper); border: 1px solid var(--hair); border-radius: 14px; overflow: hidden; }
@media (max-width: 760px) { .calc-box { grid-template-columns: 1fr; } }
.calc-in { padding: 24px; display: flex; flex-direction: column; gap: 6px; border-right: 1px solid var(--hair); }
@media (max-width: 760px) { .calc-in { border-right: 0; border-bottom: 1px solid var(--hair); } }
.calc-in label { font-size: 13.5px; font-weight: 500; color: var(--body); margin-top: 10px; }
.calc-in label:first-child { margin-top: 0; }
.calc-in input {
  width: 100%; height: 46px; padding: 0 14px; border: 1px solid var(--hair-2); border-radius: 10px; background: var(--paper);
  font-size: 16px; font-variant-numeric: tabular-nums;
}
.calc-in input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(58,83,212,.16); }
.calc-out { padding: 24px; display: flex; flex-direction: column; justify-content: center; }
.calc-big { font-size: clamp(38px, 5vw, 56px); font-weight: 700; letter-spacing: -.03em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.calc-sub { margin-top: 8px; color: var(--body); font-size: 16px; }
.calc-sub b { color: var(--ink); }
.calc-note { margin-top: 16px; font-size: 12.5px; color: var(--muted); }

/* steps — a real sequence, so it is numbered */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: clamp(20px, 3vw, 40px); }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }
.steps li { border-top: 2px solid var(--ink); padding-top: 18px; }
.step-n { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.steps h3 { font-size: 19px; font-weight: 600; letter-spacing: -.01em; margin-top: 6px; }
.steps p { color: var(--body); margin-top: 8px; font-size: 15px; }

/* privacy */
.pv { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 0; border-top: 1px solid rgba(255,255,255,.12); }
@media (max-width: 860px) { .pv { grid-template-columns: 1fr; } }
.pv-col { padding: 24px 28px 8px 0; }
.pv-col + .pv-col { padding-left: 28px; border-left: 1px solid rgba(255,255,255,.12); }
@media (max-width: 860px) { .pv-col, .pv-col + .pv-col { padding: 22px 0 6px; border-left: 0; } .pv-col + .pv-col { border-top: 1px solid rgba(255,255,255,.12); } }
.pv-col h3 { font-size: 16px; font-weight: 600; }
.pv-col ul { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.pv-col li { position: relative; padding-left: 22px; color: var(--on-dark-2); font-size: 15px; }
.pv-col li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 8px; height: 4.5px; border-left: 1.8px solid #63D193; border-bottom: 1.8px solid #63D193; transform: rotate(-45deg); }
.pv-col ul.no li::before { width: 10px; height: 1.8px; top: .78em; border: 0; background: #F28A80; transform: none; }

/* faq */
.faq { max-width: 1040px; }
.faq details { border-top: 1px solid var(--hair); }
.faq details:last-child { border-bottom: 1px solid var(--hair); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 36px 20px 0; font-size: 17px; font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-weight: 400; font-size: 22px; color: var(--muted); }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 0 22px; color: var(--body); max-width: 68ch; }

/* book */
.book { background: var(--dark); color: var(--on-dark); padding-block: clamp(64px, 10vh, 112px); }
.book-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 520px); gap: clamp(32px, 6vw, 88px); align-items: center; }
@media (max-width: 860px) { .book-in { grid-template-columns: 1fr; } }
.book .kicker { color: var(--accent-2); }
.book-copy h2 { font-size: clamp(30px, 3.1vw, 76px); line-height: 1.1; letter-spacing: -.022em; font-weight: 700; }
.book-copy > p:not(.kicker) { margin-top: 14px; color: var(--on-dark-2); font-size: 17px; }
.book-list { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.book-list li { position: relative; padding-left: 24px; color: var(--on-dark-2); }
.book-list li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 8px; height: 4.5px; border-left: 1.8px solid #63D193; border-bottom: 1.8px solid #63D193; transform: rotate(-45deg); }
.book-card { background: var(--paper); color: var(--ink); border-radius: 16px; padding: clamp(22px, 3vw, 32px); box-shadow: 0 40px 100px -40px rgba(0,0,0,.9); }
.book-card-t { font-size: 22px; font-weight: 700; letter-spacing: -.015em; }
.book-card-s { margin: 6px 0 20px; color: var(--body); }
.book-card .btn { padding-block: 15px; font-size: 16px; }
.b-fine { font-size: 12.5px; color: var(--muted); margin-top: 12px; text-align: center; }
.b-fine a { color: var(--accent); }

/* footer */
.foot { background: var(--paper-2); border-top: 1px solid var(--hair); padding-block: 28px; }
.foot-in { display: flex; align-items: center; gap: 16px 28px; flex-wrap: wrap; }
.brand-dark { color: var(--ink); font-size: 15px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.foot-links a { color: var(--body); text-decoration: none; font-size: 14px; }
.foot-links a:hover { color: var(--ink); text-decoration: underline; }
.foot-copy { margin-left: auto; font-size: 13px; color: var(--muted); }
@media (max-width: 640px) { .foot-copy { margin-left: 0; } }
