/* Goodmark Limited — site styles. Plain CSS, no build step. */

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("/assets/fonts/BricolageGrotesque.woff2") format("woff2");
  font-weight: 200 800;
  font-stretch: 75% 100%;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("/assets/fonts/InstrumentSans.woff2") format("woff2");
  font-weight: 400 700;
  font-stretch: 75% 100%;
  font-display: swap;
}

:root {
  --bg: #ffffff;
  --bg-2: #f5f6f8;
  --surface: #ffffff;
  --text: #0f1217;
  --text-2: #525b68;
  --border: #e5e7eb;
  --border-2: #cfd4db;
  --accent: #0f7f58;
  --accent-ink: #ffffff;
  --accent-soft: rgba(15, 127, 88, 0.1);
  --logo-bg: #15181e;
  --logo-fg: #ffffff;
  --shadow: 0 1px 2px rgba(15, 18, 23, 0.05), 0 10px 30px -16px rgba(15, 18, 23, 0.2);
  --shadow-lg: 0 2px 4px rgba(15, 18, 23, 0.05), 0 24px 48px -20px rgba(15, 18, 23, 0.3);
  --pl-charcoal: #1c1d22;
  --pl-charcoal-2: #26272e;
  --pl-lavender: #c3b4f0;
  --pl-lavender-ink: #6650b4;
  --pl-peach: #fbc59c;
  --pl-peach-ink: #a2561f;
  --pl-text: #f3f1fa;
  --pl-muted: #b3b0c2;
  --font-display: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --radius: 14px;
  --radius-sm: 8px;
  --measure: 44rem;
  --wide: 72rem;
  color-scheme: light;
}

/* Dark theme: system preference unless the toggle overrides it */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0b0d11;
    --bg-2: #10131a;
    --surface: #14181f;
    --text: #eceef2;
    --text-2: #9aa3b2;
    --border: #232832;
    --border-2: #333a47;
    --accent: #3fd49a;
    --accent-ink: #06140e;
    --accent-soft: rgba(63, 212, 154, 0.12);
    --logo-bg: #f2f3f5;
    --logo-fg: #15181e;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 10px 30px -16px rgba(0, 0, 0, 0.6);
    --shadow-lg: 0 2px 4px rgba(0, 0, 0, 0.4), 0 24px 48px -20px rgba(0, 0, 0, 0.7);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0b0d11;
  --bg-2: #10131a;
  --surface: #14181f;
  --text: #eceef2;
  --text-2: #9aa3b2;
  --border: #232832;
  --border-2: #333a47;
  --accent: #3fd49a;
  --accent-ink: #06140e;
  --accent-soft: rgba(63, 212, 154, 0.12);
  --logo-bg: #f2f3f5;
  --logo-fg: #15181e;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 10px 30px -16px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 2px 4px rgba(0, 0, 0, 0.4), 0 24px 48px -20px rgba(0, 0, 0, 0.7);
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.12;
  margin: 0;
  text-wrap: balance;
}
p { margin: 0; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 50;
  background: var(--surface); color: var(--text);
  padding: 0.5rem 0.75rem; border: 1px solid var(--border); border-radius: var(--radius-sm);
}
.skip-link:focus { top: 1rem; }

.wrap { width: 100%; max-width: var(--wide); margin: 0 auto; padding: 0 1.25rem; }
@media (min-width: 48rem) { .wrap { padding: 0 2rem; } }

.lede { color: var(--text-2); font-size: 1.15rem; max-width: 36rem; }
.lede a { color: inherit; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-weight: 600; font-size: 0.95rem; line-height: 1;
  padding: 0.8rem 1.15rem; border-radius: 999px;
  text-decoration: none; border: 1px solid transparent;
  transition: transform 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
  cursor: pointer;
}
.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--text); color: var(--bg); }
.btn-primary:hover { box-shadow: var(--shadow); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border-2); }
.btn-ghost:hover { background: var(--bg-2); border-color: var(--text-2); }
.btn-sm { padding: 0.55rem 0.9rem; font-size: 0.875rem; }
.btn svg { width: 16px; height: 16px; }

.arrow-link {
  display: inline-flex; align-items: center; gap: 0.35rem;
  font-weight: 600; text-decoration: none; color: var(--text);
}
.arrow-link svg { width: 16px; height: 16px; transition: transform 0.18s ease; }
.arrow-link:hover svg { transform: translateX(3px); }
.arrow-link:hover { text-decoration: underline; }

