/* stl2step: a CAD viewport on technical-drawing paper. One family (Archivo) whose width axis does the work:
   expanded for titles, normal for reading. Colour is reserved for the surface types of the result. */
/* Archivo (SIL Open Font License), variable width and weight, latin subset, self-hosted */
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url("/fonts/archivo-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
:root {
  --paper: #eef1f4;
  --surface: #ffffff;
  --ink: #23313e;
  --muted: #5a6875;
  --rule: #cfd7de;
  --rule-strong: #9eabb7;
  --accent: #1d66c4;
  --accent-ink: #ffffff;
  --danger: #b8233a;
  --warn: #8a5300;
  --vp-top: #fbfcfd;
  --vp-bottom: #dfe5ea;
  --radius-control: 6px;
  --radius-panel: 10px;
  --gutter: clamp(16px, 4vw, 40px);
  --font: "Archivo", system-ui, sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  font-stretch: 100%;
  font-variant-numeric: lining-nums;
}
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 3px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: var(--gutter); top: 8px; background: var(--surface); padding: 6px 10px; z-index: 10; }

h1, h2, h3 { font-stretch: 116%; font-weight: 720; letter-spacing: -0.015em; line-height: 1.08; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.4rem, 5.4vw, 4.4rem); letter-spacing: -0.025em; line-height: 0.98; }
h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
h3 { font-size: 1.15rem; font-stretch: 108%; }
p { margin: 0 0 1em; max-width: 68ch; }
.lead { font-size: 1.16rem; color: var(--ink); max-width: 46ch; }
.lead.narrow, .narrow { max-width: 56ch; }
.note, .muted { color: var(--muted); }
.note { font-size: 0.92rem; }
.block { display: block; }
.tabular { font-variant-numeric: tabular-nums; }
.warn { color: var(--warn); display: block; }

/* ------------------------------------------------------------------ chrome */
.site-head {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px var(--gutter); max-width: 1280px; margin: 0 auto;
}
.wordmark {
  font-size: 1.45rem; font-weight: 800; font-stretch: 125%; color: var(--ink); text-decoration: none; letter-spacing: -0.02em;
}
.wordmark span { font-stretch: 62%; font-weight: 300; padding: 0 0.04em; }
#nav { display: flex; align-items: center; gap: clamp(12px, 2.4vw, 28px); }
#nav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 560; }
#nav a[aria-current="page"]:not(.btn) { text-decoration: underline; text-decoration-thickness: 2px; }
main { max-width: 1280px; margin: 0 auto; padding: 8px var(--gutter) 72px; outline: none; }
main:focus, main:focus-visible { outline: none; }
.site-foot {
  max-width: 1280px; margin: 0 auto; padding: 40px var(--gutter) 40px; border-top: 1px solid var(--rule);
  color: var(--muted); font-size: 0.92rem;
}
.lang { display: flex; gap: 4px; }
.lang button { background: none; border: 0; color: var(--muted); font: inherit; cursor: pointer; padding: 4px 8px; border-radius: var(--radius-control); }
.lang button[aria-pressed="true"] { color: var(--ink); font-weight: 650; }
.noscript { padding: var(--gutter); }

/* ------------------------------------------------------------------ controls */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 18px; border-radius: var(--radius-control);
  border: 1px solid var(--rule-strong); background: var(--surface); color: var(--ink);
  font: inherit; font-weight: 620; font-size: 0.98rem; text-decoration: none; cursor: pointer; white-space: nowrap;
}
.btn:hover { border-color: var(--ink); text-decoration: none; }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn.primary:hover { background: #17549f; border-color: #17549f; }
.btn.danger { background: var(--surface); border-color: var(--danger); color: var(--danger); }
.btn.link { border-color: transparent; background: none; color: var(--accent); padding-inline: 8px; }
.btn.small { min-height: 36px; padding: 6px 12px; font-size: 0.92rem; }
.btn:disabled { opacity: 0.55; cursor: progress; }
label { display: grid; gap: 6px; font-weight: 600; font-size: 0.95rem; }
input[type="email"], input:not([type]), input[inputmode] {
  font: inherit; font-weight: 400; font-size: 1.05rem; padding: 10px 12px; min-height: 46px;
  border: 1px solid var(--rule-strong); border-radius: var(--radius-control); background: var(--surface); color: var(--ink);
}
input[inputmode="numeric"] { letter-spacing: 0.3em; font-variant-numeric: tabular-nums; max-width: 12ch; }
.stack { display: grid; gap: 14px; max-width: 420px; margin-bottom: 24px; }
.row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }

/* ------------------------------------------------------------------ viewport */
.viewport {
  position: relative; width: 100%; aspect-ratio: 4 / 3; overflow: hidden;
  background: linear-gradient(180deg, var(--vp-top), var(--vp-bottom));
  border: 1px solid var(--rule); border-radius: var(--radius-panel); touch-action: none;
}
.viewport canvas { display: block; width: 100%; height: 100%; cursor: grab; }
.viewport canvas:active { cursor: grabbing; }
.toggle { display: inline-flex; border: 1px solid var(--rule-strong); border-radius: var(--radius-control); overflow: hidden; background: var(--surface); }
.toggle button { font: inherit; font-weight: 600; font-size: 0.92rem; border: 0; background: none; color: var(--muted); padding: 7px 14px; min-height: 36px; cursor: pointer; }
.toggle button + button { border-left: 1px solid var(--rule-strong); }
.toggle button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.stage-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: 12px; }
.legend { display: flex; flex-wrap: wrap; gap: 4px 16px; list-style: none; margin: 0; padding: 0; font-size: 0.92rem; font-variant-numeric: tabular-nums; }
.legend li { display: inline-flex; align-items: center; gap: 7px; }
.k-PLANE { background: #2fa59a; } .k-CYLINDER { background: #3b7dd8; } .k-CONE { background: #f08c28; }
.k-SPHERE { background: #e5b80b; } .k-TORUS { background: #9b4fd6; } .k-FREEFORM { background: #d6589b; } .k-FACETS { background: #c62f3a; }
.swatch.rainbow { background: conic-gradient(#e0584f, #f0b429, #4caf6a, #2fa59a, #3b7dd8, #9b4fd6, #e0584f); }
.swatch { width: 12px; height: 12px; border-radius: 2px; box-shadow: inset 0 0 0 1px rgba(35, 49, 62, 0.25); }

/* ------------------------------------------------------------------ home */
.hero {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 5vw, 64px);
  align-items: center; padding: clamp(16px, 4vw, 48px) 0 clamp(48px, 7vw, 96px);
}
.hero-copy .lead { margin-bottom: 1.6em; }
.stage { margin: 0; }
.stage figcaption { margin-top: 10px; color: var(--muted); font-size: 0.92rem; max-width: 62ch; }
.how, .outputs, .pricing-block, .versus, .faq-block, .pricing-compare { padding: clamp(40px, 6vw, 72px) 0; border-top: 1px solid var(--rule); }
.steps { list-style: none; counter-reset: step; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.steps li { counter-increment: step; }
.steps li::before {
  content: counter(step); display: block; font-size: 3.2rem; font-weight: 300; font-stretch: 62%; line-height: 1;
  color: var(--accent); margin-bottom: 12px;
}
.steps p { color: var(--muted); }
.outputs dl { margin: 20px 0 0; display: grid; gap: 0; max-width: 820px; }
.outputs dl div { display: grid; grid-template-columns: 11rem 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.outputs dt { font-weight: 720; font-stretch: 112%; }
.outputs dd { margin: 0; color: var(--muted); }

/* ------------------------------------------------------------------ app */
.app-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px 24px; padding: 12px 0 20px; }
.app-head h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin: 0; }
.balance { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; font-variant-numeric: tabular-nums; }
.balance strong { font-size: 1.15rem; }
.workspace { display: grid; grid-template-columns: minmax(0, 8fr) minmax(280px, 4fr); gap: clamp(20px, 3vw, 32px); align-items: start; }
.viewport.framed { aspect-ratio: 16 / 11; }
.dropzone {
  position: absolute; inset: 14px; display: grid; place-content: center; justify-items: center; gap: 14px; text-align: center;
  border: 2px dashed var(--rule-strong); border-radius: 8px; cursor: pointer; padding: 24px; font-weight: 400;
}
.dropzone[hidden] { display: none; }
.dropzone.over { border-color: var(--accent); background: rgba(29, 102, 196, 0.06); }
.drop-title { font-size: 1.25rem; font-weight: 650; font-stretch: 108%; }
.bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 24px; padding: 16px 0 0; }
.bar[hidden] { display: none; }
.bar-info { display: grid; gap: 4px; min-width: 0; }
.bar-info strong { overflow-wrap: anywhere; }
.bar-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-start; }
.jobs h2 { font-size: 1.25rem; font-stretch: 110%; margin-bottom: 12px; }
.job-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.job { padding: 14px 0; border-bottom: 1px solid var(--rule); display: grid; gap: 3px; }
.job.open { box-shadow: inset 3px 0 0 var(--accent); padding-left: 12px; }
.job-name { font-weight: 650; overflow-wrap: anywhere; }
.job-status { font-size: 0.95rem; }
.job.running .job-status, .job.queued .job-status { color: var(--accent); }
.job.error .job-status { color: var(--danger); }
.job-meta { font-size: 0.86rem; }
.job-actions { display: flex; gap: 6px; margin-top: 6px; }
.job-actions:empty { display: none; }
.job-actions .btn.link:first-child { padding-left: 0; }
.job-list .empty { padding: 18px 0; color: var(--muted); }

/* ------------------------------------------------------------------ pages */
.narrow-page { max-width: 640px; padding-top: 16px; }
.narrow-page h2 { margin-top: 2.2em; font-size: 1.35rem; }
.facts { margin: 24px 0; }
.facts div { display: grid; grid-template-columns: 9rem 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; font-variant-numeric: tabular-nums; }
.legal { max-width: 70ch; padding-top: 16px; }
.legal h2 { font-size: 1.35rem; margin-top: 2em; }

/* ------------------------------------------------------------------ toasts */
.toasts { position: fixed; right: 16px; bottom: 16px; display: grid; gap: 8px; z-index: 20; max-width: min(420px, calc(100vw - 32px)); }
.toast { background: var(--ink); color: var(--paper); padding: 12px 16px; border-radius: var(--radius-control); font-size: 0.95rem; }
.toast.error { background: var(--danger); color: #fff; }

@media (max-width: 900px) {
  .hero, .workspace { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .outputs dl div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .viewport.framed { aspect-ratio: 1 / 1; }
  .facts div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; } }

/* ------------------------------------------------------------------ big actions */
.btn.big { min-height: 52px; padding: 12px 24px; font-size: 1.06rem; }
.btn.wide { width: 100%; }

/* ------------------------------------------------------------------ proof */
.proof { padding: clamp(40px, 6vw, 72px) 0; border-top: 1px solid var(--rule); }
.proof h2 { max-width: 24ch; font-size: clamp(1.8rem, 3.4vw, 2.8rem); }
.proof .lead { max-width: 62ch; color: var(--muted); }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 3vw, 40px); margin: 32px 0 0; }
.stats div { border-top: 2px solid var(--ink); padding-top: 14px; }
.stats dt { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 760; font-stretch: 112%; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.stats dd { margin: 6px 0 0; color: var(--muted); max-width: 30ch; }

/* ------------------------------------------------------------------ sign in */
.auth { display: grid; place-items: start center; padding: clamp(24px, 6vw, 72px) 0; }
.auth-card {
  width: min(440px, 100%); background: var(--surface); border: 1px solid var(--rule); border-radius: 14px;
  padding: clamp(24px, 5vw, 40px); box-shadow: 0 1px 2px rgba(35, 49, 62, 0.06), 0 12px 32px -12px rgba(35, 49, 62, 0.18);
}
.auth-card h1 { font-size: clamp(1.6rem, 3.2vw, 2rem); line-height: 1.1; margin-bottom: 8px; }
.auth-card form { display: grid; gap: 12px; }
.auth-card form[hidden], .phrase[hidden] { display: none; }
.auth-card label { margin-top: 12px; }
.auth-card input[type="email"] { width: 100%; }
.auth-card input[aria-invalid="true"] { border-color: var(--danger); }
.field-err { color: var(--danger); font-size: 0.92rem; min-height: 1.2em; margin: 0; }
.fine { font-size: 0.86rem; color: var(--muted); margin: 0; }
.fine a { color: var(--muted); }
.phrase { background: var(--paper); border-radius: var(--radius-control); padding: 10px 12px; font-size: 0.92rem; margin: 0; }
.otp { border: 0; padding: 0; margin: 8px 0 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.otp legend { font-weight: 600; font-size: 0.95rem; margin-bottom: 8px; padding: 0; }
.otp input {
  width: 100%; min-width: 0; height: 56px; text-align: center; font: inherit; font-size: 1.5rem; font-weight: 650;
  font-variant-numeric: tabular-nums; border: 1px solid var(--rule-strong); border-radius: var(--radius-control);
  background: var(--surface); color: var(--ink); padding: 0;
}
.otp input:focus { border-color: var(--accent); outline: 3px solid rgba(29, 102, 196, 0.25); outline-offset: 0; }
.auth-links { display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; margin: 0; }
.auth-links .btn.link { padding-inline: 0; }
.btn.link:disabled { color: var(--muted); opacity: 1; cursor: default; }
@media (max-width: 900px) { .stats { grid-template-columns: minmax(0, 1fr); } }

/* ------------------------------------------------------------------ shared bits */
.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; }
.eyebrow {
  display: block; font-size: 0.95rem; font-weight: 650; font-stretch: 112%; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--accent); line-height: 1.2; margin-bottom: 0.7em;
}
#nav-auth { display: contents; }
.viewport .poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.kinds { margin-top: 28px; }
.tag { display: inline-block; font-size: 0.78rem; font-weight: 650; letter-spacing: 0.02em; padding: 1px 8px; border-radius: 99px; background: var(--paper); border: 1px solid var(--rule); color: var(--muted); margin-left: 6px; white-space: nowrap; }
.tag.pro { color: var(--accent); border-color: rgba(29, 102, 196, 0.35); }
.list { padding-left: 1.2em; max-width: 68ch; }
.list li { margin-bottom: 0.6em; }
.loading { color: var(--muted); padding: 48px 0; }

