/* ==========================================================================
   OUTBND Product Overview Stylesheet — Dual Theme Engine
   Theme A: OUTBND Nocturnal (Dark, App-Native)
   Theme B: Tyrus Evidence Ledger (Warm Paper, Editorial)
   ========================================================================== */

/* Theme A: OUTBND Nocturnal (Default) */
:root, [data-theme="nocturnal"] {
  --theme-name: "nocturnal";
  --bg: #0C0C10;
  --ink: #131218;
  --ink2: #181720;
  --surface: #1E1D26;
  --surface2: #252430;
  
  --line: rgba(237, 236, 241, 0.08);
  --line2: rgba(237, 236, 241, 0.14);
  --line-strong: rgba(237, 236, 241, 0.24);

  --accent: #FF7D55;
  --accent-soft: rgba(255, 125, 85, 0.12);
  --accent-ink: #0C0C10;
  --route-peach: #FFAA84;

  --energy-quiet: #7C6A5F;
  --energy-warming: #C4855A;
  --energy-busy: #FF7D55;
  --energy-packed: #FF4D26;
  --energy-stale: #55524A;

  --text: #EDECF1;
  --muted: #9A96A6;
  --muted2: #656172;

  --map-land: #141313;
  --map-arterial: #393637;
  --map-street: #2C2A29;

  --font-display: "Space Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: "Space Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: "IBM Plex Mono", Menlo, Consolas, monospace;

  --header-bg: rgba(12, 12, 16, 0.92);
  --sim-box-shadow: 0 36px 90px -25px rgba(0, 0, 0, 0.85), inset 0 0 0 4px #08070e;
}

/* Theme B: Tyrus Evidence Ledger */
[data-theme="ledger"] {
  --theme-name: "ledger";
  --bg: #FCFBF8;
  --ink: #F4F1E9;
  --ink2: #ECE8DC;
  --surface: #FCFBF8;
  --surface2: #F4F1E9;

  --line: rgba(29, 27, 23, 0.09);
  --line2: rgba(29, 27, 23, 0.16);
  --line-strong: rgba(29, 27, 23, 0.28);

  --accent: #6E2A28;
  --accent-soft: rgba(110, 42, 40, 0.08);
  --accent-ink: #FCFBF8;
  --route-peach: #9C5B32;

  --energy-quiet: #7C6A5F;
  --energy-warming: #B87333;
  --energy-busy: #6E2A28;
  --energy-packed: #C93B2B;
  --energy-stale: #8C887C;

  --text: #1D1B17;
  --muted: #55524A;
  --muted2: #8C887C;

  --map-land: #141313;
  --map-arterial: #393637;
  --map-street: #2C2A29;

  --font-display: "Space Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: "Space Grotesk", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: "IBM Plex Mono", Menlo, Consolas, monospace;

  --header-bg: rgba(252, 251, 248, 0.92);
  --sim-box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.5), inset 0 0 0 4px #08070e;
}

:root {
  --shell: 1160px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section-space: clamp(4.5rem, 9vw, 8rem);

  --radius-sheet: 20px;
  --radius-card: 14px;
  --radius-tile: 11px;
  --radius-pill: 999px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
  background-color: var(--bg);
  -webkit-text-size-adjust: 100%;
  transition: background-color 200ms ease, color 200ms ease;
}

body {
  margin: 0;
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  transition: background-color 200ms ease, color 200ms ease;
}

/* Typography Base */
h1, h2, h3, h4, p, dl, dd, ol, ul {
  margin-top: 0;
}

h1, h2, h3, h4, .display-font {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text);
}

[data-theme="ledger"] h1,
[data-theme="ledger"] h2,
[data-theme="ledger"] h3,
[data-theme="ledger"] h4 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.03em;
}

.wordmark-outbnd {
  font-family: "Unbounded", -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.wordmark-outbnd .out-accent {
  color: var(--accent);
}

.mono-tag, .eyebrow, .item-number, .stat-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  line-height: 1.45;
  text-transform: uppercase;
  color: var(--muted);
}

/* Container Shell */
.shell {
  width: min(100%, calc(var(--shell) + (2 * var(--gutter))));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Skip link */
.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.65rem 0.9rem;
  background: var(--surface2);
  color: var(--text);
  border: 1px solid var(--line2);
  border-radius: var(--radius-tile);
  transform: translateY(-180%);
  transition: transform 160ms ease;
  font-family: var(--font-mono);
  font-size: 0.8rem;
}
.skip-link:focus {
  transform: translateY(0);
}

/* Header */
.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--header-bg);
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  transition: background 200ms ease, border-color 200ms ease;
}

.header-inner {
  min-height: 4.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand-group {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.brand-outbnd {
  display: inline-flex;
  align-items: center;
  font-size: 1.15rem;
  text-decoration: none;
  color: var(--text);
}

.header-meta {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--muted2);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 2vw, 1.75rem);
  font-size: 0.86rem;
  font-weight: 500;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
  transition: color 150ms ease;
}

