/* ==========================================================================
   JMNI Labs — site stylesheet
   Static, dependency-free, self-hosted fonts. Dark "instrument" theme with a
   single amber accent; Recitation uses a warm paper sub-theme.
   ========================================================================== */

@font-face {
  font-family: "Geist";
  src: url("/assets/fonts/geist-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Geist Mono";
  src: url("/assets/fonts/geist-mono-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("/assets/fonts/instrument-serif-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("/assets/fonts/instrument-serif-latin-400-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

:root {
  --bg: #07080b;
  --bg-2: #0a0c10;
  --panel: #0e1117;
  --panel-2: #131720;
  --panel-3: #181d28;
  --line: rgba(255, 255, 255, 0.07);
  --line-2: rgba(255, 255, 255, 0.12);
  --line-3: rgba(255, 255, 255, 0.2);
  --text: #eef1f6;
  --text-2: #c3cad6;
  --muted: #8d97a8;
  --faint: #5f697a;
  --accent: #f0b429;
  --accent-2: #ffd27a;
  --accent-soft: rgba(240, 180, 41, 0.1);
  --accent-line: rgba(240, 180, 41, 0.32);
  --accent-ink: #171106;
  --ok: #5fd39a;

  --paper: #f5f0e6;
  --paper-2: #ece5d6;
  --paper-line: #ddd3bf;
  --ink: #1d1b17;
  --ink-2: #57514a;
  --ink-3: #8a8277;
  --rust: #b4532a;

  --radius: 16px;
  --radius-sm: 10px;
  --maxw: 1180px;
  --sans: "Geist", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
  --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; }
::selection { background: rgba(240, 180, 41, 0.3); color: #fff; }

h1, h2, h3, h4 {
  margin: 0 0 0.5em;
  font-weight: 560;
  line-height: 1.08;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 6vw, 4.6rem); letter-spacing: -0.045em; line-height: 1.02; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); letter-spacing: -0.04em; }
h3 { font-size: 1.22rem; letter-spacing: -0.02em; line-height: 1.25; }
h4 { font-size: 0.95rem; letter-spacing: -0.01em; }

h1 em, h2 em, .serif {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
}
h1 em, h2 em { color: var(--accent-2); padding-right: 0.04em; }

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

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

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

.muted { color: var(--muted); }
.accent { color: var(--accent); }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 8, 11, 0.72);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 66px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 620;
  letter-spacing: -0.02em;
  font-size: 1.05rem;
  flex-shrink: 0;
}
.brand-mark { color: var(--text); }
.brand-sub { color: var(--muted); font-weight: 450; }

.nav { display: flex; align-items: center; gap: 2px; margin-right: auto; }
.nav a {
  color: var(--muted);
  padding: 7px 13px;
  border-radius: 999px;
  font-size: 0.93rem;
  transition: color 0.15s ease, background 0.15s ease;
}
.nav a:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.nav a[aria-current="page"] { color: var(--text); background: rgba(255, 255, 255, 0.06); }

.header-cta { display: flex; align-items: center; gap: 10px; }

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border-radius: 10px;
  border: 1px solid var(--line-2);
  background: transparent;
  color: var(--text);
  cursor: pointer;
  position: relative;
}
.nav-toggle .bars, .nav-toggle .bars::before, .nav-toggle .bars::after {
  position: absolute; left: 12px; width: 16px; height: 1.5px; background: currentColor; border-radius: 2px;
  transition: transform 0.2s var(--ease), opacity 0.2s ease;
}
.nav-toggle .bars { top: 20px; }
.nav-toggle .bars::before { content: ""; left: 0; top: -5px; }
.nav-toggle .bars::after { content: ""; left: 0; top: 5px; }
.nav-toggle[aria-expanded="true"] .bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .bars::before { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars::after { transform: translateY(-5px) rotate(-45deg); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 600;
  font-size: 0.97rem;
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  white-space: nowrap;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 1px 2px rgba(0, 0, 0, 0.4);
  transition: transform 0.15s var(--ease), box-shadow 0.2s ease, background 0.15s ease, border-color 0.15s ease;
}
.btn:hover { background: var(--accent-2); transform: translateY(-1px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 10px 30px rgba(240, 180, 41, 0.22); }
.btn .arrow { transition: transform 0.2s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

.btn-ghost {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  border-color: var(--line-2);
  box-shadow: none;
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.07); border-color: var(--line-3); box-shadow: none; }

.btn-sm { padding: 8px 16px; font-size: 0.9rem; }
.btn-lg { padding: 15px 28px; font-size: 1.02rem; }

.link {
  color: var(--accent);
  font-weight: 550;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.link .arrow { transition: transform 0.2s var(--ease); }
.link:hover .arrow, a:hover .link .arrow { transform: translateX(3px); }

.prose a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: var(--accent-line);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.15s ease;
}
.prose a:hover { text-decoration-color: var(--accent); }

/* ---------- Eyebrows, ledes, heads ---------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 22px;
}
.eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

.lede {
  max-width: 620px;
  color: var(--text-2);
  font-size: 1.16rem;
  line-height: 1.6;
  margin-top: 22px;
}

.section-head { max-width: 760px; margin-bottom: 52px; }
.section-head p:not(.eyebrow) { color: var(--muted); font-size: 1.08rem; margin-top: 16px; max-width: 640px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center p:not(.eyebrow) { margin-left: auto; margin-right: auto; }
.section-head.row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }

/* ---------- Sections ---------- */

.section { padding: 112px 0; position: relative; }
.section.tight { padding: 72px 0; }

.section.alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: 104px 0 96px;
  overflow: hidden;
  isolation: isolate;
}
.hero::before, .page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  background-position: center top;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, #000 20%, transparent 75%);
  opacity: 0.55;
}
.hero::after, .page-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 1100px; height: 620px;
  left: 50%; top: -340px;
  transform: translateX(-30%);
  background: radial-gradient(closest-side, rgba(240, 180, 41, 0.13), transparent);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
}

