/* LifeOS90 — marketing website
   Tokens mirror brand/06-design-system/project/tokens.json. Change them here, nowhere else. */

:root {
  /* Colour: Paper ground */
  --bg: #f6f6f3;
  --surface: #ffffff;
  --surface-2: #f0f0ec;
  --line: #e6e5df;
  --ink: #1b1c21;
  --muted: #5f616b;
  --subtle: #8b8d96;
  --accent: #4f56d3;
  --accent-fg: #ffffff;
  --brand: #4f56d3;
  --success: #2c8a66;

  /* Brand palette (marketing) */
  --brand-indigo: #4f56d3;
  --brand-indigo-light: #8d93f6;
  --brand-night: #0e0f13;
  --brand-snow: #ededf1;
  --brand-icon-track: #8085de;

  /* Logo inks (switch on Night) */
  --logo-brand: var(--brand);
  --logo-ink: var(--ink);
  --logo-track: var(--line);

  /* Type */
  --font-sans: "Geist", ui-sans-serif, system-ui, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, monospace;
  --font-display: "larken", "Larken", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --fs-display-xl: clamp(2.75rem, 1.6rem + 4.6vw, 4.75rem);
  --fs-display-lg: clamp(2rem, 1.4rem + 2.4vw, 3rem);
  --fs-display-md: clamp(1.625rem, 1.2rem + 1.8vw, 2.5rem);
  --fs-lede: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);

  /* Space, shape, depth, motion */
  --space-section: clamp(4.5rem, 3rem + 6vw, 8rem);
  --gutter: clamp(1rem, 0.5rem + 2.5vw, 2rem);
  --radius-xl: 12px;
  --radius-2xl: 16px;
  --radius-3xl: 24px;
  --shadow-soft: 0 1px 2px rgba(20, 20, 30, 0.04), 0 6px 20px rgba(20, 20, 30, 0.04);
  --shadow-pop: 0 2px 6px rgba(20, 20, 30, 0.06), 0 18px 48px rgba(20, 20, 30, 0.12);
  --ease-out: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* Night: the brand's reversed ground. Any section with .night flips its tokens. */
.night {
  --bg: #0e0f13;
  --surface: #16171c;
  --surface-2: #1d1f26;
  --line: #292b33;
  --ink: #ededf1;
  --muted: #a4a6b1;
  --subtle: #787a85;
  --accent: #8d93f6;
  --accent-fg: #10112a;
  --brand: #8d93f6;
  --success: #5dc39a;
  --shadow-soft: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-pop: 0 18px 48px rgba(0, 0, 0, 0.5);
  background: var(--bg);
  color: var(--ink);
}

/* ── Base ─────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
::selection { background: color-mix(in srgb, var(--brand) 22%, transparent); }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  padding: 10px 16px; border-radius: var(--radius-xl);
  background: var(--surface); box-shadow: var(--shadow-pop); font-weight: 500;
}
.skip:focus { top: 12px; }

.container { width: min(1180px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.container.narrow { width: min(860px, 100% - 2 * var(--gutter)); }

/* ── Type ─────────────────────────────── */
.display {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.display em { font-style: italic; color: var(--brand); }
.display-xl { font-size: var(--fs-display-xl); line-height: 1.03; }
.display-lg { font-size: var(--fs-display-lg); line-height: 1.08; }
.display-md { font-size: var(--fs-display-md); line-height: 1.18; }
.lede { font-size: var(--fs-lede); line-height: 1.6; color: var(--muted); max-width: 36rem; text-wrap: pretty; }
.small { font-size: 0.875rem; line-height: 1.45; }
.muted { color: var(--muted); }
.soft { color: var(--subtle); }
.mono { font-family: var(--font-mono); font-weight: 500; }
.num { font-variant-numeric: tabular-nums; font-weight: 600; letter-spacing: -0.02em; }
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 14px;
  font-family: var(--font-mono); font-size: 0.8125rem; font-weight: 500;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--brand);
}
.kicker::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: currentColor; }
.fine { margin-top: 18px; font-size: 0.875rem; color: var(--muted); }

