/* =========================================================================
   Wabi Sabi Studios — NailScan
   Design system: dark technical / applied AI lab
   ========================================================================= */

/* ---- Self-hosted type. No third-party font CDN. ----
   Display : Instrument Serif — high-contrast editorial serif. Chosen because
             every AI company on earth uses a grotesk, and because a beauty
             buyer reads a serif as premium rather than as software.
   UI      : Geist Variable
   Data    : Geist Mono Variable
   ------------------------------------------------------------------------ */
@font-face {
  font-family: "Display";
  src: url("../fonts/instrument-serif.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "UI";
  src: url("../fonts/geist-var.woff2") format("woff2-variations"),
       url("../fonts/geist-var.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Data";
  src: url("../fonts/geist-mono-var.woff2") format("woff2-variations"),
       url("../fonts/geist-mono-var.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
}

:root {
  color-scheme: only dark;

  /* Surface */
  --bg:            #07080A;
  --bg-2:          #0B0D10;
  --panel:         #0F1216;
  --panel-2:       #14181D;
  --panel-3:       #191E24;

  /* Line */
  --line:          #1C2128;
  --line-2:        #262D36;
  --line-bright:   #384250;
  --nontext:       #5D6979;   /* 3:1 — borders and icons only, never text */

  /* Type */
  --fg:            #F4F6F8;
  --fg-2:          #C3CAD3;
  --muted:         #8A939F;
  --dim:           #7C8899;
  --faint:         #6E7C8D;

  /* Signal */
  --accent:        #FF5233;
  --accent-hi:     #FF7454;
  --accent-lo:     #C33A1F;
  --accent-glow:   rgba(255, 82, 51, 0.14);
  --accent-line:   rgba(255, 82, 51, 0.32);

  --cyan:          #58D5E8;
  --cyan-glow:     rgba(88, 213, 232, 0.12);
  --ok:            #3ED598;
  --warn:          #F2B84B;

  /* Type stacks */
  --sans:    "UI", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --mono:    "Data", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --display: "Display", "Iowan Old Style", Georgia, serif;

  /* Metrics */
  --wrap: 1240px;
  --wrap-narrow: 940px;
  --gutter: 28px;
  --radius: 4px;
  --radius-lg: 8px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg-2);
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.62;
  font-feature-settings: "ss01" 1, "cv01" 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

@media (prefers-color-scheme: light) {
  body { background: var(--bg); color: var(--fg-2); }
}

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

::selection { background: var(--accent); color: #0A0A0A; }

/* -------------------------------------------------------------------------
   Type
   ------------------------------------------------------------------------- */

h1, h2 {
  font-family: var(--display);
  font-weight: 400;
  color: var(--fg);
  letter-spacing: -0.018em;
  line-height: 1.04;
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h3, h4, h5 {
  font-family: var(--sans);
  color: var(--fg);
  font-weight: 550;
  letter-spacing: -0.022em;
  line-height: 1.18;
  margin: 0 0 0.6em;
  text-wrap: balance;
}

h1 { font-size: clamp(3rem, 7.4vw, 6.2rem); line-height: 0.96; letter-spacing: -0.026em; }
h2 { font-size: clamp(2.1rem, 4.4vw, 3.6rem); line-height: 1.02; }
h3 { font-size: clamp(1.18rem, 1.85vw, 1.42rem); }
h4 { font-size: 1.02rem; letter-spacing: -0.012em; font-weight: 570; }

/* an accented word inside a display headline */
h1 em, h2 em { font-style: italic; color: var(--accent); }

p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

a { color: var(--fg); text-decoration: none; }

strong, b { color: var(--fg); font-weight: 570; }

.lede {
  font-size: clamp(1.06rem, 1.55vw, 1.22rem);
  line-height: 1.6;
  color: var(--fg-2);
  max-width: 64ch;
}

.sub {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.65;
}

.mono {
  font-family: var(--mono);
  font-size: 0.735rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--dim);
  font-weight: 450;
}

.eyebrow {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--accent);
  opacity: 0.6;
  flex: none;
}
.eyebrow.plain::before { display: none; }
.eyebrow .idx { color: var(--faint); }

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

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.wrap.narrow { max-width: var(--wrap-narrow); }

section { position: relative; }

.sec {
  padding: clamp(72px, 9vw, 132px) 0;
  border-top: 1px solid var(--line);
}
.sec.flush { border-top: 0; }
.sec.tight { padding: clamp(56px, 6vw, 84px) 0; }

.sec-head { max-width: 780px; margin-bottom: clamp(40px, 5vw, 64px); }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head.center .eyebrow { justify-content: center; }

.grid { display: grid; gap: 1px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }

.cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 5vw, 76px);
  align-items: start;
}
.cols.lean { grid-template-columns: 0.86fr 1.14fr; }
.cols.lean-r { grid-template-columns: 1.14fr 0.86fr; }

.stack { display: flex; flex-direction: column; gap: 20px; }

/* -------------------------------------------------------------------------
   Backdrop texture
   ------------------------------------------------------------------------- */

.gridlines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, var(--line) 1px, transparent 1px);
  background-size: 25% 100%;
  opacity: 0.5;
  mask-image: linear-gradient(to bottom, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 12%, #000 88%, transparent);
}

.glow {
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
}

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

.hdr {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(7, 8, 10, 0.72);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}

.hdr-in {
  height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand { display: flex; align-items: center; gap: 12px; flex: none; }

.brand-mark {
  width: 27px; height: 27px;
  flex: none;
  color: var(--fg);
  display: block;
}
.brand-mark svg { width: 100%; height: 100%; display: block; }

/* The mark used to be an "NS" monogram in a bordered tile with a scan line
   animating across it. The Iris replaces all of that: five blades for the five
   ONYX-5 fields, and one blade in accent. It carries its own accent, so the
   animated beam was removed rather than stacked on top of it. */

.brand-txt { display: flex; flex-direction: column; line-height: 1.05; }
.brand-txt .n {
  font-size: 0.83rem;
  font-weight: 580;
  color: var(--fg);
  letter-spacing: -0.008em;
}
.brand-txt .t {
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--dim);
  margin-top: 2px;
}

.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a {
  font-size: 0.855rem;
  color: var(--muted);
  padding: 7px 13px;
  border-radius: var(--radius);
  transition: color 0.16s var(--ease), background 0.16s var(--ease);
  white-space: nowrap;
}
.nav a:hover { color: var(--fg); background: var(--panel-2); }
.nav a.on { color: var(--fg); }
.nav a.on::after {
  content: "";
  display: block;
  height: 1px;
  background: var(--accent);
  margin-top: 4px;
}

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

.burger {
  display: none;
  width: 36px; height: 32px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  background: transparent;
  cursor: pointer;
  padding: 0;
  place-items: center;
}
.burger i {
  display: block;
  width: 15px; height: 1px;
  background: var(--fg-2);
  position: relative;
}
.burger i::before, .burger i::after {
  content: ""; position: absolute; left: 0;
  width: 15px; height: 1px; background: var(--fg-2);
}
.burger i::before { top: -5px; }
.burger i::after  { top: 5px; }

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--sans);
  font-size: 0.88rem;
  font-weight: 520;
  letter-spacing: -0.008em;
  padding: 11px 20px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.18s var(--ease);
  white-space: nowrap;
  text-align: center;
}

