/* PropSweep marketing site — shared stylesheet.
   Tokens and components follow the design handoff (Forest + mint brand). */

:root {
  --bg: #f6f7f5;
  --surface: #ffffff;
  --surface-2: #edf1ee;
  --ink: #0f2a1f;
  --muted: #4a5d53;
  --line: #dde4df;
  --link: #23724a;
  --btn: #0b2219;
  --btn-ink: #f4f8f5;
  --tint: #dff3e5;
  --tint-ink: #185c3a;
  --no: #a1372f;
  --logo-text: #0b2219;
  --logo-track: #d4ddd7;
  --logo-fill: #2f8f5b;
  color-scheme: light;
}
[data-theme="dark"] {
  --bg: #0d1512;
  --surface: #131d19;
  --surface-2: #18241f;
  --ink: #e6eee9;
  --muted: #9fb3a8;
  --line: #24332c;
  --link: #a6e6b8;
  --btn: #a6e6b8;
  --btn-ink: #0b2219;
  --tint: #173326;
  --tint-ink: #a6e6b8;
  --no: #f0a29a;
  --logo-text: #f4f8f5;
  --logo-track: #2c4d3e;
  --logo-fill: #a6e6b8;
  color-scheme: dark;
}

/* Fixed brand colours (same in both themes) */
:root {
  --forest: #0b2219;
  --forest-line: #1c3a2d;
  --forest-ctl: #2c4d3e;
  --forest-text: #f4f8f5;
  --forest-body: #b9cbc0;
  --forest-small: #8fa699;
  --forest-nav: #a9bdb1;
  --forest-label: #7f978a;
  --mint: #a6e6b8;
  --serif: 'Literata', Georgia, serif;
  --sans: 'Hanken Grotesk', system-ui, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;
  --container: 1280px;
  --gutter: clamp(20px, 4vw, 48px);
  --shadow: 0 24px 48px -24px rgba(11, 34, 25, .35);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
[id] { scroll-margin-top: 96px; }
@media (max-width: 720px) { html { scroll-padding-top: 120px; } [id] { scroll-margin-top: 120px; } }
body {
  overflow-x: hidden;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--link); text-decoration: none; }
a:hover, button:hover { opacity: .85; }
:focus-visible { outline: 2px solid var(--link); outline-offset: 2px; border-radius: 2px; }
.forest :focus-visible, .hero :focus-visible { outline-color: var(--mint); }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
strong { font-weight: 600; color: var(--ink); }
code {
  font-family: var(--mono);
  font-size: .86em;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 1px 6px;
  color: var(--ink);
}
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Layout ---------- */
.container { max-width: var(--container); margin: 0 auto; padding-inline: var(--gutter); }
.forest, .hero { background: var(--forest); color: var(--forest-text); }
.forest a, .hero a { color: var(--forest-text); }
.forest .lead, .forest p, .hero .lead, .hero p { color: var(--forest-body); }
.forest .small, .hero .small { color: var(--forest-small); }
.forest strong, .hero strong { color: var(--forest-text); }
.forest .muted, .hero .muted { color: var(--forest-body); }

.section { padding-block: 96px; }
.section--tight { padding-block: 80px; }
.section--surface { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--surface-2 { background: var(--surface-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stack { display: flex; flex-direction: column; }
.stack > * + * { margin-top: var(--gap, 14px); }

.grid { display: grid; gap: 24px; }
.grid--240 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.grid--260 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.grid--280 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.grid--300 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.grid--340 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.grid--360 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); }
.grid--380 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); }
.grid--420 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.grid--440 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); }

/* Section intro: eyebrow + H2 on the left, text on the right */
.intro { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 24px 64px; align-items: end; }
.intro p { font-size: 17px; line-height: 1.65; color: var(--muted); }

/* Two-column: sticky heading column + content */
.two-col { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: 48px 80px; align-items: start; }
.two-col__sticky { position: sticky; top: 120px; }

