/* ==========================================================================
   Bickty — Legal & Support
   A printed-page system: bone paper, ink, and a few deep printer's inks.
   ========================================================================== */

@font-face {
  font-family: "Fraunces";
  src: url("assets/fonts/fraunces-latin.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("assets/fonts/inter-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Paper stock */
  --paper: #f3efe6;
  --paper-soft: #fbf8f2;
  --panel: #fffdf9;
  --panel-raised: #ede7db;
  --panel-light: #e2dbc9;

  /* Type */
  --ink: #1a1712;
  --text: #1a1712;
  --text-soft: #474138;
  --muted: #6e675a;
  --faint: #726b5e;
  --on-ink: #fff9ef;

  /* Printer's inks */
  --vermilion: #b23a26;
  --raspberry: #8f3552;
  --ochre: #9a5518;
  --olive: #5c6b33;
  --terracotta: #a64e37;
  --aubergine: #5a4878;
  --denim: #2f5578;

  /* Accent (overridden per document) */
  --accent: var(--vermilion);
  --accent-soft: rgba(178, 58, 38, 0.09);

  /* Lines & shape */
  --stroke: rgba(26, 23, 18, 0.1);
  --stroke-strong: rgba(26, 23, 18, 0.19);
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;

  /* Type stacks */
  --serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;

  --measure: 68ch;
  --header-h: 72px;
  --wrap: 1180px;
}

/* ---------- Reset ---------- */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  font-feature-settings: "kern" 1, "liga" 1;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* A whisper of paper grain. */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

h1, h2, h3, h4, p, ul, ol, dl, blockquote, figure { margin: 0; }

ul, ol { padding-left: 1.35em; }

li + li { margin-top: 0.45em; }

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  transition: color 160ms ease, text-decoration-color 160ms ease;
}

a:hover { text-decoration-color: currentColor; }

strong { font-weight: 650; color: var(--text); }

::selection {
  background: var(--ink);
  color: var(--on-ink);
}

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

/* ---------- Layout helpers ---------- */

.wrap {
  width: min(100% - 48px, var(--wrap));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--on-ink);
  font-size: 14px;
  text-decoration: none;
  transition: top 160ms ease;
}

.skip-link:focus { top: 16px; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.eyebrow .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
  flex: none;
}

.rule {
  height: 1px;
  border: 0;
  background: var(--stroke);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: var(--paper);
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(1.2) blur(14px);
  -webkit-backdrop-filter: saturate(1.2) blur(14px);
  border-bottom: 1px solid var(--stroke);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  text-decoration: none;
  flex: none;
}

.brand-mark {
  width: 30px;
  height: 30px;
  flex: none;
}

.brand-mark .wheel-ring {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
}

.brand-mark .wheel-spoke {
  stroke: currentColor;
  stroke-width: 1.2;
  opacity: 0.75;
}

.brand-mark .wheel-hub {
  fill: var(--accent);
}

.brand-word {
  font-family: var(--serif);
  font-weight: 660;
  font-size: 22px;
  letter-spacing: -0.02em;
  line-height: 1;
}

.brand-sub {
  font-family: var(--mono);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  padding-left: 12px;
  margin-left: 1px;
  border-left: 1px solid var(--stroke-strong);
  line-height: 1.2;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
}

.site-nav::-webkit-scrollbar { display: none; }

.site-nav a {
  flex: none;
  padding: 8px 13px;
  border-radius: 999px;
  color: var(--text-soft);
  font-size: 13.5px;
  font-weight: 550;
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: background 160ms ease, color 160ms ease;
}

.site-nav a:hover {
  background: var(--panel-raised);
  color: var(--ink);
}

.site-nav a[aria-current="page"] {
  background: var(--ink);
  color: var(--on-ink);
}

/* ---------- Home hero ---------- */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
  padding-block: clamp(56px, 9vw, 112px) clamp(40px, 6vw, 72px);
}

.hero-copy {
  max-width: 640px;
}