.hero-copy > * { animation: rise 0.8s var(--ease) both; }
.hero-copy > *:nth-child(2) { animation-delay: 0.06s; }
.hero-copy > *:nth-child(3) { animation-delay: 0.12s; }
.hero-copy > *:nth-child(4) { animation-delay: 0.18s; }
.hero-visual { animation: rise 1s 0.15s var(--ease) both; margin: 0; }

@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

.cta-row { display: flex; gap: 12px; margin-top: 38px; flex-wrap: wrap; }

/* ---------- Console window frame ---------- */

.console {
  position: relative;
  background: linear-gradient(180deg, rgba(22, 27, 37, 0.92), rgba(12, 15, 21, 0.96));
  border: 1px solid var(--line-2);
  border-radius: 18px;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.5),
    0 40px 100px -30px rgba(0, 0, 0, 0.8),
    0 0 80px -20px rgba(240, 180, 41, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  overflow: hidden;
}
.console-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 0.74rem;
  color: var(--muted);
}
.console-dots { display: flex; gap: 6px; }
.console-dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, 0.12); }
.console-title { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.console-status { display: inline-flex; align-items: center; gap: 7px; color: var(--text-2); }
.console-status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 10px var(--ok); }

.console-foot {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
}
.console-foot div { padding: 13px 16px; border-left: 1px solid var(--line); }
.console-foot div:first-child { border-left: 0; }
.console-foot dt { font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); }
.console-foot dd { margin: 3px 0 0; font-family: var(--mono); font-size: 0.84rem; color: var(--text); }

