/* =================================================================
   DELTAX.US.COM · Field Service Manual · v5 Premium
   Deep dark shell · orange ambient glow · elevated everything
   ================================================================= */

/* ── Design Tokens ── */
:root {
  --paper: #F5F2EC;
  --panel: #FAF8F4;
  --card: #FFFFFF;
  --ink: #1D1B17;
  --ink-soft: #4A453C;
  --muted: #7A7264;
  --line: #E0DAD0;
  --line-soft: #EBE6DC;
  --accent: #E8551F;
  --accent-hi: #F06633;
  --accent-dim: #C24312;
  --accent-ink: #8A3415;
  --ok: #1E7A46;
  --warn: #B4831B;
  --err: #B3261E;
  --shell: #0D0B09;
  --shell-2: #161210;
  --shell-3: #1E1A14;
  --shell-4: #26201A;
  --shell-line: #2E2620;
  --shell-line-2: #3A3028;
  --shell-ink: #E8E3D8;
  --mono: 'IBM Plex Mono', ui-monospace, Menlo, monospace;
  --disp: 'Space Grotesk', 'Archivo', sans-serif;
  --body: 'Archivo', 'Space Grotesk', sans-serif;
  --sh1: 0 1px 0 rgba(29,27,23,.04), 0 3px 10px rgba(29,27,23,.08);
  --sh2: 0 1px 0 rgba(29,27,23,.04), 0 8px 28px rgba(29,27,23,.12);
  --sh3: 0 2px 0 rgba(29,27,23,.04), 0 20px 56px rgba(29,27,23,.18);
  --sh-orange: 0 8px 32px -6px rgba(232,85,31,.45);
  --radius: 14px;
  --w: 1180px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--body); font-size: 16px; line-height: 1.62; color: var(--ink); background: var(--paper); }
img { max-width: 100%; display: block; }
a { color: var(--accent-dim); }
.skip { position: absolute; left: -9999px; top: 0; background: var(--accent); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 99; font-weight: 600; }
.skip:focus { left: 12px; top: 12px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--accent); color: #fff; }
.wrap { max-width: var(--w); margin: 0 auto; padding: 0 28px; }
.mono { font-family: var(--mono); }

/* ── Eyebrow / service tag ── */
.stag {
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.stag::before {
  content: '';
  width: 24px;
  height: 2.5px;
  background: var(--accent);
  box-shadow: 0 0 10px rgba(232,85,31,.5);
  flex-shrink: 0;
  border-radius: 2px;
}
.stag .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--ok); display: inline-block;
  box-shadow: 0 0 0 3px rgba(30,122,70,.15);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0%,100% { box-shadow: 0 0 0 3px rgba(30,122,70,.15); }
  50% { box-shadow: 0 0 0 7px rgba(30,122,70,.06); }
}