.hero h1 {
  margin-top: 22px;
  font-family: var(--serif);
  font-weight: 620;
  font-size: clamp(44px, 6.6vw, 82px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  font-variation-settings: "opsz" 120;
  text-wrap: balance;
}

.hero h1 em {
  font-style: italic;
  font-weight: 480;
  color: var(--vermilion);
}

.hero .lede {
  margin-top: 26px;
  max-width: 52ch;
  font-size: clamp(16px, 1.6vw, 18.5px);
  line-height: 1.65;
  color: var(--text-soft);
}

.hero-meta {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 20px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-meta .sep {
  width: 22px;
  height: 1px;
  background: var(--stroke-strong);
}

/* Decorative wheel */
.hero-art {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 300px;
}

.wheel-art {
  width: min(100%, 400px);
  height: auto;
  overflow: visible;
  color: var(--ink);
}

.wheel-art .ring {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.1;
  opacity: 0.55;
}

.wheel-art .ring-thin {
  fill: none;
  stroke: currentColor;
  stroke-width: 0.7;
  opacity: 0.25;
  stroke-dasharray: 2 7;
}

.wheel-art .spoke {
  stroke: currentColor;
  stroke-width: 0.85;
  opacity: 0.38;
}

.wheel-art .rim-arc {
  fill: none;
  stroke: var(--vermilion);
  stroke-width: 2.4;
  stroke-linecap: round;
}

.wheel-art .hub {
  fill: var(--vermilion);
}

.wheel-art .hub-ring {
  fill: var(--paper);
  stroke: currentColor;
  stroke-width: 1;
  opacity: 0.6;
}

.wheel-art .orbit-dot {
  fill: var(--olive);
}

.wheel-spin {
  transform-origin: 200px 200px;
  animation: wheel-turn 90s linear infinite;
}

.hero-art .stamp {
  position: absolute;
  right: 6%;
  bottom: 4%;
  font-family: var(--mono);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  transform: rotate(-7deg);
  border: 1px solid var(--stroke-strong);
  border-radius: 999px;
  padding: 5px 11px;
  background: var(--paper);
}

@keyframes wheel-turn {
  to { transform: rotate(360deg); }
}

/* ---------- Doc cards ---------- */

.doc-index {
  padding-bottom: clamp(56px, 8vw, 96px);
}

.doc-index-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--stroke-strong);
}

.doc-index-head h2 {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.doc-index-head span {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.doc-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.doc-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px 28px 24px;
  min-height: 216px;
  background: var(--panel);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-lg);
  color: var(--ink);
  text-decoration: none;
  overflow: hidden;
  transition: transform 240ms cubic-bezier(0.2, 0.7, 0.2, 1),
              box-shadow 240ms ease,
              border-color 240ms ease;
}

.doc-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: var(--card-accent, var(--vermilion));
  opacity: 0;
  transition: opacity 240ms ease;
}

.doc-card:hover {
  transform: translateY(-3px);
  border-color: var(--stroke-strong);
  box-shadow: 0 18px 40px -24px rgba(26, 23, 18, 0.35);
}

.doc-card:hover::before { opacity: 1; }

.doc-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.doc-num {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--card-accent, var(--vermilion));
}

.doc-arrow {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--stroke-strong);
  display: grid;
  place-items: center;
  color: var(--ink);
  transition: background 240ms ease, color 240ms ease, border-color 240ms ease,
              transform 240ms ease;
}

.doc-arrow svg { width: 14px; height: 14px; }

.doc-card:hover .doc-arrow {
  background: var(--card-accent, var(--vermilion));
  border-color: transparent;
  color: var(--on-ink);
  transform: rotate(-45deg);
}

.doc-card h3 {
  font-family: var(--serif);
  font-size: clamp(24px, 2.6vw, 31px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.025em;
}

.doc-card p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-soft);
  max-width: 40ch;
}

.doc-card-foot {
  margin-top: auto;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--faint);
}

/* ---------- Support strip ---------- */

.support-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: clamp(26px, 4vw, 38px);
  margin-bottom: clamp(56px, 8vw, 96px);
  background: var(--ink);
  color: var(--on-ink);
  border-radius: var(--radius-lg);
}

