/* zhsafe public site. Shared by index.html and docs.html. */

:root {
  --paper: #f5f6f4;
  --paper-2: #eceeea;
  --surface: #ffffff;
  --ink: #1a2026;
  --ink-2: #3a444d;
  --muted: #5d6871;
  --line: #d3d8d4;
  --grid: #b4cdc1;
  --grid-strong: #6f9a88;
  --pass: #1d7a4e;
  --pass-bg: #e1f1e8;
  --review: #955800;
  --review-bg: #fbeed6;
  --block: #b3302a;
  --block-bg: #f8e1df;
  --focus: #2f6fdb;
  --code-bg: #1d2329;
  --code-ink: #e2e8e4;
  --code-muted: #8fa09a;
  --btn-ink: #f5f6f4;

  --font-ui: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-cjk: "Noto Serif SC", "Songti SC", "SimSun", serif;
  --font-code: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --wrap: 72rem;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #111518;
    --paper-2: #161b1f;
    --surface: #1a2025;
    --ink: #e6ebe8;
    --ink-2: #c3cbc7;
    --muted: #93a09a;
    --line: #2b343a;
    --grid: #2d4a3f;
    --grid-strong: #4f7a69;
    --pass: #5cc48f;
    --pass-bg: #15312a;
    --review: #e6ac4f;
    --review-bg: #392b12;
    --block: #f07a70;
    --block-bg: #3d1d1b;
    --focus: #7aa7ff;
    --code-bg: #0b0e10;
    --code-ink: #dfe6e2;
    --code-muted: #7d8c86;
    --btn-ink: #111518;
    color-scheme: dark;
  }
}

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

html { -webkit-text-size-adjust: 100%; scroll-padding-top: 5rem; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 1.0625rem;
  line-height: 1.55;
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { text-decoration-thickness: 2px; }

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

code, pre, kbd { font-family: var(--font-code); font-size: 0.86em; }

:not(pre) > code {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 0.05em 0.35em;
  white-space: nowrap;
}

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

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip { position: absolute; left: 1rem; top: -3rem; background: var(--ink); color: var(--paper); padding: 0.5rem 0.75rem; border-radius: 4px; z-index: 20; }
.skip:focus { top: 1rem; }

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

.site-header {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(8px);
  -webkit-backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 3.75rem; }

.brand { display: inline-flex; align-items: center; gap: 0.55rem; font-weight: 700; font-size: 1.125rem; letter-spacing: -0.01em; text-decoration: none; }
.brand-mark {
  width: 1.6rem; height: 1.6rem; display: grid; place-items: center;
  border: 1.5px solid var(--grid-strong); border-radius: 2px;
  font-family: var(--font-cjk); font-weight: 600; font-size: 0.95rem; line-height: 1;
  background:
    linear-gradient(var(--grid), var(--grid)) center / 1px 100% no-repeat,
    linear-gradient(var(--grid), var(--grid)) center / 100% 1px no-repeat;
}
.brand-mark span { background: var(--paper); padding: 0 1px; }

.site-nav { display: flex; align-items: center; gap: clamp(0.75rem, 3vw, 1.75rem); font-size: 0.95rem; }
.site-nav a { text-decoration: none; color: var(--ink-2); }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--ink); text-decoration: underline; }
.site-nav .btn { color: var(--btn-ink); text-decoration: none; }
@media (max-width: 30rem) { .site-nav .hide-sm { display: none; } }

/* ---------- Buttons & fields ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 2.75rem; padding: 0.55rem 1.1rem;
  border: 1px solid var(--ink); border-radius: 6px;
  background: var(--ink); color: var(--btn-ink);
  font: inherit; font-weight: 600; font-size: 0.975rem; line-height: 1.2;
  text-decoration: none; cursor: pointer;
  transition: background-color 0.15s, color 0.15s, opacity 0.15s;
}
.btn:hover { background: var(--ink-2); border-color: var(--ink-2); }
.btn[disabled] { opacity: 0.6; cursor: progress; }
.btn-quiet { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-quiet:hover { background: var(--paper-2); border-color: var(--ink-2); color: var(--ink); }
.btn-sm { min-height: 2rem; padding: 0.3rem 0.7rem; font-size: 0.85rem; border-radius: 5px; }

.field { display: grid; gap: 0.35rem; }
.field label, .label { font-weight: 600; font-size: 0.925rem; }
.field .hint { color: var(--muted); font-size: 0.85rem; font-weight: 400; }

input[type="text"], input[type="email"], select, textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--surface); border: 1px solid var(--line); border-radius: 6px;
  padding: 0.65rem 0.75rem;
}
input:hover, select:hover, textarea:hover { border-color: var(--grid-strong); }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--focus); outline-offset: 0; border-color: transparent; }
textarea { resize: vertical; min-height: 7.5rem; line-height: 1.6; }
select {
  appearance: none; -webkit-appearance: none; padding-right: 2.25rem;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 1.1rem) 55%, calc(100% - 0.8rem) 55%;
  background-size: 0.3rem 0.3rem; background-repeat: no-repeat;
}

/* ---------- Manuscript sheet (the signature element) ---------- */