/* ── Header — permanent dark ── */
.hdr {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: rgba(13,11,9,.96);
  border-bottom: 1px solid var(--shell-line);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  box-shadow: 0 1px 0 rgba(232,85,31,.08);
}
.hdr-in {
  max-width: var(--w); margin: 0 auto; padding: 0 28px;
  height: 62px; display: flex; align-items: center; gap: 24px;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--disp); font-weight: 700; font-size: 19px;
  letter-spacing: -.015em; color: #fff; text-decoration: none; flex-shrink: 0;
}
.logo svg { display: block; }
.nav {
  display: flex; gap: 1px; align-items: center;
  margin-left: auto; overflow-x: auto; scrollbar-width: none; max-width: 54vw;
}
.nav::-webkit-scrollbar { display: none; }
.nav a {
  font-size: 13.5px; font-weight: 500; color: rgba(232,227,216,.55);
  text-decoration: none; padding: 6px 11px; border-radius: 8px; white-space: nowrap;
  transition: color .15s, background .15s;
}
.nav a:hover { background: rgba(255,255,255,.07); color: rgba(232,227,216,.9); }
.nav a.on { color: var(--accent); background: rgba(232,85,31,.14); }
.nav-cta {
  font-family: var(--mono); font-size: 12.5px; font-weight: 700; letter-spacing: .04em;
  color: #fff; text-decoration: none; padding: 9px 16px; border-radius: 9px; white-space: nowrap;
  background: linear-gradient(160deg, #F06633 0%, #E8551F 50%, #C24312 100%);
  box-shadow: 0 1px 0 rgba(255,255,255,.25) inset, 0 4px 18px -3px rgba(232,85,31,.65);
  transition: box-shadow .2s, transform .12s;
}
.nav-cta:hover {
  box-shadow: 0 1px 0 rgba(255,255,255,.25) inset, 0 8px 28px -3px rgba(232,85,31,.8);
  transform: translateY(-1px);
}
.burger {
  display: none; margin-left: auto; background: none;
  border: 1px solid var(--shell-line); border-radius: 8px;
  width: 40px; height: 40px; cursor: pointer;
  color: rgba(232,227,216,.65); font-size: 17px; line-height: 1;
}
.mnav {
  display: none; flex-direction: column;
  padding: 8px 28px 22px;
  border-top: 1px solid var(--shell-line);
  background: #0A0806;
}
.mnav a {
  padding: 12px 6px; text-decoration: none; color: rgba(232,227,216,.65);
  font-weight: 500; border-bottom: 1px solid var(--shell-line); transition: color .15s;
}
.mnav a:hover { color: var(--accent); }
.mnav .nav-cta { margin-top: 14px; text-align: center; border: 0; display: block; }
.mnav.open { display: flex; }

/* ── Hero — deep shell with ambient glow ── */
.hero {
  padding: 130px 0 64px;
  background: var(--shell);
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

/* Layer 1: orange radial ambient glow */
.hero::before {
  content: '';
  position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(ellipse 800px 700px at 20% -10%, rgba(232,85,31,.24) 0%, transparent 62%),
    radial-gradient(ellipse 500px 400px at 85% 105%, rgba(232,85,31,.12) 0%, transparent 60%);
  pointer-events: none;
}

/* Layer 2: dot grid texture */
.hero::after {
  content: '';
  position: absolute; inset: 0; z-index: -1;
  background-image: radial-gradient(rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 30px 30px;
  pointer-events: none;
}

.hero-grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center;
  position: relative;
}

/* H1 — scoped to hero */
h1 {
  font-family: var(--disp);
  font-size: clamp(2.7rem, 5.4vw, 4.4rem);
  line-height: 1.0; letter-spacing: -.035em; font-weight: 700;
  color: #fff;
}

/* "Executor" accent in h1 */
.h1-em {
  color: var(--accent);
  text-shadow: 0 0 40px rgba(232,85,31,.35);
}

.hero-tag {
  font-size: 17.5px; line-height: 1.65; color: rgba(232,227,216,.65);
  margin: 22px 0 30px; max-width: 34em;
}
.hero-tag b { color: var(--shell-ink); }

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

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--disp); font-weight: 600; font-size: 15.5px;
  text-decoration: none; padding: 13px 22px;
  border-radius: 11px; border: 1px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  cursor: pointer; white-space: nowrap; line-height: 1;
}
.btn:active { transform: translateY(1px) !important; }