.site-nav a:hover {
  color: var(--text);
}

/* Theme Switcher Toggle */
.theme-switch-wrap {
  display: inline-flex;
  align-items: center;
  background: var(--surface2);
  border: 1px solid var(--line2);
  border-radius: var(--radius-pill);
  padding: 3px;
  gap: 2px;
}

.theme-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.65rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--muted);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all 150ms ease;
}

.theme-toggle-btn:hover {
  color: var(--text);
}

.theme-toggle-btn.active {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.theme-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: inline-block;
}
.theme-dot.nocturnal { background: #FF7D55; }
.theme-dot.ledger { background: #6e2a28; }
.theme-toggle-btn.active .theme-dot { background: var(--accent-ink); }

/* Sections */
.section {
  padding-block: var(--section-space);
}

.section-panel {
  background: var(--ink);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background 200ms ease, border-color 200ms ease;
}

.section-header {
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}

.section-header .eyebrow {
  margin-bottom: 0.85rem;
  color: var(--accent);
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.2vw, 3.4rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--text);
  max-width: 28ch;
}

.section-intro {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  color: var(--muted);
  max-width: 56ch;
  line-height: 1.65;
  margin-top: 1.25rem;
}

/* Hero Section */
.hero {
  padding-top: clamp(3.5rem, 7vw, 6.5rem);
  padding-bottom: clamp(3.5rem, 7vw, 6rem);
  position: relative;
}

.hero-tag-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.hero-title-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.85fr) minmax(18rem, 1.15fr);
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: end;
  margin-bottom: clamp(3.5rem, 7vw, 6rem);
}

.hero h1 {
  font-size: clamp(2.5rem, 5.4vw, 4.4rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: 0;
  text-wrap: balance;
}

.hero-aside p {
  font-size: clamp(1.02rem, 1.4vw, 1.15rem);
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.5rem;
  background: var(--accent);
  color: var(--accent-ink);
  border-radius: var(--radius-pill);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  transition: opacity 150ms ease, transform 150ms ease;
  border: none;
  cursor: pointer;
}
.btn-primary:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.85rem 1.35rem;
  border: 1px solid var(--line2);
  background: var(--surface);
  border-radius: var(--radius-pill);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  transition: all 150ms ease;
}
.btn-outline:hover {
  background: var(--surface2);
  border-color: var(--line-strong);
}

/* Shelf-Life Matrix */
.shelf-life-matrix {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--ink);
  overflow: hidden;
  transition: background 200ms ease, border-color 200ms ease;
}

.shelf-col {
  padding: clamp(1.5rem, 3vw, 2.25rem);
}
.shelf-col + .shelf-col {
  border-left: 1px solid var(--line);
}

.shelf-duration {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  display: block;
}
.shelf-col.years .shelf-duration { color: var(--muted2); }
.shelf-col.months .shelf-duration { color: var(--energy-warming); }
.shelf-col.minutes .shelf-duration { color: var(--accent); font-weight: 600; }

.shelf-col h3 {
  font-size: clamp(1.15rem, 1.6vw, 1.35rem);
  margin-bottom: 0.5rem;
}
.shelf-col p {
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 0;
  line-height: 1.55;
}

/* ==========================================================================
   Interactive Simulator Section
   ========================================================================== */
.simulator-layout {
  display: grid;
  grid-template-columns: minmax(18rem, 1.15fr) minmax(0, 1.85fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}

/* Control Panel */
.sim-controls-panel {
  background: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius-sheet);
  padding: 1.75rem;
  transition: background 200ms ease, border-color 200ms ease;
}

.control-block {
  margin-bottom: 2rem;
}
.control-block:last-child {
  margin-bottom: 0;
}

.control-heading {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.9rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.energy-legend {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.energy-legend li {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.7rem;
  padding: 0.5rem 0.6rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-tile);
}

.energy-legend li strong {
  font-size: 0.84rem;
  color: var(--text);
}

.energy-legend li code {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--muted);
  white-space: nowrap;
}

