/* FlowTrack — getflowtrack.com
   Hand-written, no build step. Single committed look (dark hero, light body);
   deliberately no prefers-color-scheme switch, the page is a printed object. */

:root {
  --ink: #0e1116;
  --ink-2: #1a1f27;
  --steel: #5b6470;
  --steel-2: #868f9c;
  --rule: #e0e4ea;
  --rule-dark: #2a3038;
  --paper: #ffffff;
  --paper-2: #f5f6f8;
  --accent: #4f46e5;
  --accent-ink: #4338ca;
  --accent-soft: #eef0fe;
  --ok: #15803d;

  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;

  --wrap: 1180px;
  --gap: clamp(1.5rem, 4vw, 3rem);
  --section: clamp(4rem, 9vw, 7rem);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.68;
  color: var(--ink-2);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
  color: var(--ink);
  line-height: 1.14;
  letter-spacing: -0.022em;
  margin: 0 0 0.6em;
  font-weight: 700;
  text-wrap: balance;
}
h1 { font-size: clamp(2.15rem, 5.2vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.35rem); letter-spacing: -0.012em; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
a { color: var(--accent-ink); }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(1.25rem, 4vw, 2rem); }
.lede { font-size: clamp(1.1rem, 1.7vw, 1.3rem); color: var(--steel); line-height: 1.6; }
.muted { color: var(--steel); }
.nowrap { white-space: nowrap; }

/* Skip link */
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--ink); color: #fff; padding: 0.75rem 1.25rem;
}
.skip:focus { left: 0; }

:where(a, button, summary, input, textarea, select):focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---------- Section furniture ---------- */