/* ring diagram */
.ring-svg { width: 100%; height: auto; }
.ring-svg .cable { fill: none; stroke: rgba(240, 180, 41, 0.35); stroke-width: 1.4; }
.ring-svg .cable-b { stroke: rgba(240, 180, 41, 0.2); }
.ring-svg .guide { fill: none; stroke: rgba(255, 255, 255, 0.08); stroke-dasharray: 3 6; }
.ring-svg .node rect { fill: #151a24; stroke: rgba(255, 255, 255, 0.16); }
.ring-svg .node .face { fill: #0e1219; stroke: rgba(255, 255, 255, 0.06); }
.ring-svg .node-name { font-family: var(--mono); font-size: 12.5px; fill: #eef1f6; }
.ring-svg .node-kind { font-family: var(--mono); font-size: 9.5px; fill: #8d97a8; letter-spacing: 0.06em; }
.ring-svg .led { fill: #5fd39a; }
.ring-svg .led-glow { fill: #5fd39a; opacity: 0.25; animation: led 2.4s ease-in-out infinite; }
.ring-svg .pulse { fill: #ffd27a; }
.ring-svg .pulse-b { fill: #f0b429; opacity: 0.8; }
.ring-svg .c-kicker { font-family: var(--mono); font-size: 10.5px; fill: #f0b429; letter-spacing: 0.14em; }
.ring-svg .c-title { font-family: var(--sans); font-size: 19px; font-weight: 560; fill: #eef1f6; letter-spacing: -0.02em; }
.ring-svg .c-sub { font-family: var(--mono); font-size: 10.5px; fill: #8d97a8; }
.ring-svg .rank { font-family: var(--mono); font-size: 9px; fill: #5f697a; letter-spacing: 0.08em; }
.ring-svg .plane { font-family: var(--mono); font-size: 8.5px; fill: rgba(240, 180, 41, 0.6); letter-spacing: 0.08em; }

@keyframes led { 0%, 100% { opacity: 0.1; } 50% { opacity: 0.45; } }

/* ---------- "Runs with" band ---------- */

.band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
}
.band-inner {
  display: flex;
  align-items: center;
  gap: 36px;
  padding-top: 22px;
  padding-bottom: 22px;
  flex-wrap: wrap;
}
.band-label {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
  flex-shrink: 0;
}
.band-items { display: flex; gap: 12px 34px; flex-wrap: wrap; flex: 1; justify-content: space-between; }
.band-items span { color: var(--muted); font-size: 0.95rem; font-weight: 500; letter-spacing: -0.01em; white-space: nowrap; }

/* ---------- Metrics ---------- */

.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--panel), var(--bg-2));
  overflow: hidden;
}
.metric { padding: 34px 30px 30px; border-left: 1px solid var(--line); }
.metric:first-child { border-left: 0; }
.metric-num {
  display: block;
  font-size: clamp(2.2rem, 3.6vw, 3rem);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 1;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}
.metric-num small { font-family: var(--mono); font-size: 0.9rem; letter-spacing: 0; color: var(--accent); margin-left: 6px; font-weight: 450; }
.metric-label { display: block; margin-top: 14px; color: var(--muted); font-size: 0.93rem; line-height: 1.5; }
.footnote { margin-top: 16px; font-family: var(--mono); font-size: 0.74rem; color: var(--faint); letter-spacing: 0.02em; }
.footnote a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-3); }

/* ---------- Chips & status pills ---------- */

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 0.76rem;
  color: var(--text-2);
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.025);
  border-radius: 999px;
  padding: 4px 11px;
  white-space: nowrap;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-2);
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 999px;
  padding: 5px 12px;
}
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ok); }
.status.soon::before { background: var(--accent); }

/* ---------- Recitation mock UI ---------- */

.mock {
  background: #fbf8f2;
  color: var(--ink);
  border: 1px solid var(--paper-line);
  border-bottom: 0;
  border-right: 0;
  border-radius: 14px 0 0 0;
  display: grid;
  grid-template-columns: 170px 1fr;
  font-size: 0.8rem;
  line-height: 1.5;
  overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(80, 60, 20, 0.35);
}
.mock.boxed { border: 1px solid var(--paper-line); border-radius: 16px; grid-template-columns: 210px 1fr; font-size: 0.86rem; box-shadow: 0 50px 120px -40px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(0, 0, 0, 0.3); }
.mock-side { background: var(--paper-2); border-right: 1px solid var(--paper-line); padding: 16px 14px; }
.mock-course { font-family: var(--serif); font-size: 1.12rem; line-height: 1.15; margin-bottom: 4px; color: var(--ink); }
.mock-meta { font-family: var(--mono); font-size: 0.64rem; color: var(--ink-3); letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 14px; }
.mock-unit { font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); margin: 12px 0 6px; }
.mock-lesson { display: flex; align-items: center; gap: 8px; padding: 5px 7px; border-radius: 7px; color: var(--ink-2); font-size: 0.76rem; }
.mock-lesson i { width: 12px; height: 12px; border-radius: 50%; border: 1.5px solid #c5b99f; flex-shrink: 0; }
.mock-lesson.done i { background: var(--rust); border-color: var(--rust); }
.mock-lesson.now { background: #fff; color: var(--ink); box-shadow: 0 1px 0 var(--paper-line); font-weight: 550; }
.mock-lesson.now i { border-color: var(--rust); box-shadow: inset 0 0 0 2px #fff; background: var(--rust); }
.mock-progress { margin-top: 16px; height: 4px; border-radius: 4px; background: #ddd2bc; overflow: hidden; }
.mock-progress span { display: block; width: 38%; height: 100%; background: var(--rust); }

.mock-main { padding: 18px 20px 16px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.mock-head { display: flex; justify-content: space-between; align-items: center; font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.mock-voice { display: inline-flex; align-items: center; gap: 6px; color: var(--rust); }
.mock-voice b { display: inline-flex; gap: 2px; align-items: flex-end; height: 10px; }
.mock-voice b i { width: 2px; background: var(--rust); border-radius: 1px; animation: eq 1.1s ease-in-out infinite; }
.mock-voice b i:nth-child(1) { height: 4px; }
.mock-voice b i:nth-child(2) { height: 10px; animation-delay: 0.15s; }
.mock-voice b i:nth-child(3) { height: 6px; animation-delay: 0.3s; }
.mock-voice b i:nth-child(4) { height: 8px; animation-delay: 0.45s; }
@keyframes eq { 0%, 100% { transform: scaleY(0.5); } 50% { transform: scaleY(1); } transform-origin: bottom; }

.mock-msg { background: #fff; border: 1px solid #ebe3d3; border-radius: 12px; padding: 12px 14px; color: var(--ink); }
.mock-msg .who { font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--rust); margin-bottom: 4px; }
.mock-msg p { margin: 0 0 6px; }
.mock-eq { font-family: var(--serif); font-size: 1.15rem; text-align: center; margin: 6px 0 8px; color: var(--ink); }
.mock-eq sub, .mock-eq sup { font-size: 0.65em; }
.mock-cite { display: inline-flex; font-family: var(--mono); font-size: 0.64rem; color: var(--ink-2); background: var(--paper-2); border: 1px solid var(--paper-line); border-radius: 5px; padding: 1px 6px; margin-right: 4px; }
.mock-q { border: 1px dashed #d7ccb5; border-radius: 12px; padding: 11px 14px; background: #fdfbf7; }
.mock-q .who { font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 4px; }
.mock-q p { margin: 0; }
.mock-verdict { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-family: var(--mono); font-size: 0.66rem; color: #7b5b12; background: #f6ebc9; border-radius: 5px; padding: 2px 8px; }
.mock-input { display: flex; align-items: center; gap: 10px; border: 1px solid #e3d9c6; background: #fff; border-radius: 10px; padding: 8px 10px 8px 14px; color: var(--ink-3); margin-top: auto; }
.mock-input span { flex: 1; }
.mock-input b { width: 26px; height: 26px; border-radius: 50%; background: var(--ink); display: grid; place-items: center; }
.mock-input b svg { width: 12px; height: 12px; }

/* ---------- Grids of cells ---------- */

.cells { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.cells.three { grid-template-columns: repeat(3, 1fr); }
.cells.two { grid-template-columns: repeat(2, 1fr); }
.cell { background: var(--bg); padding: 32px 30px 34px; transition: background 0.2s ease; }
.section.alt .cell { background: var(--bg-2); }
.cell:hover { background: var(--panel); }
.cell h3 { margin: 22px 0 10px; font-size: 1.1rem; }
.cell p { color: var(--muted); font-size: 0.95rem; margin: 0; }
.cell .cell-foot { margin-top: 18px; font-family: var(--mono); font-size: 0.72rem; color: var(--faint); letter-spacing: 0.04em; }

.icon {
  width: 40px; height: 40px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-2);
  background: linear-gradient(180deg, var(--panel-3), var(--panel));
  color: var(--accent);
}
.icon svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Split layout ---------- */

.split { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 72px; align-items: center; }

.split.top { align-items: start; }
.split h2 { margin-bottom: 20px; }
.split .body { color: var(--muted); font-size: 1.05rem; }
.split .body p { margin-bottom: 1.1em; }

.checks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; }
.checks li { position: relative; padding-left: 32px; color: var(--text-2); }
.checks li::before {
  content: "";
  position: absolute;
  left: 0; top: 3px;
  width: 20px; height: 20px;
  border-radius: 6px;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.6 2.6L14 7.6' fill='none' stroke='%23f0b429' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat;
  border: 1px solid var(--accent-line);
}
.checks strong { color: var(--text); font-weight: 580; }

/* ---------- Evidence record (spec sheet) ---------- */

.record {
  border: 1px solid var(--line-2);
  border-radius: 18px;
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  overflow: hidden;
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, 0.8);
}
.record-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding: 24px 26px 20px;
  border-bottom: 1px solid var(--line);
}
.record-kicker { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); margin-bottom: 6px; }
.record-title { font-size: 1.2rem; font-weight: 560; letter-spacing: -0.02em; }
.record dl { margin: 0; }
.record-row {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 16px;
  padding: 12px 26px;
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
}
.record-row:last-child { border-bottom: 0; }
.record-row dt { color: var(--muted); }
.record-row dd { margin: 0; font-family: var(--mono); font-size: 0.86rem; color: var(--text); font-variant-numeric: tabular-nums; }
.record-row dd .dim { color: var(--faint); }
.record-foot { padding: 14px 26px; border-top: 1px solid var(--line); background: rgba(255, 255, 255, 0.015); display: flex; justify-content: space-between; gap: 16px; font-family: var(--mono); font-size: 0.74rem; color: var(--faint); flex-wrap: wrap; }
.record-foot a { color: var(--accent); }

/* ---------- Evidence table ---------- */

.table-wrap { border: 1px solid var(--line); border-radius: var(--radius); overflow-x: auto; background: var(--panel); }
table.data { width: 100%; border-collapse: collapse; font-size: 0.92rem; min-width: 760px; }
table.data th { text-align: left; font-family: var(--mono); font-weight: 500; font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); padding: 16px 20px; border-bottom: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.015); }
table.data td { padding: 20px; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--text-2); }
table.data tr:last-child td { border-bottom: 0; }
table.data td strong { display: block; color: var(--text); font-weight: 560; letter-spacing: -0.01em; }
table.data td .sub { display: block; font-family: var(--mono); font-size: 0.74rem; color: var(--faint); margin-top: 3px; }
table.data td.num { font-family: var(--mono); font-size: 0.84rem; color: var(--text); }
table.data td a { color: var(--accent); }

/* ---------- Steps ---------- */

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.steps.three { grid-template-columns: repeat(3, 1fr); }
.step { position: relative; padding-top: 28px; border-top: 1px solid var(--line-2); }
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute; top: -1px; left: 0;
  padding-top: 12px;
  border-top: 1px solid var(--accent);
  width: 40px;
  font-family: var(--mono);
  font-size: 0.74rem;
  color: var(--accent);
  letter-spacing: 0.08em;
}
.step h3 { margin: 14px 0 10px; }
.step p { color: var(--muted); font-size: 0.95rem; margin: 0; }

/* ---------- Editions ---------- */

.editions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.edition {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--panel);
  padding: 32px 30px 30px;
}
.edition.featured {
  border-color: var(--accent-line);
  background: linear-gradient(180deg, rgba(240, 180, 41, 0.07), var(--panel) 40%);
  box-shadow: 0 30px 80px -40px rgba(240, 180, 41, 0.25);
}
.edition-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 22px; }
.edition-name { font-family: var(--mono); font-size: 0.76rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-2); }
.edition-price { font-size: 1.9rem; font-weight: 520; letter-spacing: -0.04em; line-height: 1.1; }
.edition-price small { display: block; font-size: 0.88rem; letter-spacing: 0; color: var(--muted); font-weight: 400; margin-top: 6px; }
.edition .checks { margin: 26px 0 30px; gap: 12px; }
.edition .checks li { font-size: 0.94rem; }
.edition .btn { margin-top: auto; width: 100%; }