.support-strip h2 {
  font-family: var(--serif);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 550;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.support-strip p {
  margin-top: 8px;
  color: rgba(255, 249, 239, 0.68);
  font-size: 14.5px;
  max-width: 52ch;
}

.support-strip .btn-light {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 22px;
  border-radius: 999px;
  background: var(--on-ink);
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 200ms ease, background 200ms ease;
}

.support-strip .btn-light:hover {
  transform: translateY(-2px);
  background: #fff;
}

.support-strip .btn-light svg { width: 15px; height: 15px; }

/* ---------- Document pages ---------- */

.doc-shell {
  display: grid;
  grid-template-columns: 232px minmax(0, 1fr);
  gap: clamp(36px, 6vw, 96px);
  align-items: start;
  padding-block: clamp(40px, 5vw, 64px) clamp(64px, 9vw, 112px);
}

.doc-aside {
  position: sticky;
  top: calc(var(--header-h) + 30px);
  max-height: calc(100vh - var(--header-h) - 60px);
  overflow-y: auto;
  padding-right: 8px;
  scrollbar-width: thin;
}

.doc-aside .eyebrow {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--stroke);
}

.toc {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: toc;
}

.toc li { margin: 0; }

.toc a {
  position: relative;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 6px;
  padding: 6px 0;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.4;
  text-decoration: none;
  transition: color 160ms ease;
}

.toc a::before {
  counter-increment: toc;
  content: counter(toc, decimal-leading-zero);
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.06em;
  color: var(--faint);
  padding-top: 2px;
  transition: color 160ms ease;
}

.toc a:hover { color: var(--ink); }

.toc a.is-active {
  color: var(--ink);
  font-weight: 600;
}

.toc a.is-active::before { color: var(--accent); }

.doc-aside-meta {
  margin-top: 26px;
  padding-top: 16px;
  border-top: 1px solid var(--stroke);
  font-family: var(--mono);
  font-size: 9.5px;
  line-height: 1.7;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--faint);
}

.doc {
  min-width: 0;
  max-width: 780px;
}

.doc-head {
  padding-bottom: 30px;
  border-bottom: 1px solid var(--stroke-strong);
}

.doc-head h1 {
  margin-top: 18px;
  font-family: var(--serif);
  font-size: clamp(38px, 5vw, 58px);
  font-weight: 620;
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-variation-settings: "opsz" 100;
  text-wrap: balance;
}

.doc-dek {
  margin-top: 18px;
  max-width: 58ch;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-soft);
}

.doc-intro {
  margin-top: 22px;
  max-width: 68ch;
  color: var(--text-soft);
  font-size: 15.5px;
  line-height: 1.72;
}

.doc-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  margin-top: 24px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.doc-meta .pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 600;
}

.doc-meta .pill::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}

.print-btn {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 13px;
  border: 1px solid var(--stroke-strong);
  border-radius: 999px;
  background: transparent;
  color: var(--text-soft);
  font-family: var(--mono);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.print-btn:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--on-ink);
}

.print-btn svg { width: 12px; height: 12px; }

.doc-body { padding-top: 8px; }

.doc-section {
  padding-top: 38px;
}

.doc-section h2 {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: baseline;
  font-family: var(--serif);
  font-size: clamp(24px, 2.6vw, 30px);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.02em;
  scroll-margin-top: calc(var(--header-h) + 24px);
}

.doc-section h2 .num {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--accent);
  padding-top: 5px;
}

.doc-section h3 {
  margin-top: 24px;
  font-family: var(--sans);
  font-size: 15.5px;
  font-weight: 650;
  letter-spacing: -0.005em;
  color: var(--ink);
}

.doc-section h3 + p,
.doc-section h3 + ul,
.doc-section h3 + ol { margin-top: 8px; }

.doc-section p,
.doc-section ul,
.doc-section ol,
.doc-section .table-wrap,
.doc-section .callout,
.doc-section .key-list {
  margin-top: 14px;
  color: var(--text-soft);
  font-size: 15.5px;
  line-height: 1.72;
  max-width: var(--measure);
}