.pill {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.8rem; font-weight: 600; line-height: 1;
  padding: 0.4rem 0.7rem; border-radius: 999px;
  background: var(--accent-soft); color: var(--accent);
}
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--border);
}
@supports not (background: color-mix(in srgb, red 50%, blue)) { .site-header { background: var(--bg); } }
.site-header .wrap {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1.5rem;
  min-height: 4rem; padding-top: 0.6rem; padding-bottom: 0.6rem;
}
.brand {
  display: inline-flex; align-items: center; gap: 0.6rem;
  color: var(--text); text-decoration: none;
  font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; letter-spacing: -0.025em;
  margin-right: auto;
}
.brand .mark { width: 30px; height: 30px; }
.mark .mark-bg { fill: var(--logo-bg); }
.mark .mark-tick { stroke: var(--logo-fg); }
.mark .mark-tick-2 { stroke: var(--accent); }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.25rem 1.5rem; }
.site-nav a { color: var(--text-2); text-decoration: none; font-size: 0.95rem; font-weight: 500; transition: color 0.15s ease; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--text); }
.header-actions { display: flex; align-items: center; gap: 0.5rem; }
@media (max-width: 40rem) { .header-actions .btn { display: none; } }

.theme-toggle {
  width: 36px; height: 36px; border-radius: 999px;
  border: 1px solid var(--border); background: transparent;
  display: inline-grid; place-items: center; cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}
.theme-toggle:hover { background: var(--bg-2); border-color: var(--border-2); }
.theme-toggle svg { width: 16px; height: 16px; grid-area: 1 / 1; }
.theme-toggle .icon-sun { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .icon-sun { display: block; }
  :root:not([data-theme="light"]) .theme-toggle .icon-moon { display: none; }
}
:root[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .icon-moon { display: none; }

main { flex: 1; }

/* ---------- Home: hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: 6rem 0 5rem;
}
@media (min-width: 48rem) { .hero { padding: 8rem 0 6.5rem; } }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: radial-gradient(var(--border-2) 1px, transparent 1.5px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 60% 0%, #000 10%, transparent 70%);
  mask-image: radial-gradient(ellipse 70% 80% at 60% 0%, #000 10%, transparent 70%);
  opacity: 0.7;
}
.hero .wrap { position: relative; z-index: 1; }
.hero h1 {
  font-size: clamp(2.5rem, 1.4rem + 5vw, 4.75rem);
  font-weight: 600; letter-spacing: -0.035em; line-height: 1.02;
  max-width: 16ch; margin-bottom: 1.5rem;
}
.hero .lede { font-size: clamp(1.1rem, 1rem + 0.5vw, 1.3rem); max-width: 38rem; margin-bottom: 2.25rem; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.hero-note { margin-top: 3.5rem; color: var(--text-2); font-size: 0.95rem; display: flex; align-items: center; gap: 0.6rem; }
.hero-note .mark { width: 20px; height: 20px; }

@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.hero .wrap > * { animation: rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.hero .wrap > :nth-child(2) { animation-delay: 0.08s; }
.hero .wrap > :nth-child(3) { animation-delay: 0.16s; }
.hero .wrap > :nth-child(4) { animation-delay: 0.3s; }
@media (prefers-reduced-motion: reduce) {
  .hero .wrap > * { animation: none; }
  .btn, .arrow-link svg, .product, .feature, .link-card { transition: none !important; }
}

/* ---------- Sections ---------- */
.section { padding: 5rem 0; }
.section + .section { border-top: 1px solid var(--border); }
.section-head { max-width: 40rem; margin-bottom: 2.5rem; }
.section-head h2 { font-size: clamp(1.75rem, 1.2rem + 2vw, 2.5rem); margin-bottom: 0.75rem; }
.section-head p { color: var(--text-2); font-size: 1.1rem; }
.section-alt { background: var(--bg-2); }

/* Principles */
.principles {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
}
.principles li {
  padding: 1.5rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface);
}
.principles svg { width: 24px; height: 24px; color: var(--accent); margin-bottom: 1rem; }
.principles h3 { font-size: 1.15rem; margin-bottom: 0.4rem; }
.principles p { color: var(--text-2); font-size: 0.98rem; }

