/* Ashback, the AI wallet manager page (coming soon). One sheet, own origin
   only, system type faces. The page reads whole with no script: every motion
   rule sits under html.motion, a class the script adds when motion is wanted.
   The shared parts (tokens, bar, buttons, small type, bands, cards, embers,
   foot) are the landing page's own rules, copied. */

:root {
  --soot: #080605;
  --soot-2: #110c09;
  --soot-3: #1a120d;
  --iron: #6e6257;
  --ash: #bdb1a4;
  --bone: #efe6da;
  --ember: #ff6a1c;
  --ember-hot: #ffa766;
  --ink: #170a03;
  --line: rgba(239, 230, 218, 0.13);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --gate-ease: cubic-bezier(0.65, 0, 0.35, 1);
  --pad: clamp(20px, 5.2vw, 72px);
}

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

html {
  background: var(--soot);
  color: var(--bone);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--soot);
  font: 400 17px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg, canvas { display: block; }
a { color: inherit; }
[hidden] { display: none !important; }

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

.skip {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 60;
  padding: 14px 18px;
  border-radius: 12px;
  background: var(--bone);
  color: var(--ink);
  font-weight: 650;
  text-decoration: none;
  transform: translateY(-200%);
}
.skip:focus { transform: none; }

/* ---------- the top bar ---------- */

.bar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: max(10px, env(safe-area-inset-top)) var(--pad) 10px;
  background: rgba(8, 6, 5, 0.74);
  box-shadow: 0 1px 0 var(--line);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  backdrop-filter: blur(16px) saturate(1.2);
  transition: background-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
/* over the first screen's picture the bar is clear glass */
html.motion .bar:not(.is-solid) {
  background: rgba(8, 6, 5, 0);
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.mark {
  display: inline-flex;
  align-items: center;
  gap: 0.72em;
  min-height: 44px;
  font: 700 13px/1 var(--sans);
  letter-spacing: 0.34em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--bone);
}
.mark::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--ember);
  box-shadow: 0 0 14px 2px rgba(255, 106, 28, 0.8);
}

/* ---------- buttons ---------- */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  font: 650 16px/1.1 var(--sans);
  letter-spacing: 0.01em;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.25s var(--ease), box-shadow 0.35s var(--ease), background-color 0.25s var(--ease);
}
.btn--small,
.btn--big {
  color: var(--ink);
  background: linear-gradient(180deg, #ffb27a 0%, #ff7a2c 58%, #f8621a 100%);
  box-shadow: inset 0 1px 0 rgba(255, 236, 214, 0.75), inset 0 0 0 1px rgba(255, 190, 140, 0.35), 0 10px 30px -10px rgba(255, 106, 28, 0.7);
}
.btn--small { min-height: 44px; padding: 0 18px; font-size: 14.5px; }
.btn--big { min-height: 58px; padding: 0 34px; font-size: 18px; }
.btn--line {
  color: var(--bone);
  background: rgba(239, 230, 218, 0.04);
  box-shadow: inset 0 0 0 1px rgba(239, 230, 218, 0.28);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(1px) scale(0.985); }
.btn--big:hover { box-shadow: inset 0 1px 0 rgba(255, 236, 214, 0.8), inset 0 0 0 1px rgba(255, 190, 140, 0.4), 0 16px 44px -10px rgba(255, 106, 28, 0.85); }
.btn--line:hover { background: rgba(239, 230, 218, 0.09); }

/* the breathing glow behind the main call */
.btn--big::after {
  content: "";
  position: absolute;
  inset: -14px -10px;
  z-index: -1;
  border-radius: inherit;
  background: radial-gradient(60% 80% at 50% 60%, rgba(255, 106, 28, 0.5), rgba(255, 106, 28, 0) 70%);
  opacity: 0.55;
  pointer-events: none;
}
html.motion .btn--big::after { animation: breathe 6.5s ease-in-out infinite; }
@keyframes breathe {
  0%, 100% { opacity: 0.35; transform: scale(0.96); }
  50% { opacity: 0.8; transform: scale(1.04); }
}

/* ---------- small type ---------- */

.eyebrow {
  margin-bottom: 14px;
  font: 700 12px/1.25 var(--sans);
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--ember-hot);
}
.fine {
  font-size: 14px;
  line-height: 1.45;
  color: var(--ash);
}
.headline {
  font: 400 clamp(40px, 11.2vw, 86px)/1 var(--serif);
  letter-spacing: -0.022em;
  text-wrap: balance;
}
.title {
  max-width: 21ch;
  margin-bottom: clamp(28px, 5vw, 52px);
  font: 400 clamp(30px, 7.4vw, 58px)/1.05 var(--serif);
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.glyph {
  flex: none;
  width: 24px;
  height: 24px;
  fill: none;
  stroke: var(--ember-hot);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.glyph--big { width: 34px; height: 34px; margin-bottom: 18px; }


/* ---------- the first screen ---------- */

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 100vh;
  min-height: 100svh;
  isolation: isolate;
  background: var(--soot);
}
.hero__art,
.hero__shade { position: absolute; inset: 0; }
.hero__art img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 24%; }
.hero__shade {
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(8, 6, 5, 0.62) 0%, rgba(8, 6, 5, 0) 16%),
    linear-gradient(0deg, rgba(8, 6, 5, 0.97) 0%, rgba(8, 6, 5, 0.94) 38%, rgba(8, 6, 5, 0.82) 49%, rgba(8, 6, 5, 0.4) 60%, rgba(8, 6, 5, 0) 72%);
}
.hero__embers { z-index: 1; inset: 0 0 46% 0; overflow: hidden; }
.hero__words {
  position: relative;
  z-index: 2;
  padding: 84px var(--pad) calc(26px + env(safe-area-inset-bottom));
}
.hero .eyebrow { text-shadow: 0 0 14px rgba(8, 6, 5, 0.9), 0 1px 2px rgba(8, 6, 5, 0.8); }
.lede {
  max-width: 32ch;
  margin-top: 14px;
  font-size: clamp(18px, 4.8vw, 22px);
  line-height: 1.38;
  color: #e4dacd;
}
.hero .status { margin: 18px 0 0; }
.hero__call { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.hero__call .btn { flex: 1 1 170px; }
html.motion .hero__words > * { animation: rise 0.7s var(--ease) both; }
html.motion .hero__words > :nth-child(2) { animation-delay: 0.08s; }
html.motion .hero__words > :nth-child(3) { animation-delay: 0.16s; }
html.motion .hero__words > :nth-child(4) { animation-delay: 0.24s; }
html.motion .hero__words > :nth-child(5) { animation-delay: 0.32s; }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

.status {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: -6px 0 30px;
  padding: 12px 18px;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: 15px;
  line-height: 1.35;
  color: var(--bone);
}
.status::before {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--iron);
}