.btn-primary {
  background: var(--accent);
  color: #100603;
  font-weight: 570;
  box-shadow: 0 0 0 0 var(--accent-glow);
}
.btn-primary:hover {
  background: var(--accent-hi);
  box-shadow: 0 6px 26px -6px rgba(255, 82, 51, 0.5);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--fg);
  border-color: var(--line-2);
}
.btn-ghost:hover { border-color: var(--line-bright); background: var(--panel-2); }

.btn-lg { padding: 14px 26px; font-size: 0.94rem; }
.btn-sm { padding: 8px 15px; font-size: 0.8rem; }

.btn .ar { transition: transform 0.18s var(--ease); }
.btn:hover .ar { transform: translateX(3px); }

.tlink {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--mono);
  font-size: 0.735rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--accent);
  border-bottom: 1px solid var(--accent-line);
  padding-bottom: 3px;
  transition: all 0.16s var(--ease);
}
.tlink:hover { color: var(--accent-hi); border-color: var(--accent); gap: 11px; }

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

.hero {
  position: relative;
  padding: clamp(64px, 9vw, 118px) 0 clamp(56px, 7vw, 92px);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(40px, 5vw, 72px);
  align-items: center;
  position: relative;
  z-index: 2;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--fg-2);
  background: var(--panel);
  border: 1px solid var(--line-2);
  border-radius: 100px;
  padding: 6px 13px 6px 10px;
  margin-bottom: 26px;
}
.tag .dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 3px rgba(62, 213, 152, 0.16);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.35} }

.hero h1 { margin-bottom: 24px; }
.hero .lede { margin-bottom: 34px; max-width: 54ch; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

/* Metric strip */
.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, var(--bg-2), var(--bg));
}
.metric { padding: 26px var(--gutter); border-left: 1px solid var(--line); }
.metric:first-child { border-left: 0; }
.metric .v {
  font-family: var(--mono);
  font-size: clamp(1.4rem, 2.4vw, 1.95rem);
  color: var(--fg);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 9px;
}
.metric .v em { font-style: normal; color: var(--accent); }
.metric .k {
  font-size: 0.795rem;
  color: var(--muted);
  line-height: 1.45;
}

/* -------------------------------------------------------------------------
   Scanner visual
   ------------------------------------------------------------------------- */

.scanviz {
  position: relative;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  background: linear-gradient(165deg, var(--panel-2) 0%, var(--bg-2) 60%);
  overflow: hidden;
  box-shadow: 0 30px 80px -40px rgba(0,0,0,0.9);
}

.scanviz-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 15px;
  border-bottom: 1px solid var(--line);
  background: rgba(0,0,0,0.25);
}
.scanviz-top .l { display: flex; align-items: center; gap: 8px; }
.scanviz-top .l i {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--line-bright); display: block;
}
.scanviz-top .l i:nth-child(1) { background: var(--accent); }
.scanviz-body { padding: 20px 18px 18px; }

.scanstage {
  position: relative;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(255,82,51,0.06), transparent 60%),
    repeating-linear-gradient(0deg, transparent 0 13px, rgba(255,255,255,0.016) 13px 14px),
    var(--bg);
  overflow: hidden;
  margin-bottom: 18px;
}
.scanstage .handviz {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.scanstage .handviz .nail {
  animation: nailglow 3.6s var(--ease) infinite;
}
.scanstage .handviz .nail:nth-of-type(2) { animation-delay: .12s; }
.scanstage .handviz .nail:nth-of-type(3) { animation-delay: .24s; }
.scanstage .handviz .nail:nth-of-type(4) { animation-delay: .36s; }
@keyframes nailglow {
  0%, 44%, 100% { stroke: rgba(255,255,255,.30); }
  56%, 76%      { stroke: rgba(255,82,51,.85); }
}

.scanstage .beam {
  position: absolute;
  left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  box-shadow: 0 0 18px 2px rgba(255,82,51,0.55);
  animation: beam 3.6s var(--ease) infinite;
}
@keyframes beam {
  0%, 100% { top: 6%; opacity: 0; }
  10% { opacity: 1; }
  55% { top: 92%; opacity: 1; }
  75% { opacity: 0; }
}
.scanstage .reticle {
  position: absolute;
  border: 1px solid var(--accent-line);
  border-radius: 3px;
}
.scanstage .reticle::after {
  content: attr(data-l);
  position: absolute;
  top: -9px; left: 5px;
  font-family: var(--mono);
  font-size: 0.53rem;
  letter-spacing: 0.1em;
  color: var(--accent);
  background: var(--bg);
  padding: 0 4px;
  text-transform: uppercase;
}

.fieldrows { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.fieldrow {
  display: grid;
  grid-template-columns: 92px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 9px 13px;
  background: var(--bg-2);
  font-family: var(--mono);
  font-size: 0.7rem;
}
.fieldrow .fk { color: var(--dim); letter-spacing: 0.08em; text-transform: uppercase; }
.fieldrow .fv { color: var(--fg-2); letter-spacing: -0.01em; font-size: 0.72rem; }
.fieldrow .fs {
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  padding: 2px 6px;
  border-radius: 2px;
  border: 1px solid var(--line-2);
  color: var(--muted);
}
.fieldrow .fs.ok   { color: var(--ok);   border-color: rgba(62,213,152,0.3); }
.fieldrow .fs.warn { color: var(--warn); border-color: rgba(242,184,75,0.3); }
.fieldrow .fs.flag { color: var(--accent); border-color: var(--accent-line); }

/* -------------------------------------------------------------------------
   Cards
   ------------------------------------------------------------------------- */

.cardgrid {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.cardgrid.c2 { grid-template-columns: repeat(2, 1fr); }
.cardgrid.c3 { grid-template-columns: repeat(3, 1fr); }
.cardgrid.c4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--bg-2);
  padding: clamp(26px, 3vw, 36px);
  transition: background 0.2s var(--ease);
  position: relative;
}
.card:hover { background: var(--panel); }
.card .num {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  color: var(--faint);
  margin-bottom: 20px;
  display: block;
}
.card h3 { margin-bottom: 12px; }
.card h4 { margin-bottom: 10px; }
.card p { font-size: 0.925rem; color: var(--muted); line-height: 1.62; }

.card-ico {
  width: 34px; height: 34px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  display: grid; place-items: center;
  margin-bottom: 20px;
  color: var(--accent);
  background: var(--panel);
}
.card-ico svg { width: 16px; height: 16px; }

.panel {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(26px, 3vw, 38px);
}
.panel.accent { border-color: var(--accent-line); background: linear-gradient(160deg, rgba(255,82,51,0.05), var(--bg-2) 55%); }

/* -------------------------------------------------------------------------
   Spec list / data tables
   ------------------------------------------------------------------------- */

.speclist { border-top: 1px solid var(--line); }
.specrow {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 28px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.specrow .sk {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dim);
  padding-top: 3px;
}
.specrow .sv { color: var(--fg-2); font-size: 0.94rem; }
.specrow .sv strong { display: block; color: var(--fg); margin-bottom: 5px; font-size: 1rem; font-weight: 550; }

table.data {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
table.data th {
  font-family: var(--mono);
  font-size: 0.67rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--dim);
  text-align: left;
  font-weight: 450;
  padding: 0 18px 13px 0;
  border-bottom: 1px solid var(--line-2);
}
table.data td {
  padding: 15px 18px 15px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  vertical-align: top;
}
table.data td:first-child { color: var(--fg); font-weight: 500; }
table.data tr:last-child td { border-bottom: 0; }
table.data .yes { color: var(--ok); font-family: var(--mono); font-size: 0.85rem; }
table.data .no  { color: var(--faint); font-family: var(--mono); font-size: 0.85rem; }

/* Checklist */
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 13px; }
.checks li {
  position: relative;
  padding-left: 22px;
  font-size: 0.925rem;
  color: var(--muted);
  line-height: 1.55;
}
.checks li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.62em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.checks.plain li::before { background: var(--line-bright); }
.checks li strong { color: var(--fg); }
.checks li em { font-style: italic; color: var(--fg); }