/* ── Buttons ──────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 18px; border-radius: var(--radius-xl);
  font-weight: 500; font-size: 0.9375rem; white-space: nowrap;
  border: 1px solid transparent;
  transition: background-color .15s, border-color .15s, color .15s, transform .15s var(--ease-out), box-shadow .2s;
}
.btn svg { width: 18px; height: 18px; transition: transform .2s var(--ease-out); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: scale(0.98); }
.btn-sm { height: 38px; padding: 0 14px; font-size: 0.875rem; }
.btn-lg { height: 52px; padding: 0 24px; font-size: 1rem; }
.btn-primary { background: var(--accent); color: var(--accent-fg); box-shadow: var(--shadow-soft); }
.btn-primary:hover { background: color-mix(in srgb, var(--accent) 88%, var(--ink)); }
.btn-secondary { background: var(--surface); border-color: var(--line); color: var(--ink); }
.btn-secondary:hover { background: var(--surface-2); }
.btn-ghost-night { color: var(--ink); border-color: var(--line); }
.btn-ghost-night:hover { background: var(--surface-2); }
.link-quiet { font-weight: 500; font-size: 0.9375rem; color: var(--muted); transition: color .15s; }
.link-quiet:hover { color: var(--ink); }

/* ── Header ───────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, background-color .25s;
}
.site-header.scrolled { border-bottom-color: var(--line); background: color-mix(in srgb, var(--bg) 92%, transparent); }
.header-inner { display: flex; align-items: center; gap: 32px; height: 76px; transition: height .25s var(--ease-out); }
.site-header.scrolled .header-inner { height: 64px; }
.logo { height: 30px; width: auto; aspect-ratio: 114 / 28; }
.logo-lg { height: 40px; }
.nav { flex: 1; }
.nav ul { display: flex; justify-content: center; gap: 4px; }
.nav a {
  position: relative; display: block; padding: 8px 12px; border-radius: 10px;
  font-size: 0.9375rem; font-weight: 500; color: var(--muted); transition: color .15s;
}
.nav a::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 3px; height: 2px; border-radius: 2px;
  background: var(--brand); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease-out);
}
.nav a:hover, .nav a[aria-current="true"] { color: var(--ink); }
.nav a:hover::after, .nav a[aria-current="true"]::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 18px; }

.menu-toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: var(--radius-xl);
  background: var(--surface); position: relative;
}
.menu-toggle span {
  position: absolute; left: 13px; right: 13px; height: 1.5px; border-radius: 2px; background: var(--ink);
  transition: transform .25s var(--ease-out), top .25s var(--ease-out);
}
.menu-toggle span:first-child { top: 17px; }
.menu-toggle span:last-child { top: 25px; }
.menu-toggle[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

.mobile-menu {
  border-top: 1px solid var(--line); background: var(--bg);
  padding: 12px var(--gutter) 24px; max-height: calc(100dvh - 64px); overflow-y: auto;
}
.mobile-menu nav { display: grid; }
.mobile-menu nav a { padding: 14px 4px; font-size: 1.125rem; font-weight: 500; border-bottom: 1px solid var(--line); }
.mobile-menu-actions { display: grid; gap: 10px; margin-top: 20px; }

/* ── Hero ─────────────────────────────── */
.hero { position: relative; overflow: hidden; padding: clamp(3rem, 2rem + 4vw, 6rem) 0 var(--space-section); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: clamp(2.5rem, 1rem + 5vw, 5rem); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 26px;
  padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface);
  font-size: 0.875rem; font-weight: 500; color: var(--muted);
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); }
.hero .lede { margin-top: 26px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

.hero-visual { position: relative; aspect-ratio: 1; max-width: 540px; width: 100%; justify-self: center; display: grid; place-items: center; }
.cycle-ring { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.cycle-ring .mark { fill: var(--line); transition: fill .2s; }
.cycle-ring .mark.on { fill: var(--brand); }
.cycle-ring .mark.today { fill: var(--brand); }
.cycle-ring .today-halo { fill: none; stroke: var(--brand); stroke-width: 1.5; opacity: .35; transform-box: fill-box; transform-origin: center; animation: halo 2.6s ease-out infinite; }
.cycle-ring .phase-label { font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: .08em; fill: var(--subtle); text-transform: uppercase; }
@keyframes halo { 0% { transform: scale(1); opacity: .5; } 80%, 100% { transform: scale(2.8); opacity: 0; } }

.today-card {
  position: relative; width: 70%; min-width: 280px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-3xl);
  box-shadow: var(--shadow-pop); padding: 22px;
}
.today-head { display: flex; justify-content: space-between; align-items: baseline; font-size: 1.125rem; }
.bar { height: 7px; margin-top: 12px; border-radius: 99px; background: var(--surface-2); overflow: hidden; }
.bar span { display: block; height: 100%; width: var(--w); border-radius: inherit; background: var(--accent); transform-origin: left; animation: grow 1.2s .9s var(--ease-out) both; }
@keyframes grow { from { transform: scaleX(0); } }
.focus { margin-top: 18px; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius-2xl); }
.focus-label { display: flex; align-items: center; gap: 6px; font-size: 0.8125rem; font-weight: 500; color: var(--accent); }
.focus-label svg { width: 15px; height: 15px; }
.focus strong { display: block; margin-top: 6px; font-size: 1.0625rem; font-weight: 600; letter-spacing: -0.01em; }
.tasks { margin-top: 10px; }
.tasks li { display: flex; align-items: center; gap: 10px; padding: 8px 2px; font-size: 0.9375rem; font-weight: 500; }
.tasks .muted { font-weight: 400; }
.tasks .t { min-width: 0; flex: 1; }
.tasks .tag { flex: none; margin-left: auto; width: 7px; height: 7px; border-radius: 50%; background: var(--c); }
.check {
  flex: none; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%;
  border: 1.5px solid color-mix(in srgb, var(--subtle) 70%, transparent);
}
.check svg { width: 12px; height: 12px; stroke-width: 3.5; }
.done .check { background: var(--success); border-color: var(--success); color: #fff; }
.tasks li.done { color: var(--subtle); text-decoration: line-through; text-decoration-color: color-mix(in srgb, var(--subtle) 50%, transparent); }

.float-card {
  position: absolute; display: grid; gap: 2px; padding: 14px 16px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-2xl); box-shadow: var(--shadow-pop);
  animation: bob 7s ease-in-out infinite;
}
.float-card strong { font-size: 1.25rem; }
.float-weight { right: -3%; bottom: 8%; }
.float-fast { left: -2%; top: 3%; animation-delay: -3.5s; }
.delta { display: flex; align-items: center; gap: 5px; font-weight: 500; }
.delta svg { width: 14px; height: 14px; color: var(--success); }
@keyframes bob { 50% { transform: translateY(-8px); } }