/* ---------- what he looks for ---------- */

.checks {
  background:
    radial-gradient(90% 46% at 50% 0%, rgba(255, 106, 28, 0.14), rgba(255, 106, 28, 0) 72%),
    var(--soot);
}
.checks__grid { display: grid; gap: 16px; }
.check { display: flex; flex-direction: column; }
.check__line {
  font: 400 clamp(21px, 5.4vw, 25px)/1.22 var(--serif);
  letter-spacing: -0.01em;
  color: var(--bone);
}
.check .fine { margin-top: 12px; }

/* ---------- flagged, never proven ---------- */

.proof { background: linear-gradient(180deg, var(--soot) 0%, var(--soot-2) 50%, var(--soot) 100%); }
.plain li {
  padding: 18px 0;
  border-top: 1px solid var(--line);
  font: 400 clamp(19px, 4.9vw, 24px)/1.3 var(--serif);
}
.plain li:last-child { border-bottom: 1px solid var(--line); }

/* ---------- what it cannot do, what to do ---------- */

.warn {
  margin-top: clamp(28px, 5vw, 44px);
  padding: clamp(20px, 3.2vw, 30px);
  border-left: 3px solid var(--ember);
  border-radius: 0 20px 20px 0;
  background: rgba(255, 106, 28, 0.09);
}
.warn h3,
.steps-box h3 {
  margin-bottom: 10px;
  font: 700 12px/1.25 var(--sans);
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--ember-hot);
}
.warn p { font: 400 clamp(19px, 4.9vw, 24px)/1.32 var(--serif); color: var(--bone); }
.steps-box { margin-top: clamp(28px, 5vw, 44px); }
.steps { counter-reset: step; display: grid; gap: 12px; margin-top: 6px; }
.steps li {
  counter-increment: step;
  position: relative;
  min-height: 44px;
  padding: 9px 0 9px 56px;
  font-size: 18px;
  line-height: 1.45;
  color: var(--bone);
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 2px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(255, 167, 102, 0.6);
  font: 400 20px/1 var(--serif);
  color: var(--ember-hot);
}
.steps-box .fine,
.limit { margin-top: 16px; font-size: 15px; line-height: 1.5; color: var(--ash); }
.limit { max-width: 44em; padding-left: 18px; border-left: 2px solid var(--iron); }

/* ---------- the call ---------- */

.call {
  text-align: center;
  background:
    radial-gradient(60% 60% at 50% 55%, rgba(255, 106, 28, 0.2), rgba(255, 106, 28, 0) 70%),
    var(--soot);
}
.call .title { max-width: 20ch; margin-left: auto; margin-right: auto; }
.call__row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.call__row .btn { flex: 0 1 240px; }

/* ---------- bands ---------- */

.band {
  position: relative;
  padding: clamp(48px, 6.5vw, 88px) 0;
  overflow: hidden;
  overflow: clip;
}
.wrap {
  position: relative;
  z-index: 1;
  width: min(1120px, 100% - 2 * var(--pad));
  margin: 0 auto;
}
.wrap--narrow { width: min(760px, 100% - 2 * var(--pad)); }

.card {
  position: relative;
  padding: clamp(20px, 3.2vw, 34px);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 167, 102, 0.07) 0%, rgba(239, 230, 218, 0.03) 44%, rgba(8, 6, 5, 0.12) 100%), #140f0c;
  box-shadow: inset 0 0 0 1px rgba(239, 230, 218, 0.14), inset 0 1px 0 rgba(255, 236, 214, 0.1), 0 44px 80px -44px rgba(0, 0, 0, 0.95);
}