.nolist { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.nolist li {
  position: relative;
  padding-left: 26px;
  font-size: 0.925rem;
  color: var(--muted);
  line-height: 1.55;
}
.nolist li::before {
  content: "×";
  position: absolute;
  left: 2px;
  top: 0;
  font-family: var(--mono);
  color: var(--accent);
  font-size: 1rem;
  line-height: 1.5;
}
.nolist li strong { color: var(--fg); }

/* -------------------------------------------------------------------------
   Pipeline / steps
   ------------------------------------------------------------------------- */

.steps { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.step {
  background: var(--bg-2);
  padding: clamp(24px, 2.6vw, 32px);
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 22px;
  align-items: start;
}
.step .sn {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--accent);
  border: 1px solid var(--accent-line);
  border-radius: 3px;
  padding: 5px 0;
  text-align: center;
  background: rgba(255,82,51,0.05);
}
.step h4 { margin-bottom: 8px; }
.step p { font-size: 0.92rem; color: var(--muted); margin: 0; }
.step .meta {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--faint);
  margin-top: 11px;
}

/* Flow diagram */
.flow {
  display: grid;
  gap: 14px;
  font-family: var(--mono);
}
.flownode {
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  background: var(--bg-2);
  padding: 15px 18px;
  position: relative;
}
.flownode .fh {
  font-size: 0.68rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 7px;
}
.flownode .fb { font-family: var(--sans); font-size: 0.88rem; color: var(--muted); line-height: 1.5; }
.flowarrow {
  height: 20px;
  display: grid;
  place-items: center;
  color: var(--faint);
  font-size: 0.8rem;
}

/* -------------------------------------------------------------------------
   Pricing
   ------------------------------------------------------------------------- */

.tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.tier {
  background: var(--bg-2);
  padding: clamp(28px, 3vw, 38px);
  display: flex;
  flex-direction: column;
}
.tier.feature {
  background: linear-gradient(170deg, rgba(255,82,51,0.055), var(--panel) 45%);
  position: relative;
}
.tier.feature::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--accent);
}
.tier .tname {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg);
  margin-bottom: 8px;
}
.tier .tdesc { font-size: 0.86rem; color: var(--dim); margin-bottom: 26px; min-height: 40px; line-height: 1.5; }
.tier .tprice {
  font-family: var(--mono);
  font-size: 2.5rem;
  font-weight: 500;
  color: var(--fg);
  letter-spacing: -0.04em;
  line-height: 1;
}
.tier .tunit { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.1em; color: var(--dim); text-transform: uppercase; margin-top: 9px; }
.tier .tsep { height: 1px; background: var(--line); margin: 26px 0; }
.tier .checks { margin-bottom: 30px; }
.tier .checks li { font-size: 0.875rem; }
.tier .btn { width: 100%; margin-top: auto; }

.badge {
  position: absolute;
  top: 16px; right: 16px;
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--accent-line);
  border-radius: 100px;
  padding: 3px 9px;
}

/* -------------------------------------------------------------------------
   Quote / callout
   ------------------------------------------------------------------------- */

.callout {
  border-left: 2px solid var(--accent);
  padding: 6px 0 6px 26px;
  margin: 34px 0;
}
.callout p {
  font-size: clamp(1.08rem, 1.7vw, 1.3rem);
  color: var(--fg);
  letter-spacing: -0.018em;
  line-height: 1.45;
  margin: 0;
}
.callout .attr {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dim);
  margin-top: 14px;
}

.note {
  font-family: var(--mono);
  font-size: 0.72rem;
  line-height: 1.7;
  color: var(--dim);
  border: 1px dashed var(--line-2);
  border-radius: var(--radius);
  padding: 16px 18px;
  background: rgba(255,255,255,0.012);
}
.note b { color: var(--fg-2); font-weight: 500; }

/* -------------------------------------------------------------------------
   Forms
   ------------------------------------------------------------------------- */

.form { display: grid; gap: 18px; }
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--dim);
}
.field input, .field select, .field textarea {
  background: var(--bg);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  color: var(--fg);
  font-family: var(--sans);
  font-size: 0.93rem;
  padding: 12px 14px;
  transition: border-color 0.16s var(--ease), background 0.16s var(--ease);
  width: 100%;
}
.field textarea { min-height: 108px; resize: vertical; line-height: 1.55; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent-line);
  background: var(--panel);
}
.field input::placeholder, .field textarea::placeholder { color: var(--faint); }
.field select { appearance: none; cursor: pointer; background-image: linear-gradient(45deg, transparent 50%, var(--dim) 50%), linear-gradient(135deg, var(--dim) 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; }

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

.ctaband {
  position: relative;
  border-top: 1px solid var(--line);
  overflow: hidden;
  background:
    radial-gradient(70% 130% at 50% 100%, rgba(255,82,51,0.07), transparent 62%),
    var(--bg-2);
  padding: clamp(64px, 8vw, 108px) 0;
  text-align: center;
}
.ctaband h2 { max-width: 20ch; margin: 0 auto 20px; }
.ctaband .lede { margin: 0 auto 34px; text-align: center; max-width: 56ch; }
.ctaband .hero-btns { justify-content: center; }

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

.ftr { border-top: 1px solid var(--line); padding: clamp(52px, 6vw, 76px) 0 34px; background: var(--bg); }
.ftr-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 44px;
  margin-bottom: 52px;
}
.ftr-col h5 {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 18px;
  font-weight: 450;
}
.ftr-col a, .ftr-col p {
  display: block;
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 11px;
  transition: color 0.16s var(--ease);
}
.ftr-col a:hover { color: var(--fg); }
.ftr-about p { max-width: 40ch; font-size: 0.88rem; color: var(--muted); margin-top: 18px; }
.ftr-bot {
  border-top: 1px solid var(--line);
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.09em;
  color: var(--faint);
  text-transform: uppercase;
}

/* -------------------------------------------------------------------------
   Reveal
   ------------------------------------------------------------------------- */

/* Content is visible by default. The reveal animation is opt-in and only
   applies once JS has confirmed it can undo it — see the inline head script.
   Without JS, every block renders normally. */
.js .rv { opacity: 0; transform: translate3d(0,24px,0); transition: opacity .95s var(--ease-out), transform .95s var(--ease-out); }
.js .rv.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .js .rv, .rv { opacity: 1 !important; transform: none !important; transition: none; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
}

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