/* ── Statement ────────────────────────── */
.statement { padding: 0 0 var(--space-section); }
.statement .display-md { color: var(--ink); }
.statement-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--line); color: var(--muted); }
.statement-points strong { color: var(--ink); font-weight: 600; }

/* ── Sections ─────────────────────────── */
.section { padding: var(--space-section) 0; }
.section.surface { background: var(--surface); border-block: 1px solid var(--line); }
.section-head { max-width: 46rem; margin-bottom: clamp(2.5rem, 2rem + 2vw, 4rem); }
.section-head .lede { margin-top: 18px; }
.section-head.split { max-width: none; display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: end; }
.small-lede { font-size: 1.0625rem; }

.icon-chip {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px;
  background: var(--surface-2); color: var(--brand);
}
.icon-chip svg { width: 22px; height: 22px; }

.questions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.questions article { padding: 26px 24px; border-radius: var(--radius-2xl); background: var(--bg); border: 1px solid var(--line); }
.questions h3, .steps h3, .principles h3, .tool h3, .score h3 { font-size: 1.125rem; font-weight: 600; letter-spacing: -0.01em; line-height: 1.35; }
.questions h3 { margin-top: 20px; }
.questions p, .steps p, .principles p, .tool p, .score p { margin-top: 8px; color: var(--muted); }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.steps li { padding: 26px 24px; border-radius: var(--radius-2xl); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-soft); }
.step-n { display: block; margin-bottom: 18px; color: var(--brand); font-size: 0.875rem; }