/* Product cards */
.products {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr));
}
.product {
  position: relative; display: flex; flex-direction: column;
  border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface);
  overflow: hidden; box-shadow: var(--shadow);
  transition: transform 0.25s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.25s ease, border-color 0.25s ease;
}
.product:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--border-2); }
/* Product image: shown whole, at its own 16:9 ratio, never stretched or cropped */
.product-art { background: var(--pl-charcoal); border-bottom: 1px solid var(--border); }
.product-art picture { display: block; }
.product-art img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: contain; }
.product-body { padding: 1.5rem; display: flex; flex-direction: column; gap: 0.75rem; flex: 1; }
.product-title { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.product-title h3 { font-size: 1.5rem; }
.product-body p { color: var(--text-2); }
.product-foot { margin-top: auto; padding-top: 0.75rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem; }
.product .stretch::after { content: ""; position: absolute; inset: 0; }
.product .stretch { position: static; }
.product .stretch::after { z-index: 1; }
.product-foot > *:not(.stretch) { position: relative; z-index: 2; }

/* Contact */
.contact-grid {
  display: grid; gap: 1rem; margin: 0;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
}
.contact-grid > div { padding: 1.5rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.contact-grid dt { font-weight: 600; margin-bottom: 0.35rem; }
.contact-grid dd { margin: 0; color: var(--text-2); }
.contact-grid dd a { font-weight: 600; word-break: break-all; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border); background: var(--bg-2); padding: 3.5rem 0 2rem; font-size: 0.95rem; }
.footer-grid { display: grid; gap: 2.5rem 2rem; grid-template-columns: 1fr; margin-bottom: 3rem; }
@media (min-width: 48rem) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
.footer-brand p { color: var(--text-2); max-width: 22rem; margin-top: 0.75rem; }
.site-footer h4 { font-family: var(--font-body); font-size: 0.9rem; font-weight: 600; letter-spacing: 0; margin-bottom: 0.9rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.site-footer a { color: var(--text-2); text-decoration: none; }
.site-footer a:hover { color: var(--text); text-decoration: underline; }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 1.5rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 1.5rem; color: var(--text-2); font-size: 0.875rem; }

/* ---------- Pocket Lyrics page ---------- */
.pl-hero { background: var(--pl-charcoal); color: var(--pl-text); position: relative; overflow: hidden; }
.pl-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(50% 60% at 15% 0%, rgba(195, 180, 240, 0.22), transparent 70%),
    radial-gradient(40% 50% at 90% 100%, rgba(251, 197, 156, 0.16), transparent 70%);
}
.pl-hero .wrap {
  position: relative; display: grid; gap: 3rem; align-items: center;
  padding-top: 5rem; padding-bottom: 5rem;
}
@media (min-width: 56rem) { .pl-hero .wrap { grid-template-columns: 1.1fr 0.9fr; padding-top: 6rem; padding-bottom: 6rem; } }
.pl-hero .crumbs, .pl-hero .crumbs a { color: var(--pl-muted); }
.pl-hero .app-icon { width: 72px; height: 72px; border-radius: 18px; box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.6); margin-bottom: 1.5rem; }
.pl-hero h1 { font-size: clamp(2.5rem, 1.5rem + 4vw, 4rem); letter-spacing: -0.035em; margin-bottom: 1rem; color: #fff; }
.pl-hero .lede { color: var(--pl-muted); margin-bottom: 1.75rem; }
.pl-hero .actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; }
.pl-pill { background: rgba(251, 197, 156, 0.16); color: var(--pl-peach); }
.pl-hero .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, 0.25); }
.pl-hero .btn-ghost:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.5); }

.hero-shot {
  margin: 0; width: 100%; justify-self: center;
  border-radius: 18px; overflow: hidden; background: var(--pl-charcoal);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.8);
}
.hero-shot picture { display: block; }
.hero-shot img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: contain; }

.features {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
}
@media (min-width: 56rem) { .features { grid-template-columns: repeat(3, 1fr); } }
.feature {
  padding: 1.5rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface);
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.feature:hover { border-color: var(--pl-lavender-ink); transform: translateY(-2px); }
.feature svg { width: 26px; height: 26px; color: var(--pl-lavender-ink); margin-bottom: 1rem; }
.feature h3 { font-size: 1.1rem; margin-bottom: 0.35rem; }
.feature p { color: var(--text-2); font-size: 0.98rem; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .feature svg { color: var(--pl-lavender); } :root:not([data-theme="light"]) .feature:hover { border-color: var(--pl-lavender); } }
:root[data-theme="dark"] .feature svg { color: var(--pl-lavender); }
:root[data-theme="dark"] .feature:hover { border-color: var(--pl-lavender); }

.callout {
  background: var(--pl-charcoal); color: var(--pl-text);
  border-radius: var(--radius); padding: 2.5rem; position: relative; overflow: hidden;
  display: grid; gap: 1.5rem; align-items: center;
}
@media (min-width: 48rem) { .callout { grid-template-columns: 1fr auto; padding: 3rem; } }
.callout::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(50% 80% at 100% 0%, rgba(195, 180, 240, 0.2), transparent 70%); }
.callout > * { position: relative; }
.callout h2 { color: #fff; font-size: clamp(1.5rem, 1.2rem + 1.5vw, 2.1rem); margin-bottom: 0.5rem; }
.callout p { color: var(--pl-muted); max-width: 34rem; }
.callout .platforms { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.platform {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.7rem 1rem; border-radius: 999px; font-weight: 600; font-size: 0.95rem;
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.14); color: #fff;
}
.platform svg { width: 18px; height: 18px; }

.link-cards {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr));
}
.link-card {
  display: block; padding: 1.25rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface);
  text-decoration: none; color: var(--text); font-weight: 600;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.link-card:hover { border-color: var(--border-2); transform: translateY(-2px); box-shadow: var(--shadow); text-decoration: none; }
