:root {
  --paper: #F5F3ED;
  --paper-2: #ECE8DE;
  --card: #FFFFFF;
  --ink: #0E1A2B;
  --ink-2: #4A5568;
  --ink-3: #7A8496;
  --line: #DCD6C8;
  --green: #0F7A55;
  --green-soft: #DDF0E6;
  --red: #B5432D;
  --red-soft: #F6E1DA;
  --amber: #A86B12;
  --amber-soft: #F5EAD3;
  --mint: #7FD1AE;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(14, 26, 43, .04), 0 10px 28px -14px rgba(14, 26, 43, .18);
  --serif: "Newsreader", Georgia, serif;
  --sans: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-padding-top: 84px; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4, p, dl, dd, figure { margin: 0; }
h1, h2 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.08;
}
h1 { font-size: clamp(2.5rem, 5.2vw, 4rem); }
h1 em { font-style: italic; color: var(--green); }
h2 { font-size: clamp(2rem, 3.8vw, 2.85rem); }
h3 { font-size: 1.125rem; font-weight: 600; line-height: 1.35; }
dd, output, .big, .sens, .plan__price { font-variant-numeric: tabular-nums; }

.container { width: min(1160px, 100% - 32px); margin-inline: auto; }
.muted { color: var(--ink-3); }
.lead { color: var(--ink-2); font-size: 1.125rem; }
.fineprint { color: var(--ink-3); font-size: .85rem; }
.eyebrow {
  color: var(--green);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.tag {
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-3);
  font-size: .75rem;
  padding: 2px 10px;
  white-space: nowrap;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .8rem 1.3rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-size: .95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s, border-color .15s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--ink); color: #fff; }