.sheet {
  --cell: 2.6rem;
  display: flex; flex-wrap: wrap; row-gap: 0.4rem;
  padding-left: 1px;
}
.sheet .cell {
  width: var(--cell); height: var(--cell);
  margin-left: -1px;
  border: 1px solid var(--grid);
  display: grid; place-items: center;
  font-family: var(--font-cjk); font-weight: 500; font-size: calc(var(--cell) * 0.52);
  line-height: 1; color: var(--ink);
  background: var(--surface);
  position: relative;
}
.sheet .cell.latin { font-family: var(--font-ui); font-weight: 500; font-size: calc(var(--cell) * 0.46); }
.sheet .brk { flex-basis: 100%; height: 0; }
.sheet .cell.hit { background: var(--hit-bg, var(--review-bg)); }
.sheet .cell.hit::after {
  content: ""; position: absolute; left: 3px; right: 3px; bottom: 3px; height: 2px;
  background: var(--hit, var(--review)); border-radius: 1px;
}
.sheet.is-block { --hit: var(--block); --hit-bg: var(--block-bg); }
.sheet.is-review { --hit: var(--review); --hit-bg: var(--review-bg); }

/* Hero specimen: fixed 10-column sheet */
.specimen {
  display: grid; grid-template-columns: repeat(10, var(--cell)); row-gap: 0.45rem;
  --cell: clamp(1.7rem, calc((100vw - 2 * var(--gutter) - 2px) / 10), 3.1rem);
  padding-left: 1px;
}
.specimen .cell { margin-left: -1px; }

@media (prefers-reduced-motion: no-preference) {
  .specimen .cell.hit { animation: ink-in 0.35s ease-out both; animation-delay: calc(0.6s + var(--i, 0) * 0.07s); }
  .specimen .cell.hit::after { animation: rule-in 0.35s ease-out both; animation-delay: calc(0.6s + var(--i, 0) * 0.07s); transform-origin: left; }
  .note { animation: note-in 0.5s ease-out 1.45s both; }
}
@keyframes ink-in { from { background: var(--surface); } }
@keyframes rule-in { from { transform: scaleX(0); } }
@keyframes note-in { from { clip-path: inset(0 0 100% 0); transform: translateY(4px); } to { clip-path: inset(0 0 0 0); } }

/* ---------- Verdict chip ---------- */

.verdict {
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-weight: 700; font-size: 0.95rem; letter-spacing: 0.01em;
  padding: 0.25rem 0.7rem 0.25rem 0.55rem; border-radius: 999px;
  border: 1.5px solid currentColor;
}
.verdict::before { content: ""; width: 0.55rem; height: 0.55rem; border-radius: 50%; background: currentColor; }
.verdict.pass { color: var(--pass); background: var(--pass-bg); }
.verdict.review { color: var(--review); background: var(--review-bg); }
.verdict.block { color: var(--block); background: var(--block-bg); }

/* ---------- Landing: hero ---------- */

.hero { padding: clamp(3rem, 8vw, 6.5rem) 0 clamp(3rem, 7vw, 5.5rem); }
.hero .wrap { display: grid; gap: clamp(2.5rem, 5vw, 4rem); align-items: center; }
@media (min-width: 60rem) { .hero .wrap { grid-template-columns: 1.05fr 1fr; } }