/* ---------- FAQ ---------- */

.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 24px 44px 24px 0;
  position: relative;
  font-weight: 540;
  font-size: 1.08rem;
  letter-spacing: -0.015em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute; right: 6px; top: 50%;
  width: 10px; height: 10px;
  border-right: 1.5px solid var(--muted);
  border-bottom: 1.5px solid var(--muted);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.2s var(--ease);
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { color: var(--muted); margin: -6px 0 24px; max-width: 760px; }

/* ---------- Notes ---------- */

.notes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.note {
  display: flex;
  flex-direction: column;
  padding: 32px 32px 30px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel);
  min-height: 250px;
  transition: border-color 0.2s ease, transform 0.2s var(--ease), background 0.2s ease;
}
.note:hover { border-color: var(--line-2); background: var(--panel-2); transform: translateY(-3px); }
.note-meta { display: flex; gap: 14px; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); }
.note-meta .kind { color: var(--accent); }
.note h3 { margin: 22px 0 10px; font-size: 1.5rem; letter-spacing: -0.03em; }
.note p { color: var(--muted); margin: 0 0 24px; }
.note .link { margin-top: auto; font-size: 0.92rem; }

/* ---------- Principles / quote ---------- */

.pull {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3.4vw, 2.7rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--text);
  max-width: 900px;
  margin: 0;
  text-wrap: balance;
}
.pull em { color: var(--accent-2); }

