/* ==========================================================================
   OUTBND Product Overview Stylesheet: Nocturnal Theme Engine
   ========================================================================== */

/* 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;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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;
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* 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;
}

.out-accent,
.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);
}

/* ==========================================================================
   Section 01: Social Proof Carousel & Evidence Ledger (Inspired by contentarchitecture.dev)
   ========================================================================== */
.social-proof-header {
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.proof-brand-banner {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: 1.5rem;
}

.proof-big-wordmark {
  font-family: var(--font-brand, 'Unbounded', sans-serif);
  font-size: clamp(3rem, 7.5vw, 5.8rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 0.95;
  text-transform: uppercase;
  color: var(--text);
  display: inline-block;
}

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

.proof-meta-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

/* Horizontal Evidence Carousel */
.proof-carousel-wrapper {
  position: relative;
  width: 100%;
  margin-inline: auto;
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
}

.proof-carousel-viewport {
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius-card);
  touch-action: pan-y;
  cursor: grab;
}

.proof-carousel-viewport.is-dragging,
.proof-carousel-wrapper.is-dragging {
  cursor: grabbing;
}

.proof-carousel-track {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  transition: transform 420ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
  width: 100%;
  touch-action: pan-y;
}

.proof-slide {
  flex: 0 0 100%;
  min-width: 100%;
  width: 100%;
  box-sizing: border-box;
  padding: 0.25rem;
}

.proof-slide-card {
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-card);
  padding: clamp(2.25rem, 5vw, 3.5rem);
  height: 340px;
  min-height: 340px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
  box-shadow: 0 20px 48px -12px rgba(0, 0, 0, 0.45);
  transition: background 200ms ease, border-color 200ms ease;
  position: relative;
  overflow: hidden;
}

@media (max-width: 720px) {
  .proof-slide-card {
    height: clamp(17rem, 72vw, 19.25rem);
    min-height: 0;
    padding: clamp(1.25rem, 6vw, 1.75rem);
    gap: 1rem;
  }

  .proof-slide-quote {
    font-size: clamp(1.15rem, 5vw, 1.35rem);
    line-height: 1.34;
  }
}

[data-theme="ledger"] .proof-slide-card {
  background: #f4f1e9;
  border-color: rgba(0, 0, 0, 0.1);
  box-shadow: 0 12px 32px -8px rgba(0, 0, 0, 0.08);
}

.proof-slide-quote {
  font-family: var(--font-body);
  font-size: clamp(1.35rem, 2.4vw, 1.95rem);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.025em;
  color: var(--text);
  margin: 0;
  padding: 0;
  border: none;
  max-width: 48ch;
  display: block;
}

.typewriter-cursor {
  display: inline-block;
  color: var(--accent);
  font-family: var(--font-mono);
  font-weight: 300;
  font-size: 1.1em;
  margin-left: 3px;
  animation: cursorBlink 1300ms cubic-bezier(0.4, 0, 0.2, 1) infinite;
  vertical-align: baseline;
}