.hero h1 {
  font-size: clamp(2.25rem, 5.4vw, 3.9rem); line-height: 1.04; letter-spacing: -0.035em;
  font-weight: 700; margin: 0 0 1.25rem; max-width: 14ch; text-wrap: balance;
}
.hero .lede { font-size: clamp(1.075rem, 1.6vw, 1.225rem); color: var(--ink-2); max-width: 36rem; margin: 0 0 2rem; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.specimen-wrap { justify-self: start; max-width: 100%; }
@media (min-width: 60rem) { .specimen-wrap { justify-self: end; } }
.specimen-cap { font-size: 0.85rem; color: var(--muted); margin: 0 0 0.75rem; }

.note {
  margin-top: 1.1rem; padding-left: 1rem;
  border-left: 2px solid var(--block);
  max-width: 31rem;
}
.note-head { display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; margin-bottom: 0.4rem; }
.note-cat { font-family: var(--font-code); font-size: 0.875rem; color: var(--ink-2); }
.note p { margin: 0; color: var(--ink-2); font-size: 0.975rem; }

/* ---------- Landing: sections ---------- */

.section { padding: clamp(3.5rem, 8vw, 6rem) 0; border-top: 1px solid var(--line); }
.section.alt { background: var(--paper-2); }
.section h2 { font-size: clamp(1.65rem, 3.2vw, 2.4rem); line-height: 1.12; letter-spacing: -0.025em; margin: 0 0 0.75rem; max-width: 24ch; text-wrap: balance; }
.section .intro { color: var(--ink-2); max-width: 40rem; margin: 0 0 2.5rem; }

/* Playground */
.pg { display: grid; gap: 2rem; }
@media (min-width: 60rem) { .pg { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 3rem; } }
.pg-form { display: grid; gap: 1.1rem; align-content: start; }
.pg-row { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: end; }
.pg-row .field { flex: 1 1 12rem; }
.pg-count { font-size: 0.85rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.pg-count.over { color: var(--block); }
.examples { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0; padding: 0; border: 0; }
.examples legend { font-weight: 600; font-size: 0.925rem; margin-bottom: 0.5rem; padding: 0; }
.chip {
  font: inherit; font-size: 0.875rem; cursor: pointer; color: var(--ink-2);
  background: transparent; border: 1px dashed var(--grid-strong); border-radius: 4px;
  padding: 0.3rem 0.65rem;
}
.chip:hover { background: var(--surface); border-style: solid; color: var(--ink); }

.pg-out {
  background: var(--surface); border: 1px solid var(--line); border-radius: 10px;
  padding: clamp(1.1rem, 3vw, 1.75rem); min-height: 16rem; min-width: 0;
}
.pg-empty { color: var(--muted); margin: 0; }
.pg-empty .sheet { margin-bottom: 1rem; opacity: 0.8; }
.pg-msg { margin: 0; padding: 0.85rem 1rem; border-radius: 6px; background: var(--paper-2); border-left: 3px solid var(--muted); }
.pg-msg.err { border-left-color: var(--block); }
.pg-msg strong { display: block; margin-bottom: 0.15rem; }

.res-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem 1.25rem; margin-bottom: 1.25rem; }
.res-head .verdict { font-size: 1.35rem; padding: 0.35rem 1rem 0.35rem 0.8rem; }
.res-head .verdict::before { width: 0.75rem; height: 0.75rem; }
.res-meta { display: flex; flex-wrap: wrap; gap: 0.25rem 1rem; margin: 0; font-size: 0.85rem; color: var(--muted); }
.res-meta div { display: flex; gap: 0.3rem; }
.res-meta dt { margin: 0; }
.res-meta dd { margin: 0; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.res-text { margin: 0 0 1.5rem; }
.res-text .sheet { --cell: 2rem; }
@media (max-width: 30rem) { .res-text .sheet { --cell: 1.75rem; } }
.res-text-note { font-size: 0.85rem; color: var(--muted); margin: 0.5rem 0 0; }

.cats { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.1rem; }
.cat { border-top: 1px solid var(--line); padding-top: 1rem; }
.cat-top { display: grid; grid-template-columns: minmax(6rem, auto) 1fr auto; align-items: center; gap: 0.75rem; }
.cat-name { font-family: var(--font-code); font-size: 0.925rem; font-weight: 600; }
.bar { height: 0.45rem; background: var(--paper-2); border-radius: 999px; overflow: hidden; }
.bar > span { display: block; height: 100%; background: var(--ink-2); border-radius: inherit; }
.cat-score { font-variant-numeric: tabular-nums; font-size: 0.9rem; font-weight: 600; min-width: 2.6rem; text-align: right; }
.cat-agree { font-size: 0.85rem; color: var(--muted); margin: 0.35rem 0 0; }
.cat-expl { margin: 0.4rem 0 0; color: var(--ink-2); font-size: 0.975rem; }
.cat-spans { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0.55rem 0 0; padding: 0; list-style: none; }
.cat-spans li { font-family: var(--font-cjk); font-size: 0.925rem; background: var(--paper-2); border: 1px solid var(--line); border-radius: 4px; padding: 0.1rem 0.45rem; }
.no-cats { color: var(--muted); margin: 0; }

.curl { margin-top: 2.5rem; min-width: 0; }
.curl-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 0.6rem; }
.curl-head p { margin: 0; font-weight: 600; font-size: 0.925rem; }
.curl-head .hint { font-weight: 400; color: var(--muted); }

/* Code blocks */
pre.code {
  margin: 0; background: var(--code-bg); color: var(--code-ink);
  border-radius: 8px; padding: 1rem 1.1rem; overflow-x: auto;
  font-size: 0.85rem; line-height: 1.6; tab-size: 2;
  max-width: 100%;
}
pre.code .c { color: var(--code-muted); }
.code-block { position: relative; min-width: 0; }
.code-block .copy {
  position: absolute; top: 0.5rem; right: 0.5rem;
  background: color-mix(in srgb, var(--code-bg) 70%, #ffffff 12%); color: var(--code-ink);
  border: 1px solid color-mix(in srgb, var(--code-ink) 25%, transparent); border-radius: 4px;
  font: inherit; font-size: 0.78rem; padding: 0.2rem 0.55rem; cursor: pointer;
}
.code-block .copy:hover { border-color: var(--code-ink); }
.code-block pre.code { padding-right: 4.75rem; }

/* Audiences */
.aud { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.aud li { display: grid; gap: 0.5rem 2rem; padding: 1.4rem 0; border-bottom: 1px solid var(--line); }
@media (min-width: 48rem) { .aud li { grid-template-columns: 15rem 1fr 13rem; align-items: baseline; } }
.aud h3 { margin: 0; font-size: 1.1rem; letter-spacing: -0.01em; }
.aud p { margin: 0; color: var(--ink-2); }
.aud .scenes { display: flex; flex-wrap: wrap; gap: 0.35rem; }

/* Value points */
.values { display: grid; gap: 2.25rem 3.5rem; }
@media (min-width: 48rem) { .values { grid-template-columns: 1fr 1fr; } }
.values h3 { margin: 0 0 0.4rem; font-size: 1.2rem; letter-spacing: -0.015em; }
.values p { margin: 0; color: var(--ink-2); max-width: 32rem; }

/* Steps (a real sequence) */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: step; }
@media (min-width: 56rem) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { counter-increment: step; padding: 1.25rem 1.25rem 1.25rem 0; border-top: 2px solid var(--ink); position: relative; }
@media (min-width: 56rem) { .steps li + li { padding-left: 1.25rem; border-left: 1px solid var(--line); } }
.steps li::before { content: counter(step); display: block; font-weight: 700; font-size: 0.9rem; color: var(--muted); margin-bottom: 0.6rem; font-variant-numeric: tabular-nums; }
.steps h3 { margin: 0 0 0.35rem; font-size: 1.075rem; }
.steps p { margin: 0; color: var(--ink-2); font-size: 0.975rem; }

/* Category list */
.catlist { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0 0 1.5rem; padding: 0; list-style: none; }
.catlist li { font-family: var(--font-code); font-size: 0.875rem; padding: 0.3rem 0.6rem; border: 1px solid var(--line); border-radius: 4px; background: var(--surface); }

/* Early access */
.ea { display: grid; gap: 2.5rem; }
@media (min-width: 56rem) { .ea { grid-template-columns: 1fr 1.1fr; gap: 4rem; } }
.ea-points { margin: 1.5rem 0 0; padding: 0 0 0 1.1rem; color: var(--ink-2); }
.ea-points li { margin-bottom: 0.5rem; }
.ea-form { display: grid; gap: 1.1rem; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: clamp(1.25rem, 3vw, 2rem); align-content: start; }
.ea-form .req { color: var(--muted); font-weight: 400; }
.form-status { margin: 0; font-size: 0.95rem; }
.form-status.err { color: var(--block); }
.ea-done h3 { margin: 0 0 0.5rem; font-size: 1.25rem; }
.ea-done p { margin: 0; color: var(--ink-2); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 2rem 0 2.5rem; color: var(--muted); font-size: 0.9rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; }
.site-footer nav { display: flex; gap: 1.25rem; }
.site-footer a { color: var(--ink-2); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }

/* ---------- Docs ---------- */

.docs { display: grid; gap: 2rem; padding-top: clamp(2rem, 5vw, 3.5rem); padding-bottom: 4rem; }
@media (min-width: 58rem) { .docs { grid-template-columns: 13.5rem minmax(0, 1fr); gap: 3.5rem; } }

.toc { font-size: 0.925rem; min-width: 0; }
.toc p { font-weight: 700; margin: 0 0 0.6rem; }
.toc ul { list-style: none; margin: 0; padding: 0; }
.toc a { display: block; text-decoration: none; color: var(--ink-2); padding: 0.3rem 0 0.3rem 0.75rem; border-left: 1px solid var(--line); }
.toc a:hover { color: var(--ink); border-left-color: var(--ink-2); }
.toc a.active { color: var(--ink); border-left: 2px solid var(--ink); padding-left: calc(0.75rem - 1px); font-weight: 600; }
.toc code { background: none; border: 0; padding: 0; }
@media (min-width: 58rem) { .toc nav { position: sticky; top: 5rem; } }
@media (max-width: 57.99rem) {
  .toc { border: 1px solid var(--line); border-radius: 8px; padding: 1rem; background: var(--surface); }
  .toc ul { columns: 2; column-gap: 1rem; }
  .toc a { border-left: 0; padding-left: 0; }
  .toc a.active { border-left: 0; padding-left: 0; }
}

.doc { min-width: 0; max-width: 48rem; }
.doc h1 { font-size: clamp(2rem, 4.5vw, 2.9rem); letter-spacing: -0.03em; line-height: 1.08; margin: 0 0 1rem; }
.doc h2 { font-size: clamp(1.45rem, 2.8vw, 1.8rem); letter-spacing: -0.02em; line-height: 1.2; margin: 3.5rem 0 1rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.doc h3 { font-size: 1.125rem; margin: 2rem 0 0.75rem; }
.doc p, .doc li { color: var(--ink-2); }
.doc p { margin: 0 0 1rem; }
.doc ul { padding-left: 1.2rem; }
.doc .lede { font-size: 1.15rem; }
.endpoint { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem; margin: 0 0 1.25rem; font-family: var(--font-code); font-size: 0.95rem; }
.method { font-weight: 700; font-size: 0.8rem; padding: 0.2rem 0.5rem; border-radius: 4px; background: var(--ink); color: var(--btn-ink); }
.doc .code-block, .doc pre.code { margin: 0 0 1.25rem; }

.table-wrap { overflow-x: auto; margin: 0 0 1.5rem; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
table { border-collapse: collapse; width: 100%; font-size: 0.925rem; }
th, td { text-align: left; vertical-align: top; padding: 0.65rem 0.85rem; border-bottom: 1px solid var(--line); }
tr:last-child td { border-bottom: 0; }
th { font-weight: 600; background: var(--paper-2); color: var(--ink); white-space: nowrap; }
td { color: var(--ink-2); }
td code { white-space: normal; overflow-wrap: anywhere; }
td:first-child code { white-space: nowrap; overflow-wrap: normal; }

.callout { border-left: 3px solid var(--grid-strong); background: var(--surface); padding: 0.85rem 1rem; border-radius: 0 6px 6px 0; margin: 0 0 1.5rem; }
.callout p:last-child { margin-bottom: 0; }

.tabs { margin: 0 0 1.5rem; min-width: 0; }
.tablist { display: flex; gap: 0.25rem; border-bottom: 1px solid var(--line); margin-bottom: 0.75rem; }
.tablist button {
  font: inherit; font-size: 0.9rem; font-weight: 600; color: var(--muted); background: none; cursor: pointer;
  border: 0; border-bottom: 2px solid transparent; padding: 0.5rem 0.75rem; margin-bottom: -1px;
}
.tablist button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--ink); }
.tabs [role="tabpanel"] .code-block { margin: 0; }

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