.phases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 20px; }
.phase { display: flex; gap: 18px; align-items: center; padding: 22px 24px; border-radius: var(--radius-2xl); background: var(--surface); border: 1px solid var(--line); }
.phase svg { flex: none; width: 64px; height: 64px; transform: rotate(-90deg); }
.phase strong { display: block; font-size: 1.75rem; line-height: 1.15; }
.phase p { margin-top: 2px; font-size: 0.9375rem; color: var(--muted); }

/* Rings used by phases, tools and scores */
svg .track { fill: none; stroke: var(--surface-2); stroke-width: 8; }
svg .fill {
  fill: none; stroke: var(--brand); stroke-width: 8; stroke-linecap: round;
  stroke-dasharray: 1 1;
}
.phase .track, .phase .fill { stroke-width: 7; }
.phase .fill, .score .fill { stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset 1.4s .15s var(--ease-out); }
.in .fill, .fill.in { stroke-dashoffset: calc(100 - var(--p) * 100); }
.score .fill.green { stroke: var(--success); }

/* ── Goal systems ─────────────────────── */
.systems { display: grid; grid-template-columns: 0.9fr 1.4fr; gap: 24px; align-items: start; }
.system-list { display: grid; gap: 8px; }
.system-tab {
  display: flex; align-items: center; gap: 14px; width: 100%; padding: 14px 16px; text-align: left;
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-2xl);
  transition: border-color .2s, background-color .2s, transform .2s var(--ease-out);
}
.system-tab:hover { border-color: color-mix(in srgb, var(--subtle) 60%, transparent); transform: translateX(2px); }
.system-tab[aria-selected="true"] { background: var(--surface); border-color: var(--brand); box-shadow: var(--shadow-soft); }
.system-tab .area-icon { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; color: var(--c); background: color-mix(in srgb, var(--c) 13%, transparent); }
.system-tab .area-icon svg { width: 20px; height: 20px; }
.system-tab strong { display: block; font-weight: 600; }
.system-tab span.small { color: var(--muted); }