.energy-chip {
  width: 0.9rem;
  height: 0.9rem;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.energy-chip.level-quiet { background: #7C6A5F; }
.energy-chip.level-warming { background: #C4855A; }
.energy-chip.level-busy { background: #FF7D55; }
.energy-chip.level-packed { background: #FF4D26; }
.energy-chip.level-stale { background: #55524A; }

.sim-venue-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.sim-venue-row {
  width: 100%;
  text-align: left;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-tile);
  padding: 0.8rem 0.95rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  cursor: pointer;
  font-family: inherit;
  color: var(--text);
  transition: all 150ms ease;
}
.sim-venue-row:hover {
  background: var(--surface2);
  border-color: var(--line2);
}
.sim-venue-row.active {
  background: var(--ink2);
  border-color: var(--accent);
  box-shadow: 0 0 16px -4px var(--accent-soft);
}

.sim-row-left {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
}

.sim-row-donut {
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
  background: conic-gradient(var(--arc-color, #7C6A5F) var(--arc-deg, 0deg), rgba(255,255,255,0.08) 0deg);
  position: relative;
  flex-shrink: 0;
}
.sim-row-donut::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--surface);
}

.sim-row-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.sim-row-name {
  font-size: 0.88rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--text);
}
.sim-row-meta {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--muted);
}

.sim-row-right {
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  flex-shrink: 0;
}
.sim-row-genre {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text);
}
.sim-row-cover {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--muted);
}
.sim-row-genre.dim-stale, .sim-row-cover.dim-stale {
  color: var(--muted2);
}

/* Button Groups */
.btn-group-toggle {
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.btn-pill-toggle {
  padding: 0.45rem 0.85rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--muted);
  cursor: pointer;
  transition: all 150ms ease;
}
.btn-pill-toggle:hover {
  color: var(--text);
  border-color: var(--line2);
}
.btn-pill-toggle.active {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: var(--accent);
  font-weight: 600;
}

.btn-action-socket {
  width: 100%;
  padding: 0.8rem 1rem;
  background: var(--surface);
  border: 1px solid var(--line2);
  border-radius: var(--radius-tile);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 150ms ease;
}
.btn-action-socket:hover {
  background: var(--surface2);
  border-color: var(--accent);
}

.socket-feedback {
  margin-top: 0.75rem;
  padding: 0.65rem 0.85rem;
  background: #111116;
  border: 1px solid var(--line2);
  color: #EDECF1;
  border-radius: var(--radius-tile);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  display: none;
}
.socket-feedback.visible {
  display: block;
}
.socket-feedback .socket-flash {
  color: var(--accent);
  font-weight: 700;
  display: block;
  margin-bottom: 0.2rem;
}

/* Phone Simulator Device Container */
.phone-device-wrap {
  display: flex;
  justify-content: center;
}

.app-shot-section {
  margin-top: clamp(2.2rem, 5vw, 3.75rem);
}

.app-shot-heading {
  margin-bottom: 0.9rem;
}

.app-shot-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2.5vw, 1.6rem);
}

.app-shot-card {
  margin: 0;
  background: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 0.8rem;
}

.app-shot {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border: 1px solid var(--line2);
  border-radius: 0.75rem;
  background: #0f0f13;
  display: block;
}

.app-shot-top {
  object-position: top;
}

.app-shot-bottom {
  object-position: bottom;
}

.app-shot-card figcaption {
  margin-top: 0.65rem;
  font-size: 0.82rem;
  color: var(--muted);
}