@media (max-width: 1080px) {
  .cardgrid.c4 { grid-template-columns: repeat(2, 1fr); }
  .ftr-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 900px) {
  :root { --gutter: 22px; }
  .nav {
    position: fixed;
    top: 66px; left: 0; right: 0;
    background: var(--bg-2);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 12px var(--gutter) 20px;
    gap: 2px;
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 4px; font-size: 0.95rem; border-bottom: 1px solid var(--line); }
  .nav a.on::after { display: none; }
  .nav a.on { color: var(--accent); }
  .burger { display: grid; }
  .hdr-cta .btn { display: none; }

  .hero-grid { grid-template-columns: 1fr; }
  .cols, .cols.lean, .cols.lean-r { grid-template-columns: 1fr; }
  .metrics { grid-template-columns: repeat(2, 1fr); }
  .metric { border-left: 0; border-top: 1px solid var(--line); }
  .metric:nth-child(1), .metric:nth-child(2) { border-top: 0; }
  .metric:nth-child(even) { border-left: 1px solid var(--line); }
  .cardgrid.c2, .cardgrid.c3, .cardgrid.c4 { grid-template-columns: 1fr; }
  .tiers { grid-template-columns: 1fr; }
  .specrow { grid-template-columns: 1fr; gap: 10px; }
  .frow { grid-template-columns: 1fr; }
  .gridlines { display: none; }
  table.data { font-size: 0.84rem; }
  table.data th, table.data td { padding-right: 12px; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .step { grid-template-columns: 1fr; gap: 14px; }
  .step .sn { width: 46px; }
  .ftr-grid { grid-template-columns: 1fr; }
  .fieldrow { grid-template-columns: 76px 1fr; }
  .fieldrow .fs { grid-column: 2; justify-self: start; }
  .hero-btns .btn { width: 100%; }
  .table-scroll { overflow-x: auto; }
}

/* =========================================================================
   INTERACTIVE MODULES
   ========================================================================= */

.ix {
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  background: linear-gradient(168deg, var(--panel) 0%, var(--bg-2) 55%);
  overflow: hidden;
}
.ix-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 13px 18px;
  border-bottom: 1px solid var(--line);
  background: rgba(0,0,0,.28);
  flex-wrap: wrap;
}
.ix-head .ixt {
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
}
.ix-head .ixs {
  font-family: var(--mono);
  font-size: .62rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--faint);
}
.ix-body { padding: clamp(20px, 2.4vw, 28px); }
.ix-foot {
  border-top: 1px solid var(--line);
  padding: 14px 18px;
  font-family: var(--mono);
  font-size: .655rem;
  line-height: 1.75;
  color: var(--dim);
  background: rgba(0,0,0,.18);
}
.ix-foot b { color: var(--fg-2); font-weight: 500; }

/* Segmented control */
.seg {
  display: inline-flex;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg);
}
.seg button {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-family: var(--mono);
  font-size: .66rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 9px 14px;
  cursor: pointer;
  transition: all .16s var(--ease);
  border-right: 1px solid var(--line-2);
  white-space: nowrap;
}
.seg button:last-child { border-right: 0; }
.seg button:hover { color: var(--fg); background: var(--panel-2); }
.seg button.on { background: var(--accent); color: #100603; font-weight: 500; }

.ixrow { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 20px; }
.ixrow.between { justify-content: space-between; }

/* Console output lines */
.outlines {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
  font-family: var(--mono);
  font-size: .705rem;
  line-height: 1.75;
  padding: 14px 16px;
  min-height: 132px;
  max-height: 340px;
  overflow-y: auto;
  color: var(--muted);
}
.outlines .ol { display: block; white-space: pre-wrap; word-break: break-word; }
.outlines .ol.dim { color: var(--faint); }
.outlines .ol.hi  { color: var(--fg); }
.outlines .ol.ok  { color: var(--ok); }
.outlines .ol.warn{ color: var(--warn); }
.outlines .ol.bad { color: var(--accent); }
.outlines .ol.rule{ color: var(--cyan); }
.outlines .sep { display: block; height: 1px; background: var(--line); margin: 10px 0; }

.hashline {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  font-family: var(--mono); font-size: .66rem; letter-spacing: .06em;
  margin-top: 14px; color: var(--dim);
}
.hashchip {
  border: 1px solid var(--line-2); border-radius: 3px;
  padding: 3px 8px; color: var(--fg-2);
}
.hashchip.same { border-color: rgba(62,213,152,.35); color: var(--ok); }
.hashchip.diff { border-color: var(--accent-line); color: var(--accent); }

/* Pipeline simulator */
.pipe { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.pstage {
  background: var(--bg);
  padding: 11px 15px;
  display: grid;
  grid-template-columns: 26px 1fr auto;
  gap: 14px;
  align-items: center;
  font-family: var(--mono);
  font-size: .7rem;
  transition: background .25s var(--ease);
}
.pstage .pi {
  width: 18px; height: 18px; border-radius: 3px;
  border: 1px solid var(--line-2);
  display: grid; place-items: center;
  font-size: .55rem; color: var(--faint);
}
.pstage .pn { color: var(--dim); letter-spacing: .04em; }
.pstage .ps { font-size: .6rem; letter-spacing: .11em; text-transform: uppercase; color: var(--faint); }
.pstage.run  { background: rgba(255,82,51,.06); }
.pstage.run  .pi { border-color: var(--accent-line); color: var(--accent); }
.pstage.run  .pn { color: var(--fg); }
.pstage.run  .ps { color: var(--accent); }
.pstage.done .pi { border-color: rgba(62,213,152,.35); color: var(--ok); }
.pstage.done .pn { color: var(--fg-2); }
.pstage.done .ps { color: var(--ok); }
.pstage.halt { background: rgba(255,82,51,.08); }
.pstage.halt .pi { border-color: var(--accent-line); color: var(--accent); }
.pstage.halt .pn { color: var(--fg); }
.pstage.halt .ps { color: var(--accent); }
.pstage.skip { opacity: .35; }

.samples { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 20px; }
.sample {
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  background: var(--bg);
  padding: 12px 13px;
  cursor: pointer;
  text-align: left;
  transition: all .16s var(--ease);
}
.sample:hover { border-color: var(--line-bright); background: var(--panel-2); }
.sample.on { border-color: var(--accent-line); background: rgba(255,82,51,.05); }
.sample .sl {
  font-family: var(--mono); font-size: .59rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--faint); display: block; margin-bottom: 6px;
}
.sample.on .sl { color: var(--accent); }
.sample .st { font-size: .84rem; color: var(--fg); font-weight: 520; letter-spacing: -.012em; display: block; }
.sample .sd { font-size: .74rem; color: var(--dim); margin-top: 3px; display: block; line-height: 1.45; }

/* Report card */
.repcard {
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  background: var(--bg-2);
  overflow: hidden;
  margin-top: 20px;
}
.repcard-h {
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  font-family: var(--mono); font-size: .64rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--dim);
  background: rgba(0,0,0,.22);
}
.repcard-b { padding: 16px; }
.verdict {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: .64rem; letter-spacing: .11em;
  text-transform: uppercase; padding: 5px 11px; border-radius: 100px;
  border: 1px solid var(--line-2); color: var(--muted);
}
.verdict.ok  { color: var(--ok);     border-color: rgba(62,213,152,.35); background: rgba(62,213,152,.06); }
.verdict.ref { color: var(--accent); border-color: var(--accent-line);   background: rgba(255,82,51,.07); }
.verdict.halt{ color: var(--warn);   border-color: rgba(242,184,75,.35); background: rgba(242,184,75,.06); }

