:root {
  --paper: #f4f1ea;
  --paper-deep: #ebe5da;
  --surface: #fbf9f5;
  --surface-raised: #fffdf8;
  --surface-soft: #f6f2ea;
  --ink: #1d1c18;
  --ink-soft: #37342e;
  --muted: #575249;
  --muted-soft: #665f55;
  --line: #d9d2c6;
  --line-strong: #c5bcad;
  --teal: #0f766e;
  --teal-dark: #0b5c56;
  --teal-deep: #163b37;
  --teal-wash: #e2efeb;
  --teal-wash-soft: #f0f7f4;
  --amber: #975a19;
  --amber-wash: #f6e8d5;
  --red: #a23c2e;
  --red-wash: #f6e3de;
  --blue: #365d76;
  --blue-wash: #e7eef3;
  --shadow: 0 1px 2px rgba(29, 28, 24, 0.04), 0 16px 40px rgba(29, 28, 24, 0.05);
  --mono: "SFMono-Regular", "Cascadia Code", "Roboto Mono", Menlo, Consolas, monospace;
  --sans: "Inter", "Avenir Next", "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background-color: var(--paper);
  background-image:
    linear-gradient(to right, rgba(29, 28, 24, 0.028) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(29, 28, 24, 0.02) 1px, transparent 1px);
  background-size: 96px 96px;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3, h4 { font-weight: 650; letter-spacing: -0.04em; line-height: 1.1; }
a { color: var(--teal-dark); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
img { max-width: 100%; }
code, pre, .mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
::selection { color: var(--ink); background: #cfe4de; }

:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 10px 14px;
  color: #fff;
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
  background: var(--teal-dark);
  border-radius: 5px;
  transform: translateY(-180%);
}
.skip-link:focus { transform: translateY(0); }

.site-shell { display: flex; flex-direction: column; min-height: 100vh; }
.site-main { flex: 1; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(244, 241, 234, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.site-header__inner {
  display: flex;
  gap: 24px;
  align-items: center;
  width: min(1180px, calc(100% - 40px));
  min-height: 70px;
  margin: 0 auto;
}
.site-brand {
  display: flex;
  gap: 10px;
  align-items: center;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}
.site-brand img { border: 1px solid var(--line-strong); border-radius: 5px; }
.site-brand span { display: flex; flex-direction: column; line-height: 1.1; }
.site-brand strong { font-size: 15px; letter-spacing: -0.03em; }
.site-brand small { margin-top: 3px; color: var(--muted); font-size: 9px; letter-spacing: 0.14em; text-transform: uppercase; }
.site-nav { display: flex; gap: 22px; align-items: center; margin-left: auto; }
.site-nav a { color: var(--muted); font-size: 13px; font-weight: 550; text-decoration: none; }
.site-nav a:hover { color: var(--ink); }
.site-header__actions { display: flex; gap: 10px; align-items: center; }
.status-chip {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  padding: 6px 9px;
  color: var(--teal-dark);
  font-size: 10px;
  font-weight: 650;
  white-space: nowrap;
  background: var(--teal-wash-soft);
  border: 1px solid #cde2db;
  border-radius: 999px;
}
.status-chip__dot { width: 5px; height: 5px; background: var(--teal); border-radius: 50%; }
.site-menu { display: none; margin-left: auto; }
.site-menu summary {
  padding: 8px 10px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
}
.site-menu summary::-webkit-details-marker { display: none; }
.site-menu nav {
  position: absolute;
  right: 20px;
  top: 64px;
  display: flex;
  flex-direction: column;
  min-width: 190px;
  padding: 8px;
  background: var(--surface-raised);
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.site-menu nav a { padding: 9px 10px; color: var(--ink); font-size: 13px; text-decoration: none; border-radius: 5px; }
.site-menu nav a:hover { background: var(--surface-soft); }

/* ---------- Buttons ---------- */

.vm-button {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 16px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.1;
  text-decoration: none;
  white-space: nowrap;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}
.vm-button:hover { transform: translateY(-1px); }
.vm-button--primary { color: #fff; background: var(--teal); border-color: var(--teal); box-shadow: 0 1px 0 rgba(11, 92, 86, 0.3); }
.vm-button--primary:hover { color: #fff; background: var(--teal-dark); border-color: var(--teal-dark); }
.vm-button--secondary { color: var(--ink); background: var(--surface-raised); border-color: var(--line-strong); }
.vm-button--secondary:hover { color: var(--ink); background: var(--surface-soft); border-color: var(--ink-soft); }
.vm-button--quiet { color: var(--muted); }
.vm-button--quiet:hover { color: var(--ink); background: var(--surface-soft); }
.vm-button--small { min-height: 34px; padding: 8px 11px; font-size: 11.5px; }
.vm-button--large { min-height: 48px; padding: 13px 20px; font-size: 14px; }
.vm-button:disabled { cursor: wait; opacity: 0.55; transform: none; }

/* ---------- Landing ---------- */

.landing-main { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.eyebrow {
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
}
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(360px, 0.96fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  padding: clamp(48px, 7vw, 88px) 0 clamp(40px, 5vw, 64px);
}
.hero h1 {
  max-width: 720px;
  margin-top: 14px;
  font-size: clamp(2.65rem, 5.2vw, 4.5rem);
  line-height: 0.98;
  text-wrap: balance;
}
.hero__lede {
  max-width: 590px;
  margin-top: 22px;
  color: var(--muted);
  font-size: clamp(16px, 1.7vw, 18px);
  line-height: 1.6;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 28px; }
.hero__micro { margin-top: 12px; color: var(--muted-soft); font-size: 11.5px; }
.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  padding-top: 22px;
  margin-top: 28px;
  color: var(--muted);
  font-size: 11.5px;
  border-top: 1px solid var(--line);
}
.trust-row span { display: inline-flex; gap: 6px; align-items: center; }
.trust-row span::before { width: 5px; height: 5px; content: ""; background: var(--teal); border-radius: 50%; }

.receipt {
  position: relative;
  padding: 22px;
  background:
    linear-gradient(90deg, transparent 31px, rgba(15, 118, 110, 0.14) 32px, transparent 33px),
    var(--surface-raised);
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.receipt::before {
  position: absolute;
  inset: 8px;
  pointer-events: none;
  content: "";
  border: 1px solid rgba(29, 28, 24, 0.06);
  border-radius: 4px;
}
.receipt__head { display: flex; gap: 14px; align-items: flex-start; justify-content: space-between; padding-bottom: 15px; border-bottom: 1px dashed var(--line-strong); }
.receipt__head strong { display: block; font-size: 15px; }
.receipt__head small { display: block; margin-top: 4px; color: var(--muted); font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase; }
.receipt__stamp {
  padding: 5px 7px;
  color: var(--teal-dark);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid #9fc9bd;
  border-radius: 3px;
  transform: rotate(-3deg);
}
.receipt__meta { display: flex; justify-content: space-between; padding: 12px 0; color: var(--muted); font-size: 10px; border-bottom: 1px solid var(--line); }
.receipt__rows { display: flex; flex-direction: column; }
.receipt-row {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr) auto;
  gap: 8px;
  align-items: start;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.receipt-row__mark {
  display: grid;
  place-items: center;
  width: 16px;
  height: 16px;
  margin-top: 1px;
  font-family: var(--mono);
  font-size: 9px;
  border: 1px solid currentColor;
  border-radius: 50%;
}
.receipt-row strong { display: block; overflow: hidden; font-family: var(--mono); font-size: 11px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.receipt-row small { display: block; margin-top: 2px; color: var(--muted); font-size: 10px; }
.receipt-row__status { padding-top: 1px; font-family: var(--mono); font-size: 9px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; }
.receipt-row--ok { color: var(--teal-dark); }
.receipt-row--warn { color: var(--amber); }
.receipt-row--blocked { color: var(--red); }
.receipt-row--ok small, .receipt-row--warn small, .receipt-row--blocked small { color: var(--muted); }
.receipt__foot { display: flex; gap: 10px; align-items: flex-start; justify-content: space-between; padding-top: 15px; color: var(--muted); font-size: 10.5px; line-height: 1.45; }
.receipt__foot strong { color: var(--ink); }
.receipt__total { flex: 0 0 auto; color: var(--ink); font-family: var(--mono); font-size: 12px; font-weight: 700; }

.section { padding: clamp(48px, 6vw, 78px) 0; border-top: 1px solid var(--line); }
.section--tint { margin: 0 calc(50% - 50vw); padding-right: max(20px, calc(50vw - 590px)); padding-left: max(20px, calc(50vw - 590px)); background: rgba(251, 249, 245, 0.7); }
.section__head { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.55fr); gap: 36px; align-items: end; margin-bottom: 30px; }
.section h2 { max-width: 700px; margin-top: 9px; font-size: clamp(1.75rem, 3.2vw, 2.7rem); text-wrap: balance; }
.section__lede { color: var(--muted); font-size: 14.5px; line-height: 1.65; }
.section__lede strong { color: var(--ink); }

.problem-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.problem-card {
  padding: 21px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 2px solid var(--ink);
  border-radius: 7px;
}
.problem-card__number { color: var(--teal); font-family: var(--mono); font-size: 10px; font-weight: 700; }
.problem-card h3 { margin-top: 13px; font-size: 19px; }
.problem-card p { margin-top: 8px; color: var(--muted); font-size: 13px; line-height: 1.6; }
.problem-card a { display: inline-block; margin-top: 12px; font-size: 11.5px; font-weight: 650; }

.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: var(--surface); }
.step-card { padding: 22px 20px; border-right: 1px solid var(--line); }
.step-card:last-child { border-right: 0; }
.step-card__index { display: grid; place-items: center; width: 28px; height: 28px; color: var(--teal-dark); font-family: var(--mono); font-size: 9px; background: var(--teal-wash-soft); border: 1px solid #c8dfd8; border-radius: 50%; }
.step-card h3 { margin-top: 16px; font-size: 16px; }
.step-card p { margin-top: 7px; color: var(--muted); font-size: 12px; line-height: 1.55; }
.step-card small { display: block; margin-top: 12px; color: var(--muted-soft); font-size: 9.5px; letter-spacing: 0.06em; text-transform: uppercase; }

.demo-frame { overflow: hidden; background: var(--surface-raised); border: 1px solid var(--line-strong); border-radius: 9px; box-shadow: var(--shadow); }
.demo-frame__bar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; padding: 12px 16px; background: var(--surface-soft); border-bottom: 1px solid var(--line); }
.demo-frame__bar span { display: inline-flex; gap: 7px; align-items: center; color: var(--muted); font-size: 11px; }
.demo-frame__bar span::before { width: 6px; height: 6px; content: ""; background: var(--teal); border-radius: 50%; }
.demo-frame iframe { display: block; width: 100%; height: 840px; border: 0; background: var(--paper); }
.demo-frame__note { padding: 10px 16px; color: var(--muted); font-size: 10.5px; border-top: 1px solid var(--line); }

.boundary-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.boundary-card { padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; }
.boundary-card--built { border-top: 3px solid var(--teal); }
.boundary-card--planned { border-top: 3px solid var(--amber); }
.boundary-card h3 { font-size: 19px; }
.boundary-card > p { margin-top: 7px; color: var(--muted); font-size: 12.5px; }
.boundary-list { display: flex; flex-direction: column; gap: 0; padding: 0; margin: 15px 0 0; list-style: none; }
.boundary-list li { position: relative; padding: 8px 0 8px 22px; color: var(--ink-soft); font-size: 12.5px; line-height: 1.5; border-top: 1px solid var(--line); }
.boundary-list li::before { position: absolute; left: 0; top: 7px; font-family: var(--mono); font-size: 11px; font-weight: 700; }
.boundary-card--built .boundary-list li::before { color: var(--teal); content: "✓"; }
.boundary-card--planned .boundary-list li::before { color: var(--amber); content: "○"; }

.segment-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 16px; }
.segment-card { padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; }
.segment-card h3 { font-size: 18px; }
.segment-card p { margin-top: 8px; color: var(--muted); font-size: 13px; line-height: 1.6; }
.segment-card ul { padding-left: 18px; margin: 12px 0 0; color: var(--muted); font-size: 12.5px; line-height: 1.65; }
.segment-card--avoid { background: var(--surface-soft); border-style: dashed; }
.segment-card--avoid h3 { color: var(--muted); }

.pricing-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.price-card { display: flex; flex-direction: column; padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; }
.price-card--featured { border-color: var(--teal); box-shadow: inset 0 3px 0 var(--teal); }
.price-card__tag { align-self: flex-start; padding: 4px 7px; color: var(--teal-dark); font-family: var(--mono); font-size: 9px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; background: var(--teal-wash-soft); border: 1px solid #cde2db; border-radius: 3px; }
.price-card h3 { margin-top: 14px; font-size: 22px; }
.price-card__price { margin-top: 7px; font-size: 35px; font-weight: 650; letter-spacing: -0.05em; line-height: 1; }
.price-card__price small { color: var(--muted); font-size: 12px; font-weight: 500; letter-spacing: 0; }
.price-card__note { margin-top: 7px; color: var(--muted); font-size: 11.5px; }
.price-card ul { padding-left: 17px; margin: 18px 0 22px; color: var(--muted); font-size: 12px; line-height: 1.65; }
.price-card .vm-button { margin-top: auto; }
.pricing-note { margin-top: 16px; color: var(--muted); font-size: 11.5px; line-height: 1.6; }

.guides-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.guide-card { display: flex; flex-direction: column; min-height: 250px; padding: 22px; color: var(--ink); text-decoration: none; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; transition: border-color 160ms ease, transform 160ms ease; }
.guide-card:hover { color: var(--ink); border-color: var(--ink-soft); transform: translateY(-2px); }
.guide-card__number { color: var(--teal); font-family: var(--mono); font-size: 10px; font-weight: 700; }
.guide-card h3 { margin-top: 14px; font-size: 19px; line-height: 1.15; }
.guide-card p { margin-top: 9px; color: var(--muted); font-size: 12.5px; line-height: 1.55; }
.guide-card span { margin-top: auto; padding-top: 18px; color: var(--teal-dark); font-size: 11.5px; font-weight: 650; }

.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; gap: 18px; align-items: center; justify-content: space-between; padding: 17px 0; font-size: 15px; font-weight: 600; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { flex: 0 0 auto; color: var(--teal); font-family: var(--mono); font-size: 18px; content: "+"; }
.faq details[open] summary::after { content: "−"; }
.faq details p { max-width: 820px; padding: 0 0 18px; color: var(--muted); font-size: 13px; line-height: 1.65; }

/* ---------- Waitlist form ---------- */

.waitlist-section { background: var(--teal-deep); color: #f6f2ea; }
.waitlist-section .eyebrow { color: #a7d4c8; }
.waitlist-section h2 { color: #fffdf8; }
.waitlist-layout { display: grid; grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.waitlist-copy p { max-width: 440px; margin-top: 16px; color: #c2d5ce; font-size: 14px; line-height: 1.7; }
.waitlist-copy ul { padding-left: 17px; margin: 18px 0 0; color: #d7e5e0; font-size: 12.5px; line-height: 1.7; }
.waitlist-panel { padding: clamp(20px, 3vw, 30px); color: var(--ink); background: var(--surface); border: 1px solid #c9ded8; border-radius: 9px; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.14); }
.waitlist-panel h3 { font-size: 21px; }
.waitlist-panel > p { margin-top: 7px; color: var(--muted); font-size: 12px; line-height: 1.55; }
.waitlist-form { margin-top: 18px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label, .plan-fieldset legend { color: var(--ink-soft); font-size: 11px; font-weight: 650; letter-spacing: 0.01em; }
.field-optional { color: var(--muted-soft); font-size: 9px; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 10px 11px;
  color: var(--ink);
  font-size: 13px;
  background: var(--surface-raised);
  border: 1px solid var(--line-strong);
  border-radius: 5px;
}
.field textarea { min-height: 82px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #8a8377; }
.field input[aria-invalid="true"], .field select[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--red); }
.field-hint { color: var(--muted); font-size: 10px; line-height: 1.45; }
.field-error { color: var(--red); font-size: 11px; line-height: 1.4; }
.form-details { padding: 13px 0; margin-top: 15px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.form-details summary { color: var(--teal-dark); font-size: 12px; font-weight: 650; cursor: pointer; }
.form-details[open] summary { margin-bottom: 13px; }
.plan-fieldset { padding: 15px 0 0; margin: 15px 0 0; border: 0; border-top: 1px solid var(--line); }
.plan-fieldset legend { padding: 0; }
.plan-fieldset > .field-hint { margin-top: 4px; }
.plan-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; margin-top: 10px; }
.plan-option { display: flex; gap: 8px; align-items: flex-start; padding: 9px; cursor: pointer; background: var(--surface-soft); border: 1px solid var(--line); border-radius: 6px; }
.plan-option.is-selected { background: var(--teal-wash-soft); border-color: var(--teal); }
.plan-option input { flex: 0 0 auto; margin-top: 3px; accent-color: var(--teal); }
.plan-option span { display: flex; flex-direction: column; gap: 2px; }
.plan-option strong { font-size: 11.5px; }
.plan-option small { color: var(--muted); font-size: 9.5px; line-height: 1.35; }
.consent { display: flex; gap: 9px; align-items: flex-start; margin-top: 15px; color: var(--muted); font-size: 11px; line-height: 1.5; }
.consent input { flex: 0 0 auto; margin-top: 3px; accent-color: var(--teal); }
.consent.has-error { color: var(--red); }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 16px; }
.form-note { margin-top: 12px; color: var(--muted); font-size: 10.5px; line-height: 1.5; }
.form-note--warning { padding: 8px 10px; color: var(--amber); background: var(--amber-wash); border: 1px solid #ecd8bb; border-radius: 5px; }
.waitlist-success { display: flex; gap: 14px; align-items: flex-start; padding: 8px 0; }
.waitlist-success__mark { display: grid; flex: 0 0 auto; place-items: center; width: 38px; height: 38px; color: #fff; font-size: 19px; background: var(--teal); border-radius: 50%; }
.waitlist-success h3 { font-size: 20px; }
.waitlist-success p { margin-top: 7px; color: var(--muted); font-size: 12.5px; line-height: 1.55; }
.waitlist-success .vm-button { margin-top: 14px; }

/* ---------- Footer ---------- */

.site-footer { margin-top: auto; background: var(--paper-deep); border-top: 1px solid var(--line); }
.site-footer__inner { width: min(1180px, calc(100% - 40px)); padding: 34px 0 30px; margin: 0 auto; }
.site-footer__brand { display: flex; gap: 10px; align-items: center; }
.site-footer__brand div { display: flex; flex-direction: column; gap: 2px; }
.site-footer__brand strong { font-size: 14px; }
.site-footer__brand span { color: var(--muted); font-size: 11px; }
.site-footer__links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 18px; }
.site-footer__links a { color: var(--muted); font-size: 11.5px; text-decoration: none; }
.site-footer__links a:hover { color: var(--ink); }
.site-footer__fine { max-width: 760px; margin-top: 14px; color: var(--muted-soft); font-size: 10.5px; line-height: 1.55; }

/* ---------- Guide pages ---------- */

.guide-main { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 7px; padding-top: 24px; color: var(--muted); font-size: 11px; }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--ink); }
.breadcrumbs span { color: var(--muted-soft); }
.guide-hero { max-width: 860px; padding: 36px 0 34px; border-bottom: 1px solid var(--line); }
.guide-hero h1 { margin-top: 12px; font-size: clamp(2.1rem, 4.2vw, 3.6rem); text-wrap: balance; }
.guide-hero__lede { max-width: 720px; margin-top: 17px; color: var(--muted); font-size: 16px; line-height: 1.65; }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 18px; color: var(--muted-soft); font-size: 10.5px; }
.guide-layout { display: grid; grid-template-columns: minmax(0, 760px) minmax(250px, 1fr); gap: clamp(30px, 5vw, 64px); align-items: start; padding: 34px 0 60px; }
.guide-article { min-width: 0; }
.guide-article h2 { margin-top: 38px; font-size: 27px; }
.guide-article h2:first-child { margin-top: 0; }
.guide-article h3 { margin-top: 26px; font-size: 19px; }
.guide-article p { margin-top: 12px; color: var(--ink-soft); font-size: 14.5px; line-height: 1.75; }
.guide-article ul, .guide-article ol { padding-left: 22px; margin: 12px 0 0; color: var(--ink-soft); font-size: 14px; line-height: 1.75; }
.guide-article li + li { margin-top: 5px; }
.guide-article a { font-weight: 550; }
.guide-article strong { color: var(--ink); }
.guide-article code { padding: 1px 4px; color: var(--ink); font-size: 12px; background: var(--surface-soft); border: 1px solid var(--line); border-radius: 3px; }
.callout { padding: 17px 18px; margin: 20px 0; color: var(--ink-soft); font-size: 13px; line-height: 1.65; background: var(--teal-wash-soft); border: 1px solid #cde2db; border-left: 3px solid var(--teal); border-radius: 6px; }
.callout--warn { background: var(--amber-wash); border-color: #ecd8bb; border-left-color: var(--amber); }
.callout strong { display: block; margin-bottom: 4px; font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase; }
.checklist { padding: 0; margin: 14px 0 0; list-style: none; }
.checklist li { position: relative; padding: 7px 0 7px 24px; color: var(--ink-soft); font-size: 13.5px; line-height: 1.55; border-top: 1px solid var(--line); }
.checklist li::before { position: absolute; left: 0; top: 7px; color: var(--teal); font-family: var(--mono); font-size: 12px; font-weight: 700; content: "□"; }
.code-block { padding: 15px 16px; margin: 16px 0; overflow-x: auto; color: #e7f1ed; font-size: 11.5px; line-height: 1.65; background: var(--teal-deep); border-radius: 6px; }
.code-block code { padding: 0; color: inherit; font-size: inherit; background: transparent; border: 0; }
.data-table { width: 100%; margin: 18px 0; border-collapse: collapse; font-size: 12px; line-height: 1.5; }
.data-table th, .data-table td { padding: 9px 10px; text-align: left; vertical-align: top; border: 1px solid var(--line); }
.data-table th { color: var(--ink); font-weight: 650; background: var(--surface-soft); }
.data-table td { color: var(--muted); }
.guide-faq { margin-top: 28px; }
.guide-faq h2 { margin-top: 0; }
.guide-aside { position: sticky; top: 94px; padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; }
.guide-aside h2 { font-size: 18px; }
.guide-aside p { margin-top: 8px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.guide-aside .vm-button { width: 100%; margin-top: 13px; }
.guide-aside__rule { padding-top: 14px; margin-top: 15px; border-top: 1px solid var(--line); }
.guide-aside__links { display: flex; flex-direction: column; gap: 6px; margin-top: 10px; }
.guide-aside__links a { font-size: 11.5px; }

/* ---------- Dashboard ---------- */

.dashboard-main { width: min(1280px, calc(100% - 40px)); margin: 0 auto; padding: 38px 0 60px; }
.dashboard-head { display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-end; justify-content: space-between; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.dashboard-head h1 { margin-top: 8px; font-size: clamp(2rem, 4vw, 3rem); }
.dashboard-head p { max-width: 720px; margin-top: 10px; color: var(--muted); font-size: 13px; line-height: 1.6; }
.dashboard-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.dashboard-note { padding: 12px 14px; margin-top: 16px; color: var(--muted); font-size: 11.5px; line-height: 1.55; background: var(--surface-soft); border: 1px solid var(--line); border-radius: 6px; }
.dashboard-note strong { color: var(--ink); }
.metric-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; margin-top: 22px; }
.metric-card { padding: 15px; background: var(--surface); border: 1px solid var(--line); border-radius: 7px; }
.metric-card__label { color: var(--muted); font-size: 9px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.metric-card__value { margin-top: 7px; font-size: 27px; font-weight: 650; letter-spacing: -0.05em; line-height: 1; }
.metric-card__note { margin-top: 6px; color: var(--muted-soft); font-size: 10px; line-height: 1.35; }
.dashboard-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 14px; margin-top: 14px; }
.data-panel { min-width: 0; padding: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; }
.data-panel__head { display: flex; flex-wrap: wrap; gap: 10px; align-items: baseline; justify-content: space-between; margin-bottom: 13px; }
.data-panel h2 { font-size: 17px; }
.data-panel__head span { color: var(--muted); font-size: 10.5px; }
.funnel { display: flex; flex-direction: column; gap: 9px; }
.funnel-row { display: grid; grid-template-columns: 110px minmax(0, 1fr) 52px; gap: 9px; align-items: center; }
.funnel-row__label { color: var(--muted); font-size: 10.5px; }
.funnel-bar { height: 9px; overflow: hidden; background: var(--paper-deep); border-radius: 99px; }
.funnel-bar span { display: block; height: 100%; background: var(--teal); border-radius: inherit; }
.funnel-row__value { color: var(--ink); font-family: var(--mono); font-size: 11px; text-align: right; }
.table-wrap { overflow-x: auto; }
.data-table--dashboard { font-size: 11px; }
.data-table--dashboard th, .data-table--dashboard td { padding: 7px 8px; }
.data-table--dashboard th { font-size: 9px; letter-spacing: 0.06em; text-transform: uppercase; }
.empty-state { padding: 24px 12px; color: var(--muted); font-size: 12px; line-height: 1.6; text-align: center; background: var(--surface-soft); border: 1px dashed var(--line-strong); border-radius: 6px; }
.plan-bars { display: flex; flex-direction: column; gap: 8px; }
.plan-bar { display: grid; grid-template-columns: 120px minmax(0, 1fr) 30px; gap: 8px; align-items: center; }
.plan-bar__label { color: var(--muted); font-size: 10.5px; }
.plan-bar__track { height: 8px; overflow: hidden; background: var(--paper-deep); border-radius: 99px; }
.plan-bar__fill { height: 100%; background: var(--teal); border-radius: inherit; }
.plan-bar__count { font-family: var(--mono); font-size: 10.5px; text-align: right; }
.dashboard-source { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; gap: 8px; align-items: end; margin-top: 12px; }
.dashboard-source .field { gap: 4px; }
.dashboard-source .field label { font-size: 9px; }
.dashboard-source input { padding: 8px 9px; font-size: 11px; }
.feedback-list { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
.feedback-item { padding: 10px; background: var(--surface-soft); border: 1px solid var(--line); border-radius: 5px; }
.feedback-item strong { display: block; font-size: 10px; }
.feedback-item p { margin-top: 4px; color: var(--muted); font-size: 11px; line-height: 1.5; }

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
  .site-nav { gap: 14px; }
  .status-chip { display: none; }
  .hero { grid-template-columns: minmax(0, 1fr) minmax(330px, 0.9fr); gap: 34px; }
  .metric-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .site-nav, .site-header__actions .vm-button { display: none; }
  .site-menu { display: block; }
  .hero { grid-template-columns: 1fr; gap: 30px; padding-top: 46px; }
  .hero h1 { max-width: 760px; }
  .receipt { max-width: 620px; }
  .section__head { grid-template-columns: 1fr; gap: 12px; }
  .problem-grid, .guides-grid, .pricing-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step-card:nth-child(2) { border-right: 0; }
  .step-card:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }
  .boundary-grid, .segment-grid, .waitlist-layout, .dashboard-grid { grid-template-columns: 1fr; }
  .guide-layout { grid-template-columns: 1fr; }
  .guide-aside { position: static; }
  .demo-frame iframe { height: 720px; }
  .dashboard-source { grid-template-columns: 1fr 1fr; }
  .dashboard-source .vm-button { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  body { font-size: 15px; }
  .site-header__inner, .landing-main, .guide-main, .site-footer__inner, .dashboard-main { width: min(100% - 28px, 1180px); }
  .site-header__inner { min-height: 62px; }
  .site-brand img { width: 32px; height: 32px; }
  .site-brand strong { font-size: 14px; }
  .hero { padding-top: 36px; }
  .hero h1 { font-size: clamp(2.3rem, 11vw, 3.2rem); }
  .hero__lede { font-size: 15.5px; }
  .hero__actions .vm-button { width: 100%; }
  .receipt { padding: 17px; }
  .receipt__head { flex-direction: column; gap: 8px; }
  .receipt__stamp { align-self: flex-start; }
  .receipt-row { grid-template-columns: 18px minmax(0, 1fr); }
  .receipt-row__status { grid-column: 2; padding-top: 0; }
  .receipt__foot { flex-direction: column; }
  .steps { grid-template-columns: 1fr; }
  .step-card, .step-card:nth-child(2) { border-right: 0; border-bottom: 1px solid var(--line); }
  .step-card:last-child { border-bottom: 0; }
  .form-grid, .plan-options, .metric-grid { grid-template-columns: 1fr; }
  .demo-frame iframe { height: 680px; }
  .section { padding: 42px 0; }
  .section--tint { padding-right: 14px; padding-left: 14px; }
  .guide-hero { padding: 28px 0; }
  .guide-layout { padding-top: 24px; }
  .guide-article h2 { font-size: 24px; }
  .guide-article p, .guide-article ul, .guide-article ol { font-size: 14px; }
  .data-table { display: block; overflow-x: auto; white-space: nowrap; }
  .dashboard-head { align-items: flex-start; }
  .dashboard-actions .vm-button { flex: 1; }
  .funnel-row { grid-template-columns: 90px minmax(0, 1fr) 44px; }
  .plan-bar { grid-template-columns: 100px minmax(0, 1fr) 28px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}

.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Legal drafts: readable long-form pages with unmistakable review markers. */
.legal-page { max-width: 820px; margin: 0 auto; padding: 56px 22px 80px; }
.legal-page h1 { font-size: clamp(2rem, 5vw, 3.4rem); margin: 8px 0 10px; }
.legal-page h2 { font-size: 1.25rem; margin: 30px 0 8px; }
.legal-page p { line-height: 1.7; margin: 10px 0; }
.legal-page mark { background: #fff0b8; color: inherit; padding: 0 3px; }
.legal-meta { color: var(--muted); font-size: 0.9rem; }
.legal-warning { margin: 22px 0; padding: 14px 16px; border: 1px solid #d9b46a; background: #fff8e6; border-radius: 6px; line-height: 1.55; }