/* ------------------------------------------------------------------ plans */
.plans {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px);
  align-items: stretch; margin: 28px 0 14px;
}
.plan-card {
  position: relative; display: flex; flex-direction: column; gap: 14px; background: var(--surface);
  border: 1px solid var(--rule); border-radius: 14px; padding: clamp(20px, 2.6vw, 30px);
}
.plan-card > * { margin: 0; }
.plan-card.featured {
  border: 2px solid var(--accent); padding-top: clamp(28px, 3vw, 38px);
  box-shadow: 0 2px 4px rgba(29, 102, 196, 0.08), 0 24px 48px -20px rgba(29, 102, 196, 0.45);
  transform: translateY(-10px);
}
.badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--accent); color: #fff;
  font-size: 0.8rem; font-weight: 720; font-stretch: 112%; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 5px 14px; border-radius: 99px; white-space: nowrap;
}
.plan-name { font-size: 1.3rem; font-stretch: 112%; margin: 0; }
.plan-price { display: flex; align-items: baseline; gap: 6px; font-variant-numeric: tabular-nums; }
.plan-price .amount { font-size: clamp(2.4rem, 4vw, 3.1rem); font-weight: 760; font-stretch: 108%; letter-spacing: -0.03em; line-height: 1; }
.plan-price .per, .plan-price .from { color: var(--muted); font-weight: 560; }
.plan-sub { color: var(--muted); min-height: 2.6em; }
.plan-sub strong { color: var(--ink); }
.save { background: rgba(29, 102, 196, 0.07); border-radius: 8px; padding: 10px 12px; font-size: 0.94rem; }
.save span { color: var(--accent); font-weight: 760; }
.save s { color: var(--muted); }
.plan-card .fine { margin-top: -6px; text-align: center; }
.feats { list-style: none; padding: 14px 0 0; margin: 4px 0 0; border-top: 1px solid var(--rule); display: grid; gap: 9px; font-size: 0.95rem; }
.feats li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; align-items: start; }
.feats svg { width: 18px; height: 18px; margin-top: 3px; }
.feats .yes svg { color: #17725b; }
.feats .no { color: var(--muted); }
.feats .no svg { color: var(--rule-strong); }
.feats .no span { text-decoration: line-through; text-decoration-color: rgba(90, 104, 117, 0.5); }
.packs { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; }
.pack {
  display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "r n p" "r e p"; column-gap: 12px; align-items: center;
  border: 1px solid var(--rule-strong); border-radius: 10px; padding: 10px 14px; cursor: pointer; font-weight: 400;
}
.pack input { grid-area: r; width: 18px; height: 18px; margin: 0; accent-color: var(--accent); }
.pack-n { grid-area: n; font-weight: 650; }
.pack-e { grid-area: e; color: var(--muted); font-size: 0.86rem; }
.pack-p { grid-area: p; font-weight: 720; font-size: 1.1rem; font-variant-numeric: tabular-nums; }
.pack:has(input:checked) { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); background: rgba(29, 102, 196, 0.04); }
.extras { border-top: 1px dashed var(--rule-strong); padding-top: 12px; font-size: 0.92rem; }
.extras[hidden] { display: none; }
.extras p { margin: 0 0 8px; color: var(--muted); }
.plans-note { margin-top: 8px; }
.plan-card .current { text-align: center; font-weight: 650; color: var(--accent); }

