/* PalX — palx.app
   Palette comes from the products: VoltPal's indigo icon ground and volt yellow,
   the charge-ring green for "checked", coral for "flagged".
   Type: Bricolage Grotesque (display), Instrument Sans (text), JetBrains Mono only for quoted source data. */

:root {
  --indigo: #3B30D9;
  --indigo-deep: #2A20B0;
  --volt: #FFD23F;
  --ink: #12142B;
  --paper: #F4F5F9;
  --card: #FFFFFF;
  --muted: #555A77;
  --line: #DADCE8;
  --ok: #17924F;
  --ok-soft: #E2F4EA;
  --flag: #C8401F;
  --flag-soft: #FBE7E1;
  --link: #3B30D9;
  --on-indigo: #FFFFFF;
  --on-indigo-muted: rgba(255, 255, 255, .78);
  --display: "Bricolage Grotesque", "Avenir Next", system-ui, sans-serif;
  --text: "Instrument Sans", "Helvetica Neue", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --gutter: max(16px, min(4.5vw, 48px));
  --max: 1240px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0E0F20;
    --card: #171933;
    --ink: #ECEDF7;
    --muted: #A4A8C6;
    --line: #2B2E4E;
    --ok: #4CC983;
    --ok-soft: #13301F;
    --flag: #FF8A6A;
    --flag-soft: #3A1E17;
    --link: #A9A3FF;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #0E0F20;
  --card: #171933;
  --ink: #ECEDF7;
  --muted: #A4A8C6;
  --line: #2B2E4E;
  --ok: #4CC983;
  --ok-soft: #13301F;
  --flag: #FF8A6A;
  --flag-soft: #3A1E17;
  --link: #A9A3FF;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--text);
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4, p, dl, dd, ol, ul, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: var(--link); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--volt); outline-offset: 3px; border-radius: 4px; }
button { font: inherit; color: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 10; background: var(--volt); color: #12142B; padding: 8px 14px; border-radius: 8px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }

/* The X: two strokes crossing, volt yellow. */
.xmark { display: inline-block; width: .74em; height: .74em; overflow: visible; vertical-align: -0.04em; }
.xmark path { fill: none; stroke: var(--volt); stroke-width: 17; stroke-linecap: round; }

/* ---------- Hero band ---------- */
.hero-band {
  background: var(--indigo);
  color: var(--on-indigo);
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.hero-band::before { /* faint graph-paper ground: x is a variable */
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,.35) 70%, transparent 100%);
}
.hero-band :focus-visible { outline-color: var(--volt); }