.system-panel {
  position: sticky; top: 96px;
  padding: clamp(22px, 1rem + 1.5vw, 34px); border-radius: var(--radius-3xl);
  background: var(--bg); border: 1px solid var(--line);
}
.panel-enter { animation: panel .45s var(--ease-out) both; }
@keyframes panel { from { opacity: 0; transform: translateY(10px); } }
.panel-head { display: flex; gap: 16px; align-items: center; }
.panel-head .area-icon { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; color: var(--c); background: color-mix(in srgb, var(--c) 13%, transparent); }
.panel-head .area-icon svg { width: 26px; height: 26px; }
.panel-head .area { display: flex; align-items: center; gap: 6px; font-size: 0.8125rem; font-weight: 500; color: var(--muted); }
.panel-head .area::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--c); }
.panel-head h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.875rem; line-height: 1.1; }
.panel-block { margin-top: 26px; }
.panel-block > h4 { margin: 0 0 10px; font-family: var(--font-mono); font-size: 0.75rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--subtle); }
.methods { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.method { display: flex; gap: 10px; padding: 12px 14px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.method .tick { flex: none; display: grid; place-items: center; width: 18px; height: 18px; margin-top: 2px; border-radius: 6px; background: var(--accent); color: var(--accent-fg); }
.method .tick svg { width: 12px; height: 12px; stroke-width: 3.5; }
.method strong { display: block; font-size: 0.9375rem; font-weight: 600; }
.method span { font-size: 0.8125rem; color: var(--muted); }
.trackers { display: flex; flex-wrap: wrap; gap: 8px; }
.trackers span { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 0.875rem; font-weight: 500; }
.trackers svg { width: 15px; height: 15px; color: var(--c); }
.plan { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.plan div { padding: 14px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.plan .ph { font-family: var(--font-mono); font-size: 0.6875rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); }
.plan strong { display: block; margin-top: 6px; font-size: 0.9375rem; font-weight: 600; line-height: 1.35; }
.plan span:last-child { display: block; margin-top: 8px; padding-top: 8px; border-top: 1px dashed var(--line); font-size: 0.8125rem; color: var(--muted); }
.more-systems { margin-top: 28px; max-width: 52rem; }

/* ── Tools ────────────────────────────── */
.tools { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tool { padding: 12px 12px 26px; border-radius: var(--radius-3xl); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-soft); }
.tool h3, .tool p { padding-inline: 14px; }
.tool h3 { display: flex; align-items: center; gap: 8px; margin-top: 22px; }
.tool h3 svg { width: 20px; height: 20px; color: var(--brand); }
.tool-demo { height: 212px; border-radius: 18px; background: var(--surface-2); padding: 18px; overflow: hidden; }
.todo-demo { display: grid; align-content: center; gap: 8px; }
.todo-row { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: var(--surface); font-size: 0.875rem; font-weight: 500; box-shadow: var(--shadow-soft); }
.todo-row .check { width: 18px; height: 18px; }
.todo-row.done { color: var(--subtle); text-decoration: line-through; }
.flag { margin-left: auto; font-size: 0.75rem; font-weight: 500; padding: 2px 8px; border-radius: 999px; background: var(--surface-2); color: var(--muted); }
.flag.p1 { background: color-mix(in srgb, #bd3f39 12%, transparent); color: #9a2f2a; }
.flag.p2 { background: color-mix(in srgb, #a96f16 14%, transparent); color: #7a4f0e; }
.focus-demo { position: relative; display: grid; place-items: center; }
.focus-demo svg { width: 176px; height: 176px; transform: rotate(-90deg); }
.focus-demo .track, .focus-demo .fill { stroke-width: 7; }
.focus-demo .fill { stroke-dasharray: 314.16; stroke-dashoffset: 0; transition: stroke-dashoffset 1s linear; }
.focus-time { position: absolute; display: grid; justify-items: center; }
.focus-time strong { font-size: 2rem; }
.money-demo { display: grid; grid-template-columns: 150px 1fr; align-items: center; gap: 18px; }
.donut { width: 150px; height: 150px; transform: rotate(-90deg); }
.donut circle { fill: none; stroke: var(--c); stroke-width: 16; stroke-dasharray: var(--l) 100; stroke-dashoffset: calc(var(--s) * -1); }
.money-lines { display: grid; gap: 10px; }
.money-lines div { display: flex; justify-content: space-between; align-items: baseline; padding: 8px 12px; border-radius: 10px; background: var(--surface); }
.money-lines strong { font-size: 1.0625rem; }

/* ── Scores ───────────────────────────── */
.scores-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; }
.scores-grid .lede { margin-top: 18px; }
.scores { display: grid; gap: 16px; }
.score { display: flex; gap: 22px; align-items: center; padding: 22px 24px; border-radius: var(--radius-2xl); background: var(--bg); border: 1px solid var(--line); }
.score svg { flex: none; width: 104px; height: 104px; transform: rotate(-90deg); }
.score .num.big { display: block; font-size: 2.25rem; line-height: 1; margin-bottom: 8px; }

/* ── Day 90 ───────────────────────────── */
.day90 { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; }
.day90 .lede { margin-top: 18px; }
.report { padding: clamp(24px, 1rem + 2vw, 40px); border-radius: var(--radius-3xl); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-pop); text-align: center; }
.report-mark { width: 48px; height: 48px; margin: 0 auto 16px; --logo-track: var(--line); --logo-brand: var(--brand); }
.report-title { font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem); line-height: 1.1; }
.report-stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 26px; border: 1px solid var(--line); border-radius: var(--radius-2xl); }
.report-stats div { display: grid; gap: 2px; padding: 14px 8px; }
.report-stats div + div { border-left: 1px solid var(--line); }
.report-stats strong { font-size: 1.25rem; }
.report-stats span { font-size: 0.75rem; color: var(--muted); }
.report-results { margin-top: 16px; text-align: left; }
.report-results li { display: flex; align-items: center; gap: 12px; padding: 12px 4px; border-top: 1px solid var(--line); font-weight: 500; }
.report-results .num { margin-left: auto; font-weight: 500; color: var(--muted); }
.report-results .ok, .report-results .nope { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; }
.report-results .ok { background: color-mix(in srgb, var(--success) 16%, transparent); color: var(--success); }
.report-results .nope { background: var(--surface-2); color: var(--subtle); }
.report-results svg { width: 14px; height: 14px; stroke-width: 3; }

/* ── Principles ───────────────────────── */
.principles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px 32px; }
.principles > div { padding-top: 22px; border-top: 1px solid var(--line); }
.principles svg { width: 24px; height: 24px; color: var(--brand); margin-bottom: 18px; }

/* ── FAQ ──────────────────────────────── */
.faq-grid { display: grid; grid-template-columns: 0.8fr 1.4fr; gap: clamp(2rem, 1rem + 4vw, 5rem); }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; align-items: center;
  padding: 22px 2px; font-size: 1.125rem; font-weight: 600; letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 12px; height: 12px;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
  transform: rotate(45deg) translateY(-3px); transition: transform .25s var(--ease-out);
}
.faq details[open] summary::after { transform: rotate(225deg) translateY(-3px); }
.faq details p { padding: 0 2px 22px; color: var(--muted); max-width: 40rem; }
.faq details[open] p { animation: panel .35s var(--ease-out) both; }

/* ── Final CTA ────────────────────────── */
.cta { position: relative; overflow: hidden; padding: clamp(5rem, 3rem + 7vw, 9rem) 0; }
.cta .container { position: relative; }
.cta .display-xl { margin-top: 40px; max-width: 13ch; }
.cta .lede { margin-top: 20px; }
.cta-arcs { position: absolute; right: -80px; bottom: -80px; width: min(560px, 70vw); height: auto; pointer-events: none; }
.cta-arcs path { fill: none; stroke: var(--brand-icon-track); stroke-opacity: .35; stroke-width: 24; stroke-linecap: round; }
.cta-arcs path.lit { stroke: var(--brand-indigo-light); stroke-opacity: 1; }
.night { --logo-brand: var(--brand); --logo-ink: var(--ink); --logo-track: var(--line); }

/* ── Footer ───────────────────────────── */
.site-footer { padding: 56px 0 32px; border-top: 1px solid var(--line); }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; }
.footer-brand .logo { margin-bottom: 14px; }
.footer-nav { display: flex; gap: 64px; }
.footer-nav h3 { margin-bottom: 12px; font-family: var(--font-mono); font-size: 0.75rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--subtle); }
.footer-nav a { display: block; padding: 5px 0; color: var(--muted); font-size: 0.9375rem; transition: color .15s; }
.footer-nav a:hover { color: var(--ink); }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); }