.btn--primary:hover { background: #22324a; }
.btn--ghost { border-color: var(--line); background: transparent; }
.btn--ghost:hover { border-color: var(--ink); }
.btn--mint { background: var(--mint); color: var(--ink); }
.btn--mint:hover { background: #9CDDC1; }
.btn--sm { padding: .55rem 1rem; font-size: .875rem; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(245, 243, 237, .86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav__inner { display: flex; align-items: center; gap: 32px; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo__bg { fill: var(--ink); }
.logo__fair { stroke: #fff; stroke-width: 1.6; stroke-dasharray: 2 2.5; }
.logo__price { fill: none; stroke: var(--mint); stroke-width: 2.4; stroke-linecap: round; }
.logo__text { font-weight: 700; font-size: 1.05rem; letter-spacing: -.01em; }
.logo__text span { font-weight: 400; color: var(--ink-2); }
.nav__links { display: flex; gap: 24px; margin-left: auto; }
.nav__links a { color: var(--ink-2); font-size: .925rem; text-decoration: none; }
.nav__links a:hover { color: var(--ink); }
@media (max-width: 1020px) {
  .nav__links { display: none; }
  .nav__inner > .btn { margin-left: auto; }
}

/* Hero */
.hero { padding: 80px 0 72px; }
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}
.hero__copy .lead { margin-top: 24px; max-width: 34em; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0 14px; }
.hero__card { padding: 22px; }
.chart-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.chart-head .muted { font-size: .875rem; margin-left: 8px; }
.ticker {
  background: var(--ink);
  color: #fff;
  border-radius: 6px;
  padding: 2px 8px;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .04em;
}
.hero-chart { width: 100%; height: auto; margin: 14px 0 10px; }
.hc-grid { stroke: var(--line); stroke-width: 1; }
.hc-area--over { fill: var(--red-soft); }
.hc-area--under { fill: var(--green-soft); }
.hc-fair { fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-dasharray: 6 5; }
.hc-price { fill: none; stroke-width: 2.2; stroke-linejoin: round; }
.hc-price--over { stroke: var(--red); }
.hc-price--under { stroke: var(--green); }
.hc-dot { stroke: #fff; stroke-width: 2; }
.hc-dot--price { fill: var(--green); }
.hc-dot--fair { fill: var(--ink); }

.legend {
  display: flex; flex-wrap: wrap; gap: 6px 18px;
  list-style: none; margin: 0; padding: 0;
  color: var(--ink-2); font-size: .8rem;
}
.legend li { display: flex; align-items: center; gap: 6px; }
.sw { display: inline-block; width: 14px; height: 3px; border-radius: 2px; }
.sw--under { background: var(--green); }
.sw--over { background: var(--red); }
.sw--fair { background: repeating-linear-gradient(90deg, var(--ink) 0 4px, transparent 4px 7px); }

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  border-top: 1px solid var(--line);
  margin-top: 16px;
  padding-top: 16px;
}
.hero__stats dt { color: var(--ink-3); font-size: .78rem; }
.hero__stats dd { font-size: 1.35rem; font-weight: 600; letter-spacing: -.01em; }
.pos { color: var(--green); }

/* Principles */
.principles { border-block: 1px solid var(--line); padding: 30px 0; }
.principles__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.principles h3 { font-family: var(--serif); font-size: 1.3rem; font-weight: 500; }
.principles p { color: var(--ink-2); font-size: .95rem; }

/* Sections */
.section { padding: 104px 0; }
.section--alt { background: var(--paper-2); }
.section__head { max-width: 720px; margin-bottom: 52px; }
.section__head .lead { margin-top: 18px; }
.section__head--center { margin-inline: auto; text-align: center; }

/* Methods */
.methods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.method { display: flex; flex-direction: column; gap: 12px; padding: 28px; }
.method p { color: var(--ink-2); font-size: .95rem; }
.method__num { font-family: var(--serif); font-style: italic; font-size: 1.5rem; color: var(--green); }
.method .method__fit {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--ink-3);
  font-size: .82rem;
}

/* Football field */
.ff { --label: 150px; margin-top: 24px; padding: 28px; }
.ff__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.ff__head .muted { font-size: .875rem; }
.ff__plot { position: relative; margin-top: 12px; padding: 34px 0; }
.ff__row {
  display: grid;
  grid-template-columns: var(--label) 1fr;
  align-items: center;
  height: 46px;
}
.ff__label { font-size: .9rem; font-weight: 500; line-height: 1.25; }
.ff__label small { display: block; color: var(--ink-3); font-size: .75rem; font-weight: 400; }
.ff__track {
  position: relative;
  height: 100%;
  background-image: linear-gradient(to right, var(--line) 1px, transparent 1px);
  background-size: calc(100% / 7) 100%;
}
.ff__bar {
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: calc((var(--lo) - var(--min)) / (var(--max) - var(--min)) * 100%);
  width: calc((var(--hi) - var(--lo)) / (var(--max) - var(--min)) * 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  border-radius: 5px;
  color: #fff;
  font-size: .75rem;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.ff__bar--ref {
  background: var(--paper-2);
  border: 1px dashed var(--ink-3);
  color: var(--ink-2);
}
.ff__marker {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 1;
  left: calc(var(--label) + (100% - var(--label)) * (var(--v) - var(--min)) / (var(--max) - var(--min)));
  border-left: 2px solid;
}
.ff__marker span {
  position: absolute;
  transform: translateX(-50%);
  padding: 2px 9px;
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 600;
  white-space: nowrap;
}
.ff__marker--price { border-color: var(--red); border-left-style: dashed; }
.ff__marker--price span { top: 4px; background: var(--red-soft); color: var(--red); }
.ff__marker--fair { border-color: var(--green); }
.ff__marker--fair span { bottom: 4px; background: var(--green); color: #fff; }
.ff__axis {
  position: relative;
  height: 22px;
  margin-left: var(--label);
  color: var(--ink-3);
  font-size: .75rem;
}
.ff__axis span {
  position: absolute;
  left: calc((var(--t) - var(--min)) / (var(--max) - var(--min)) * 100%);
  transform: translateX(-50%);
}
.ff__note { margin-top: 16px; color: var(--ink-3); font-size: .82rem; }

/* Market data */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 20px; }
.stat { padding: 22px 24px; }
.stat__label { color: var(--ink-2); font-size: .9rem; }
.stat__value { font-size: 2.6rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.15; margin-top: 6px; }
.stat__note { color: var(--ink-3); font-size: .82rem; margin-top: 4px; }

.viz { padding: 24px; min-width: 0; }
.viz--wide { margin-bottom: 20px; }
.viz-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
.viz__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px 24px; margin-bottom: 18px; }
.viz__head .muted { font-size: .85rem; }
.viz__legend {
  display: flex; flex-wrap: wrap; gap: 6px 16px;
  list-style: none; margin: 0; padding: 0;
  color: var(--ink-2); font-size: .8rem;
}
.viz__legend li { display: flex; align-items: center; gap: 6px; }
.key { display: inline-block; flex: none; }
.key--line { width: 16px; height: 2px; border-radius: 1px; background: var(--ink); }
.key--band { width: 14px; height: 10px; border-radius: 2px; background: rgba(14, 26, 43, .12); }
.key--ref { width: 16px; border-top: 2px dashed var(--ink-3); }
.key--dot { width: 10px; height: 10px; border-radius: 50%; background: var(--ink); }
.key--tick { width: 2px; height: 12px; background: var(--ink-3); }
.key--range { width: 16px; height: 8px; border-radius: 4px; background: #CFE4D8; }
.key--fair { width: 16px; height: 2px; background: var(--green); }

.viz__plot { position: relative; }
.viz__svg { display: block; overflow: visible; touch-action: pan-y; }
.viz__svg:focus-visible { outline: 2px solid var(--green); outline-offset: 4px; border-radius: 4px; }
.viz__svg text { font-family: var(--sans); }
.viz__grid { stroke: #EEEAE1; stroke-width: 1; }
.viz__tick { fill: var(--ink-3); font-size: 11px; font-variant-numeric: tabular-nums; }
.viz__note { fill: var(--ink-3); font-size: 11px; }
.viz__label { fill: var(--ink); font-size: 12px; font-weight: 600; }
.viz__label--sm { font-size: 11px; fill: var(--ink-2); }
.viz__band { fill: var(--ink); opacity: .08; }
.viz__ref { stroke: var(--ink-3); stroke-width: 1.5; stroke-dasharray: 5 4; }
.viz__line { fill: none; stroke: var(--ink); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.viz__dot { fill: var(--ink); stroke: var(--card); stroke-width: 2; }
.viz__cross line { stroke: var(--ink-3); stroke-width: 1; }
.viz__fair { fill: none; stroke: var(--green); stroke-width: 2; }
.viz__cheap { fill: var(--green); opacity: .08; }
.viz__hit { fill: transparent; cursor: pointer; outline: none; }
.viz__hit:hover, .viz__hit:focus-visible { fill: rgba(14, 26, 43, .1); }

.viz__tip {
  position: absolute;
  z-index: 2;
  min-width: 140px;
  padding: 8px 11px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  box-shadow: var(--shadow);
  font-size: .78rem;
  line-height: 1.5;
  pointer-events: none;
}
.tip__title { color: #A9B4C6; font-size: .75rem; margin-bottom: 2px; }
.tip__row { display: flex; align-items: center; gap: 7px; white-space: nowrap; }
.tip__row strong { font-weight: 600; font-variant-numeric: tabular-nums; }
.tip__row span { color: #A9B4C6; }
.viz__tip .key--line, .viz__tip .key--dot { background: #fff; }
.viz__tip .key--band { background: rgba(255, 255, 255, .35); }
.viz__tip .key--tick { background: #A9B4C6; }
.viz__tip .key--fair { background: var(--mint); }

/* Sector range rows */
.sx { --label: 140px; }
.sx__row {
  display: grid;
  grid-template-columns: var(--label) 1fr 44px;
  align-items: center;
  gap: 10px;
  height: 28px;
  padding: 0 4px;
  border-radius: 6px;
  outline: none;
}
.sx__row:hover, .sx__row:focus-visible { background: var(--paper); }
.sx__name { font-size: .82rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sx__track {
  position: relative;
  height: 100%;
  background-image: linear-gradient(to right, #EEEAE1 1px, transparent 1px);
  background-size: var(--grid) 100%;
}
.sx__range { position: absolute; top: 50%; height: 8px; margin-top: -4px; border-radius: 4px; background: #CFE4D8; }
.sx__mid { position: absolute; top: 50%; width: 2px; height: 14px; margin: -7px 0 0 -1px; background: var(--ink-3); }
.sx__dot {
  position: absolute;
  top: 50%;
  width: 10px;
  height: 10px;
  margin: -5px 0 0 -5px;
  border-radius: 50%;
  background: var(--ink);
  box-shadow: 0 0 0 2px var(--card);
}
.sx__val { font-size: .8rem; font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.sx__axis { position: relative; height: 22px; margin: 4px 58px 0 calc(var(--label) + 14px); color: var(--ink-3); font-size: 11px; }
.sx__axis span { position: absolute; top: 4px; transform: translateX(-50%); }

.viz__table { margin-top: 14px; font-size: .8rem; }
.viz__table summary { cursor: pointer; color: var(--ink-2); font-weight: 500; width: fit-content; }
.viz__table .tbl { max-height: 260px; overflow: auto; margin-top: 8px; }
.viz__table table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.viz__table th, .viz__table td { padding: 5px 8px; text-align: right; border-bottom: 1px solid #EEEAE1; white-space: nowrap; }
.viz__table th:first-child, .viz__table td:first-child { text-align: left; }
.viz__table th { position: sticky; top: 0; background: var(--card); color: var(--ink-3); font-weight: 500; }
.viz__source { margin-top: 18px; color: var(--ink-3); font-size: .8rem; }

/* Portfolio construction */
.am-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 20px; }
.am { display: flex; flex-direction: column; gap: 10px; padding: 24px; }
.am__top { display: flex; align-items: center; gap: 10px; }
.am p { color: var(--ink-2); font-size: .92rem; }
.am__num {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-size: .8rem;
  font-weight: 700;
}
.am__num--sm { width: 20px; height: 20px; font-size: .68rem; }
.am__formula {
  display: block;
  margin-top: auto;
  padding: 8px 12px;
  border-radius: 8px;
  background: var(--paper);
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
  font-size: .82rem;
}
.am .am__needs { color: var(--ink-3); font-size: .8rem; }

.al__row {
  display: grid;
  grid-template-columns: 180px 1fr 70px 80px 56px;
  align-items: center;
  gap: 12px;
  height: 46px;
  padding: 0 8px;
  border-radius: 8px;
  outline: none;
}
.al__row:not(.al__row--head):hover, .al__row:focus-visible { background: var(--paper); }
.al__row--head { height: 26px; color: var(--ink-3); font-size: .75rem; }
.al__row--head span:nth-child(n+3), .al__stat { text-align: right; }
.al__name { display: flex; align-items: center; gap: 8px; font-size: .88rem; font-weight: 500; white-space: nowrap; }
.al__bar { display: flex; gap: 2px; height: 24px; border-radius: 4px; overflow: hidden; }
.al__seg { display: grid; place-items: center; min-width: 0; flex-basis: 0; font-size: .72rem; font-weight: 600; white-space: nowrap; }
.al__stat { font-size: .85rem; font-variant-numeric: tabular-nums; }
.key--box { width: 12px; height: 12px; border-radius: 3px; }
.key--num {
  display: inline-grid;
  place-items: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-size: 9px;
  font-style: normal;
  font-weight: 700;
}
.key--ring {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: conic-gradient(#2a78d6 0 33%, #eb6834 0 66%, #1baf7a 0);
}
.pf__num circle { fill: var(--ink); stroke: var(--card); stroke-width: 2; }
.pf__num text { fill: #fff; font-size: 10px; font-weight: 700; }
.pf__stock { stroke: var(--card); stroke-width: 2; }

/* Calculator */
.calc { display: grid; grid-template-columns: .9fr 1.1fr; gap: 24px; align-items: start; }
.calc__inputs, .calc__result { padding: 28px; }
.field { margin-bottom: 24px; }
.field-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { display: block; font-size: .925rem; font-weight: 500; margin-bottom: 8px; }
.field__row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.field__row output { font-weight: 600; }
.unit { color: var(--ink-3); font-weight: 400; font-size: .8rem; }
.field input[type="number"],
.field input[type="text"],
.field select,
.field textarea {
  width: 100%;
  padding: .7rem .9rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-size: 1.05rem;
  font-variant-numeric: tabular-nums;
}
.field input[type="range"] { width: 100%; margin: 0; accent-color: var(--green); }

.big {
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  font-weight: 700;
  letter-spacing: -.025em;
  line-height: 1.1;
  margin-top: 4px;
}
.big small { font-size: 1rem; font-weight: 500; color: var(--ink-3); letter-spacing: 0; }
.verdict {
  display: inline-block;
  margin-top: 12px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: .85rem;
  font-weight: 600;
}
.verdict:empty { display: none; }
.verdict.is-under { background: var(--green-soft); color: var(--green); }
.verdict.is-near { background: var(--amber-soft); color: var(--amber); }
.verdict.is-over { background: var(--red-soft); color: var(--red); }

.gauge { position: relative; height: 66px; margin: 20px 0 8px; }
.gauge__track, .gauge__fill { position: absolute; top: 30px; height: 6px; border-radius: 3px; }
.gauge__track { left: 0; right: 0; background: var(--paper-2); }
.gauge__fill.is-under { background: var(--green); }
.gauge__fill.is-over { background: var(--red); }
.gauge__mark { position: absolute; top: 22px; width: 2px; height: 22px; margin-left: -1px; background: var(--ink); }
.gauge__mark span {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-size: .75rem;
  font-weight: 600;
  white-space: nowrap;
}
.gauge__mark--price span { bottom: 26px; color: var(--ink-2); }
.gauge__mark--value span { top: 26px; color: var(--ink); }

.breakdown {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 24px;
  padding: 20px 0;
  border-block: 1px solid var(--line);
}
.breakdown dt { color: var(--ink-3); font-size: .8rem; }
.breakdown dd { font-size: 1.1rem; font-weight: 600; }

.sens__title { margin: 22px 0 10px; font-size: .95rem; }
.sens__title .muted { font-weight: 400; font-size: .85rem; }
.sens__wrap { overflow-x: auto; }
.sens { width: 100%; border-collapse: separate; border-spacing: 3px; font-size: .85rem; }
.sens th { color: var(--ink-3); font-weight: 500; font-size: .78rem; padding: 4px; }
.sens td { text-align: center; padding: 8px 4px; border-radius: 6px; }
.sens .s-hi { background: var(--green); color: #fff; }
.sens .s-mid { background: var(--green-soft); color: var(--green); }
.sens .s-near { background: var(--amber-soft); color: var(--amber); }
.sens .s-lo { background: var(--red-soft); color: var(--red); }
.sens .s-na { color: var(--ink-3); }
.sens .is-base { outline: 2px solid var(--ink); outline-offset: -2px; font-weight: 700; }
.calc__result > .fineprint { margin-top: 8px; font-size: .78rem; }

/* Process */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.steps li { border-top: 2px solid var(--ink); padding-top: 20px; }
.step__num { display: block; font-family: var(--serif); font-style: italic; font-size: 1.5rem; color: var(--green); margin-bottom: 8px; }
.steps p { margin-top: 8px; color: var(--ink-2); font-size: .95rem; }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 32px 28px; }
.plan__price { font-family: var(--serif); font-size: 2.3rem; font-weight: 500; margin-top: 10px; letter-spacing: -.01em; }
.plan__price span { font-family: var(--sans); font-size: .9rem; color: var(--ink-3); }
.plan__for { color: var(--ink-3); font-size: .9rem; }
.plan ul { list-style: none; margin: 24px 0 28px; padding: 0; display: grid; gap: 10px; }
.plan li { position: relative; padding-left: 26px; font-size: .95rem; }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 700; }
.plan .btn { margin-top: auto; }
.plan--featured { background: var(--ink); border-color: var(--ink); color: #fff; }
.plan--featured .plan__for, .plan--featured .plan__price span { color: #A9B4C6; }
.plan--featured li::before { color: var(--mint); }
.plan--featured .btn--primary { background: #fff; color: var(--ink); }
.plan--featured .btn--primary:hover { background: var(--paper-2); }
.plan__badge {
  position: absolute;
  top: -12px;
  left: 28px;
  background: var(--mint);
  color: var(--ink);
  border-radius: 999px;
  padding: 3px 12px;
  font-size: .75rem;
  font-weight: 700;
}

/* FAQ */
.faq { display: grid; grid-template-columns: 1fr 1.6fr; gap: 48px; }
.faq__list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  cursor: pointer;
  list-style: none;
  font-weight: 600;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--green); font-size: 1.3rem; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 20px; color: var(--ink-2); max-width: 46em; }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
.contact__info .lead { margin-top: 18px; }
.contact__card { display: flex; align-items: flex-start; gap: 16px; margin-top: 32px; padding: 22px 24px; }
.contact__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--green-soft);
  color: var(--green);
}
.contact__label { color: var(--ink-3); font-size: .8rem; }
.contact__email { font-size: 1.15rem; font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.contact__email:hover { color: var(--green); }
.contact__hint { margin-top: 2px; color: var(--ink-2); font-size: .875rem; }
.contact__faq { margin-top: 20px; color: var(--ink-2); font-size: .925rem; }
.contact__faq a { color: var(--green); font-weight: 600; }
.contact__form { padding: 28px; }
.contact__form .field { margin-bottom: 18px; }
.contact__form textarea { resize: vertical; min-height: 130px; }
.contact__form .btn { width: 100%; margin-top: 4px; }
.contact__form .fineprint { margin-top: 12px; text-align: center; }

/* CTA */
.cta { background: var(--ink); color: #fff; padding: 88px 0; }
.cta__inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
.cta p { color: #A9B4C6; margin-top: 14px; font-size: 1.05rem; }
.signup { display: flex; flex-wrap: wrap; gap: 10px; }
.signup input {
  flex: 1 1 220px;
  padding: .85rem 1.1rem;
  border: 1px solid #33445E;
  border-radius: 999px;
  background: #16243A;
  color: #fff;
  font: inherit;
}
.signup input::placeholder { color: #7D8AA0; }
.signup__msg { flex-basis: 100%; min-height: 1.6em; color: var(--mint); font-size: .9rem; }
.signup__legal { flex-basis: 100%; color: #7D8AA0; font-size: .8rem; }
.signup__legal a { color: #A9B4C6; }

/* Footer */
.footer { padding: 40px 0 48px; color: var(--ink-2); font-size: .85rem; }
.footer__inner { display: grid; grid-template-columns: 1fr 2fr; gap: 32px; }
.footer__brand p { margin-top: 4px; color: var(--ink-3); }
.footer__email { display: block; margin-top: 6px; color: var(--ink); font-weight: 500; text-decoration: none; }
.footer__email:hover { color: var(--green); }
.footer__links { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 8px; }
.footer__links a { color: var(--ink-2); text-decoration: none; }
.footer__links a:hover, .footer__links a[aria-current="page"] { color: var(--green); }

/* Legal pages */
.nav__back { margin-left: auto; }
.legal { padding: 72px 0 104px; }
.legal__head { max-width: 720px; margin-bottom: 48px; }
.legal__head h1 { font-size: clamp(2.3rem, 4.6vw, 3.3rem); }
.legal__meta { margin-top: 14px; color: var(--ink-3); font-size: .9rem; }
.legal__grid { display: grid; grid-template-columns: 220px minmax(0, 720px); gap: 64px; align-items: start; }
.legal__toc { position: sticky; top: 96px; font-size: .875rem; }
.legal__toc p {
  margin-bottom: 12px;
  color: var(--ink-3);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.legal__toc ol { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; }
.legal__toc a { color: var(--ink-2); text-decoration: none; }
.legal__toc a:hover { color: var(--green); }
.legal__body h2 {
  margin: 44px 0 12px;
  font-size: 1.55rem;
  scroll-margin-top: 92px;
}
.legal__body p, .legal__body li { color: var(--ink-2); }
.legal__body p + p { margin-top: 12px; }
.legal__body strong { color: var(--ink); font-weight: 600; }
.legal__body ul { display: grid; gap: 8px; margin: 12px 0; padding-left: 20px; }
.legal__body a { color: var(--green); }
.legal__callout {
  padding: 18px 22px;
  border-left: 3px solid var(--green);
  border-radius: 0 10px 10px 0;
  background: var(--card);
  box-shadow: var(--shadow);
  color: var(--ink-2);
}
@media (max-width: 860px) {
  .legal { padding-top: 48px; }
  .legal__grid { grid-template-columns: 1fr; gap: 32px; }
  .legal__toc { position: static; }
  .legal__toc ol { grid-template-columns: 1fr 1fr; }
}
.disclaimer { color: var(--ink-3); }

/* Responsive */
@media (max-width: 1080px) {
  .viz-grid { grid-template-columns: 1fr; }
}
@media (max-width: 960px) {
  .hero__grid, .calc, .cta__inner, .faq, .contact { grid-template-columns: 1fr; }
  .contact { gap: 40px; }
  .hero { padding-top: 56px; }
  .hero__grid, .faq { gap: 40px; }
  .methods, .plans { grid-template-columns: 1fr; }
  .am-grid { grid-template-columns: 1fr 1fr; }
  .plans { max-width: 480px; margin-inline: auto; gap: 28px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .faq .section__head { margin-bottom: 0; }
}
@media (max-width: 600px) {
  .section { padding: 72px 0; }
  .principles__grid, .steps, .footer__inner, .stats, .am-grid { grid-template-columns: 1fr; }
  .al__row { grid-template-columns: 1fr; gap: 6px; height: auto; padding: 8px 6px; }
  .al__row--head, .al__stat { display: none; }
  .stat__value { font-size: 2.1rem; }
  .viz { padding: 20px 14px; }
  .sx { --label: 116px; }
  .contact__card { padding: 18px; gap: 14px; }
  .contact__email { font-size: 1rem; }
  .contact__form { padding: 22px 18px; }
  .principles__grid { gap: 16px; }
  .hero__stats dd { font-size: 1.1rem; }
  .ff { --label: 92px; padding: 20px 16px; }
  .ff__bar span { display: none; }
  .ff__label { font-size: .8rem; }
  .calc__inputs, .calc__result { padding: 22px 18px; }
  .field-pair { grid-template-columns: 1fr; gap: 0; }
}