.site-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 22px; }
.wordmark { font-family: var(--display); font-weight: 800; font-variation-settings: "opsz" 48, "wdth" 90; font-size: 1.75rem; line-height: 1; letter-spacing: -.03em; color: #fff; text-decoration: none; display: inline-flex; align-items: baseline; }
.wordmark .xmark { margin-left: .02em; }
.site-head nav { display: flex; gap: clamp(14px, 2.6vw, 32px); }
.site-head nav a { color: #fff; text-decoration: none; font-weight: 500; font-size: .98rem; padding-block: 6px; border-bottom: 2px solid transparent; }
.site-head nav a:hover { border-bottom-color: var(--volt); }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding-block: clamp(24px, 5vw, 64px) clamp(56px, 8vw, 104px);
}
.hero-title { font-weight: inherit; }
.formula {
  display: flex; align-items: baseline; flex-wrap: nowrap;
  font-family: var(--display);
  font-weight: 800;
  font-variation-settings: "opsz" 96, "wdth" 82;
  font-size: clamp(4.2rem, 13.2vw, 10.5rem);
  line-height: .9;
  letter-spacing: -.028em;
  color: #fff;
  min-height: 1em;
  white-space: nowrap;
}
.f-pal { display: inline-block; will-change: transform; }
.f-x { display: inline-flex; align-items: baseline; }
.f-x .xmark { width: .7em; height: .7em; margin-left: -.07em; }
.f-x[hidden] { display: none; }
.f-pre, .f-suf { display: inline-block; color: var(--volt); }
.f-suf:empty, .f-pre:empty { display: none; }
.f-suf.is-in, .f-pre.is-in, .f-x.is-in { animation: slot-in .42s cubic-bezier(.2,.7,.2,1) both; }
@keyframes slot-in { from { opacity: 0; transform: translateY(.22em); } to { opacity: 1; transform: none; } }

.xmark--draw path { stroke-dasharray: 100; stroke-dashoffset: 100; animation: draw .5s cubic-bezier(.3,.6,.2,1) .25s forwards; }
.xmark--draw path + path { animation-delay: .52s; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.hero-lead { margin-top: clamp(20px, 3vw, 32px); max-width: 34ch; font-size: clamp(1.15rem, 1.7vw, 1.38rem); line-height: 1.5; color: var(--on-indigo-muted); }

.solve { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 14px; margin-top: clamp(26px, 3.4vw, 40px); }
.solve-eq { font-family: var(--display); font-weight: 700; font-size: 1.6rem; color: #fff; letter-spacing: -.02em; }
.solve-eq i { font-style: italic; font-family: Georgia, "Times New Roman", serif; font-weight: 400; color: var(--volt); }
.solve-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.solve-tabs [role="tab"] {
  cursor: pointer;
  min-width: 52px; min-height: 46px;
  padding: 8px 18px;
  border-radius: 999px;
  border: 2px solid rgba(255,255,255,.42);
  background: transparent;
  color: #fff;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.12rem;
  letter-spacing: -.01em;
  transition: background-color .15s, color .15s, border-color .15s;
}
.solve-tabs [role="tab"]:hover { border-color: #fff; }
.solve-tabs [role="tab"][aria-selected="true"] { background: var(--volt); border-color: var(--volt); color: #12142B; }

/* Stage */
.stage { position: relative; min-width: 0; }
.scene { display: grid; gap: 14px; }
.scene[hidden] { display: none; }
.scene.is-in .scene-art { animation: stage-in .38s cubic-bezier(.2,.7,.2,1) both; }
@keyframes stage-in { from { opacity: 0; transform: translateY(10px) rotate(-.4deg); } to { opacity: 1; transform: none; } }
.scene-art {
  border-radius: 28px;
  aspect-ratio: 5 / 4;
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(255,255,255,.25) inset, 0 30px 60px -28px rgba(8, 4, 60, .65);
  position: relative;
}
.scene figcaption { color: var(--on-indigo-muted); font-size: 1rem; }
.scene figcaption b { color: #fff; font-weight: 600; }
.scene figcaption a { color: var(--volt); margin-left: .35em; white-space: nowrap; }

.picks-art { background: #F7F2E9; color: #263D33; display: grid; grid-template-rows: auto 1fr auto; padding: clamp(20px, 4%, 32px); gap: 12px; }
.picks-wordmark { width: 46%; max-width: 220px; }
.picks-icons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4% 6%; align-content: center; padding-inline: 4%; }
.picks-icons img { width: 100%; }
.picks-icons img:nth-child(odd) { transform: rotate(-4deg); }
.picks-icons img:nth-child(even) { transform: rotate(3deg) translateY(6%); }
.picks-line { font-family: Georgia, "Times New Roman", serif; font-size: clamp(1rem, 2vw, 1.3rem); }

.volt-art { background: #F5F5F5; color: #1d1d1f; display: grid; grid-template-rows: auto 1fr auto; }
.menubar { display: flex; align-items: center; gap: 8px; height: 34px; padding-inline: 14px; background: rgba(255,255,255,.85); border-bottom: 1px solid #e3e3e3; font: 500 13px/1 -apple-system, "SF Pro Text", system-ui, sans-serif; }
.menubar img { width: 22px; height: 22px; }
.mb-apple { width: 12px; height: 14px; border-radius: 6px 6px 7px 7px; background: #1d1d1f; opacity: .8; }
.mb-space { flex: 1; }
.mb-clock { margin-left: 10px; opacity: .8; }
.volt-row { display: grid; grid-template-columns: repeat(5, 1fr); align-items: center; gap: 2%; padding: 0 5%; }
.volt-row img:nth-child(1) { transform: scale(1.18); }
.volt-line { padding: 0 6% 6%; font-family: var(--display); font-weight: 700; font-size: clamp(1.1rem, 2.4vw, 1.7rem); letter-spacing: -.02em; }

.data-art { background: #FFFFFF; color: #12142B; padding: clamp(18px, 4.5%, 32px); display: grid; align-content: center; gap: 14px; }
.data-art span { display: block; font-family: var(--text); font-size: .74rem; font-weight: 600; color: #555A77; margin-bottom: 2px; letter-spacing: .01em; }
.d-was { font-size: clamp(.86rem, 1.4vw, 1rem); color: #8A8DA5; text-decoration: line-through; text-decoration-color: rgba(200,64,31,.6); }
.d-now { font-family: var(--display); font-weight: 700; font-size: clamp(1.05rem, 2vw, 1.45rem); line-height: 1.2; letter-spacing: -.015em; }
.d-chips { display: grid; gap: 8px; }
.d-chips li { font-size: clamp(.8rem, 1.25vw, .92rem); padding: 8px 12px 8px 30px; border-radius: 10px; position: relative; line-height: 1.35; }
.d-chips li::before { position: absolute; left: 10px; top: 8px; font-weight: 700; }
.d-chips .ok { background: #E2F4EA; color: #0E5A31; }
.d-chips .ok::before { content: "✓"; }
.d-chips .flag { background: #FBE7E1; color: #8C2A12; }
.d-chips .flag::before { content: "!"; left: 13px; }
.d-chips q { display: block; font-family: var(--mono); font-size: .92em; opacity: .85; quotes: "“" "”"; }

.next-art { background: #1d1d2a; }
.next-art img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Sections ---------- */
main > section { scroll-margin-top: 16px; }
.section-title {
  font-family: var(--display);
  font-weight: 800;
  font-variation-settings: "opsz" 96, "wdth" 88;
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  line-height: .98;
  letter-spacing: -.022em;
  text-wrap: balance;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 10px 22px;
  border-radius: 999px;
  background: var(--ink); color: var(--paper);
  font-weight: 600; text-decoration: none;
  transition: transform .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn--volt { background: var(--volt); color: #12142B; }

/* Work */
.work { padding-block: clamp(72px, 10vw, 136px) clamp(48px, 7vw, 96px); display: grid; gap: clamp(40px, 6vw, 80px); }
.product { display: grid; gap: clamp(24px, 4vw, 56px); align-items: center; }
.product--picks { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.product--volt { grid-template-columns: minmax(0, 1fr); }
.product-copy { display: grid; gap: 14px; justify-items: start; max-width: 62ch; }
.product--volt .product-copy { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: clamp(24px, 5vw, 72px); max-width: none; align-items: start; }
.product--volt .product-copy > .product-name,
.product--volt .product-copy > .product-line { grid-column: 1; }
.product--volt .product-copy > p:not(.product-line) { grid-column: 1; }
.product--volt .product-copy > .facts { grid-column: 2; grid-row: 1 / span 3; }
.product--volt .product-copy > .btn { grid-column: 2; }
.product-name { font-family: var(--display); font-weight: 800; font-variation-settings: "opsz" 72, "wdth" 92; font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -.03em; line-height: 1; display: flex; align-items: center; gap: 14px; }
.vp-icon { width: 1.1em; height: 1.1em; border-radius: 24%; }
.product-line { font-family: var(--display); font-weight: 600; font-size: 1.3rem; letter-spacing: -.01em; color: var(--muted); }
.facts { display: grid; width: 100%; border-top: 1px solid var(--line); margin-block: 6px 8px; }
.facts > div { display: grid; grid-template-columns: 9.5em minmax(0, 1fr); gap: 12px; padding-block: 10px; border-bottom: 1px solid var(--line); }
.facts dt { color: var(--muted); font-size: .95rem; }
.facts dd { font-weight: 500; }

.picks-panel { background: #F7F2E9; border-radius: 32px; aspect-ratio: 1 / 1; display: grid; place-items: center; position: relative; overflow: hidden; }
.pp-mark { width: 30%; position: relative; z-index: 1; filter: drop-shadow(0 18px 18px rgba(38,61,51,.18)); }
.pp-grid { position: absolute; inset: 0; }
.pp-grid img { position: absolute; width: 30%; }
.pp-grid img:nth-child(1) { left: 6%; top: 8%; transform: rotate(-8deg); }
.pp-grid img:nth-child(2) { right: 6%; top: 12%; transform: rotate(7deg); }
.pp-grid img:nth-child(3) { left: 9%; bottom: 7%; transform: rotate(5deg); }
.pp-grid img:nth-child(4) { right: 8%; bottom: 9%; transform: rotate(-6deg); }

.volt-band { background: #F5F5F5; border-radius: 32px; padding: clamp(18px, 3vw, 40px); overflow: hidden; }
.volt-band img { width: 100%; }

/* PalX Data */
.data { background: var(--ink); color: #ECEDF7; padding-block: clamp(72px, 10vw, 136px); }
:root[data-theme="dark"] .data { background: #070814; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .data { background: #070814; } }
.data a { color: var(--volt); }
.data-head { display: grid; gap: 18px; max-width: 70ch; }
.data-name { font-family: var(--display); font-weight: 800; font-variation-settings: "opsz" 48, "wdth" 90; font-size: 1.5rem; letter-spacing: -.02em; display: inline-flex; align-items: baseline; gap: 0; }
.data-name .xmark { margin-right: .22em; }
.data-head .section-title { color: #fff; }
.data-lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: #B9BCD6; max-width: 60ch; }

.record { margin-top: clamp(36px, 5vw, 64px); display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 2px; background: #2B2E4E; border-radius: 24px; overflow: hidden; }
.record-side { background: #191B36; padding: clamp(18px, 3vw, 32px); display: grid; gap: 16px; align-content: start; }
.record-after { background: #FFFFFF; color: #12142B; }
.record-side h3 { font-size: .95rem; font-weight: 600; color: #9EA2C2; }
.record-after h3 { color: #17924F; }
.r-title { font-family: var(--display); font-weight: 700; font-size: clamp(1.1rem, 1.8vw, 1.4rem); line-height: 1.22; letter-spacing: -.01em; }
.record-before .r-title { color: #C9CBE0; font-weight: 600; }
.r-meta { display: grid; gap: 4px; font-size: .95rem; }
.r-meta > div { display: grid; grid-template-columns: 8em 1fr; gap: 10px; }
.r-meta dt { color: #8B8FAF; }
.record-after .r-meta dt { color: #555A77; }
.r-empty { color: #E98A70; font-style: italic; }
.r-specs { width: 100%; border-collapse: collapse; font-family: var(--mono); font-size: .86rem; }
.r-specs caption { text-align: left; font-family: var(--text); font-size: .85rem; color: #8B8FAF; padding-bottom: 6px; }
.r-specs th, .r-specs td { text-align: left; padding: 7px 8px; border-top: 1px solid #2B2E4E; font-weight: 400; vertical-align: top; }
.r-specs th { color: #B9BCD6; }
.r-specs td { color: #ECEDF7; white-space: nowrap; }
.r-specs tr { transition: background-color .2s; }
.r-specs tr.is-source { background: rgba(255, 210, 63, .2); box-shadow: inset 3px 0 0 var(--volt); }
.r-hint { font-size: .9rem; color: #555A77; }
.r-attrs { display: grid; gap: 6px; }
.r-attrs button {
  width: 100%; cursor: pointer; text-align: left;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px;
  padding: 10px 12px 10px 34px; border-radius: 12px;
  border: 1px solid #E3E5EE; background: #FAFAFD; position: relative;
  transition: border-color .15s, background-color .15s;
}
.r-attrs button::before { content: "✓"; position: absolute; left: 12px; top: 10px; color: #17924F; font-weight: 700; }
.r-attrs button:hover { border-color: #B9BCD6; }
.r-attrs button[aria-pressed="true"] { border-color: #17924F; background: #E2F4EA; }
.a-name { font-weight: 600; }
.a-val { font-weight: 600; font-variant-numeric: tabular-nums; text-align: right; }
.r-attrs q { grid-column: 1 / -1; font-family: var(--mono); font-size: .8rem; color: #555A77; quotes: "“" "”"; }
.r-more { font-size: .92rem; color: #555A77; }
.record-after h4 { font-size: .95rem; font-weight: 600; color: #C8401F; margin-top: 6px; }
.r-flags { display: grid; gap: 6px; }
.r-flags li { font-size: .92rem; line-height: 1.45; padding: 8px 12px 8px 30px; background: #FBE7E1; color: #6E220F; border-radius: 10px; position: relative; }
.r-flags li::before { content: "!"; position: absolute; left: 13px; top: 8px; font-weight: 700; color: #C8401F; }
.record-note { margin-top: 12px; font-size: .92rem; color: #8B8FAF; }

.how { margin-top: clamp(56px, 8vw, 96px); }
.how-title, .pilots-title { font-family: var(--display); font-weight: 700; font-size: clamp(1.5rem, 2.6vw, 2rem); letter-spacing: -.02em; color: #fff; line-height: 1.15; }
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; margin-top: 24px; border-top: 2px solid #34375C; }
.steps li { counter-increment: step; padding: 22px 20px 4px 0; position: relative; }
.steps li::before {
  content: counter(step);
  position: absolute; top: -15px; left: 0;
  width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--volt); color: #12142B;
  font: 700 .9rem/1 var(--display);
}
.steps h4 { font-family: var(--display); font-weight: 700; font-size: 1.25rem; letter-spacing: -.01em; color: #fff; margin-bottom: 6px; margin-top: 4px; }
.steps p { font-size: .95rem; color: #B9BCD6; line-height: 1.55; }

.pilots { margin-top: clamp(56px, 8vw, 96px); display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
.ledger { display: grid; border-top: 1px solid #34375C; }
.ledger > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: center; padding-block: 12px; border-bottom: 1px solid #34375C; }
.ledger dt { color: #B9BCD6; }
.ledger dd { font-family: var(--display); font-weight: 700; font-size: 1.3rem; color: #fff; font-variant-numeric: tabular-nums; text-align: right; }
.ledger-bar dd { display: flex; align-items: center; gap: 14px; }
.bar { display: grid; width: clamp(80px, 14vw, 180px); gap: 4px; }
.bar span { display: block; height: 8px; border-radius: 4px; width: var(--w); }
.bar-before { background: #4A4E78; }
.bar-after { background: var(--volt); }

.offer { margin-top: clamp(56px, 8vw, 96px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px; padding: clamp(24px, 4vw, 40px); border-radius: 24px; background: var(--indigo); color: #fff; }
.offer h3 { font-family: var(--display); font-weight: 800; font-size: clamp(1.6rem, 3vw, 2.3rem); letter-spacing: -.025em; line-height: 1.05; }
.offer p { margin-top: 8px; color: rgba(255,255,255,.85); max-width: 52ch; }
.offer a.btn { color: #12142B; }

/* Workshop */
.workshop { padding-block: clamp(72px, 10vw, 136px) clamp(40px, 6vw, 72px); }
.bench { margin-top: clamp(28px, 4vw, 48px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 4vw, 56px); }
.bench-item { display: grid; gap: 10px; align-content: start; }
.bench-item > img, .bench-item > .flow { width: 100%; aspect-ratio: 560 / 356; object-fit: cover; border-radius: 24px; margin-bottom: 10px; }
.bench-status { font-size: .9rem; font-weight: 600; color: var(--muted); }
.bench-item h3 { font-family: var(--display); font-weight: 700; font-size: clamp(1.4rem, 2.4vw, 1.8rem); letter-spacing: -.02em; line-height: 1.12; }
.bench-item p:not(.bench-status) { color: var(--muted); max-width: 58ch; }

.flow { background: var(--card); border: 1px solid var(--line); }
.flow-box rect { fill: var(--paper); stroke: var(--line); stroke-width: 1.5; }
.flow-box--main rect { fill: var(--indigo); stroke: var(--indigo); }
.flow-box--ghost rect { fill: none; stroke-dasharray: 6 6; stroke: var(--muted); }
.flow-box text { font-family: var(--display); font-weight: 700; font-size: 19px; text-anchor: middle; fill: var(--ink); }
.flow-box .flow-sub { font-family: var(--text); font-weight: 400; font-size: 14px; fill: var(--muted); }
.flow-box--main text { fill: #fff; }
.flow-box--main .flow-sub { fill: rgba(255,255,255,.8); }
.flow-line path { fill: none; stroke: var(--muted); stroke-width: 2; }
.flow-line .flow-dash { stroke-dasharray: 5 6; }

/* Studio */
.studio { padding-block: clamp(56px, 8vw, 112px); }
.studio-grid { margin-top: clamp(24px, 4vw, 48px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px) clamp(32px, 6vw, 96px); }
.studio-lead { font-family: var(--display); font-weight: 600; font-variation-settings: "opsz" 48; font-size: clamp(1.35rem, 2.4vw, 1.85rem); line-height: 1.3; letter-spacing: -.015em; max-width: 30ch; }
.rules { display: grid; gap: 22px; }
.rules h3 { font-family: var(--display); font-weight: 700; font-size: 1.3rem; letter-spacing: -.01em; }
.rules p { color: var(--muted); margin-top: 2px; }
.stack { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 2px solid var(--ink); }
.stack > div { padding: 14px 16px 0 0; }
.stack dt { font-weight: 600; }
.stack dd { color: var(--muted); font-size: .98rem; }

/* Contact */
.contact { background: var(--volt); color: #12142B; padding-block: clamp(72px, 11vw, 150px); }
.contact-title { font-family: var(--display); font-weight: 800; font-variation-settings: "opsz" 96, "wdth" 82; font-size: clamp(3.2rem, 11vw, 9rem); line-height: .9; letter-spacing: -.028em; }
.contact-lead { margin-top: 18px; font-size: clamp(1.1rem, 1.8vw, 1.35rem); max-width: 44ch; }
.contact-mail { display: inline-block; margin-top: clamp(24px, 4vw, 40px); font-family: var(--display); font-weight: 700; font-size: clamp(1.6rem, 5vw, 3.4rem); letter-spacing: -.03em; color: #12142B; text-decoration: underline; text-decoration-thickness: .08em; text-underline-offset: .14em; overflow-wrap: anywhere; }
.contact-mail:hover { color: var(--indigo); }
.contact :focus-visible { outline-color: #12142B; }

/* Footer */
.site-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; padding-block: 32px 40px; color: var(--muted); font-size: .95rem; }
.foot-mark { font-family: var(--display); font-weight: 800; font-variation-settings: "opsz" 48, "wdth" 90; font-size: 1.4rem; letter-spacing: -.03em; color: var(--ink); display: inline-flex; align-items: baseline; }
.foot-mark .xmark path { stroke: var(--indigo); }
.site-foot nav { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-left: auto; }
.site-foot nav a { color: var(--muted); }
.site-foot nav a:hover { color: var(--ink); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; border-top: 0; }
  .steps li { border-top: 2px solid #34375C; }
  .stack { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 16px; }
}
@media (max-width: 900px) {
  .hero { grid-template-columns: minmax(0, 1fr); }
  .product--picks { grid-template-columns: minmax(0, 1fr); }
  .picks-panel { aspect-ratio: 4 / 3; }
  .product--volt .product-copy { grid-template-columns: minmax(0, 1fr); }
  .product--volt .product-copy > * { grid-column: 1 !important; grid-row: auto !important; }
  .record { grid-template-columns: minmax(0, 1fr); }
  .pilots { grid-template-columns: minmax(0, 1fr); }
  .bench { grid-template-columns: minmax(0, 1fr); }
  .studio-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .nav-wide { display: none; }
  .site-head nav { gap: 16px; }
  .site-head nav a { font-size: .94rem; }
  .wordmark { font-size: 1.55rem; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .stack { grid-template-columns: minmax(0, 1fr); }
  .facts > div { grid-template-columns: 7.5em minmax(0, 1fr); }
  .ledger-bar dd { flex-direction: column; align-items: flex-end; gap: 6px; }
  .r-meta > div { grid-template-columns: 7em 1fr; }
  .scene-art { border-radius: 22px; }
  .volt-band { overflow-x: auto; padding: 16px; }
  .volt-band img { width: 720px; max-width: none; }
  .solve { flex-wrap: nowrap; gap: 10px; }
  .solve-eq { font-size: 1.35rem; flex: none; }
  .solve-tabs { gap: 6px; flex-wrap: nowrap; }
  .solve-tabs [role="tab"] { min-width: 44px; min-height: 44px; padding: 6px 13px; font-size: 1rem; }
  .site-foot nav { margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; transition-duration: .001ms !important; }
  .xmark--draw path { stroke-dashoffset: 0; }
}