.phone-screen {
  width: 100%;
  max-width: 380px;
  min-height: 680px;
  background: #100E1C;
  color: #EDECF1;
  border: 1px solid var(--line2);
  border-radius: 38px;
  box-shadow: var(--sim-box-shadow);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Map Mock Background */
.phone-map-canvas {
  position: absolute;
  inset: 0;
  background: #141313;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

.phone-map-road {
  position: absolute;
  background: #393637;
}
.road-arterial-1 { top: 0; bottom: 0; left: 35%; width: 3.5px; transform: rotate(7deg); }
.road-arterial-2 { left: 0; right: 0; top: 38%; height: 3.5px; transform: rotate(-3deg); }
.road-minor { left: 0; right: 0; top: 58%; height: 2px; background: #26221F; }

/* Map Pin Centerpiece */
.phone-map-pin {
  position: absolute;
  top: 25%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.phone-pin-pulse {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: conic-gradient(var(--ring-color, #7C6A5F) var(--ring-deg, 0deg), rgba(255,255,255,0.08) 0deg);
  position: relative;
  box-shadow: 0 0 25px -4px var(--ring-color, rgba(255, 125, 85, 0.4));
}
.phone-pin-pulse::after {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  background: #141313;
}
.phone-pin-dot {
  position: relative;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  color: #EDECF1;
}

/* Phone Top Bar */
.phone-top-status {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.4rem 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: #9A96A6;
}

.phone-demo-banner {
  position: relative;
  z-index: 10;
  margin: 0.25rem 1rem 0;
  padding: 0.35rem 0.75rem;
  background: rgba(255, 125, 85, 0.12);
  border: 1px solid rgba(255, 125, 85, 0.3);
  border-radius: 6px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  color: var(--accent);
  font-weight: 600;
}

/* Phone Bottom Detent Sheet */
.phone-sheet {
  margin-top: auto;
  position: relative;
  z-index: 20;
  background: linear-gradient(180deg, #1A1924, #12111A);
  border-top: 1px solid rgba(237, 236, 241, 0.15);
  border-radius: var(--radius-sheet) var(--radius-sheet) 0 0;
  padding: 0.8rem 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  transition: all 250ms cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 -20px 40px rgba(0, 0, 0, 0.6);
}

.phone-sheet.detent-peek { min-height: 180px; }
.phone-sheet.detent-half { min-height: 380px; }
.phone-sheet.detent-full { min-height: 490px; }

.phone-grabber {
  width: 36px;
  height: 4px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.22);
  margin: 0 auto 0.9rem;
}

.phone-sheet-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.85rem;
}

.phone-venue-name {
  font-family: var(--font-body);
  font-size: 1.22rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
  letter-spacing: -0.01em;
  color: #EDECF1;
}
.phone-venue-district {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: #9A96A6;
}

.phone-badge {
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.badge-live {
  background: var(--accent-soft);
  color: var(--accent);
  border: 1px solid var(--accent);
}
.badge-recent {
  background: rgba(196, 133, 90, 0.15);
  color: var(--energy-warming);
  border: 1px solid rgba(196, 133, 90, 0.4);
}
.badge-stale {
  background: rgba(255, 255, 255, 0.06);
  color: #9A96A6;
  border: 1px solid rgba(237, 236, 241, 0.15);
}

/* Numbers Row */
.phone-numbers-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 1rem;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(237, 236, 241, 0.09);
  border-radius: var(--radius-tile);
}

.phone-num-col .num-lbl {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: #9A96A6;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: block;
}
.phone-num-col .num-val {
  font-size: 1.15rem;
  font-weight: 600;
  font-family: var(--font-mono);
  color: #EDECF1;
}

/* Facts Table */
.phone-facts-table {
  border-top: 1px solid rgba(237, 236, 241, 0.09);
  padding-top: 0.75rem;
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  font-size: 0.82rem;
}
.phone-fact-row {
  display: flex;
  justify-content: space-between;
  color: #9A96A6;
}
.phone-fact-row strong {
  color: #EDECF1;
  font-weight: 500;
}

.phone-btn-action {
  width: 100%;
  padding: 0.85rem;
  background: #EDECF1;
  color: #100E1C;
  border-radius: var(--radius-pill);
  font-size: 0.92rem;
  font-weight: 700;
  text-align: center;
  border: none;
  cursor: pointer;
}

/* Detent Peek / Half displays */
.detent-peek .phone-numbers-row,
.detent-peek .phone-facts-table,
.detent-peek .phone-btn-action {
  display: none;
}
.detent-half .phone-facts-table {
  display: none;
}

/* ==========================================================================
   Signal Architecture 2x2 Showcase Grid (The Content Architecture Style)
   ========================================================================== */
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
  margin-top: 2rem;
}

@media (max-width: 880px) {
  .showcase-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.showcase-card {
  background: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius-sheet);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease, background 200ms ease;
  cursor: pointer;
  outline: none;
  position: relative;
  box-shadow: 0 12px 35px -10px rgba(0, 0, 0, 0.35);
}

[data-theme="ledger"] .showcase-card {
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.06);
}

.showcase-card:hover,
.showcase-card:focus-visible {
  border-color: var(--line-strong);
  box-shadow: 0 24px 55px -15px rgba(0, 0, 0, 0.5);
  transform: translateY(-3px);
}

.showcase-card:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.showcase-canvas-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #08080C;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  user-select: none;
  -webkit-user-select: none;
}

.showcase-ascii-canvas {
  width: 100%;
  height: 100%;
  display: block;
  image-rendering: pixelated;
}

.showcase-hud-overlay {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  right: 0.85rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  z-index: 2;
}

.showcase-badge {
  background: rgba(12, 12, 16, 0.85);
  border: 1px solid var(--line);
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-pill);
  color: var(--accent);
  backdrop-filter: blur(8px);
}

.showcase-coords {
  background: rgba(12, 12, 16, 0.85);
  border: 1px solid var(--line);
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-pill);
  color: var(--muted);
  backdrop-filter: blur(8px);
}

.showcase-footer {
  padding: 1.4rem 1.6rem 1.6rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.showcase-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.showcase-card-name {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--text);
  margin: 0;
  text-transform: uppercase;
}

.showcase-learn-pill {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--text);
  background: var(--surface2);
  border: 1px solid var(--line);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: all 160ms ease;
  flex-shrink: 0;
}

.showcase-card:hover .showcase-learn-pill {
  background: var(--text);
  color: var(--bg);
  border-color: var(--text);
}

.showcase-card.expanded .showcase-learn-pill {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: var(--accent);
}

.showcase-lead {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}

/* Expandable Technical Drawer */
.showcase-drawer {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 320ms cubic-bezier(0.16, 1, 0.3, 1), opacity 260ms ease, margin-top 260ms ease;
  margin-top: 0;
}

.showcase-card.expanded .showcase-drawer {
  max-height: 420px;
  opacity: 1;
  margin-top: 1rem;
  border-top: 1px solid var(--line);
  padding-top: 1.25rem;
}

.showcase-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem 1.25rem;
  margin: 0 0 1rem 0;
}