/* ---------- Type ---------- */
.eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--link); }
.forest .eyebrow, .hero .eyebrow { color: var(--mint); }
.h1 { font-family: var(--serif); font-size: clamp(38px, 5.4vw, 64px); font-weight: 400; line-height: 1.05; letter-spacing: -.03em; text-wrap: balance; }
.h1--home { font-size: clamp(40px, 6vw, 70px); }
.h2 { font-family: var(--serif); font-size: clamp(32px, 4vw, 46px); font-weight: 400; line-height: 1.1; letter-spacing: -.02em; }
.h2--sm { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.15; }
.h2--xs { font-size: clamp(26px, 3vw, 34px); line-height: 1.2; }
.h2--doc { font-size: 32px; line-height: 1.15; }
.h3 { font-size: 18px; font-weight: 600; line-height: 1.35; }
.h3--lg { font-size: 20px; }
.h3--sm { font-size: 17px; }
.lead { font-size: 18px; line-height: 1.6; color: var(--muted); text-wrap: pretty; }
.body { font-size: 16px; line-height: 1.7; color: var(--muted); }
.muted { color: var(--muted); }
.small { font-size: 13px; line-height: 1.5; color: var(--muted); }
.serif { font-family: var(--serif); font-weight: 400; }
.arrow-link { font-size: 15px; font-weight: 600; }
.arrow-link--sm { font-size: 14px; }
.prose a, .inline-link { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 600; font-size: 15px; line-height: 1.2;
  padding: 14px 24px; border-radius: 6px; text-decoration: none; white-space: nowrap;
  border: 1px solid transparent; transition: opacity .15s;
}
.btn--mint { background: var(--mint); color: var(--forest) !important; }
.btn--outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--solid { background: var(--btn); color: var(--btn-ink); }
.btn--nav { font-size: 14px; padding: 10px 18px; }
.btn--block { display: flex; width: 100%; }

/* ---------- Logo ---------- */
.logo {
  font-family: var(--serif); font-weight: 500; font-size: 22px; letter-spacing: -.01em;
  color: var(--forest-text); text-decoration: none; display: inline-flex; align-items: baseline; line-height: 1;
}
.logo svg { width: .6em; height: .6em; margin: 0 1px; position: relative; top: 1px; flex-shrink: 0; }
.logo--24 { font-size: 24px; }
.logo--light { color: var(--logo-text); }
.logo--light .ring-track { stroke: var(--logo-track); }
.logo--light .ring-fill { stroke: var(--logo-fill); }

