/* Berry Design Co. site styles. No third-party requests: fonts are self-hosted (OFL, licenses in assets/fonts). */

@font-face {
  font-family: "Fraunces";
  src: url("fonts/fraunces-latin-opsz-normal.woff2") format("woff2-variations"),
       url("fonts/fraunces-latin-opsz-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("fonts/inter-latin-wght-normal.woff2") format("woff2-variations"),
       url("fonts/inter-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #fbf7ef;
  --paper-2: #f4eddf;
  --paper-3: #ebe2cf;
  --card: #fffdf8;
  --ink: #1b2230;
  --ink-2: #4a5263;
  --ink-3: #5f6575;
  --line: #e2d9c6;
  --accent: #1f5eea;
  --accent-deep: #1747b8;
  --accent-soft: #e6edfd;
  --leaf: #2f7a3a;

  --serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --wrap: 1160px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(64px, 8vw, 108px);
  --radius: 14px;
  --shadow-card: 0 1px 1px rgba(40, 30, 10, .06), 0 2px 4px rgba(40, 30, 10, .06), 0 18px 40px -14px rgba(40, 30, 10, .30);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
a { color: var(--accent); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--accent-deep); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { margin: 0; color: var(--ink); text-wrap: balance; }
h1, h2 { font-family: var(--serif); font-weight: 600; font-optical-sizing: auto; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.3rem, 1.5rem + 3vw, 3.75rem); line-height: 1.06; }
h2 { font-size: clamp(1.9rem, 1.4rem + 1.9vw, 2.75rem); line-height: 1.12; }
h3 { font-size: 1.15rem; font-weight: 650; line-height: 1.3; letter-spacing: -0.005em; }
p { margin: 0; text-wrap: pretty; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 650;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent-deep);
}
.lead { font-size: clamp(1.06rem, 1rem + .3vw, 1.2rem); line-height: 1.6; color: var(--ink-2); }
.muted { color: var(--ink-2); }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 10;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px;
  font-weight: 600; text-decoration: none;
}
.skip:focus { top: 12px; color: #fff; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 48px; padding: 12px 22px;
  border-radius: 10px; border: 1px solid transparent;
  font: 600 1rem/1.2 var(--sans);
  text-decoration: none; white-space: nowrap;
  transition: background-color .15s ease, color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 1px 0 rgba(255,255,255,.18) inset, 0 6px 16px -6px rgba(31, 94, 234, .55); }