.link-card small { display: block; font-weight: 400; color: var(--text-2); margin-top: 0.3rem; }

/* ---------- Document pages (legal, support) ---------- */
.doc-head { padding: 4rem 0 2.5rem; border-bottom: 1px solid var(--border); background: var(--bg-2); }
.doc-head h1 { font-size: clamp(2rem, 1.3rem + 2.5vw, 3rem); margin: 0.75rem 0 0.75rem; }
.doc-head .lede { max-width: 42rem; }
.effective { color: var(--text-2); font-size: 0.95rem; }
.crumbs { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.25rem 0.5rem; font-size: 0.9rem; color: var(--text-2); }
.crumbs li + li::before { content: "/"; margin-right: 0.5rem; opacity: 0.4; }
.crumbs a { color: var(--text-2); text-decoration: none; }
.crumbs a:hover { color: var(--text); text-decoration: underline; }

.doc-layout { display: grid; gap: 3rem; padding-top: 3rem; padding-bottom: 5rem; }
@media (min-width: 60rem) { .doc-layout { grid-template-columns: 15rem minmax(0, var(--measure)); gap: 4rem; } }
.toc { align-self: start; }
@media (min-width: 60rem) { .toc { position: sticky; top: 5.5rem; } }
.toc h2 { font-family: var(--font-body); font-size: 0.85rem; font-weight: 600; letter-spacing: 0; color: var(--text-2); margin-bottom: 0.75rem; }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.15rem; border-left: 1px solid var(--border); }
.toc a {
  display: block; padding: 0.3rem 0 0.3rem 1rem; margin-left: -1px;
  color: var(--text-2); text-decoration: none; font-size: 0.92rem; border-left: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.toc a:hover { color: var(--text); border-left-color: var(--accent); }
@media (max-width: 59.99rem) { .toc ol { columns: 2; column-gap: 2rem; display: block; } .toc li { break-inside: avoid; } }
@media (max-width: 32rem) { .toc ol { columns: 1; } }

.doc { max-width: var(--measure); min-width: 0; }
.doc h2 { font-size: 1.5rem; margin: 2.75rem 0 0.9rem; }
.doc h2:first-child { margin-top: 0; }
.doc h3 { font-size: 1.1rem; margin: 1.75rem 0 0.5rem; }
.doc p, .doc ul, .doc ol { margin: 0 0 1rem; }
.doc ul, .doc ol { padding-left: 1.4rem; }
.doc li { margin-bottom: 0.4rem; }
.doc .summary {
  background: var(--surface); border: 1px solid var(--border); border-left: 3px solid var(--accent);
  border-radius: var(--radius-sm); padding: 1.1rem 1.25rem; margin: 0 0 2rem;
}
.doc .contact-block { line-height: 1.6; }

/* FAQ */
.faq { display: grid; gap: 0.75rem; margin: 0 0 1.5rem; }
.faq details { border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); }
.faq summary {
  cursor: pointer; list-style: none; padding: 1rem 1.25rem; font-weight: 600;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; width: 10px; height: 10px; flex: none;
  border-right: 2px solid var(--text-2); border-bottom: 2px solid var(--text-2);
  transform: rotate(45deg); transition: transform 0.2s ease; margin-top: -4px;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: 4px; }
.faq details > div { padding: 0 1.25rem 1.1rem; color: var(--text-2); }
.faq details > div p:last-child { margin-bottom: 0; }

/* 404 */
.notfound { padding: 7rem 0; }
.notfound .code { font-family: var(--font-display); font-size: clamp(4rem, 2rem + 10vw, 8rem); font-weight: 700; letter-spacing: -0.05em; line-height: 1; color: var(--border-2); }
.notfound h1 { font-size: clamp(1.75rem, 1.2rem + 2vw, 2.5rem); margin: 0.5rem 0 1rem; }
.notfound ul { list-style: none; padding: 0; margin: 1.5rem 0 0; display: flex; flex-wrap: wrap; gap: 0.75rem; }

@media print {
  .site-header, .site-footer, .skip-link, .toc { display: none; }
  body { background: #fff; color: #000; }
  a { color: #000; }
  .doc-layout { display: block; }
}

@media (min-width: 60rem) { .doc-layout--single { grid-template-columns: minmax(0, var(--measure)); } }