/* ---------- Header / nav ---------- */
.site-header {
  background: var(--forest); color: #d9e6de;
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid var(--forest-line);
}
.announce {
  font-size: 13px; padding: 9px var(--gutter);
  display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 12px;
  border-bottom: 1px solid var(--forest-line); text-align: center; color: #d9e6de;
}
.announce__tag { color: var(--mint); }
.announce a { color: var(--forest-text); text-decoration: underline; text-underline-offset: 3px; }
.nav {
  max-width: var(--container); margin: 0 auto; padding: 16px var(--gutter);
  display: flex; align-items: center; flex-wrap: wrap; gap: 12px 36px;
}
.nav__links { display: flex; flex-wrap: wrap; gap: 6px 26px; font-size: 14px; }
.nav__links a { color: var(--forest-nav); padding: 4px 0; border-bottom: 2px solid transparent; }
.nav__links a[aria-current="page"] { color: var(--forest-text); border-bottom-color: var(--mint); }
.nav__right { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.theme-toggle {
  width: 36px; height: 36px; border: 1px solid var(--forest-ctl); border-radius: 50%;
  color: #d9e6de; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.nav__menu { display: none; width: 36px; height: 36px; border: 1px solid var(--forest-ctl); border-radius: 6px; color: #d9e6de; align-items: center; justify-content: center; }
@media (max-width: 720px) {
  .nav { gap: 12px 16px; }
  .nav__menu { display: inline-flex; }
  .nav__links { display: none; width: 100%; flex-direction: column; gap: 4px; padding: 8px 0 4px; border-top: 1px solid var(--forest-line); font-size: 15px; }
  .nav__links a { padding: 10px 0; border-bottom: 0; }
  .nav__links a[aria-current="page"] { color: var(--forest-text); }
  .nav--open .nav__links { display: flex; }
  .nav .btn--nav { padding: 10px 14px; }
}
@media (max-width: 420px) {
  .nav .btn--nav { display: none; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--forest); color: var(--forest-body); font-size: 14px; }
.footer__grid {
  max-width: var(--container); margin: 0 auto; padding: 56px var(--gutter) 32px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 40px;
}
.footer__brand { display: flex; flex-direction: column; gap: 14px; min-width: 220px; }
.footer__brand p { line-height: 1.6; max-width: 260px; color: var(--forest-body); }
.footer__brand a { color: var(--mint); }
.footer__col { display: flex; flex-direction: column; gap: 10px; }
.footer__label { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--forest-label); margin-bottom: 4px; }
.footer__col a { color: #d9e6de; }
.footer__bottom {
  max-width: var(--container); margin: 0 auto; padding: 20px var(--gutter) 32px;
  border-top: 1px solid var(--forest-line);
  display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between;
  font-size: 13px; color: var(--forest-small);
}

/* ---------- Hero ---------- */
.hero { background: var(--forest); color: var(--forest-text); }
.hero__inner { padding-top: 72px; padding-bottom: 64px; display: flex; flex-direction: column; gap: 18px; }
.hero__inner .h1 { max-width: 960px; }
.hero__inner .lead { max-width: 680px; }
.hero--overlap .hero__inner { padding-bottom: 160px; }
.hero--row .hero__inner { flex-direction: row; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 32px; }
.hero--row .hero__text { display: flex; flex-direction: column; gap: 18px; max-width: 760px; }

/* Home hero: two columns, aligned to the bottom */
.hero--home .hero__grid {
  padding: clamp(56px, 8vw, 96px) var(--gutter) 176px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr));
  gap: 48px 64px; align-items: end;
}
.hero__left { display: flex; flex-direction: column; gap: 20px; }
.hero__right { display: flex; flex-direction: column; gap: 24px; padding-bottom: 8px; }
.pill {
  align-self: flex-start; display: inline-flex; gap: 8px; align-items: center;
  color: #d9e6de; font-size: 13px; border: 1px solid var(--forest-ctl); border-radius: 100px; padding: 6px 14px;
}
.pill__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); display: block; }
.cta-row { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.cta-row .text-link { font-weight: 500; font-size: 15px; color: var(--forest-text); text-decoration: underline; text-underline-offset: 4px; }

/* Hero summary row (Security) */
.summary { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 0; padding-bottom: 64px; }
.summary__item { border-top: 1px solid var(--forest-line); padding: 24px 24px 24px 0; display: flex; flex-direction: column; gap: 6px; }
.summary__item .k { font-family: var(--serif); font-size: 21px; color: var(--forest-text); }
.summary__item .v { font-size: 14px; line-height: 1.55; color: var(--forest-body); }

/* ---------- Product screenshot ---------- */
.shot { margin-top: -120px; }
.shot__card { min-width: 0; background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; box-shadow: var(--shadow); }
.shot__bar {
  font-family: var(--mono); font-size: 11px; letter-spacing: .04em; color: #5a6b64;
  padding: 9px 18px; border-bottom: 1px solid #e1e8e4; background: #f8faf9;
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}

/* ---------- Scanner preview (always light; mimics the HubSpot UI) ---------- */
.scanner {
  font-family: 'Lexend Deca', var(--sans); font-weight: 300; font-size: 14px; line-height: 1.5;
  color: #33475b; background: #fff; padding: 24px; display: flex; flex-direction: column; gap: 16px;
}
.scanner__title { font-size: 22px; font-weight: 500; line-height: 1.3; }
.scanner__alert { background: #e5f5f8; border: 1px solid #7fd1de; border-radius: 3px; padding: 12px 16px; display: flex; gap: 10px; align-items: center; }
.scanner__alert i {
  width: 18px; height: 18px; border-radius: 50%; background: #00a4bd; color: #fff; font: 600 11px/1 var(--sans);
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; font-style: normal;
}
.scanner__stats { font-weight: 600; }
.scanner__controls { display: flex; gap: 16px; align-items: flex-end; flex-wrap: wrap; }
.scanner__field { display: flex; flex-direction: column; gap: 4px; }
.scanner__field label { font-size: 14px; font-weight: 500; }
.scanner__select {
  border: 1px solid #cbd6e2; background: #f5f8fa; border-radius: 3px; padding: 8px 12px; min-width: 180px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.scanner__select span:last-child { font-size: 10px; color: #516f90; }
.scanner__export { margin-left: auto; color: #0091ae; font-weight: 500; }
.scanner__table { border: 1px solid #cbd6e2; border-radius: 3px; overflow-x: auto; min-width: 0; max-width: 100%; }
.scanner__table table { border-collapse: collapse; width: 100%; min-width: 760px; }
.scanner__table th {
  text-align: left; background: #f5f8fa; border-bottom: 1px solid #cbd6e2; padding: 10px 14px;
  font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .02em;
}
.scanner__table td { padding: 10px 14px; border-bottom: 1px solid #eaf0f6; vertical-align: middle; }
.scanner__table tr:last-child td { border-bottom: 0; }
.tag { display: inline-block; font-size: 12px; font-weight: 500; padding: 1px 8px; border-radius: 3px; border: 1px solid #cbd6e2; background: #f5f8fa; color: #33475b; }
.tag--0 { background: #fde8e9; border-color: #f2545b; }
.tag--low { background: #fef8f0; border-color: #f5c26b; }
.tag--ok { background: #e5f8f6; border-color: #00bda5; }
.scanner__run { display: flex; }
.scanner__run span { background: #ff7a59; color: #fff; font-weight: 500; border-radius: 3px; padding: 10px 24px; font-size: 14px; }

/* ---------- Home sections ---------- */
.pillars { padding-block: 64px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 32px 48px; }
.pillar { display: flex; flex-direction: column; gap: 8px; border-top: 1px solid var(--line); padding-top: 20px; }
.pillar .k { font-family: var(--serif); font-size: 22px; }
.pillar .v { font-size: 15px; line-height: 1.6; color: var(--muted); }
.pillar a { font-size: 14px; font-weight: 600; margin-top: 4px; }

.cells { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.cell { background: var(--surface); padding: 32px; display: flex; flex-direction: column; gap: 12px; }
.cell .num { font-family: var(--serif); font-size: 40px; color: var(--link); line-height: 1; }
.cell p { font-size: 15px; line-height: 1.6; color: var(--muted); }

.steps { display: flex; flex-direction: column; }
.step { display: grid; grid-template-columns: 64px 1fr; gap: 20px; padding: 28px 0; border-top: 1px solid var(--line); }
.step .num { font-family: var(--mono); font-size: 14px; color: var(--muted); padding-top: 4px; }
.step p { font-size: 16px; line-height: 1.65; color: var(--muted); margin-top: 8px; }

.coverage__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px; }
.coverage__note { font-size: 14px; color: var(--muted); max-width: 420px; line-height: 1.55; }
.chips { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.chip { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 16px 18px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.chip span:first-child { font-size: 15px; font-weight: 500; }
.tier { font-family: var(--mono); font-size: 11px; letter-spacing: .04em; padding: 2px 8px; border-radius: 100px; background: var(--tint); color: var(--tint-ink); white-space: nowrap; }

/* Comparison tables */
.table-wrap { overflow-x: auto; min-width: 0; max-width: 100%; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.cmp { width: 100%; border-collapse: collapse; font-size: 15px; }
.cmp--3 { min-width: 680px; }
.cmp--5 { min-width: 920px; font-size: 14px; line-height: 1.5; }
.cmp th { text-align: left; font-size: 13px; font-weight: 600; padding: 14px 20px; border-bottom: 1px solid var(--line); }
.cmp td { padding: 14px 20px; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--muted); }
.cmp--5 th, .cmp--5 td { padding: 13px 18px; }
.cmp tr:last-child td { border-bottom: 0; }
.cmp td:first-child { font-weight: 500; color: var(--ink); }
.cmp .hl { background: var(--tint); }
.cmp th.hl { color: var(--tint-ink); }
.cmp td.hl { color: var(--ink); font-weight: 600; }
.yes { color: var(--link); }
.no { color: var(--no); }
.cmp td.hl.yes { color: var(--link); }
.cmp td.hl.no { color: var(--no); }
.cmp td.plain { font-weight: 400; color: var(--muted); }

/* Pricing teaser (home) */
.teaser { display: flex; flex-wrap: wrap; gap: 40px 48px; align-items: stretch; }
.teaser__intro { flex: 1 1 300px; display: flex; flex-direction: column; gap: 14px; }
.teaser__intro p { font-size: 16px; line-height: 1.65; color: var(--muted); }
.teaser__cards { flex: 2 1 600px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 24px; }
.plan { border: 1px solid var(--line); border-radius: 10px; padding: 32px; display: flex; flex-direction: column; gap: 16px; background: var(--bg); }
.plan--forest { background: var(--forest); color: var(--forest-text); border-color: var(--forest); }
.plan__head { display: flex; justify-content: space-between; align-items: center; font-size: 15px; font-weight: 600; }
.plan__badge { font-family: var(--mono); font-size: 11px; background: var(--forest-line); color: var(--mint); padding: 3px 10px; border-radius: 100px; font-weight: 400; }
.plan__price { font-family: var(--serif); font-size: 48px; line-height: 1; }
.plan__desc { font-size: 15px; line-height: 1.6; color: var(--muted); }
.plan--forest .plan__desc { color: var(--forest-body); }
.plan .btn { margin-top: auto; }

/* Changelog */
.roadmap { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; border: 1px solid var(--line); border-radius: 10px; padding: 24px; background: var(--surface); }
.roadmap__label { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; color: var(--muted); }
.roadmap__item { display: flex; gap: 12px; align-items: baseline; font-size: 15px; line-height: 1.5; }
.roadmap__item::before { content: ""; width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid var(--link); flex-shrink: 0; position: relative; top: -1px; }
.log { display: flex; flex-direction: column; }
.log__entry { display: grid; grid-template-columns: 110px 1fr; gap: 20px; padding: 20px 0; border-top: 1px solid var(--line); }
.log__date { font-family: var(--mono); font-size: 13px; color: var(--muted); padding-top: 2px; }
.log__title { font-size: 16px; font-weight: 600; }
.log__body { font-size: 15px; line-height: 1.55; color: var(--muted); margin-top: 4px; }
@media (max-width: 480px) { .log__entry { grid-template-columns: 1fr; gap: 6px; } .step { grid-template-columns: 40px 1fr; } }

/* FAQ */
.faq details { border-top: 1px solid var(--line); padding: 20px 0; }
.faq summary { font-size: 17px; font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: baseline; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--mono); color: var(--muted); font-weight: 400; flex-shrink: 0; }
.faq details[open] summary::after { content: "−"; }
.faq details p { font-size: 15px; line-height: 1.7; color: var(--muted); margin-top: 10px; }

/* CTA bands */
.cta-end { padding-block: 96px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 32px; }
.cta-end__text { display: flex; flex-direction: column; gap: 14px; max-width: 640px; }
.cta-end__text p { font-size: 17px; line-height: 1.6; }
.cta-end__action { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.cta-band { background: var(--forest); color: var(--forest-text); border-radius: 12px; padding: 36px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; }
.cta-band__text { display: flex; flex-direction: column; gap: 8px; max-width: 640px; }
.cta-band__text .t { font-family: var(--serif); font-size: 28px; line-height: 1.2; }
.cta-band__text p { font-size: 15px; line-height: 1.6; color: var(--forest-body); }

/* ---------- Pricing page ---------- */
.plans { margin-top: -112px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 24px; }
.plan--lg { padding: 40px; border-radius: 12px; gap: 20px; background: var(--surface); box-shadow: 0 24px 48px -28px rgba(11, 34, 25, .3); }
.plan--lg.plan--forest { background: var(--forest); border-color: var(--forest-ctl); box-shadow: 0 24px 48px -28px rgba(11, 34, 25, .5); }
.plan--lg .plan__head { font-size: 16px; }
.plan__amount { display: flex; align-items: baseline; gap: 10px; }
.plan__amount .plan__price { font-size: 64px; }
.plan__amount span:last-child { font-size: 15px; color: var(--muted); }
.plan--forest .plan__amount span:last-child { color: var(--forest-body); }
.checks { display: flex; flex-direction: column; gap: 10px; border-top: 1px solid var(--line); padding-top: 20px; }
.plan--forest .checks { border-top-color: var(--forest-ctl); }
.checks li { display: flex; gap: 12px; font-size: 15px; line-height: 1.5; list-style: none; }
.checks li::before { content: "✓"; color: var(--link); font-weight: 700; }
.plan--forest .checks li::before { color: var(--mint); }
.soon { font-family: var(--mono); font-size: 11px; color: var(--muted); margin-left: 6px; letter-spacing: .04em; }
.plan--forest .soon { color: var(--forest-small); }
.qa { border-top: 1px solid var(--line); padding: 22px 0; display: flex; flex-direction: column; gap: 8px; }
.qa p { font-size: 15px; line-height: 1.7; color: var(--muted); }

/* ---------- Doc layout (Security, Setup) ---------- */
.doc { padding: 72px var(--gutter) 96px; display: flex; flex-wrap: wrap; gap: 48px 64px; align-items: flex-start; }
.toc { position: sticky; top: 110px; flex: 1 1 200px; max-width: 260px; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.toc__label { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; color: var(--muted); margin-bottom: 4px; text-transform: uppercase; }
.toc a { color: var(--ink); }
.toc a.is-active { color: var(--link); font-weight: 600; }
.toc--steps { gap: 2px; }
.toc--steps a { display: flex; gap: 12px; padding: 6px 0; }
.toc--steps .n { font-family: var(--mono); color: var(--muted); }
.doc__body { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 72px; }
.doc__body--setup { gap: 64px; }
.doc__section { display: flex; flex-direction: column; gap: 20px; }
.doc__section--setup { gap: 16px; }
.doc__section .h3 { margin-top: 8px; }
.step-label { font-family: var(--mono); font-size: 13px; color: var(--link); letter-spacing: .04em; }
@media (max-width: 900px) { .toc { position: static; max-width: none; flex-basis: 100%; } }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.card--tint { background: var(--tint); border-color: transparent; color: var(--ink); }
.card--pad20 { padding: 20px; }
.card__label { font-size: 13px; font-weight: 600; letter-spacing: .02em; }
.card__label--yes { color: var(--link); }
.card__label--no { color: var(--no); }
.card .def { font-size: 15px; line-height: 1.6; }
.card .def span { color: var(--muted); }
.marks { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.marks li { display: flex; gap: 10px; font-size: 15px; line-height: 1.5; }
.marks--yes li::before { content: "✓"; color: var(--link); }
.marks--no li { color: var(--muted); }
.marks--no li::before { content: "✕"; color: var(--no); }

.scopes { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--surface); }
.scopes__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 4px 20px; padding: 13px 20px; border-bottom: 1px solid var(--line); font-size: 15px; }
.scopes__row:last-child { border-bottom: 0; }
.scopes__row > span:first-child { display: flex; flex-wrap: wrap; gap: 6px; }
.scopes__row > span:last-child { color: var(--muted); }

.flow { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); gap: 12px; }
.flow .card { padding: 20px; gap: 10px; }
.flow .n { font-family: var(--mono); font-size: 12px; color: var(--link); }
.flow .t { font-size: 15px; font-weight: 600; line-height: 1.35; }
.flow .d { font-size: 14px; line-height: 1.55; color: var(--muted); }

.kv { display: flex; flex-direction: column; }
.kv__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 6px 32px; padding: 18px 0; border-top: 1px solid var(--line); }
.kv__row .k { font-size: 16px; font-weight: 600; }
.kv__row .v { font-size: 15px; line-height: 1.6; color: var(--muted); }

.numbered { list-style: none; display: flex; flex-direction: column; }
.numbered li { display: grid; grid-template-columns: 36px 1fr; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); font-size: 16px; line-height: 1.6; }
.numbered li::before {
  counter-increment: numbered; content: counter(numbered);
  width: 26px; height: 26px; border-radius: 50%; background: var(--tint); color: var(--tint-ink);
  font-size: 13px; font-weight: 600; display: flex; align-items: center; justify-content: center;
}
.numbered { counter-reset: numbered; }

.defs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 12px; }
.defs div { border-top: 2px solid var(--link); padding-top: 12px; display: flex; flex-direction: column; gap: 4px; }
.defs .k { font-size: 15px; font-weight: 600; }
.defs .v { font-size: 14px; line-height: 1.55; color: var(--muted); }

.rule-list { display: flex; flex-direction: column; gap: 16px; }
.rule-list > div { border-top: 1px solid var(--line); padding-top: 14px; display: flex; flex-direction: column; gap: 6px; }
.rule-list .k { font-size: 16px; font-weight: 600; }
.rule-list .v { font-size: 15px; line-height: 1.65; color: var(--muted); }

.price-cards .card { gap: 8px; }
.price-cards .l { font-family: var(--mono); font-size: 12px; letter-spacing: .04em; color: var(--link); text-transform: uppercase; }
.price-cards .p { font-family: var(--serif); font-size: 34px; line-height: 1.1; }
.price-cards .n { font-size: 14px; line-height: 1.55; color: var(--muted); }

.disclaimer { font-size: 13px; line-height: 1.6; color: var(--muted); border-top: 1px solid var(--line); padding-top: 20px; }
.disclaimer a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Guides index ---------- */
.feature-card {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 24px 64px; align-items: end;
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: clamp(28px, 4vw, 48px); color: var(--ink);
}
.feature-card .t { font-family: var(--serif); font-size: clamp(28px, 3.6vw, 42px); line-height: 1.12; letter-spacing: -.02em; }
.feature-card .d { font-size: 17px; line-height: 1.6; color: var(--muted); }
.guide-card { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 28px; display: flex; flex-direction: column; gap: 12px; color: var(--ink); }
.guide-card .n { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.guide-card .t { font-family: var(--serif); font-size: 23px; line-height: 1.25; }
.guide-card .d { font-size: 15px; line-height: 1.6; color: var(--muted); }
.guide-card .more { font-size: 14px; font-weight: 600; color: var(--link); margin-top: auto; padding-top: 8px; }
.read-more { font-size: 15px; font-weight: 600; color: var(--link); }

/* ---------- Article (blog posts) ---------- */
.article { max-width: 760px; margin: 0 auto; padding: 0 var(--gutter) 96px; }
.article .breadcrumb { font-size: 13px; color: var(--muted); padding-top: 28px; }
.article .breadcrumb a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.article .page-header { padding: 28px 0 8px; }
.article .article-meta { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--link); margin-bottom: 18px; }
.article .article-meta a { color: var(--link); }
.article .page-header h1 { font-family: var(--serif); font-size: clamp(34px, 5vw, 52px); font-weight: 400; letter-spacing: -.03em; line-height: 1.08; margin-bottom: 18px; text-wrap: balance; }
.article .article-lead { font-size: 18px; color: var(--muted); line-height: 1.65; margin-bottom: 8px; }
.article .answer-box { background: var(--tint); border-radius: 10px; padding: 20px 24px; margin: 24px 0 8px; font-size: 16px; line-height: 1.7; color: var(--ink); }
.article .content-section { padding: 36px 0; border-top: 1px solid var(--line); }
.article .content-section h2 { font-family: var(--serif); font-size: 30px; font-weight: 400; letter-spacing: -.02em; line-height: 1.15; margin-bottom: 18px; }
.article .content-section h3 { font-size: 18px; font-weight: 600; margin: 24px 0 8px; }
.article .content-section p { font-size: 16px; color: var(--muted); line-height: 1.75; margin-bottom: 14px; }
.article .content-section ol, .article .content-section ul { padding-left: 24px; margin-bottom: 16px; }
.article .content-section li { font-size: 16px; color: var(--muted); line-height: 1.75; margin-bottom: 8px; }
.article .content-section a { color: var(--link); text-decoration: underline; text-underline-offset: 3px; }
.article .content-section table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 8px 0 18px; }
.article .content-section th, .article .content-section td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--muted); }
.article .content-section th { color: var(--ink); font-weight: 600; font-size: 13px; }
.article .table-wrap { overflow-x: auto; min-width: 0; max-width: 100%; border: 0; border-radius: 0; background: transparent; }
.article .callout { background: var(--surface-2); border-left: 3px solid var(--link); border-radius: 6px; padding: 16px 20px; margin: 18px 0; font-size: 15px; color: var(--muted); }
.article .cta-block { margin-top: 32px; padding: 32px; background: var(--forest); color: var(--forest-text); border-radius: 12px; text-align: center; }
.article .cta-block h3 { font-family: var(--serif); font-size: 26px; font-weight: 400; margin: 0 0 8px; color: var(--forest-text); line-height: 1.2; }
.article .cta-block p { font-size: 15px; color: var(--forest-body); margin-bottom: 18px; }
.article .cta-block a.button { display: inline-flex; font-size: 15px; font-weight: 600; color: var(--forest); background: var(--mint); padding: 14px 24px; border-radius: 6px; text-decoration: none; }
.article .sources, .article .sources li { font-size: 13px; }
.article .sources li { margin-bottom: 4px; }
.article .author-box { display: flex; gap: 16px; align-items: flex-start; margin-top: 36px; padding: 20px 22px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.article .author-avatar { flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%; background: var(--tint); color: var(--tint-ink); font-weight: 600; font-size: 15px; display: flex; align-items: center; justify-content: center; }
.article .author-box p { font-size: 14px; color: var(--muted); line-height: 1.6; margin: 0; }
.article .author-box .author-name { color: var(--ink); font-weight: 600; font-size: 15px; margin-bottom: 2px; }
.article .related { padding: 28px 0 8px; border-top: 1px solid var(--line); margin-top: 36px; }
.article .related h2 { font-family: var(--serif); font-size: 26px; font-weight: 400; letter-spacing: -.02em; margin-bottom: 14px; }
.article .related ul { list-style: none; padding: 0; }
.article .related li { margin-bottom: 12px; }
.article .related a { color: var(--link); font-weight: 600; }
.article .related span { display: block; font-size: 14px; color: var(--muted); }

/* ---------- 404 ---------- */
.error-page { padding: 120px var(--gutter) 140px; display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