.btn-primary:hover { background: var(--accent-deep); color: #fff; text-decoration: none; }
.btn-primary:active { transform: translateY(1px); }
.btn-quiet { color: var(--ink); background: transparent; border-color: var(--line); }
.btn-quiet:hover { color: var(--ink); background: var(--paper-2); text-decoration: none; }
.btn-small { min-height: 40px; padding: 8px 16px; font-size: .95rem; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: var(--paper); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand-mark { width: 34px; height: 34px; flex: none; }
.brand-name { font-family: var(--serif); font-weight: 600; font-size: 1.28rem; letter-spacing: -0.01em; line-height: 1.15; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a:not(.btn) {
  color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: .96rem;
  padding: 8px 12px; border-radius: 8px;
}
.nav a:not(.btn):hover { color: var(--ink); background: var(--paper-2); }
.nav .btn { margin-left: 10px; }
.short-label { display: none; }
@media (max-width: 880px) {
  .nav a:not(.btn) { display: none; }
  /* Phones and tablets: the header stays put so the Email button is always one tap away. */
  .site-header { position: sticky; top: 0; z-index: 5; }
  [id], .doc h2[id] { scroll-margin-top: 84px; }
}
@media (max-width: 400px) {
  .brand-name { font-size: 1.15rem; }
  .long-label { display: none; }
  .short-label { display: inline; }
}
@media (max-width: 359px) {
  .brand-name { font-size: 1rem; }
  .nav .btn { margin-left: 0; padding: 8px 12px; }
  .nav .btn svg { display: none; }
}

/* Hero */
.hero { padding: clamp(48px, 7vw, 96px) 0 clamp(64px, 8vw, 112px); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-copy .eyebrow { margin-bottom: 18px; }
.hero h1 { max-width: 15ch; }
.hero .lead { margin-top: 22px; max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; margin-top: 32px; }
.hero-note {
  margin-top: 28px; max-width: 34em; padding: 14px 16px 14px 18px;
  border-left: 3px solid var(--accent); background: var(--card); border-radius: 0 10px 10px 0;
  font-size: .95rem; line-height: 1.55; color: var(--ink-2);
}
.hero-note strong { color: var(--ink); font-weight: 650; }
.hero-note a { font-weight: 600; overflow-wrap: anywhere; }

.hero-art { position: relative; aspect-ratio: 1.08 / 1; width: 100%; max-width: 560px; justify-self: end; }
.hero-art .pc { position: absolute; }
.hero-art .pc-back { width: 76%; right: 2%; top: 0; transform: rotate(4deg); }
.hero-art .pc-front { width: 84%; left: 0; bottom: 6%; transform: rotate(-3deg); }
.hero-art-label {
  position: absolute; right: 2%; bottom: 0;
  font-size: .82rem; color: var(--ink-3); letter-spacing: .01em;
}

@media (max-width: 480px) {
  .hero-actions .btn { flex: 1 1 100%; justify-content: center; }
}
@media (max-width: 960px) {
  .hero .wrap { grid-template-columns: minmax(0, 1fr); }
  .hero h1 { max-width: 15ch; }
  .hero-art { justify-self: center; max-width: 520px; margin-top: 8px; }
}
/* Tablets: show the sample cards right after the buttons, before the note, so they land above the fold. */
@media (min-width: 600px) and (max-width: 960px) {
  .hero .wrap { display: flex; flex-direction: column; align-items: flex-start; gap: 0; }
  .hero-copy { display: contents; }
  .hero-copy .eyebrow { align-self: flex-start; }
  .hero-art { order: 1; max-width: 480px; margin-top: 40px; align-self: center; }
  .hero-note { order: 2; margin-top: 36px; }
}
@media (max-width: 520px) {
  .hero-art .pc-front { transform: rotate(-2deg); left: 2%; }
}

/* Postcards (sample designs drawn in SVG) */
.pc { background: var(--card); box-shadow: var(--shadow-card); border-radius: 2px; overflow: hidden; }
.pc svg { width: 100%; height: auto; }

/* Sections */
.section { padding: var(--section) 0; }
.section-head { max-width: 640px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head .eyebrow { margin-bottom: 12px; }
.section-head .lead { margin-top: 16px; }
.band { background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* How it works */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 28px); counter-reset: step; }
.step {
  position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px 30px;
}
.step-num {
  display: block; color: var(--accent);
  font: 600 2.6rem/1 var(--serif); font-optical-sizing: auto; letter-spacing: -0.02em; margin-bottom: 14px;
}
.step h3 { margin-bottom: 8px; font-size: 1.2rem; }
.step p { color: var(--ink-2); }

.facts {
  list-style: none; margin: clamp(28px, 4vw, 40px) 0 0; padding: 26px 0 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px 28px;
  border-top: 1px solid var(--line);
}
.facts li { display: grid; grid-template-columns: 22px 1fr; gap: 0 10px; align-items: start; align-content: start; }
.facts svg { width: 20px; height: 20px; margin-top: 3px; color: var(--accent); }
.facts strong { display: block; font-weight: 650; line-height: 1.35; }
.facts span { grid-column: 2; color: var(--ink-2); font-size: .95rem; line-height: 1.5; margin-top: 4px; }

@media (max-width: 960px) {
  .steps { grid-template-columns: minmax(0, 1fr); }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step { display: grid; grid-template-columns: 2.2rem minmax(0, 1fr); gap: 0 16px; align-items: start; }
  .step-num { margin-bottom: 0; grid-row: span 2; }
  .step h3 { margin: 4px 0 6px; }
}
@media (max-width: 520px) {
  .facts { grid-template-columns: 1fr; }
  .step { padding: 22px 20px 24px; }
}

/* Samples */
.samples { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 40px); align-items: start; }
.sample { margin: 0; }
.sample-art { position: relative; margin-bottom: 18%; }
.pc-mini {
  position: absolute; width: 38%; right: -2%; bottom: -22%;
  transform: rotate(4deg); box-shadow: 0 1px 2px rgba(40, 30, 10, .08), 0 10px 24px -8px rgba(40, 30, 10, .35);
}
.sample figcaption .spec {
  display: block; margin-bottom: 6px; font-size: .78rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--accent-deep);
}
.sample figcaption { font-size: .98rem; color: var(--ink-2); line-height: 1.55; }
.sample figcaption strong { display: block; color: var(--ink); font-size: 1.05rem; font-weight: 650; margin-bottom: 4px; }
.tag {
  display: inline-block; margin-right: 8px; padding: 2px 8px; border-radius: 999px;
  font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; vertical-align: 2px;
  color: var(--ink-2); background: var(--paper-3);
}
.samples-note { margin-top: clamp(28px, 4vw, 40px); color: var(--ink-2); font-size: .98rem; max-width: 46em; }
@media (max-width: 960px) {
  .samples { grid-template-columns: minmax(0, 1fr); max-width: 560px; }
}
@media (min-width: 641px) and (max-width: 960px) {
  .samples { max-width: none; }
  .sample { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 28px; align-items: center; }
  .sample-art { margin-bottom: 12%; }
}
@media (max-width: 520px) {
  .pc-mini { right: 1%; }
}

/* What we print */
.print-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr); gap: clamp(16px, 2.4vw, 24px); }
.print-feature {
  background: var(--accent); color: #fff; border-radius: var(--radius); padding: clamp(28px, 3.4vw, 40px);
  display: flex; flex-direction: column; gap: 14px;
}
.print-feature h3 { color: #fff; font-family: var(--serif); font-weight: 600; font-size: 1.75rem; letter-spacing: -0.01em; }
.print-feature p { color: #fff; }
.print-feature .sizes { display: grid; grid-template-columns: repeat(4, max-content); gap: 8px; list-style: none; margin: 6px 0 0; padding: 0; }
@media (min-width: 961px) and (max-width: 1180px), (max-width: 430px) {
  .print-feature .sizes { grid-template-columns: repeat(2, max-content); }
}
.print-feature .sizes li { border: 1px solid rgba(255, 255, 255, .45); border-radius: 999px; padding: 4px 12px; text-align: center; font-weight: 600; font-size: .92rem; }
.print-feature .fine { margin-top: auto; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .3); font-size: .95rem; color: #fff; }
.print-feature svg.icon { width: 34px; height: 34px; color: #fff; }
.print-feature .checks { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 8px; }
.print-feature .checks li { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.print-feature .checks svg { width: 20px; height: 20px; flex: none; padding: 3px; border-radius: 50%; background: rgba(255, 255, 255, .2); color: #fff; }
.print-note { margin-top: clamp(24px, 3vw, 32px); color: var(--ink-2); font-size: .98rem; max-width: 46em; }
.print-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 24px); }
.print-item {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 22px 24px;
  display: grid; grid-template-columns: 40px 1fr; gap: 4px 14px; align-content: start;
}
.print-item svg { grid-row: span 2; width: 40px; height: 40px; padding: 8px; border-radius: 10px; background: var(--accent-soft); color: var(--accent-deep); }
.print-item p { color: var(--ink-2); font-size: .97rem; line-height: 1.5; }
@media (max-width: 960px) {
  .print-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  /* One card with dividers instead of six stacked boxes. */
  .print-list { grid-template-columns: 1fr; gap: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
  .print-item { border: 0; border-radius: 0; background: none; }
  .print-item + .print-item { border-top: 1px solid var(--line); }
}

/* About */
.about { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.about-aside .eyebrow { margin-bottom: 12px; }
.about-aside > p:not(.eyebrow) { margin-top: 16px; color: var(--ink-2); max-width: 36em; }
.bizcard {
  position: relative; margin-top: 36px; width: min(100%, 340px); aspect-ratio: 3.5 / 2;
  padding: 22px 24px 20px 28px; display: flex; flex-direction: column;
  background: var(--card); border: 1px solid var(--line); border-radius: 3px;
  box-shadow: 0 1px 2px rgba(40, 30, 10, .06), 0 16px 32px -18px rgba(40, 30, 10, .4);
  transform: rotate(-2deg);
}
.bizcard::before { content: ""; position: absolute; left: -1px; top: -1px; bottom: -1px; width: 6px; background: var(--accent); border-radius: 3px 0 0 3px; }
.bizcard-brand { display: flex; align-items: center; gap: 8px; font-family: var(--serif); font-weight: 600; font-size: 1rem; color: var(--ink); }
.bizcard-brand svg { width: 24px; height: 24px; }
.bizcard .bizcard-name { margin-top: auto; font-weight: 650; font-size: 1.08rem; color: var(--ink); line-height: 1.3; }
.bizcard .bizcard-role { margin: 0 0 8px; font-size: .88rem; color: var(--ink-3); }
.bizcard .bizcard-line { margin: 0; font-size: .92rem; line-height: 1.5; color: var(--ink-2); }
.bizcard a { color: var(--accent-deep); text-decoration: none; }
.bizcard a:hover { text-decoration: underline; }
@media (min-width: 961px) { .about-aside { position: sticky; top: 32px; } }
@media (max-width: 960px) { .bizcard { display: none; } }
.letter {
  background: var(--card); border: 1px solid var(--line); border-radius: 6px;
  box-shadow: 0 1px 2px rgba(40, 30, 10, .05), 0 24px 48px -28px rgba(40, 30, 10, .35);
  padding: clamp(28px, 4.5vw, 52px);
  position: relative;
}
.letter::before {
  content: ""; position: absolute; left: -1px; right: -1px; top: -1px; height: 6px;
  background: var(--accent); border-radius: 6px 6px 0 0;
}
.letter p { font-size: 1.08rem; line-height: 1.7; }
.letter .letter-hi { font-family: var(--serif); font-weight: 600; font-size: 1.6rem; line-height: 1.2; letter-spacing: -0.01em; }
.letter p + p { margin-top: 16px; }
.sign { display: flex; align-items: center; gap: 14px; margin-top: 30px; padding-top: 24px; border-top: 1px dashed var(--line); }
.sign-role a { overflow-wrap: anywhere; }
.sign-name { font-family: var(--serif); font-weight: 600; font-size: 1.35rem; line-height: 1.2; }
.letter .sign p { margin: 0; line-height: 1.45; }
.letter .sign-name { font-size: 1.3rem; line-height: 1.25; margin-bottom: 2px; }
.letter .sign-role { font-size: .95rem; }
.sign-role { color: var(--ink-2); font-size: .95rem; line-height: 1.45; }
@media (max-width: 960px) {
  .about { grid-template-columns: minmax(0, 1fr); }
  .letter { max-width: 680px; }
}
@media (max-width: 520px) {
  .letter { padding: 24px 20px; }
  .letter p { font-size: 1.02rem; }
}
@media (max-width: 359px) {
  .letter { padding: 22px 18px; }
}

/* Closing */
.closing { background: var(--ink); color: #f3efe6; }
.closing .wrap { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 32px 64px; align-items: center; }
.closing h2 { color: #fff; }
.closing p { margin-top: 16px; color: #d8d4cb; font-size: 1.1rem; max-width: 34em; }
.closing-action { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.closing .btn-primary { box-shadow: none; }
.closing .btn-primary:hover { background: #fff; color: var(--ink); }
.closing-action small { font-size: .95rem; color: #d8d4cb; }
.closing :focus-visible { outline-color: #fff; }
.closing .btn-email { white-space: normal; text-align: left; min-height: 56px; padding: 14px 26px; font-size: 1.08rem; overflow-wrap: anywhere; }
.closing .btn-email svg { width: 20px; height: 20px; }
@media (max-width: 860px) {
  .closing .wrap { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 480px) {
  .closing-action { align-items: stretch; }
  .closing .btn-email { width: 100%; justify-content: center; }
}
@media (max-width: 359px) {
  .closing .btn-email { font-size: .95rem; padding: 14px 16px; }
}

/* Footer */
.site-footer { padding: 48px 0 40px; font-size: .95rem; color: var(--ink-2); }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px 48px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.footer-brand p { margin-top: 12px; max-width: 30em; }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { color: var(--ink); font-weight: 500; text-decoration: none; }
.footer-links a:hover { color: var(--accent-deep); text-decoration: underline; }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 22px; font-size: .9rem; color: var(--ink-3); }

/* Privacy page */
.doc { padding: clamp(48px, 7vw, 88px) 0 var(--section); }
.doc .wrap { max-width: calc(680px + 2 * var(--gutter)); }
.doc h1 { font-size: clamp(2.3rem, 1.6rem + 2.4vw, 3.2rem); }
.doc .updated { margin-top: 12px; color: var(--ink-3); font-size: .95rem; }
.doc .summary {
  margin-top: 32px; padding: 22px 24px; border-radius: var(--radius);
  background: var(--accent-soft); border: 1px solid #cfdcfb; color: var(--ink);
}
.doc .summary strong { display: block; margin-bottom: 6px; }
.doc h2 { font-size: clamp(1.45rem, 1.2rem + 1vw, 1.85rem); margin-top: 48px; padding-top: 4px; scroll-margin-top: 24px; }
.doc h3 { margin-top: 28px; font-size: 1.08rem; }
.doc p, .doc ul { margin-top: 14px; color: var(--ink-2); }
.doc p strong, .doc li strong { color: var(--ink); }
.doc ul { padding-left: 1.2em; }
.doc li { margin-top: 8px; padding-left: 4px; }
.doc li::marker { color: var(--accent); }
.doc .toc { margin-top: 28px; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.doc .toc li { margin: 0; padding: 0; }
.doc .toc a {
  display: inline-block; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px;
  color: var(--ink); text-decoration: none; font-size: .92rem; font-weight: 500; background: var(--card);
}
.doc .toc a:hover { border-color: var(--accent); color: var(--accent-deep); }
@media (max-width: 520px) {
  .doc .toc { flex-direction: column; gap: 0; border-top: 1px solid var(--line); }
  .doc .toc a { display: block; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: none; padding: 12px 2px; }
}
.callout {
  margin-top: 20px; padding: 20px 22px; background: var(--card); border: 1px solid var(--line);
  border-left: 4px solid var(--accent); border-radius: 0 8px 8px 0; color: var(--ink);
}
.callout p { margin: 0; color: var(--ink); }

.doc .eyebrow { margin-bottom: 14px; color: var(--accent-deep); }
.doc .summary { line-height: 1.6; }
.doc .callout + ul, .doc .callout + p { margin-top: 18px; }
.doc a { font-weight: 500; overflow-wrap: anywhere; }
.table-wrap { margin-top: 16px; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.doc table { width: 100%; border-collapse: collapse; font-size: .97rem; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 14px 18px; }
.doc thead th { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); background: var(--paper-2); border-bottom: 1px solid var(--line); }
.doc tbody tr + tr td, .doc tbody tr + tr th { border-top: 1px solid var(--line); }
.doc td { color: var(--ink-2); }
.doc tbody th { width: 42%; color: var(--ink); font-weight: 400; }
.doc tbody th strong { display: block; font-weight: 650; }
.doc .scope { display: inline-block; margin-top: 6px; font: 500 .82rem/1.4 ui-monospace, "Cascadia Mono", Consolas, monospace; color: var(--accent-deep); background: var(--accent-soft); padding: 2px 8px; border-radius: 6px; }
@media (max-width: 520px) {
  .doc th, .doc td { padding: 12px 14px; }
  .doc tbody th { width: 46%; }
}
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* 404 */
.lost { padding: clamp(56px, 9vw, 120px) 0 var(--section); }
.lost .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.lost p { margin-top: 18px; }
.lost .eyebrow { margin-bottom: 14px; }
.lost .hero-actions { margin-top: 28px; }
.lost-art { max-width: 460px; width: 100%; justify-self: center; transform: rotate(-3deg); }
@media (max-width: 860px) {
  .lost .wrap { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 520px) {
  .lost-art { transform: rotate(-2deg); width: 94%; }
}