.doc-section h2 + p,
.doc-section h2 + ul,
.doc-section h2 + ol,
.doc-section h2 + .callout,
.doc-section h2 + .table-wrap,
.doc-section h2 + .key-list { margin-top: 16px; }

.doc-section a { font-weight: 550; }

.doc-section ul li::marker { color: var(--accent); }

.doc-section ol li::marker {
  color: var(--accent);
  font-family: var(--mono);
  font-size: 0.86em;
}

/* Callout */
.callout {
  padding: 18px 20px 18px 22px;
  background: var(--panel);
  border: 1px solid var(--stroke);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.callout p { margin: 0; font-size: 14.5px; line-height: 1.65; }

.callout p + p { margin-top: 10px; }

.callout .callout-label {
  display: block;
  margin-bottom: 6px;
  font-family: var(--mono);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

/* Key list (definition-style) */
.key-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--stroke);
}

.key-list > div {
  display: grid;
  grid-template-columns: minmax(140px, 0.42fr) minmax(0, 1fr);
  gap: 20px;
  padding: 13px 0;
  border-bottom: 1px solid var(--stroke);
}

.key-list dt {
  font-size: 13.5px;
  font-weight: 650;
  color: var(--ink);
}

.key-list dd {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-soft);
}

/* Tables */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--stroke);
  border-radius: var(--radius-sm);
  background: var(--panel);
  -webkit-overflow-scrolling: touch;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
  line-height: 1.55;
  min-width: 520px;
}

thead th {
  text-align: left;
  padding: 12px 16px;
  background: var(--panel-raised);
  font-family: var(--mono);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

tbody td {
  padding: 12px 16px;
  border-top: 1px solid var(--stroke);
  color: var(--text-soft);
  vertical-align: top;
}

tbody td:first-child { color: var(--ink); font-weight: 550; }

/* Pull quote */
.pull {
  margin-top: 20px;
  padding: 20px 0 4px;
  border-top: 1px solid var(--stroke-strong);
  font-family: var(--serif);
  font-size: clamp(19px, 2.2vw, 24px);
  font-style: italic;
  font-weight: 450;
  line-height: 1.45;
  letter-spacing: -0.01em;
  color: var(--ink);
  max-width: 34ch;
}

/* Document footer */
.doc-foot {
  margin-top: 52px;
  padding-top: 24px;
  border-top: 1px solid var(--stroke-strong);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.doc-foot p {
  font-size: 13.5px;
  color: var(--muted);
}

.doc-foot .next-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
}

.doc-foot .next-link svg { width: 14px; height: 14px; }

/* ---------- Support page ---------- */

.support-page {
  padding-block: clamp(44px, 6vw, 72px) clamp(64px, 9vw, 112px);
}

.support-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: clamp(32px, 6vw, 72px);
  align-items: start;
  padding-bottom: clamp(40px, 6vw, 64px);
  border-bottom: 1px solid var(--stroke-strong);
}

.support-hero h1 {
  margin-top: 20px;
  font-family: var(--serif);
  font-size: clamp(40px, 5.6vw, 68px);
  font-weight: 620;
  line-height: 0.99;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.support-hero h1 em {
  font-style: italic;
  font-weight: 470;
  color: var(--olive);
}

.support-hero .lede {
  margin-top: 22px;
  max-width: 50ch;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-soft);
}

.contact-card {
  padding: 26px;
  background: var(--panel);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-lg);
}

.contact-card .eyebrow { color: var(--olive); }

.contact-card .email {
  display: block;
  margin-top: 14px;
  font-family: var(--serif);
  font-size: clamp(22px, 2.6vw, 29px);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
  word-break: break-all;
}

.contact-card .email:hover { color: var(--olive); }

.contact-card .email + p {
  margin-top: 8px;
  font-size: 13.5px;
  color: var(--muted);
}

.contact-card .rule { margin-block: 18px; }

.contact-card dl {
  display: grid;
  gap: 10px;
}

