@import url('fonts.css');

:root {
  --paper: #F6F4EF;
  --paper-2: #EDEAE3;
  --card: #FFFFFF;
  --ink: #16181D;
  --ink-2: #3D414B;
  --muted: #6A6F7A;
  --line: rgba(22, 24, 29, .12);
  --line-strong: rgba(22, 24, 29, .24);
  --accent: #4A2FCF;
  --accent-ink: #3A22B0;
  --accent-soft: #ECE8FB;
  --night: #15171C;
  --night-2: #1E2128;
  --night-3: #2A2E37;
  --night-line: rgba(255, 255, 255, .12);
  --night-text: #EEEDEA;
  --night-muted: #A3A7B1;
  --night-accent: #A898F2;
  --good: #2C7A57;
  --good-soft: #E3F1EA;
  --bad: #B0473A;
  --bad-soft: #F7E7E4;

  --display: 'Archivo', 'Public Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --sans: 'Public Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 10px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--accent); color: #fff; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(76px, 10vw, 130px) 0; position: relative; }
.section + .section { border-top: 1px solid var(--line); }

/* Type */
.kicker { font-size: 14px; font-weight: 600; color: var(--accent); margin-bottom: 18px; letter-spacing: .01em; }
.h1, .h2, .h3 { font-family: var(--display); font-weight: 650; letter-spacing: -.02em; overflow-wrap: break-word; hyphens: manual; -webkit-hyphens: manual; }
.h1 { font-size: clamp(36px, 5vw, 64px); line-height: 1.06; letter-spacing: -.03em; }
.h2 { font-size: clamp(28px, 3.4vw, 44px); line-height: 1.12; letter-spacing: -.025em; max-width: 22ch; }
.h3 { font-size: clamp(20px, 1.8vw, 23px); line-height: 1.28; }
.h1 .soft, .h2 .soft { color: var(--muted); }
.h1 .accent { color: var(--accent); }
.lead { font-size: clamp(17.5px, 1.4vw, 19.5px); color: var(--ink-2); max-width: 60ch; line-height: 1.65; }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; margin-bottom: clamp(44px, 5.5vw, 72px); }
@media (min-width: 960px) {
  .section-head.split { grid-template-columns: 1.1fr .9fr; align-items: end; gap: 64px; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border-radius: 6px;
  font-weight: 600; font-size: 15.5px; text-decoration: none; cursor: pointer;
  border: 1px solid transparent; transition: background .2s ease, border-color .2s ease, color .2s; white-space: nowrap;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-ink); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; }