.btn-main {
  background: linear-gradient(160deg, #F26637 0%, #E8551F 50%, #C44213 100%);
  color: #fff;
  box-shadow:
    0 1px 0 rgba(255,255,255,.28) inset,
    0 -1px 0 rgba(0,0,0,.22) inset,
    0 6px 32px -4px rgba(232,85,31,.7);
}
.btn-main:hover {
  transform: translateY(-2px);
  box-shadow:
    0 1px 0 rgba(255,255,255,.28) inset,
    0 -1px 0 rgba(0,0,0,.22) inset,
    0 12px 44px -4px rgba(232,85,31,.85);
}
@media (prefers-reduced-motion: no-preference) {
  .btn-main {
    animation: btn-breathe 4s ease-in-out infinite;
  }
  @keyframes btn-breathe {
    0%,100% { box-shadow: 0 1px 0 rgba(255,255,255,.28) inset, 0 -1px 0 rgba(0,0,0,.22) inset, 0 6px 32px -4px rgba(232,85,31,.65); }
    50%     { box-shadow: 0 1px 0 rgba(255,255,255,.28) inset, 0 -1px 0 rgba(0,0,0,.22) inset, 0 8px 40px -4px rgba(232,85,31,.85); }
  }
}

/* Ghost dark (hero, diag, cta) */
.btn-ghost {
  background: rgba(255,255,255,.07);
  color: var(--shell-ink);
  border-color: var(--shell-line-2);
}
.btn-ghost:hover { background: rgba(255,255,255,.12); border-color: rgba(232,227,216,.3); transform: translateY(-2px); }

/* Ghost light (sections) */
section .btn-ghost { background: var(--card); color: var(--ink); border-color: var(--line); box-shadow: var(--sh1); }
section .btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.diag-note .btn-ghost { background: transparent; color: var(--shell-ink); border-color: var(--shell-line-2); box-shadow: none; }
.diag-note .btn-ghost:hover { background: rgba(255,255,255,.07); border-color: rgba(232,227,216,.3); }

.cta-meta {
  font-family: var(--mono); font-size: 11.5px; font-weight: 500;
  color: rgba(232,227,216,.35); margin-top: 14px; letter-spacing: .01em;
}

/* ── Hero badge — live green dot via CSS ── */
.hero-badge {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--mono); font-size: 11.5px; font-weight: 600; letter-spacing: .07em;
  color: rgba(232,227,216,.75);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  padding: 6px 14px 6px 10px;
  border-radius: 999px; margin-bottom: 24px;
}
.hero-badge::before {
  content: '';
  width: 7px; height: 7px; border-radius: 50%;
  background: #35C26E;
  box-shadow: 0 0 8px rgba(53,194,110,.9);
  flex-shrink: 0;
  animation: live-dot 2s ease-in-out infinite;
}
@keyframes live-dot {
  0%,100% { box-shadow: 0 0 8px rgba(53,194,110,.9); }
  50%     { box-shadow: 0 0 14px rgba(53,194,110,.6), 0 0 28px rgba(53,194,110,.25); }
}
.hero-badge b { color: #35C26E; }

/* ── Hero visual ── */
.hero-visual { position: relative; }

.hero-frame {
  border: 1px solid var(--shell-line-2);
  background: var(--shell-2);
  border-radius: var(--radius);
  padding: 12px;
  box-shadow:
    0 0 0 1px rgba(255,255,255,.04),
    0 12px 60px rgba(0,0,0,.65),
    0 0 80px -20px rgba(232,85,31,.2);
}
.hero-frame img {
  border-radius: 9px; width: 100%; display: block;
  min-height: 280px; object-fit: cover; background: var(--shell);
}
.frame-cap {
  display: flex; justify-content: space-between; gap: 12px;
  font-family: var(--mono); font-size: 11px; font-weight: 500;
  color: rgba(232,227,216,.32); padding: 10px 4px 2px; letter-spacing: .025em;
}
.frame-cap b { color: rgba(232,227,216,.6); }

.hero-corner {
  position: absolute; top: -13px; right: -10px; z-index: 2;
  background: rgba(232,85,31,.12);
  color: var(--accent);
  font-family: var(--mono); font-size: 10.5px; font-weight: 700; letter-spacing: .13em;
  padding: 6px 13px; border-radius: 7px;
  border: 1px solid rgba(232,85,31,.3);
  box-shadow: 0 0 20px rgba(232,85,31,.15);
}

/* ── TOC strip ── */
.toc {
  background: rgba(255,255,255,.04);
  border: 1px solid var(--shell-line);
  border-radius: var(--radius);
  padding: 14px 20px; margin: 44px 0 0;
}
.toc-in { max-width: var(--w); margin: 0 auto; padding: 0 4px; }
.toc-title {
  font-family: var(--mono); font-size: 10px; font-weight: 700;
  letter-spacing: .22em; color: rgba(232,227,216,.3); text-transform: uppercase; margin-bottom: 10px;
}
.toc-links { display: flex; gap: 3px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.toc-links::-webkit-scrollbar { display: none; }
.toc-links a {
  font-family: var(--mono); font-size: 11.5px; font-weight: 500;
  color: rgba(232,227,216,.52); text-decoration: none; white-space: nowrap;
  padding: 4px 10px; border-radius: 6px; border: 1px solid transparent;
  transition: border-color .15s, background .15s, color .15s;
}
.toc-links a:hover { border-color: var(--shell-line-2); background: rgba(255,255,255,.05); color: var(--shell-ink); }
.toc-links a b { color: var(--accent); font-weight: 700; margin-right: 3px; }

/* ── Section rhythm ── */
section { padding: 80px 0 20px; }
.sec-head { margin-bottom: 36px; }

h2 {
  font-family: var(--disp);
  font-size: clamp(1.7rem, 3vw, 2.45rem);
  font-weight: 700; letter-spacing: -.03em; line-height: 1.12;
  margin: 10px 0 11px; color: var(--ink);
}
h3 { font-family: var(--disp); font-size: 1.12rem; font-weight: 600; letter-spacing: -.01em; margin-bottom: 8px; }
.sec-sub { color: var(--ink-soft); max-width: 58em; font-size: 16px; line-height: 1.68; }

/* Subtle gradient at top of first section (connects to dark hero) */
main > section:first-of-type {
  background: linear-gradient(to bottom, rgba(13,11,9,.06) 0, transparent 100px), var(--paper);
}

/* ── Grid & Cards ── */
.grid { display: grid; gap: 20px; }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--sh2);
  min-width: 0;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.card p { color: var(--ink-soft); font-size: 15px; line-height: 1.66; }

/* Card label — pill */
.card .num {
  font-family: var(--mono);
  font-size: 10.5px; font-weight: 700;
  color: var(--accent);
  letter-spacing: .12em; text-transform: uppercase;
  margin-bottom: 14px; display: inline-block;
  padding: 3px 9px; border-radius: 6px;
  background: rgba(232,85,31,.1);
  border: 1px solid rgba(232,85,31,.22);
}

/* Card hover — lift + subtle orange halo */
.card:hover {
  transform: translateY(-4px);
  box-shadow:
    var(--sh3),
    0 0 0 1px rgba(232,85,31,.12),
    0 0 40px -16px rgba(232,85,31,.2);
  border-color: rgba(232,85,31,.2);
}

ul.tick { list-style: none; display: flex; flex-direction: column; gap: 8px; margin-top: 14px; }
ul.tick li { position: relative; padding-left: 26px; color: var(--ink-soft); font-size: 15px; }
ul.tick li::before { content: "▸"; position: absolute; left: 4px; color: var(--accent); font-weight: 700; }
ul.tick li b { color: var(--ink); }

/* ── Spec table ── */
.tblwrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); box-shadow: var(--sh2); }
table.spec { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 640px; }
table.spec th {
  font-family: var(--mono); font-size: 10.5px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--muted); text-align: left;
  padding: 13px 20px; border-bottom: 1px solid var(--line); background: var(--panel);
}
table.spec td { padding: 13px 20px; border-bottom: 1px solid var(--line-soft); color: var(--ink-soft); vertical-align: top; }
table.spec tr:last-child td { border-bottom: 0; }
table.spec td:first-child { color: var(--ink); font-weight: 600; white-space: nowrap; }
table.spec td .mono { font-size: 13px; }

