:root {
  --bg: #fbfaf7;
  --paper: #ffffff;
  --band: #f3f1ec;
  --ink: #0d1b1e;
  --ink-2: #33454b;
  --muted: #5b6b70;
  --line: #e6e2d9;
  --accent: #0f6e56;
  --accent-2: #12886a;
  --accent-soft: #e3f2ec;
  --you: #8a4b00;
  --you-soft: #fff1dc;
  --pat: #1d4f91;
  --pat-soft: #e7effb;
  --sys: #4c5a60;
  --sys-soft: #eef0f1;
  --radius: 20px;
  --shadow: 0 1px 2px rgba(13, 27, 30, 0.04), 0 8px 28px rgba(13, 27, 30, 0.06);
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --serif: ui-serif, "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.6 var(--sans); overflow-x: hidden; }
h1, h2, h3, h4 { line-height: 1.12; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
a { color: var(--accent); }
[id] { scroll-margin-top: 84px; }
:focus-visible { outline: 3px solid var(--accent-2); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.eyebrow { font-size: 13px; font-weight: 650; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.h2 { font-size: clamp(30px, 5vw, 46px); }
.sub { color: var(--muted); max-width: 640px; margin-top: 14px; font-size: 18px; }
.est { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); background: var(--accent-soft); border-radius: 99px; padding: 2px 9px; vertical-align: middle; }

/* ---------- header + tabs ---------- */
.top { position: sticky; top: 0; z-index: 20; background: rgba(251, 250, 247, 0.9); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 64px; }
.brand { font-weight: 800; font-size: 18px; color: var(--ink); text-decoration: none; letter-spacing: -0.02em; white-space: nowrap; }
.brand span { color: var(--accent); }
.brand small { display: none; font-weight: 500; color: var(--muted); font-size: 14px; letter-spacing: 0; margin-left: 10px; }
.tabs { display: flex; background: #ebe8e1; border-radius: 99px; padding: 4px; gap: 2px; }
.tabs a { display: block; padding: 8px 16px; border-radius: 99px; font-size: 15px; font-weight: 600; color: var(--ink-2); text-decoration: none; white-space: nowrap; transition: background 0.2s, color 0.2s, box-shadow 0.2s; }
.tabs a:hover { color: var(--ink); }
.tabs a[aria-selected="true"] { background: var(--paper); color: var(--ink); box-shadow: 0 1px 3px rgba(13, 27, 30, 0.12); }
@media (min-width: 640px) { .brand small { display: inline; } }

/* No JS: both panels stack, with a clear divider. */
.panel + .panel { border-top: 1px solid var(--line); }
.js .panel + .panel { border-top: 0; }
.panel[hidden] { display: none; }

/* ---------- buttons ---------- */
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 22px; border-radius: 99px; font-weight: 650; font-size: 16px; text-decoration: none; transition: transform 0.15s, background 0.2s; }
.btn-main { background: var(--ink); color: #fff; }
.btn-main:hover { background: #1d3237; }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px #cfc9bd; }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn:active { transform: translateY(1px); }

/* ---------- OVERVIEW ---------- */
.o-sec { padding: 72px 0; }
@media (min-width: 900px) { .o-sec { padding: 104px 0; } }

.hero { position: relative; overflow: hidden; padding: 56px 0 64px; }
.hero::before { content: ""; position: absolute; inset: -30% -20% auto auto; width: 720px; height: 720px; border-radius: 50%; background: radial-gradient(closest-side, rgba(18, 136, 106, 0.14), rgba(18, 136, 106, 0)); pointer-events: none; }
.hero-in { position: relative; display: grid; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(44px, 9.4vw, 70px); letter-spacing: -0.035em; line-height: 1; }
.hero h1 em { display: block; font-family: var(--serif); font-style: italic; font-weight: 500; color: var(--accent); letter-spacing: -0.02em; }
.hero .lede { margin-top: 24px; font-size: clamp(18px, 2.2vw, 21px); color: var(--ink-2); max-width: 520px; }
.hero .for { font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.hero .for b { color: var(--ink); font-weight: 650; }
@media (min-width: 900px) { .hero { padding: 88px 0 96px; } .hero-in { grid-template-columns: 1.15fr 0.85fr; } }

/* hero notification stack */
.notes { list-style: none; display: grid; gap: 12px; max-width: 400px; width: 100%; justify-self: center; }
.notes li { display: flex; gap: 12px; align-items: flex-start; background: rgba(255, 255, 255, 0.86); border: 1px solid var(--line); border-radius: 18px; padding: 14px 16px; box-shadow: var(--shadow); font-size: 15px; line-height: 1.4; }
.notes li:nth-child(2) { margin-left: 24px; }
.notes li:nth-child(3) { margin-left: 8px; }
.notes .ic { flex: none; width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.notes .ic svg { width: 20px; height: 20px; }
.notes b { display: block; font-weight: 650; }
.notes span { color: var(--muted); font-size: 14px; }
.notes i.to { display: block; font-style: normal; font-size: 10.5px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: var(--accent); margin-bottom: 2px; }
.notes i.to.c { color: var(--pat); }
.notes .ic.c { background: var(--pat-soft); color: var(--pat); }
.notes .cap { background: none; border: 0; box-shadow: none; padding: 0 4px; margin: 0; font-size: 12.5px; color: var(--muted); }

/* stats */
.stats { display: grid; gap: 16px; margin-top: 40px; }
@media (min-width: 700px) { .stats { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
.stat { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px 22px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.stat .num { font-size: clamp(46px, 6vw, 64px); font-weight: 750; letter-spacing: -0.04em; line-height: 1; margin-top: 14px; color: var(--ink); font-variant-numeric: tabular-nums; }
.stat .num.sm { font-size: clamp(38px, 5vw, 56px); }
.stat .unit { font-size: 18px; font-weight: 600; color: var(--accent); margin-top: 8px; }
.stat .lbl { color: var(--ink-2); margin-top: 6px; font-size: 16px; }
.how { margin-top: auto; padding-top: 18px; }
.how summary { cursor: pointer; font-size: 14px; font-weight: 600; color: var(--accent); list-style: none; display: inline-flex; align-items: center; gap: 8px; padding: 6px 0; }
.how summary::-webkit-details-marker { display: none; }
.how summary::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform 0.2s; }
.how[open] summary::after { transform: rotate(-135deg) translateY(-1px); }
.how ul { margin-top: 10px; padding-left: 18px; font-size: 14.5px; color: var(--ink-2); line-height: 1.5; }
.how li + li { margin-top: 6px; }
.how p { margin-top: 8px; font-size: 14.5px; color: var(--ink-2); line-height: 1.5; }
.note { margin-top: 18px; font-size: 14px; color: var(--muted); max-width: 720px; }

/* before / after */
.ba { display: grid; gap: 14px; margin-top: 40px; list-style: none; }
@media (min-width: 700px) { .ba { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .ba { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
.ba li { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 22px 20px; }
.ba h3 { font-size: 15px; font-weight: 650; letter-spacing: 0; color: var(--muted); margin-bottom: 12px; }
.ba .was, .ba .now { display: flex; gap: 10px; align-items: baseline; }
.ba .was { color: var(--muted); }
.ba .now { margin-top: 8px; font-weight: 650; font-size: 18px; color: var(--ink); line-height: 1.35; }
.ba .k { flex: none; width: 46px; font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.ba .was .k { color: #7d766a; }
.ba .now .k { color: var(--accent); }

/* outcome tiles */
.tiles { display: grid; gap: 16px; margin-top: 40px; }
@media (min-width: 700px) { .tiles { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .tiles { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.tile { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px 22px; display: flex; flex-direction: column; transition: transform 0.25s, box-shadow 0.25s; }
.tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.tile .icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.tile .icon svg { width: 26px; height: 26px; }
.tile .n { position: absolute; top: 24px; right: 24px; font-size: 13px; font-weight: 700; color: #a39c8d; font-variant-numeric: tabular-nums; }
.tile h3 { font-size: 22px; margin-top: 20px; }
.tile .one { margin-top: 10px; color: var(--ink-2); font-size: 16px; line-height: 1.55; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 4px; }
.chip { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 600; padding: 6px 11px; border-radius: 99px; background: var(--accent-soft); color: var(--accent); }
.chip.t { background: var(--pat-soft); color: var(--pat); }
.chip.m { background: var(--you-soft); color: var(--you); }
.tile .how { padding-top: 6px; }
.more { margin-top: 12px; font-size: 14.5px; font-weight: 600; text-decoration: none; color: var(--ink); display: inline-flex; gap: 6px; align-items: center; }
.more::after { content: "\2192"; transition: transform 0.2s; }
.more:hover::after { transform: translateX(3px); }

/* phone brief */
.brief { display: grid; gap: 40px; align-items: center; background: var(--ink); color: #e9efed; border-radius: 28px; padding: 40px 22px; overflow: hidden; position: relative; }
.brief::before { content: ""; position: absolute; width: 520px; height: 520px; right: -160px; bottom: -260px; border-radius: 50%; background: radial-gradient(closest-side, rgba(18, 136, 106, 0.45), rgba(18, 136, 106, 0)); pointer-events: none; }
.brief > * { position: relative; }
.brief .eyebrow { color: #7fd6b8; }
.brief h2 { color: #fff; font-size: clamp(30px, 4.6vw, 44px); }
.brief .sub { color: #b9c7c4; }
.brief .chip { background: rgba(127, 214, 184, 0.14); color: #a9ead2; }
.brief .how summary { color: #a9ead2; }
.brief .how ul { color: #c9d5d2; }
.brief .more { color: #fff; }
@media (min-width: 900px) { .brief { grid-template-columns: 1.1fr 0.9fr; padding: 64px; } }

.phone { width: 100%; max-width: 330px; justify-self: center; background: #f7f6f2; color: var(--ink); border-radius: 38px; padding: 12px; box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35), inset 0 0 0 1px rgba(255, 255, 255, 0.4); }
.phone-scr { background: var(--paper); border-radius: 28px; padding: 22px 14px 16px; }
.phone-h { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; font-weight: 700; font-size: 15px; margin-bottom: 10px; }
.phone-h span { font-weight: 500; font-size: 11.5px; color: var(--muted); }
.msg { background: var(--band); border-radius: 14px; padding: 10px 12px; font-size: 14px; line-height: 1.4; margin-top: 8px; display: flex; justify-content: space-between; gap: 10px; align-items: center; }
.msg i { font-style: normal; flex: none; font-size: 12px; font-weight: 700; color: #fff; background: var(--accent); border-radius: 99px; padding: 4px 10px; }
.msg i.g { background: #dcd8cf; color: var(--ink); }

/* roadmap */
.road { list-style: none; display: grid; gap: 16px; margin-top: 40px; counter-reset: r; }
@media (min-width: 900px) { .road { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.road > li { counter-increment: r; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; position: relative; }
.road .dot { display: flex; align-items: center; gap: 12px; }
.road .dot::before { content: counter(r); width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #fff; font-weight: 700; font-size: 15px; }
.road .when { font-size: 14px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--accent); }
.road h3 { font-size: 22px; margin-top: 16px; }
.road ul { margin-top: 12px; list-style: none; }
.road ul li { padding-left: 22px; position: relative; color: var(--ink-2); font-size: 16px; }
.road ul li + li { margin-top: 8px; }
.road ul li::before { content: ""; position: absolute; left: 2px; top: 8px; width: 8px; height: 8px; border-radius: 50%; border: 2px solid var(--accent-2); }
.road .notice { margin-top: 6px; font-size: 14px; color: var(--muted); }

/* launch day */
.launch { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 40px; }
@media (min-width: 900px) { .launch { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; } }
.launch > li { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 16px 18px; }
.launch .icon { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.launch .icon svg { width: 24px; height: 24px; }
.launch h3 { font-size: 17px; margin-top: 14px; letter-spacing: -0.01em; }
.launch p { margin-top: 6px; font-size: 14.5px; line-height: 1.45; color: var(--muted); }
@media (min-width: 900px) { .launch > li { padding: 24px 22px 22px; } .launch h3 { font-size: 19px; } .launch p { font-size: 15px; } }
.launch.d { margin-top: 28px; }
.launch.d h3 { margin-top: 0; }
.signoff { margin-top: 16px; background: var(--you-soft); border: 1px solid #f1d9b2; border-radius: var(--radius); padding: 18px 20px; display: grid; gap: 10px; }
.signoff-t { font-size: 12.5px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: var(--you); }
.signoff ul { list-style: none; display: grid; gap: 8px; }
.signoff li { position: relative; padding-left: 26px; color: var(--ink-2); font-size: 15.5px; line-height: 1.45; }
.signoff li::before { content: ""; position: absolute; left: 0; top: 2px; width: 16px; height: 16px; border-radius: 5px; border: 2px solid var(--you); opacity: 0.7; }
@media (min-width: 900px) { .signoff { grid-template-columns: auto 1fr; align-items: center; gap: 24px; padding: 20px 26px; } .signoff ul { grid-template-columns: 1fr 1fr; gap: 24px; } }

/* privacy line + CTA */
.safe { display: flex; gap: 16px; align-items: flex-start; background: var(--accent-soft); border-radius: var(--radius); padding: 24px; }
.safe .ic { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--paper); color: var(--accent); }
.safe .ic svg { width: 24px; height: 24px; }
.safe p { font-size: 17px; color: var(--ink-2); }
.safe b { color: var(--ink); }
.cta { text-align: center; }
.cta h2 { font-size: clamp(34px, 6vw, 56px); letter-spacing: -0.03em; }
.cta h2 em { font-family: var(--serif); font-style: italic; font-weight: 500; color: var(--accent); }
.cta p { margin: 18px auto 0; max-width: 560px; color: var(--ink-2); font-size: 18px; }
.cta .btns { justify-content: center; }

/* ---------- DETAILS ---------- */
.d-head { padding: 56px 0 24px; }
.d-head h1 { font-size: clamp(36px, 6vw, 56px); letter-spacing: -0.03em; }
.jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.jump a { font-size: 14px; font-weight: 600; text-decoration: none; color: var(--ink-2); background: var(--paper); border: 1px solid var(--line); border-radius: 99px; padding: 7px 13px; }
.jump a:hover { border-color: var(--ink-2); color: var(--ink); }
.d-sec { padding: 56px 0; }
.d-sec.band { background: var(--band); }
.d-sec h2 { font-size: clamp(28px, 4vw, 38px); }

/* systems map */
.sysviz { display: grid; gap: 16px; margin-top: 32px; }
@media (min-width: 900px) { .sysviz { grid-template-columns: 1fr 1fr; gap: 20px; } }
.sv { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.sv h3 { font-size: 18px; }
.sv h3 small { display: block; font-size: 14px; font-weight: 500; color: var(--muted); margin-top: 4px; letter-spacing: 0; }
.sv-tools { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.sv-tools span { font-size: 13.5px; font-weight: 600; padding: 6px 11px; border-radius: 10px; background: var(--sys-soft); color: var(--sys); }
.sv-tools span.hand { background: var(--you-soft); color: var(--you); }
.sv-tools span.keep::after { content: " \2713"; color: var(--accent); }
.sv-mid { margin: 14px 0; display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 650; color: var(--ink-2); }
.sv-mid::before, .sv-mid::after { content: ""; flex: 1; height: 2px; background: repeating-linear-gradient(90deg, #cfc9bd 0 6px, transparent 6px 11px); }
.sv-mid.ok::before, .sv-mid.ok::after { background: var(--accent-2); opacity: 0.5; }
.sv-hub { text-align: center; border-radius: 14px; padding: 14px; font-weight: 650; }
.sv-hub.you { background: var(--you-soft); color: var(--you); }
.sv-hub.ag { background: var(--accent); color: #fff; }
.sv-hub small { display: block; font-weight: 500; font-size: 13.5px; margin-top: 2px; }

.map { margin-top: 24px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--paper); }
.map-row { display: grid; gap: 6px; padding: 16px 20px; border-top: 1px solid var(--line); font-size: 15.5px; }
.map-row:first-child { border-top: 0; }
.map-head { display: none; }
.map .tool b { display: block; }
.map .tool span { color: var(--muted); font-size: 14px; }
.map .pain { color: var(--ink-2); }
.map .pain::before { content: "Today: "; font-weight: 650; color: #7d766a; }
.map .fix { color: var(--ink); }
.map .fix::before { content: "Next: "; font-weight: 650; color: var(--accent); }
.map .fix.keep { color: var(--accent); }
@media (min-width: 860px) {
  .map-row { grid-template-columns: 1.1fr 1.2fr 1.5fr; gap: 24px; }
  .map-head { display: grid; background: var(--band); font-size: 12.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
  .map .pain::before, .map .fix::before { content: none; }
}

/* legend */
.legend { display: flex; flex-wrap: wrap; gap: 8px 14px; margin-top: 20px; font-size: 14px; color: var(--muted); align-items: center; }
.who { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; border-radius: 6px; padding: 2px 7px; }
.w-ag { background: var(--accent-soft); color: var(--accent); }
.w-you { background: var(--you-soft); color: var(--you); }
.w-pat { background: var(--pat-soft); color: var(--pat); }
.w-sys { background: var(--sys-soft); color: var(--sys); }
.g { display: inline-block; font-size: 12.5px; font-weight: 650; padding: 3px 9px; border-radius: 99px; }
.g-time { background: var(--pat-soft); color: var(--pat); }
.g-save { background: var(--you-soft); color: var(--you); }
.g-make { background: var(--accent-soft); color: var(--accent); }

/* workstream cards */
.cards { display: grid; gap: 20px; margin-top: 28px; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.card-h { padding: 22px 22px 0; display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; align-items: start; }
.card-h .n { grid-row: span 2; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--ink); color: #fff; font-weight: 700; font-size: 14px; font-variant-numeric: tabular-nums; }
.card-h h3 { font-size: 21px; padding-top: 8px; }
.card-h .goals { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.card.feature { border-color: var(--accent-2); box-shadow: 0 0 0 1px var(--accent-2); }
.card-b { display: grid; gap: 24px; padding: 22px; }
.card h4 { font-size: 12.5px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: var(--muted); margin: 0 0 8px; }
.card .col > * + h4 { margin-top: 22px; }
.card p, .card li { font-size: 15.5px; }
.card .col > p { color: var(--ink-2); }
@media (min-width: 900px) { .card-h { padding: 28px 30px 0; } .card-b { grid-template-columns: 1.1fr 1fr; gap: 40px; padding: 26px 30px 30px; } }
.tight { padding-left: 18px; margin-top: 8px; color: var(--ink-2); }
.tight li + li { margin-top: 4px; }
.cols2 { columns: 2; column-gap: 24px; }
.needs { padding-left: 18px; color: var(--ink-2); }
.needs li + li { margin-top: 4px; }
.impact { margin: 0; display: grid; gap: 10px; }
.impact > div { background: var(--band); border-radius: 14px; padding: 12px 14px; }
.impact dt { font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); }
.impact dd { margin: 2px 0 0; font-weight: 650; font-size: 16px; }
.impact small { display: block; font-weight: 400; font-size: 14px; color: var(--muted); margin-top: 3px; line-height: 1.45; }
.impact small.a::before { content: "Assumption: "; font-weight: 600; color: var(--ink-2); }
.meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.meta span { font-size: 13.5px; background: var(--sys-soft); color: var(--sys); border-radius: 8px; padding: 5px 10px; }

/* workflow diagrams */
.wf { margin: 22px 22px 0; background: #faf9f6; border: 1px solid var(--line); border-radius: 16px; padding: 18px 16px; }
.wf-t { font-size: 12.5px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.flow { list-style: none; display: grid; gap: 22px; }
.step { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px 11px; font-size: 14.5px; line-height: 1.35; }
.step .who { margin-bottom: 6px; }
@media (max-width: 959px) { .flow { gap: 18px; } .step { padding: 9px 12px; } .step .who { float: right; margin: 1px 0 2px 8px; } .step::after { bottom: -16px; height: 11px; } .step::before { bottom: -17px; } }
.step b { display: block; font-weight: 650; }
.step.chk { border-color: #e9c27e; box-shadow: inset 3px 0 0 #e0a43e; }
.step.end { border-color: var(--accent-2); box-shadow: inset 3px 0 0 var(--accent-2); }
.step::after { content: ""; position: absolute; left: 22px; bottom: -19px; width: 2px; height: 14px; background: #a39c8d; }
.step::before { content: ""; position: absolute; left: 18px; bottom: -21px; border: 5px solid transparent; border-top: 6px solid #a39c8d; border-bottom: 0; }
.step:last-child::after, .step:last-child::before { content: none; }
.fork { display: grid; gap: 6px; margin-top: 6px; }
.fork span { display: block; font-size: 13.5px; background: var(--band); border-radius: 8px; padding: 5px 8px; }
.fork span.ok { background: var(--accent-soft); color: var(--accent); }
.fork span.bad { background: #fbe9e6; color: #9b2c1d; }
@media (min-width: 960px) {
  .wf { margin: 26px 30px 0; padding: 20px; }
  .flow { grid-template-columns: repeat(var(--n, 5), minmax(0, 1fr)); gap: 26px; align-items: stretch; }
  .step::after { left: auto; right: -21px; bottom: auto; top: 50%; width: 14px; height: 2px; }
  .step::before { left: auto; right: -27px; bottom: auto; top: calc(50% - 4px); border: 5px solid transparent; border-left: 6px solid #a39c8d; border-right: 0; }
}
.funnel { display: grid; gap: 4px; margin-top: 6px; }
.funnel span { display: block; font-size: 12.5px; border-radius: 6px; padding: 3px 7px; background: var(--accent-soft); color: var(--accent); }
.funnel span:nth-child(2) { width: 90%; } .funnel span:nth-child(3) { width: 80%; } .funnel span:nth-child(4) { width: 70%; } .funnel span:nth-child(5) { width: 60%; }

/* phone (details brief) */
.card .phone { margin-top: 14px; max-width: 320px; box-shadow: 0 10px 30px rgba(13, 27, 30, 0.12), inset 0 0 0 1px var(--line); }

/* details roadmap */
.road.d ul li { font-size: 15.5px; }
.road .ref { color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; }

/* numbers (details) */
@media (min-width: 1040px) { .rules.nums { grid-template-columns: repeat(2, 1fr); } }
.nums .big { font-size: clamp(34px, 5vw, 44px); font-weight: 750; letter-spacing: -0.03em; line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; }
.nums h3 { margin-top: 6px; color: var(--accent); font-size: 17px; }
.nums .tight { font-size: 15px; }
.nums .tight li { font-size: 15px; }
.nums .src { margin-top: 14px; font-size: 13.5px; color: var(--muted); overflow-wrap: anywhere; }
.assume { margin-top: 16px; background: var(--you-soft); border: 1px solid #f1d9b2; border-radius: var(--radius); padding: 20px 22px; }
.assume h3 { font-size: 17px; color: var(--you); }
.assume ul { margin-top: 10px; padding-left: 18px; color: var(--ink-2); font-size: 15.5px; }
.assume li + li { margin-top: 5px; }
.runs { list-style: none; display: grid; gap: 10px; margin-top: 24px; max-width: 820px; }
.runs li { position: relative; padding: 14px 16px 14px 46px; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; color: var(--ink-2); font-size: 15.5px; }
.runs li::before { content: ""; position: absolute; left: 17px; top: 19px; width: 12px; height: 7px; border-left: 2.5px solid var(--accent); border-bottom: 2.5px solid var(--accent); transform: rotate(-45deg); }
.runs b { color: var(--ink); }
#details-privacy .rules { margin-top: 20px; }

/* rules + checklist */
.rules { display: grid; gap: 14px; margin-top: 28px; }
@media (min-width: 760px) { .rules { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .rules { grid-template-columns: repeat(3, 1fr); } }
.rules > div { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.rules h3 { font-size: 18px; }
.rules p { margin-top: 8px; color: var(--ink-2); font-size: 15.5px; }
.check { list-style: none; display: grid; gap: 10px; margin-top: 24px; }
@media (min-width: 860px) { .check { grid-template-columns: 1fr 1fr; } }
.check label { display: flex; gap: 12px; align-items: flex-start; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; cursor: pointer; font-size: 15.5px; color: var(--ink-2); height: 100%; }
.check input { flex: none; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--accent); }
.check input:checked + span { color: var(--muted); text-decoration: line-through; }

/* footer */
.foot { border-top: 1px solid var(--line); padding: 32px 0 48px; color: var(--muted); font-size: 14px; }
.foot p { max-width: 760px; }

/* ---------- motion (only with JS and no reduced-motion) ---------- */
.motion .rv { opacity: 0; transform: translateY(18px); transition: opacity 0.7s cubic-bezier(.2, .7, .2, 1), transform 0.7s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0s); }
.motion .rv.in { opacity: 1; transform: none; }
.motion .notes li:not(.cap) { animation: rise 0.8s cubic-bezier(.2, .7, .2, 1) both; }
.motion .notes li:nth-child(2) { animation-delay: 0.15s; }
.motion .notes li:nth-child(3) { animation-delay: 0.3s; }
@keyframes rise { from { opacity: 0; transform: translateY(16px) scale(0.98); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

@media print {
  .top { position: static; }
  .panel[hidden] { display: block; }
  .motion .rv { opacity: 1; transform: none; }
}