.btn-ghost { border-color: var(--line-strong); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--ink); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--accent-soft); }
.btn-outline-light { border-color: rgba(255, 255, 255, .35); color: #fff; background: transparent; }
.btn-outline-light:hover { border-color: #fff; }
.btn .arrow { transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* Nav */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background .3s ease, border-color .3s ease; border-bottom: 1px solid transparent; }
.nav.scrolled, .nav.solid { background: rgba(246, 244, 239, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-color: var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 74px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 21px; letter-spacing: -.02em; }
.brand svg { width: 28px; height: 28px; }
.nav-links { display: none; gap: 32px; list-style: none; }
.nav-links a { text-decoration: none; font-size: 15px; color: var(--ink-2); }
.nav-links a:hover { color: var(--accent); }
.nav-actions { display: flex; gap: 10px; align-items: center; }
.nav .btn { min-height: 44px; padding: 0 18px; font-size: 14.5px; }
.nav .btn-ghost { display: none; }
.nav-cta-short { display: inline; }
.nav-cta-long { display: none; }
@media (min-width: 980px) {
  .nav-links { display: flex; }
  .nav .btn-ghost { display: inline-flex; }
  .nav-cta-short { display: none; }
  .nav-cta-long { display: inline; }
}

/* Hero */
.hero { padding: 148px 0 88px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 52px; align-items: center; }
@media (min-width: 1020px) { .hero-grid { grid-template-columns: 1.2fr .8fr; gap: 64px; } }
.hero .h1 { max-width: 15ch; }
.hero .lead { margin-top: 28px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-micro { margin-top: 18px; font-size: 14px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px 20px; }
.hero-micro span { display: inline-flex; align-items: center; gap: 8px; }
.hero-micro svg { width: 16px; height: 16px; color: var(--good); }

/* Quiz starter card */
.starter { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 30px; box-shadow: 0 30px 60px -40px rgba(22, 24, 29, .35); }
.starter-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 13.5px; color: var(--muted); }
.starter-top b { color: var(--ink); font-weight: 600; }
.starter-bar { height: 4px; background: var(--paper-2); border-radius: 4px; margin: 14px 0 24px; overflow: hidden; }
.starter-bar span { display: block; width: 4%; height: 100%; background: var(--accent); }
.starter h2 { font-family: var(--display); font-weight: 650; letter-spacing: -.015em; font-size: 23px; line-height: 1.25; margin-bottom: 18px; }
.starter-options { display: grid; gap: 10px; }
.starter-options a {
  display: flex; justify-content: space-between; align-items: center; gap: 12px; text-decoration: none;
  border: 1px solid var(--line-strong); border-radius: 8px; padding: 14px 16px; font-size: 15.5px; font-weight: 500; transition: border-color .2s, background .2s;
}
.starter-options a:hover { border-color: var(--accent); background: var(--accent-soft); }
.starter-options a span { color: var(--accent); }
.starter-note { margin-top: 16px; font-size: 13px; color: var(--muted); }

/* Facts strip */
.facts { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .facts-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.fact { padding: 28px 22px; border-right: 1px solid var(--line); }
.fact:nth-child(2n) { border-right: 0; }
@media (max-width: 899px) { .fact:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }
@media (min-width: 900px) { .fact:nth-child(2n) { border-right: 1px solid var(--line); } .fact:last-child { border-right: 0; } }
.fact strong { display: block; font-family: var(--display); font-weight: 650; font-size: clamp(21px, 2vw, 26px); line-height: 1.2; }
.fact span { display: block; margin-top: 6px; font-size: 14px; color: var(--muted); line-height: 1.45; }

/* Problems */
.problems { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
@media (min-width: 820px) { .problems { grid-template-columns: 1fr 1fr; } }
.problem { background: var(--card); padding: clamp(26px, 3.2vw, 40px); }
.problem .num { font-family: var(--display); font-weight: 700; font-size: 20px; color: var(--accent); }
.problem .h3 { margin: 12px 0 12px; }
.problem p { color: var(--ink-2); font-size: 16.5px; }

/* Dark section */
.dark { background: var(--night); color: var(--night-text); border-top: 0 !important; }
.dark + .section { border-top: 0; }
.dark .kicker { color: var(--night-accent); }
.dark .lead { color: var(--night-muted); }
.dark .h2 .soft { color: var(--night-muted); }

/* Example slider */
.example { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
@media (min-width: 1000px) { .example { grid-template-columns: .9fr 1.1fr; gap: 24px; } }
.panel { min-width: 0; background: var(--night-2); border: 1px solid var(--night-line); border-radius: 12px; padding: clamp(22px, 3vw, 36px); }
.field-top { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.field label, .field .label { font-size: 15px; font-weight: 600; color: #fff; }
.field output { font-size: 18px; font-weight: 600; color: var(--night-accent); white-space: nowrap; font-variant-numeric: tabular-nums; }
.field .hint { font-size: 13.5px; color: var(--night-muted); margin-top: 4px; line-height: 1.45; }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 30px; background: transparent; margin-top: 10px; cursor: pointer; }
input[type=range]::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: linear-gradient(to right, var(--night-accent) var(--fill, 30%), var(--night-3) var(--fill, 30%)); }
input[type=range]::-moz-range-track { height: 4px; border-radius: 4px; background: var(--night-3); }
input[type=range]::-moz-range-progress { height: 4px; border-radius: 4px; background: var(--night-accent); }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: #fff; margin-top: -9px; border: 3px solid var(--night-accent); }
input[type=range]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 3px solid var(--night-accent); }
.levers { margin-top: 30px; display: grid; gap: 10px; }
.levers-label { font-size: 15px; font-weight: 600; color: #fff; }
.lever-toggle {
  display: grid; grid-template-columns: 22px 1fr; gap: 14px; align-items: start; text-align: left; width: 100%;
  background: var(--night); border: 1px solid var(--night-line); border-radius: 10px; padding: 16px; cursor: pointer; color: var(--night-text); transition: border-color .2s;
}
.lever-toggle:hover { border-color: rgba(255, 255, 255, .3); }
.lever-toggle .box { width: 22px; height: 22px; border-radius: 5px; border: 2px solid var(--night-muted); display: grid; place-items: center; margin-top: 1px; }
.lever-toggle .box svg { width: 14px; height: 14px; opacity: 0; color: #fff; }
.lever-toggle[aria-pressed=true] { border-color: var(--night-accent); }
.lever-toggle[aria-pressed=true] .box { background: var(--accent); border-color: var(--accent); }
.lever-toggle[aria-pressed=true] .box svg { opacity: 1; }
.lever-toggle strong { display: block; font-size: 15.5px; color: #fff; }
.lever-toggle small { display: block; font-size: 13.5px; color: var(--night-muted); margin-top: 3px; line-height: 1.45; }
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.scenario { border-radius: 10px; padding: 18px; border: 1px solid var(--night-line); }
.scenario.bad { background: rgba(176, 71, 58, .12); border-color: rgba(176, 71, 58, .35); }
.scenario.good { background: rgba(44, 122, 87, .16); border-color: rgba(84, 190, 140, .4); }
.scenario h4 { font-size: 13.5px; font-weight: 600; color: var(--night-muted); margin-bottom: 12px; }
.scenario dl { display: grid; gap: 8px; }
.scenario dl div { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; color: var(--night-muted); }
.scenario dd { color: #fff; font-variant-numeric: tabular-nums; white-space: nowrap; }
.scenario .net { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--night-line); }
.scenario .net small { display: block; font-size: 13px; color: var(--night-muted); }
.scenario .net strong { font-family: var(--display); font-weight: 650; font-size: clamp(24px, 2.6vw, 32px); color: #fff; font-variant-numeric: tabular-nums; }
.bars { margin-top: 22px; display: grid; gap: 10px; }
.bar-row { display: grid; grid-template-columns: 130px 1fr; gap: 12px; align-items: center; font-size: 13px; color: var(--night-muted); }
.bar { height: 14px; background: var(--night-3); border-radius: 3px; overflow: hidden; }
.bar span { display: block; height: 100%; border-radius: 3px; transition: width .5s cubic-bezier(.2, .7, .2, 1); }
.bar.bad span { background: #C9675A; }
.bar.good span { background: #4FB487; }
.delta { margin-top: 22px; border-radius: 10px; padding: 18px 20px; background: var(--accent); color: #fff; }
.delta small { display: block; font-size: 13.5px; opacity: .85; }
.delta strong { font-family: var(--display); font-weight: 650; font-size: clamp(28px, 3.2vw, 40px); font-variant-numeric: tabular-nums; }
.breakdown { margin-top: 18px; display: grid; }
.breakdown div { display: flex; justify-content: space-between; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--night-line); font-size: 14.5px; }
.breakdown span { color: var(--night-muted); }
.breakdown b { font-weight: 600; color: #fff; font-variant-numeric: tabular-nums; white-space: nowrap; }
.breakdown .off b { color: var(--night-muted); font-weight: 400; }
.example-note { margin-top: 20px; font-size: 12.5px; line-height: 1.55; color: var(--night-muted); }
.example-cta { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 520px) { .compare { grid-template-columns: minmax(0, 1fr); } .bar-row { grid-template-columns: 100px 1fr; } }

/* Principles */
.principles { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
@media (min-width: 820px) { .principles { grid-template-columns: 1fr 1fr; } }
.principle { border: 1px solid var(--line); background: var(--card); border-radius: var(--radius); padding: clamp(26px, 3.2vw, 40px); display: flex; flex-direction: column; gap: 12px; }
.principle .icon { width: 44px; height: 44px; border-radius: 8px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; }
.principle .icon svg { width: 22px; height: 22px; }
.principle p { color: var(--ink-2); font-size: 16.5px; }

/* Timeline */
.timeline { list-style: none; }
.step { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 18px; padding: 28px 0; border-top: 1px solid var(--line); }
.step:last-child { border-bottom: 1px solid var(--line); }
@media (min-width: 900px) { .step { grid-template-columns: 80px 1fr 1.3fr 160px; gap: 34px; align-items: baseline; } }
.step .n { font-family: var(--display); font-weight: 700; font-size: 30px; line-height: 1; color: var(--accent); }
.step p { color: var(--ink-2); font-size: 16.5px; grid-column: 2; }
.step .when { grid-column: 2; font-size: 13.5px; font-weight: 600; color: var(--muted); }
@media (min-width: 900px) { .step p, .step .when { grid-column: auto; } .step .when { text-align: right; } }
.timeline-note { margin-top: 24px; font-size: 15px; color: var(--muted); }

/* Terms */
.terms { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
@media (min-width: 700px) { .terms { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1020px) { .terms { grid-template-columns: repeat(3, 1fr); } }
.term { background: var(--card); padding: 28px 26px; }
.term h3 { font-size: 17.5px; font-weight: 650; margin-bottom: 8px; }
.term p { font-size: 15.5px; color: var(--ink-2); }

/* Fit */
.fit { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
@media (min-width: 900px) { .fit { grid-template-columns: 1.15fr .85fr; } }
.fit-card { border-radius: var(--radius); padding: clamp(26px, 3.2vw, 40px); border: 1px solid var(--line); background: var(--card); }
.fit-card.yes { background: var(--night); color: var(--night-text); border-color: var(--night); }
.fit-card h3 { font-family: var(--display); font-weight: 650; letter-spacing: -.015em; font-size: 24px; margin-bottom: 20px; }
.fit-card ul { list-style: none; display: grid; gap: 14px; }
.fit-card li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; font-size: 16px; line-height: 1.5; }
.fit-card li svg { width: 20px; height: 20px; margin-top: 2px; }
.fit-card.yes li svg { color: #7FD3A8; }
.fit-card.no li { color: var(--ink-2); }
.fit-card.no li svg { color: var(--bad); }
.reasons { margin-top: 40px; }
.reasons p { font-size: 15px; color: var(--muted); margin-bottom: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { padding: 8px 14px; border-radius: 6px; border: 1px solid var(--line-strong); font-size: 14.5px; background: var(--card); }

/* Sectors */
.sectors { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
@media (min-width: 520px) { .sectors { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 760px) { .sectors { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1020px) { .sectors { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.sector { background: var(--card); padding: 20px 22px; font-size: 15.5px; font-weight: 500; }

/* Promise */
.promise { display: grid; grid-template-columns: minmax(0, 1fr); gap: 46px; }
@media (min-width: 960px) { .promise { grid-template-columns: .9fr 1.1fr; gap: 80px; } }
.promise-list { list-style: none; counter-reset: p; }
.promise-list li { counter-increment: p; padding: 22px 0; border-top: 1px solid var(--night-line); display: grid; grid-template-columns: 44px 1fr; gap: 12px; }
.promise-list li:last-child { border-bottom: 1px solid var(--night-line); }
.promise-list li::before { content: counter(p); font-family: var(--display); font-weight: 700; font-size: 20px; color: var(--night-accent); }
.promise-list strong { display: block; font-family: var(--display); font-weight: 650; font-size: 20px; line-height: 1.3; color: #fff; }
.promise-list p { color: var(--night-muted); font-size: 15.5px; margin-top: 6px; }

/* FAQ */
.faq { border-top: 1px solid var(--line); max-width: 880px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 24px 50px 24px 0; position: relative; font-size: clamp(17.5px, 1.6vw, 20px); font-weight: 600; line-height: 1.4; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -8px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg); transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq summary:hover { color: var(--accent); }
.faq .answer { padding: 0 0 26px; color: var(--ink-2); font-size: 16.5px; max-width: 72ch; }
.faq .answer p + p, .faq .answer p + ul, .faq .answer ul + p { margin-top: 12px; }
.faq .answer ul { padding-left: 20px; }
.faq .answer li + li { margin-top: 6px; }
.faq .fine { font-size: 13.5px; color: var(--muted); }

/* Contact */
.contact { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; }
@media (min-width: 1000px) { .contact { grid-template-columns: .85fr 1.15fr; gap: 70px; } }
.person { margin-top: 34px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); padding: 24px; }
.person-top { display: flex; align-items: center; gap: 16px; }
.avatar { width: 54px; height: 54px; border-radius: 50%; background: var(--night); color: #fff; display: grid; place-items: center; font-family: var(--display); font-size: 20px; flex-shrink: 0; }
.person-top strong { display: block; font-size: 17px; }
.person-top span { font-size: 14px; color: var(--muted); }
.person-lines { margin-top: 18px; display: grid; gap: 10px; }
.person-lines a { display: flex; align-items: center; gap: 12px; text-decoration: none; font-size: 15.5px; color: var(--ink-2); }
.person-lines a:hover { color: var(--accent); }
.person-lines svg { width: 18px; height: 18px; color: var(--accent); flex-shrink: 0; }
.form { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: clamp(22px, 3.2vw, 40px); }
.form-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
.form label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 7px; }
.form label .opt { font-weight: 400; color: var(--muted); }
.form input, .form select, .form textarea, .wiz input, .wiz select, .wiz textarea {
  width: 100%; min-height: 50px; border-radius: 6px; border: 1px solid var(--line-strong); background: #fff; padding: 12px 14px; font-size: 16px;
  transition: border-color .2s, box-shadow .2s; appearance: none; -webkit-appearance: none;
}
.form select, .wiz select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5l5 5 5-5' stroke='%2316181D' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }
.form textarea, .wiz textarea { min-height: 110px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus, .wiz input:focus, .wiz select:focus, .wiz textarea:focus { outline: 0; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(74, 47, 207, .15); }
.form .btn { width: 100%; margin-top: 22px; min-height: 56px; font-size: 16px; }
.form-note { margin-top: 14px; font-size: 13px; color: var(--muted); line-height: 1.5; text-align: center; }
.form-success { display: none; text-align: center; padding: 40px 10px; }
.form-success .h3 { margin-bottom: 12px; }
.form-success p { color: var(--ink-2); }
.form.sent .form-body { display: none; }
.form.sent .form-success { display: block; }

/* Band */
.band { background: var(--night); color: #fff; border-radius: 14px; padding: clamp(34px, 5.5vw, 68px); display: grid; gap: 28px; }
@media (min-width: 900px) { .band { grid-template-columns: 1.4fr auto; align-items: end; } }
.band .h2 { max-width: 22ch; }
.band p { color: var(--night-muted); margin-top: 14px; max-width: 52ch; }
.band-ctas { display: flex; flex-wrap: wrap; gap: 12px; }

/* Footer */
.footer { background: var(--night); color: var(--night-muted); padding: 66px 0 38px; font-size: 14.5px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 38px; }
@media (min-width: 820px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer .brand { color: #fff; }
.footer p { margin-top: 14px; max-width: 34ch; line-height: 1.55; }
.footer h4 { font-weight: 600; font-size: 14px; color: #fff; margin-bottom: 14px; }
.footer ul { list-style: none; display: grid; gap: 10px; }
.footer a { text-decoration: none; }
.footer a:hover { color: #fff; }
.footer-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--night-line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; font-size: 13px; }

/* Legal pages */
.legal { padding: 136px 0 96px; }
.legal .wrap { max-width: 820px; }
.legal h1 { font-family: var(--display); font-weight: 650; font-size: clamp(38px, 5vw, 58px); line-height: 1.1; margin-bottom: 36px; }
.legal h2 { font-size: 19px; font-weight: 650; margin: 38px 0 12px; }
.legal p, .legal li { color: var(--ink-2); font-size: 16px; }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 20px; margin-top: 10px; }
.legal address { font-style: normal; color: var(--ink-2); }

/* ========== Valuation wizard ========== */
.wiz-page { padding: 110px 0 80px; min-height: 100vh; }
.wiz-head { max-width: 760px; margin: 0 auto 34px; text-align: center; }
.wiz-head .h1 { font-size: clamp(32px, 4.4vw, 52px); max-width: none; }
.wiz-head .lead { margin: 18px auto 0; }
.wiz-trust { margin-top: 18px; display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 22px; font-size: 14px; color: var(--muted); }
.wiz-trust span { display: inline-flex; align-items: center; gap: 7px; }
.wiz-trust svg { width: 16px; height: 16px; color: var(--good); }
.wiz { max-width: 760px; margin: 0 auto; background: var(--card); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 30px 70px -50px rgba(22, 24, 29, .45); overflow: hidden; }
.wiz-progress { padding: 20px clamp(20px, 4vw, 40px) 0; }
.wiz-progress-top { display: flex; justify-content: space-between; gap: 12px; font-size: 13.5px; color: var(--muted); }
.wiz-progress-top b { color: var(--ink); font-weight: 600; }
.wiz-bar { height: 4px; background: var(--paper-2); border-radius: 4px; margin-top: 10px; overflow: hidden; }
.wiz-bar span { display: block; height: 100%; width: 0; background: var(--accent); transition: width .35s ease; }
.wiz-body { padding: clamp(24px, 4vw, 40px); min-height: 340px; }
.wiz-q { font-family: var(--display); font-weight: 650; letter-spacing: -.015em; font-size: clamp(22px, 2.4vw, 28px); line-height: 1.25; }
.wiz-help { margin-top: 10px; color: var(--muted); font-size: 15px; }
.wiz-fields { margin-top: 24px; }
.wiz-options { display: grid; gap: 10px; margin-top: 24px; }
@media (min-width: 640px) { .wiz-options.cols-2 { grid-template-columns: 1fr 1fr; } }
.wiz-opt {
  display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; cursor: pointer;
  border: 1px solid var(--line-strong); background: #fff; border-radius: 8px; padding: 14px 16px; font-size: 16px; font-weight: 500; transition: border-color .15s, background .15s;
}
.wiz-opt:hover { border-color: var(--accent); }
.wiz-opt .mark { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line-strong); flex-shrink: 0; display: grid; place-items: center; }
.wiz-opt.multi .mark { border-radius: 5px; }
.wiz-opt .mark::after { content: ''; width: 8px; height: 8px; border-radius: inherit; background: #fff; opacity: 0; }
.wiz-opt[aria-pressed=true] { border-color: var(--accent); background: var(--accent-soft); }
.wiz-opt[aria-pressed=true] .mark { border-color: var(--accent); background: var(--accent); }
.wiz-opt[aria-pressed=true] .mark::after { opacity: 1; }
.wiz-unit { position: relative; }
.wiz-unit input { padding-right: 46px; font-size: 19px; font-variant-numeric: tabular-nums; }
.wiz-unit::after { content: attr(data-unit); position: absolute; right: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: 17px; pointer-events: none; }
.wiz-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
@media (min-width: 640px) { .wiz-row.two { grid-template-columns: 1fr 1fr; } }
.wiz label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 7px; }
.wiz label .opt { font-weight: 400; color: var(--muted); }
.wiz-error { margin-top: 14px; color: var(--bad); font-size: 14.5px; }
.wiz-consent { display: flex; gap: 12px; align-items: flex-start; margin-top: 18px; font-size: 13.5px; color: var(--muted); line-height: 1.5; font-weight: 400 !important; }
.wiz .wiz-consent input { width: 18px; min-height: 18px; height: 18px; margin-top: 2px; padding: 0; appearance: auto; -webkit-appearance: auto; flex-shrink: 0; }
.wiz-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px clamp(20px, 4vw, 40px); border-top: 1px solid var(--line); background: #FBFAF8; }
.wiz-back { background: none; border: 0; color: var(--muted); font-size: 15px; cursor: pointer; padding: 10px 0; }
.wiz-back:hover { color: var(--ink); }
.wiz-back.hide { visibility: hidden; }
.wiz-section-label { font-size: 13.5px; font-weight: 600; color: var(--accent); margin-bottom: 10px; }

/* Wizard result */
.res { padding: clamp(24px, 4vw, 44px); }
.res-hello { font-size: 15px; color: var(--muted); }
.res-value { margin-top: 18px; border-radius: 10px; background: var(--night); color: #fff; padding: clamp(22px, 3.4vw, 34px); }
.res-value small { display: block; font-size: 14px; color: var(--night-muted); }
.res-value .big { font-family: var(--display); font-weight: 650; letter-spacing: -.02em; font-size: clamp(28px, 4vw, 44px); line-height: 1.15; margin-top: 6px; font-variant-numeric: tabular-nums; }
.res-value .sub { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--night-line); display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: 15px; color: var(--night-muted); }
.res-value .sub b { color: #fff; font-weight: 600; font-variant-numeric: tabular-nums; }
.res-potential { margin-top: 14px; border-radius: 10px; background: var(--accent-soft); padding: 18px 20px; display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; }
.res-potential p { font-size: 15px; color: var(--ink-2); max-width: 46ch; }
.res-potential strong { font-family: var(--display); font-weight: 650; font-size: 28px; color: var(--accent-ink); white-space: nowrap; }
.res-cols { margin-top: 26px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
@media (min-width: 680px) { .res-cols { grid-template-columns: 1fr 1fr; } }
.res-list h3 { font-size: 16px; font-weight: 650; margin-bottom: 10px; }
.res-list ul { list-style: none; display: grid; gap: 8px; }
.res-list li { font-size: 15px; color: var(--ink-2); padding: 10px 12px; border-radius: 6px; line-height: 1.45; }
.res-list.plus li { background: var(--good-soft); }
.res-list.minus li { background: var(--bad-soft); }
.res-note { margin-top: 22px; font-size: 13px; color: var(--muted); line-height: 1.55; }
.res-cta { margin-top: 26px; border-top: 1px solid var(--line); padding-top: 24px; }
.res-cta p { color: var(--ink-2); margin-bottom: 16px; }
.res-cta .btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* Reveal */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  * { transition: none !important; }
}
@media (max-width: 480px) {
  .nav .btn { padding: 0 14px; }
  .fact { padding: 22px 16px; }
  .starter { padding: 22px; }
}

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
@media (max-width: 560px) {
  .hero-ctas .btn, .example-cta .btn, .band-ctas .btn, .res-cta .btn { width: 100%; white-space: normal; text-align: center; }
  .wiz-head .h1 { font-size: 31px; hyphens: manual; -webkit-hyphens: manual; }
}

/* Wordmark */
.brand img { display: block; height: 19px; width: auto; }
.footer .brand img { height: 20px; }
@media (max-width: 480px) { .brand img { height: 15px; } }