html.motion [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
html.motion [data-reveal].is-in { opacity: 1; transform: none; }

/* drifting embers, compositor only */
.embers { position: absolute; inset: 0; pointer-events: none; }
.embers i {
  position: absolute;
  bottom: -12px;
  width: 3px;
  height: 3px;
  animation-duration: 12s;
  border-radius: 50%;
  background: var(--ember-hot);
  box-shadow: 0 0 7px 1px rgba(255, 106, 28, 0.85);
  opacity: 0;
}
html.motion .embers i { animation-name: drift; animation-timing-function: linear; animation-iteration-count: infinite; }
html.motion .embers:not(.is-live) i { animation-play-state: paused; }
html .embers i:nth-child(1) { left: 6%; animation-duration: 13s; animation-delay: -2s; }
html .embers i:nth-child(2) { left: 17%; animation-duration: 16s; animation-delay: -9s; width: 2px; height: 2px; }
html .embers i:nth-child(3) { left: 29%; animation-duration: 11s; animation-delay: -5s; }
html .embers i:nth-child(4) { left: 41%; animation-duration: 15s; animation-delay: -12s; width: 2px; height: 2px; }
html .embers i:nth-child(5) { left: 53%; animation-duration: 12s; animation-delay: -1s; }
html .embers i:nth-child(6) { left: 64%; animation-duration: 17s; animation-delay: -7s; width: 4px; height: 4px; }
html .embers i:nth-child(7) { left: 73%; animation-duration: 12.5s; animation-delay: -10s; width: 2px; height: 2px; }
html .embers i:nth-child(8) { left: 82%; animation-duration: 14s; animation-delay: -4s; }
html .embers i:nth-child(9) { left: 90%; animation-duration: 11.5s; animation-delay: -8s; width: 2px; height: 2px; }
html .embers i:nth-child(10) { left: 96%; animation-duration: 15.5s; animation-delay: -13s; }
@keyframes drift {
  0% { transform: translate3d(0, 0, 0); opacity: 0; }
  8% { opacity: 0.9; }
  55% { transform: translate3d(22px, -46vh, 0); opacity: 0.6; }
  100% { transform: translate3d(-14px, -92vh, 0); opacity: 0; }
}

/* ---------- foot ---------- */

.foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  padding: 22px var(--pad) calc(28px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
}


/* ---------- wider screens ---------- */

@media (min-width: 620px) {
  .checks__grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1000px) {
  .checks__grid { grid-template-columns: repeat(4, 1fr); gap: 20px; }
  .foot { padding-bottom: 28px; }
}
/* a landscape screen: the words stand at the left, beside the keeper */
@media (min-aspect-ratio: 4/5) {
  .hero { justify-content: center; }
  .hero__art img { object-position: 62% 50%; }
  .hero__shade {
    background:
      linear-gradient(180deg, rgba(8, 6, 5, 0.6) 0%, rgba(8, 6, 5, 0) 18%),
      linear-gradient(90deg, rgba(8, 6, 5, 0.92) 0%, rgba(8, 6, 5, 0.74) 30%, rgba(8, 6, 5, 0.24) 52%, rgba(8, 6, 5, 0) 66%),
      linear-gradient(0deg, rgba(8, 6, 5, 0.7) 0%, rgba(8, 6, 5, 0) 26%);
  }
  .hero__embers { inset: 0 0 0 44%; }
  .hero__words > * { max-width: min(600px, 46vw); }
  .hero__call .btn { flex: 0 0 auto; }
  .lede { margin-top: 20px; }
}
/* a phone with the browser's bars on screen: the words stand closer */
@media (max-height: 720px) and (max-aspect-ratio: 4/5) {
  .headline { font-size: clamp(32px, 9.6vw, 40px); }
  .lede { margin-top: 10px; font-size: 17px; }
  .hero .status { margin-top: 14px; }
  .hero__call { margin-top: 14px; }
}

/* ---------- the static path ---------- */

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

/* ---------- the AI wallet manager page: additions over the scam page's base ---------- */

.lede--tight { margin-top: 14px; max-width: 62ch; }
.lede--tight + .lede--tight { margin-top: 12px; }
.card__name { font: 400 clamp(20px, 5vw, 23px)/1.22 var(--serif); color: var(--bone); letter-spacing: -0.01em; }
.card__name + .fine { margin-top: 10px; }
.sub { margin: clamp(44px, 7vw, 72px) 0 0; font: 400 clamp(24px, 6vw, 34px)/1.15 var(--serif); letter-spacing: -0.015em; color: var(--bone); }
.sub__lede { margin: 10px 0 clamp(18px, 3vw, 28px); max-width: 60ch; font-size: 15px; }

/* bands: two tones, in turn */
.idea, .command, .keep, .faq {
  background: radial-gradient(90% 46% at 50% 0%, rgba(255, 106, 28, 0.12), rgba(255, 106, 28, 0) 72%), var(--soot);
}
.uses, .calib, .road, .close { background: linear-gradient(180deg, var(--soot) 0%, var(--soot-2) 50%, var(--soot) 100%); }
.engine { background: linear-gradient(180deg, var(--soot) 0%, var(--soot-3) 45%, var(--soot) 100%); }

/* the first screen: three beats of headline have to fit above the fold on a 720 px tall screen */
.hero .headline { font-size: clamp(40px, 10vw, 72px); }

/* section markers */
.eyebrow__rule { display: inline-block; width: 28px; height: 1px; margin: 0 6px; vertical-align: middle; background: currentColor; opacity: 0.6; }

/* chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: -8px 0 clamp(22px, 4vw, 34px); }
.chip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 6px 12px 6px 10px; border-radius: 999px;
  box-shadow: inset 0 0 0 1px var(--line); background: rgba(239, 230, 218, 0.035);
  font: 500 13.5px/1.3 var(--sans); color: var(--bone);
}
.chip::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--ember); box-shadow: 0 0 8px rgba(255, 106, 28, 0.8); }

/* the thesis: text beside the art */
.thesis { display: grid; gap: 22px; }
.thesis .call__row { justify-content: flex-start; margin-top: 18px; }
.thesis .call__row .btn { flex: 0 1 auto; }
.thesis__art {
  margin: 0; overflow: hidden; border-radius: 24px; aspect-ratio: 16 / 10; background: var(--soot-2);
  box-shadow: inset 0 0 0 1px var(--line), 0 44px 80px -44px rgba(0, 0, 0, 0.95);
}
.thesis__art img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
@media (min-width: 900px) { .thesis { grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; } }

/* the run as a line */
.diagram { display: flex; flex-direction: column; margin-top: clamp(32px, 6vw, 56px); }
.diagram__set { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.diagram__node {
  display: flex; align-items: center; justify-content: center; min-height: 48px; padding: 10px 14px; border-radius: 14px;
  box-shadow: inset 0 0 0 1px var(--line); background: rgba(17, 12, 9, 0.92);
  font: 500 14px/1.25 var(--sans); color: var(--bone); text-align: center;
}
.diagram__node--w { background: rgba(239, 230, 218, 0.04); color: var(--ash); }
.diagram__node--you { background: linear-gradient(180deg, #ffb27a, #f8621a); color: var(--ink); font-weight: 700; box-shadow: 0 10px 30px -10px rgba(255, 106, 28, 0.7); }
.diagram__arrow { position: relative; display: block; width: 2px; height: 22px; margin: 0 auto; background: linear-gradient(180deg, rgba(255, 106, 28, 0.7), rgba(255, 106, 28, 0.25)); }
.diagram__arrow::after {
  content: ""; position: absolute; left: 50%; bottom: -1px; width: 8px; height: 8px;
  border-right: 2px solid rgba(255, 106, 28, 0.8); border-bottom: 2px solid rgba(255, 106, 28, 0.8); transform: translateX(-50%) rotate(45deg);
}
.diagram__cap { margin-top: 14px; max-width: 70ch; }
@media (min-width: 900px) {
  .diagram { flex-direction: row; align-items: center; }
  .diagram__set { flex: 0 0 auto; grid-template-columns: 1fr; gap: 6px; }
  .diagram__node { flex: 1 1 0; min-height: 56px; }
  .diagram__arrow { flex: none; width: 28px; height: 2px; margin: 0; background: linear-gradient(90deg, rgba(255, 106, 28, 0.7), rgba(255, 106, 28, 0.25)); }
  .diagram__arrow::after { left: auto; right: -1px; bottom: auto; top: 50%; transform: translateY(-50%) rotate(-45deg); }
}

/* the status panel */
.panel, .cmd, .console {
  margin-top: clamp(24px, 4vw, 36px); border-radius: 22px;
  background: linear-gradient(180deg, rgba(26, 18, 13, 0.98), rgba(8, 6, 5, 0.98));
  box-shadow: inset 0 0 0 1px var(--line), inset 0 1px 0 rgba(255, 236, 214, 0.08), 0 44px 80px -44px rgba(0, 0, 0, 0.95);
}
.panel, .cmd { padding: clamp(18px, 3vw, 28px); }
.panel__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.panel__title, .leave__name { font: 700 12px/1.25 var(--sans); letter-spacing: 0.22em; text-transform: uppercase; color: var(--ash); }
.panel__tag, .console__tag, .part__tag, .keep__switch {
  display: inline-block; padding: 4px 10px; border-radius: 999px; border: 1px solid rgba(255, 106, 28, 0.45);
  font: 700 11px/1.5 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--ember-hot);
}
.panel__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 18px; }
.panel__num { display: block; font: 400 clamp(34px, 8vw, 52px)/1 var(--serif); letter-spacing: -0.02em; color: var(--bone); font-variant-numeric: tabular-nums; }
.panel__lbl { display: block; margin-top: 6px; font-size: 13.5px; line-height: 1.3; color: var(--ash); }
.panel__fig--hot .panel__num { color: var(--ember-hot); }
.panel__note { margin-top: 18px; padding: 12px 14px; border-radius: 12px; background: rgba(239, 230, 218, 0.05); font-size: 14.5px; line-height: 1.45; color: var(--bone); }
.panel__bar { display: flex; gap: 3px; height: 34px; margin-top: 14px; }
.panel__seg {
  display: flex; align-items: center; justify-content: center; min-width: 0; overflow: hidden; border-radius: 8px;
  font: 600 12px/1 var(--sans); letter-spacing: 0.04em; color: var(--ink); white-space: nowrap;
}
.panel__seg--close { flex-grow: 23; background: #ffa766; }
.panel__seg--burn { flex-grow: 5; background: #ff6a1c; }
.panel__seg--sell { flex-grow: 3; background: #d8cbbb; }
.panel__seg--send { flex-grow: 4; background: #bdb1a4; }
.illus { margin-top: 14px; font: 400 12.5px/1.4 var(--sans); color: var(--iron); }
@media (min-width: 620px) { .panel__grid { grid-template-columns: repeat(4, 1fr); } }

/* tiles */
.tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: clamp(22px, 4vw, 32px); }
.tile { padding: 18px 16px; border-radius: 18px; box-shadow: inset 0 0 0 1px var(--line); background: rgba(239, 230, 218, 0.03); }
.tile__num { display: block; font: 400 clamp(30px, 7vw, 44px)/1 var(--serif); letter-spacing: -0.02em; color: var(--ember-hot); }
.tile__lbl { display: block; margin-top: 6px; font: 600 14px/1.3 var(--sans); color: var(--bone); }
.tile__fine { display: block; margin-top: 4px; font-size: 13px; line-height: 1.4; color: var(--ash); }
.tiles--speed .tile__num { font-size: clamp(24px, 5.6vw, 34px); }
@media (min-width: 900px) { .tiles { grid-template-columns: repeat(4, 1fr); gap: 16px; } }

/* card grids and their labelled rows */
.cards { display: grid; gap: 16px; margin-top: clamp(22px, 4vw, 34px); }
@media (min-width: 620px) { .cards--two, .cards--five { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .cards { gap: 20px; } .cards--five { grid-template-columns: repeat(3, 1fr); } }
.part__tag { margin-bottom: 10px; }
.rows { display: grid; gap: 10px; margin: 14px 0 0; }
.rows--tight { margin-top: 12px; }
.row { display: grid; grid-template-columns: 76px 1fr; gap: 10px; padding-top: 10px; border-top: 1px solid var(--line); }
.row dt { font: 700 11px/1.6 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--ember-hot); }
.row dd { margin: 0; font-size: 14.5px; line-height: 1.45; color: var(--ash); }
.door .row { grid-template-columns: 96px 1fr; }

/* the one command */
.cmd { font-family: var(--mono); }
.cmd__row { display: grid; grid-template-columns: 86px 1fr; gap: 10px; align-items: start; padding: 10px 0; border-top: 1px solid var(--line); }
.cmd__row:first-child { padding-top: 0; border-top: 0; }
.cmd__k { font: 700 11px/2.4 var(--sans); letter-spacing: 0.18em; text-transform: uppercase; color: var(--ember-hot); }
.cmd__v { display: flex; flex-wrap: wrap; gap: 8px; min-width: 0; font-size: 13.5px; line-height: 1.5; color: var(--bone); }
.cmd__v--keys { flex-direction: column; gap: 6px; }
.cmd__v--keys span, .cmd__v--addr { padding: 7px 10px; border-radius: 8px; background: rgba(239, 230, 218, 0.05); color: var(--ash); overflow-wrap: anywhere; }
.cmd__pick { padding: 7px 14px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); color: var(--ash); }
.cmd__pick.is-on { background: var(--bone); color: var(--ink); font-weight: 700; box-shadow: none; }
.cmd__run {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 22px; border-radius: 999px;
  background: linear-gradient(180deg, #ffb27a 0%, #ff7a2c 58%, #f8621a 100%); color: var(--ink); font: 700 14px/1 var(--sans);
}
.cmd__hint { align-self: center; font-size: 12.5px; color: var(--iron); }

/* calibration */
.calib__note { max-width: 60ch; margin-top: 18px; }

/* the console: the engine's example run */
.console { overflow: hidden; background: #1c140f; box-shadow: inset 0 0 0 1px rgba(255, 167, 102, 0.28), 0 44px 80px -44px rgba(0, 0, 0, 0.95), 0 0 80px -30px rgba(255, 106, 28, 0.45); font-family: var(--mono); }
.console__head { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: rgba(239, 230, 218, 0.03); }
.console__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--ember); box-shadow: 0 0 10px rgba(255, 106, 28, 0.9); }
.console__title { flex: 1 1 auto; font-size: 12.5px; letter-spacing: 0.04em; color: var(--ash); }
.console__lines { display: grid; gap: 2px; padding: 14px 16px 10px; }
.console__line { display: grid; grid-template-columns: 52px 1fr; gap: 10px; padding: 7px 0; font-size: 13px; line-height: 1.5; color: var(--ash); }
.console__k { font-size: 11.5px; line-height: 1.7; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ember-hot); }
.console__t b { font-weight: 700; color: var(--bone); }
.console__line--you .console__t, .console__line--done .console__t { color: var(--bone); }
.console__line--you .console__k { color: #ffd2a8; }
.console__foot { display: flex; align-items: center; gap: 10px; padding: 10px 16px 14px; border-top: 1px solid var(--line); font: 400 12px/1.4 var(--sans); color: var(--iron); }
.console__cursor { flex: none; width: 8px; height: 15px; background: var(--ember-hot); }
html.motion .console__cursor { animation: blink 1s steps(2, start) infinite; }
@keyframes blink { to { visibility: hidden; } }
/* while the script runs the example, the lines wait hidden and come in one by one */
html.motion .console.is-live .console__line { opacity: 0; transform: translateY(6px); transition: opacity 0.45s var(--ease), transform 0.45s var(--ease); }
html.motion .console.is-live .console__line.is-on { opacity: 1; transform: none; }
@media (min-width: 620px) { .console__line { grid-template-columns: 64px 1fr; font-size: 14px; } .console__lines { padding: 18px 22px 12px; } }

/* four checks around the verifier */
.hub { position: relative; display: grid; gap: 14px; }
.hub__core {
  display: grid; place-items: center; width: 108px; height: 108px; margin: 0 auto; border-radius: 50%;
  background: radial-gradient(circle at 50% 40%, #ffb27a, #f8621a 70%); color: var(--ink);
  font: 700 12px/1 var(--sans); letter-spacing: 0.18em; text-transform: uppercase;
  box-shadow: 0 0 60px -10px rgba(255, 106, 28, 0.8), 0 0 0 10px rgba(255, 106, 28, 0.1);
}
@media (min-width: 900px) {
  .hub { grid-template-columns: 1fr 1fr; gap: 20px; }
  .hub__core { position: absolute; left: 50%; top: 50%; z-index: 2; transform: translate(-50%, -50%); }
  .hub__item--1, .hub__item--3 { padding-right: 96px; }
  .hub__item--2, .hub__item--4 { padding-left: 96px; }
}

/* what stays where */
.keep__grid { display: grid; gap: 14px; margin-top: clamp(22px, 4vw, 34px); }
.keep__col { padding: 20px; border-radius: 20px; box-shadow: inset 0 0 0 1px var(--line); background: rgba(17, 12, 9, 0.92); }
.keep__col--tab { box-shadow: inset 0 0 0 1px rgba(255, 106, 28, 0.5); background: linear-gradient(180deg, rgba(255, 106, 28, 0.1), rgba(17, 12, 9, 0.92)); }
.keep__name { font: 400 clamp(20px, 5vw, 24px)/1.2 var(--serif); color: var(--bone); }
.keep__list { display: grid; gap: 6px; margin-top: 12px; }
.keep__list li { position: relative; padding-left: 18px; font-size: 14.5px; line-height: 1.45; color: var(--ash); }
.keep__list li::before { content: ""; position: absolute; left: 0; top: 9px; width: 6px; height: 6px; border-radius: 50%; background: var(--ember); }
.keep__switch { margin-top: 14px; }
.keep__switch--off { color: var(--ash); border-color: var(--line); }
@media (min-width: 900px) { .keep__grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.leave { margin-top: 20px; padding: 20px; border-radius: 20px; box-shadow: inset 0 0 0 1px var(--line); background: rgba(239, 230, 218, 0.03); }
.leave__list { display: grid; gap: 8px; margin-top: 12px; }
.leave__list li { position: relative; padding-left: 30px; font-size: 15px; line-height: 1.45; color: var(--bone); }
.leave__list li::before { position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; font: 700 12px/1 var(--sans); }
.leave__yes::before { content: "\2713"; color: var(--ink); background: var(--ember-hot); }
.leave__no::before { content: "\00d7"; color: var(--bone); background: rgba(239, 230, 218, 0.14); }

/* the roadmap */
.road__list { display: grid; margin-top: 6px; }
.road__step { display: grid; grid-template-columns: 64px 1fr; gap: 12px; padding: 18px 0; border-top: 1px solid var(--line); }
.road__step:last-child { border-bottom: 1px solid var(--line); }
.road__when { font: 700 11px/2.2 var(--sans); letter-spacing: 0.18em; text-transform: uppercase; color: var(--ash); }
.road__step--now .road__when { color: var(--ember-hot); }
.road__name { font: 400 clamp(21px, 5vw, 26px)/1.2 var(--serif); color: var(--bone); }
.road__step .fine { grid-column: 2; max-width: 60ch; margin-top: 6px; }
@media (min-width: 620px) {
  .road__step { grid-template-columns: 90px 220px 1fr; align-items: start; }
  .road__step .fine { grid-column: 3; margin-top: 4px; }
}

/* six questions: often, and here */
.qa__item { padding: 18px 0; border-top: 1px solid var(--line); }
.qa__item:last-child { border-bottom: 1px solid var(--line); }
.qa__q { font: 700 12px/1.4 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ash); }
.qa__typ { margin-top: 8px; font-size: 14px; line-height: 1.45; color: var(--iron); text-decoration: line-through; text-decoration-color: rgba(110, 98, 87, 0.8); }
.qa__ans { max-width: 60ch; margin-top: 6px; font: 400 clamp(18px, 4.6vw, 22px)/1.32 var(--serif); color: var(--bone); }
@media (min-width: 900px) {
  .qa__item { display: grid; grid-template-columns: 1fr 1fr 1.4fr; gap: 20px; align-items: start; }
  .qa__typ, .qa__ans { margin-top: 0; }
}

/* the questions */
.faq__item { border-top: 1px solid var(--line); }
.faq__item:last-child { border-bottom: 1px solid var(--line); }
.faq__item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; padding: 14px 0; cursor: pointer; list-style: none;
  font: 400 clamp(18px, 4.6vw, 22px)/1.3 var(--serif); color: var(--bone);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+"; flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
  box-shadow: inset 0 0 0 1px var(--line); font: 400 18px/1 var(--sans); color: var(--ember-hot); transition: transform 0.25s var(--ease);
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item .fine { max-width: 60ch; padding: 0 0 18px; font-size: 15px; line-height: 1.5; }

/* the close */
.close .hero__call { margin-top: 24px; }

/* ---------- v3: the tab strip ---------- */
:root { --bar-h: 64px; }
.strip {
  position: sticky; top: calc(64px + env(safe-area-inset-top)); z-index: 30;
  background: rgba(8, 6, 5, 0.78);
  box-shadow: 0 1px 0 var(--line);
  -webkit-backdrop-filter: blur(16px) saturate(1.2); backdrop-filter: blur(16px) saturate(1.2);
}
.strip__list {
  position: relative; display: flex; gap: 2px; width: min(1120px, 100% - 2 * var(--pad)); margin: 0 auto; padding: 8px 0;
  overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; scroll-snap-type: x proximity;
}
.strip__list::-webkit-scrollbar { display: none; }
.strip__cap {
  position: absolute; top: 8px; height: 40px; left: 0; width: 0; border-radius: 999px; background: var(--bone); opacity: 0; pointer-events: none;
}
.strip__cap.is-set { opacity: 1; }
html.motion .strip__cap { transition: left 0.32s cubic-bezier(0.34, 1.32, 0.44, 1), width 0.32s cubic-bezier(0.34, 1.32, 0.44, 1), opacity 0.2s; }
.strip__link {
  position: relative; z-index: 1; flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 11px; border-radius: 999px;
  font: 600 12.5px/1 var(--sans); letter-spacing: 0.02em; color: var(--ash); text-decoration: none; white-space: nowrap; scroll-snap-align: center;
  transition: color 0.25s var(--ease);
}
.strip__link small { font: 700 10px/1 var(--sans); letter-spacing: 0.16em; color: var(--ember-hot); }
.strip__link.is-on { color: var(--ink); }
.strip__link.is-on small { color: #a33d0c; }
.strip__link:hover { color: var(--bone); }
.strip__link.is-on:hover { color: var(--ink); }

/* ---------- v3: scenes ---------- */
.scene {
  position: relative; margin: clamp(24px, 4vw, 36px) 0 0; padding: clamp(8px, 1.5vw, 16px); border-radius: 24px;
  background: radial-gradient(70% 60% at 50% 55%, rgba(255, 106, 28, 0.08), rgba(255, 106, 28, 0) 70%), rgba(17, 12, 9, 0.92);
  box-shadow: inset 0 0 0 1px var(--line), inset 0 1px 0 rgba(255, 236, 214, 0.08), 0 44px 80px -44px rgba(0, 0, 0, 0.95);
}
.scene svg { width: 100%; max-width: 760px; height: auto; display: block; margin: 0 auto; }
.scene--thesis svg { max-width: none; }
.scene--thesis { margin: 0; }
.scene__cap { margin: 10px 4px 2px; font: 400 12.5px/1.4 var(--sans); color: var(--iron); }
@keyframes travel { 0% { transform: translate(0, 0); opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { transform: translate(var(--dx, 0), var(--dy, 0)); opacity: 0; } }
@keyframes pulse { 0%, 100% { opacity: 0.65; transform: scale(0.94); } 50% { opacity: 1; transform: scale(1.06); } }
html.motion .scene .travel { opacity: 0; }
html.motion .scene.is-playing .travel { animation: travel 3.2s linear infinite; animation-delay: calc(var(--i, 0) * -0.8s); }
html.motion .scene.is-playing g.travel { animation-duration: 2.4s; }
.scene .pulse { transform-box: fill-box; transform-origin: center; }
html.motion .scene.is-playing .pulse { animation: pulse 2.6s ease-in-out infinite; }
@media (max-width: 619px) { .scene { padding: 0; border-radius: 18px; } .scene__cap { margin: 10px 14px 12px; } }
/* lines draw themselves, shapes appear in order (the script sets --gec per element) */
html.motion .sema .ciz { transition: stroke-dashoffset 1.2s cubic-bezier(0.33, 0.9, 0.4, 1) var(--gec, 0ms); }
html.motion .sema .bel { opacity: 0; transition: opacity 0.5s ease var(--gec, 0ms); }
html.motion .sema .bel.acildi { opacity: 1; }
.sema .bel.acildi { opacity: 1; }

/* ---------- v3: the reveal queue ---------- */
html.motion [data-stagger] > :not(.hub__core) { opacity: 0; transform: translateY(14px); transition: opacity 0.6s var(--ease) var(--gec, 0ms), transform 0.6s var(--ease) var(--gec, 0ms); }
html.motion [data-stagger].is-in > :not(.hub__core) { opacity: 1; transform: none; }
html.motion figure.sema { opacity: 0; transform: translateY(16px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
html.motion figure.sema.is-in { opacity: 1; transform: none; }

/* ---------- v3: the console controls ---------- */
.console__ctl { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--line); font-family: var(--sans); }
.console__pick { display: inline-flex; gap: 6px; padding: 3px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); }
.pick { min-height: 36px; padding: 0 14px; border: 0; border-radius: 999px; background: transparent; color: var(--ash); font: 600 13px/1 var(--sans); cursor: pointer; }
.pick.is-on { background: var(--bone); color: var(--ink); }
.console__run { min-height: 40px; }
.console__hint { flex: 1 1 100%; font-size: 12.5px; color: var(--iron); }
@media (min-width: 620px) { .console__hint { flex: 1 1 auto; text-align: right; } .console__ctl { padding: 12px 22px; } }
.console__lines[hidden] { display: none; }
/* ---------- 09 hear it first: the mail sign-up (order NOTIFY-DESIGN) ----------
   The page's own still behind a glass card: the keeper stands at the right of the wide
   picture, so on wide screens the card sits on the dark left half and he stays in view;
   on a phone the tall picture fills the band and the card sits at its foot. The picture
   is the one the first screen already loaded (no new bytes). */
.notify {
  isolation: isolate;
  display: flex;
  align-items: center;
  background: var(--soot);
}
/* the band holds one card: less air than the long bands above it. On a phone the card
   starts lower, so the keeper's head and lamp eyes stand above it */
.band.notify { padding: clamp(250px, 66vw, 320px) 0 clamp(64px, 9vw, 104px); }
@media (min-aspect-ratio: 4/5) { .band.notify { padding: clamp(64px, 9vw, 104px) 0; } }
.notify__art,
.notify__shade { position: absolute; inset: 0; z-index: 0; }
.notify__art img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 8%; opacity: 0.62; }
.notify__shade {
  background:
    linear-gradient(180deg, var(--soot) 0%, rgba(8, 6, 5, 0) 22%),
    linear-gradient(0deg, var(--soot) 0%, rgba(8, 6, 5, 0.86) 40%, rgba(8, 6, 5, 0.25) 62%, rgba(8, 6, 5, 0) 78%);
}
.notify__embers { z-index: 1; overflow: hidden; }
.notify .wrap { z-index: 2; }
.notify__card {
  max-width: 600px;
  padding: clamp(22px, 4vw, 36px);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(26, 18, 13, 0.72), rgba(8, 6, 5, 0.78));
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  backdrop-filter: blur(16px) saturate(1.2);
  box-shadow: inset 0 0 0 1px var(--line), inset 0 1px 0 rgba(255, 236, 214, 0.1), 0 44px 80px -40px rgba(0, 0, 0, 0.95), 0 0 90px -40px rgba(255, 106, 28, 0.45);
}
.notify__card .title { max-width: none; margin-bottom: 14px; font-size: clamp(30px, 7.2vw, 46px); }
.notify__lede { max-width: 44ch; font-size: clamp(16px, 4.2vw, 18px); line-height: 1.45; color: #e4dacd; }
.notify__form { margin-top: clamp(20px, 3.5vw, 28px); }
.notify__label { display: block; margin-bottom: 8px; font: 700 12px/1.25 var(--sans); letter-spacing: 0.22em; text-transform: uppercase; color: var(--ash); }
.notify__row { display: flex; flex-wrap: wrap; gap: 10px; }
.notify__field {
  flex: 1 1 240px;
  min-width: 0;
  height: 58px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: rgba(8, 6, 5, 0.86);
  box-shadow: inset 0 0 0 1px rgba(239, 230, 218, 0.22);
  font: 400 17px/1 var(--sans);
  color: var(--bone);
  transition: box-shadow 0.25s var(--ease);
}
.notify__field::placeholder { color: var(--iron); opacity: 1; }
.notify__field:focus { outline: none; box-shadow: inset 0 0 0 1px rgba(255, 106, 28, 0.9), 0 0 0 3px rgba(255, 106, 28, 0.22); }
.notify__field:read-only { color: var(--ash); }
.notify__button { flex: 0 0 auto; }
.notify__button:disabled { cursor: progress; opacity: 0.72; transform: none; }
/* the honeypot: out of sight and out of the tab order, but not display: none */
.notify__trap { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.notify__status { min-height: 1.5em; margin-top: 12px; font-size: 15px; line-height: 1.45; color: var(--bone); }
.notify__form[data-state="error"] .notify__status { color: var(--ember-hot); }
.notify__form[data-state="done"] .notify__status { font: 400 clamp(19px, 4.8vw, 22px)/1.3 var(--serif); }
.notify__form[data-state="done"] .notify__status::before {
  content: "\2713"; display: inline-grid; place-items: center; width: 24px; height: 24px; margin-right: 10px; vertical-align: 2px;
  border-radius: 50%; background: var(--ember-hot); color: var(--ink); font: 700 13px/1 var(--sans);
}
.notify__form[data-state="done"] .notify__button { display: none; }
.notify__keep { max-width: 52ch; margin-top: 10px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 13.5px; line-height: 1.5; color: var(--ash); }
@media (min-aspect-ratio: 4/5) {
  .notify { min-height: min(680px, 100svh); }
  .notify__art img { object-position: 70% 40%; opacity: 0.6; }
  .notify__shade {
    background:
      linear-gradient(180deg, var(--soot) 0%, rgba(8, 6, 5, 0) 18%, rgba(8, 6, 5, 0) 82%, var(--soot) 100%),
      linear-gradient(90deg, rgba(8, 6, 5, 0.9) 0%, rgba(8, 6, 5, 0.6) 40%, rgba(8, 6, 5, 0.1) 70%, rgba(8, 6, 5, 0) 100%);
  }
}

/* ---------- v3: your own numbers (the calculator) ---------- */
.calc { display: grid; gap: 18px; margin-top: 6px; padding: clamp(18px, 3vw, 28px); border-radius: 22px; background: linear-gradient(180deg, rgba(26, 18, 13, 0.98), rgba(8, 6, 5, 0.98)); box-shadow: inset 0 0 0 1px var(--line), inset 0 1px 0 rgba(255, 236, 214, 0.08), 0 44px 80px -44px rgba(0, 0, 0, 0.95); }
.calc__in { display: grid; gap: 14px; }
.calc__row { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: center; }
.calc__k { grid-column: 1 / -1; font: 600 13px/1.3 var(--sans); color: var(--ash); }
.calc__row input[type="range"] { width: 100%; min-height: 44px; margin: 0; accent-color: var(--ember); background: transparent; }
.calc__row output { min-width: 4.5ch; font: 400 22px/1 var(--serif); color: var(--bone); text-align: right; font-variant-numeric: tabular-nums; }
.calc__out { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.calc__fig { padding: 14px; border-radius: 16px; box-shadow: inset 0 0 0 1px var(--line); background: rgba(239, 230, 218, 0.03); }
.calc__fig--wide { grid-column: 1 / -1; }
.calc__num { display: block; font: 400 clamp(26px, 6vw, 36px)/1 var(--serif); letter-spacing: -0.02em; color: var(--ember-hot); font-variant-numeric: tabular-nums; }
.calc__lbl { display: block; margin-top: 6px; font-size: 13px; line-height: 1.35; color: var(--ash); }
.calc__note { padding: 12px 14px; border-radius: 12px; background: rgba(239, 230, 218, 0.05); font-size: 14.5px; line-height: 1.45; color: var(--bone); }
.calc__note.is-short { background: rgba(255, 106, 28, 0.12); box-shadow: inset 0 0 0 1px rgba(255, 106, 28, 0.35); }
.calc .illus { margin-top: 0; }
@media (min-width: 900px) { .calc { grid-template-columns: 1fr 1.1fr; grid-template-areas: "in out" "note note" "illus illus"; align-items: start; } .calc__in { grid-area: in; } .calc__out { grid-area: out; } .calc__note { grid-area: note; } .calc .illus { grid-area: illus; } }

/* ---------- v3: claim beside proof ---------- */
.split { display: grid; gap: 22px; }
.split .title { margin-bottom: clamp(18px, 3vw, 28px); }
.split__proof .scene { margin-top: 0; }
.split__proof .panel { margin-top: 16px; }
.split__proof .tiles { margin-top: 16px; grid-template-columns: repeat(2, 1fr); }
.idea .diagram { margin-top: clamp(28px, 4vw, 40px); }
.uses .cards, .calib .calib__note { margin-top: clamp(22px, 4vw, 34px); }
@media (min-width: 1000px) {
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; }
  .split--top { align-items: start; }
  .split__proof .tiles { grid-template-columns: repeat(2, 1fr); }
}
/* the matrix: by hand, and with the manager */
.matrix { overflow-x: auto; border-radius: 18px; box-shadow: inset 0 0 0 1px var(--line); background: #140f0c; }
.matrix__table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 14.5px; line-height: 1.45; }
.matrix__table th, .matrix__table td { padding: 12px 14px; text-align: left; vertical-align: top; border-top: 1px solid var(--line); }
.matrix__table thead th { border-top: 0; font: 700 11px/1.6 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--ember-hot); }
.matrix__table tbody th { font: 600 14px/1.4 var(--sans); color: var(--bone); width: 24%; }
.matrix__table td { color: var(--ash); }
.matrix__table td:last-child { color: var(--bone); }

/* ---------- v3: the real 3D dioramas (stills; the loop is swapped in by script on wide screens) ---------- */
.scene--photo { padding: 0; overflow: hidden; }
.scene--photo:not(.scene--thesis) { max-width: 880px; margin-left: auto; margin-right: auto; }
.scene--photo .scene__pic { display: block; width: 100%; height: auto; border-radius: 24px 24px 0 0; background: #110c09; }
.scene--photo .scene__cap { margin: 10px 16px 14px; }
@media (max-width: 619px) { .scene--photo .scene__pic { border-radius: 18px 18px 0 0; } }