/* ---------- Roadmap ---------- */

.roadmap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.phase { border: 1px solid var(--line); border-radius: 16px; padding: 28px; background: var(--panel); }
.phase .when { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.phase h3 { margin: 12px 0 14px; }
.phase ul { list-style: none; padding: 0; display: grid; gap: 10px; }
.phase li { color: var(--muted); font-size: 0.94rem; padding-left: 18px; position: relative; }
.phase li::before { content: ""; position: absolute; left: 0; top: 0.7em; width: 8px; height: 1px; background: var(--faint); }

/* ---------- Person ---------- */

.person { display: flex; gap: 22px; align-items: flex-start; }
.avatar {
  width: 64px; height: 64px; flex-shrink: 0;
  border-radius: 18px;
  display: grid; place-items: center;
  font-family: var(--serif);
  font-size: 1.7rem;
  color: var(--accent-ink);
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
}
.person h3 { margin: 4px 0 2px; }
.person .role { font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); margin-bottom: 12px; }
.person p { color: var(--muted); }

/* ---------- Contact paths ---------- */

.paths { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.path {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel);
  padding: 30px;
  transition: border-color 0.2s ease, transform 0.2s var(--ease), background 0.2s ease;
}
.path:hover { border-color: var(--line-2); background: var(--panel-2); transform: translateY(-3px); }
.path h3 { margin: 22px 0 10px; }
.path p { color: var(--muted); font-size: 0.95rem; }
.path ul { list-style: none; padding: 0; margin: 4px 0 26px; display: grid; gap: 8px; }
.path li { font-size: 0.9rem; color: var(--text-2); padding-left: 18px; position: relative; }
.path li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 8px; height: 1px; background: var(--accent); }
.path .link { margin-top: auto; font-size: 0.92rem; }