.contact-card dl > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 12.5px;
}

.contact-card dt { color: var(--muted); }

.contact-card dd {
  margin: 0;
  color: var(--ink);
  font-weight: 550;
  text-align: right;
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.quick-section {
  padding-bottom: clamp(10px, 2vw, 18px);
}

.quick-card {
  padding: 22px;
  background: var(--panel);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-md);
  text-decoration: none;
  color: var(--ink);
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.quick-card:hover {
  transform: translateY(-2px);
  border-color: var(--stroke-strong);
  box-shadow: 0 14px 30px -22px rgba(26, 23, 18, 0.3);
}

.quick-card .kicker {
  font-family: var(--mono);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--olive);
}

.quick-card h3 {
  margin-top: 9px;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.quick-card p {
  margin-top: 7px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--text-soft);
}

.support-section {
  padding-top: clamp(44px, 6vw, 64px);
}

.support-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--stroke-strong);
}

.support-section-head h2 {
  font-family: var(--serif);
  font-size: clamp(26px, 3.2vw, 36px);
  font-weight: 600;
  letter-spacing: -0.025em;
}

.support-section-head span {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.faq-list {
  margin-top: 6px;
  max-width: 860px;
}

.faq {
  border-bottom: 1px solid var(--stroke);
}

.faq summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 2px;
  cursor: pointer;
  list-style: none;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.005em;
  color: var(--ink);
  transition: color 160ms ease;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary:hover { color: var(--olive); }

.faq summary .plus {
  position: relative;
  width: 22px;
  height: 22px;
  flex: none;
  border: 1px solid var(--stroke-strong);
  border-radius: 50%;
  margin-top: 1px;
  transition: background 200ms ease, border-color 200ms ease, transform 200ms ease;
}

.faq summary .plus::before,
.faq summary .plus::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  width: 9px;
  height: 1.4px;
  background: currentColor;
  transform: translate(-50%, -50%);
}

.faq summary .plus::after { transform: translate(-50%, -50%) rotate(90deg); }

.faq[open] summary .plus {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--on-ink);
  transform: rotate(180deg);
}

.faq[open] summary .plus::after { opacity: 0; }

.faq-answer {
  padding: 0 2px 22px;
  max-width: 66ch;
  color: var(--text-soft);
  font-size: 14.5px;
  line-height: 1.7;
}

.faq-answer p + p,
.faq-answer p + ul,
.faq-answer ul,
.faq-answer ul + p { margin-top: 10px; }

.faq-answer ul { margin-bottom: 0; }

.faq-answer a { font-weight: 550; }

.safety-panel {
  margin-top: 24px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
  padding: clamp(22px, 3vw, 30px);
  background: var(--ink);
  color: var(--on-ink);
  border-radius: var(--radius-lg);
}

.safety-panel .safety-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 249, 239, 0.3);
  display: grid;
  place-items: center;
  color: var(--on-ink);
  flex: none;
}

.safety-panel .safety-icon svg { width: 20px; height: 20px; }

.safety-panel h3 {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.safety-panel p {
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255, 249, 239, 0.72);
  max-width: 70ch;
}

.safety-panel a {
  color: var(--on-ink);
  font-weight: 600;
  text-decoration-color: rgba(255, 249, 239, 0.45);
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--ink);
  color: rgba(255, 249, 239, 0.72);
  padding-block: 52px 30px;
  margin-top: 0;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) repeat(2, minmax(140px, 0.4fr));
  gap: 36px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255, 249, 239, 0.14);
}

.footer-brand .brand {
  color: var(--on-ink);
}

.footer-brand .brand-sub {
  color: rgba(255, 249, 239, 0.5);
  border-left-color: rgba(255, 249, 239, 0.2);
}

.footer-brand p {
  margin-top: 16px;
  max-width: 36ch;
  font-size: 13.5px;
  line-height: 1.65;
  color: rgba(255, 249, 239, 0.6);
}

.footer-col h4 {
  font-family: var(--mono);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 249, 239, 0.62);
}