/* Toggle switches */
.toggles { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.tg {
  background: var(--bg);
  padding: 13px 15px;
  display: grid;
  grid-template-columns: 1fr 40px;
  gap: 16px;
  align-items: center;
  cursor: pointer;
  transition: background .16s var(--ease);
}
.tg:hover { background: var(--panel); }
.tg .tgl { font-size: .865rem; color: var(--fg-2); letter-spacing: -.01em; }
.tg .tgk { font-family: var(--mono); font-size: .61rem; letter-spacing: .07em; color: var(--faint); display: block; margin-top: 3px; }
.tg .sw {
  width: 38px; height: 21px; border-radius: 100px;
  background: var(--panel-3); border: 1px solid var(--line-2);
  position: relative; transition: all .18s var(--ease); justify-self: end;
}
.tg .sw::after {
  content: ""; position: absolute; top: 2px; left: 2px;
  width: 15px; height: 15px; border-radius: 50%;
  background: var(--dim); transition: all .18s var(--ease);
}
.tg.on .sw { background: rgba(255,82,51,.22); border-color: var(--accent-line); }
.tg.on .sw::after { left: 19px; background: var(--accent); }
.tg.on .tgl { color: var(--fg); }

/* Code block */
.codeblk {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
  font-family: var(--mono);
  font-size: .695rem;
  line-height: 1.85;
  padding: 14px 0;
  overflow-x: auto;
}
.codeblk .cl {
  display: block;
  padding: 0 16px;
  color: var(--dim);
  white-space: pre;
  border-left: 2px solid transparent;
  transition: all .2s var(--ease);
}
.codeblk .cl .kw  { color: var(--cyan); }
.codeblk .cl .st2 { color: var(--warn); }
.codeblk .cl .cm  { color: var(--faint); font-style: italic; }
.codeblk .cl.fire {
  background: rgba(255,82,51,.09);
  border-left-color: var(--accent);
  color: var(--fg);
}
.codeblk .cl.fire .kw { color: var(--accent-hi); }

/* Sliders */
.slider { margin-bottom: 20px; }
.slider .sh {
  display: flex; align-items: baseline; justify-content: space-between; gap: 14px;
  margin-bottom: 9px;
}
.slider .sh .sname {
  font-family: var(--mono); font-size: .64rem; letter-spacing: .11em;
  text-transform: uppercase; color: var(--dim);
}
.slider .sh .sval {
  font-family: var(--mono); font-size: .92rem; color: var(--fg); letter-spacing: -.02em;
}
.slider input[type="range"] {
  appearance: none; -webkit-appearance: none;
  width: 100%; height: 3px; border-radius: 2px;
  background: var(--panel-3);
  outline: none; cursor: pointer;
}
.slider input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 15px; height: 15px; border-radius: 50%;
  background: var(--accent); cursor: pointer;
  border: 2px solid var(--bg);
  box-shadow: 0 0 0 1px var(--accent-line);
  transition: transform .14s var(--ease);
}
.slider input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.18); }
.slider input[type="range"]::-moz-range-thumb {
  width: 13px; height: 13px; border-radius: 50%;
  background: var(--accent); cursor: pointer; border: 2px solid var(--bg);
}

.calcout { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.co { background: var(--bg); padding: 16px 17px; }
.co .cok { font-family: var(--mono); font-size: .6rem; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); margin-bottom: 8px; }
.co .cov { font-family: var(--mono); font-size: 1.42rem; color: var(--fg); letter-spacing: -.035em; line-height: 1; }
.co .cov.accent { color: var(--accent); }
.co .cov.ok { color: var(--ok); }
.co .con { font-size: .74rem; color: var(--faint); margin-top: 7px; line-height: 1.45; }

.paybar { height: 5px; border-radius: 3px; background: var(--panel-3); overflow: hidden; margin-top: 12px; }
.paybar i { display: block; height: 100%; background: var(--accent); border-radius: 3px; transition: width .35s var(--ease); }

/* Anatomy diagram */
.anat { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 3.5vw, 52px); align-items: center; }
.anatfig {
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  background: linear-gradient(168deg, var(--panel) 0%, var(--bg) 60%);
  padding: 18px;
}
.anatkey { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.ak { background: var(--bg-2); padding: 12px 15px; display: grid; grid-template-columns: 26px 1fr; gap: 13px; align-items: start; }
.ak .akn {
  font-family: var(--mono); font-size: .62rem; color: var(--accent);
  border: 1px solid var(--accent-line); border-radius: 2px;
  text-align: center; padding: 2px 0;
}
.ak .akt { font-size: .855rem; color: var(--fg); font-weight: 520; letter-spacing: -.012em; }
.ak .akd { font-size: .78rem; color: var(--muted); margin-top: 3px; line-height: 1.5; }

@media (max-width: 860px) {
  .samples { grid-template-columns: 1fr; }
  .calcout { grid-template-columns: 1fr; }
  .anat { grid-template-columns: 1fr; }
  .pstage { grid-template-columns: 22px 1fr; }
  .pstage .ps { grid-column: 2; }
}

/* =========================================================================
   FIGURES, DIAGRAMS & PRODUCT ARTIFACTS
   ========================================================================= */

.fig {
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  background: linear-gradient(168deg, var(--panel) 0%, var(--bg-2) 62%);
  padding: clamp(20px, 2.4vw, 30px);
  position: relative;
}
.fig-cap {
  font-family: var(--mono);
  font-size: .62rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.fig-cap b { color: var(--accent); font-weight: 500; }
.fig-note {
  font-family: var(--mono);
  font-size: .655rem;
  line-height: 1.7;
  color: var(--dim);
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.fig-note b { color: var(--fg-2); font-weight: 500; }
.fig svg { width: 100%; height: auto; }

/* ---- Device frames ---- */

.devices { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px,3vw,44px); align-items: center; }

.phone {
  width: 100%;
  max-width: 310px;
  margin: 0 auto;
  border: 1px solid var(--line-bright);
  border-radius: 26px;
  background: #0A0C0F;
  padding: 9px;
  box-shadow: 0 40px 90px -46px rgba(0,0,0,.95), 0 0 0 1px rgba(255,255,255,.03) inset;
  position: relative;
}
.phone::before {
  content: "";
  position: absolute;
  top: 15px; left: 50%; transform: translateX(-50%);
  width: 58px; height: 4px; border-radius: 3px;
  background: var(--panel-3);
  z-index: 3;
}
.phone-screen {
  border-radius: 19px;
  background: var(--bg);
  overflow: hidden;
  border: 1px solid var(--line);
}

.browser {
  border: 1px solid var(--line-2);
  border-radius: 7px;
  background: var(--bg-2);
  overflow: hidden;
  box-shadow: 0 26px 60px -40px rgba(0,0,0,.9);
}
.browser-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 9px 12px;
  border-bottom: 1px solid var(--line);
  background: rgba(0,0,0,.3);
}
.browser-bar i { width: 6px; height: 6px; border-radius: 50%; background: var(--line-bright); display: block; }
.browser-bar .url {
  flex: 1; margin-left: 6px;
  font-family: var(--mono); font-size: .58rem; letter-spacing: .05em;
  color: var(--dim);
  background: var(--bg); border: 1px solid var(--line); border-radius: 3px;
  padding: 3px 8px;
}

/* ---- Client report mock ---- */

.rep { font-size: .72rem; }
.rep-top {
  padding: 26px 18px 18px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,82,51,.05), transparent);
}
.rep-brand {
  font-family: var(--mono); font-size: .55rem; letter-spacing: .2em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 12px;
}
.rep-h { font-size: 1.02rem; color: var(--fg); letter-spacing: -.026em; line-height: 1.22; margin-bottom: 8px; font-weight: 570; }
.rep-sub { font-family: var(--mono); font-size: .55rem; letter-spacing: .1em; color: var(--dim); text-transform: uppercase; }
.rep-sec { padding: 15px 18px; border-bottom: 1px solid var(--line); }
.rep-lbl {
  font-family: var(--mono); font-size: .53rem; letter-spacing: .16em;
  text-transform: uppercase; color: var(--faint); margin-bottom: 10px;
}
.rep-row { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: start; padding: 7px 0; border-bottom: 1px solid rgba(255,255,255,.035); }
.rep-row:last-child { border-bottom: 0; }
.rep-row .rk { font-family: var(--mono); font-size: .53rem; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); display: block; margin-bottom: 3px; }
.rep-row .rv2 { color: var(--fg-2); font-size: .7rem; line-height: 1.42; }
.rep-pill {
  font-family: var(--mono); font-size: .5rem; letter-spacing: .08em;
  padding: 2px 6px; border-radius: 2px; border: 1px solid var(--line-2); color: var(--muted); white-space: nowrap;
}
.rep-pill.ok { color: var(--ok); border-color: rgba(62,213,152,.3); }
.rep-pill.warn { color: var(--warn); border-color: rgba(242,184,75,.3); }
.rep-pill.flag { color: var(--accent); border-color: var(--accent-line); }
.rep-alert {
  border: 1px solid var(--accent-line); border-radius: var(--radius);
  background: rgba(255,82,51,.07); padding: 11px 13px; margin-top: 4px;
}
.rep-alert .ra { font-family: var(--mono); font-size: .53rem; letter-spacing: .13em; text-transform: uppercase; color: var(--accent); margin-bottom: 6px; }
.rep-alert p { font-size: .68rem; color: var(--fg-2); margin: 0; line-height: 1.45; }
.rep-cal { display: grid; gap: 7px; }
.rep-week { display: grid; grid-template-columns: 42px 1fr; gap: 11px; align-items: start; }
.rep-week .rw { font-family: var(--mono); font-size: .53rem; letter-spacing: .08em; color: var(--accent); padding-top: 1px; }
.rep-week .rt { font-size: .68rem; color: var(--muted); line-height: 1.42; }
.rep-cta { padding: 16px 18px; }
.rep-btn {
  display: block; text-align: center; background: var(--accent); color: #100603;
  font-size: .72rem; font-weight: 580; padding: 10px; border-radius: var(--radius); letter-spacing: -.01em;
}
.rep-fine { font-family: var(--mono); font-size: .5rem; line-height: 1.6; color: var(--faint); margin-top: 11px; text-align: center; }