@media (max-width: 480px) {
  .showcase-specs {
    grid-template-columns: 1fr;
  }
}

.showcase-specs dt {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted2);
  margin-bottom: 0.2rem;
}

.showcase-specs dd {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  margin: 0;
}

.showcase-status {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 0.45rem;
  border-top: 1px dashed var(--line);
  padding-top: 0.75rem;
}

.dot-live {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
  box-shadow: 0 0 8px var(--accent);
  flex-shrink: 0;
}

.window-progress-track {
  display: flex;
  align-items: center;
  gap: 6px;
}

.progress-segment {
  width: 28px;
  height: 4px;
  border-radius: 99px;
  background: var(--line2);
  transition: all 200ms ease;
}
.progress-segment.active {
  background: var(--accent);
  width: 44px;
}

@media (max-width: 840px) {
  .slide-matrix-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 540px) {
  .slide-matrix-grid {
    grid-template-columns: 1fr;
  }
  .window-nav-toolbar {
    flex-direction: column;
    align-items: flex-start;
  }
  .slide-status-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
  }
}

/* ==========================================================================
   Freshness Decay Section & Slider
   ========================================================================== */
.freshness-demo-box {
  background: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius-sheet);
  padding: clamp(1.75rem, 4vw, 3rem);
  transition: background 200ms ease, border-color 200ms ease;
}

.freshness-slider-wrap {
  margin-bottom: 2.5rem;
}
.freshness-slider-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 1rem;
}
.freshness-slider-header .slider-val {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--accent);
}

input[type="range"].freshness-range {
  width: 100%;
  height: 8px;
  background: linear-gradient(to right, var(--accent) 0%, var(--accent) var(--range-fill, 2.5%), rgba(0, 0, 0, 0.14) var(--range-fill, 2.5%), rgba(0, 0, 0, 0.14) 100%);
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.16);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  margin: 1.25rem 0;
  display: block;
}

[data-theme="nocturnal"] input[type="range"].freshness-range {
  background: linear-gradient(to right, var(--accent) 0%, var(--accent) var(--range-fill, 2.5%), rgba(255, 255, 255, 0.15) var(--range-fill, 2.5%), rgba(255, 255, 255, 0.15) 100%);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

input[type="range"].freshness-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent);
  border: 2.5px solid var(--bg, #fcfbf8);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.28);
  transition: transform 120ms ease, box-shadow 120ms ease;
}

input[type="range"].freshness-range::-webkit-slider-thumb:hover {
  transform: scale(1.18);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

input[type="range"].freshness-range::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent);
  border: 2.5px solid var(--bg, #fcfbf8);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.28);
  transition: transform 120ms ease;
}

input[type="range"].freshness-range::-moz-range-thumb:hover {
  transform: scale(1.18);
}

.freshness-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 1.75rem;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.8fr);
  gap: 2rem;
  align-items: center;
  transition: all 200ms ease;
}
.freshness-card.stage-stale {
  background: var(--ink2);
  border-style: dashed;
  border-color: var(--line-strong);
}

.card-preview-inner {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.card-preview-inner .pill-status {
  align-self: flex-start;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
}
.pill-status.live { background: var(--accent-soft); color: var(--accent); border: 1px solid var(--accent); }
.pill-status.recent { background: rgba(196, 133, 90, 0.15); color: var(--energy-warming); border: 1px solid rgba(196, 133, 90, 0.5); }
.pill-status.stale { background: rgba(255, 255, 255, 0.05); color: var(--muted); border: 1px solid var(--line2); }

.card-rule-desc h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}
.card-rule-desc p {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* ==========================================================================
   Hardware & Sensing Track (Sami Prototype)
   ========================================================================== */
.hardware-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
  margin-bottom: clamp(3rem, 6vw, 4.5rem);
}

.hardware-subhead {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}
.hardware-lead {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.hardware-specs-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hw-spec-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 1.2rem 1.35rem;
  transition: background 200ms ease, border-color 200ms ease;
}
.hw-spec-card h4 {
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}
.hw-spec-card p {
  font-size: 0.92rem;
  color: var(--muted);
  margin-bottom: 0;
}

/* Shared "ledger block" used by the build ledger, zone map, and worked example */
.hw-build-ledger,
.hw-zones-block,
.hw-worked-example {
  padding: clamp(1.75rem, 4vw, 2.5rem);
  background: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius-sheet);
  margin-bottom: clamp(2rem, 4vw, 3rem);
  transition: background 200ms ease, border-color 200ms ease;
}

.hw-ledger-header {
  margin-bottom: 1.75rem;
}
.hw-ledger-header .mono-tag {
  display: block;
  margin-bottom: 0.6rem;
  color: var(--accent);
}
.hw-ledger-header h3 {
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  max-width: 46ch;
}

.hw-ledger-note {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Build Ledger: Parts / Wiring / Cost */
.hw-ledger-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 2.25rem);
}