.footer-col ul {
  margin-top: 14px;
  padding: 0;
  list-style: none;
}

.footer-col li + li { margin-top: 9px; }

.footer-col a,
.footer-col span {
  color: rgba(255, 249, 239, 0.8);
  font-size: 13.5px;
  text-decoration: none;
}

.footer-col a:hover { color: #fff; text-decoration: underline; text-underline-offset: 0.2em; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding-top: 24px;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 249, 239, 0.6);
}

.footer-bottom .fine {
  text-transform: none;
  letter-spacing: 0.02em;
  font-family: var(--sans);
  font-size: 11.5px;
}

/* ---------- Responsive ---------- */

@media (max-width: 1000px) {
  .hero { grid-template-columns: minmax(0, 1fr); }
  .hero-art { display: none; }
  .support-hero { grid-template-columns: minmax(0, 1fr); }
  .quick-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .doc-shell { grid-template-columns: minmax(0, 1fr); }
  .doc-aside {
    position: static;
    max-height: none;
    overflow: visible;
    padding: 0 0 28px;
    border-bottom: 1px solid var(--stroke);
    margin-bottom: 8px;
  }
  .doc-aside .eyebrow { border-bottom: 0; padding-bottom: 4px; }
  .toc {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 10px;
  }
  .toc a {
    grid-template-columns: auto auto;
    gap: 7px;
    padding: 6px 11px;
    border: 1px solid var(--stroke);
    border-radius: 999px;
    background: var(--panel);
    font-size: 11.5px;
  }
  .toc a::before { padding-top: 0; }
  .toc a.is-active { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
  .toc a.is-active::before { color: rgba(255, 249, 239, 0.6); }
  .doc-aside-meta { display: none; }
}

@media (max-width: 720px) {
  :root { --header-h: 62px; }

  .doc-index-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .doc-index-head span { font-size: 9.5px; }

  .doc-head h1 { letter-spacing: -0.015em; }

  .support-hero h1 { letter-spacing: -0.028em; }

  .wrap { width: min(100% - 32px, var(--wrap)); }

  .header-inner { gap: 12px; }

  .brand-sub { display: none; }

  .site-nav a { padding: 7px 10px; font-size: 12.5px; }

  .hero { padding-block: 44px 36px; }

  .hero h1 { font-size: clamp(38px, 11vw, 56px); }

  .doc-grid { grid-template-columns: minmax(0, 1fr); }

  .doc-card { min-height: 0; padding: 24px; }

  .support-strip {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
  }

  .support-strip .btn-light { justify-self: start; }

  .quick-grid { grid-template-columns: minmax(0, 1fr); }

  .doc-head h1 { font-size: clamp(34px, 9vw, 46px); }

  .print-btn { margin-left: 0; }

  .key-list > div { grid-template-columns: minmax(0, 1fr); gap: 3px; }

  .footer-top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }

  .footer-brand { grid-column: 1 / -1; }

  .safety-panel { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 460px) {
  .brand-word { font-size: 19px; }
  .brand-mark { width: 26px; height: 26px; }
  .site-nav a { padding: 6px 8px; font-size: 11.5px; }
  .doc-meta { gap: 8px 12px; }
}

/* ---------- Motion & print ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

@media print {
  @page { margin: 18mm 16mm; }

  body { background: #fff; color: #000; font-size: 11pt; }
  body::after { display: none; }

  .site-header,
  .site-footer,
  .doc-aside,
  .print-btn,
  .skip-link,
  .doc-foot { display: none !important; }

  .doc-shell { display: block; padding: 0; width: 100%; }
  .doc { max-width: none; }
  .doc-head { border-bottom: 1px solid #bbb; }
  .doc-head h1 { font-size: 28pt; }
  .doc-section { padding-top: 18pt; break-inside: avoid-page; }
  .doc-section h2 { font-size: 15pt; break-after: avoid; }
  .doc-section p, .doc-section li { orphans: 3; widows: 3; }
  a { color: #000; text-decoration: underline; }
  .callout, .table-wrap { border-color: #bbb; }
}