/* ---- Specimen gallery ---- */

.specs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.spec { background: var(--bg-2); padding: 0 0 22px; }
.spec-art { background: var(--bg); border-bottom: 1px solid var(--line); padding: 16px; }
.spec-body { padding: 20px 22px 0; }
.spec-tag {
  font-family: var(--mono); font-size: .58rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--faint); display: block; margin-bottom: 10px;
}
.spec h4 { margin-bottom: 10px; }
.spec p { font-size: .855rem; color: var(--muted); line-height: 1.55; margin-bottom: 14px; }
.spec-out { display: grid; gap: 5px; }
.spec-out div {
  font-family: var(--mono); font-size: .62rem; letter-spacing: .02em;
  color: var(--dim); display: grid; grid-template-columns: 58px 1fr; gap: 8px;
}
.spec-out div b { color: var(--fg-2); font-weight: 400; }
.spec-out div.hit b { color: var(--accent); }

/* ---- Surface artifact tiles ---- */

.surftiles { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.surftile { background: var(--bg-2); padding: 18px 16px 20px; text-align: center; }
.surftile .sa { height: 92px; display: grid; place-items: center; margin-bottom: 16px; }
.surftile .sa svg { width: auto; height: 100%; }
.surftile .sn { font-size: .84rem; color: var(--fg); font-weight: 540; letter-spacing: -.012em; display: block; margin-bottom: 5px; }
.surftile .sc { font-family: var(--mono); font-size: .58rem; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }

@media (max-width: 980px) {
  .specs { grid-template-columns: 1fr; }
  .surftiles { grid-template-columns: repeat(2, 1fr); }
  .devices { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .surftiles { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .seg { display: grid; grid-template-columns: 1fr; width: 100%; }
  .seg button { border-right: 0; border-bottom: 1px solid var(--line-2); white-space: normal; }
  .seg button:last-child { border-bottom: 0; }
  .ixrow.between { flex-direction: column; align-items: stretch; }
  .ixrow.between .btn { width: 100%; }
}


/* =========================================================================
   FOCUS — visible for every interactive element, keyboard only
   ========================================================================= */

:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--accent-hi);
  outline-offset: 3px;
  border-radius: 3px;
}
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: 2px solid var(--accent-hi);
  outline-offset: 1px;
  border-color: var(--accent-hi);
}
.slider input[type="range"]:focus-visible {
  outline: 2px solid var(--accent-hi);
  outline-offset: 4px;
}
.tg:focus-visible { outline: 2px solid var(--accent-hi); outline-offset: -2px; }

/* Skip link — translated out of view rather than pushed to -9999px, which
   can extend the scroll area on small viewports */
.skip {
  position: absolute;
  left: 0;
  top: 0;
  transform: translateY(-200%);
  z-index: 200;
  background: var(--accent);
  color: #100603;
  font-family: var(--sans);
  font-size: .9rem;
  font-weight: 570;
  padding: 12px 20px;
  border-radius: 0 0 var(--radius) 0;
}
.skip:focus {
  transform: none;
  outline: 2px solid var(--fg);
  outline-offset: -2px;
}

/* Slider hit target — WCAG 2.5.8 needs 24px; paint the 3px track inside it */
.slider input[type="range"] {
  height: 24px;
  background: transparent;
  position: relative;
}
.slider .track {
  position: relative;
  height: 24px;
  display: flex;
  align-items: center;
}
.slider .track::before {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 3px;
  border-radius: 2px;
  background: var(--panel-3);
  pointer-events: none;
}
.slider .track input[type="range"] { position: relative; z-index: 2; width: 100%; }
.slider input[type="range"]::-webkit-slider-runnable-track { height: 3px; background: transparent; }
.slider input[type="range"]::-moz-range-track { height: 3px; background: transparent; }
.slider input[type="range"]::-webkit-slider-thumb { margin-top: -6px; }

/* Toggle rows are real buttons now — strip button chrome, keep the layout */
button.tg {
  appearance: none;
  font: inherit;
  text-align: left;
  width: 100%;
  border: 0;
  color: inherit;
}

/* Static UI mockups must not read as operable controls */
.rep-btn, .console-bar .cq { user-select: none; }


/* Heading levels were corrected for outline order; these keep the visual scale */
.ftr-col h2.ftrh {
  font-family: var(--mono);
  font-size: .66rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 18px;
  font-weight: 450;
}
.step h3.steph { font-size: 1.02rem; letter-spacing: -.012em; font-weight: 580; margin-bottom: 8px; }

/* Form error states */
.field.err input, .field.err select, .field.err textarea { border-color: var(--accent); }
.field .errmsg { font-size: .8rem; color: var(--accent-hi); }
.formmsg { border: 1px solid var(--line-2); color: var(--fg-2); background: var(--panel); }
.formmsg.ok   { border-color: rgba(62,213,152,.35); color: var(--ok);   background: rgba(62,213,152,.06); }
.formmsg.warn { border-color: rgba(242,184,75,.35); color: var(--warn); background: rgba(242,184,75,.06); }
.formmsg.err  { border-color: var(--accent-line);   color: var(--accent-hi); background: rgba(255,82,51,.06); }