/* ------------------------------------------------------------------ tables */
.table-wrap { overflow-x: auto; margin: 20px 0; -webkit-overflow-scrolling: touch; }
.compare { border-collapse: collapse; width: 100%; min-width: 640px; font-variant-numeric: tabular-nums; background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius-panel); }
.compare th, .compare td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--rule); vertical-align: top; }
.compare thead th { font-stretch: 110%; font-weight: 720; background: var(--paper); }
.compare tbody th { font-weight: 620; }
.compare .hl { background: rgba(29, 102, 196, 0.06); }
.compare tr.hl th, .compare tr.hl td { background: rgba(29, 102, 196, 0.06); }
.compare thead th.hl { color: var(--accent); }
.compare .ok { color: #146650; font-weight: 650; }
.compare .dash { color: var(--muted); }
.compare.small { min-width: 560px; font-size: 0.95rem; }

/* ------------------------------------------------------------------ faq */
.faq { max-width: 860px; margin-top: 16px; border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 16px 0; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; font-weight: 300; color: var(--accent); line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq summary h2, .faq summary h3 { font-size: 1.06rem; font-stretch: 104%; font-weight: 650; margin: 0; letter-spacing: 0; line-height: 1.35; }
.faq details p { color: var(--muted); padding-bottom: 8px; }

/* ------------------------------------------------------------------ guides */
.guide { max-width: 820px; padding-top: 8px; }
.guide.wide { max-width: 1100px; }
.guide h1 { font-size: clamp(2rem, 4.2vw, 3.2rem); line-height: 1.04; }
.guide h2 { margin-top: 1.8em; font-size: clamp(1.35rem, 2.2vw, 1.75rem); }
.guide section { max-width: 820px; }
.guide .answer { font-size: 1.14rem; max-width: 68ch; }
.updated { color: var(--muted); font-size: 0.9rem; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0 0 18px; font-size: 0.9rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--rule-strong); }
.crumbs a { color: var(--muted); }
.guide-steps { list-style: none; counter-reset: gs; padding: 0; margin: 16px 0 0; display: grid; gap: 4px; }
.guide-steps li { counter-increment: gs; display: grid; grid-template-columns: 3rem 1fr; column-gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.guide-steps li::before { content: counter(gs); grid-row: span 2; font-size: 2.2rem; font-weight: 300; font-stretch: 62%; color: var(--accent); line-height: 1; }
.guide-steps h3 { margin: 0 0 4px; }
.guide-steps p { margin: 0; color: var(--muted); }
.qa div { padding: 12px 0; border-bottom: 1px solid var(--rule); }
.qa dt { font-weight: 650; }
.qa dd { margin: 4px 0 0; color: var(--muted); }
.facts.wide div { grid-template-columns: 12rem 1fr; }
.cta-band {
  margin: clamp(32px, 5vw, 56px) 0 0; padding: clamp(28px, 5vw, 48px); border-radius: 16px; background: var(--ink); color: var(--paper);
}
.cta-band h2 { color: #fff; max-width: 26ch; }
.cta-band p { color: #c9d3dc; }
.cta-band .btn:not(.primary) { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.45); }
.cta-band .row { margin: 20px 0 0; }

/* ------------------------------------------------------------------ footer */
.foot-grid { display: grid; grid-template-columns: 2fr repeat(3, minmax(0, 1fr)); gap: 24px; }
.foot-grid nav { display: grid; gap: 8px; align-content: start; }
.foot-grid h2 { font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink); margin: 0 0 4px; font-stretch: 112%; }
.foot-grid a { color: var(--muted); text-decoration: none; }
.foot-grid a:hover { color: var(--ink); text-decoration: underline; }
.foot-brand p { max-width: 30ch; margin-top: 8px; }
.copy { margin: 28px 0 0; font-size: 0.85rem; }

/* ------------------------------------------------------------------ app: free tier */
.btn.locked { color: var(--muted); border-style: dashed; }
.btn.locked svg { width: 14px; height: 14px; }
.tier { font-size: 0.9rem; }

@media (max-width: 900px) {
  .plans { grid-template-columns: minmax(0, 1fr); max-width: 520px; }
  .plan-card.featured { order: -1; transform: none; margin-top: 10px; }
  .plan-sub { min-height: 0; }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-brand { grid-column: 1 / -1; }
  .facts.wide div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
}
@media (max-width: 700px) {
  .compare tbody th, .compare thead td { position: sticky; left: 0; background: var(--surface); box-shadow: 1px 0 0 var(--rule); z-index: 1; }
}
.pricing-block.page { border-top: 0; padding-top: 16px; }
.related { margin-top: 2.4em; border-top: 1px solid var(--rule); padding-top: 8px; }
.related h2 { font-size: 1rem !important; letter-spacing: 0.06em; text-transform: uppercase; margin-top: 1em !important; }
.related ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 10px; }
.related a { display: inline-block; padding: 6px 12px; border: 1px solid var(--rule-strong); border-radius: 99px; text-decoration: none; color: var(--ink); background: var(--surface); font-size: 0.92rem; }
.related a:hover { border-color: var(--ink); }
.guide .stats { margin-bottom: 8px; }
.vp-hint {
  position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); z-index: 2;
  font: inherit; font-size: 0.88rem; font-weight: 620; color: var(--ink); background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--rule-strong); border-radius: 99px; padding: 7px 14px; cursor: pointer; white-space: nowrap;
}
.vp-hint[hidden] { display: none; }