.section { padding-block: var(--section); }
.section--paper { background: var(--paper-2); }
.section--ink { background: var(--ink); color: #c9d0da; }
.section--ink h2, .section--ink h3 { color: #fff; }

.eyebrow {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--steel-2);
  margin: 0 0 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.eyebrow::after { content: ""; flex: 1; height: 1px; background: var(--rule); }
.section--ink .eyebrow::after { background: var(--rule-dark); }
.eyebrow b { color: var(--accent); font-weight: 700; }

.head { max-width: 46rem; margin-bottom: clamp(2.5rem, 5vw, 3.75rem); }

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

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  font: inherit; font-weight: 600; font-size: 1rem;
  padding: 0.85rem 1.5rem;
  border-radius: 4px;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s, transform .15s;
}
.btn--primary { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn--primary:hover { background: var(--accent-ink); border-color: var(--accent-ink); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--rule); }
.btn--ghost:hover { border-color: var(--ink); }
.section--ink .btn--ghost, .hero .btn--ghost { color: #fff; border-color: #3a424e; }
.section--ink .btn--ghost:hover, .hero .btn--ghost:hover { border-color: #7d8896; }
.btn--lg { padding: 1rem 1.9rem; font-size: 1.05rem; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }

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

.hdr {
  position: sticky; top: 0; z-index: 50;
  background: rgba(14, 17, 22, 0.92);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--rule-dark);
}
.hdr__in { display: flex; align-items: center; gap: 1.5rem; height: 68px; }
.hdr__logo { display: flex; align-items: center; margin-right: auto; }
.hdr__logo svg { height: 26px; width: auto; }
.hdr__nav { display: flex; align-items: center; gap: 1.6rem; }
.hdr__nav a {
  color: #c9d0da; text-decoration: none; font-size: 0.95rem; font-weight: 500;
  padding: 0.25rem 0;
  border-bottom: 1px solid transparent;
}
.hdr__nav a:hover { color: #fff; border-bottom-color: var(--accent); }
.hdr__nav .btn { padding: 0.55rem 1.1rem; font-size: 0.92rem; }
.hdr__nav .hdr__login { color: var(--steel-2); }
.hdr__burger {
  display: none; background: none; border: 1px solid var(--rule-dark); border-radius: 4px;
  color: #fff; padding: 0.5rem 0.65rem; cursor: pointer;
}
.hdr__burger svg { width: 20px; height: 20px; }

@media (max-width: 880px) {
  .hdr__burger { display: block; }
  .hdr__nav {
    position: absolute; inset: 68px 0 auto; flex-direction: column; align-items: stretch;
    gap: 0; background: var(--ink); border-bottom: 1px solid var(--rule-dark);
    padding: 0.5rem clamp(1.25rem, 4vw, 2rem) 1.25rem;
  }
  .hdr__nav[hidden] { display: none; }
  .hdr__nav a { padding: 0.8rem 0; border-bottom: 1px solid var(--rule-dark); }
  .hdr__nav .btn { margin-top: 0.9rem; justify-content: center; }
}

/* ---------- Hero ---------- */

.hero {
  background: var(--ink);
  color: #c9d0da;
  padding-block: clamp(3.5rem, 8vw, 6rem) 0;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--rule-dark) 1px, transparent 1px),
    linear-gradient(90deg, var(--rule-dark) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: .35;
  mask-image: radial-gradient(120% 80% at 50% 0%, #000 30%, transparent 78%);
  pointer-events: none;
}
.hero__in { position: relative; }
.hero h1 { color: #fff; max-width: 17ch; }
.hero__sub { font-size: clamp(1.1rem, 1.9vw, 1.35rem); color: #98a2b0; max-width: 44rem; margin-bottom: 2rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-bottom: 2.25rem; }
/* Deliberately not flex: the inline <strong> would become a flex item and the
   sentence would break into columns. */
.hero__proof {
  font-size: 0.95rem; color: #98a2b0;
  border-left: 2px solid var(--accent);
  padding-left: 1rem;
  max-width: 42rem;
}
.hero__proof strong { color: #fff; font-weight: 600; }
.hero__shot {
  margin-top: clamp(2.5rem, 6vw, 4rem);
  transform: translateY(1px);
}

/* ---------- Screenshot frame ---------- */

.shot {
  border: 1px solid var(--rule);
  border-radius: 8px;
  background: var(--paper);
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(14,17,22,.05), 0 12px 32px -12px rgba(14,17,22,.18);
}
.hero .shot { border-color: #2f3742; box-shadow: 0 24px 70px -24px rgba(0,0,0,.8); }
.shot__bar {
  display: flex; align-items: center; gap: 0.45rem;
  padding: 0.6rem 0.85rem;
  background: var(--paper-2);
  border-bottom: 1px solid var(--rule);
}
.hero .shot__bar { background: #1b2028; border-bottom-color: #2f3742; }
.shot__dot { width: 9px; height: 9px; border-radius: 50%; background: #cdd3db; }
.hero .shot__dot { background: #3b434f; }
.shot__path {
  font-family: var(--mono); font-size: 0.72rem; color: var(--steel-2);
  margin-left: 0.6rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.shot img { width: 100%; display: block; }
.shot__ph {
  aspect-ratio: 16 / 10;
  display: grid; place-items: center;
  background:
    repeating-linear-gradient(-45deg, transparent 0 10px, rgba(91,100,112,.06) 10px 20px),
    var(--paper-2);
  color: var(--steel-2); font-family: var(--mono); font-size: 0.8rem; text-align: center;
  padding: 1rem;
}
.hero .shot__ph { background: repeating-linear-gradient(-45deg, transparent 0 10px, rgba(255,255,255,.03) 10px 20px), #161b22; }
.shot__cap {
  font-family: var(--mono); font-size: 0.75rem; color: var(--steel-2);
  margin-top: 0.7rem;
}

/* ---------- CAD panel ----------
   A drawn reproduction of the Angebots-Editor's geometry panel, not a capture.
   Labels, units and the shape of every figure follow what QuoteEditor actually
   renders, so it matches the live screen a prospect is shown later. */

.cad { padding: 1rem 1.1rem 1.25rem; font-size: 0.83rem; }
.cad__head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
  padding-bottom: 0.7rem; border-bottom: 1px solid var(--rule);
}
.cad__head b { font-size: 0.95rem; color: var(--ink); }
.cad__head span { font-family: var(--mono); font-size: 0.75rem; color: var(--steel-2); }

.cad__banner {
  margin-top: 0.85rem; padding: 0.7rem 0.85rem;
  border: 1px solid #c9d3f7; border-left: 2px solid var(--accent);
  background: var(--accent-soft); border-radius: 3px;
}
.cad__file { font-family: var(--mono); font-size: 0.72rem; color: var(--accent-ink); margin-bottom: 0.4rem; }
.cad__metrics { display: flex; flex-wrap: wrap; gap: 0.15rem 1rem; font-family: var(--mono); font-size: 0.75rem; color: var(--steel); }
.cad__metrics b { color: var(--ink); }
.cad__metrics .ok { color: var(--ok); }
.cad__holes { margin-top: 0.55rem; font-size: 0.78rem; color: var(--steel); }
.cad__holes b { color: var(--ink); font-weight: 600; }

.cad__label {
  margin: 1.1rem 0 0.5rem;
  font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.11em;
  text-transform: uppercase; color: var(--steel-2);
}

.cad__layers { width: 100%; border-collapse: collapse; font-size: 0.78rem; }
.cad__layers th {
  text-align: left; font-weight: 600; color: var(--steel-2); font-size: 0.7rem;
  text-transform: uppercase; letter-spacing: 0.07em;
  padding: 0 0.5rem 0.35rem 0; border-bottom: 1px solid var(--rule);
}
.cad__layers td { padding: 0.4rem 0.5rem 0.4rem 0; border-bottom: 1px solid var(--rule); color: var(--steel); }
.cad__layers td:first-child { font-family: var(--mono); font-size: 0.74rem; color: var(--ink); }
.cad__layers td:last-child { text-align: right; font-family: var(--mono); font-size: 0.74rem; }
.cad__layers .off { color: var(--steel-2); }
.cad__src { font-size: 0.72rem; color: var(--steel-2); }

.cad__nest { margin-top: 0.4rem; border: 1px solid var(--rule); border-radius: 3px; padding: 0.6rem; background: var(--paper-2); }
.cad__nest svg { width: 100%; height: auto; display: block; }
.cad__nestmeta { margin-top: 0.5rem; font-family: var(--mono); font-size: 0.72rem; color: var(--steel); }
.cad__nestmeta b { color: var(--ink); }

.cad__ops { width: 100%; border-collapse: collapse; font-size: 0.78rem; }
.cad__ops td { padding: 0.4rem 0.5rem 0.4rem 0; border-bottom: 1px solid var(--rule); }
.cad__ops td:first-child { color: var(--ink); font-weight: 500; }
.cad__ops td:nth-child(2) { color: var(--steel); }
.cad__ops td:last-child { text-align: right; font-family: var(--mono); font-size: 0.74rem; color: var(--ink); white-space: nowrap; }
.cad__badge {
  display: inline-block; margin-left: 0.4rem;
  font-family: var(--mono); font-size: 0.65rem; letter-spacing: .04em;
  color: var(--accent-ink); background: var(--accent-soft);
  border: 1px solid #c9d3f7; border-radius: 999px; padding: 0.05rem 0.4rem;
}

/* ---------- Problem grid ---------- */

.probs { display: grid; gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
@media (min-width: 720px) { .probs { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .probs { grid-template-columns: repeat(4, 1fr); } }
.prob { background: var(--paper); padding: 1.75rem 1.5rem; }
.prob__n { font-family: var(--mono); font-size: 0.75rem; color: var(--accent); letter-spacing: .1em; }
.prob h3 { margin: 0.8rem 0 0.5rem; }
.prob p { font-size: 0.97rem; color: var(--steel); }

/* ---------- Chain / Durchlauf ---------- */

.chain { display: grid; gap: 1.5rem; counter-reset: step; }
@media (min-width: 900px) { .chain { grid-template-columns: repeat(6, 1fr); gap: 0; } }

.step { position: relative; padding-top: 2.5rem; }
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute; top: 0; left: 0;
  font-family: var(--mono); font-size: 0.72rem; letter-spacing: .1em; color: var(--steel-2);
}
.step::after {
  content: ""; position: absolute; top: 1.55rem; left: 0; right: 0; height: 1px; background: var(--rule);
}
@media (min-width: 900px) {
  .step { padding: 2.5rem 1.1rem 0 0; }
  .step:last-child::after { background: linear-gradient(90deg, var(--rule) 60%, transparent); }
}
.step__dot {
  position: absolute; top: calc(1.55rem - 4px); left: 0;
  width: 9px; height: 9px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 0 4px var(--paper-2);
}
.step h3 { font-size: 1.02rem; margin: 0 0 0.35rem; }
.step p { font-size: 0.9rem; color: var(--steel); line-height: 1.55; }

.chain-note {
  margin-top: clamp(2rem, 4vw, 3rem);
  border-left: 2px solid var(--accent);
  padding-left: 1.25rem;
  max-width: 46rem;
  font-size: 1.05rem;
}

/* ---------- Feature deep-dives ---------- */

.dive { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (min-width: 940px) {
  /* The figure gets the larger share: these are dense admin screens, and every
     percent of width is legibility. */
  .dive { grid-template-columns: 0.85fr 1.3fr; }
  .dive--flip .dive__text { order: 2; }
}
.dive + .dive { margin-top: clamp(3.5rem, 8vw, 6.5rem); padding-top: clamp(3.5rem, 8vw, 6.5rem); border-top: 1px solid var(--rule); }
.dive h3 { font-size: clamp(1.35rem, 2.4vw, 1.85rem); letter-spacing: -0.02em; }
.dive__text > p { color: var(--steel); }

.ticks { list-style: none; margin: 1.35rem 0 0; padding: 0; display: grid; gap: 0.6rem; }
.ticks li { position: relative; padding-left: 1.6rem; font-size: 0.97rem; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 0.55em;
  width: 8px; height: 8px; border: 1.5px solid var(--accent); border-radius: 1px;
  transform: rotate(45deg);
}
.ticks li b { color: var(--ink); font-weight: 600; }
/* A caveat set after the list needs air, or it reads as another bullet. */
.ticks + p { margin-top: 1.5rem; }

/* Data strip — the numbers a shop recognises */
.strip {
  display: flex; flex-wrap: wrap; gap: 0 1.5rem;
  font-family: var(--mono); font-size: 0.78rem; color: var(--steel);
  border: 1px solid var(--rule); border-left: 2px solid var(--accent);
  padding: 0.7rem 0.95rem; margin-top: 1.4rem; background: var(--paper);
}
.strip span { white-space: nowrap; padding-block: 0.15rem; }
.strip b { color: var(--ink); font-weight: 600; }

/* ---------- Feature list ---------- */

.feats { display: grid; gap: 0 clamp(1.5rem, 4vw, 3rem); }
@media (min-width: 700px) { .feats { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .feats { grid-template-columns: repeat(3, 1fr); } }
.feats > div { border-top: 1px solid var(--rule); padding: 1.1rem 0; }
.feats h3 { font-size: 0.98rem; margin: 0 0 0.3rem; }
.feats p { font-size: 0.9rem; color: var(--steel); margin: 0; line-height: 1.55; }

/* ---------- Reference ---------- */

.ref { display: grid; gap: clamp(2rem, 5vw, 3.5rem); }
@media (min-width: 900px) { .ref { grid-template-columns: 1.1fr 1fr; align-items: start; } }
.ref blockquote {
  margin: 0; font-size: clamp(1.2rem, 2.2vw, 1.6rem); line-height: 1.45;
  color: #fff; letter-spacing: -0.015em;
  border-left: 2px solid var(--accent); padding-left: 1.35rem;
}
.ref figcaption { margin-top: 1.1rem; padding-left: 1.35rem; font-size: 0.92rem; color: var(--steel-2); }
.ref__facts { list-style: none; margin: 0; padding: 0; }
.ref__facts li {
  display: flex; justify-content: space-between; gap: 1.5rem;
  padding: 0.85rem 0; border-top: 1px solid var(--rule-dark);
  font-size: 0.95rem;
}
.ref__facts li:last-child { border-bottom: 1px solid var(--rule-dark); }
.ref__facts dt, .ref__facts .k { color: var(--steel-2); }
.ref__facts .v { color: #fff; text-align: right; font-weight: 500; }

/* ---------- Process ---------- */

.proc { display: grid; gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
@media (min-width: 760px) { .proc { grid-template-columns: repeat(5, 1fr); } }
.proc > div { background: var(--paper); padding: 1.6rem 1.35rem; }
.proc__n { font-family: var(--mono); font-size: 0.72rem; color: var(--accent); letter-spacing: .1em; }
.proc h3 { font-size: 1rem; margin: 0.7rem 0 0.4rem; }
.proc p { font-size: 0.9rem; color: var(--steel); margin: 0; line-height: 1.55; }

/* ---------- FAQ ---------- */

.faq { max-width: 52rem; }
.faq details { border-top: 1px solid var(--rule); }
.faq details:last-of-type { border-bottom: 1px solid var(--rule); }
.faq summary {
  cursor: pointer; list-style: none;
  padding: 1.15rem 2.5rem 1.15rem 0; position: relative;
  font-weight: 600; color: var(--ink); font-size: 1.05rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 0.4rem; top: 1.6rem;
  width: 10px; height: 10px;
  border-right: 1.5px solid var(--steel); border-bottom: 1.5px solid var(--steel);
  transform: rotate(45deg); transition: transform .18s;
}
.faq details[open] summary::after { transform: rotate(-135deg); top: 1.85rem; }
.faq details > div { padding: 0 2.5rem 1.4rem 0; color: var(--steel); }

/* ---------- Contact ---------- */

.contact { display: grid; gap: clamp(2.5rem, 5vw, 4rem); }
@media (min-width: 960px) { .contact { grid-template-columns: 0.85fr 1.15fr; } }

.contact__aside .direct { list-style: none; margin: 1.75rem 0 0; padding: 0; }
.contact__aside .direct li { padding: 0.9rem 0; border-top: 1px solid var(--rule-dark); }
.contact__aside .direct .k { font-family: var(--mono); font-size: 0.72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--steel-2); display: block; margin-bottom: 0.2rem; }
.contact__aside .direct a { color: #fff; text-decoration: none; font-size: 1.05rem; border-bottom: 1px solid #3a424e; }
.contact__aside .direct a:hover { border-bottom-color: var(--accent); }

.form { background: var(--paper); border: 1px solid var(--rule); border-radius: 8px; padding: clamp(1.5rem, 3vw, 2.25rem); }
.form__grid { display: grid; gap: 1.1rem; }
@media (min-width: 620px) { .form__grid { grid-template-columns: 1fr 1fr; } .form__grid .full { grid-column: 1 / -1; } }

.field label, .fieldset > legend {
  display: block; font-size: 0.83rem; font-weight: 600; color: var(--ink);
  margin-bottom: 0.4rem; padding: 0;
}
.field .req { color: var(--accent); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 0.97rem; color: var(--ink);
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--rule); border-radius: 4px; background: var(--paper);
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); }
.field textarea { min-height: 6.5rem; resize: vertical; }
.field .err { display: none; color: #b91c1c; font-size: 0.83rem; margin-top: 0.35rem; }
.field.is-invalid .err { display: block; }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: #b91c1c; }

.fieldset { border: 0; padding: 0; margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chips label {
  font-size: 0.9rem; font-weight: 500; color: var(--steel);
  border: 1px solid var(--rule); border-radius: 999px; padding: 0.4rem 0.9rem;
  cursor: pointer; margin: 0;
}
.chips input { position: absolute; opacity: 0; width: 0; height: 0; }
.chips input:checked + span, .chips label:has(input:checked) { color: var(--accent-ink); }
.chips label:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.chips label:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }

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

.form__foot { margin-top: 1.6rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.form__note { font-size: 0.85rem; color: var(--steel); flex: 1 1 14rem; margin: 0; }
.form__alert { display: none; padding: 0.9rem 1.1rem; border-radius: 4px; font-size: 0.94rem; margin-bottom: 1.25rem; }
.form__alert.is-on { display: block; }
.form__alert--err { background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; }

.form__done { display: none; text-align: center; padding: 1.5rem 0; }
.form__done.is-on { display: block; }
.form__done h3 { color: var(--ok); }

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

.ftr { background: var(--ink); color: var(--steel-2); padding-block: 3rem 2.5rem; border-top: 1px solid var(--rule-dark); }
.ftr__in { display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: center; }
.ftr__logo svg { height: 24px; width: auto; }
.ftr nav { margin-left: auto; display: flex; flex-wrap: wrap; gap: 1.5rem; }
.ftr a { color: var(--steel-2); text-decoration: none; font-size: 0.92rem; }
.ftr a:hover { color: #fff; }
.ftr__legal { margin-top: 1.75rem; padding-top: 1.5rem; border-top: 1px solid var(--rule-dark); font-size: 0.84rem; }

/* ---------- Legal / thank-you pages ---------- */

.doc { max-width: 46rem; padding-block: clamp(3rem, 7vw, 5rem); }
.doc h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); }
.doc h2 { font-size: 1.25rem; margin-top: 2.5rem; }
.doc p, .doc li { color: var(--ink-2); }
.doc address { font-style: normal; color: var(--steel); }

.thanks { min-height: 68vh; display: grid; place-content: center; text-align: center; gap: 1.25rem; padding-block: 4rem; }
.thanks .mark { width: 56px; height: 56px; margin-inline: auto; }

/* ---------- Reveal on scroll ---------- */

/* Scoped to .js (set by boot.js) so the resting state without JavaScript is
   "visible", not "invisible" — see assets/boot.js. */
.js .rv { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.js .rv.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .rv { opacity: 1; transform: none; } }

@media print {
  .hdr, .hero::before, .js .rv { position: static; opacity: 1; transform: none; }
  body { color: #000; }
}