.hw-ledger-col-title {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1rem;
}

.hw-kv-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.hw-kv-list dt {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text);
  margin-bottom: 0.2rem;
}
.hw-kv-list dd {
  margin-left: 0;
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.5;
}

.hw-wiring-table td,
.hw-cost-table td {
  padding: 0.65rem 0.85rem;
  font-size: 0.86rem;
}
.hw-wiring-table td:first-child strong {
  font-family: var(--font-mono);
  color: var(--accent);
}
.hw-cost-table td:last-child {
  text-align: right;
  font-family: var(--font-mono);
  white-space: nowrap;
}
.hw-cost-table .sub-detail {
  display: block;
}
.hw-cost-total td {
  border-top: 1px solid var(--line-strong);
  font-weight: 700;
  color: var(--text);
}
.hw-cost-total td:last-child {
  color: var(--accent);
  font-size: 1.05rem;
}

/* Operating envelope stat tiles */
.hw-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-sheet);
  overflow: hidden;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.hw-stat-tile {
  background: var(--ink);
  padding: clamp(1.35rem, 2.5vw, 1.75rem);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  transition: background 200ms ease;
}
.hw-stat-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.6rem, 2.5vw, 2rem);
  color: var(--accent);
  letter-spacing: -0.02em;
}
.hw-stat-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text);
}
.hw-stat-note {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.5;
}

/* Zone cards */
.hw-zone-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.hw-zone-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 1.35rem 1.5rem;
  transition: background 200ms ease, border-color 200ms ease;
}
.hw-zone-card .mono-tag {
  color: var(--accent);
}
.hw-zone-card h4 {
  font-size: 1.15rem;
  margin: 0.5rem 0;
}
.hw-zone-card p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 0;
}

/* Worked example */
.hw-worked-grid {
  margin-bottom: 1.5rem;
}
.hw-worked-grid .slide-matrix-item dd {
  font-size: 1.1rem;
}
.hw-worked-sub {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--muted2);
  margin-top: 0.3rem;
}
.hw-fused-bar {
  background: var(--accent-soft);
  border-color: var(--accent);
}
.hw-fused-result {
  font-family: var(--font-mono);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--accent);
}
.hw-fused-sub {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--muted);
  margin-left: 0.3rem;
}

@media (max-width: 900px) {
  .hardware-intro-grid,
  .hw-ledger-grid,
  .hw-zone-grid {
    grid-template-columns: 1fr;
  }
  .hw-stat-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 540px) {
  .hw-stat-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Engineering Ledger & Architectural Table
   ========================================================================== */
.ledger-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-sheet);
  background: var(--ink);
  transition: background 200ms ease, border-color 200ms ease;
}

.ledger-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.92rem;
}

.ledger-table th, .ledger-table td {
  padding: 1.1rem 1.4rem;
  border-bottom: 1px solid var(--line);
}

.ledger-table th {
  background: var(--surface);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}

.ledger-table tr:last-child td {
  border-bottom: none;
}

.ledger-table td strong {
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--text);
  display: block;
}
.ledger-table td span.sub-detail {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--muted);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  border-top: 1px solid var(--line);
  padding-block: 4rem;
  background: var(--bg);
  transition: background 200ms ease, border-color 200ms ease;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.footer-brand h4 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}
.footer-brand p {
  color: var(--muted);
  font-size: 0.88rem;
  max-width: 32ch;
}

.footer-col h5 {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1rem;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  font-size: 0.88rem;
}
.footer-col ul a {
  color: var(--text);
  text-decoration: none;
}
.footer-col ul a:hover {
  color: var(--accent);
}

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */
@media (max-width: 960px) {
  .hero-title-grid,
  .simulator-layout,
  .signals-matrix-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .app-shot-grid {
    grid-template-columns: 1fr;
  }

  .shelf-life-matrix {
    grid-template-columns: 1fr;
  }
  .shelf-col + .shelf-col {
    border-left: none;
    border-top: 1px solid var(--line);
  }

  .freshness-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    padding-block: 1rem;
  }
  .site-nav {
    width: 100%;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  .signal-specs-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}