.pill { display: inline-block; font-family: var(--mono); font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 999px; letter-spacing: .04em; }
.pill-ok { background: rgba(30,122,70,.1); color: var(--ok); }
.pill-warn { background: rgba(180,131,27,.12); color: #8a6512; }
.pill-err { background: rgba(179,38,30,.09); color: var(--err); }

/* ── DIAGNOSTIC BAY ── */
.diag {
  background: var(--shell);
  border: 1px solid var(--shell-line);
  border-radius: var(--radius);
  color: var(--shell-ink);
  padding: 28px 28px 26px;
  box-shadow: var(--sh3), 0 0 60px -20px rgba(232,85,31,.1);
  margin-top: 8px;
  position: relative;
  overflow: hidden;
}
.diag::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(232,85,31,.5), transparent);
}
.diag-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px; flex-wrap: wrap; margin-bottom: 20px;
}
.diag-title {
  font-family: var(--mono); font-size: 11px; font-weight: 700;
  letter-spacing: .2em; color: rgba(232,227,216,.4); text-transform: uppercase;
}
.diag-title b { color: var(--accent); }
.diag-led {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--mono); font-size: 11.5px; font-weight: 500; color: #8FD6A8;
}
.diag-led i { width: 8px; height: 8px; border-radius: 50%; background: #35C26E; box-shadow: 0 0 10px rgba(53,194,110,.9); display: inline-block; }
.diag-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 20px; }
.dcode {
  background: var(--shell-2);
  border: 1px solid var(--shell-line);
  border-radius: 10px; padding: 14px 14px 12px;
  text-align: left; cursor: pointer; color: var(--shell-ink); font-family: var(--mono);
  transition: border-color .15s, transform .15s, background .15s, box-shadow .15s;
}
.dcode:hover { border-color: rgba(232,85,31,.5); transform: translateY(-2px); background: var(--shell-3); }
.dcode.on {
  border-color: var(--accent);
  background: #231810;
  box-shadow: 0 0 0 1px rgba(232,85,31,.2), 0 4px 24px rgba(232,85,31,.14), inset 0 1px 0 rgba(232,85,31,.1);
}
.dcode .dc { font-size: 13.5px; font-weight: 700; color: var(--accent); display: block; letter-spacing: .04em; }
.dcode .dn { font-size: 11px; color: rgba(232,227,216,.6); display: block; margin-top: 4px; line-height: 1.4; }
.dcode .dsev { font-size: 10px; font-weight: 700; letter-spacing: .1em; margin-top: 8px; display: inline-block; padding: 2px 7px; border-radius: 5px; }
.sev-hi { background: rgba(232,85,31,.18); color: #FF9A6E; }
.sev-md { background: rgba(180,131,27,.2); color: #E7C063; }
.sev-lo { background: rgba(53,194,110,.15); color: #8FD6A8; }
.diag-out { display: grid; grid-template-columns: 1.15fr .85fr; gap: 18px; align-items: start; }
.diag-term {
  background: #070605;
  border: 1px solid var(--shell-line);
  border-radius: 10px;
  padding: 18px 20px; font-family: var(--mono); font-size: 13px;
  line-height: 1.74; min-height: 210px; overflow-x: auto;
}
.dt-row { display: flex; gap: 10px; white-space: pre-wrap; overflow-wrap: anywhere; }
.dt-row .p { color: var(--accent); flex: none; }
.dt-row .k { color: #8FD6A8; }
.dt-row .m { color: rgba(232,227,216,.5); }
.dt-row .e { color: #FF9A6E; }
.diag-note h3 { color: var(--shell-ink); font-size: 1.05rem; }
.diag-note p { color: rgba(232,227,216,.62); font-size: 14px; margin: 9px 0 16px; line-height: 1.65; }
.diag-note .btn { font-size: 14px; padding: 11px 18px; }

/* ── Stats band — orange top accent ── */
.stats {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  background: var(--card); border: 1px solid var(--line);
  border-top: 2.5px solid var(--accent);
  border-radius: var(--radius); box-shadow: var(--sh2); overflow: hidden; margin-top: 32px;
}
.stat { padding: 24px 26px; border-left: 1px solid var(--line-soft); transition: background .2s; }
.stat:first-child { border-left: 0; }
.stat:hover { background: rgba(232,85,31,.025); }
.stat-num {
  font-family: var(--disp); font-size: clamp(28px, 3.3vw, 40px);
  font-weight: 700; letter-spacing: -.025em; color: var(--ink); overflow-wrap: anywhere;
}
.stat-lab {
  font-family: var(--mono); font-size: 10.5px; font-weight: 500;
  color: var(--muted); letter-spacing: .09em; text-transform: uppercase; margin-top: 5px;
}

/* ── Steps ── */
.steps { display: flex; flex-direction: column; gap: 14px; }
.step {
  display: grid; grid-template-columns: 60px 1fr; gap: 18px;
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px 24px;
  box-shadow: var(--sh2); min-width: 0;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.step:hover { transform: translateY(-3px); box-shadow: var(--sh3); border-color: rgba(232,85,31,.2); }
.step-n {
  font-family: var(--mono); font-weight: 700; color: var(--accent); font-size: 14px;
  border: 1.5px solid rgba(232,85,31,.3); border-radius: 10px;
  width: 46px; height: 46px; display: flex; align-items: center; justify-content: center;
  background: rgba(232,85,31,.06);
  box-shadow: 0 0 16px rgba(232,85,31,.1);
  flex-shrink: 0;
}
.step h3 { margin-bottom: 5px; }
.step p { color: var(--ink-soft); font-size: 15px; }
.step .mono-note { font-family: var(--mono); font-size: 12px; color: var(--muted); margin-top: 9px; overflow-wrap: anywhere; }

/* ── Chart ── */
.chart { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--sh2); padding: 24px 22px 16px; }
.chart svg { width: 100%; height: auto; display: block; }
.grid-l { stroke: var(--line-soft); stroke-width: 1; }
.ylab { font-family: var(--mono); font-size: 11px; fill: var(--muted); font-weight: 500; }
.bar { fill: var(--accent); opacity: .82; rx: 3; }
.bar:hover { opacity: 1; }
.bar.dip { fill: var(--err); }
.tip {
  position: fixed; background: var(--shell-3); color: var(--shell-ink);
  font-family: var(--mono); font-size: 12px; font-weight: 500; padding: 7px 13px;
  border-radius: 8px; pointer-events: none; z-index: 60; white-space: nowrap;
  box-shadow: var(--sh3); border: 1px solid var(--shell-line);
}
.cap { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 10.5px; font-weight: 500; color: var(--muted); letter-spacing: .07em; padding: 11px 2px 4px; }

/* ── Accordion ── */
.acc { display: flex; flex-direction: column; gap: 10px; }
.acc-item {
  background: var(--card); border: 1px solid var(--line); border-radius: 13px;
  box-shadow: var(--sh1); overflow: hidden;
  transition: border-color .2s, box-shadow .2s;
}
.acc-item:hover { border-color: rgba(232,85,31,.2); box-shadow: var(--sh2); }
.acc-btn {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  gap: 14px; background: none; border: 0; cursor: pointer; padding: 17px 22px;
  font-family: var(--disp); font-size: 15.5px; font-weight: 600; color: var(--ink); text-align: left;
}
.acc-btn .chev { flex: none; color: var(--accent); font-size: 13px; transition: transform .25s; font-family: var(--mono); }
.acc-item.open .chev { transform: rotate(90deg); }
.acc-item.open { border-color: rgba(232,85,31,.25); }
.acc-body { display: none; padding: 0 22px 20px; color: var(--ink-soft); font-size: 15px; line-height: 1.68; }
.acc-item.open .acc-body { display: block; }
.acc-body b { color: var(--ink); }
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-items: start; }

/* ── Platform cards ── */
.plat { display: flex; flex-direction: column; gap: 12px; }
.plat-head { display: flex; align-items: center; gap: 12px; }
.plat-os {
  font-family: var(--mono); font-size: 10.5px; font-weight: 700; letter-spacing: .1em;
  padding: 5px 12px; border-radius: 7px; background: var(--shell); color: var(--shell-ink);
}
.warn {
  display: flex; gap: 10px; background: #FBF3E8; border: 1px solid #EAD3B5;
  border-left: 3px solid #D4820E;
  border-radius: 10px; padding: 12px 14px; font-size: 13.5px; color: #6B4E1E; margin-top: 6px; line-height: 1.55;
}
.warn b { color: #8A3415; }
.note {
  display: flex; gap: 10px; background: #EEF6F1; border: 1px solid #CBE3D4;
  border-left: 3px solid #2E9E5A;
  border-radius: 10px; padding: 12px 14px; font-size: 13.5px; color: #1E5636; line-height: 1.55;
}
.dl-btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 13px; font-weight: 700;
  color: #fff; background: var(--shell); text-decoration: none;
  padding: 10px 18px; border-radius: 9px; margin-top: auto; align-self: flex-start;
  box-shadow: 0 4px 14px rgba(0,0,0,.25);
  transition: background .15s, transform .12s, box-shadow .15s;
}
.dl-btn:hover { background: var(--accent); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(232,85,31,.45); }
.dl-size { font-family: var(--mono); font-size: 10.5px; color: var(--muted); font-weight: 500; margin-top: 8px; }

/* ── Hash ── */
.hash-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 20px; }
.hash-row { display: flex; flex-direction: column; gap: 5px; border-bottom: 1px dashed var(--line); padding: 13px 0; }
.hash-row:last-child { border-bottom: 0; }
.hash-lab { font-family: var(--mono); font-size: 10.5px; font-weight: 700; letter-spacing: .1em; color: var(--muted); text-transform: uppercase; }
.hash-val { font-family: var(--mono); font-size: 13px; color: var(--ink); overflow-wrap: anywhere; line-height: 1.52; }
.codeblk {
  background: var(--shell);
  color: var(--shell-ink);
  border: 1px solid var(--shell-line);
  border-radius: 10px;
  padding: 18px 20px; font-family: var(--mono); font-size: 13px;
  line-height: 1.74; overflow-x: auto; white-space: pre; min-width: 0;
}
.codeblk .cm { color: rgba(232,227,216,.38); }
.codeblk .h { color: #8FD6A8; }

/* ── Games lane ── */
.lane {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 1fr);
  gap: 16px; overflow-x: auto; padding: 4px 2px 16px;
  scrollbar-width: thin; scrollbar-color: var(--line) transparent;
}
.lane::-webkit-scrollbar { height: 5px; }
.lane::-webkit-scrollbar-thumb { background: var(--line); border-radius: 6px; }
.gtile {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--sh2);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s;
}
.gtile:hover { transform: translateY(-4px); box-shadow: var(--sh3); border-color: rgba(232,85,31,.2); }
.gtile img { width: 100%; height: 136px; object-fit: cover; background: var(--panel); }
.gtile-body { padding: 13px 16px 15px; }
.gtile-body h3 { font-size: 15px; margin-bottom: 3px; }
.gtile-body .scripts { font-family: var(--mono); font-size: 10.5px; font-weight: 600; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }

/* ── Reviews ── */
.rev { display: flex; flex-direction: column; gap: 13px; }
.rev-head { display: flex; align-items: center; gap: 12px; }
.rev-ava { width: 42px; height: 42px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-family: var(--disp); color: #fff; font-size: 15px; flex: none; }
.rev-name { font-weight: 600; font-size: 14.5px; }
.rev-src { font-family: var(--mono); font-size: 10.5px; font-weight: 500; color: var(--muted); letter-spacing: .05em; }
.rev-stars { margin-left: auto; font-family: var(--mono); font-size: 12.5px; color: var(--warn); letter-spacing: 2px; white-space: nowrap; }
.rev p { font-size: 14.5px; line-height: 1.62; }

/* ── Compare table ── */
table.cmp { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 720px; }
table.cmp th, table.cmp td { padding: 13px 17px; border-bottom: 1px solid var(--line-soft); text-align: left; color: var(--ink-soft); }
table.cmp thead th { font-family: var(--mono); font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); background: var(--panel); }
table.cmp td:first-child { font-weight: 600; color: var(--ink); }
table.cmp tr.us td { background: rgba(232,85,31,.05); }
table.cmp tr.us td:first-child { color: var(--accent-dim); font-weight: 700; }
.yes { color: var(--ok); font-weight: 700; }
.no { color: var(--err); font-weight: 700; }
.mid { color: var(--warn); font-weight: 700; }

/* ── Final CTA ── */
.final-cta {
  background: var(--shell);
  border: 1px solid var(--shell-line);
  border-top: 2px solid rgba(232,85,31,.5);
  border-radius: 20px;
  color: var(--shell-ink); padding: 64px 24px; margin: 88px 0 0;
  text-align: center; position: relative; overflow: hidden;
  box-shadow: 0 0 80px -20px rgba(232,85,31,.12);
  isolation: isolate;
}
.final-cta::before {
  content: ''; position: absolute; inset: 0; z-index: -2;
  background: radial-gradient(ellipse 600px 400px at 50% 0%, rgba(232,85,31,.18) 0%, transparent 70%);
}
.final-cta::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: repeating-linear-gradient(-45deg, transparent 0 26px, rgba(232,85,31,.04) 26px 52px);
}
.final-cta h2 { color: #fff; max-width: 20em; margin-left: auto; margin-right: auto; }
.final-cta p { color: rgba(232,227,216,.68); max-width: 44em; margin: 12px auto 30px; }
.final-cta .cta-meta { color: rgba(232,227,216,.38); }
.final-cta .cta-row { justify-content: center; }

/* ── Footer ── */
footer {
  background: var(--shell);
  margin-top: 0;
  padding: 48px 0 40px;
  position: relative;
}
footer::before {
  content: '';
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 50%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(232,85,31,.4), transparent);
}
.foot-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px; font-size: 14px; color: rgba(232,227,216,.52);
}
.foot-grid h4 {
  font-family: var(--mono); font-size: 10px; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase; color: rgba(232,227,216,.28); margin-bottom: 14px;
}
.foot-grid a {
  display: block; color: rgba(232,227,216,.48); text-decoration: none; padding: 3px 0; transition: color .15s;
}
.foot-grid a:hover { color: var(--accent); }
.foot-grid p { max-width: 34em; font-size: 13.5px; line-height: 1.65; }
.foot-bot {
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  font-family: var(--mono); font-size: 10.5px; color: rgba(232,227,216,.24);
  margin-top: 32px; padding-top: 22px; border-top: 1px solid var(--shell-line);
}

/* ── Reveal ── */
.rv { opacity: 0; transform: translateY(20px); transition: opacity .8s cubic-bezier(.16,1,.3,1), transform .8s cubic-bezier(.16,1,.3,1); }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .rv { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ── Responsive ── */
@media (max-width: 1040px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { max-width: 620px; }
  .g3 { grid-template-columns: 1fr 1fr; }
  .diag-grid { grid-template-columns: repeat(2, 1fr); }
  .diag-out { grid-template-columns: 1fr; }
  .hash-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav, .nav-cta { display: none; }
  .burger { display: block; }
  .g3, .g2, .faq-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line-soft); }
  .step { grid-template-columns: 1fr; gap: 10px; }
  section { padding: 52px 0 8px; }
}
@media (max-width: 420px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .hero { padding-top: 100px; padding-bottom: 48px; }
  .hero-corner { display: none; }
  .toc { border-radius: 10px; }
}