/* ── Motion ───────────────────────────── */
.load-in { animation: rise .8s calc(var(--d, 0) * 110ms + 80ms) var(--ease-out) both; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .75s var(--ease-out), transform .75s var(--ease-out); transition-delay: calc(var(--i, 0) * 90ms); }
.js [data-reveal].in { opacity: 1; transform: none; }

/* ── Responsive ───────────────────────── */
@media (max-width: 1080px) {
  .questions, .steps, .principles { grid-template-columns: repeat(2, 1fr); }
  .tools { grid-template-columns: 1fr 1fr; }
  .tools .tool:last-child { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .nav, .link-quiet, .header-actions > .btn { display: none; }
  .menu-toggle { display: block; }
  .header-actions { margin-left: auto; }
  .hero-grid, .scores-grid, .day90, .faq-grid, .systems, .section-head.split { grid-template-columns: 1fr; }
  .hero-visual { max-width: 460px; }
  .system-panel { position: static; }
  .system-list { grid-template-columns: 1fr 1fr; }
  .statement-points, .phases { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .questions, .steps, .principles, .tools, .methods, .plan { grid-template-columns: 1fr; }
  .tools .tool:last-child { grid-column: auto; }
  .system-list { grid-template-columns: 1fr; }
  .report-stats { grid-template-columns: 1fr 1fr; }
  .report-stats div:nth-child(3) { border-left: 0; }
  .report-stats div:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .today-card { width: 84%; min-width: 0; padding: 18px; }
  .float-card { display: none; }
  .hero-ctas .btn { flex: 1 1 100%; }
  .footer-nav { gap: 40px; }
  .money-demo { grid-template-columns: 120px 1fr; }
  .donut { width: 120px; height: 120px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important; scroll-behavior: auto !important;
  }
  .js [data-reveal] { opacity: 1; transform: none; }
}