/* Split Hero */
.split-hero {
  display: flex;
  min-height: 100vh;
  width: 100vw;
  max-width: 100%;
  position: relative;
  background: var(--bg, #0E0E13);
  margin: 0;
  padding: 0;
  border: none;
  gap: 0;
  user-select: none;
  -webkit-user-select: none;
}

.split-left {
  flex: 1;
  background: var(--bg, #0E0E13);
  padding: 4rem 8% 3rem 8%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  z-index: 2;
  border: none;
  border-right: none;
  box-shadow: none;
}

.split-left-content {
  margin-top: auto;
  margin-bottom: auto;
  max-width: 580px;
  animation: hero-content-reveal 1250ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.decode-text,
.decode-eyebrow {
  display: inline;
  font-variant-numeric: tabular-nums;
  user-select: none;
  -webkit-user-select: none;
}

/* Subtle, Calm Editorial Hero Typography Reveal (Inspired by Mobbin / The Content Architecture) */
.hero-reveal-wrap {
  display: flex;
  flex-direction: column;
}

.hero-fade-line {
  opacity: 0;
  transform: translateY(12px);
  filter: blur(3px);
  animation: hero-fade-soft 850ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
  will-change: transform, opacity, filter;
}

.hero-delay-1 { animation-delay: 80ms; }
.hero-delay-2 { animation-delay: 220ms; }
.hero-delay-3 { animation-delay: 360ms; }
.hero-delay-4 { animation-delay: 500ms; }
.hero-delay-5 { animation-delay: 640ms; }

@keyframes hero-fade-soft {
  0% {
    opacity: 0;
    transform: translateY(12px);
    filter: blur(3px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

.split-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--muted);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.split-h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 1.5rem;
}

[data-theme="ledger"] .split-h1 {
  font-weight: 500;
  letter-spacing: -0.025em;
}

.split-p {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.65;
  color: var(--muted);
  max-width: 520px;
}

.split-btn-group {
  display: flex;
  gap: 8px;
}
.split-btn {
  background: var(--text, #222);
  color: var(--bg, #fff);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.88rem;
  letter-spacing: -0.01em;
  padding: 0.75rem 1.4rem;
  text-decoration: none;
  border-radius: var(--radius-pill);
  transition: opacity 150ms ease-out, transform 150ms ease-out;
}
.split-btn:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}

.split-footer-stats {
  display: flex;
  justify-content: flex-start;
  gap: 3rem;
  border-top: 1px solid var(--line);
  padding-top: 2rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted2);
}
.stat-col {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.split-right {
  flex: 1;
  background: var(--bg, #0E0E13);
  display: flex;
  align-items: center;
  justify-content: center;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  z-index: 10;
  border: none;
  border-left: none;
  box-shadow: none;
  user-select: none;
  -webkit-user-select: none;
}

/* ==========================================================================
   Concentric Artwork & Seamless Kinetic Engine
   ========================================================================== */
.concentric-container {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
  overflow: hidden;
  perspective: 1200px;
  user-select: none;
  -webkit-user-select: none;
}

.concentric-art {
  width: 120%;
  max-width: 920px;
  height: auto;
  aspect-ratio: 1 / 1;
  display: block;
  user-select: none;
  -webkit-user-select: none;
  transform: rotateX(calc(var(--tilt-y, 0) * 12deg)) rotateY(calc(var(--tilt-x, 0) * 12deg)) scale(calc(1 + var(--tilt-proximity, 0) * 0.04));
  transform-origin: center center;
  will-change: transform;
  transition: transform 120ms cubic-bezier(0.16, 1, 0.3, 1);
}

.concentric-art-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
  user-select: none;
  -webkit-user-select: none;
}

.concentric-text-layers,
.concentric-text-layers *,
.concentric-art-svg text,
.concentric-art-svg textPath,
.radar-geometry,
.radar-geometry * {
  pointer-events: none !important;
  user-select: none !important;
  -webkit-user-select: none !important;
  cursor: default !important;
}

/* Center Interactive Energy Donut Gauge (Matching App Pin) */
.hero-center-gauge {
  --hero-gauge-color: var(--accent, #FF7D55);
  cursor: pointer !important;
  pointer-events: all !important;
  outline: none;
  user-select: none;
  -webkit-user-select: none;
  transition: filter 180ms cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-center-gauge * {
  cursor: pointer !important;
  pointer-events: all !important;
}

.hero-center-gauge:hover {
  filter: brightness(1.3) drop-shadow(0 0 12px var(--hero-gauge-color, rgba(255, 125, 85, 0.45)));
}

.hero-center-gauge:active,
.hero-center-gauge.gauge-clicked {
  filter: brightness(1.6) drop-shadow(0 0 22px var(--hero-gauge-color, rgba(255, 125, 85, 0.85)));
}

.hero-gauge-arc {
  transition: stroke 260ms ease, stroke-dashoffset 220ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: stroke-dashoffset, stroke;
}

.hero-gauge-halo {
  transition: fill 260ms ease, opacity 260ms ease;
}

.concentric-art-svg .ring-track {
  fill: none;
  stroke: rgba(237, 236, 241, 0.08);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}
.concentric-art-svg .ring-track-accent {
  fill: none;
  stroke: var(--accent, #FF7D55);
  stroke-opacity: 0.22;
  stroke-width: 1;
  stroke-dasharray: 4 8;
  vector-effect: non-scaling-stroke;
}
.concentric-art-svg .ring-crosshair {
  stroke: rgba(237, 236, 241, 0.07);
  stroke-width: 1;
  stroke-dasharray: 2 6;
  vector-effect: non-scaling-stroke;
}

.concentric-art-svg .ring-text {
  font-family: var(--font-mono, "IBM Plex Mono", Menlo, monospace);
  text-transform: uppercase;
  font-weight: 500;
  transform-origin: 500px 500px;
  will-change: transform;
}

/* 12-Tier Kinetic Orbital Speed Harmonic Ladder */
.orbit-cw-vfast   { animation: ring-orbit-cw calc(38s / var(--orbit-speed-scale, 1)) linear infinite; }
.orbit-ccw-vfast  { animation: ring-orbit-ccw calc(46s / var(--orbit-speed-scale, 1)) linear infinite; }
.orbit-cw-fast    { animation: ring-orbit-cw calc(58s / var(--orbit-speed-scale, 1)) linear infinite; }
.orbit-ccw-fast   { animation: ring-orbit-ccw calc(72s / var(--orbit-speed-scale, 1)) linear infinite; }
.orbit-cw-mid     { animation: ring-orbit-cw calc(90s / var(--orbit-speed-scale, 1)) linear infinite; }
.orbit-ccw-mid    { animation: ring-orbit-ccw calc(110s / var(--orbit-speed-scale, 1)) linear infinite; }
.orbit-cw-slow    { animation: ring-orbit-cw calc(135s / var(--orbit-speed-scale, 1)) linear infinite; }
.orbit-ccw-slow   { animation: ring-orbit-ccw calc(160s / var(--orbit-speed-scale, 1)) linear infinite; }
.orbit-cw-vslow   { animation: ring-orbit-cw calc(190s / var(--orbit-speed-scale, 1)) linear infinite; }
.orbit-ccw-vslow  { animation: ring-orbit-ccw calc(225s / var(--orbit-speed-scale, 1)) linear infinite; }
.orbit-cw-slowest { animation: ring-orbit-cw calc(265s / var(--orbit-speed-scale, 1)) linear infinite; }
.orbit-ccw-slowest{ animation: ring-orbit-ccw calc(310s / var(--orbit-speed-scale, 1)) linear infinite; }

@keyframes ring-orbit-cw {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

@keyframes ring-orbit-ccw {
  from { transform: rotate(0deg); }
  to   { transform: rotate(-360deg); }
}

/* ==========================================================================
   Sticky Telemetry Dock: Countdown to March 1st + Follow-Scroll Energy Gauge
   ========================================================================== */
.sticky-telemetry-dock {
  position: fixed;
  right: clamp(1.25rem, 3vw, 2.5rem);
  bottom: clamp(1.5rem, 3vw, 2.5rem);
  z-index: 850;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
  user-select: none;
  -webkit-user-select: none;
  animation: sticky-dock-enter 600ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes sticky-dock-enter {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.92);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.sticky-countdown-badge {
  background: rgba(12, 12, 16, 0.92);
  border: 1px solid var(--line-strong);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius-pill);
  padding: 0.55rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  box-shadow: 0 10px 30px -8px rgba(0, 0, 0, 0.6);
  font-family: var(--font-mono);
}

[data-theme="ledger"] .sticky-countdown-badge {
  background: rgba(252, 251, 248, 0.94);
  box-shadow: 0 8px 24px -6px rgba(0, 0, 0, 0.12);
}

.countdown-tag {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--accent);
  text-transform: uppercase;
}

.countdown-digits {
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}

.sticky-reading-gauge {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 50%;
  box-shadow: 0 12px 36px -8px rgba(0, 0, 0, 0.65);
  transition: transform 180ms cubic-bezier(0.16, 1, 0.3, 1), filter 180ms ease;
  outline: none;
  background: #141313;
}

[data-theme="ledger"] .sticky-reading-gauge {
  box-shadow: 0 8px 24px -6px rgba(0, 0, 0, 0.15);
}

.sticky-reading-gauge:hover {
  transform: scale(1.1);
  filter: brightness(1.2);
}

.sticky-reading-gauge:active {
  transform: scale(0.94);
}

.sticky-gauge-svg {
  display: block;
  overflow: visible;
}

.sticky-gauge-arc {
  transition: stroke 260ms ease, stroke-dashoffset 80ms linear;
  will-change: stroke-dashoffset, stroke;
}

.sticky-gauge-halo {
  transition: fill 260ms ease, opacity 260ms ease;
}

@media (max-width: 900px) {
  .split-hero {
    flex-direction: column;
    min-height: auto;
  }
  .split-left {
    padding: 5rem 1.5rem 2.5rem;
  }
  .split-right {
    min-height: 480px;
    width: 100%;
    border-left: none;
    border-top: 1px solid rgba(237, 236, 241, 0.08);
  }
  .concentric-art {
    width: 108%;
    max-width: 520px;
  }
  .split-footer-stats {
    flex-wrap: wrap;
    gap: 1.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .orbit-cw-slow, .orbit-ccw-slow, .orbit-cw-mid,
  .orbit-ccw-mid, .orbit-cw-fast, .orbit-ccw-fast {
    animation: none !important;
  }
}