/* Trust block */
.trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.trust > div { background: var(--bg-2); padding: clamp(22px,2.6vw,30px); }
.trust .th { font-family: var(--mono); font-size: .64rem; letter-spacing: .13em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.trust p { font-size: .9rem; color: var(--muted); margin: 0; line-height: 1.6; }
.trust strong { color: var(--fg); }
@media (max-width: 860px) { .trust { grid-template-columns: 1fr; } }

.moredetail { border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--bg); }
.moredetail summary {
  list-style: none; cursor: pointer; padding: 12px 15px;
  font-family: var(--mono); font-size: .66rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--muted); display: flex;
  align-items: center; justify-content: space-between; gap: 12px;
}
.moredetail summary::-webkit-details-marker { display: none; }
.moredetail summary::after { content: "+"; color: var(--accent); font-size: 1rem; line-height: 1; }
.moredetail[open] summary::after { content: "–"; }
.moredetail .moreinner { padding: 4px 15px 16px; display: grid; gap: 18px; }

/* =========================================================================
   CINEMATIC LAYER
   One idea: the page is a scan. A beam travels with the scroll and reveals
   what it crosses. Nothing here runs without JS, and nothing runs under
   prefers-reduced-motion — the page is fully legible in both cases.
   ========================================================================= */

:root {
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io:  cubic-bezier(0.65, 0, 0.35, 1);
}

/* ---- Load sequence + page transition ---- */
.js body { opacity: 0; }
.js.ready body { opacity: 1; transition: opacity .5s var(--ease-out); }
.js.leaving body { opacity: 0; transition: opacity .3s ease-in; }

/* ---- The beam ---- */
.beamline {
  position: fixed;
  left: 0; right: 0;
  top: 58vh;
  height: 1px;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg,
    transparent, rgba(255,82,51,.05) 12%, rgba(255,140,110,.20) 50%, rgba(255,82,51,.05) 88%, transparent);
  opacity: calc(.25 + var(--scrollp, 0) * .35);
}
.beamline::after {
  content: "";
  position: absolute;
  left: 0; right: 0; top: -60px; height: 120px;
  background: linear-gradient(180deg, transparent, rgba(255,82,51,.030) 45%, rgba(255,82,51,.030) 55%, transparent);
}

/* ---- Scan reveal. Visible by default; hidden only when JS can restore it ---- */
.js [data-scan] > * {
  opacity: 0;
  transform: translate3d(0, 26px, 0);
  transition: opacity .95s var(--ease-out), transform .95s var(--ease-out);
}
.js [data-scan].lit > * { opacity: 1; transform: none; }
.js [data-scan].lit > *:nth-child(2) { transition-delay: .07s; }
.js [data-scan].lit > *:nth-child(3) { transition-delay: .14s; }
.js [data-scan].lit > *:nth-child(4) { transition-delay: .21s; }
.js [data-scan].lit > *:nth-child(5) { transition-delay: .28s; }
.js [data-scan].lit > *:nth-child(6) { transition-delay: .35s; }
.js [data-scan].lit > *:nth-child(7) { transition-delay: .42s; }
.js [data-scan].lit > *:nth-child(8) { transition-delay: .49s; }

/* a passing highlight as the beam crosses a block */
.js [data-scan]::before {
  content: "";
  position: absolute;
  inset: -10px 0;
  pointer-events: none;
  border-radius: 12px;
  background: radial-gradient(60% 120% at 50% 50%, rgba(255,82,51,.05), transparent 70%);
  opacity: calc((1 - abs(var(--p, 1) * 2 - 1)) * .85);
  transition: opacity .3s linear;
}

/* ---- Display type: lines rise out of a mask ---- */
[data-lines] .ln { display: block; overflow: hidden; padding-bottom: .04em; }
[data-lines] .ln-i { display: block; }
.js [data-lines] .ln-i {
  transform: translate3d(0, 108%, 0);
  transition: transform 1.05s var(--ease-out);
  transition-delay: calc(var(--i, 0) * .085s);
}
.js .lit [data-lines] .ln-i,
.js [data-lines].lit .ln-i { transform: none; }

/* ---- Hero ---- */
.cine-hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.cine-hero .herocanvas {
  position: absolute;
  inset: 0 0 0 auto;
  width: min(58%, 900px);
  height: 100%;
  opacity: .95;
  mask-image: radial-gradient(76% 82% at 56% 50%, #000 62%, transparent 100%);
  -webkit-mask-image: radial-gradient(76% 82% at 56% 50%, #000 62%, transparent 100%);
}
.cine-hero .veil {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(90% 70% at 8% 45%, rgba(7,8,10,.96) 30%, rgba(7,8,10,.55) 62%, transparent 85%),
    radial-gradient(70% 90% at 78% 12%, rgba(255,82,51,.10), transparent 62%);
}
.cine-hero .wrap { position: relative; z-index: 3; }
.cine-hero h1 { margin-bottom: .34em; max-width: 15ch; }
.cine-hero .lede { font-size: clamp(1.1rem, 1.55vw, 1.35rem); max-width: 46ch; color: var(--fg-2); }

.hero-meta {
  position: absolute;
  left: var(--gutter); right: var(--gutter); bottom: 26px;
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  font-family: var(--mono); font-size: .64rem; letter-spacing: .16em;
  text-transform: uppercase; color: var(--dim);
  z-index: 3;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}
.hero-meta b { color: var(--accent); font-weight: 500; }

.scrollcue {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: .62rem; letter-spacing: .18em;
  text-transform: uppercase; color: var(--dim);
}
.scrollcue i {
  width: 1px; height: 26px; background: linear-gradient(180deg, var(--accent), transparent);
  display: block; animation: cue 2.2s var(--ease-io) infinite;
}
@keyframes cue { 0%,100% { transform: scaleY(.35); opacity: .4 } 50% { transform: scaleY(1); opacity: 1 } }

/* ---- Depth: glass panels with a real light edge ---- */
.glass {
  position: relative;
  border-radius: 14px;
  background: linear-gradient(165deg, rgba(255,255,255,.045), rgba(255,255,255,.012) 45%, rgba(255,255,255,0));
  border: 1px solid rgba(255,255,255,.07);
  box-shadow:
    0 1px 0 0 rgba(255,255,255,.06) inset,
    0 30px 70px -40px rgba(0,0,0,.95),
    0 2px 10px -4px rgba(0,0,0,.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.glass.pad { padding: clamp(26px, 3vw, 40px); }

/* ---- Oversized section numerals, set in the display face ---- */
.bigidx {
  font-family: var(--display);
  font-size: clamp(3.6rem, 9vw, 8rem);
  line-height: .8;
  color: transparent;
  -webkit-text-stroke: 1px var(--line-bright);
  display: block;
  margin-bottom: .1em;
}

/* ---- Buttons: more presence, magnetic ---- */
.btn-primary {
  box-shadow: 0 10px 34px -14px rgba(255,82,51,.75), 0 1px 0 0 rgba(255,255,255,.18) inset;
}
.btn-lg { padding: 16px 30px; font-size: .96rem; border-radius: 6px; }
[data-magnet] { transition: transform .28s var(--ease-out), background .18s var(--ease), box-shadow .28s var(--ease-out); }

/* ---- Marquee rule used between acts ---- */
.actrule {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-2) 20%, var(--line-2) 80%, transparent);
  position: relative;
}
.actrule::after {
  content: "";
  position: absolute; top: -1px; left: 0;
  width: calc(var(--scrollp, 0) * 100%);
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent));
  opacity: .55;
}

