/* Trida — shared stylesheet.
   Tokens, type scale and component shapes follow gravityocr.trillionlabs.co
   (trillion-labs/GravityOCR-landing-page) so the series reads as one family.

   Color roles (same as GravityOCR):
   - Primary white: headings, key results, primary actions.
   - Body gray: explanations that support a heading.
   - Muted gray: captions, units, sources, secondary navigation.
   - Dark surfaces group cards without switching themes.
   - Charts: gray is the reference, white is the series result.
   - One accent: the blue/lavender ink on the first hero line only. */

@font-face {
  font-family: 'Manrope';
  src: url(assets/fonts/Manrope-wght.woff2) format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Noto Sans KR';
  src: url(assets/fonts/NotoSansKR-wght-subset.woff2) format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+1100-11FF, U+3000-303F, U+3130-318F, U+AC00-D7A3, U+FF00-FFEF;
}

:root {
  color-scheme: dark;
  --bg: #0b0b0e;
  --surface: #141418;
  --surface-raised: #1c1c22;
  --line: #303038;
  --text: #f5f5f7;
  --text-body: #bcbcc5;
  --muted: #9797a3;
  --on-action: #111115;
  --chart-baseline: #62626d;
  --font: 'Manrope', 'Noto Sans KR', sans-serif;
  --mono: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  --radius: 12px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
p { margin: 0; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; cursor: pointer; }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 3px;
  border-radius: 4px;
}
code { font-family: var(--mono); font-size: .9em; }

.container { width: min(1184px, calc(100% - 80px)); margin-inline: auto; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 50;
  background: var(--text); color: var(--on-action);
  padding: 10px 14px; border-radius: 6px; font-weight: 600;
}
.skip-link:focus { top: 16px; }