@keyframes cursorBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.proof-slide-author {
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 900ms cubic-bezier(0.16, 1, 0.3, 1), transform 900ms cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.proof-slide.slide-done .proof-slide-author,
.proof-slide-author.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.proof-author-info {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.proof-author-name {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

.proof-author-role {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Monospace Bracket Pagination Controls (Matching contentarchitecture.dev) */
.proof-carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2.25rem;
  font-family: var(--font-mono);
}

.carousel-btn {
  background: transparent;
  border: none;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  padding: 0.6rem 0.9rem;
  cursor: pointer;
  border-radius: var(--radius-pill);
  transition: color 150ms ease, transform 150ms ease, background 150ms ease;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.carousel-btn:hover {
  color: var(--text);
  background: var(--surface2);
  transform: translateY(-1px);
}

.carousel-btn:active {
  transform: translateY(0);
}

.carousel-btn .symbol {
  color: var(--accent);
  font-weight: 700;
}

.carousel-counter {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--muted2);
  font-variant-numeric: tabular-nums;
}

/* Proof Conclusion Banner (Closing Statement after Quotes Carousel) */
.proof-conclusion-banner {
  margin-top: 2.75rem;
  padding: 1.5rem 1.75rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-card);
  box-shadow: 0 8px 24px -6px rgba(0, 0, 0, 0.35);
  animation: hero-fade-soft 600ms ease-out both;
}

[data-theme="ledger"] .proof-conclusion-banner {
  background: var(--paper);
  border-color: var(--line);
  border-left-color: var(--accent);
  box-shadow: 0 4px 16px -4px rgba(0, 0, 0, 0.08);
}

.proof-conclusion-text {
  font-family: var(--font-display, "Space Grotesk", sans-serif);
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  font-weight: 500;
  line-height: 1.5;
  color: var(--text);
  margin: 0;
}

/* ==========================================================================
   Current App Simulator
   ========================================================================== */
.outbnd-simulator-section {
  background: #09090c;
  border-top: 1px solid rgba(237, 236, 241, 0.08);
  border-bottom: 1px solid rgba(237, 236, 241, 0.08);
}

.simulator-section-header {
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

.ob-sim {
  --ob-bg: #0e0e13;
  --ob-ink: #16161c;
  --ob-ink-2: #1b1b22;
  --ob-surface: #212129;
  --ob-surface-2: #292932;
  --ob-line: rgba(237, 236, 241, 0.09);
  --ob-line-2: rgba(237, 236, 241, 0.16);
  --ob-text: #edecf1;
  --ob-muted: #9a96a6;
  --ob-muted-2: #605c6b;
  --ob-accent: #ff7d55;
  --ob-accent-ink: #15100c;
  --ob-route: #ffaa84;
  position: relative;
  isolation: isolate;
  scroll-margin-top: 0;
  height: clamp(760px, 78vw, 900px);
  min-height: 760px;
  overflow: hidden;
  border: 1px solid rgba(237, 236, 241, 0.16);
  border-radius: 24px;
  background: var(--ob-bg);
  color: var(--ob-text);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  box-shadow: 0 34px 90px -42px rgba(0, 0, 0, 0.9);
}

.ob-sim button {
  appearance: none;
  border: 0;
  font: inherit;
}

.ob-sim button:focus-visible {
  outline: 2px solid var(--ob-accent);
  outline-offset: 3px;
}

.ob-sim-map:focus-visible {
  outline: 2px solid var(--ob-accent);
  outline-offset: -4px;
}

.ob-sim-map {
  position: absolute;
  inset: 0;
  overflow: hidden;
  cursor: grab;
  touch-action: none;
  background: #141313;
}

.ob-sim-map.is-dragging {
  cursor: grabbing;
}

.ob-map-world {
  position: absolute;
  inset: 0;
  transform-origin: 50% 50%;
  will-change: transform;
}

.ob-map-art {
  width: 100%;
  height: 100%;
  display: block;
}

.ob-map-ground { fill: #141313; }
.ob-map-blocks { fill: #181718; stroke: #242223; stroke-width: 1; }
.ob-map-parks { fill: #142019; stroke: #263329; stroke-width: 1; }
.ob-map-roads { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.ob-map-roads-minor { stroke: #302d2e; stroke-width: 5; }
.ob-map-roads-major { stroke: #464143; stroke-width: 13; }
.ob-map-labels {
  fill: #8a8587;
  font-family: "Inter", sans-serif;
  font-size: 15px;
  letter-spacing: 0.02em;
}
.ob-map-labels .ob-map-district {
  fill: #716d70;
  font-size: 18px;
  font-style: italic;
  letter-spacing: 0.08em;
}

.ob-route-glow,
.ob-route-casing,
.ob-route-line,
.ob-route-traveler {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
  opacity: 0;
  transition: opacity 180ms ease-out;
}
.ob-route-glow { stroke: var(--ob-route); stroke-width: 21; filter: blur(6px); }
.ob-route-casing { stroke: rgba(14, 14, 19, 0.94); stroke-width: 15; }
.ob-route-line { stroke: var(--ob-route); stroke-width: 8; }
.ob-route-traveler {
  stroke: var(--ob-accent);
  stroke-width: 8;
  stroke-dasharray: 0.1 0.9;
  stroke-dashoffset: 0.1;
  animation: ob-route-travel 3s linear infinite;
  will-change: stroke-dashoffset, opacity;
}
.ob-sim.has-route .ob-route-glow { opacity: 0.24; }
.ob-sim.has-route .ob-route-casing,
.ob-sim.has-route .ob-route-line { opacity: 1; }
.ob-sim.is-route-animation-paused .ob-route-traveler { animation-play-state: paused; }

@keyframes ob-route-travel {
  0% { stroke-dashoffset: 0.1; opacity: 0; }
  6% { opacity: 1; }
  86% { stroke-dashoffset: -0.9; opacity: 1; }
  93%, 100% { stroke-dashoffset: -0.9; opacity: 0; }
}

.ob-marker-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.ob-venue-marker {
  --pin-color: var(--ob-accent);
  --pin-fill: 75%;
  position: absolute;
  width: 72px;
  min-width: 72px;
  height: 72px;
  padding: 0;
  translate: -50% -50%;
  border-radius: 50%;
  background: transparent;
  color: var(--ob-text);
  cursor: pointer;
  pointer-events: auto;
  transition: opacity 160ms ease-out, transform 160ms ease-out;
}

.ob-venue-marker:hover,
.ob-venue-marker.is-selected {
  transform: scale(1.08);
}

.ob-venue-marker::before {
  content: "";
  position: absolute;
  inset: -52px;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--pin-color) 24%, transparent) 0, transparent 68%);
  opacity: 0.78;
  pointer-events: none;
}

.ob-pin-disc {
  position: absolute;
  inset: 12px;
  display: grid;
  place-items: center;
  border: 2px solid #121116;
  border-radius: 50%;
  background: conic-gradient(var(--pin-color) var(--pin-fill), rgba(237, 236, 241, 0.12) 0);
  box-shadow: 0 7px 14px -7px rgba(0, 0, 0, 0.85);
}

.ob-pin-disc::after {
  content: "";
  position: absolute;
  inset: 7px;
  border-radius: 50%;
  background: #18171c;
}

.ob-venue-marker.is-selected .ob-pin-disc {
  outline: 2px solid var(--ob-text);
  outline-offset: 3px;
}

.ob-pin-label {
  position: absolute;
  top: 56px;
  left: 50%;
  width: max-content;
  max-width: 150px;
  translate: -50% 0;
  padding: 5px 8px;
  overflow: hidden;
  border: 1px solid var(--ob-line-2);
  border-radius: 8px;
  background: rgba(27, 27, 34, 0.96);
  color: var(--ob-text);
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  font-weight: 600;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ob-user-marker {
  position: absolute;
  z-index: 8;
  left: 48%;
  top: 63%;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  translate: -50% -50%;
  pointer-events: none;
  will-change: left, top;
}

.ob-user-marker svg {
  position: relative;
  z-index: 2;
  width: 25px;
  fill: var(--ob-text);
  stroke: var(--ob-bg);
  stroke-width: 2.5;
  filter: drop-shadow(0 3px 3px rgba(0, 0, 0, 0.82));
}

.ob-user-beam {
  position: absolute;
  z-index: 1;
  bottom: 50%;
  left: 50%;
  width: 74px;
  height: 118px;
  translate: -50% 0;
  clip-path: polygon(50% 100%, 0 0, 100% 0);
  background: linear-gradient(to bottom, transparent, rgba(237, 236, 241, 0.24));
}

.ob-sim-topbar {
  position: absolute;
  z-index: 20;
  top: 24px;
  left: 24px;
  right: 24px;
  min-height: 64px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 12px;
  padding: 9px 10px 9px 18px;
  border: 1px solid var(--ob-line-2);
  border-radius: 18px;
  background: rgba(27, 27, 34, 0.96);
  box-shadow: 0 10px 22px -14px rgba(0, 0, 0, 0.9);
}

.ob-area-lockup {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ob-text);
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
}
.ob-area-lockup span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ob-area-lockup svg { width: 21px; flex: 0 0 auto; fill: none; stroke: var(--ob-muted); stroke-width: 2; }

.ob-city-energy {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: conic-gradient(var(--ob-accent) 0 72%, rgba(237, 236, 241, 0.12) 72%);
}
.ob-city-energy i { width: 26px; height: 26px; border-radius: 50%; background: var(--ob-ink-2); }

.ob-icon-button {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ob-surface);
  color: var(--ob-text);
  cursor: pointer;
}
.ob-icon-button svg { width: 21px; fill: none; stroke: currentColor; stroke-width: 2; }

.ob-sim-readout {
  position: absolute;
  z-index: 16;
  top: 104px;
  left: 26px;
  display: flex;
  gap: 8px;
  color: var(--ob-muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.1em;
}
.ob-sim-readout span { padding: 5px 8px; border: 1px solid var(--ob-line); background: rgba(14, 14, 19, 0.8); }
.ob-sim-readout span:first-child { color: var(--ob-route); }

.ob-sim-route-disclosure {
  position: absolute;
  z-index: 46;
  top: 84px;
  right: 24px;
  display: none;
  padding: 7px 10px;
  border: 1px solid rgba(255, 125, 85, 0.34);
  border-radius: 999px;
  background: rgba(14, 14, 19, 0.9);
  color: var(--ob-accent);
  font-family: "IBM Plex Mono", monospace;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.ob-sim.has-route .ob-sim-route-disclosure { display: block; }

.ob-sheet {
  position: absolute;
  z-index: 30;
  left: 10px;
  right: 10px;
  bottom: 10px;
  height: 158px;
  overflow: hidden;
  border: 1px solid var(--ob-line-2);
  border-radius: 20px;
  background: rgba(27, 27, 34, 0.985);
  box-shadow: 0 -18px 44px -30px rgba(0, 0, 0, 0.95);
  transition: height 320ms cubic-bezier(0.16, 1, 0.3, 1), border-radius 200ms ease-out;
}

.ob-sim[data-panel="browse-expanded"] .ob-sheet { height: 470px; }
.ob-sim[data-panel="detail-half"] .ob-sheet { height: 420px; }
.ob-sim[data-panel="detail-full"] .ob-sheet { height: calc(100% - 20px); border-radius: 20px; }
.ob-sim[data-state="route-preview"] .ob-sheet {
  height: 0;
  bottom: -2px;
  border: 0;
  box-shadow: none;
}

.ob-sheet-handle {
  width: 100%;
  height: 31px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 8px;
  padding-top: 10px;
  background: transparent;
  cursor: ns-resize;
}
.ob-sheet-grip { width: 38px; height: 4px; margin-top: 3px; border-radius: 8px; background: rgba(237, 236, 241, 0.3); }
.ob-sheet-hint { color: var(--ob-muted); font-family: "IBM Plex Mono", monospace; font-size: 8px; font-weight: 600; letter-spacing: 0.12em; line-height: 10px; }
.ob-sim .ob-sheet-handle:focus-visible { outline: none; }
.ob-sheet-handle:focus-visible .ob-sheet-grip { background: var(--ob-accent); box-shadow: 0 0 0 3px rgba(255, 125, 85, 0.2); }
.ob-sheet-handle:hover .ob-sheet-grip { background-color: var(--ob-accent); }
.ob-sheet-handle:hover .ob-sheet-hint { color: var(--ob-text); }

.ob-browse-panel,
.ob-detail-panel {
  height: calc(100% - 31px);
  padding: 0 18px 18px;
}

.ob-browse-panel { overflow: hidden; }

.ob-demo-line,
.ob-demo-pill {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--ob-muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.04em;
}
.ob-demo-line::before,
.ob-demo-pill::before { content: ""; width: 5px; height: 5px; flex: 0 0 auto; border-radius: 50%; background: var(--ob-text); }
.ob-demo-line strong,
.ob-demo-pill strong { color: var(--ob-text); font-size: inherit; letter-spacing: 0.09em; }

.ob-browse-heading {
  display: none;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin: 14px 0 8px;
}
.ob-browse-heading h3 { margin: 0; color: var(--ob-text); font-family: "Unbounded", sans-serif; font-size: 22px; letter-spacing: -0.035em; }
.ob-browse-heading p { margin: 3px 0 0; color: var(--ob-muted); font-family: "IBM Plex Mono", monospace; font-size: 10px; }
.ob-browse-heading > span { color: var(--ob-accent); font-family: "IBM Plex Mono", monospace; font-size: 10px; font-weight: 600; letter-spacing: 0.08em; }
.ob-sim[data-panel="browse-expanded"] .ob-browse-heading { display: flex; }

.ob-nearby-list {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(230px, 1fr);
  gap: 0;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
}
.ob-nearby-list::-webkit-scrollbar { display: none; }

.ob-nearby-row {
  min-width: 0;
  min-height: 72px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 8px 14px 8px 0;
  border-right: 1px solid var(--ob-line);
  background: transparent;
  color: var(--ob-text);
  text-align: left;
  cursor: pointer;
}
.ob-nearby-row + .ob-nearby-row { padding-left: 14px; }
.ob-nearby-row:hover { background: rgba(237, 236, 241, 0.035); }
.ob-nearby-energy { display: flex; align-items: flex-end; gap: 3px; height: 20px; }
.ob-nearby-energy i { width: 5px; border-radius: 2px 2px 0 0; background: var(--row-color); }
.ob-nearby-energy i:nth-child(1) { height: 8px; }
.ob-nearby-energy i:nth-child(2) { height: 12px; }
.ob-nearby-energy i:nth-child(3) { height: 16px; }
.ob-nearby-energy i:nth-child(4) { height: 20px; }
.ob-nearby-energy[data-bars="1"] i:nth-child(n+2),
.ob-nearby-energy[data-bars="2"] i:nth-child(n+3),
.ob-nearby-energy[data-bars="3"] i:nth-child(n+4) { background: var(--ob-muted-2); opacity: 0.45; }
.ob-nearby-copy { min-width: 0; }
.ob-nearby-copy strong { display: block; overflow: hidden; color: var(--ob-text); font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.ob-nearby-copy span { display: block; margin-top: 2px; overflow: hidden; color: var(--ob-muted); font-family: "IBM Plex Mono", monospace; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.ob-nearby-cover { color: var(--ob-muted); font-family: "IBM Plex Mono", monospace; font-size: 11px; }
.ob-nearby-row:nth-child(n+4) { display: none; }
.ob-sim[data-panel="browse-expanded"] .ob-nearby-list { display: block; height: 330px; overflow-y: auto; }
.ob-sim[data-panel="browse-expanded"] .ob-nearby-row { width: 100%; border-right: 0; border-bottom: 1px solid var(--ob-line); padding-left: 0; }
.ob-sim[data-panel="browse-expanded"] .ob-nearby-row:nth-child(n+4) { display: grid; }

.ob-detail-panel { position: relative; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.ob-detail-heading { display: grid; grid-template-columns: minmax(0, 1fr) auto 44px; align-items: center; gap: 12px; min-height: 58px; padding-bottom: 10px; border-bottom: 1px solid var(--ob-line); }
.ob-detail-heading h3 { margin: 0; overflow: hidden; color: var(--ob-text); font-family: "Inter", sans-serif; font-size: 24px; font-weight: 700; letter-spacing: -0.03em; text-overflow: ellipsis; white-space: nowrap; }
.ob-detail-heading p { margin: 3px 0 0; color: var(--ob-muted); font-size: 12px; }
.ob-genre-tag { max-width: 160px; padding: 7px 11px; overflow: hidden; border: 1px solid rgba(255, 125, 85, 0.55); border-radius: 999px; background: rgba(255, 125, 85, 0.15); color: var(--ob-accent); font-size: 13px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.ob-close-detail { width: 44px; height: 44px; display: grid; grid-column: 3; place-items: center; justify-self: end; margin-right: -8px; border-radius: 50%; background: var(--ob-surface); color: var(--ob-text); cursor: pointer; }
.ob-close-detail svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 2; }

.ob-venue-photo { position: relative; height: 180px; margin: 12px 0 0; overflow: hidden; border: 1px solid var(--ob-line); border-radius: 14px; background: var(--ob-surface); }
.ob-venue-photo img { width: 100%; height: 100%; display: block; object-fit: cover; }
.ob-venue-photo figcaption { position: absolute; right: 8px; bottom: 8px; padding: 5px 7px; border-radius: 6px; background: rgba(0, 0, 0, 0.68); color: rgba(255, 255, 255, 0.92); font-family: "IBM Plex Mono", monospace; font-size: 9px; font-weight: 600; letter-spacing: 0.08em; }

.ob-metrics { display: grid; grid-template-columns: 1.45fr 0.7fr 0.85fr; margin: 12px 0 0; padding-bottom: 12px; border-bottom: 1px solid var(--ob-line); }
.ob-metrics > div { min-width: 0; padding: 0 14px; }
.ob-metrics > div:first-child { padding-left: 0; }
.ob-metrics > div:last-child { padding-right: 0; text-align: right; }
.ob-metrics > div + div { border-left: 1px solid var(--ob-line); text-align: center; }
.ob-metrics dt { margin-top: 5px; color: var(--ob-muted); font-family: "IBM Plex Mono", monospace; font-size: 10px; font-weight: 600; letter-spacing: 0.1em; }
.ob-metrics dd { margin: 0; overflow: hidden; color: var(--ob-text); font-family: "IBM Plex Mono", monospace; font-size: clamp(20px, 3vw, 30px); font-weight: 600; line-height: 1.1; text-overflow: ellipsis; white-space: nowrap; }
.ob-metrics > div:first-child dd { color: var(--metric-color, var(--ob-accent)); }

.ob-facts { margin: 10px 0 0; }
.ob-facts > div { display: flex; justify-content: space-between; gap: 16px; min-height: 44px; align-items: center; border-bottom: 1px solid var(--ob-line); }
.ob-facts dt { color: var(--ob-muted); font-size: 13px; font-weight: 600; }
.ob-facts dd { margin: 0; color: var(--ob-text); font-size: 13px; font-weight: 600; text-align: right; }

.ob-preview { display: grid; grid-template-columns: 48px minmax(0, 1fr) 48px; align-items: center; gap: 10px; margin-top: 13px; padding: 10px; border: 1px solid var(--ob-line); border-radius: 14px; background: var(--ob-surface); }
.ob-preview-art { width: 48px; height: 48px; border-radius: 9px; background: var(--ob-surface-2) center / cover no-repeat; }
.ob-preview-copy { min-width: 0; }
.ob-preview-copy span { display: block; color: var(--ob-muted); font-family: "IBM Plex Mono", monospace; font-size: 9px; font-weight: 600; letter-spacing: 0.09em; }
.ob-preview-copy strong,
.ob-preview-copy small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ob-preview-copy strong { margin-top: 2px; color: var(--ob-text); font-size: 14px; }
.ob-preview-copy small { color: var(--ob-muted); font-family: "IBM Plex Mono", monospace; font-size: 10px; }
.ob-preview button { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--ob-surface-2); color: var(--ob-text); cursor: pointer; }
.ob-preview button:disabled { cursor: wait; opacity: 0.62; }
.ob-preview button svg { grid-area: 1 / 1; width: 18px; fill: currentColor; }
.ob-preview-stop,
.ob-preview-loader { display: none; }
.ob-preview.is-playing button { background: var(--ob-accent); color: var(--ob-accent-ink); }
.ob-preview.is-playing .ob-preview-play { display: none; }
.ob-preview.is-playing .ob-preview-stop { display: block; }
.ob-preview.is-loading .ob-preview-play { display: none; }
.ob-preview.is-loading .ob-preview-loader { display: block; width: 18px; height: 18px; border: 2px solid var(--ob-line-2); border-top-color: var(--ob-accent); border-radius: 50%; animation: ob-spin 700ms linear infinite; }
.ob-preview.is-error { border-color: rgba(255, 125, 85, 0.46); }
@keyframes ob-spin { to { transform: rotate(360deg); } }

.ob-freshness-copy { margin: 12px 0 0; color: var(--ob-accent); font-family: "IBM Plex Mono", monospace; font-size: 10px; }
.ob-detail-spacer { height: 118px; }

.ob-sheet-actions { position: absolute; z-index: 5; right: 18px; bottom: 18px; left: 18px; padding-top: 38px; background: linear-gradient(to bottom, transparent, var(--ob-ink-2) 34%); }
.ob-demo-pill { min-height: 24px; padding: 0 10px; border: 1px solid var(--ob-line-2); border-radius: 11px; background: var(--ob-surface); }
.ob-move-button { width: 100%; min-height: 52px; display: flex; align-items: center; justify-content: center; gap: 9px; margin-top: 8px; border-radius: 999px; background: var(--ob-accent); color: var(--ob-accent-ink); font-size: 16px; font-weight: 700; cursor: pointer; }
.ob-move-button svg { width: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.ob-sim[data-panel="detail-half"] .ob-facts,
.ob-sim[data-panel="detail-half"] .ob-preview,
.ob-sim[data-panel="detail-half"] .ob-freshness-copy { display: none; }
.ob-sim[data-panel="detail-half"] .ob-venue-photo { height: 170px; }
.ob-sim[data-panel="detail-half"] .ob-sheet-actions { display: block !important; }

.ob-route-preview { position: absolute; z-index: 24; left: 24px; bottom: 24px; display: grid; grid-template-columns: auto 44px; align-items: center; overflow: hidden; border: 1px solid var(--ob-line-2); border-radius: 999px; background: rgba(33, 33, 41, 0.97); }
.ob-route-preview[hidden] { display: none; }
.ob-route-preview button { min-height: 44px; display: flex; align-items: center; gap: 8px; padding: 0 14px; background: transparent; color: var(--ob-text); cursor: pointer; }
.ob-route-preview button + button { justify-content: center; padding: 0; border-left: 1px solid var(--ob-line-2); color: var(--ob-muted); }
.ob-route-preview svg { width: 18px; fill: none; stroke: var(--ob-accent); stroke-width: 1.8; }
.ob-route-preview button + button svg { width: 14px; stroke: currentColor; }
.ob-route-preview span { max-width: 220px; overflow: hidden; font-family: "IBM Plex Mono", monospace; font-size: 10px; font-weight: 600; letter-spacing: 0.06em; text-overflow: ellipsis; white-space: nowrap; }

@media (max-width: 760px) {
  .outbnd-simulator-section .shell { padding-inline: 0; }
  .simulator-section-header { padding-inline: var(--gutter); }
  .ob-sim { min-height: 0; height: clamp(640px, calc(100svh - 5rem), 820px); border-inline: 0; border-radius: 0; scroll-margin-top: 3rem; }
  .ob-sim-topbar { top: 14px; left: 12px; right: 12px; min-height: 58px; padding-left: 14px; border-radius: 15px; }
  .ob-area-lockup { font-size: 10px; letter-spacing: 0.08em; }
  .ob-city-energy { width: 38px; height: 38px; }
  .ob-city-energy i { width: 23px; height: 23px; }
  .ob-sim-readout { top: 84px; left: 12px; }
  .ob-sim-readout span:nth-child(n+2) { display: none; }
  .ob-sim-route-disclosure { top: 84px; right: 12px; max-width: calc(100% - 24px); }
  .ob-sheet { right: 0; bottom: 0; left: 0; border-right: 0; border-bottom: 0; border-left: 0; border-radius: 20px 20px 0 0; }
  .ob-sim[data-panel="detail-full"] .ob-sheet { height: 100%; border-radius: 0; }
  .ob-sim[data-panel="browse-expanded"] .ob-sheet { height: 455px; }
  .ob-sim[data-panel="detail-half"] .ob-sheet { height: 405px; }
  .ob-nearby-list { grid-auto-columns: minmax(218px, 78vw); }
  .ob-detail-heading { grid-template-columns: minmax(0, 1fr) auto 44px; }
  .ob-detail-heading h3 { font-size: 20px; }
  .ob-genre-tag { max-width: 105px; font-size: 11px; }
  .ob-venue-photo { height: 165px; }
  .ob-metrics dd { font-size: 21px; }
  .ob-route-preview { left: 12px; bottom: 12px; }
  .ob-route-preview span { max-width: 160px; }
}

@media (max-width: 420px) {
  .ob-sim { min-height: 0; height: clamp(620px, calc(100svh - 4rem), 780px); }
  .ob-sim-topbar { grid-template-columns: minmax(0, 1fr) auto; }
  .ob-city-energy { display: none; }
  .ob-browse-panel,
  .ob-detail-panel { padding-inline: 14px; }
  .ob-nearby-list { grid-auto-columns: 76vw; }
  .ob-detail-heading { gap: 7px; }
  .ob-genre-tag { display: none; }
  .ob-venue-photo { height: 145px; }
  .ob-metrics { grid-template-columns: 1.3fr 0.75fr 0.85fr; }
  .ob-metrics > div { padding-inline: 8px; }
  .ob-metrics dd { font-size: 18px; }
  .ob-sheet-actions { right: 14px; left: 14px; }
  .ob-demo-pill span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}

@media (prefers-reduced-motion: reduce) {
  .ob-sheet,
  .ob-route-glow,
  .ob-route-casing,
  .ob-route-line,
  .ob-venue-marker { transition-duration: 0.2s; }
  .ob-route-traveler { display: none; animation: none; }
  .ob-preview-loader { animation: none; border-color: var(--ob-accent); }
}

/* ==========================================================================
   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;
  align-items: start;
}

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

.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;
  position: relative;
}

.freshness-slider-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.freshness-label-group {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.freshness-label {
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text);
  margin: 0;
}

.freshness-play-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.85rem;
  background: #1e1d26;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  color: #EDECF1;
  font-family: var(--font-mono, "IBM Plex Mono", monospace);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  cursor: pointer;
  outline: none;
  transition: all 160ms ease;
  user-select: none;
  -webkit-user-select: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
}

.freshness-play-btn:hover {
  border-color: var(--decay-color, var(--accent, #FF7D55));
  color: #FFFFFF;
  background: #2b2938;
  box-shadow: 0 0 12px rgba(255, 125, 85, 0.3);
}

.freshness-play-btn.is-playing {
  border-color: var(--decay-color, var(--accent, #FF7D55));
  background: rgba(255, 125, 85, 0.2);
  color: #FFFFFF;
  box-shadow: 0 0 14px rgba(255, 125, 85, 0.45);
}

[data-theme="ledger"] .freshness-play-btn {
  background: #eae6dc;
  border-color: rgba(0, 0, 0, 0.15);
  color: var(--ink);
}

.freshness-play-icon {
  font-size: 0.72rem;
  line-height: 1;
}

.freshness-slider-header .slider-val {
  font-family: var(--font-mono);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--decay-color, var(--accent));
  transition: color 120ms ease;
}

/* Decay Gradient Track across full spectrum */
input[type="range"].freshness-range {
  width: 100%;
  height: 10px;
  background: linear-gradient(
    to right,
    #FF4D26 0%,
    #FF7D55 12.5%,
    #FFAA84 25%,
    #C4855A 50%,
    #7C6A5F 75%,
    #44424B 100%
  ) !important;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  margin: 1.25rem 0 0.5rem 0;
  display: block;
}

[data-theme="ledger"] input[type="range"].freshness-range {
  border: 1px solid rgba(0, 0, 0, 0.14);
}

input[type="range"].freshness-range::-webkit-slider-runnable-track {
  -webkit-appearance: none;
  width: 100%;
  height: 10px;
  background: transparent !important;
  border-radius: 999px;
  border: none;
}

input[type="range"].freshness-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--decay-color, var(--accent, #FF7D55));
  border: 3px solid #14131A;
  cursor: pointer;
  box-shadow: 0 0 12px var(--decay-color, rgba(255, 125, 85, 0.55));
  transition: transform 120ms ease, box-shadow 120ms ease, background-color 120ms ease;
  margin-top: -7px;
}

[data-theme="ledger"] input[type="range"].freshness-range::-webkit-slider-thumb {
  border: 3px solid #fcfbf8;
}

input[type="range"].freshness-range.handle-tick::-webkit-slider-thumb {
  animation: handleBump 220ms cubic-bezier(0.2, 0.9, 0.3, 1) forwards;
}

input[type="range"].freshness-range::-webkit-slider-thumb:hover {
  transform: scale(1.2);
  box-shadow: 0 0 16px var(--decay-color, rgba(255, 125, 85, 0.75));
}

input[type="range"].freshness-range::-moz-range-track {
  width: 100%;
  height: 10px;
  background: linear-gradient(
    to right,
    #FF4D26 0%,
    #FF7D55 12.5%,
    #FFAA84 25%,
    #C4855A 50%,
    #7C6A5F 75%,
    #44424B 100%
  ) !important;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

input[type="range"].freshness-range::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--decay-color, var(--accent, #FF7D55));
  border: 3px solid #14131A;
  cursor: pointer;
  box-shadow: 0 0 12px var(--decay-color, rgba(255, 125, 85, 0.55));
  transition: transform 120ms ease, background-color 120ms ease;
}

@keyframes handleBump {
  0% { transform: scale(1); }
  50% { transform: scale(1.35); }
  100% { transform: scale(1); }
}

/* Tick marks indicating tier boundaries */
.freshness-track-ticks {
  position: relative;
  width: 100%;
  height: 2.25rem;
  margin-top: 0.5rem;
  box-sizing: border-box;
}

.tick-mark {
  position: absolute;
  top: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.18rem;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--muted);
  letter-spacing: 0.03em;
  white-space: nowrap;
  user-select: none;
}

.tick-mark:first-child {
  transform: translateX(0);
}

.tick-mark:last-child {
  transform: translateX(-100%);
}

.tick-mark.tick-tier {
  color: var(--text-dim, #B5B2C2);
  font-weight: 600;
}

.tick-state {
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.tick-state-live { color: #FF7D55; }
.tick-state-recent { color: #C4855A; }
.tick-state-stale { color: #8E8B96; }

@media (max-width: 520px) {
  .freshness-demo-box { padding-inline: 1rem; }
  .freshness-slider-header { align-items: flex-start; }
  .freshness-label-group { align-items: flex-start; }
  .freshness-slider-header .slider-val { flex: 0 0 100%; text-align: right; }
  .tick-mark { font-size: 0.62rem; }
  .tick-state { font-size: 0.52rem; }
}

/* Freshness Stage Card with Smooth Interpolated Decay */
.freshness-card {
  background: var(--decay-bg, var(--surface));
  border: 1px solid var(--decay-border, 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;
  opacity: var(--decay-opacity, 1);
  filter: saturate(var(--decay-saturation, 100%));
  box-shadow: 0 18px 48px -30px var(--decay-shadow, transparent);
  transition: border-color 220ms ease, opacity 220ms ease, filter 220ms ease, background-color 220ms ease, box-shadow 220ms ease;
}

.freshness-card.stage-stale {
  border-style: dashed;
}

.freshness-card.tier-transition {
  animation: freshnessTierChange 520ms cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes freshnessTierChange {
  0% {
    transform: scale(0.985);
    filter: brightness(0.78) saturate(var(--decay-saturation, 100%));
  }
  38% {
    transform: scale(1.015);
    filter: brightness(1.35) saturate(var(--decay-saturation, 100%));
    box-shadow: 0 20px 52px -16px var(--decay-shadow, transparent);
  }
  100% {
    transform: scale(1);
    filter: brightness(1) saturate(var(--decay-saturation, 100%));
  }
}

.card-preview-inner {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.card-preview-inner .pill-status {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  background: var(--decay-pill-bg, rgba(255, 125, 85, 0.15));
  color: var(--decay-color, var(--accent));
  border: 1px solid var(--decay-color, var(--accent));
  transition: all 120ms ease;
}

/* Radar Pulse Indicator */
.radar-pulse-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 14px;
  height: 14px;
  margin-right: 7px;
  vertical-align: middle;
  flex-shrink: 0;
}

.radar-pulse-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  z-index: 2;
  box-shadow: 0 0 6px currentColor;
}

.radar-pulse-wave {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  box-sizing: border-box;
  opacity: 0.85;
}

/* Fast bright pulse at Tier 1 (live) */
.freshness-card.stage-live .radar-pulse-wave {
  animation: radarSweep 1.0s cubic-bezier(0.1, 0.7, 0.3, 1) infinite;
}

/* Slower dimmer pulse at Tier 2 (recent) */
.freshness-card.stage-recent .radar-pulse-wave {
  animation: radarSweep 2.4s cubic-bezier(0.2, 0.6, 0.4, 1) infinite;
  opacity: 0.5;
}

/* Static frozen icon at Tier 3 (stale) */
.freshness-card.stage-stale .radar-pulse-wave {
  animation: none;
  opacity: 0.25;
  border-style: dashed;
}

@keyframes radarSweep {
  0% {
    transform: scale(0.6);
    opacity: 0.95;
  }
  100% {
    transform: scale(2.4);
    opacity: 0;
  }
}

.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-index {
  color: var(--accent);
}
.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 Architecture Ledger (Responsive Mobile & Desktop Grid)
   ========================================================================== */
.arch-ledger-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}

.arch-mobile-note { display: none; }

@media (max-width: 960px) {
  .arch-ledger-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}

@media (max-width: 640px) {
  .arch-ledger-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 1.5rem;
  }
}

.arch-card {
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-card);
  padding: 1.5rem;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  align-content: start;
  gap: 0.85rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease;
  position: relative;
  overflow: hidden;
}

.arch-card-summary {
  min-width: 0;
  display: grid;
  grid-template-rows: 3.25rem 2rem;
  align-content: start;
  gap: 0.85rem;
  list-style: none;
  cursor: default;
}

.arch-card-summary::-webkit-details-marker { display: none; }

.arch-card-content {
  min-width: 0;
  display: grid;
  grid-template-rows: 5.5rem minmax(0, 1fr);
  align-content: start;
  gap: 0.85rem;
}

.arch-card-toggle { display: none; }

.arch-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

[data-theme="ledger"] .arch-card {
  background: #f4f1e9;
  border-color: rgba(0, 0, 0, 0.1);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

[data-theme="ledger"] .arch-card:hover {
  border-color: var(--oxblood, #6e2a28);
}

.arch-card-header {
  display: grid;
  grid-template-rows: repeat(2, minmax(0, auto));
  align-content: start;
  justify-items: start;
  gap: 0.35rem;
}

.arch-badge {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--accent);
  text-transform: uppercase;
  line-height: 1.35;
}

[data-theme="ledger"] .arch-badge {
  color: var(--oxblood, #6e2a28);
}

.arch-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--muted);
  letter-spacing: 0.04em;
  line-height: 1.35;
}

.arch-card-title {
  font-family: var(--font-body);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  margin: 0;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.arch-card-spec {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.6rem 0.75rem;
  background: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  justify-content: center;
}

[data-theme="ledger"] .arch-card-spec {
  background: #eae6dc;
  border-color: rgba(0, 0, 0, 0.08);
}

.spec-label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  font-weight: 600;
}

.spec-code {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--route-peach, #FFAA84);
  font-weight: 500;
  word-break: break-word;
}

[data-theme="ledger"] .spec-code {
  color: #8c3b2e;
}

.arch-card-rationale {
  font-family: var(--font-body);
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--text-dim, #B5B2C2);
  margin: 0;
}

@media (max-width: 960px) and (min-width: 641px) {
  .arch-card-summary { grid-template-rows: 4rem 3.25rem; }
}

@media (max-width: 640px) {
  .arch-mobile-note {
    display: block;
    margin: 1.5rem 0 0;
    color: var(--muted);
    font-family: var(--font-mono);
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .arch-ledger-grid {
    gap: 0;
    margin-top: 0.75rem;
    overflow: hidden;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-card);
  }

  .arch-card {
    display: block;
    padding: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
  }

  .arch-card + .arch-card { border-top: 1px solid var(--line-strong); }

  .arch-card:hover { transform: none; }

  .arch-card[open] { background: color-mix(in srgb, var(--surface) 82%, var(--accent) 18%); }

  .arch-card-summary {
    min-height: 6.25rem;
    grid-template-columns: minmax(0, 1fr) 2.25rem;
    grid-template-rows: auto auto;
    gap: 0.55rem 1rem;
    padding: 1rem;
    cursor: pointer;
  }

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

  .arch-card-header { grid-column: 1; grid-row: 1; grid-template-rows: auto; }
  .arch-card-title { grid-column: 1; grid-row: 2; }

  .arch-card-toggle {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: center;
    justify-self: end;
    width: 2.25rem;
    height: 2.25rem;
    display: block;
    position: relative;
    border: 1px solid var(--line-strong);
    border-radius: 50%;
  }

  .arch-card-toggle::before,
  .arch-card-toggle::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0.75rem;
    height: 1px;
    background: var(--accent);
    transform: translate(-50%, -50%);
    transition: transform 180ms cubic-bezier(0.16, 1, 0.3, 1);
  }

  .arch-card-toggle::after { transform: translate(-50%, -50%) rotate(90deg); }
  .arch-card[open] .arch-card-toggle::after { transform: translate(-50%, -50%) rotate(0); }

  .arch-card-content {
    grid-template-rows: auto;
    gap: 0.85rem;
    padding: 0 1rem 1rem;
  }

  .arch-card-spec { min-height: 4.25rem; border-radius: 12px; }
}

[data-theme="ledger"] .arch-card-rationale {
  color: var(--ink2);
}

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

.countdown-dock-slot {
  min-height: 9.25rem;
  margin-bottom: 2.75rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
}

.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,
  .signals-matrix-layout,
  .footer-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 {
    min-height: 3.75rem;
    padding-block: 0.75rem;
  }
  .site-nav {
    display: none;
  }
  .signal-specs-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .freshness-card.tier-transition {
    animation: none;
  }

  .proof-slide-author {
    transition: none;
  }
}

/* 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;
}

.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);
  }
}

/* Scroll arrivals extend the hero's soft Mobbin-inspired load language. */
@media (prefers-reduced-motion: no-preference) {
  .outbnd-motion-ready .scroll-reveal {
    opacity: 0;
    transform: translateY(18px);
    filter: blur(7px);
    clip-path: inset(0 0 12% 0);
  }

  .outbnd-motion-ready .scroll-reveal[data-reveal-type="surface"] {
    transform: translateY(24px) scale(0.988);
    clip-path: inset(0 0 8% 0 round 18px);
  }

  .outbnd-motion-ready .scroll-reveal.is-revealed {
    animation: outbnd-text-arrival 780ms cubic-bezier(0.16, 1, 0.3, 1) both;
    animation-delay: var(--reveal-delay, 0ms);
  }

  .outbnd-motion-ready .scroll-reveal.is-revealed[data-reveal-type="surface"] {
    animation-name: outbnd-surface-arrival;
    animation-duration: 860ms;
  }
}

@keyframes outbnd-text-arrival {
  from {
    opacity: 0;
    transform: translateY(18px);
    filter: blur(7px);
    clip-path: inset(0 0 12% 0);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
    clip-path: inset(0 0 0 0);
  }
}

@keyframes outbnd-surface-arrival {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.988);
    filter: blur(7px);
    clip-path: inset(0 0 8% 0 round 18px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
    clip-path: inset(0 0 0 0 round 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;
}

.hero-headline-accent,
.hero-copy-accent {
  color: var(--accent);
}

.hero-copy-accent { font-weight: 700; }

[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;
}

/* ==========================================================================
   OUTBND Product Overview Stylesheet: Nocturnal Theme 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;
}

.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-center-gauge:focus-visible {
  outline: 3px solid var(--accent, #FF7D55);
  outline-offset: 8px;
}

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

.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;
}

/* Blinking Kinetic Glyph Animation across Concentric Rings */
.concentric-art-svg tspan[class*="glyph-"] {
  display: inline;
}

.concentric-art-svg tspan.glyph-blink-a {
  animation: glyphPulseA var(--glyph-duration, 2.2s) ease-in-out infinite;
  animation-delay: var(--glyph-delay, 0s);
}

.concentric-art-svg tspan.glyph-blink-b {
  animation: glyphPulseB var(--glyph-duration, 2.8s) ease-in-out infinite;
  animation-delay: var(--glyph-delay, 0.4s);
}

.concentric-art-svg tspan.glyph-blink-c {
  animation: glyphPulseC var(--glyph-duration, 1.8s) cubic-bezier(0.4, 0, 0.2, 1) infinite;
  animation-delay: var(--glyph-delay, 0.8s);
}

.concentric-art-svg tspan.glyph-blink-d {
  animation: glyphPulseD var(--glyph-duration, 3.2s) cubic-bezier(0.2, 0.8, 0.4, 1) infinite;
  animation-delay: var(--glyph-delay, 1.2s);
}

.concentric-art-svg tspan.glyph-strobe-fast {
  animation: glyphStrobeFast var(--glyph-duration, 1.4s) steps(2, start) infinite;
  animation-delay: var(--glyph-delay, 0.2s);
}

.concentric-art-svg tspan.glyph-flicker {
  animation: glyphFlickerTwinkle var(--glyph-duration, 2.0s) ease-in-out infinite;
  animation-delay: var(--glyph-delay, 0.6s);
}

.concentric-art-svg.rings-paused tspan.glyph-flicker {
  animation-play-state: paused;
}

@keyframes glyphPulseA {
  0%, 100% {
    fill-opacity: 0.85;
    opacity: 0.85;
  }
  20% {
    fill-opacity: 0.15;
    opacity: 0.15;
  }
  40% {
    fill: #FFFFFF !important;
    fill-opacity: 1 !important;
    opacity: 1 !important;
  }
  60% {
    fill-opacity: 0.3;
    opacity: 0.3;
  }
}

@keyframes glyphPulseB {
  0%, 100% {
    fill-opacity: 0.9;
    opacity: 0.9;
  }
  30% {
    fill: #FFFFFF !important;
    fill-opacity: 1 !important;
    opacity: 1 !important;
  }
  50% {
    fill-opacity: 0.1;
    opacity: 0.1;
  }
  75% {
    fill: var(--route-peach, #FFAA84) !important;
    fill-opacity: 1 !important;
    opacity: 1 !important;
  }
}

@keyframes glyphPulseC {
  0%, 100% {
    fill-opacity: inherit;
    opacity: inherit;
  }
  15% {
    fill-opacity: 0.1;
    opacity: 0.1;
  }
  25% {
    fill: #FFFFFF !important;
    fill-opacity: 1 !important;
    opacity: 1 !important;
  }
  35% {
    fill-opacity: 0.2;
    opacity: 0.2;
  }
  45% {
    fill: var(--accent, #FF7D55) !important;
    fill-opacity: 1 !important;
    opacity: 1 !important;
  }
  60% {
    fill-opacity: inherit;
    opacity: inherit;
  }
}

@keyframes glyphPulseD {
  0%, 100% {
    fill-opacity: 0.85;
  }
  45% {
    fill-opacity: 0.15;
  }
  55% {
    fill: #FFFFFF !important;
    fill-opacity: 1 !important;
  }
  70% {
    fill-opacity: 0.35;
  }
}

@keyframes glyphStrobeFast {
  0%, 100% {
    fill-opacity: inherit;
  }
  40% {
    fill: #FFFFFF !important;
    fill-opacity: 1 !important;
  }
  50% {
    fill-opacity: 0.05;
  }
  60% {
    fill: #FFFFFF !important;
    fill-opacity: 1 !important;
  }
  70% {
    fill-opacity: 0.2;
  }
}

@keyframes glyphFlickerTwinkle {
  0%, 100% {
    fill-opacity: inherit;
  }
  10% {
    fill-opacity: 0.2;
  }
  15% {
    fill: #FFFFFF !important;
    fill-opacity: 1 !important;
  }
  20% {
    fill-opacity: 0.1;
  }
  25% {
    fill: #FFFFFF !important;
    fill-opacity: 1 !important;
  }
  30% {
    fill-opacity: 0.3;
  }
  60% {
    fill: var(--route-peach, #FFAA84) !important;
    fill-opacity: 1 !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .concentric-art-svg tspan[class*="glyph-"] {
    animation: none !important;
    fill-opacity: 1 !important;
  }
}

/* Concentric Shockwave & Ripple Layer */
.concentric-ripple-layer {
  pointer-events: none !important;
}

.concentric-shockwave-ring {
  fill: none;
  stroke: var(--accent, #FF7D55);
  stroke-width: 2.5px;
  transform-origin: 500px 500px;
  animation: shockwaveScaleExpand 1150ms cubic-bezier(0.12, 0.8, 0.28, 1) forwards;
  pointer-events: none !important;
  will-change: transform, opacity;
}

.concentric-shockwave-ring.sub-wave {
  stroke: var(--route-peach, #FFAA84);
  stroke-width: 1.8px;
  animation-duration: 1300ms;
}

@keyframes shockwaveScaleExpand {
  0% {
    transform: scale(0.08);
    opacity: 0.95;
    stroke-width: 4px;
  }
  40% {
    opacity: 0.68;
    stroke-width: 3px;
  }
  100% {
    transform: scale(5.6);
    opacity: 0;
    stroke-width: 0.5px;
  }
}

/* Mechanical Physical Ring Wave Expansion & Glow */
.ring-wave-group {
  transform-origin: 500px 500px;
}

.ring-wave-group.wave-active {
  animation: ringMechanicalRipple 680ms cubic-bezier(0.18, 0.95, 0.32, 1) forwards;
}

@keyframes ringMechanicalRipple {
  0% {
    transform: scale(1);
    filter: none;
  }
  28% {
    transform: scale(1.065);
    filter: brightness(2.6) drop-shadow(0 0 14px currentColor);
  }
  65% {
    transform: scale(0.98);
    filter: brightness(1.3) drop-shadow(0 0 5px currentColor);
  }
  100% {
    transform: scale(1);
    filter: none;
  }
}

/* Staggered Excitation for Radar Geometry Tracks */
.radar-geometry circle {
  transform-origin: 500px 500px;
}

.radar-geometry circle.track-wave-active {
  animation: trackMechanicalRipple 650ms cubic-bezier(0.18, 0.95, 0.32, 1) forwards;
}

@keyframes trackMechanicalRipple {
  0% {
    transform: scale(1);
    stroke-width: 1px;
    stroke-opacity: inherit;
    filter: none;
  }
  30% {
    transform: scale(1.055);
    stroke-width: 3.5px;
    stroke-opacity: 1;
    stroke: var(--accent, #FF7D55);
    filter: drop-shadow(0 0 12px var(--accent, #FF7D55));
  }
  70% {
    transform: scale(0.985);
    stroke-width: 1.5px;
  }
  100% {
    transform: scale(1);
    stroke-width: 1px;
    stroke-opacity: inherit;
    filter: none;
  }
}

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

.concentric-art-svg.rings-paused .ring-text {
  animation-play-state: paused;
}

@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;
  transition: width 420ms cubic-bezier(0.16, 1, 0.3, 1), transform 420ms cubic-bezier(0.16, 1, 0.3, 1);
}

.ob-simulator-in-view .sticky-telemetry-dock {
  animation: none !important;
  opacity: 0 !important;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(10px) scale(0.96);
}

@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);
  border-radius: var(--radius-pill);
  padding: 0.45rem 0.65rem 0.45rem 0.8rem;
  min-height: 3.25rem;
  display: grid;
  grid-template-columns: max-content auto;
  grid-template-rows: auto auto;
  column-gap: 0.65rem;
  row-gap: 0.02rem;
  align-items: center;
  box-shadow: 0 10px 30px -8px rgba(0, 0, 0, 0.6);
  font-family: var(--font-mono);
  cursor: pointer;
  outline: none;
  user-select: none;
  -webkit-user-select: none;
  transition: width 420ms cubic-bezier(0.16, 1, 0.3, 1), min-height 420ms cubic-bezier(0.16, 1, 0.3, 1), padding 420ms cubic-bezier(0.16, 1, 0.3, 1), border-radius 420ms cubic-bezier(0.16, 1, 0.3, 1), background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.sticky-telemetry-dock.is-page-end {
  position: relative;
  right: auto;
  bottom: auto;
  width: min(34rem, calc(100vw - 5rem));
  z-index: 1;
}

.sticky-telemetry-dock.is-page-end .sticky-countdown-badge {
  width: 100%;
  min-height: 7rem;
  padding: 1.15rem 1.25rem;
  border-radius: var(--radius-card);
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 1.5rem;
  row-gap: 0.2rem;
  border-color: rgba(255, 125, 85, 0.55);
  background: rgba(18, 17, 24, 0.98);
  box-shadow: 0 24px 58px -20px rgba(0, 0, 0, 0.9), 0 14px 42px -26px rgba(255, 125, 85, 0.65);
}

.sticky-telemetry-dock.is-page-end .countdown-tag {
  font-size: 0.72rem;
}

.sticky-telemetry-dock.is-page-end .countdown-digits {
  font-size: clamp(0.9rem, 2vw, 1.2rem);
  letter-spacing: 0.075em;
}

.sticky-telemetry-dock.is-page-end .countdown-expand-pill {
  padding: 0.55rem 0.8rem;
}

.sticky-telemetry-dock.is-page-end .sticky-reading-gauge {
  width: 0;
  flex-basis: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: scale(0.72);
}

.sticky-telemetry-dock.is-page-end .newsletter-signup-tray {
  right: 0;
}

.sticky-countdown-badge:hover {
  border-color: var(--accent, #FF7D55);
  box-shadow: 0 10px 30px -4px rgba(255, 125, 85, 0.25);
  transform: translateY(-1px);
}

.sticky-countdown-badge:active {
  transform: translateY(0);
}

.sticky-countdown-badge.is-open {
  border-color: var(--accent, #FF7D55);
  background: rgba(20, 19, 28, 0.98);
  box-shadow: 0 0 20px rgba(255, 125, 85, 0.35);
}

[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 {
  grid-column: 1;
  grid-row: 1;
  justify-self: start;
  align-self: end;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--accent);
  text-transform: uppercase;
  white-space: nowrap;
}

.countdown-digits {
  grid-column: 1;
  grid-row: 2;
  justify-self: start;
  align-self: start;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.055em;
  color: var(--text);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.countdown-expand-pill {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 0.18rem 0.45rem;
  background: rgba(255, 125, 85, 0.14);
  color: var(--accent, #FF7D55);
  border: 1px solid rgba(255, 125, 85, 0.3);
  border-radius: var(--radius-pill);
  transition: all 160ms ease;
  white-space: nowrap;
  flex: 0 0 auto;
}

.sticky-countdown-badge:hover .countdown-expand-pill {
  background: var(--accent, #FF7D55);
  color: #0E0E13;
}

/* Expandable Newsletter Signup Tray */
.newsletter-signup-tray {
  position: absolute;
  bottom: calc(100% + 12px);
  right: calc(3rem + 0.85rem);
  width: min(430px, calc(100vw - 2rem));
  max-height: calc(100vh - 7rem);
  overflow-y: auto;
  background: rgba(18, 17, 24, 0.985);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  box-shadow: 0 20px 48px -8px rgba(0, 0, 0, 0.85);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px) scale(0.96);
  pointer-events: none;
  transition: opacity 220ms ease, transform 220ms cubic-bezier(0.16, 1, 0.3, 1), visibility 220ms ease;
  z-index: 100;
}

[data-theme="ledger"] .newsletter-signup-tray {
  background: rgba(252, 251, 248, 0.98);
  border-color: rgba(0, 0, 0, 0.15);
  box-shadow: 0 16px 40px -8px rgba(0, 0, 0, 0.2);
}

.newsletter-signup-tray.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.signup-tray-inner {
  padding: 1.25rem 1.25rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.signup-tray-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--accent, #FF7D55);
}

.signup-tray-title {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
}

.signup-status-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent, #FF7D55);
  box-shadow: 0 0 6px var(--accent, #FF7D55);
  flex: 0 0 auto;
}

.signup-tray-close {
  background: transparent;
  border: none;
  color: var(--muted);
  cursor: pointer;
  width: 3rem;
  height: 3rem;
  display: grid;
  place-items: center;
  padding: 0;
  margin: -0.75rem -0.75rem -0.75rem 0;
  border-radius: 50%;
  transition: color 140ms ease, background 140ms ease;
}

.signup-tray-close svg {
  width: 1.1rem;
  height: 1.1rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
}

.signup-tray-close:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
}

.signup-tray-desc {
  font-family: var(--font-display, "Space Grotesk", sans-serif);
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.35;
  margin: 0;
}

.signup-input-row {
  display: flex;
  gap: 0.45rem;
  margin-top: 0.25rem;
  min-width: 0;
}

.signup-email-input {
  flex: 1;
  min-width: 0;
  min-height: 3rem;
  background: #14131A;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: 0.55rem 0.75rem;
  color: #EDECF1;
  font-family: var(--font-mono, monospace);
  font-size: 0.85rem;
  outline: none;
  transition: border-color 160ms, box-shadow 160ms;
}

[data-theme="ledger"] .signup-email-input {
  background: #f4f1e9;
  border-color: rgba(0, 0, 0, 0.15);
  color: var(--ink);
}

.signup-email-input:focus {
  border-color: var(--accent, #FF7D55);
  box-shadow: 0 0 10px rgba(255, 125, 85, 0.3);
}

.signup-submit-btn {
  background: var(--accent, #FF7D55);
  color: #0E0E13;
  font-family: var(--font-mono, monospace);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  border: none;
  border-radius: 8px;
  padding: 0.55rem 0.85rem;
  min-height: 3rem;
  cursor: pointer;
  white-space: nowrap;
  transition: filter 160ms, transform 120ms;
}

.signup-submit-btn:hover {
  filter: brightness(1.15);
  transform: translateY(-1px);
}

.signup-submit-btn:active {
  transform: translateY(0);
}

.signup-submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.signup-status-msg {
  font-family: var(--font-mono, monospace);
  font-size: 0.72rem;
  min-height: 1.1rem;
  margin-top: 0.15rem;
  line-height: 1.3;
}

.signup-status-msg.success {
  color: #4ade80;
}

.signup-status-msg.error {
  color: #f87171;
}

.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: width 320ms cubic-bezier(0.16, 1, 0.3, 1), flex-basis 320ms cubic-bezier(0.16, 1, 0.3, 1), opacity 220ms ease, visibility 220ms ease, transform 180ms cubic-bezier(0.16, 1, 0.3, 1), filter 180ms ease;
  outline: none;
  background: #141313;
  width: 3rem;
  height: 3rem;
  padding: 0;
  border: 0;
  flex: 0 0 3rem;
}

[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;
}

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

@media (max-width: 640px) {
  .sticky-telemetry-dock {
    right: 1rem;
    left: 1rem;
    bottom: 1rem;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 3rem;
    gap: 0.75rem;
  }

  .sticky-countdown-badge {
    width: 100%;
    min-width: 0;
    grid-template-columns: minmax(0, 1fr) auto;
    padding-inline: 0.75rem;
    column-gap: 0.5rem;
  }

  .sticky-telemetry-dock.is-page-end {
    width: auto;
    grid-template-columns: minmax(0, 1fr);
  }

  .countdown-dock-slot {
    min-height: 8rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
  }

  .sticky-telemetry-dock.is-page-end .sticky-countdown-badge {
    min-height: 6.5rem;
    padding: 1rem;
  }

  .sticky-telemetry-dock.is-page-end .newsletter-signup-tray {
    right: 1rem;
  }

  .newsletter-signup-tray {
    position: fixed;
    right: 1rem;
    left: 1rem;
    bottom: 4.75rem;
    width: auto;
    max-height: calc(100vh - 6rem);
  }
}

@media (max-width: 420px) {
  .countdown-tag {
    font-size: 0.58rem;
  }

  .countdown-digits {
    font-size: 0.64rem;
    letter-spacing: 0.045em;
  }

  .countdown-expand-pill {
    padding-inline: 0.35rem;
  }

  .signup-input-row {
    flex-direction: column;
    gap: 0.6rem;
  }

  .signup-submit-btn {
    width: 100%;
  }
}

@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) {
  html {
    scroll-behavior: auto;
  }

  .split-left-content,
  .hero-fade-line,
  .proof-conclusion-banner,
  .sticky-telemetry-dock {
    animation: none !important;
    opacity: 1;
    transform: none;
    filter: none;
  }

  .concentric-art-svg .ring-text,
  .typewriter-cursor,
  .radar-pulse-wave,
  input[type="range"].freshness-range.handle-tick::-webkit-slider-thumb {
    animation: none !important;
  }
}