.email-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 30px 34px;
  background: linear-gradient(90deg, rgba(240, 180, 41, 0.06), var(--panel) 50%);
}
.email-card .big { font-size: clamp(1.4rem, 3vw, 2rem); letter-spacing: -0.035em; font-weight: 520; }
.email-card p { color: var(--muted); margin: 6px 0 0; }

/* ---------- CTA band ---------- */

.cta-band {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line-2);
  border-radius: 28px;
  padding: 80px 64px;
  background:
    radial-gradient(700px 320px at 85% 110%, rgba(240, 180, 41, 0.16), transparent 70%),
    radial-gradient(500px 260px at 0% 0%, rgba(255, 255, 255, 0.04), transparent 70%),
    linear-gradient(180deg, var(--panel-2), var(--panel));
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 48px;
  align-items: end;
}
.cta-band h2 { margin: 0; font-size: clamp(2rem, 4vw, 3.2rem); }
.cta-band p { color: var(--muted); font-size: 1.06rem; margin: 0 0 26px; }
.cta-band .cta-row { margin-top: 0; }

/* ---------- Page hero (inner pages) ---------- */

.page-hero {
  position: relative;
  padding: 104px 0 72px;
  overflow: hidden;
  isolation: isolate;
}
.page-hero h1 { font-size: clamp(2.4rem, 5.4vw, 4.1rem); max-width: 900px; }
.page-hero .lede { max-width: 680px; }
.page-hero > .wrap > * { animation: rise 0.8s var(--ease) both; }
.page-hero > .wrap > *:nth-child(2) { animation-delay: 0.06s; }
.page-hero > .wrap > *:nth-child(3) { animation-delay: 0.12s; }
.page-hero > .wrap > *:nth-child(4) { animation-delay: 0.18s; }