@media (max-width: 900px) {
  .cine-hero { min-height: auto; padding: 96px 0 120px; }
  .cine-hero .herocanvas { width: 100%; opacity: .4; }
  .cine-hero .veil { background: radial-gradient(120% 70% at 50% 30%, rgba(7,8,10,.86), rgba(7,8,10,.97) 70%); }
  .hero-meta { position: static; margin-top: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  .js body { opacity: 1 !important; }
  .beamline { display: none; }
  .js [data-scan] > * { opacity: 1 !important; transform: none !important; }
  .js [data-lines] .ln-i { transform: none !important; }
  .scrollcue i { animation: none; }
}

/* two-up tier grid and the proof metric quad — as classes, so the mobile
   media queries can actually win (inline styles cannot be overridden) */
.tiers.two { grid-template-columns: 1fr 1fr; }
.metrics.quad { border: 0; background: none; grid-template-columns: 1fr 1fr; }
.metrics.quad .metric { border: 0; }
@media (max-width: 900px) {
  .tiers.two { grid-template-columns: 1fr; }
  .metrics.quad { grid-template-columns: 1fr 1fr; }
  .metrics.quad .metric { border: 0 !important; padding: 0 0 22px !important; }
}
@media (max-width: 560px) {
  .metrics.quad { grid-template-columns: 1fr; }
}

/* =========================================================================
   PLATE ARTIFACTS — the corpus, the specimen plate, the colour field
   Static SVG, generated by build_artifacts.py. No JS, no canvas.
   ========================================================================= */

.artifact {
  position: relative;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: clamp(48px, 6vw, 96px) 0;
  overflow: hidden;
}
.artifact.bleed .art-frame { max-width: none; padding: 0 clamp(16px, 3vw, 48px); }
.art-frame { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.art-head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 20px; flex-wrap: wrap;
  font-family: var(--mono); font-size: .64rem; letter-spacing: .18em;
  text-transform: uppercase; color: var(--dim);
  margin-bottom: clamp(24px, 3vw, 40px);
  padding-bottom: 14px; border-bottom: 1px solid var(--line);
}
.art-head .at { color: var(--accent); }
.art-body svg { width: 100%; height: auto; display: block; }
.art-cap {
  margin-top: clamp(24px, 3vw, 38px);
  max-width: 62ch;
  font-size: .95rem; line-height: 1.65; color: var(--muted);
}
.art-cap strong { color: var(--fg); }
.art-cap .fine {
  display: block; margin-top: 12px;
  font-family: var(--mono); font-size: .64rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--faint);
}

/* ---- Interlude: one sentence, full bleed, nothing else ---- */
.interlude {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: clamp(90px, 14vw, 210px) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.interlude::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(60% 100% at 50% 50%, rgba(255,82,51,.055), transparent 70%);
  pointer-events: none;
}
.interlude p {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2rem, 5.2vw, 4.2rem);
  line-height: 1.06;
  letter-spacing: -.022em;
  color: var(--fg);
  max-width: 20ch;
  margin: 0 auto;
  position: relative; z-index: 2;
  text-wrap: balance;
}
.interlude p em { font-style: italic; color: var(--accent); }
.interlude .src {
  display: block;
  margin-top: clamp(24px, 3vw, 40px);
  font-family: var(--mono); font-size: .62rem; letter-spacing: .18em;
  text-transform: uppercase; color: var(--faint);
  position: relative; z-index: 2;
}

/* ---- Instruction piece: the rubric as a wall, not a table ---- */
.instruction {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.instr {
  background: var(--bg);
  padding: clamp(26px, 3vw, 40px) clamp(22px, 2.4vw, 32px) clamp(34px, 4vw, 52px);
  position: relative;
  min-height: 260px;
  display: flex; flex-direction: column;
}
.instr .in-n {
  font-family: var(--mono); font-size: .62rem; letter-spacing: .2em;
  color: var(--accent); margin-bottom: clamp(22px, 3vw, 40px);
}
.instr .in-t {
  font-family: var(--display); font-size: clamp(1.5rem, 2.4vw, 2.1rem);
  line-height: 1.04; letter-spacing: -.02em; color: var(--fg);
  margin-bottom: 14px;
}
.instr .in-d { font-size: .875rem; line-height: 1.6; color: var(--muted); margin: 0 0 auto; }
.instr .in-r {
  margin-top: 26px;
  font-family: var(--mono); font-size: .6rem; letter-spacing: .1em;
  color: var(--faint); text-transform: uppercase;
}
.instr .in-r b { color: var(--dim); font-weight: 400; }

@media (max-width: 700px) {
  .instr { min-height: 0; }
  .art-head { font-size: .58rem; }
}

/* ══════════════════════════════════════════════════════════════════════
   THE SEQUENCE — Act 01's image. Five frames of the same nail, read left
   to right. Sits inside a [data-scan], so the existing stagger lights the
   frames in order as the beam crosses: the assessment happens while you
   scroll, without a line of bespoke JavaScript.
   ══════════════════════════════════════════════════════════════════════ */
.seq {
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.seq > figure {
  margin: 0; padding: clamp(18px, 2.2vw, 30px);
  border-right: 1px solid var(--line);
  display: flex; flex-direction: column;
}
.seq > figure:last-child { border-right: 0; }
.seq svg { width: 100%; height: auto; display: block; margin: 0 auto; max-width: 190px; }
.seq .sq-n {
  font-family: var(--mono); font-size: .64rem; letter-spacing: .18em;
  color: var(--faint); margin-bottom: 14px;
}
.seq figcaption { margin-top: auto; padding-top: 18px; }
.seq .sq-l {
  font-family: var(--mono); font-size: .68rem; letter-spacing: .15em;
  color: var(--fg-2); display: block;
}
.seq .sq-d {
  font-family: var(--mono); font-size: .68rem; color: var(--dim);
  display: block; margin-top: 5px;
}
.seq-cap {
  margin-top: 18px; font-family: var(--mono); font-size: .68rem;
  letter-spacing: .04em; color: var(--dim); max-width: 92ch;
}
.seq-cap b { color: var(--fg-2); font-weight: 500; }

@media (max-width: 900px) {
  .seq { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .seq > figure { border-bottom: 1px solid var(--line); }
  .seq > figure:nth-child(2n) { border-right: 0; }
  .seq > figure:last-child { grid-column: 1 / -1; border-bottom: 0; }
  .seq > figure:last-child svg { max-width: 150px; }
}

/* ══════════════════════════════════════════════════════════════════════
   THE LEDGER STRIP — Act 01. Three claims about what the record actually
   is, sitting under the sequence. Deliberately plain: this is the part of
   the page arguing that the buyer is acquiring infrastructure rather than
   a gadget, and it reads better as a specification than as marketing.
   ══════════════════════════════════════════════════════════════════════ */
.ledger {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line); margin-top: clamp(30px, 3.4vw, 46px);
}
.ledger > div {
  padding: clamp(20px, 2.2vw, 28px) clamp(18px, 2vw, 26px) clamp(22px, 2.4vw, 30px) 0;
  border-right: 1px solid var(--line);
}
.ledger > div:last-child { border-right: 0; }
.ledger > div + div { padding-left: clamp(18px, 2vw, 26px); }
.ledger .lk {
  display: block; font-family: var(--mono); font-size: .66rem;
  letter-spacing: .17em; color: var(--accent); margin-bottom: 12px;
}
.ledger .lv { display: block; color: var(--muted); font-size: .95rem; line-height: 1.55; }
@media (max-width: 860px) {
  .ledger { grid-template-columns: 1fr; }
  .ledger > div { border-right: 0; border-bottom: 1px solid var(--line); padding-left: 0 !important; }
  .ledger > div:last-child { border-bottom: 0; }
}
