/* Self-hosted fonts (no request to Google; see fonts/README.txt) */
@font-face { font-family: 'Vidaloka'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/vidaloka-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Krona One'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/krona-one-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Krona One'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/krona-one-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* Celestial design system — editorial serif (Vidaloka) × geometric sans (Krona One) × pastel mesh × black line graphics.
   Core rule: very soft dreamlike background, hard black typography and geometry. No card shadows in UI. */

:root {
  /* colors */
  --c-black: #000000;
  --c-ink: #1d1d1d;
  --c-cream: #f5e4d9;
  --c-peach-light: #f9dcbd;
  --c-peach: #fad1a3;
  --c-apricot: #f7b886;
  --c-blush: #edcab9;
  --c-dusty-rose: #d9c2c9;
  --c-lavender: #c8bbde;
  --c-lavender-soft: #cdc0db;
  --c-cta-text: #f4c797;
  /* type */
  --font-editorial: 'Vidaloka', Georgia, serif;
  --font-geometric: 'Krona One', 'Arial Black', sans-serif;
  /* radius / stroke / shadow */
  --radius-soft: 16px;
  --radius-pill: 999px;
  --stroke-thin: 1px;
  --stroke-default: 2px;
  --shadow-soft: 0 8px 20px rgba(28, 16, 42, .10);
  --shadow-floating: 0 20px 40px rgba(28, 16, 42, .18);
  /* spacing */
  --page-x: clamp(20px, 6vw, 96px);
  --noise-opacity: .06;
  /* bodygraph aliases */
  --ink: var(--c-black);
  --muted: #3a3a3a;
  --hair: rgba(0, 0, 0, .22);
  --accent: var(--c-black);
  --sage: var(--c-black);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; min-height: 100vh;
  color: var(--c-ink);
  font-family: var(--font-editorial);
  font-size: 18px; line-height: 1.45;
  background: var(--c-cream);
  -webkit-font-smoothing: antialiased;
  position: relative;
}
@media (max-width: 720px) { body { font-size: 17px; } }

/* ---------- mesh background + grain ---------- */
.bg {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(ellipse 60% 55% at 8% 45%, var(--c-lavender) 0%, rgba(200,187,222,0) 70%),
    radial-gradient(ellipse 55% 60% at 80% 50%, var(--c-apricot) 0%, rgba(247,184,134,0) 72%),
    radial-gradient(ellipse 70% 50% at 55% 15%, var(--c-peach) 0%, rgba(250,209,163,0) 75%),
    radial-gradient(ellipse 45% 45% at 92% 6%, var(--c-dusty-rose) 0%, rgba(217,194,201,0) 70%),
    radial-gradient(ellipse 60% 45% at 30% 95%, var(--c-lavender-soft) 0%, rgba(205,192,219,0) 70%),
    radial-gradient(ellipse 50% 40% at 70% 92%, var(--c-blush) 0%, rgba(237,202,185,0) 70%),
    var(--c-cream);
}
.bg::after {
  content: ''; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='280' height='280'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .7 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: var(--noise-opacity); mix-blend-mode: soft-light;
}
@media (prefers-reduced-transparency: reduce) { .bg { background: var(--c-cream); } .bg::after { display: none; } }

/* ---------- type ---------- */
h1, h2, h3, h4 { font-family: var(--font-editorial); font-weight: 400; margin: 0; color: var(--c-black); }
.display-xl { font-size: clamp(56px, 8vw, 124px); line-height: .9; letter-spacing: -.015em; }
.display-lg { font-size: clamp(44px, 5.5vw, 88px); line-height: .95; letter-spacing: -.012em; }
.heading-lg { font-size: clamp(34px, 4vw, 64px); line-height: 1; letter-spacing: -.01em; }
.heading-sm { font-size: clamp(22px, 2vw, 32px); line-height: 1.15; }
.geo { font-family: var(--font-geometric); font-weight: 400; letter-spacing: 0; text-transform: uppercase; }
.subtitle { font-family: var(--font-geometric); font-size: clamp(13px, 1.6vw, 26px); text-transform: uppercase; }
.kicker { font-family: var(--font-geometric); font-size: 12px; text-transform: uppercase; letter-spacing: .02em; }
.pagination { font-family: var(--font-geometric); font-size: clamp(28px, 3.2vw, 52px); line-height: 1; }
p { margin: 0 0 1em; }
a { color: var(--c-black); text-underline-offset: 3px; text-decoration-thickness: 1px; }
.small { font-size: 15px; color: var(--c-ink); }
.muted { color: #3a3a3a; }
strong { font-weight: 400; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.page { padding-inline: var(--page-x); }
.section { padding-block: clamp(56px, 9vh, 120px); }
.section + .section { border-top: var(--stroke-thin) solid var(--c-black); }
.rule { border: 0; border-top: var(--stroke-thin) solid var(--c-black); margin: 0; }

/* ---------- header ---------- */
.top {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding-block: clamp(20px, 3vh, 40px);
}
.logo { font-family: var(--font-geometric); font-size: clamp(16px, 1.7vw, 28px); text-transform: uppercase; text-decoration: none; color: var(--c-black); white-space: nowrap; }
.nav { display: flex; gap: 8px; justify-content: center; }
.nav a { font-size: 18px; text-decoration: none; padding: 12px 24px; border-radius: var(--radius-pill); border: var(--stroke-default) solid transparent; color: var(--c-black); }
.nav a.active, .nav a:hover { border-color: var(--c-black); }
.top-right { display: flex; justify-content: flex-end; }
@media (max-width: 900px) { .nav, .top .subtitle { display: none; } .top { grid-template-columns: 1fr auto; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  height: 60px; padding: 0 28px; border-radius: var(--radius-pill);
  font-family: var(--font-geometric); font-size: 16px; text-transform: none; text-decoration: none;
  border: var(--stroke-default) solid var(--c-black); cursor: pointer; white-space: nowrap;
  transition: transform .15s ease, background-color .15s ease, color .15s ease;
}
.btn-primary { background: var(--c-black); color: var(--c-cta-text); }
.btn-primary:hover { background: var(--c-ink); }
.btn-outline { background: transparent; color: var(--c-black); }
.btn-outline:hover { background: rgba(0,0,0,.06); }
.btn-sm { height: 48px; padding: 0 22px; font-size: 14px; }
.btn[disabled] { opacity: .5; cursor: progress; }
.btn-block { width: 100%; }
@media (max-width: 720px) { .btn { height: 56px; font-size: 15px; } }

/* ---------- celestial decorations ---------- */
.deco { position: absolute; fill: var(--c-black); stroke: var(--c-black); pointer-events: none; }
.deco.line { fill: none; stroke-width: 1.5; }
@media (prefers-reduced-motion: no-preference) {
  .deco.spin { animation: spin 90s linear infinite; transform-origin: center; }
  @keyframes spin { to { transform: rotate(360deg); } }
}

/* ---------- hero (poster) ---------- */
.hero {
  position: relative; min-height: calc(100svh - 110px);
  display: grid; grid-template-rows: auto 1fr auto; gap: 24px; padding-bottom: 40px;
}
.hero-sub { text-align: center; }
.hero-center { display: grid; align-items: center; justify-items: center; text-align: center; position: relative; }
.hero-center .display-xl { max-width: 14ch; }
.hero-graph { position: absolute; right: -2%; top: 50%; transform: translateY(-50%); width: clamp(160px, 18vw, 300px); opacity: .95; }
.hero-graph svg { width: 100%; height: auto; }
.hero-bottom { display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 24px; }
.hero-copy { max-width: 34ch; font-size: clamp(16px, 1.3vw, 21px); }
.hero-cta { justify-self: center; }
.hero-pag { justify-self: end; text-align: right; }
.hero-pag .small { display: block; margin-top: 6px; }
@media (max-width: 900px) {
  .hero { min-height: auto; padding-top: 12px; }
  .hero .deco:nth-of-type(n+3) { display: none; }
  .hero-graph { position: static; transform: none; width: 150px; margin-top: 28px; }
  .hero-bottom { grid-template-columns: 1fr; gap: 20px; }
  .hero-copy { max-width: none; }
  .hero-cta { justify-self: stretch; }
  .hero-cta .btn { width: 100%; }
  .hero-pag { justify-self: start; text-align: left; }
}

/* ---------- editorial two-column ---------- */
.two { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(28px, 5vw, 96px); align-items: start; }
.two > *, .step > *, .result-grid > *, .offer-grid > *, .steps > * { min-width: 0; }
.two.rev { grid-template-columns: 7fr 5fr; }
@media (max-width: 900px) { .two, .two.rev { grid-template-columns: 1fr; gap: 28px; } }
.sticky { position: sticky; top: 24px; }

/* pains list */
.pains { list-style: none; margin: 0; padding: 0; }
.pains li { display: grid; grid-template-columns: 64px 1fr; gap: 16px; padding: 22px 0; border-top: var(--stroke-thin) solid var(--c-black); }
.pains li:last-child { border-bottom: var(--stroke-thin) solid var(--c-black); }
.pains .n { font-family: var(--font-geometric); font-size: 15px; padding-top: 6px; }
.pains q { font-size: clamp(20px, 1.7vw, 27px); line-height: 1.2; display: block; margin-bottom: 8px; quotes: '“' '”'; }
.pains span { display: block; font-size: 16px; color: #333; }

/* mechanics */
.mech { list-style: none; margin: 0; padding: 0; counter-reset: m; }
.mech li { counter-increment: m; position: relative; padding: 18px 0 18px 84px; border-top: var(--stroke-thin) solid var(--c-black); }
.mech li:last-child { border-bottom: var(--stroke-thin) solid var(--c-black); }
.mech li::before {
  content: counter(m, decimal-leading-zero); position: absolute; left: 0; top: 16px;
  width: 56px; height: 56px; display: grid; place-items: center;
  font-family: var(--font-geometric); font-size: 13px; border: var(--stroke-thin) solid var(--c-black);
  transform: rotate(45deg); border-radius: 0;
}
.mech li::before { transform: none; clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); background: transparent; box-shadow: inset 0 0 0 1px var(--c-black); border: 0; }
.mech h3 { font-size: clamp(20px, 1.6vw, 26px); margin-bottom: 4px; }
.mech p { margin: 0; font-size: 16px; color: #333; }

/* steps preview */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.steps div { border-top: var(--stroke-default) solid var(--c-black); padding-top: 14px; }
.steps .pagination { font-size: clamp(24px, 2.4vw, 40px); }
.steps p { margin: 8px 0 0; font-size: 16px; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* ---------- onboarding flow ---------- */
.flow { position: relative; }
.flow-head { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; margin-bottom: clamp(24px, 4vh, 48px); }
.progress { height: 2px; background: rgba(0,0,0,.18); position: relative; margin-bottom: clamp(28px, 4vh, 56px); }
.progress i { position: absolute; left: 0; top: 0; bottom: 0; background: var(--c-black); transition: width .35s ease; }
.step { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(28px, 5vw, 96px); align-items: start; }
@media (max-width: 900px) { .step { grid-template-columns: 1fr; gap: 24px; } }
.step-copy .heading-lg { margin-bottom: 16px; }
.step-copy p { max-width: 38ch; }
.step-form { position: relative; }

.field { margin-bottom: 26px; }
.field label, .field .lbl { display: block; font-family: var(--font-geometric); font-size: 12px; text-transform: uppercase; margin-bottom: 10px; }
.field input[type=text], .field input[type=date], .field input[type=time], .field input[type=email] {
  width: 100%; height: 60px; padding: 0 2px; background: transparent; color: var(--c-black);
  border: 0; border-bottom: var(--stroke-default) solid var(--c-black); border-radius: 0;
  font-family: var(--font-editorial); font-size: clamp(20px, 1.8vw, 28px); outline: none;
}
.field input::placeholder { color: rgba(0,0,0,.38); }
.field input:focus { border-bottom-width: 3px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 520px) { .grid2 { grid-template-columns: 1fr; } }
.hint { font-size: 15px; color: #333; margin-top: 10px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; cursor: pointer; }
.check input { appearance: none; width: 22px; height: 22px; flex: none; margin-top: 2px; border: var(--stroke-default) solid var(--c-black); border-radius: 50%; background: transparent; cursor: pointer; }
.check input:checked { background: var(--c-black); box-shadow: inset 0 0 0 4px var(--c-cream); }
.err { color: #000; font-size: 15px; margin-top: 12px; padding-left: 14px; border-left: var(--stroke-default) solid var(--c-black); min-height: 0; }
.err:empty { display: none; }

.combo { position: relative; }
.suggest { position: absolute; z-index: 5; left: 0; right: 0; top: 100%; margin: 0; padding: 0; list-style: none; background: var(--c-cream); border: var(--stroke-thin) solid var(--c-black); border-top: 0; max-height: 260px; overflow: auto; }
.suggest li { padding: 12px 14px; cursor: pointer; font-size: 18px; border-top: var(--stroke-thin) solid rgba(0,0,0,.15); }
.suggest li:hover { background: rgba(0,0,0,.06); }
.suggest .sub { display: block; font-size: 14px; color: #444; }
.picked { margin-top: 10px; font-family: var(--font-geometric); font-size: 12px; text-transform: uppercase; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border: var(--stroke-default) solid var(--c-black); border-radius: var(--radius-pill); background: transparent; color: var(--c-black); font-family: var(--font-editorial); font-size: 17px; cursor: pointer; user-select: none; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip.on { background: var(--c-black); color: var(--c-cta-text); }
@media (max-width: 720px) { .chip { font-size: 16px; padding: 12px 16px; } }

.actions { display: flex; gap: 12px; align-items: center; margin-top: 34px; flex-wrap: wrap; }
.actions .spacer { flex: 1; }
.back { font-family: var(--font-geometric); font-size: 12px; text-transform: uppercase; background: none; border: 0; cursor: pointer; padding: 10px 0; text-decoration: underline; text-underline-offset: 4px; color: var(--c-black); }

.calc { text-align: center; padding: clamp(48px, 10vh, 120px) 0; }
.calc .display-lg { margin-bottom: 20px; }
.calc .orbit { width: 120px; height: 120px; margin: 0 auto 28px; }
.calc ul { list-style: none; padding: 0; margin: 0 auto; max-width: 30ch; text-align: left; }
.calc li { padding: 8px 0; border-top: var(--stroke-thin) solid rgba(0,0,0,.2); font-size: 16px; opacity: .35; transition: opacity .3s; }
.calc li.done { opacity: 1; }

/* ---------- result ---------- */
.result-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(28px, 5vw, 96px); align-items: start; }
@media (max-width: 900px) { .result-grid { grid-template-columns: 1fr; } }
.graph { max-width: 340px; margin: 0 auto; }
.graph svg { width: 100%; height: auto; }
.legend { display: flex; gap: 20px; justify-content: center; font-family: var(--font-geometric); font-size: 11px; text-transform: uppercase; margin-top: 12px; }
.legend i { display: inline-block; width: 18px; height: 3px; background: var(--c-black); vertical-align: middle; margin-right: 8px; }
.legend .d i { background: repeating-linear-gradient(90deg, #000 0 3px, transparent 3px 6px); }
.facts { display: grid; grid-template-columns: 1fr 1fr; border-top: var(--stroke-thin) solid var(--c-black); }
.fact { padding: 18px 0; border-bottom: var(--stroke-thin) solid var(--c-black); }
.fact:nth-child(odd) { padding-right: 20px; }
.fact.wide { grid-column: 1 / -1; }
.fact b { display: block; font-family: var(--font-geometric); font-weight: 400; font-size: 11px; text-transform: uppercase; margin-bottom: 8px; }
.fact span { font-size: clamp(24px, 2.4vw, 40px); line-height: 1.05; display: block; }
.fact .sub { font-size: 15px; margin-top: 8px; color: #333; }
.approx { padding: 14px 18px; border: var(--stroke-thin) solid var(--c-black); font-size: 15px; margin-bottom: 20px; }
.type-copy { margin-top: 32px; }
.type-copy p:first-child { font-size: clamp(20px, 1.6vw, 26px); line-height: 1.3; }
.focus-list { list-style: none; margin: 0; padding: 0; }
.focus-list li { padding: 16px 0; border-top: var(--stroke-thin) solid var(--c-black); }
.focus-list li:last-child { border-bottom: var(--stroke-thin) solid var(--c-black); }
.focus-list .kicker { display: block; margin-bottom: 6px; }
.centers-list { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px 16px; list-style: none; margin: 12px 0 0; padding: 0; font-size: 16px; }
.centers-list li::before { content: ''; display: inline-block; width: 11px; height: 11px; border: var(--stroke-thin) solid var(--c-black); transform: rotate(45deg); margin-right: 12px; }
.centers-list li.on::before { background: var(--c-black); }
@media (max-width: 720px) { .centers-list { grid-template-columns: 1fr 1fr; } }

/* ---------- offer ---------- */
.offer-grid { display: grid; grid-template-columns: 6fr 6fr; gap: clamp(28px, 5vw, 96px); align-items: start; }
@media (max-width: 900px) { .offer-grid { grid-template-columns: 1fr; } }
.offer-card { border: var(--stroke-default) solid var(--c-black); padding: clamp(24px, 3vw, 44px); position: relative; }
.price { display: flex; align-items: baseline; gap: 14px; margin: 8px 0 22px; }
.price b { font-weight: 400; font-size: clamp(56px, 6vw, 96px); line-height: .9; }
.price .geo { font-size: 12px; }
.get { list-style: none; margin: 0 0 26px; padding: 0; }
.get li { padding: 10px 0 10px 30px; position: relative; font-size: 17px; }
.get li::before { content: ''; position: absolute; left: 0; top: 18px; width: 12px; height: 12px; background: var(--c-black); clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); }
.get .when { padding: 16px 0 4px; font-family: var(--font-geometric); font-size: 11px; text-transform: uppercase; }
.get .when::before { display: none; }
.plain { margin: 22px 0 0; padding: 0; list-style: none; font-size: 15px; color: #333; }
.plain li { padding: 6px 0; border-top: var(--stroke-thin) solid rgba(0,0,0,.2); }
table.compare { width: 100%; border-collapse: collapse; font-size: 16px; table-layout: fixed; }
table.compare td { overflow-wrap: anywhere; }
table.compare th, table.compare td { text-align: left; padding: 12px 6px; border-bottom: var(--stroke-thin) solid var(--c-black); vertical-align: top; }
table.compare th { font-family: var(--font-geometric); font-size: 11px; text-transform: uppercase; font-weight: 400; }
table.compare td:nth-child(n+2), table.compare th:nth-child(n+2) { text-align: center; width: 22%; }
@media (max-width: 520px) { table.compare { font-size: 14px; } table.compare th, table.compare td { padding: 10px 4px; } }
.optin { margin-top: 36px; padding-top: 24px; border-top: var(--stroke-thin) solid var(--c-black); }
.optin form { display: flex; gap: 12px; align-items: flex-end; }
.optin .field { flex: 1; margin: 0; }
@media (max-width: 520px) { .optin form { flex-direction: column; align-items: stretch; } }

/* ---------- planned / faq ---------- */
.planned { list-style: none; margin: 0; padding: 0; }
.planned li { padding: 14px 0; border-top: var(--stroke-thin) solid var(--c-black); font-size: 17px; }
.planned li:last-child { border-bottom: var(--stroke-thin) solid var(--c-black); }
.tag { display: inline-block; font-family: var(--font-geometric); font-size: 10px; text-transform: uppercase; padding: 6px 12px; border: var(--stroke-thin) solid var(--c-black); border-radius: var(--radius-pill); vertical-align: middle; margin-left: 10px; }
details { border-top: var(--stroke-thin) solid var(--c-black); padding: 18px 0; }
details:last-of-type { border-bottom: var(--stroke-thin) solid var(--c-black); }
summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 20px; font-size: clamp(19px, 1.5vw, 24px); }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; font-family: var(--font-geometric); }
details[open] summary::after { content: '–'; }
details p { margin: 12px 0 0; max-width: 70ch; color: #222; }

footer { padding: 40px var(--page-x) 60px; border-top: var(--stroke-thin) solid var(--c-black); font-size: 15px; }
footer .row { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: center; }
footer nav a { margin-right: 20px; }
.socials { display: flex; gap: 8px; }
.socials a { width: 36px; height: 36px; border: 1.5px solid var(--c-black); border-radius: 50%; display: grid; place-items: center; }
.socials svg { width: 16px; height: 16px; fill: none; stroke: var(--c-black); stroke-width: 1.5; }

/* ---------- report page ---------- */
.member { border: var(--stroke-default) solid var(--c-black); padding: clamp(24px, 3vw, 44px); background: var(--c-black); color: var(--c-cream); }
.member h2 { color: var(--c-cream); }
.member .check { color: var(--c-cream); margin-top: 18px; }
.member .check input { border-color: var(--c-cream); }
.member .check input:checked { background: var(--c-cta-text); box-shadow: inset 0 0 0 4px var(--c-black); }
.member .saved { font-family: var(--font-geometric); font-size: 11px; text-transform: uppercase; margin-top: 12px; color: var(--c-cta-text); }
.toolbar { display: flex; gap: 12px; margin: 24px 0 0; flex-wrap: wrap; }
.status { padding: 24px; border: var(--stroke-thin) solid var(--c-black); }
.report .section h2.heading-lg { margin-bottom: 20px; }
.card { border-top: var(--stroke-thin) solid var(--c-black); padding: 18px 0; }
.card h3 { font-size: clamp(20px, 1.6vw, 26px); margin-bottom: 6px; }
.card p { margin: 0 0 6px; }
.card .q { font-style: italic; }
.acts { width: 100%; border-collapse: collapse; font-size: 16px; }
.acts th, .acts td { text-align: left; padding: 10px 6px; border-bottom: var(--stroke-thin) solid var(--c-black); vertical-align: top; }
.acts th { font-family: var(--font-geometric); font-size: 11px; text-transform: uppercase; font-weight: 400; }
.acts .g { font-size: 24px; white-space: nowrap; }
.acts td, .acts th { overflow-wrap: anywhere; }
@media (max-width: 520px) { .acts { font-size: 14px; } .acts .g { font-size: 20px; } }
.acts .k { font-size: 15px; color: #333; }
.acts .d-row .g { text-decoration: underline; text-decoration-style: dotted; text-underline-offset: 5px; }

@media print {
  body { background: #fff; font-size: 11pt; }
  .bg, .top, .toolbar, footer, .member .check, .no-print, .deco { display: none !important; }
  .section { padding: 14pt 0; break-inside: avoid; }
  .member { background: #fff; color: #000; }
  .member h2 { color: #000; }
}

@media (prefers-reduced-motion: no-preference) {
  .step, .result-grid, .calc { animation: rise .4s ease-out both; }
  @keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
}

/* =====================================================================
   v3 — separate onboarding page, image frames, motion
   ===================================================================== */

/* hero: two columns on desktop so the bodygraph never sits under the headline */
.hero { grid-template-rows: auto 1fr auto; }
.hero-center { grid-template-columns: 7fr 5fr; justify-items: start; text-align: left; gap: clamp(20px, 4vw, 64px); align-items: center; }
.hero-center .display-xl { max-width: 12ch; }
.hero-graph { position: relative; right: auto; top: auto; transform: none; width: 100%; max-width: 320px; justify-self: end; }
.hero-graph svg { filter: drop-shadow(0 0 0 transparent); }
@media (max-width: 900px) {
  .hero-center { grid-template-columns: 1fr; }
  .hero-graph { justify-self: center; max-width: 200px; margin-top: 12px; }
}

/* celestial image frame: photo → mask → soft gradient overlay → nested outline */
.frame { position: relative; display: block; }
.frame .ph { position: relative; overflow: hidden; background:
  radial-gradient(circle at 30% 30%, var(--c-peach) 0%, transparent 55%),
  radial-gradient(circle at 75% 70%, var(--c-lavender) 0%, transparent 55%),
  radial-gradient(circle at 60% 20%, var(--c-apricot) 0%, transparent 50%),
  var(--c-blush); }
.frame .ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.frame .ph::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(245,228,217,0) 55%, rgba(245,228,217,.55) 100%); pointer-events: none; }
.frame.arch .ph { aspect-ratio: 4 / 5; border-radius: 50% 50% 0 0 / 40% 40% 0 0; }
.frame.arch::before { content: ''; position: absolute; inset: -14px; border: var(--stroke-thin) solid var(--c-black); border-radius: 50% 50% 0 0 / 40% 40% 0 0; pointer-events: none; }
.frame.circle .ph { aspect-ratio: 1; border-radius: 50%; }
.frame.circle::before { content: ''; position: absolute; inset: -14px; border: var(--stroke-thin) solid var(--c-black); border-radius: 50%; pointer-events: none; }
.frame.diamond .ph { aspect-ratio: 1; clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); }
.frame.diamond::before { content: ''; position: absolute; inset: -16px; clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); background: var(--c-black); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; padding: 1px; pointer-events: none; }
.frame .deco { z-index: 2; }
.frame figcaption { margin-top: 14px; font-family: var(--font-geometric); font-size: 11px; text-transform: uppercase; }

/* motion: one entrance (rise), used everywhere; staggered where it matters */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
  .reveal.in { opacity: 1; transform: none; }
  .reveal[data-delay="1"] { transition-delay: .12s; } .reveal[data-delay="2"] { transition-delay: .24s; } .reveal[data-delay="3"] { transition-delay: .36s; } .reveal[data-delay="4"] { transition-delay: .48s; }
  .hero-sub, .hero .display-xl, .hero-graph, .hero-copy, .hero-cta, .hero-pag { animation: rise .9s cubic-bezier(.2,.7,.2,1) both; }
  .hero .display-xl { animation-delay: .1s; } .hero-graph { animation-delay: .3s; } .hero-copy { animation-delay: .45s; } .hero-cta { animation-delay: .55s; } .hero-pag { animation-delay: .65s; }
  .deco.float { animation: float 7s ease-in-out infinite; }
  .deco.float.slow { animation-duration: 11s; animation-delay: -3s; }
  @keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
  .deco.twinkle { animation: twinkle 3.5s ease-in-out infinite; }
  @keyframes twinkle { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .35; transform: scale(.8); } }
  .btn-primary { transition: transform .2s cubic-bezier(.2,.7,.2,1), background-color .2s; }
  .btn-primary:hover { transform: translateY(-2px); }
  .btn-primary:active { transform: translateY(0) scale(.98); }
  .chip { transition: transform .18s cubic-bezier(.2,.7,.2,1), background-color .18s, color .18s; }
  .chip:active { transform: scale(.96); }
  .chip.on { animation: pop .28s cubic-bezier(.2,.7,.2,1); }
  @keyframes pop { 0% { transform: scale(.94); } 60% { transform: scale(1.03); } 100% { transform: scale(1); } }
  .step.enter { animation: slide-in .5s cubic-bezier(.2,.7,.2,1) both; }
  .step.leave { animation: slide-out .3s ease-in both; pointer-events: none; }
  @keyframes slide-in { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: none; } }
  @keyframes slide-out { from { opacity: 1; transform: none; } to { opacity: 0; transform: translateX(-40px); } }
  .fact { opacity: 0; animation: rise .6s cubic-bezier(.2,.7,.2,1) forwards; }
  .fact:nth-child(1) { animation-delay: .5s } .fact:nth-child(2) { animation-delay: .65s } .fact:nth-child(3) { animation-delay: .8s } .fact:nth-child(4) { animation-delay: .95s } .fact:nth-child(5) { animation-delay: 1.1s } .fact:nth-child(6) { animation-delay: 1.25s }
  .type-copy, .focus-list { opacity: 0; animation: rise .7s cubic-bezier(.2,.7,.2,1) 1.3s forwards; }
  .calc li.done { animation: rise .35s ease-out; }
  .progress i { transition: width .6s cubic-bezier(.2,.7,.2,1); }
  .nav a { transition: border-color .2s; }
}

/* start page: full-height single task */
.start { min-height: calc(100svh - 96px); display: grid; grid-template-rows: auto auto 1fr; }
.start .step, .start .calc { align-self: start; }
.start-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 24px 0 32px; font-size: 14px; }
.start-foot .kicker { font-size: 10px; }
.chart-page .section:first-of-type { padding-top: clamp(24px, 4vh, 48px); }

/* founder request (report) */
.request textarea { width: 100%; min-height: 120px; padding: 14px 0; background: transparent; border: 0; border-bottom: var(--stroke-default) solid var(--c-black); border-radius: 0; font-family: var(--font-editorial); font-size: 19px; line-height: 1.4; color: var(--c-black); resize: vertical; outline: none; }
.request textarea::placeholder { color: rgba(0,0,0,.4); }
.member .request textarea { color: var(--c-cream); border-color: var(--c-cream); }
.member .request textarea::placeholder { color: rgba(245,228,217,.5); }

/* landing: what founders get */
.perks { list-style: none; margin: 0; padding: 0; counter-reset: p; }
.perks li { counter-increment: p; display: grid; grid-template-columns: 56px 1fr; gap: 18px; padding: 22px 0; border-top: var(--stroke-thin) solid var(--c-black); }
.perks li:last-child { border-bottom: var(--stroke-thin) solid var(--c-black); }
.perks li::before { content: counter(p, decimal-leading-zero); font-family: var(--font-geometric); font-size: 14px; padding-top: 6px; }
.perks h3 { font-size: clamp(21px, 1.7vw, 28px); margin-bottom: 6px; }
.perks p { margin: 0; color: #333; font-size: 16px; }
.ask { border: var(--stroke-thin) solid var(--c-black); padding: 20px 22px; margin-top: 22px; }
.ask .q { font-size: clamp(19px, 1.5vw, 24px); margin-bottom: 10px; }
.ask .a { font-size: 16px; color: #222; margin: 0; padding-left: 16px; border-left: var(--stroke-default) solid var(--c-black); }
.ask .kicker { display: block; margin-bottom: 10px; }


/* =====================================================================
   v4 — animated mesh, classic chart colours, planet columns, locked preview, sticky CTA, app mockup
   ===================================================================== */
.bg { overflow: hidden; }
.bg .blob { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .85; will-change: transform; }
.bg .b1 { width: 62vw; height: 62vw; left: -18vw; top: 10vh; background: var(--c-lavender); }
.bg .b2 { width: 58vw; height: 58vw; right: -16vw; top: 18vh; background: var(--c-apricot); }
.bg .b3 { width: 70vw; height: 44vw; left: 18vw; top: -22vh; background: var(--c-peach); }
.bg .b4 { width: 46vw; height: 46vw; right: -8vw; top: -18vh; background: var(--c-dusty-rose); }
.bg .b5 { width: 60vw; height: 40vw; left: 4vw; bottom: -20vh; background: var(--c-lavender-soft); }
.bg .b6 { width: 50vw; height: 40vw; right: 6vw; bottom: -16vh; background: var(--c-blush); }
.bg.live { background: var(--c-cream); }
@media (max-width: 900px) { .bg .blob { filter: blur(70px); } .bg .b1, .bg .b2 { width: 110vw; height: 110vw; } }
@media (prefers-reduced-motion: no-preference) {
  .bg .b1 { animation: drift1 38s ease-in-out infinite alternate; }
  .bg .b2 { animation: drift2 46s ease-in-out infinite alternate; }
  .bg .b3 { animation: drift3 52s ease-in-out infinite alternate; }
  .bg .b4 { animation: drift2 60s ease-in-out infinite alternate-reverse; }
  .bg .b5 { animation: drift1 57s ease-in-out infinite alternate-reverse; }
  .bg .b6 { animation: drift3 44s ease-in-out infinite alternate-reverse; }
  @keyframes drift1 { from { transform: translate(0, 0) scale(1); } to { transform: translate(14vw, 10vh) scale(1.12); } }
  @keyframes drift2 { from { transform: translate(0, 0) scale(1); } to { transform: translate(-12vw, 12vh) scale(1.08); } }
  @keyframes drift3 { from { transform: translate(0, 0) scale(1); } to { transform: translate(8vw, 14vh) scale(1.15); } }
}
@media (prefers-reduced-transparency: reduce) { .bg .blob { display: none; } }

/* legend + planet columns beside the bodygraph (design red on the left, personality black on the right) */
.legend .d i { background: #b23a2b; }
.chart-wrap { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; max-width: 520px; margin: 0 auto; }
.chart-wrap .graph { max-width: none; }
.planets { list-style: none; margin: 0; padding: 0; font-family: var(--font-geometric); font-size: 11px; line-height: 1; display: grid; gap: 7px; }
.planets li { display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.planets .sym { font-family: 'Segoe UI Symbol', 'Noto Sans Symbols', 'Apple Symbols', serif; font-size: 13px; width: 16px; text-align: center; }
.planets .v { font-size: 12px; }
.planets.d { color: #b23a2b; }
.planets.p { color: #000; justify-items: end; }
.planets.p li { flex-direction: row-reverse; }
@media (max-width: 520px) { .planets { font-size: 10px; gap: 5px; } .planets .v { font-size: 11px; } .chart-wrap { gap: 4px; } }
.chart-note { text-align: center; font-size: 14px; color: #333; margin-top: 10px; }

/* the paid report, previewed with the person's real data but locked */
.locked { margin-top: clamp(40px, 6vh, 72px); }
.locked-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 18px; }
@media (max-width: 720px) { .locked-grid { grid-template-columns: 1fr; } }
.lock { position: relative; border: var(--stroke-thin) solid var(--c-black); padding: 18px 20px; min-height: 130px; overflow: hidden; }
.lock .kicker { display: block; margin-bottom: 8px; }
.lock .t { font-size: clamp(19px, 1.5vw, 24px); line-height: 1.15; margin-bottom: 8px; }
.lock .body { font-size: 15px; color: #222; filter: blur(4px); user-select: none; pointer-events: none; }
.lock .tag { position: absolute; right: 14px; top: 14px; margin: 0; background: var(--c-cream); }
.lock.open .body { filter: none; user-select: auto; pointer-events: auto; }
.lock.open .tag { background: var(--c-black); color: var(--c-cta-text); border-color: var(--c-black); }
.anchor { font-size: 15px; color: #333; margin-top: 14px; }

/* sticky mobile CTA once the chart is shown */
.sticky-cta { position: fixed; left: 16px; right: 16px; bottom: 14px; z-index: 20; display: none; }
.sticky-cta .btn { width: 100%; box-shadow: var(--shadow-floating); }
@media (max-width: 900px) { .sticky-cta.show { display: block; } body.has-sticky { padding-bottom: 90px; } }
@media (prefers-reduced-motion: no-preference) { .sticky-cta.show { animation: rise .5s cubic-bezier(.2,.7,.2,1) both; } }

/* app screen mockup (app-preview.html and the landing) */
.phone { width: 100%; max-width: 390px; margin: 0 auto; border: var(--stroke-default) solid var(--c-black); border-radius: 44px; padding: 14px; background: rgba(245,228,217,.55); }
.screen { border-radius: 32px; overflow: hidden; background: var(--c-cream); border: var(--stroke-thin) solid var(--c-black); position: relative; aspect-ratio: 9 / 19.2; display: flex; flex-direction: column; }
.screen .sbar { display: flex; justify-content: space-between; padding: 14px 22px 0; font-family: var(--font-geometric); font-size: 11px; }
.screen .sbody { padding: 18px 20px 12px; flex: 1; overflow: hidden; display: flex; flex-direction: column; gap: 14px; }
.screen .greet { font-size: 30px; line-height: 1; }
.screen .pill { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: var(--stroke-thin) solid var(--c-black); border-radius: var(--radius-pill); font-family: var(--font-geometric); font-size: 10px; text-transform: uppercase; }
.screen .scard { border: var(--stroke-thin) solid var(--c-black); padding: 14px 16px; }
.screen .scard .kicker { font-size: 10px; margin-bottom: 6px; display: block; }
.screen .scard p { margin: 0; font-size: 15px; line-height: 1.35; }
.screen .scard.dark { background: var(--c-black); color: var(--c-cream); }
.screen .scard.dark .kicker { color: var(--c-cta-text); }
.screen .askbar { display: flex; align-items: center; gap: 10px; border: var(--stroke-default) solid var(--c-black); border-radius: var(--radius-pill); padding: 12px 16px; font-size: 15px; color: rgba(0,0,0,.5); margin: 0; }
.screen .askbar .go { margin-left: auto; width: 30px; height: 30px; border-radius: 50%; background: var(--c-black); color: var(--c-cta-text); display: grid; place-items: center; font-family: var(--font-geometric); font-size: 12px; }
.screen .snav { display: flex; justify-content: space-around; padding: 12px 10px 18px; border-top: var(--stroke-thin) solid var(--c-black); font-family: var(--font-geometric); font-size: 9px; text-transform: uppercase; }
.screen .snav span { opacity: .45; }
.screen .snav span.on { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.screen .mini { width: 92px; }
.screen .today { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; }
.app-hero { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(28px, 5vw, 96px); align-items: center; }
@media (max-width: 900px) { .app-hero { grid-template-columns: 1fr; } }


/* v5 — centred loader, pains table */
.start .calc { align-self: center; padding: 0 0 8vh; }
.start.calculating .flow-head, .start.calculating .progress, .start.calculating .start-foot { visibility: hidden; }
table.pains-t { width: 100%; border-collapse: collapse; font-size: 16px; table-layout: fixed; }
table.pains-t th, table.pains-t td { text-align: left; padding: 14px 10px 14px 0; border-bottom: var(--stroke-thin) solid var(--c-black); vertical-align: top; overflow-wrap: anywhere; }
table.pains-t th { font-family: var(--font-geometric); font-size: 11px; text-transform: uppercase; font-weight: 400; }
table.pains-t td:first-child { font-size: 17px; line-height: 1.25; width: 30%; }
table.pains-t td:nth-child(2) { color: #444; width: 30%; }
table.pains-t td:nth-child(3) { padding-left: 10px; border-left: var(--stroke-default) solid var(--c-black); }
@media (max-width: 720px) {
  table.pains-t, table.pains-t thead, table.pains-t tbody, table.pains-t tr, table.pains-t td { display: block; width: 100%; }
  table.pains-t thead { display: none; }
  table.pains-t tr { border-bottom: var(--stroke-thin) solid var(--c-black); padding: 14px 0; }
  table.pains-t td { border: 0; padding: 4px 0; }
  table.pains-t td:first-child { font-size: 19px; margin-bottom: 4px; }
  table.pains-t td:nth-child(2)::before { content: 'Free chart · '; font-family: var(--font-geometric); font-size: 10px; text-transform: uppercase; color: #000; }
  table.pains-t td:nth-child(3) { padding-left: 12px; border-left: var(--stroke-default) solid var(--c-black); margin-top: 6px; }
  table.pains-t td:nth-child(3)::before { content: 'Founding · '; font-family: var(--font-geometric); font-size: 10px; text-transform: uppercase; }
}
.lock .tag.soon { background: var(--c-black); color: var(--c-cta-text); border-color: var(--c-black); }

/* v5.1 — no sticky columns on phones (the image block was riding over the text while scrolling) */
@media (max-width: 900px) { .sticky { position: static; } }


/* v6 — the personalised bridge */
.bridge .came { font-size: clamp(20px, 1.7vw, 27px); line-height: 1.25; max-width: 60ch; margin-bottom: 18px; }
.bridge-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 720px) { .bridge-grid { grid-template-columns: 1fr; } }
.bridge-grid > div { border: var(--stroke-thin) solid var(--c-black); padding: 18px 20px; }
.bridge-grid .kicker { display: block; margin-bottom: 8px; }
.bridge-grid p { margin: 0; font-size: 16px; }
.bridge-grid .paid { background: var(--c-black); color: var(--c-cream); }
.bridge-grid .paid .kicker { color: var(--c-cta-text); }
.bridge.compact { border-left: var(--stroke-default) solid var(--c-black); padding-left: 16px; margin: 20px 0 8px; }
.bridge.compact .kicker { display: block; margin-bottom: 6px; }
.bridge.compact p { margin: 0; font-size: 16px; }
@media (prefers-reduced-motion: no-preference) { #detail-wrap.enter { animation: rise .45s cubic-bezier(.2,.7,.2,1) both; } }

/* v6.1 — long CTA labels wrap on narrow phones instead of overflowing */
@media (max-width: 520px) { .btn { white-space: normal; text-align: center; height: auto; min-height: 56px; padding: 14px 22px; line-height: 1.2; } .btn-sm { min-height: 48px; padding: 10px 18px; } }


/* v7 — the app in an iPhone, presentation mockup (the one place a floating shadow is allowed) */
.phone-shot { position: relative; max-width: 300px; margin: 36px auto 0; }
.phone-shot img { display: block; width: 100%; height: auto; filter: drop-shadow(0 24px 40px rgba(28, 16, 42, .22)); }
@media (prefers-reduced-motion: no-preference) { .phone-shot img { animation: float 9s ease-in-out infinite; } }
@media (max-width: 900px) { .phone-shot { max-width: 260px; } }


/* v7.1 — payment marks in the footer (brand files, not redrawn) */
footer .pay { display: flex; gap: 8px; flex-wrap: wrap; list-style: none; margin: 22px 0 10px; padding: 0; }
footer .pay li { border: var(--stroke-thin) solid rgba(0,0,0,.35); border-radius: 4px; background: #fff; line-height: 0; }
footer .pay img { display: block; width: 45px; height: 30px; border-radius: 3px; }

/* v6 — laptop heights (≈ 600–800 px visible): the primary CTA and the loader stay above the fold */
@media (min-width: 901px) {
  /* hero: the arch photo is sized by the viewport height, not only the width, so the CTA row fits */
  .hero-graph { width: clamp(170px, calc((100svh - 400px) * .8), 320px); }
}
@media (min-width: 901px) and (max-height: 820px) {
  .hero { padding-bottom: 20px; }
  .hero-center .display-xl { font-size: clamp(56px, min(8vw, 15svh), 124px); }
  .start .flow-head { margin-top: 8px !important; margin-bottom: 14px; }
  .start .progress { margin-bottom: 24px; }
  .start #detail-wrap { margin-top: 18px !important; }
  .start .actions { margin-top: 22px; }
  .start .calc .orbit { width: 72px; height: 72px; margin-bottom: 16px; }
  .start .calc .display-lg { margin-bottom: 12px; }
  .start .calc li { padding: 5px 0; font-size: 15px; }
}
/* onboarding: Continue is always reachable — it sticks to the bottom edge if the step is taller than the screen */
.start .step-form .actions { position: sticky; bottom: 16px; z-index: 2; }
/* loader: while calculating, the header rows collapse instead of keeping their space, so the loader is centred on screen */
.start.calculating .flow-head, .start.calculating .progress { display: none; }
.start.calculating .calc { padding: 0; }
/* result: on laptop heights the whole bodygraph is visible on arrival, without scrolling */
@media (min-width: 901px) and (max-height: 820px) {
  #result.section { padding-top: 20px; }
  #result .flow-head { margin-bottom: 10px; }
  .chart-wrap .graph svg { max-height: calc(100svh - 290px); }
}
/* the "Get my Founding Report" button also floats on desktop (bottom-right pill) until the offer card is on screen */
@media (min-width: 901px) {
  .sticky-cta.show { display: block; left: auto; right: clamp(16px, 3vw, 40px); bottom: 24px; }
  .sticky-cta .btn { width: auto; }
}

/* v7 — phones (iPhone 14 Pro Max ≈ 430×740 visible and smaller): primary CTA in the first screen */
@media (max-width: 900px) {
  /* hero: small arch photo beside the headline instead of a full-width 400 px image above the CTA */
  .hero { padding-top: 4px; }
  .hero-sub { font-size: 12px; letter-spacing: .02em; }
  .hero-center { grid-template-columns: minmax(0, 1fr) clamp(88px, 26vw, 150px); justify-items: start; text-align: left; align-items: center; gap: 14px; margin-top: 18px; }
  .hero-center .display-xl { font-size: clamp(36px, 11.5vw, 56px); max-width: none; }
  .hero-graph { width: clamp(88px, 26vw, 150px); max-width: none !important; margin-top: 0; justify-self: end; }
  .hero .deco.float, .hero .deco.spin { display: none; }
  .hero-bottom { margin-top: 18px; gap: 16px; }
  .hero-pag { display: none; }

  /* onboarding: tighter header rows so step 1 with its follow-up fits, Continue sticks to the bottom */
  .start .flow-head { margin-top: 4px !important; margin-bottom: 10px; }
  .start .progress { margin-bottom: 18px; }
  .start .step { gap: 16px; }
  .start .step-copy .heading-lg { font-size: 32px; margin-bottom: 8px; }
  .start .step-copy p { font-size: 15px; }
  .start .chips { gap: 8px; }
  .start .chip { padding: 10px 14px; font-size: 15px; }
  .start #detail-wrap { margin-top: 16px !important; }
  .start .actions { margin-top: 20px; }

  /* result: less space above the chart, chart capped to the screen */
  #result.section { padding-top: 16px; }
  #result .flow-head { margin-bottom: 8px; }
  .chart-wrap .graph svg { max-height: calc(100svh - 360px); }
}
.flow-head .pagination { white-space: nowrap; }


/* =====================================================================
   v8 — German default + English switch, consent banner, legal pages
   ===================================================================== */
.i18n-pending body { visibility: hidden; }

/* German runs long: let headings and copy hyphenate at the right places instead of overflowing */
:lang(de) h1, :lang(de) h2, :lang(de) h3, :lang(de) p, :lang(de) li, :lang(de) q, :lang(de) summary, :lang(de) .fact span, :lang(de) .lock .t, :lang(de) .chip, :lang(de) dd {
  -webkit-hyphens: auto; hyphens: auto; hyphenate-limit-chars: 10 4 4;
}
.display-xl, .display-lg, .heading-lg, .heading-sm, .fact span, .kicker, .subtitle { overflow-wrap: break-word; }

/* language switch in the header */
.top-right { gap: 14px; align-items: center; }
.lang-switch { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-geometric); font-size: 11px; text-transform: uppercase; }
.lang-switch a { text-decoration: none; color: rgba(0,0,0,.5); padding: 6px 2px; }
.lang-switch a.on { color: var(--c-black); text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1.5px; }
.lang-switch a:hover { color: var(--c-black); }
.lang-switch span { color: rgba(0,0,0,.35); }
@media (max-width: 520px) { .top-right { gap: 10px; } .top .top-cta { padding: 8px 14px; min-height: 42px; font-size: 13px; } }
@media (max-width: 360px) { .top .top-cta { display: none; } }

/* consent banner (Google Analytics only after an explicit yes) */
.consent { position: fixed; z-index: 40; left: 16px; bottom: 16px; max-width: 440px; background: var(--c-cream); border: var(--stroke-default) solid var(--c-black); padding: 18px 20px; box-shadow: var(--shadow-floating); }
.consent p { margin: 0 0 14px; font-size: 15px; line-height: 1.4; }
.consent-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.consent-actions .btn { flex: 1 1 0; min-width: 120px; }
@media (max-width: 520px) { .consent { left: 10px; right: 10px; bottom: 10px; max-width: none; } }
@media (prefers-reduced-motion: no-preference) { .consent { animation: rise .45s cubic-bezier(.2,.7,.2,1) both; } }

/* legal pages */
.legal h3.heading-sm { margin: 28px 0 8px; }
.legal-list { margin: 20px 0 8px; display: grid; gap: 0; border-top: var(--stroke-thin) solid var(--c-black); }
.legal-list > div { display: grid; grid-template-columns: 200px 1fr; gap: 16px; padding: 12px 0; border-bottom: var(--stroke-thin) solid var(--c-black); }
.legal-list > div[hidden] { display: none; }
.legal-list dt { font-family: var(--font-geometric); font-size: 11px; text-transform: uppercase; padding-top: 4px; }
.legal-list dd { margin: 0; }
@media (max-width: 520px) { .legal-list > div { grid-template-columns: 1fr; gap: 4px; } }
footer nav { display: flex; flex-wrap: wrap; gap: 6px 20px; }
footer nav a { margin-right: 0; }

/* v8.1 — German line lengths */
.legend { flex-wrap: wrap; row-gap: 8px; }
.legend > span { display: inline-flex; align-items: center; white-space: nowrap; }
.legend > span > i { flex: none; }
@media (max-width: 900px) { .hero .hero-star2 { display: none; } }
@media (max-width: 520px) { .start-foot { flex-direction: column; align-items: flex-start; gap: 8px; } }

.btn [data-price], .price [data-price] { white-space: nowrap; }

@media (max-width: 900px) { .top > .kicker { display: none; } }