/* Recitation page tint */
.page-hero.warm::after { background: radial-gradient(closest-side, rgba(214, 130, 70, 0.14), transparent); }
.page-hero.warm h1 em { color: #f3c9a0; }
.page-hero.warm .eyebrow { color: #e7a773; }
.page-hero.warm .eyebrow .dot { background: #e7a773; box-shadow: 0 0 0 4px rgba(231, 167, 115, 0.14); }

/* ---------- Prose (field notes) ---------- */

.article-head { max-width: 760px; margin: 0 auto; padding: 96px 0 40px; }
.article-head h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.article-head .lede { font-size: 1.22rem; }
.byline { display: flex; align-items: center; gap: 14px; margin-top: 34px; padding-top: 24px; border-top: 1px solid var(--line); }
.byline .avatar { width: 42px; height: 42px; border-radius: 12px; font-size: 1.2rem; }
.byline strong { display: block; font-weight: 560; font-size: 0.95rem; }
.byline span { font-family: var(--mono); font-size: 0.74rem; color: var(--faint); letter-spacing: 0.04em; }

.prose { max-width: 760px; margin: 0 auto; padding-bottom: 40px; font-size: 1.08rem; line-height: 1.75; }
.prose p, .prose li { color: var(--text-2); }
.prose p { margin-bottom: 1.3em; }
.prose h2 { font-size: 1.7rem; letter-spacing: -0.03em; margin: 2.2em 0 0.7em; }
.prose blockquote {
  margin: 2.2em 0;
  padding: 4px 0 4px 26px;
  border-left: 2px solid var(--accent);
  font-family: var(--serif);
  font-size: 1.6rem;
  line-height: 1.35;
  color: var(--text);
}
.prose code {
  font-family: var(--mono);
  font-size: 0.86em;
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 2px 6px;
}
.article-foot { max-width: 760px; margin: 0 auto; padding: 32px 0 0; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

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

.site-footer { border-top: 1px solid var(--line); padding: 72px 0 40px; margin-top: 40px; background: var(--bg-2); }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 40px; }
.footer-grid h4 { font-family: var(--mono); font-weight: 500; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); margin-bottom: 16px; }
.footer-grid ul { list-style: none; padding: 0; display: grid; gap: 10px; }
.footer-grid li a { color: var(--muted); font-size: 0.93rem; transition: color 0.15s ease; }
.footer-grid li a:hover { color: var(--text); }
.footer-about p { color: var(--muted); font-size: 0.93rem; max-width: 300px; margin: 18px 0 18px; }
.footer-about a.mail { color: var(--text-2); font-size: 0.93rem; border-bottom: 1px solid var(--line-3); padding-bottom: 2px; }
.footer-about a.mail:hover { color: var(--accent); border-color: var(--accent); }
.footer-bottom {
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 16px 32px;
  flex-wrap: wrap;
  color: var(--faint);
  font-size: 0.82rem;
}
.footer-bottom a { color: var(--muted); }
.footer-bottom a:hover { color: var(--text); }
.footer-tm { width: 100%; font-size: 0.76rem; line-height: 1.6; color: #4d5666; }

/* ---------- 404 ---------- */

.center-page { min-height: 62vh; display: flex; flex-direction: column; justify-content: center; padding: 96px 0; }

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

@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .hero-visual { max-width: 640px; }

  .cells { grid-template-columns: repeat(2, 1fr); }

  .footer-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-about { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .nav { display: none; }
  .nav-toggle { display: inline-block; }
  .header-cta { margin-left: auto; }
  .nav.open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: 66px; left: 0; right: 0;
    padding: 12px 20px 20px;
    background: rgba(7, 8, 11, 0.97);
    border-bottom: 1px solid var(--line);
    gap: 2px;
  }
  .nav.open a { padding: 12px 14px; border-radius: 10px; font-size: 1rem; }

  .section { padding: 84px 0; }
  .metrics { grid-template-columns: repeat(2, 1fr); }
  .metric:nth-child(3) { border-left: 0; }
  .metric:nth-child(n+3) { border-top: 1px solid var(--line); }
  .notes, .editions, .paths, .roadmap { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 48px; }

  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .steps.three { grid-template-columns: 1fr; }
  .cells.three { grid-template-columns: 1fr; }
  .cta-band { grid-template-columns: 1fr; padding: 56px 36px; gap: 28px; }

  .record-row { grid-template-columns: 1fr; gap: 2px; }
  .mock.boxed { grid-template-columns: 1fr; }
  .mock.boxed .mock-side { display: none; }
  .section-head.row { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap { padding: 0 20px; }
  .hero { padding: 72px 0 64px; }
  .page-hero { padding: 72px 0 48px; }
  .header-cta .btn { display: none; }
  .cta-row .btn { width: 100%; }
  .band-items { justify-content: flex-start; }
  .metrics { grid-template-columns: 1fr; }
  .metric { border-left: 0; }
  .metric:nth-child(n+2) { border-top: 1px solid var(--line); }
  .cells, .cells.two, .steps { grid-template-columns: 1fr; }

  .mock { grid-template-columns: 1fr; }
  .mock .mock-side { display: none; }
  .console-foot { grid-template-columns: repeat(2, 1fr); }
  .console-foot div:nth-child(3) { border-left: 0; }
  .console-foot div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-band { padding: 44px 24px; border-radius: 22px; }
  .person { flex-direction: column; }
  .email-card { padding: 26px 24px; }
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .ring-svg .pulse, .ring-svg .pulse-b { display: none; }
}

/* ---------- Additions ---------- */

.metrics.metrics-2 { grid-template-columns: repeat(2, 1fr); }
.metrics.metrics-2 .metric:nth-child(3) { border-left: 0; }
.metrics.metrics-2 .metric:nth-child(n+3) { border-top: 1px solid var(--line); }
.page-hero .center-page { min-height: 52vh; padding: 0; }
.split .console { width: 100%; }
a.record { display: block; transition: border-color 0.2s ease, transform 0.2s var(--ease); }
a.record:hover { border-color: var(--line-3); transform: translateY(-3px); }
.person + .muted { margin-top: 28px; }
@media (max-width: 600px) {
  .metrics.metrics-2 { grid-template-columns: 1fr; }
  .metrics.metrics-2 .metric { border-left: 0; }
  .metrics.metrics-2 .metric:nth-child(n+2) { border-top: 1px solid var(--line); }
}
table.data th:nth-child(1) { width: 22%; }
table.data th:nth-child(2) { width: 15%; }
table.data th:nth-child(3) { width: 24%; }

/* ---------- Enclave mock UI ---------- */

.emock {
  display: grid;
  grid-template-columns: 200px 1fr;
  background: #f4f6f9;
  color: #16202e;
  border: 1px solid #d5dbe4;
  border-radius: 16px;
  overflow: hidden;
  font-size: 0.84rem;
  line-height: 1.5;
  box-shadow: 0 50px 120px -40px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(0, 0, 0, 0.3);
}
.emock-side { background: #e8ecf2; border-right: 1px solid #d5dbe4; padding: 18px 14px; }
.emock-org { font-weight: 620; letter-spacing: -0.01em; margin-bottom: 6px; }
.emock-label { font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.12em; text-transform: uppercase; color: #6b778a; margin: 14px 0 6px; }
.emock-item { display: flex; justify-content: space-between; gap: 6px; padding: 5px 8px; border-radius: 7px; color: #3a4658; font-size: 0.78rem; }
.emock-item span { color: #8a94a5; font-family: var(--mono); font-size: 0.66rem; }
.emock-item.on { background: #fff; color: #16202e; font-weight: 560; box-shadow: 0 1px 0 #d5dbe4; }
.emock-main { padding: 18px 20px 16px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.emock-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.08em; text-transform: uppercase; color: #6b778a; }
.emock-badge { display: inline-flex; align-items: center; gap: 6px; color: #1f7a4f; background: #e1f3ea; border-radius: 999px; padding: 2px 9px; white-space: nowrap; }
.emock-badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #1f9d62; }
.emock-ask { align-self: flex-end; max-width: 85%; background: #16202e; color: #eef2f7; border-radius: 12px 12px 4px 12px; padding: 10px 13px; }
.emock-ans { background: #fff; border: 1px solid #dfe4ec; border-radius: 12px; padding: 12px 14px; display: grid; gap: 6px; }
.emock-title { font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.1em; text-transform: uppercase; color: #2f5fb0; margin-bottom: 2px; }
.emock-row { display: grid; grid-template-columns: 54px 1fr auto; gap: 10px; align-items: baseline; padding: 4px 0; border-bottom: 1px solid #eef1f5; }
.emock-row b { font-family: var(--mono); font-weight: 500; font-size: 0.72rem; color: #16202e; }
.emock-row i { font-style: normal; font-family: var(--mono); font-size: 0.64rem; color: #3a4658; background: #eef1f6; border: 1px solid #dfe4ec; border-radius: 5px; padding: 0 6px; }
.emock-flag { font-family: var(--mono); font-size: 0.68rem; color: #8a4b00; background: #fdf1dc; border-radius: 6px; padding: 4px 8px; }
.emock-foot { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-family: var(--mono); font-size: 0.64rem; color: #6b778a; margin-top: auto; }

/* ---------- Product cards ---------- */

.pcards { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.pcard {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 40px;
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  transition: border-color 0.25s ease, transform 0.25s var(--ease);
}
.pcard:hover { border-color: var(--line-2); transform: translateY(-3px); }
.pcard-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 26px; }
.pcard-kind { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.pcard h3 { font-size: 2.2rem; letter-spacing: -0.04em; margin-bottom: 6px; }
.pcard .pcard-sub { font-family: var(--serif); font-style: italic; font-size: 1.45rem; color: var(--accent-2); margin-bottom: 18px; line-height: 1.25; }
.pcard > p { color: var(--muted); }
.pcard .checks { margin: 8px 0 30px; gap: 11px; }
.pcard .checks li { font-size: 0.95rem; }
.pcard .link { margin-top: auto; }
.pcard.paper { background: linear-gradient(180deg, #f8f4ec, var(--paper)); border-color: #e3dac8; color: var(--ink); }
.pcard.paper:hover { border-color: #cfc3aa; }
.pcard.paper .pcard-kind, .pcard.paper .link { color: var(--rust); }
.pcard.paper .pcard-sub { color: var(--rust); }
.pcard.paper > p, .pcard.paper .checks li { color: var(--ink-2); }
.pcard.paper .checks strong { color: var(--ink); }
.pcard.paper .status { color: var(--ink-2); border-color: #d9cfbb; background: rgba(255, 255, 255, 0.5); }

/* ---------- Hardware tiers ---------- */

.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tier { border: 1px solid var(--line); border-radius: 18px; background: var(--panel); padding: 30px; display: flex; flex-direction: column; }
.tier .when { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.tier h3 { margin: 14px 0 6px; font-size: 1.3rem; }
.tier .spec { font-family: var(--mono); font-size: 0.8rem; color: var(--faint); margin-bottom: 16px; }
.tier p { color: var(--muted); font-size: 0.95rem; margin: 0; }

@media (max-width: 900px) {
  .pcards, .tiers { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .emock { grid-template-columns: 1fr; }
  .emock-side { display: none; }
  .pcard { padding: 30px 26px; }
}
