/* Rabbit Hole Technologies - site styles.
   Palette and type come from SupraDraft's own mark, the app icon: a sheet of pleading paper (#FAF8F3) with a
   blue double rule (#1F4E79). Sampled 9/23 when the icon carried an M; the 9/24 S kept every color.
   Pure ASCII source; no external requests; no inline styles (CSP). */

@font-face { font-family: "Libre Caslon Display"; src: url("/assets/fonts/libre-caslon-display-400.84267e93.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Libre Caslon Text"; src: url("/assets/fonts/libre-caslon-text-400-italic.20eac03c.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Public Sans"; src: url("/assets/fonts/public-sans-var.5ed4d31c.woff2") format("woff2"); font-weight: 300 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Public Sans"; src: url("/assets/fonts/public-sans-var-italic.16dc9325.woff2") format("woff2"); font-weight: 300 800; font-style: italic; font-display: swap; }
@font-face { font-family: "Courier Prime"; src: url("/assets/fonts/courier-prime-400.f09844e1.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Courier Prime"; src: url("/assets/fonts/courier-prime-700.5c7ae1cc.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Courier Prime"; src: url("/assets/fonts/courier-prime-400-italic.84f91615.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }

:root {
  --page: #FCFCFB;        /* the desk: a clean near-white */
  --sheet: #FAF8F3;       /* pleading bond, sampled from the app icon */
  --ink: #16191F;         /* docket ink, blue-black */
  --margin: #1F4E79;      /* the double margin rule, sampled from the app icon */
  --exhibit: #F4C430;     /* exhibit stickers only */
  --graphite: #5C616A;    /* secondary text, line numbers */
  --hair: #DCD8CF;        /* hairlines, sampled from the icon's text bars */
  --ink-2: #242935;
  --page-2: #F3F2EE;
  --display: "Libre Caslon Display", "Libre Caslon Text", Georgia, "Times New Roman", serif;
  --display-italic: "Libre Caslon Text", Georgia, "Times New Roman", serif;
  --body: "Public Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --mono: "Courier Prime", "Courier New", Courier, monospace;
  --maxw: 1200px;
  --pad: clamp(20px, 4.5vw, 56px);
  --measure: 62ch;
  --lift: 0 1px 0 rgba(22, 25, 31, 0.04), 0 2px 6px rgba(22, 25, 31, 0.05), 0 28px 60px -30px rgba(22, 25, 31, 0.38);
  /* the night surface (cinematic 2026-09-25): the header and footer sitewide, and the two film pages.
     Paper is the only light source; brand blue lives only inside paper objects. */
  --night: #08090B;       /* page black */
  --night-2: #111317;     /* the one raised tone */
  --fog: #CDD0D6;         /* body text on night (~13:1) */
  --ash: #8E939C;         /* muted text on night */
  --night-hair: rgba(255, 255, 255, 0.14);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--page);
  color: var(--ink);
  font: 400 1.0625rem/1.65 var(--body);
  font-kerning: normal;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
main { flex: 1 0 auto; }
a { color: var(--margin); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { text-decoration-thickness: 2px; }
/* two-tone focus ring: a white outline with a night halo reads on paper and on black alike */
:focus-visible { outline: 2px solid #fff; outline-offset: 2px; box-shadow: 0 0 0 5px var(--night); border-radius: 2px; }
::selection { background: var(--exhibit); color: var(--ink); }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-weight: 400; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.draft-banner { background: var(--exhibit); color: var(--ink); font: 700 0.84rem/1.4 var(--mono); letter-spacing: 0.02em; text-align: center; padding: 10px 16px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: #fff; color: var(--night); font-weight: 650; padding: 10px 14px; border-radius: 2px; text-decoration: none; }
.skip:focus { top: 12px; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }

/* ---------- the margin rule: legal paper's double line, the site's one quiet motif ---------- */
.ruled { position: relative; padding-left: clamp(26px, 3.2vw, 44px); }
.ruled::before {
  content: "";
  position: absolute; left: 0; top: 0; bottom: 0; width: 6px;
  background: linear-gradient(to right, var(--margin) 0 1.5px, transparent 1.5px 4.5px, var(--margin) 4.5px 6px);
}

/* ---------- type ---------- */
.kicker {
  font: 700 0.78rem/1.2 var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--graphite);
  margin: 0 0 1.1rem;
}
.display {
  font-family: var(--display);
  font-size: clamp(2.55rem, 1.35rem + 4.1vw, 4.7rem);
  line-height: 1.02;
  letter-spacing: -0.012em;
  color: var(--ink);
  text-wrap: balance;
}
/* Caslon Text Italic runs larger and darker than the Display roman at the same size; 0.86em matches them
   optically. The italic sentence always starts its own line. */
.display em { display: block; font-family: var(--display-italic); font-style: italic; font-size: 0.86em; letter-spacing: -0.025em; margin-top: 0.04em; }
.h2 {
  font-family: var(--display);
  font-size: clamp(1.9rem, 1.3rem + 1.9vw, 2.9rem);
  line-height: 1.08;
  letter-spacing: -0.008em;
  text-wrap: balance;
}
.h2 em { font-family: var(--display-italic); font-style: italic; font-size: 0.9em; }
.h3 { font: 650 1.12rem/1.3 var(--body); letter-spacing: -0.005em; }
.lede { font-size: clamp(1.1rem, 1rem + 0.35vw, 1.28rem); line-height: 1.55; color: var(--ink-2); max-width: 36em; }
.prose { max-width: var(--measure); }
.muted { color: var(--graphite); }
.mono { font-family: var(--mono); }
.where { margin: 1.1rem 0 0; font-weight: 560; color: var(--ink); max-width: 34em; }
.facts { display: flex; flex-wrap: wrap; row-gap: 0.3em; font: 400 0.95rem/1.5 var(--mono); color: var(--graphite); margin: 1.4rem 0 0; }
.facts span { white-space: nowrap; }
.facts span:not(:last-child)::after { content: "\00B7"; margin: 0 0.6em; color: var(--graphite); opacity: 0.6; }

/* ---------- buttons ---------- */
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; margin: 2rem 0 0; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55em;
  font: 620 1rem/1 var(--body); letter-spacing: 0.005em;
  padding: 1em 1.45em; border-radius: 3px; text-decoration: none; border: 0; cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}
.btn-ink { background: var(--ink); color: var(--page); }
.btn-ink:hover { background: var(--margin); }
.btn-line { color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-line:hover { color: var(--margin); box-shadow: inset 0 0 0 1.5px var(--margin); }
.btn-exhibit { background: var(--exhibit); color: var(--ink); }
.btn-exhibit:hover { background: #FFD659; }
.btn-sm { font-size: 0.9rem; padding: 0.8em 1.1em; }
.store-badge img { height: 52px; width: auto; }
.soon { display: inline-flex; align-items: center; gap: 0.6em; font: 400 0.92rem/1.2 var(--mono); color: var(--ink-2);
  padding: 0.95em 1.2em; border-radius: 3px; box-shadow: inset 0 0 0 1px var(--hair); background: var(--sheet); }
.soon::before { content: ""; width: 0.55em; height: 0.55em; border-radius: 50%; background: var(--exhibit); box-shadow: 0 0 0 3px rgba(244, 196, 48, 0.25); }
.link-arrow { font-weight: 600; text-decoration: none; }
.link-arrow::after { content: " \2192"; transition: margin 0.18s ease; }
.link-arrow:hover::after { margin-left: 0.2em; }

/* ---------- header: a night bar sitewide (the film pages lay it over scene 1, in film.css) ---------- */
.site-header { position: relative; z-index: 5; background: var(--night); color: #fff; border-bottom: 1px solid var(--night-hair); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.wordmark { font: 800 0.95rem/1 var(--body); letter-spacing: 0.2em; text-transform: uppercase; color: #fff; text-decoration: none; padding: 10px 0; margin-right: -0.2em; }
.wordmark:hover { color: var(--fog); }
/* the maker under the wordmark on every page (owner 2026-10-04: make it clear SupraDraft is a product of Rabbit Hole
   Technologies, LLC); it wraps rather than crowd the Get button on a phone */
.hdr-lockup { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; min-width: 0; padding: 8px 0; }
.hdr-lockup .wordmark { padding: 2px 0; }
.byline { font: 600 0.68rem/1.25 var(--body); letter-spacing: 0.03em; color: var(--fog); }
/* the products nav (owner 2026-10-03, SupraDraft OCR go-live): SupraDraft OCR's link beside the Get button; on the
   OCR pages, which carry no Get button, it stands alone at the right */
.hdr-nav { margin-left: auto; }
.hdr-nav a { display: inline-block; padding: 10px 0; color: var(--fog); font: 700 0.74rem/1 var(--body); letter-spacing: 0.12em;
  text-transform: uppercase; text-decoration: none; white-space: nowrap; }
.hdr-nav a:hover, .hdr-nav a[aria-current] { color: #fff; }
.btn-cta { background: #fff; color: var(--night); font: 700 0.78rem/1 var(--body); letter-spacing: 0.12em; text-transform: uppercase;
  padding: 0.95em 1.25em; border-radius: 2px; white-space: nowrap; }
.btn-cta:hover { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px #fff; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; }
.brand .mark { width: 30px; height: 30px; flex: none; }
.brand-name { font: 680 1.02rem/1 var(--body); letter-spacing: 0.005em; }
.brand-name span { color: var(--graphite); font-weight: 500; }

/* ---------- hero: the headline runs the full width; lede and paper sit beneath it ---------- */
.hero { padding: clamp(28px, 5.5vw, 80px) 0 clamp(56px, 8vw, 120px); }
.hero .display { max-width: 15.5em; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(40px, 5vw, 64px); align-items: start; margin-top: clamp(26px, 3.4vw, 46px); }
@media (min-width: 980px) { .hero-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }
.hero .lede { margin: 0; }

/* ---------- the sheet: real HTML text on numbered pleading paper ---------- */
.sheet { container-type: inline-size; margin: 0; position: relative; }
.sheet-page {
  position: relative;
  background: var(--sheet);
  box-shadow: var(--lift);
  font-family: var(--mono);
  font-size: clamp(8px, 2.5cqi, 15.5px);
  color: var(--ink);
  padding: 2.2em 0 2em;
  overflow: hidden;
}
.sheet-page::before {  /* the double rule to the right of the line numbers */
  content: ""; position: absolute; top: 0; bottom: 0; left: 3.5em; width: 0.42em;
  background: linear-gradient(to right, var(--margin) 0 0.1em, transparent 0.1em 0.32em, var(--margin) 0.32em 0.42em);
}
.sheet-page::after {   /* the single rule at the right margin */
  content: ""; position: absolute; top: 0; bottom: 0; right: 1.9em; width: 0.08em; background: var(--margin); opacity: 0.55;
}
.sheet-lines { list-style: none; margin: 0; padding: 0; position: relative; z-index: 1; }
.sheet-lines li { display: grid; grid-template-columns: 3.1em 1fr; height: 2em; align-items: center; }
.sheet-lines .no { text-align: right; padding-right: 0.3em; font-size: 0.78em; color: var(--graphite); opacity: 0.8; }
.sheet-lines .tx { display: inline-block; white-space: pre; margin-left: 1.55em; justify-self: start; line-height: 1; }
.sheet-lines b { font-weight: 700; }
.sheet-fade { position: absolute; left: 0; right: 0; bottom: 0; height: 5.5em; z-index: 2;
  background: linear-gradient(to bottom, rgba(250, 248, 243, 0), var(--sheet) 85%); }
.caret-slot { display: inline-block; margin-left: 1.55em; white-space: pre; line-height: 1; }
.caret { display: inline-block; width: 0.6em; height: 1.15em; vertical-align: -0.2em; background: var(--margin); }
.sheet figcaption { margin-top: 1.1rem; font: 400 0.86rem/1.45 var(--body); color: var(--graphite); max-width: 44em; }

/* The typewriter: monospace + steps(n) reveals exactly one character per step. Each line knows its own
   length (--n, on any sheet: film.css's scroll-typed home sheet reads it too) and start time. Only runs when
   the visitor has not asked for reduced motion; otherwise the page shows the finished sheet. */
@media (prefers-reduced-motion: no-preference) {
  .sheet--live .tx { clip-path: inset(0 100% 0 0); animation: type var(--d, 0.5s) steps(var(--n, 20), end) var(--t, 0s) forwards; }
  .sheet--live .caret-slot { visibility: hidden; animation: appear 0.01s linear 3.75s forwards; }
  .sheet--live .caret { animation: blink 1.06s steps(1, end) 3.75s 4; }   /* blinks 4 times, then stays solid (WCAG 2.2.2) */
  .sheet .t1  { --n: 14; } .sheet--live .t1  { --d: 0.26s; --t: 0.55s; }
  .sheet .t2  { --n: 47; } .sheet--live .t2  { --d: 0.62s; --t: 0.90s; }
  .sheet .t3  { --n: 52; } .sheet--live .t3  { --d: 0.66s; --t: 1.56s; }
  .sheet .t4  { --n: 47; } .sheet--live .t4  { --d: 0.60s; --t: 2.26s; }
  .sheet .t5  { --n: 10; } .sheet--live .t5  { --d: 0.14s; --t: 2.90s; }
  .sheet .t6  { --n: 26; } .sheet--live .t6  { --d: 0.40s; --t: 3.20s; }
  .sheet .t10 { --n: 14; } .sheet--live .t10 { --d: 0.24s; --t: 4.50s; }
  .sheet .t11 { --n: 48; } .sheet--live .t11 { --d: 0.56s; --t: 4.80s; }
  .sheet .t12 { --n: 45; } .sheet--live .t12 { --d: 0.52s; --t: 5.40s; }
  .sheet .t13 { --n: 52; } .sheet--live .t13 { --d: 0.60s; --t: 5.96s; }
  .sheet .t14 { --n: 32; } .sheet--live .t14 { --d: 0.38s; --t: 6.60s; }
  .sheet .t15 { --n: 26; } .sheet--live .t15 { --d: 0.36s; --t: 7.02s; }
}
@keyframes type { to { clip-path: inset(0 0 0 0); } }
@keyframes appear { to { visibility: visible; } }
@keyframes blink { 0% { opacity: 1; } 50% { opacity: 0; } 100% { opacity: 1; } }

/* the home page's still stack of papers */
.stack { position: relative; padding: 18px 22px 26px 8px; }
.stack .leaf { position: absolute; inset: 18px 22px 26px 8px; background: var(--sheet); box-shadow: 0 1px 0 rgba(22,25,31,.04), 0 16px 40px -26px rgba(22,25,31,.4); }
.stack .leaf-1 { transform: rotate(-3.2deg) translate(-2%, 1.5%); }
.stack .leaf-2 { transform: rotate(2.1deg) translate(2.5%, 0.5%); }
.stack .sheet { position: relative; }

/* ---------- sections ---------- */
.section { padding: clamp(56px, 8vw, 120px) 0; }
.section + .section { padding-top: 0; }
.section-head { margin-bottom: clamp(28px, 4vw, 52px); max-width: 44rem; }
.section-head .h2 + p { margin-top: 1.2rem; }

/* the index of papers */
.index { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--hair); }
.index li { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px 40px; padding: 22px 0 24px; border-bottom: 1px solid var(--hair); }
@media (min-width: 760px) { .index li { grid-template-columns: 15rem minmax(0, 1fr); } }
.index .label { font: 700 0.88rem/1.5 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; padding-top: 0.12em; }
.index p { margin: 0; max-width: var(--measure); color: var(--ink-2); }

/* the statement */
.statement { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px 64px; align-items: start; }
@media (min-width: 900px) { .statement { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } }
.statement .big { font-family: var(--display); font-size: clamp(2.3rem, 1.4rem + 3vw, 3.9rem); line-height: 1.02; letter-spacing: -0.012em; }
.statement .big em { font-family: var(--display-italic); font-style: italic; font-size: 0.88em; }
.blanks { list-style: none; margin: 1.4rem 0 0; padding: 0; max-width: 30rem; }
.blanks li { height: 2.1rem; border-bottom: 1px solid var(--hair); }

/* two-up text */
.pair { display: grid; grid-template-columns: minmax(0, 1fr); gap: 44px 72px; }
@media (min-width: 900px) { .pair { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.pair .h2 { font-size: clamp(1.7rem, 1.2rem + 1.4vw, 2.35rem); margin-bottom: 1rem; }

/* how to get it: a real sequence, so it is numbered */
.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; gap: 0; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 3.2rem minmax(0, 1fr); gap: 0 18px; padding: 18px 0; border-top: 1px solid var(--hair); }
.steps li:last-child { border-bottom: 1px solid var(--hair); }
.steps li::before { content: counter(step); font: 400 1.9rem/1 var(--display); color: var(--margin); padding-top: 0.05em; }
.steps strong { display: block; font-weight: 650; }
.steps span { color: var(--graphite); }

/* the price card: a slip of the same paper */
.buy { display: grid; grid-template-columns: minmax(0, 1fr); gap: 44px 72px; align-items: start; }
@media (min-width: 940px) { .buy { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } }
.slip { background: var(--sheet); box-shadow: var(--lift); padding: clamp(26px, 3.5vw, 40px); position: relative; }
.slip::before { content: ""; position: absolute; left: clamp(12px, 1.6vw, 18px); top: 0; bottom: 0; width: 6px;
  background: linear-gradient(to right, var(--margin) 0 1.5px, transparent 1.5px 4.5px, var(--margin) 4.5px 6px); }
.slip-inner { padding-left: clamp(14px, 2vw, 22px); }
.price { font: 400 clamp(3.6rem, 2.6rem + 3vw, 5rem)/0.9 var(--display); letter-spacing: -0.02em; }
.price small { font: 400 1.05rem/1 var(--mono); letter-spacing: 0.04em; color: var(--graphite); margin-left: 0.35em; }
/* the tax line travels with the price at the label's weight, never as fine print */
.slip .tax { font: 600 clamp(0.95rem, 0.85rem + 0.4vw, 1.15rem)/1.3 var(--body); color: var(--ink-2); margin: 0.5rem 0 0; }
.slip ul { list-style: none; padding: 0; margin: 1.4rem 0 0; }
.slip li { padding: 0.55rem 0; border-top: 1px solid var(--hair); font-size: 0.98rem; }
.slip .fine { font-size: 0.86rem; color: var(--graphite); margin: 1.2rem 0 0; }
/* the buy-means-license line on a paper slip (SupraDraft OCR's, claims OC51; Cal. B&P 17500.6 (a)(1)): heavier than
   the tax line above it and ruled off from it, so it never reads as part of the price or as fine print */
.legal .slip .where.license-line { margin: 1rem 0 0; padding-top: 0.8rem; border-top: 1px solid var(--hair); font-weight: 700; color: var(--ink); }

/* questions */
.faq { border-top: 1px solid var(--hair); max-width: 52rem; }
.faq details { border-bottom: 1px solid var(--hair); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 44px 20px 0; position: relative; font-weight: 620; font-size: 1.04rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 14px; font: 400 1.6rem/1 var(--display); color: var(--margin); transition: transform 0.2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 0 22px; max-width: var(--measure); color: var(--ink-2); }
.faq details > div p:last-child { margin-bottom: 0; }

/* house rules on the home page */
.rules { display: grid; grid-template-columns: minmax(0, 1fr); gap: 36px 56px; }
@media (min-width: 900px) { .rules { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.rules h3 { font: 400 1.6rem/1.15 var(--display); margin: 0 0 0.7rem; }
.rules p { color: var(--ink-2); margin: 0; }
.rules .said { font-family: var(--display-italic); font-style: italic; font-size: 1.12rem; color: var(--ink); }

/* product panel on the home page */
.panel { display: grid; grid-template-columns: minmax(0, 1fr); gap: 36px 64px; align-items: center; }
@media (min-width: 940px) { .panel { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); } }
.panel-title { display: flex; align-items: center; gap: 16px; margin-bottom: 1.2rem; }
/* the product mark: the same sheet of pleading paper as the app icon, lettered S */
.product-mark { width: 64px; height: 64px; flex: none; filter: drop-shadow(0 8px 14px rgba(22, 25, 31, 0.22)); }
.product-mark .pm-paper { fill: var(--sheet); stroke: rgba(22, 25, 31, 0.16); stroke-width: 1.5; }
.product-mark .pm-rule { fill: var(--margin); }
.product-mark .pm-bar { fill: #C8C3B9; }
.product-mark .pm-letter { fill: var(--ink); font-family: var(--display); font-size: 36px; }
.panel-title .h2 { font-size: clamp(2.2rem, 1.6rem + 1.6vw, 3rem); }
/* the papers the product sets up, set like the index of a binder (no markers: the list is not a sequence) */
.papers { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--hair); }
.papers li { padding: 0.72rem 0 0.72rem 1.1rem; border-bottom: 1px solid var(--hair); position: relative;
  font: 700 0.84rem/1.4 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; }
.papers li::before { content: ""; position: absolute; left: 0; top: 0.72rem; bottom: 0.72rem; width: 4px;
  background: linear-gradient(to right, var(--margin) 0 1px, transparent 1px 3px, var(--margin) 3px 4px); }

/* ---------- documents: legal pages, privacy, support ---------- */
.doc-hero { padding: clamp(28px, 5vw, 72px) 0 clamp(20px, 3vw, 36px); }
.doc-title { font-family: var(--display); font-size: clamp(2.3rem, 1.5rem + 2.8vw, 3.7rem); line-height: 1.04; letter-spacing: -0.012em; }
.doc-meta { font: 400 0.92rem/1.5 var(--mono); color: var(--graphite); margin: 1rem 0 0; }
.doc-body { padding: 0 0 clamp(64px, 8vw, 120px); }
.legal { max-width: 46rem; font-size: 1.02rem; line-height: 1.72; color: var(--ink-2); }
.legal .lead-in { font-size: 1.1rem; color: var(--ink); }
.legal h2 { font: 400 1.55rem/1.2 var(--display); color: var(--ink); margin: 2.6rem 0 0.8rem; scroll-margin-top: 24px; }
.legal h2 .n { display: inline-block; min-width: 2.1em; font: 700 0.86rem/1 var(--mono); color: var(--margin); vertical-align: 0.2em; }
.legal h3 { font: 650 1.05rem/1.35 var(--body); color: var(--ink); margin: 1.8rem 0 0.5rem; }
.legal ul { padding-left: 1.2em; }
.legal li { margin: 0.35em 0; }
.legal ol.alpha { list-style: none; counter-reset: alpha; padding-left: 2.4em; margin: 0 0 1em; }
.legal ol.alpha > li { counter-increment: alpha; position: relative; }
.legal ol.alpha > li::before { content: "(" counter(alpha, lower-alpha) ")"; position: absolute; left: -2.4em; font: 400 0.95em/inherit var(--mono); color: var(--graphite); }
.legal .caps { text-transform: uppercase; font-size: 0.86rem; letter-spacing: 0.015em; line-height: 1.7; }
.legal .doc-end { margin-top: 3rem; font: 400 0.86rem/1.5 var(--mono); color: var(--graphite); }
.legal .promise { font: italic 400 clamp(1.4rem, 1.1rem + 1vw, 1.9rem)/1.3 var(--display-italic); color: var(--ink); margin: 0 0 1.6rem; }
.toc { margin: 2rem 0 0.5rem; padding: 1.2rem 1.4rem; background: var(--sheet); box-shadow: inset 0 0 0 1px var(--hair); }
.toc ol { margin: 0; padding-left: 1.6em; columns: 2 16rem; column-gap: 2.4rem; font-size: 0.94rem; }
.toc li { break-inside: avoid; margin: 0.2em 0; }
.callout { background: var(--sheet); box-shadow: inset 4px 0 0 var(--exhibit), inset 0 0 0 1px var(--hair); padding: 1rem 1.2rem 1rem 1.5rem; color: var(--ink); margin: 1.6rem 0; }
.callout p:last-child { margin: 0; }
.legal code, .legal .path { font: 400 0.95em var(--mono); color: var(--ink); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; max-width: 58rem; margin-bottom: 2rem; }
@media (min-width: 820px) { .contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.contact-line { font: 400 clamp(1rem, 0.8rem + 0.9vw, 1.4rem)/1.3 var(--display); margin: 0 0 0.8rem; overflow-wrap: anywhere; }
.contact-line a { color: var(--ink); text-decoration-color: var(--margin); }
.lost .doc-title { font-size: clamp(2.8rem, 1.8rem + 3.6vw, 4.6rem); }
.lost .lede { margin-top: 1.2rem; }

/* ---------- the AI edition note (the ai-band partial, on /supradraft/ only) and footer ----------
   A quiet note on the night, not a scene: sentence case at a note's size, so its "In development" label
   reads with it; the button sits under the text with the site's CTA type. */
.band { background: var(--night); color: var(--fog); border-top: 1px solid var(--night-hair); }
.band .wrap { padding-top: clamp(56px, 7vw, 96px); padding-bottom: clamp(56px, 7vw, 96px); }
.band .kicker { color: var(--ash); }
.band .h2 { margin: 0 0 0.8rem; font: 800 clamp(1.6rem, 1.3rem + 1vw, 2.1rem)/1.1 var(--body); letter-spacing: -0.01em; color: #fff; }
.band p { color: var(--fog); max-width: 40rem; }
.band-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 26px; justify-items: start; }
.band .btn-exhibit { background: none; color: #fff; box-shadow: inset 0 0 0 1.5px #fff; font: 700 0.78rem/1 var(--body); letter-spacing: 0.12em; text-transform: uppercase; }
.band .btn-exhibit:hover { background: #fff; color: var(--night); }
/* the footer: the same night as the header, a hairline on top; the company is quiet here */
.site-footer { background: var(--night); color: var(--ash); font-size: 0.94rem; border-top: 1px solid var(--night-hair); }
.site-footer a { color: var(--fog); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 36px 56px; padding-top: 64px; padding-bottom: 40px; }
@media (min-width: 820px) { .footer-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 3fr); } }
/* every page but SupraDraft OCR's carries both product columns (the OCR pages link no SupraDraft page: Test-Site G17) */
@media (min-width: 820px) { .footer-grid--four { grid-template-columns: minmax(0, 4fr) repeat(3, minmax(0, 3fr)); column-gap: 40px; } }
/* the home lockup's one in-page mention of SupraDraft OCR (owner 2026-10-03: its name on the home page); film.css is
   at its 20 KB budget, so the rule lives here. Fog on night, never brand blue (blue lives only inside paper) */
.lockup .lockup-also { margin: 0.7rem 0 0; font-size: 0.86rem; color: var(--ash); text-wrap: balance; }
.lockup-also a { color: var(--fog); text-decoration-color: var(--ash); }
.lockup-also a:hover { color: #fff; text-decoration-color: #fff; }
.footer-brand .brand { color: var(--ash); }
.footer-brand .brand:hover { color: var(--fog); text-decoration: none; }
.footer-brand .brand-name span { color: var(--ash); font-weight: 500; }
.footer-brand p { margin: 1rem 0 0; max-width: 24rem; }
.site-footer h2 { font: 700 0.74rem/1.2 var(--mono); letter-spacing: 0.18em; text-transform: uppercase; color: var(--ash); margin: 0 0 1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0 0 0.55rem; }
/* the hairline is drawn inside the content box, so it spans the text column on every page type */
.footer-legal { padding-bottom: 36px; display: grid; gap: 8px; font-size: 0.82rem; color: var(--ash); }
.footer-legal::before { content: ""; border-top: 1px solid var(--night-hair); margin-bottom: 18px; }
.footer-legal p { margin: 0; max-width: 60rem; }
.sign { font-family: var(--display-italic); font-style: italic; color: var(--fog); font-size: 1rem; margin-top: 10px !important; }

/* ---------- small screens ---------- */
@media (max-width: 700px) {
  .hero .sheet, .hero .stack { margin-right: calc(-1 * var(--pad)); }
}
@media (max-width: 560px) {
  .bar { min-height: 56px; }
  .wordmark { font-size: 0.86rem; letter-spacing: 0.17em; }
  .byline { font-size: 0.64rem; letter-spacing: 0.01em; }
  .btn-cta { padding: 0.85em 1em; letter-spacing: 0.1em; }
  .store-badge img { height: 46px; }
  .hdr-nav--wide { display: none; }   /* no room beside the wordmark and Get button; the footer and home carry the link */
}
@media (max-width: 359px) {   /* 320 px: the CTA stays one line with room to the wordmark */
  .wordmark { letter-spacing: 0.12em; }
  .btn-cta { padding: 0.8em 0.75em; letter-spacing: 0.06em; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

@media print {
  .site-header, .site-footer, .band, .skip, .actions { display: none !important; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .ruled::before, .sheet-page { box-shadow: none; }
  a { color: #000; }
}
/* the TM after SupraDraft OCR (owner 2026-10-04): small, raised, tucked against the R */
.tm{font-size:.42em;line-height:0;vertical-align:1.4em;margin-left:.02em;letter-spacing:0;font-weight:inherit}
.doc-title .tm{vertical-align:1.08em;margin-left:-.12em}   /* the product page headline face: level with the cap tops, against the R */
/* SupraDraft's tagline (owner 2026-10-31, claims R61): a quiet line in the body face right under the product name, as a
   start page puts a tagline under its name - no capitals, no bold, no motion; the TM a size up from the headline rule */
.tagline{margin:.75rem 0 0;max-width:34em;font-size:clamp(1rem,.95rem + .3vw,1.2rem);line-height:1.4;font-weight:450;color:var(--fog)}
.scene-label + .tagline{margin:-.7rem 0 1.35rem}   /* under the label, tight to it; the label's own gap moves below the line */
.tagline .tm{font-size:.62em;vertical-align:.62em;margin-left:.04em}
/* the TM after SupraDraft everywhere (owner 2026-11-01, "Add the TM to SupraDraft everywhere, including docs"; claims
   R62): running text, labels, the wordmark and buttons take the tagline's body size (the display rule above would be
   about 6px in body type); the home's SupraDraft head and the paper pages' section heads keep the display rule, set for
   their faces. The footer and the header's product link keep the base rule, so SupraDraft's mark there matches
   SupraDraft OCR's beside it (OC96, unchanged). line-height 0 (above): a mark never opens a line */
main p .tm,main li .tm,main summary .tm,main figcaption .tm,main blockquote .tm,.legal h3 .tm,.wordmark .tm,.btn .tm{font-size:.62em;vertical-align:.62em;margin-left:.04em}
.scene-title .tm{font-size:.36em;vertical-align:1.26em}   /* the neon head on /: as the OCR h1's beside it (neon.css) */
.legal h2 .tm{vertical-align:1.08em}   /* the Caslon section heads: level with the cap tops, as .doc-title's */
.kicker .tm,.scene-label .tm,.doc-meta .tm,.doc-end .tm{font-size:.9em;vertical-align:.2em}   /* the monospace lines: Courier Prime draws its TM small and high, so at .62em it was a smudge */
.steps .tm{color:inherit}   /* .steps span greys its spans: the mark keeps the colour of the words it follows */
/* in a flex box (.btn, .scene-label) a bare mark would be a flex item of its own, set apart by the gap and centred, so
   there the words and the mark share one wrapper <span> and the mark rides their line */
@media (max-width: 359px) { .bar { gap: 10px; } }   /* 320 px: the wordmark's and the Get button's marks take ~7 px; the byline keeps its two lines */