/* ---------- Header ---------- */
.site-header { height: 88px; border-bottom: 1px solid var(--line); }
.header-inner {
  height: 100%; padding-inline: 60px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.wordmark { display: flex; align-items: center; gap: 22px; font-size: 25px; font-weight: 500; letter-spacing: -1px; }
.brand-separator { width: 1px; height: 22px; background: var(--line); }
.byline img { width: 112px; height: auto; opacity: .86; }
.byline:hover img { opacity: 1; }
nav { display: flex; align-items: center; gap: 36px; font-size: 15px; color: var(--muted); }
nav a:hover { color: var(--text); }
nav .nav-primary { color: var(--text); }

/* ---------- Hero ---------- */
.hero { padding-block: 72px 96px; }
.hero h1 {
  font-size: clamp(50px, 6vw, 84px);
  font-weight: 500;
  letter-spacing: -.065em;
  line-height: 1.2;
  margin: 0 0 40px;
  text-wrap: balance;
}
.hero h1 span { display: block; }
.hero h1 .hero-ink { color: #c4d9ff; }
@supports ((background-clip: text) or (-webkit-background-clip: text)) {
  .hero h1 .hero-ink {
    background-image: linear-gradient(105deg, #b7dcff 0%, #d8c8ff 35%, #c4d9ff 65%, #b7dcff 100%);
    background-size: 200% 100%;
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    animation: hero-ink-drift 12s ease-in-out infinite alternate;
  }
}
@keyframes hero-ink-drift { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }

.hero-bottom { display: flex; align-items: flex-end; justify-content: space-between; gap: 48px; }
.hero-bottom p { max-width: 620px; font-size: 18px; line-height: 1.8; color: var(--text-body); }
.hero-action { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; flex-shrink: 0; }
.compatibility { font-size: 13px; color: var(--muted); }

.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 56px; padding: 17px 24px;
  font-size: 15px; font-weight: 600; line-height: 1.4;
  border: 1px solid transparent; border-radius: 7px;
  transition: background .18s ease, border-color .18s ease;
}
.button-silver { background: var(--text); color: var(--on-action); }
.button-silver:hover { background: #ffffff; }
.button-outline { border-color: var(--line); color: var(--text); }
.button-outline:hover { border-color: #4a4a55; background: var(--surface); }

/* ---------- Sections ---------- */
.section { padding-block: 128px 0; }
.section:last-of-type { padding-bottom: 128px; }
.eyebrow { font-size: 11px; font-weight: 500; letter-spacing: 1.8px; color: var(--muted); text-transform: uppercase; margin: 0 0 22px; }
h2 {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 500;
  letter-spacing: -.05em;
  line-height: 1.3;
  margin: 0;
  text-wrap: balance;
}
h3 { font-size: 20px; font-weight: 500; letter-spacing: -.02em; line-height: 1.4; margin: 0; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: 48px; }
.section-heading > p { max-width: 430px; color: var(--text-body); line-height: 1.8; text-align: right; }

.kicker { font-size: 12px; letter-spacing: 1.3px; color: var(--muted); text-transform: uppercase; margin: 0 0 20px; }

/* Three-column feature row */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.feature-grid article { padding: 30px 30px 0 0; }
.feature-grid article + article { padding-left: 30px; border-left: 1px solid var(--line); }
.feature-number { display: block; font-size: 11px; letter-spacing: 1.6px; color: var(--muted); margin-bottom: 16px; }
.feature-grid h3 { margin-bottom: 12px; }
.feature-grid p { color: var(--text-body); line-height: 1.8; }

/* Cards */
.card-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.card-grid.three { grid-template-columns: repeat(3, 1fr); }
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px;
  display: flex; flex-direction: column; gap: 14px;
  min-width: 0;
}
.card p { color: var(--text-body); line-height: 1.8; }
.card .card-stat { margin-top: auto; padding-top: 18px; display: flex; align-items: baseline; gap: 10px; }
.card .card-stat b { font-size: 40px; font-weight: 500; letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.card .card-stat span { font-size: 13px; color: var(--muted); }
.card-links { display: flex; flex-wrap: wrap; gap: 8px 20px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14px; margin-top: auto; }
.card .card-stat + .card-links { margin-top: 0; }
.card-links a, .text-link { color: var(--text); border-bottom: 1px solid #55555f; }
.card-links a:hover, .text-link:hover { border-color: var(--text); }
.status {
  align-self: flex-start;
  font-size: 11px; letter-spacing: 1.2px; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px;
  border: 1px solid var(--line); color: var(--muted);
}
.status-live { color: var(--text); border-color: #55555f; }

/* Hub product sections: one per product, same shape for each */
nav.product-index {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  border-block: 1px solid var(--line); font-size: 24px; font-weight: 500;
  letter-spacing: -.03em; color: var(--text);
}
.product-index a { padding: 22px 24px 24px 0; display: grid; gap: 4px; }
.product-index a + a { padding-left: 24px; border-left: 1px solid var(--line); }
.product-index a span { font-size: 12px; font-weight: 400; letter-spacing: 1.3px; text-transform: uppercase; color: var(--muted); }
.product-index a:hover { color: var(--text); background: var(--surface); }
.product-head { display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; align-items: end; margin-bottom: 40px; }
.product-head h2 { font-size: clamp(44px, 5vw, 68px); letter-spacing: -.055em; line-height: 1.05; margin: 0; }
.product-head .eyebrow { display: flex; align-items: center; gap: 12px; }
.product-head .eyebrow .status { letter-spacing: 1.2px; }
.product-lede { font-size: 18px; line-height: 1.8; color: var(--text-body); max-width: 620px; }
.product-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: stretch; }
.product-body .speed-panel { border: 1px solid var(--line); border-radius: var(--radius); }
/* A product with its own site (TL-Decision): In/Out beside the ways in, no results panel */
.product-body-linkout { align-items: start; }
.product-use { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.io { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.io-row { display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding: 18px 22px; color: var(--text); line-height: 1.6; }
.io-row + .io-row { border-top: 1px solid var(--line); }
.io-label { font-size: 12px; letter-spacing: 1.3px; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.ways { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.ways li { border-bottom: 1px solid var(--line); }
.ways a { display: grid; gap: 4px; padding: 16px 0; }
.way-title { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 17px; font-weight: 500; }
.way-text { font-size: 14px; color: var(--text-body); line-height: 1.6; }
.ways a:hover .way-title { text-decoration: underline; text-underline-offset: 4px; }
.product-more { align-self: flex-start; font-size: 15px; }

/* How it works: animated draft / verify / commit demo (hub) */
.decode-demo { display: grid; gap: 0; }
.demo-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 16px; margin-bottom: 8px; }
.demo-phases { display: flex; gap: 8px; margin: 0; }
.demo-phases span {
  font-size: 11px; letter-spacing: 1.2px; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted);
  transition: color .25s, border-color .25s, background .25s;
}
.demo-phases span.on { color: var(--on-action); background: var(--text); border-color: var(--text); }
.demo-toggle {
  font-size: 13px; padding: 6px 14px; border-radius: 999px;
  background: transparent; border: 1px solid var(--line); color: var(--text-body);
}
.demo-toggle:hover { color: var(--text); border-color: #55555f; }
.lane { display: grid; grid-template-columns: 200px minmax(0, 1fr) 150px; gap: 24px; align-items: center; padding-block: 24px; }
.lane + .lane { border-top: 1px solid var(--line); }
.lane-head { display: grid; gap: 4px; }
.lane-head b { font-weight: 600; color: var(--text); font-size: 15px; }
.lane-head span { font-size: 13px; color: var(--muted); line-height: 1.5; }
.lane-count { margin: 0; font-size: 13px; color: var(--muted); text-align: right; }
.lane-count b { display: block; font-size: 40px; font-weight: 500; letter-spacing: -.05em; line-height: 1.1; color: var(--text); font-variant-numeric: tabular-nums; }
.tokens { display: flex; flex-wrap: wrap; gap: 8px; align-content: flex-start; min-width: 0; }
.tok {
  position: relative; font-size: 15px; line-height: 1; padding: 9px 12px; border-radius: 8px;
  border: 1px solid var(--line); background: var(--surface); color: var(--text-body);
  transition: background .3s, color .3s, border-color .3s, opacity .3s;
}
.tok.masked { border-style: dashed; color: transparent; }
.tok.draft { border-style: dashed; border-color: #55555f; color: var(--text-body); }
.tok.ok::after, .tok.fix::after {
  position: absolute; top: -7px; right: -6px; display: grid; place-items: center;
  min-width: 16px; height: 16px; padding: 0 4px; border-radius: 999px;
  font-size: 10px; font-weight: 700; background: var(--text); color: var(--on-action);
}
.tok.ok::after { content: "✓"; }
.tok.fix::after { content: "AR"; }
.tok .old { color: var(--muted); text-decoration: line-through; margin-right: 6px; }
.tok.drop { opacity: .2; }
.tok.done { background: var(--surface-raised); border-style: solid; border-color: #55555f; color: var(--text); }
.tok.done::after { content: none; }
.feature-grid article[data-phase] { transition: opacity .3s; }
.feature-grid.playing article[data-phase] { opacity: .45; }
.feature-grid.playing article.on { opacity: 1; }

/* Big-number speed panels (GravityOCR pattern) */
.speed-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.speed-grid.three { grid-template-columns: repeat(3, 1fr); }
.speed-panel { background: var(--surface); padding: 36px; display: flex; flex-direction: column; min-width: 0; }
.speed-panel + .speed-panel { border-left: 1px solid var(--line); }
.speed-number {
  font-size: clamp(72px, 7vw, 104px);
  font-weight: 500; line-height: 1.15; letter-spacing: -.06em;
  font-variant-numeric: tabular-nums;
  margin: 14px 0 10px;
}
.speed-number span { font-size: .28em; letter-spacing: 0; color: var(--muted); margin-left: 10px; }
.speed-grid.three .speed-number { font-size: clamp(60px, 5.4vw, 88px); }
.speed-number span { white-space: nowrap; }
.metric-context { color: var(--muted); font-size: 14px; line-height: 1.7; }
.metric-context strong { color: var(--text-body); font-weight: 500; }

/* Horizontal bar charts: gray = reference, white = ours */
.bars { margin-top: 32px; display: grid; gap: 18px; }
.bar-row { display: grid; gap: 8px; }
.bar-label { display: flex; justify-content: space-between; gap: 16px; font-size: 14px; color: var(--text-body); }
.bar-label b { color: var(--text); font-weight: 500; font-variant-numeric: tabular-nums; }
.bar-track { height: 14px; background: var(--surface-raised); border-radius: 0 3px 3px 0; }
.bar { display: block; height: 100%; width: var(--w); border-radius: 0 3px 3px 0; transform-origin: left; }
.bar.ref { background: var(--chart-baseline); }
.bar.ours { background: var(--text); }
.chart-note { margin-top: 24px; font-size: 12px; color: var(--muted); line-height: 1.7; }

/* Diagram */
.diagram {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 40px; margin: 48px 0 0;
}
.diagram svg { width: 100%; height: auto; }
.diagram figcaption { margin-top: 20px; font-size: 13px; color: var(--muted); line-height: 1.7; }

/* Tables */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface);
}
table { width: 100%; border-collapse: collapse; font-size: 15px; font-variant-numeric: tabular-nums; }
th, td { padding: 16px 24px; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; }
th { font-size: 12px; font-weight: 500; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); }
td { color: var(--text-body); }
td:first-child { color: var(--text); white-space: normal; min-width: 180px; }
td small, th small { display: block; font-weight: 400; color: var(--muted); font-size: 12px; }
tbody tr:last-child td { border-bottom: 0; }
td.best { color: var(--text); font-weight: 600; }
.table-caption { margin-top: 16px; font-size: 13px; color: var(--muted); line-height: 1.7; max-width: 860px; }
.table-title { margin: 48px 0 16px; }

/* Code */
.code-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.code-block {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  min-width: 0; display: flex; flex-direction: column;
}
.code-block header {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 14px 20px; border-bottom: 1px solid var(--line);
  font-size: 12px; letter-spacing: 1px; text-transform: uppercase; color: var(--muted);
}
.code-block pre {
  margin: 0; padding: 20px; overflow-x: auto;
  font-family: var(--mono); font-size: 13px; line-height: 1.75; color: var(--text-body);
}
.code-block .c { color: var(--muted); }
.code-block .k { color: var(--text); }
.copy-button {
  background: none; border: 1px solid var(--line); border-radius: 6px;
  padding: 4px 10px; font-size: 11px; letter-spacing: 1px; color: var(--muted);
}
.copy-button:hover { color: var(--text); border-color: #55555f; }

/* Decision demo (TL-Decision) */
.prob-list { display: grid; gap: 22px; padding: 20px; }
.prob-group h4 { margin: 0 0 10px; font-size: 13px; font-weight: 500; color: var(--text); font-family: var(--mono); }
.prob-group h4 span { color: var(--muted); font-family: var(--font); margin-left: 8px; }
.prob-row { display: grid; grid-template-columns: 96px 1fr 48px; align-items: center; gap: 12px; font-size: 13px; color: var(--text-body); }
.prob-row b { text-align: right; color: var(--text); font-weight: 500; font-variant-numeric: tabular-nums; }
.prob-row .bar-track { height: 10px; }

/* Callout */
.note {
  margin-top: 32px; padding: 24px 28px;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface);
  color: var(--text-body); font-size: 14px; line-height: 1.8;
}
.note strong { color: var(--text); font-weight: 600; }
.note ul { margin: 8px 0 0; padding-left: 18px; }

/* Link rows (get started) */
.link-list { border-top: 1px solid var(--line); }
.link-list a {
  display: grid; grid-template-columns: 200px 1fr auto; gap: 24px; align-items: center;
  padding: 24px 0; border-bottom: 1px solid var(--line);
}
.link-list a:hover .link-title { text-decoration: underline; text-underline-offset: 4px; }
.link-kind { font-size: 12px; letter-spacing: 1.3px; text-transform: uppercase; color: var(--muted); }
.link-title { font-size: 18px; font-weight: 500; }
.link-title small { display: block; font-size: 14px; font-weight: 400; color: var(--text-body); margin-top: 4px; }
.link-arrow { color: var(--muted); font-size: 18px; }

/* Statement band */
.band { margin-top: 128px; padding-block: 96px; background: var(--surface); border-block: 1px solid var(--line); }
.band-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: end; }
.band p { color: var(--text-body); line-height: 1.8; max-width: 520px; }
.band .text-link { display: inline-block; margin-top: 20px; }

/* FAQ */
.faq-layout { display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px; }
.faq-list { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary {
  list-style: none; cursor: pointer; padding: 24px 0;
  display: flex; justify-content: space-between; gap: 24px; font-size: 17px;
}
summary::-webkit-details-marker { display: none; }
summary span { color: var(--muted); transition: transform .2s ease; }
details[open] summary span { transform: rotate(45deg); }
details p { color: var(--text-body); line-height: 1.8; padding: 0 0 24px; max-width: 640px; }
details p + p { margin-top: -8px; }

/* Footer */
footer.site-footer {
  margin-top: 128px; border-top: 1px solid var(--line);
  padding-block: 34px 48px;
  display: flex; justify-content: space-between; gap: 48px; align-items: flex-start;
}
.footer-brand { font-size: 20px; font-weight: 500; letter-spacing: -.5px; }
.footer-links { display: grid; grid-template-columns: repeat(2, auto); gap: 10px 48px; font-size: 14px; color: var(--muted); }
.footer-links a:hover { color: var(--text); }
.footer-meta { font-size: 13px; color: var(--muted); display: grid; gap: 10px; justify-items: end; }
.footer-meta img { width: 112px; opacity: .8; }

/* Headline review switcher (only with ?review) */
.review-bar {
  position: fixed; right: 20px; bottom: 20px; z-index: 40;
  display: flex; align-items: center; gap: 6px;
  background: var(--surface-raised); border: 1px solid var(--line); border-radius: 10px;
  padding: 8px; font-size: 12px; color: var(--muted);
  box-shadow: 0 12px 30px rgba(0,0,0,.4);
}
.review-bar span { padding: 0 6px; }
.review-bar button {
  border: 1px solid var(--line); background: none; border-radius: 6px;
  padding: 6px 10px; color: var(--muted);
}
.review-bar button[aria-pressed=true] { color: var(--text); border-color: var(--text); }

/* Motion: sections enter once */
.js .reveal { transform: translateY(16px); }
.js .reveal.in { transform: none; transition: transform .55s ease; }
.js .bars .bar { transform: scaleX(0); }
.js .bars.in .bar { transform: scaleX(1); transition: transform .75s cubic-bezier(.2,.7,.2,1); }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .speed-grid.three { grid-template-columns: 1fr; }
  .speed-grid.three .speed-panel + .speed-panel { border-left: 0; border-top: 1px solid var(--line); }
  .faq-layout, .band-inner { grid-template-columns: 1fr; gap: 32px; }
  .card-grid.three { grid-template-columns: 1fr; }
}
@media (max-width: 1000px) {
  nav { gap: 24px; }
}
@media (max-width: 900px) {
  .header-inner { padding-inline: 32px; }
  .product-head, .product-body { grid-template-columns: 1fr; gap: 20px; }
  .lane { grid-template-columns: 1fr auto; gap: 14px 20px; }
  .lane .tokens { grid-column: 1 / -1; grid-row: 2; }
  .lane-count b { font-size: 32px; }
  nav.product-index { font-size: 20px; }
  .container { width: calc(100% - 64px); }
  .hero-bottom { flex-direction: column; align-items: flex-start; }
  .section-heading { flex-direction: column; align-items: flex-start; gap: 20px; }
  .section-heading > p { text-align: left; }
  .card-grid, .code-grid, .speed-grid { grid-template-columns: 1fr; }
  .speed-panel + .speed-panel { border-left: 0; border-top: 1px solid var(--line); }
  .link-list a { grid-template-columns: 1fr auto; }
  .link-kind { grid-column: 1 / -1; }
}
@media (max-width: 700px) {
  .feature-grid { grid-template-columns: 1fr; }
  .feature-grid article, .feature-grid article + article { padding: 26px 0; border-left: 0; }
  .feature-grid article + article { border-top: 1px solid var(--line); }
}
@media (max-width: 640px) {
  .site-header { height: 72px; }
  .header-inner { padding-inline: 20px; }
  .container { width: calc(100% - 40px); }
  .wordmark { font-size: 22px; gap: 14px; }
  .byline, .brand-separator { display: none; }
  nav { gap: 20px; font-size: 14px; }
  nav .nav-secondary { display: none; }
  .hero { padding-block: 44px 64px; }
  .hero h1 { font-size: clamp(38px, 10.4vw, 54px); letter-spacing: -.055em; margin-bottom: 28px; }
  .hero-bottom p { font-size: 16px; }
  .hero-bottom p br { display: none; }
  .section { padding-top: 88px; }
  .card, .speed-panel { padding: 26px 22px; }
  .diagram { padding: 22px 16px; }
  th, td { padding: 14px 16px; }
  .band { margin-top: 88px; padding-block: 64px; }
  footer.site-footer { flex-direction: column; gap: 28px; margin-top: 88px; }
  .footer-meta { justify-items: start; }
  .prob-row { grid-template-columns: 78px 1fr 42px; }
  .tok { font-size: 13px; padding: 7px 9px; }
  nav.product-index { grid-template-columns: 1fr; }
  .product-index a, .product-index a + a { padding: 16px 0; border-left: 0; }
  .product-index a + a { border-top: 1px solid var(--line); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero h1 .hero-ink { animation: none; background-position: 50% 50%; }
  .js .reveal, .js .reveal.in { opacity: 1; transform: none; transition: none; }
  .js .bars .bar, .js .bars.in .bar { transform: none; transition: none; }
  summary span { transition: none; }
}
@media (forced-colors: active) {
  .hero h1 .hero-ink { background: none; color: CanvasText; -webkit-text-fill-color: CanvasText; animation: none; }
  .bar.ours { background: CanvasText; }
  .bar.ref { background: GrayText; }
}
