/* ==========================================================================
   INFINITEHORIZONS 0.7.5 STABLE BETA × COVERLEY (www.coverley.xyz)
   MASTER STYLESHEET — assets/app.css
   --------------------------------------------------------------------------
   EASY EDIT GUIDE:
   All core colors, 6 theme presets, glow, glass blur, radius, and speeds live
   right here in :root (or publish live updates from the private CoverLEY Vault).
   ========================================================================== */

:root {
  color-scheme: dark;

  /* 1. CALIBRATED SINGLE SIGNAL ACCENT + SEMANTIC RAMP (Unslop Instrument-Grade) */
  --ih-accent: #3b82f6;
  --ih-accent-1: #3b82f6;
  --ih-accent-2: #3b82f6;
  --ih-accent-3: #60a5fa;
  --ih-accent-rgb-1: 59, 130, 246;
  --ih-accent-rgb-2: 59, 130, 246;
  --ih-accent-rgb-3: 96, 165, 250;
  --ih-accent-cyan: #60a5fa;
  --ih-accent-mint: #4cc38a;
  --ih-danger: #e5484d;

  --ih-spectrum: var(--ih-accent);
  --ih-spectrum-soft: var(--ih-text);

  /* 2. NOCTURNAL INK NEUTRAL RAMP */
  --ih-bg: #0b0d14;
  --ih-bg-deep: #07080d;
  --ih-bg-elevated: #11141c;
  --ih-surface: #11141c;
  --ih-surface-strong: #1a1e28;
  --ih-border: rgba(238, 240, 245, 0.08);
  --ih-border-strong: rgba(238, 240, 245, 0.14);

  /* 3. THREE TEXT ROLES */
  --ih-text: #eef0f5;
  --ih-text-soft: #a3a9b8;
  --ih-muted: #7a8296;

  /* 4. NESTED RADIUS, 4PX GRID & MOTION TOKENS */
  --ih-glow-strength: 0;
  --ih-blur: 12px;
  --ih-radius: 12px;
  --ih-radius-sm: 8px;
  --ih-anim-speed: 1;
  --ih-grid-opacity: 0;
  --ih-max-w: 1280px;
  --ih-header-h: 64px;

  /* 5. TYPOGRAPHY */
  --ih-font-display: 'Space Grotesk', 'DM Sans', system-ui, sans-serif;
  --ih-font-body: 'DM Sans', system-ui, -apple-system, sans-serif;
  --ih-font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Consolas, monospace;
  --ih-ease: cubic-bezier(0.22, 1, 0.36, 1);

  font-family: var(--ih-font-body);
  background: var(--ih-bg);
  color: var(--ih-text);
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
}

/* SINGLE-ACCENT THEME PRESETS (Quiet chrome, one calibrated accent) */
[data-theme="solar"] {
  --ih-accent: #e87b35;
  --ih-accent-1: #e87b35;
  --ih-accent-2: #e87b35;
  --ih-accent-3: #f29d5b;
  --ih-accent-rgb-1: 232, 123, 53;
  --ih-accent-rgb-2: 232, 123, 53;
  --ih-accent-rgb-3: 242, 157, 91;
  --ih-accent-cyan: #f29d5b;
}
[data-theme="cobalt"] {
  --ih-accent: #3b82f6;
  --ih-accent-1: #3b82f6;
  --ih-accent-2: #3b82f6;
  --ih-accent-3: #60a5fa;
  --ih-accent-rgb-1: 59, 130, 246;
  --ih-accent-rgb-2: 59, 130, 246;
  --ih-accent-rgb-3: 96, 165, 250;
  --ih-accent-cyan: #60a5fa;
}
[data-theme="emerald"] {
  --ih-accent: #4cc38a;
  --ih-accent-1: #4cc38a;
  --ih-accent-2: #4cc38a;
  --ih-accent-3: #6ee7b7;
  --ih-accent-rgb-1: 76, 195, 138;
  --ih-accent-rgb-2: 76, 195, 138;
  --ih-accent-rgb-3: 110, 231, 183;
  --ih-accent-cyan: #6ee7b7;
}
[data-theme="aurora"] {
  --ih-accent: #38bdf8;
  --ih-accent-1: #38bdf8;
  --ih-accent-2: #38bdf8;
  --ih-accent-3: #7dd3fc;
  --ih-accent-rgb-1: 56, 189, 248;
  --ih-accent-rgb-2: 56, 189, 248;
  --ih-accent-rgb-3: 125, 211, 252;
  --ih-accent-cyan: #7dd3fc;
}
[data-theme="crimson"] {
  --ih-accent: #e5484d;
  --ih-accent-1: #e5484d;
  --ih-accent-2: #e5484d;
  --ih-accent-3: #f27478;
  --ih-accent-rgb-1: 229, 72, 77;
  --ih-accent-rgb-2: 229, 72, 77;
  --ih-accent-rgb-3: 242, 116, 120;
  --ih-accent-cyan: #f27478;
}

/* ==========================================================================
   1. RESET, SMART USER-SELECT & GLOBAL AMBIENCE
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }
html {
  min-width: 320px;
  background: var(--ih-bg);
  scroll-padding-top: calc(var(--ih-header-h) + 20px);
  overflow-x: clip;
}
body {
  min-width: 320px;
  margin: 0;
  overflow-x: clip;
  background: var(--ih-bg);
  color: var(--ih-text);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: '';
  position: fixed;
  z-index: -10;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 56px 56px;
  opacity: var(--ih-grid-opacity);
  mask-image: radial-gradient(ellipse 80% 70% at 50% 25%, #000 10%, transparent 90%);
  pointer-events: none;
}

/* Smart User-Select: keep animated UI controls unselectable so animations/drags
   never highlight randomly, while code/commands/outputs/text stay cleanly copyable! */
button, .button, .site-header, .announcement, .marquee-strip, .workbench-bar,
.workbench-tabs, .term-chips, .upscale-box, .coverley-emblem-stage, .infinity-stage,
.mobile-dock, .theme-orb-bar, .eyebrow, .section-kicker,
.pillar-top, .suite-badge, .solution-pill, .hero-bottom, .giant-wordmark,
.pc-preset-btn, .filter-chip, .cli-platform-tab, .error-art {
  user-select: none;
  -webkit-user-select: none;
}
code, pre, input, textarea, select, .terminal-output, .term-line,
.webui-bubble, .faq-list details p, .nllb-output-text, .selectable,
.admin-table, .audit-row, .hero-lede, .section-heading p {
  user-select: text;
  -webkit-user-select: text;
}

button, a, input, select, textarea { font: inherit; color: inherit; }
a { text-decoration: none; }
img { display: block; max-width: 100%; }
::selection { background: rgba(var(--ih-accent-rgb-2), 0.42); color: #fff; }
:focus-visible { outline: 2px solid var(--ih-accent-3); outline-offset: 3px; }

/* FIXED LOGO PROPORTION CLASSES — Zero Squishing or Distortion Anywhere! */
.ih-icon {
  display: inline-block;
  width: auto;
  aspect-ratio: 454 / 237;
  object-fit: contain;
  flex: none;
  user-select: none;
}
.coverley-icon {
  display: inline-block;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  flex: none;
  filter: invert(1) contrast(1.18);
  mix-blend-mode: screen;
  user-select: none;
}

.skip-link {
  position: fixed;
  z-index: 200;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  border-radius: 8px;
  background: #fff;
  color: #080a12;
  font-weight: 700;
  font-size: 13px;
  transform: translateY(-200%);
  transition: transform 0.2s var(--ih-ease);
}
.skip-link:focus { transform: translateY(0); }

.scroll-progress {
  position: fixed;
  z-index: 150;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: var(--ih-spectrum);
  box-shadow: 0 0 calc(16px * var(--ih-glow-strength)) rgba(var(--ih-accent-rgb-2), 0.78);
  pointer-events: none;
}

/* Custom Magnetic Desktop Cursor */
.ih-cursor-dot,
.ih-cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -50%);
  transition: opacity 0.25s ease, width 0.25s var(--ih-ease), height 0.25s var(--ih-ease), border-color 0.25s ease;
}
.ih-cursor-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 12px var(--ih-accent-2);
}
.ih-cursor-ring {
  width: 34px;
  height: 34px;
  border: 1.5px solid rgba(255, 255, 255, 0.34);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--ih-accent-rgb-2), 0.14), transparent 70%);
}
body.cursor-active .ih-cursor-dot,
body.cursor-active .ih-cursor-ring { opacity: 1; }
body.cursor-hover .ih-cursor-ring {
  width: 52px;
  height: 52px;
  border-color: var(--ih-accent-2);
  background: radial-gradient(circle, rgba(var(--ih-accent-rgb-3), 0.2), transparent 70%);
}
body.cursor-down .ih-cursor-ring { width: 25px; height: 25px; border-color: var(--ih-accent-1); }
@media (hover: none), (pointer: coarse) {
  .ih-cursor-dot, .ih-cursor-ring { display: none !important; }
}

/* ==========================================================================
   2. 3D TILT + SPOTLIGHT CARDS & PRISM FRAMES
   ========================================================================== */

.spotlight-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--ih-border);
  border-radius: var(--ih-radius);
  background: linear-gradient(155deg, var(--ih-surface), rgba(8, 11, 22, 0.94));
  backdrop-filter: blur(var(--ih-blur));
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 0.25s var(--ih-ease), border-color 0.3s ease, box-shadow 0.3s ease;
}
.spotlight-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    420px circle at var(--mx, 50%) var(--my, 50%),
    rgba(var(--ih-accent-rgb-2), 0.22),
    rgba(var(--ih-accent-rgb-3), 0.1) 45%,
    transparent 74%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.spotlight-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 14%;
  right: 14%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  opacity: 0.4;
  pointer-events: none;
}
.spotlight-card:hover {
  border-color: rgba(var(--ih-accent-rgb-2), 0.56);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.55),
    0 0 calc(34px * var(--ih-glow-strength)) rgba(var(--ih-accent-rgb-2), 0.2);
}
.spotlight-card:hover::before { opacity: calc(0.9 * var(--ih-glow-strength)); }

.prism-frame {
  position: relative;
  border-radius: calc(var(--ih-radius) + 1px);
  padding: 1px;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.2),
    rgba(var(--ih-accent-rgb-2), 0.34) 48%,
    rgba(var(--ih-accent-rgb-3), 0.22) 80%,
    rgba(255, 255, 255, 0.08)
  );
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.68), 0 0 calc(40px * var(--ih-glow-strength)) rgba(var(--ih-accent-rgb-2), 0.14);
}
.prism-frame > .prism-inner {
  border-radius: var(--ih-radius);
  background: var(--ih-surface-strong);
  overflow: hidden;
}

/* ==========================================================================
   3. ANNOUNCEMENT BAR & HEADER
   ========================================================================== */

.announcement {
  position: relative;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  min-height: 42px;
  padding: 8px 44px 8px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(90deg, rgba(var(--ih-accent-rgb-1), 0.16), var(--ih-bg-elevated) 28%, var(--ih-bg-elevated) 72%, rgba(var(--ih-accent-rgb-3), 0.16));
  color: var(--ih-text-soft);
  font-size: 12.5px;
}
.announcement.is-dismissed { display: none; }
.announcement-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 10px 2px 6px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  font: 700 10.5px var(--ih-font-display);
  letter-spacing: 0.08em;
}
.announcement-pill img { width: 14px; height: 14px; }
.announcement p { margin: 0; }
.announcement-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #fff;
  font-weight: 600;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
}
.announcement-link:hover { color: var(--ih-accent-1); border-color: var(--ih-accent-1); }
.announcement-close {
  position: absolute;
  top: 50%;
  right: max(12px, calc((100vw - var(--ih-max-w)) / 2));
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  transform: translateY(-50%);
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--ih-muted);
  font-size: 18px;
  cursor: pointer;
}
.announcement-close:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }

.site-header {
  position: sticky;
  z-index: 55;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: var(--ih-header-h);
  padding: 0 max(3.5vw, calc((100vw - var(--ih-max-w)) / 2));
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(5, 6, 12, 0.8);
  backdrop-filter: blur(var(--ih-blur));
  transition: background 0.25s ease, box-shadow 0.25s ease;
}
.site-header.is-scrolled { background: rgba(5, 6, 12, 0.94); box-shadow: 0 12px 38px rgba(0, 0, 0, 0.45); }

.brand-wrap { position: relative; display: flex; align-items: center; gap: 11px; flex: none; }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 700 17px/1 var(--ih-font-display); letter-spacing: -0.03em; }
.brand-icon {
  height: 20px;
  width: auto;
  filter: drop-shadow(0 0 calc(12px * var(--ih-glow-strength)) rgba(var(--ih-accent-rgb-2), 0.55));
  transition: transform 0.35s var(--ih-ease);
}
.brand:hover .brand-icon { transform: scale(1.09) rotate(-3deg); }
.brand-light { color: var(--ih-text-soft); font-weight: 400; }

.coverley-by-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px 4px 7px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--ih-text-soft);
  font: 600 11px var(--ih-font-display);
  letter-spacing: 0.03em;
  white-space: nowrap;
  transition: all 0.2s ease;
}
.coverley-by-badge:hover { border-color: rgba(255, 255, 255, 0.32); background: rgba(255, 255, 255, 0.12); color: #fff; }
.coverley-by-badge img { width: 15px; height: 15px; }

.brand-context-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  z-index: 80;
  min-width: 255px;
  padding: 7px;
  border: 1px solid var(--ih-border-strong);
  border-radius: 13px;
  background: #0d1120;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.78);
}
.brand-context-menu[hidden] { display: none; }
.context-menu-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 12px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--ih-text-soft);
  font-size: 13px;
  text-align: left;
  cursor: pointer;
}
.context-menu-btn:hover { background: rgba(255, 255, 255, 0.09); color: #fff; }
.context-menu-btn img.ih-icon { height: 12px; }
.context-menu-btn img.coverley-icon { width: 16px; height: 16px; }

.main-nav { display: flex; align-items: center; gap: clamp(13px, 1.8vw, 26px); color: var(--ih-text-soft); font-size: 13.5px; font-weight: 500; }
.main-nav a { position: relative; padding: 8px 0; white-space: nowrap; transition: color 0.2s ease; }
.main-nav a::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--ih-spectrum);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ih-ease);
}
.main-nav a:hover, .main-nav a.is-current { color: #fff; }
.main-nav a:hover::after, .main-nav a.is-current::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 8px; flex: none; }
.icon-pill-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 38px;
  height: 38px;
  padding: 0 11px;
  border: 1px solid var(--ih-border);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--ih-text-soft);
  font: 600 12px var(--ih-font-mono);
  cursor: pointer;
  transition: all 0.2s ease;
}
.icon-pill-btn:hover { border-color: var(--ih-border-strong); background: rgba(255, 255, 255, 0.1); color: #fff; }
.cmd-trigger {
  gap: 7px;
  padding: 0 11px 0 10px;
  border-radius: 10px;
}
.cmd-trigger-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  color: var(--ih-text-soft);
  transition: color 0.2s ease, transform 0.2s ease;
}
.cmd-trigger:hover .cmd-trigger-icon {
  color: #fff;
  transform: scale(1.06);
}
.cmd-trigger-kbd {
  display: inline-flex;
  align-items: center;
  padding: 2px 6px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  color: #e4ecff;
  font: 600 10.5px/1.1 var(--ih-font-mono);
  letter-spacing: 0.03em;
}

.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--ih-radius-sm);
  font: 600 14px var(--ih-font-display);
  letter-spacing: -0.01em;
  white-space: nowrap;
  cursor: pointer;
  will-change: transform;
  transition: transform 0.22s var(--ih-ease), box-shadow 0.25s ease, background 0.22s ease, border-color 0.22s ease;
}
.button:hover { transform: translateY(-2px); }
.button-header { min-height: 38px; padding: 0 15px; background: #f5f7ff; color: #080a12; font-size: 13px; }
.button-header:hover { background: #fff; box-shadow: 0 8px 28px rgba(255, 255, 255, 0.2); }
.button-primary {
  background: #f5f7fc;
  color: #07090f;
  border-color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset, 0 10px 30px rgba(0, 0, 0, 0.45);
}
.button-primary::after {
  content: '';
  position: absolute;
  left: 16%;
  right: 16%;
  bottom: -1px;
  height: 2px;
  border-radius: 99px;
  background: var(--ih-spectrum);
  opacity: 0;
  transition: opacity 0.24s ease;
}
.button-primary:hover {
  background: #ffffff;
  box-shadow:
    0 14px 36px rgba(0, 0, 0, 0.55),
    0 0 calc(28px * var(--ih-glow-strength)) rgba(var(--ih-accent-rgb-2), 0.32);
}
.button-primary:hover::after { opacity: 1; }
.button-light {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: #eef1f8;
}
.button-light:hover {
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.09);
}
.button-large { min-height: 50px; padding: 0 26px; font-size: 14.5px; }

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  padding: 9px;
  border: 1px solid var(--ih-border);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.05);
  cursor: pointer;
}
.menu-toggle span { display: block; width: 100%; height: 1.5px; margin: 5.5px 0; background: #fff; transition: transform 0.25s var(--ih-ease); }

/* ==========================================================================
   4. HERO SECTION & 4-TAB INTERACTIVE TRY SANDBOX
   ========================================================================== */

.hero {
  position: relative;
  isolation: isolate;
  min-height: min(92vh, 840px);
  overflow: hidden;
  background:
    radial-gradient(ellipse 68% 58% at 78% 28%, rgba(var(--ih-accent-rgb-3), 0.2), transparent 64%),
    radial-gradient(ellipse 56% 48% at 18% 78%, rgba(var(--ih-accent-rgb-1), 0.17), transparent 64%),
    radial-gradient(ellipse 48% 44% at 54% 48%, rgba(var(--ih-accent-rgb-2), 0.15), transparent 66%),
    var(--ih-bg);
}
.hero-backdrop {
  position: absolute;
  z-index: -3;
  inset: 0;
  background: url('/assets/horizon-orbit.jpg') 72% 45% / cover no-repeat;
  opacity: 0.24;
  mix-blend-mode: screen;
  mask-image: radial-gradient(ellipse at 65% 42%, #000 10%, rgba(0, 0, 0, 0.4) 55%, transparent 82%);
}
#horizon-canvas { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; touch-action: pan-y; }

.hero-wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  align-items: center;
  gap: clamp(24px, 4vw, 54px);
  max-width: var(--ih-max-w);
  min-height: 700px;
  margin: 0 auto;
  padding: 50px 28px 40px;
}
.hero-copy, .hero-stage, .prism-frame, .prism-inner, .workbench { min-width: 0; max-width: 100%; }

.eyebrow, .section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--ih-text-soft);
  font: 600 11px var(--ih-font-display);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.eyebrow {
  padding: 6px 14px 6px 8px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 99px;
  background: rgba(14, 18, 34, 0.8);
  backdrop-filter: blur(12px);
}
.eyebrow img { width: 17px; height: 17px; }
.version-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border: 1px solid rgba(var(--ih-accent-rgb-2), 0.45);
  border-radius: 99px;
  background: rgba(var(--ih-accent-rgb-2), 0.15);
  color: #fff;
  font: 600 11px var(--ih-font-mono);
  margin-left: 8px;
}
.live-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ih-accent-mint);
  box-shadow: 0 0 10px var(--ih-accent-mint);
  animation: pulseDot 2s ease-in-out infinite;
}

.hero h1 { margin: 20px 0 16px; font: 700 clamp(38px, 5.6vw, 76px) / 0.98 var(--ih-font-display); letter-spacing: -0.045em; }
.hero h1 em {
  font-style: italic;
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 400;
  color: transparent;
  background: var(--ih-spectrum-soft);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  animation: gradientFlow calc(7s / var(--ih-anim-speed)) ease infinite;
}
.hero-lede { max-width: 510px; margin: 0; color: var(--ih-text-soft); font-size: clamp(14.5px, 1.3vw, 16px); line-height: 1.7; }

.hero-quick-cmd {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  padding: 7px 9px 7px 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 11px;
  background: rgba(8, 10, 19, 0.9);
  backdrop-filter: blur(14px);
  max-width: 100%;
}
.hero-quick-cmd code { flex: 1; min-width: 0; font: 500 12.5px var(--ih-font-mono); color: #e2ecff; overflow-x: auto; white-space: nowrap; scrollbar-width: none; }
.hero-quick-cmd code::-webkit-scrollbar { display: none; }
.hero-quick-cmd .prompt-sigil { color: var(--ih-accent-1); font-weight: 700; }
.mini-copy-btn {
  flex: none;
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font: 600 11.5px var(--ih-font-display);
  cursor: pointer;
}
.mini-copy-btn:hover { background: rgba(255, 255, 255, 0.18); }

.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.hero-metrics-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}
.hero-metric b { display: block; font: 700 18px var(--ih-font-display); color: #fff; }
.hero-metric small { color: var(--ih-muted); font-size: 12px; }

.hero-stage { position: relative; display: flex; flex-direction: column; gap: 14px; }
.hero-medallion-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--ih-radius);
  background: rgba(13, 17, 31, 0.8);
  backdrop-filter: blur(var(--ih-blur));
}
.medallion-pair { display: flex; align-items: center; gap: 12px; min-width: 0; }
.medallion-orb {
  flex: none;
  display: grid;
  place-items: center;
  width: 60px;
  height: 42px;
  border-radius: 11px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: radial-gradient(circle, rgba(var(--ih-accent-rgb-2), 0.28), rgba(9, 11, 20, 0.94));
  box-shadow: 0 0 calc(26px * var(--ih-glow-strength)) rgba(var(--ih-accent-rgb-2), 0.3);
}
.medallion-orb img { height: 22px; }
.medallion-meta { min-width: 0; }
.medallion-meta b { display: block; font: 700 14.5px var(--ih-font-display); }
.medallion-meta small { display: block; color: var(--ih-muted); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.medallion-status {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 11px;
  border: 1px solid rgba(74, 222, 184, 0.3);
  border-radius: 99px;
  background: rgba(74, 222, 184, 0.09);
  color: var(--ih-accent-mint);
  font: 600 11px var(--ih-font-mono);
}

.workbench-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  height: 42px;
  padding: 0 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}
.window-lights { display: flex; gap: 7px; flex: none; }
.window-lights i { width: 10px; height: 10px; border-radius: 50%; background: #ff5f56; }
.window-lights i:nth-child(2) { background: #ffbd2e; }
.window-lights i:nth-child(3) { background: #27c93f; }
.workbench-title { display: inline-flex; align-items: center; gap: 8px; color: var(--ih-text-soft); font: 500 12px var(--ih-font-mono); min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.workbench-title img { height: 13px; }
.workbench-coverley { flex: none; display: inline-flex; align-items: center; gap: 6px; color: var(--ih-text-soft); font: 600 11px var(--ih-font-display); letter-spacing: 0.06em; }
.workbench-coverley img { width: 14px; height: 14px; }

.workbench-tabs {
  display: flex;
  gap: 2px;
  padding: 6px 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.015);
  overflow-x: auto;
  scrollbar-width: none;
}
.workbench-tabs::-webkit-scrollbar { display: none; }
.workspace-tab {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 13px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: var(--ih-muted);
  font: 600 12.5px var(--ih-font-display);
  white-space: nowrap;
  cursor: pointer;
}
.workspace-tab:hover { color: #fff; }
.workspace-tab.is-active { color: #fff; border-bottom-color: var(--ih-accent-2); }

.workspace-scene { min-height: 368px; padding: 14px 16px 16px; animation: fadeUp 0.25s var(--ih-ease); }
.workspace-scene[hidden] { display: none; }

/* Scene 1: Complex Token-Streaming CLI Terminal */
.terminal-output { height: 222px; overflow-y: auto; padding-right: 6px; font: 400 12.6px/1.68 var(--ih-font-mono); color: #e8edff; }
.terminal-output::-webkit-scrollbar { width: 5px; }
.terminal-output::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.22); border-radius: 4px; }
.term-line { margin-bottom: 6px; white-space: pre-wrap; word-break: break-word; }
.term-line .t-prompt { color: var(--ih-accent-1); font-weight: 700; }
.term-line .t-cmd { color: #fff; font-weight: 600; }
.term-line .t-accent { color: var(--ih-accent-2); font-weight: 600; }
.term-line .t-ok { color: var(--ih-accent-mint); }
.term-line .t-blue { color: var(--ih-accent-cyan); }
.term-line .t-dim { color: #9fa7c5; }
.term-cursor { display: inline-block; width: 7px; height: 13px; margin-left: 2px; vertical-align: -2px; background: var(--ih-accent-cyan); animation: blinkCursor 0.8s steps(2) infinite; }

.term-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 10px 0 12px;
}
.term-chip {
  flex: none;
  padding: 4px 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.055);
  color: #e1e6f8;
  font: 500 11px var(--ih-font-mono);
  cursor: pointer;
  transition: border-color 0.18s, background 0.18s, color 0.18s;
}
.term-chip:hover { border-color: var(--ih-accent-3); background: rgba(var(--ih-accent-rgb-3), 0.22); color: #fff; }
.term-chip.is-highlight {
  border-color: rgba(var(--ih-accent-rgb-1), 0.55);
  background: rgba(var(--ih-accent-rgb-1), 0.16);
  color: #ffb49e;
}
.term-chip.is-highlight:hover {
  border-color: var(--ih-accent-1);
  background: rgba(var(--ih-accent-rgb-1), 0.28);
  color: #fff;
}
.uncensored-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border: 1px solid rgba(var(--ih-accent-rgb-1), 0.55);
  border-radius: 99px;
  background: rgba(var(--ih-accent-rgb-1), 0.16);
  color: #ffb8a3;
  font: 700 10.5px var(--ih-font-mono);
  letter-spacing: 0.06em;
}
.hw-search-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  gap: 10px;
  margin-bottom: 14px;
}

.term-input-form {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px 7px 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  background: rgba(5, 7, 14, 0.92);
}
.term-prompt-tag { color: var(--ih-accent-1); font: 700 12px var(--ih-font-mono); white-space: nowrap; }
.term-input-form input { flex: 1; min-width: 0; border: 0; background: transparent; color: #fff; font: 400 12.8px var(--ih-font-mono); outline: none; }
.term-btn-run, .term-btn-stop { flex: none; padding: 6px 12px; border: 0; border-radius: 7px; font: 600 11.5px var(--ih-font-display); cursor: pointer; }
.term-btn-run { background: var(--ih-spectrum); color: #fff; }
.term-btn-stop { background: rgba(255, 81, 47, 0.22); border: 1px solid rgba(255, 81, 47, 0.5); color: #ff9c88; }
.term-btn-stop[hidden] { display: none; }

/* Scene 2: Realistic Interactive Local WebUI Workspace */
.webui-controls-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin-bottom: 8px;
}
.webui-select {
  flex: 1;
  min-width: 150px;
  height: 36px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  background: #080b15;
  color: #fff;
  font: 600 12px var(--ih-font-mono);
  outline: none;
}
.webui-select:focus { border-color: rgba(255, 255, 255, 0.34); }
.webui-select option, .webui-select optgroup { background: #0b0e1b; color: #eef2ff; }
.webui-param-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 36px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.035);
  font: 600 10.5px var(--ih-font-mono);
  color: var(--ih-text-soft);
}
.webui-param-pill select { border: 0; background: transparent; color: var(--ih-accent-cyan); font-weight: 700; outline: none; cursor: pointer; }
.webui-param-pill select option { background: #0b0e1b; color: #fff; }
.webui-sys-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 36px;
  padding: 0 10px;
  border: 1px solid rgba(74, 222, 184, 0.36);
  border-radius: 10px;
  background: rgba(74, 222, 184, 0.1);
  color: var(--ih-accent-mint);
  font: 700 10px var(--ih-font-mono);
  cursor: pointer;
}
.webui-prompt-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 8px;
}
.webui-prompt-chip {
  padding: 4px 9px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.04);
  color: #d6def5;
  font: 500 10.8px var(--ih-font-mono);
  cursor: pointer;
  transition: all 0.16s;
}
.webui-prompt-chip:hover { border-color: var(--ih-accent-2); background: rgba(var(--ih-accent-rgb-2), 0.18); color: #fff; }
.webui-chat-log {
  height: 162px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-right: 4px;
  margin-bottom: 8px;
}
.webui-chat-log::-webkit-scrollbar { width: 5px; }
.webui-chat-log::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.2); border-radius: 99px; }
.webui-bubble { padding: 10px 13px; border-radius: 12px; font-size: 12.6px; line-height: 1.56; white-space: pre-wrap; }
.webui-bubble code {
  display: block;
  margin-top: 6px;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #060811;
  color: #93c5fd;
  font: 400 11.5px/1.5 var(--ih-font-mono);
  overflow-x: auto;
}
.webui-meta-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 6px;
  padding-top: 5px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  color: #8f98b5;
  font: 500 10px var(--ih-font-mono);
}
.webui-bubble.user {
  align-self: flex-end;
  max-width: 84%;
  background: linear-gradient(120deg, rgba(var(--ih-accent-rgb-1), 0.24), rgba(var(--ih-accent-rgb-2), 0.24));
  border: 1px solid rgba(var(--ih-accent-rgb-2), 0.4);
}
.webui-bubble.assistant { background: rgba(255, 255, 255, 0.045); border: 1px solid rgba(255, 255, 255, 0.1); color: var(--ih-text-soft); }
.webui-bubble.assistant strong { color: #fff; font-family: var(--ih-font-display); }
.webui-input-form { display: flex; gap: 6px; margin-bottom: 10px; }
.webui-input-form input {
  flex: 1;
  min-width: 0;
  height: 36px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 9px;
  background: rgba(5, 7, 14, 0.9);
  color: #fff;
  font-size: 12.5px;
}
.webui-meter { padding: 9px 11px; border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 9px; background: rgba(5, 7, 14, 0.78); }
.webui-meter-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; font: 500 11px var(--ih-font-mono); color: var(--ih-text-soft); margin-bottom: 6px; }
.webui-progress-track { height: 6px; border-radius: 99px; background: rgba(255, 255, 255, 0.09); overflow: hidden; }
.webui-progress-fill { width: 100%; height: 100%; border-radius: 99px; background: var(--ih-spectrum); transition: width 0.25s var(--ih-ease); }
.webui-action-btn {
  padding: 4px 9px;
  border: 1px solid var(--ih-border);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--ih-text-soft);
  font: 600 11px var(--ih-font-mono);
  cursor: pointer;
}
.webui-action-btn:hover { border-color: var(--ih-accent-cyan); color: #fff; }

/* Scene 3: Realistic Multimodal Lab */
.lab-interactive-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 12px; }
.upscale-box {
  position: relative;
  height: 196px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 11px;
  overflow: hidden;
  background: #070a14;
  touch-action: none;
}
.upscale-layer {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.upscale-layer img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.upscale-before { filter: contrast(0.95); }
.upscale-after { clip-path: inset(0 0 0 var(--split, 50%)); }
.upscale-divider { position: absolute; top: 0; bottom: 0; left: var(--split, 50%); width: 2px; background: rgba(255, 255, 255, 0.92); box-shadow: 0 0 14px rgba(0, 0, 0, 0.85); pointer-events: none; }
.upscale-divider::after { content: '⇄'; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #f8f9fc; color: #080a12; font-size: 13px; font-weight: 700; box-shadow: 0 4px 14px rgba(0, 0, 0, 0.55); }
.upscale-badge { position: absolute; top: 8px; padding: 3px 8px; border-radius: 6px; background: rgba(5, 7, 14, 0.84); border: 1px solid rgba(255, 255, 255, 0.12); font: 600 10px var(--ih-font-mono); color: #fff; pointer-events: none; backdrop-filter: blur(8px); }
.upscale-badge.left { left: 8px; color: #c7cde0; }
.upscale-badge.right { right: 8px; color: var(--ih-accent-mint); }
.upscale-caption { position: absolute; left: 8px; bottom: 8px; padding: 3px 8px; border-radius: 6px; background: rgba(5, 7, 14, 0.78); font: 500 10px var(--ih-font-mono); color: #d8e0f5; pointer-events: none; }
.upscale-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }

.audio-synth-card { display: flex; flex-direction: column; justify-content: space-between; padding: 12px; border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 11px; background: rgba(255, 255, 255, 0.03); }
.audio-bars { display: flex; align-items: flex-end; gap: 4px; height: 76px; padding: 8px 4px; }
.audio-bars span { flex: 1; border-radius: 4px; background: var(--ih-spectrum); min-height: 10px; transition: height 0.18s ease; }

.nllb-bar {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  background: rgba(6, 8, 16, 0.8);
  font-size: 12.5px;
}
.nllb-langs { display: flex; flex-wrap: wrap; gap: 5px; }
.nllb-lang-btn { padding: 4px 8px; border: 1px solid var(--ih-border); border-radius: 6px; background: transparent; color: var(--ih-muted); font: 600 10.5px var(--ih-font-mono); cursor: pointer; }
.nllb-lang-btn.is-active { background: rgba(var(--ih-accent-rgb-3), 0.25); border-color: var(--ih-accent-cyan); color: #fff; }

/* Scene 4: Telemetry */
.telemetry-canvas-wrap { height: 186px; border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 11px; background: rgba(5, 7, 14, 0.88); overflow: hidden; margin-bottom: 12px; }
#telemetry-canvas { width: 100%; height: 100%; display: block; }
.telemetry-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.tkpi { padding: 10px; border: 1px solid rgba(255, 255, 255, 0.09); border-radius: 9px; background: rgba(255, 255, 255, 0.03); }
.tkpi small { display: block; color: var(--ih-muted); font: 600 10px var(--ih-font-mono); }
.tkpi b { display: block; margin-top: 3px; font: 700 15.5px var(--ih-font-mono); color: #fff; }

.hero-bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; max-width: var(--ih-max-w); margin: 0 auto; padding: 6px 28px 24px; color: var(--ih-muted); font: 500 11px var(--ih-font-mono); letter-spacing: 0.12em; }
.hero-bottom a { color: var(--ih-text-soft); }
.hero-bottom a:hover { color: #fff; }

/* ==========================================================================
   5. MARQUEE + THE INFINITE LOOP (∞) ARCHITECTURAL SHOWCASE
   ========================================================================== */

.marquee-strip { overflow: hidden; border-top: 1px solid var(--ih-border); border-bottom: 1px solid var(--ih-border); background: rgba(11, 14, 26, 0.92); padding: 15px 0; }
.marquee-track { display: flex; align-items: center; gap: 32px; width: max-content; animation: marqueeScroll calc(28s / var(--ih-anim-speed)) linear infinite; }
.marquee-strip:hover .marquee-track { animation-play-state: paused; }
.marquee-item { display: inline-flex; align-items: center; gap: 11px; color: var(--ih-text-soft); font: 600 12px var(--ih-font-display); letter-spacing: 0.18em; white-space: nowrap; }
.marquee-item img.ih-icon { height: 14px; }
.marquee-item img.coverley-icon { width: 16px; height: 16px; }
.marquee-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ih-spectrum); }

.section-wrap { max-width: var(--ih-max-w); margin: 0 auto; padding: clamp(60px, 7.5vw, 102px) 28px; }
.section-heading { max-width: 780px; margin: 0 auto 48px; text-align: center; }
.section-heading .section-kicker { justify-content: center; }
.kicker-num { color: transparent; background: var(--ih-spectrum-soft); -webkit-background-clip: text; background-clip: text; font-family: var(--ih-font-mono); }
.section-heading h2 { margin: 14px 0 12px; font: 700 clamp(28px, 4.4vw, 52px) / 1.07 var(--ih-font-display); letter-spacing: -0.04em; }
.section-heading p { max-width: 650px; margin: 0 auto; color: var(--ih-muted); font-size: clamp(14.5px, 1.3vw, 16px); }

/* Dedicated Infinity (∞) Continuous Loop Showcase */
.infinity-stage {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 32px;
  padding: clamp(24px, 4vw, 44px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(var(--ih-accent-rgb-1), 0.14), transparent 55%),
    radial-gradient(ellipse at 70% 50%, rgba(var(--ih-accent-rgb-3), 0.16), transparent 55%),
    rgba(10, 13, 24, 0.92);
  overflow: hidden;
}
.infinity-svg-box {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 250px;
}
.infinity-svg {
  width: min(100%, 460px);
  height: auto;
  overflow: visible;
  filter: drop-shadow(0 0 calc(20px * var(--ih-glow-strength)) rgba(var(--ih-accent-rgb-2), 0.45));
}
.inf-track-bg { fill: none; stroke: rgba(255, 255, 255, 0.1); stroke-width: 14; stroke-linecap: round; }
.inf-track-flow {
  fill: none;
  stroke: url(#inf-grad);
  stroke-width: 10;
  stroke-linecap: round;
  stroke-dasharray: 220 680;
  animation: infinityDash calc(4.8s / var(--ih-anim-speed)) linear infinite;
}
.inf-track-flow-2 {
  fill: none;
  stroke: url(#inf-grad);
  stroke-width: 5;
  stroke-linecap: round;
  opacity: 0.7;
  stroke-dasharray: 120 780;
  animation: infinityDash calc(4.8s / var(--ih-anim-speed)) linear infinite;
  animation-delay: -2.4s;
}
.infinity-center-badge {
  position: absolute;
  display: grid;
  place-items: center;
  width: 78px;
  height: 52px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(7, 9, 18, 0.92);
  box-shadow: 0 0 36px rgba(var(--ih-accent-rgb-2), 0.45);
}
.infinity-center-badge img { height: 26px; }

.infinity-phases { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.inf-phase-card {
  padding: 16px;
  border: 1px solid var(--ih-border);
  border-radius: 13px;
  background: rgba(6, 8, 16, 0.76);
  transition: all 0.25s var(--ih-ease);
}
.inf-phase-card:hover,
.inf-phase-card.is-lit {
  border-color: var(--ih-accent-2);
  background: rgba(var(--ih-accent-rgb-2), 0.12);
  transform: translateY(-2px);
}
.inf-phase-card small { color: var(--ih-accent-cyan); font: 600 10.5px var(--ih-font-mono); letter-spacing: 0.12em; }
.inf-phase-card b { display: block; margin: 5px 0 4px; font: 700 15.5px var(--ih-font-display); }
.inf-phase-card p { margin: 0; color: var(--ih-muted); font-size: 12.8px; line-height: 1.5; }

/* ==========================================================================
   6. USER HARDWARE & MODEL COMPATIBILITY CHECKER (#hardware-check)
   ========================================================================== */

.hw-shell {
  padding: clamp(20px, 3.5vw, 34px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 22px;
  background:
    radial-gradient(ellipse at 18% 20%, rgba(var(--ih-accent-rgb-1), 0.12), transparent 55%),
    radial-gradient(ellipse at 82% 80%, rgba(var(--ih-accent-rgb-3), 0.14), transparent 55%),
    rgba(10, 13, 25, 0.92);
  backdrop-filter: blur(var(--ih-blur));
}
.pc-presets-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--ih-border);
}
.pc-presets-label {
  color: var(--ih-muted);
  font: 600 10.5px var(--ih-font-mono);
  letter-spacing: 0.12em;
  margin-right: 4px;
}
.pc-preset-btn {
  padding: 6px 13px;
  border: 1px solid var(--ih-border);
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--ih-text-soft);
  font: 600 12px var(--ih-font-display);
  cursor: pointer;
  transition: all 0.2s;
}
.pc-preset-btn:hover,
.pc-preset-btn.is-active {
  border-color: var(--ih-accent-2);
  background: rgba(var(--ih-accent-rgb-2), 0.2);
  color: #fff;
}
.hw-config-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}
.hw-select-box {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 14px;
  background: rgba(6, 9, 18, 0.88);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.hw-select-box:hover,
.hw-select-box.is-open {
  border-color: rgba(255, 255, 255, 0.34);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
}
.hw-select-box label { color: var(--ih-muted); font: 600 10.5px var(--ih-font-mono); letter-spacing: 0.1em; }
.hw-select-box select {
  width: 100%;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #fff;
  font: 600 13.5px var(--ih-font-display);
  outline: none;
  cursor: pointer;
}
.hw-select-box select option { background: #0a0d1a; color: #f4f6fc; padding: 8px; }
.hw-select-box select optgroup { background: #101528; color: #8fb3ff; font-weight: 700; font-family: var(--ih-font-mono); }

/* Custom Rounded Glass Dropdown Popover (Replaces square native OS popup) */
.hw-select-box.has-cselect select {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 1px;
  height: 1px;
}
.ih-cselect-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  padding: 2px 0;
  border: 0;
  background: transparent;
  color: #fff;
  font: 600 13.5px var(--ih-font-display);
  text-align: left;
  cursor: pointer;
}
.ih-cselect-btn span {
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ih-cselect-btn svg {
  width: 15px;
  height: 15px;
  flex: none;
  color: var(--ih-muted);
  transition: transform 0.2s var(--ih-ease);
}
.hw-select-box.is-open .ih-cselect-btn svg { transform: rotate(180deg); color: #fff; }
.ih-cselect-menu {
  position: absolute;
  z-index: 80;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  max-height: 290px;
  overflow-y: auto;
  padding: 7px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 16px;
  background: rgba(10, 13, 25, 0.98);
  backdrop-filter: blur(24px);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.85);
  animation: fadeUp 0.16s var(--ih-ease);
}
.ih-cselect-menu[hidden] { display: none; }
.ih-cselect-menu::-webkit-scrollbar { width: 6px; }
.ih-cselect-menu::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.22); border-radius: 99px; }
.ih-cselect-group {
  position: sticky;
  top: -7px;
  z-index: 2;
  padding: 6px 10px 4px;
  margin-top: 4px;
  border-radius: 8px;
  background: #11162a;
  color: var(--ih-accent-cyan);
  font: 700 10px var(--ih-font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.ih-cselect-group:first-child { margin-top: 0; }
.ih-cselect-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  padding: 8px 10px;
  margin-top: 2px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #d8e0f5;
  font: 500 12.6px var(--ih-font-display);
  text-align: left;
  cursor: pointer;
  transition: background 0.14s, color 0.14s;
}
.ih-cselect-item:hover { background: rgba(255, 255, 255, 0.09); color: #fff; }
.ih-cselect-item.is-selected {
  background: rgba(var(--ih-accent-rgb-2), 0.22);
  color: #fff;
  font-weight: 700;
}
.ih-cselect-item.is-selected::after {
  content: '✓';
  color: var(--ih-accent-mint);
  font-weight: 700;
}

.hw-status-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 14px 18px;
  margin-bottom: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 13px;
  background: rgba(6, 9, 18, 0.88);
}
.offload-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: 99px;
  font: 700 11.5px var(--ih-font-mono);
  letter-spacing: 0.05em;
}
.offload-badge.full-gpu { background: rgba(74, 222, 184, 0.16); color: var(--ih-accent-mint); border: 1px solid rgba(74, 222, 184, 0.4); }
.offload-badge.hybrid { background: rgba(56, 189, 248, 0.16); color: var(--ih-accent-cyan); border: 1px solid rgba(56, 189, 248, 0.4); }
.offload-badge.cpu-only { background: rgba(255, 167, 38, 0.16); color: #ffca68; border: 1px solid rgba(255, 167, 38, 0.4); }
.offload-badge.oom { background: rgba(255, 81, 47, 0.2); color: #ff8e72; border: 1px solid rgba(255, 81, 47, 0.5); }

.hw-verdict-tip {
  color: var(--ih-text-soft);
  font-size: 13.5px;
  margin: 0;
  flex: 1;
  min-width: 240px;
}

/* Visual Stacked Memory Footprint Map */
.mem-map-box {
  padding: 16px 18px;
  margin-bottom: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 13px;
  background: rgba(5, 7, 15, 0.82);
}
.mem-map-head {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
  font: 600 11px var(--ih-font-mono);
  color: var(--ih-text-soft);
}
.mem-map-track {
  display: flex;
  height: 12px;
  border-radius: 99px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
  gap: 2px;
}
.mem-seg-weights { background: var(--ih-accent-1); transition: width 0.4s var(--ih-ease); }
.mem-seg-kv { background: var(--ih-accent-2); transition: width 0.4s var(--ih-ease); }
.mem-seg-ram { background: var(--ih-accent-3); transition: width 0.4s var(--ih-ease); }
.mem-map-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 10px;
  font: 500 11px var(--ih-font-mono);
  color: var(--ih-muted);
}
.mem-map-legend span { display: inline-flex; align-items: center; gap: 6px; }
.mem-map-legend i { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }

.hw-stats-bar { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.pstat { padding: 14px 16px; border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 12px; background: rgba(5, 7, 14, 0.78); }
.pstat small { display: block; color: var(--ih-muted); font: 600 10px var(--ih-font-mono); letter-spacing: 0.08em; }
.pstat b { display: block; margin-top: 4px; font: 700 19px var(--ih-font-display); background: var(--ih-spectrum-soft); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pstat-sub { display: block; margin-top: 3px; color: var(--ih-muted); font: 500 11px var(--ih-font-mono); }
.pstat-bar { height: 5px; margin-top: 8px; border-radius: 99px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.pstat-bar i { display: block; height: 100%; background: var(--ih-spectrum); border-radius: 99px; transition: width 0.4s var(--ih-ease); }

/* ==========================================================================
   7. PILLARS, SUITE, COVERLEY STAGE, RELEASES, SOLUTIONS, NEWSLETTER, FAQ
   ========================================================================== */

.pillars-grid, .releases-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.pillar-card, .release-card { display: flex; flex-direction: column; padding: 26px; }
.pillar-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.pillar-num { color: var(--ih-muted); font: 600 11px var(--ih-font-mono); letter-spacing: 0.14em; }
.pillar-glyph { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 11px; border: 1px solid rgba(255, 255, 255, 0.15); background: rgba(255, 255, 255, 0.045); font-size: 19px; }
.pillar-card h3, .release-card h3 { margin: 0 0 10px; font: 700 21px/1.25 var(--ih-font-display); letter-spacing: -0.03em; }
.pillar-card p, .release-card p { margin: 0; color: var(--ih-muted); font-size: 14.5px; }
.release-meta { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; font: 600 11px var(--ih-font-mono); color: var(--ih-muted); }
.release-ver { padding: 3px 10px; border-radius: 99px; background: rgba(255, 255, 255, 0.09); color: #fff; }

.suite-filter-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; margin-bottom: 14px; }
.suite-filter-meta { text-align: center; margin-bottom: 24px; color: var(--ih-muted); font: 500 11.5px var(--ih-font-mono); letter-spacing: 0.08em; }
.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 15px;
  border: 1px solid var(--ih-border);
  border-radius: 99px;
  background: rgba(15, 19, 34, 0.72);
  color: var(--ih-text-soft);
  font: 600 12.5px var(--ih-font-display);
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.18s var(--ih-ease);
}
.filter-chip:hover { border-color: rgba(255, 255, 255, 0.3); color: #fff; transform: translateY(-1px); }
.filter-chip.is-active {
  border-color: rgba(255, 255, 255, 0.85);
  background: #f4f6fb;
  color: #07090f;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.45);
}
.filter-chip .chip-count {
  padding: 1px 6px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.1);
  font: 600 10.5px var(--ih-font-mono);
}
.filter-chip.is-active .chip-count { background: rgba(7, 9, 15, 0.12); color: #07090f; }

.suite-grid, .solutions-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.suite-grid.is-single-view { grid-template-columns: minmax(0, 1fr); max-width: 820px; margin: 0 auto; }
.suite-card { display: flex; flex-direction: column; justify-content: space-between; padding: 28px; animation: fadeUp 0.28s var(--ih-ease); }
.suite-card.is-filtered-out { display: none; }

/* Hardware Pro Filter Toolbar + Live Benchmark Waveform */
.hw-filter-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  margin-bottom: 14px;
}
.hw-search-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.hw-search-wrap svg {
  position: absolute;
  left: 12px;
  width: 15px;
  height: 15px;
  color: var(--ih-muted);
  pointer-events: none;
}
.hw-search-input {
  width: 100%;
  height: 40px;
  padding: 0 14px 0 36px;
  border: 1px solid var(--ih-border);
  border-radius: 10px;
  background: rgba(5, 7, 15, 0.86);
  color: #fff;
  font: 500 13px var(--ih-font-sans);
  outline: none;
  transition: border-color 0.2s;
}
.hw-search-input:focus { border-color: rgba(255, 255, 255, 0.36); }
.hw-cat-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}
.hw-cat-pill {
  padding: 5px 11px;
  border: 1px solid var(--ih-border);
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--ih-muted);
  font: 600 11px var(--ih-font-mono);
  cursor: pointer;
  transition: all 0.18s;
}
.hw-cat-pill:hover { color: #fff; border-color: rgba(255, 255, 255, 0.26); }
.hw-cat-pill.is-active { background: #f4f6fb; color: #07090f; border-color: #f4f6fb; }
.hw-bench-visual-row {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 14px;
  margin-bottom: 16px;
}
.hw-bench-chart-box {
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 13px;
  background: rgba(5, 7, 15, 0.84);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.hw-bench-chart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
  font: 600 10.5px var(--ih-font-mono);
  color: var(--ih-text-soft);
}
.hw-bench-canvas-wrap { height: 78px; width: 100%; }
#hw-bench-canvas { width: 100%; height: 100%; display: block; }
.hw-auto-btn {
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font: 600 11.5px var(--ih-font-display);
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s, border-color 0.2s;
}
.hw-auto-btn:hover { background: rgba(255, 255, 255, 0.13); border-color: rgba(255, 255, 255, 0.34); }
.hw-bottleneck-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  font: 500 11px var(--ih-font-mono);
  color: var(--ih-muted);
}

/* Real Program Showcase Video & Gallery */
.showcase-video-card {
  margin-bottom: 22px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 20px;
  background: rgba(9, 12, 22, 0.92);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.65);
}
.showcase-video-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--ih-border);
  background: rgba(255, 255, 255, 0.025);
}
.showcase-video-head b { font: 700 14.5px var(--ih-font-display); color: #fff; }
.showcase-video-head small { color: var(--ih-muted); font: 500 11.5px var(--ih-font-mono); }
.showcase-video {
  width: 100%;
  max-height: 540px;
  display: block;
  background: #05070e;
  object-fit: cover;
}
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.showcase-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--ih-border);
  border-radius: 18px;
  background: rgba(11, 14, 24, 0.9);
  transition: transform 0.28s var(--ih-ease), border-color 0.28s ease, box-shadow 0.28s ease;
}
.showcase-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.26);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.62);
}
.showcase-thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #070910;
  cursor: zoom-in;
  border-bottom: 1px solid var(--ih-border);
}
.showcase-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ih-ease);
}
.showcase-card:hover .showcase-thumb img { transform: scale(1.03); }
.showcase-zoom-pill {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 5px 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 99px;
  background: rgba(7, 9, 16, 0.82);
  backdrop-filter: blur(10px);
  color: #fff;
  font: 600 10.5px var(--ih-font-mono);
}
.showcase-body { padding: 20px 22px; }
.showcase-body small { color: var(--ih-accent-cyan); font: 600 10.5px var(--ih-font-mono); letter-spacing: 0.12em; }
.showcase-body h3 { margin: 6px 0 6px; font: 700 19px var(--ih-font-display); }
.showcase-body p { margin: 0; color: var(--ih-muted); font-size: 13.8px; line-height: 1.6; }

/* Editorial Newsroom (#news) */
.news-filter-bar { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 28px; }
.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.news-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  cursor: pointer;
}
.news-card.is-filtered-out { display: none; }
.news-card-media {
  margin: -24px -24px 18px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-bottom: 1px solid var(--ih-border);
}
.news-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ih-ease); }
.news-card:hover .news-card-media img { transform: scale(1.04); }
.news-meta { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 10px; font: 600 10.5px var(--ih-font-mono); color: var(--ih-muted); }
.news-tag { padding: 2px 8px; border-radius: 99px; border: 1px solid rgba(255, 255, 255, 0.14); background: rgba(255, 255, 255, 0.05); color: #e2e8f8; }
.news-card h3 { margin: 0 0 8px; font: 700 18.5px/1.28 var(--ih-font-display); letter-spacing: -0.025em; }
.news-card p { margin: 0 0 16px; color: var(--ih-muted); font-size: 13.8px; line-height: 1.6; }
.news-read-more { display: inline-flex; align-items: center; gap: 6px; color: #fff; font: 600 12.5px var(--ih-font-display); }

/* Lightbox & News Reader Modal */
.ih-lightbox {
  width: min(1080px, calc(100% - 24px));
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  background: #0a0c14;
  color: #fff;
  box-shadow: 0 36px 110px rgba(0, 0, 0, 0.88);
  overflow: hidden;
}
.ih-lightbox::backdrop { background: rgba(3, 4, 9, 0.88); backdrop-filter: blur(12px); }
.lightbox-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--ih-border); font: 600 13px var(--ih-font-display); }
.lightbox-close { width: 32px; height: 32px; border: 1px solid var(--ih-border); border-radius: 8px; background: rgba(255, 255, 255, 0.06); color: #fff; font-size: 18px; cursor: pointer; }
.lightbox-img { width: 100%; max-height: 76vh; object-fit: contain; background: #05060b; display: block; }
.news-modal-body { padding: 24px 28px 30px; max-height: 75vh; overflow-y: auto; }
.news-modal-body h2 { margin: 10px 0 12px; font: 700 clamp(22px, 3vw, 30px) var(--ih-font-display); }
.news-modal-body p { color: var(--ih-text-soft); font-size: 15px; line-height: 1.75; margin: 0 0 14px; }

/* Legal Pages */
.legal-main { max-width: 960px; margin: 0 auto; padding: 48px 24px 96px; }
.legal-hero { padding: clamp(26px, 4.5vw, 48px); border: 1px solid var(--ih-border); border-radius: 20px; background: linear-gradient(155deg, rgba(16, 19, 32, 0.92), rgba(8, 10, 18, 0.96)); margin-bottom: 28px; }
.legal-hero h1 { margin: 16px 0 12px; font: 700 clamp(32px, 5vw, 56px)/1.04 var(--ih-font-display); letter-spacing: -0.04em; }
.legal-hero h1 em { font-family: Georgia, serif; font-weight: 400; color: transparent; background: var(--ih-spectrum-soft); -webkit-background-clip: text; background-clip: text; }
.legal-hero > p { margin: 0 0 22px; color: var(--ih-text-soft); font-size: 15px; }
.legal-nav-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.legal-pill { padding: 7px 14px; border: 1px solid var(--ih-border); border-radius: 99px; background: rgba(255, 255, 255, 0.04); color: var(--ih-text-soft); font: 600 12.5px var(--ih-font-display); transition: all 0.2s; }
.legal-pill:hover, .legal-pill.is-active { background: #f4f6fb; color: #07090f; border-color: #f4f6fb; }
.legal-card { padding: clamp(24px, 4vw, 36px); border: 1px solid var(--ih-border); border-radius: 18px; background: rgba(11, 14, 24, 0.88); margin-bottom: 20px; }
.legal-meta { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; color: var(--ih-muted); font: 600 11px var(--ih-font-mono); letter-spacing: 0.1em; }
.legal-card h2 { margin: 0 0 8px; font: 700 clamp(21px, 3vw, 28px) var(--ih-font-display); }
.legal-sub { color: var(--ih-accent-cyan); font: 500 13px var(--ih-font-mono); margin: 0 0 18px; }
.legal-card h3 { margin: 20px 0 8px; font: 700 16px var(--ih-font-display); color: #fff; }
.legal-card p, .legal-card li { color: var(--ih-text-soft); font-size: 14.5px; line-height: 1.72; }
.legal-card ul { margin: 8px 0 12px; padding-left: 20px; }
.license-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
.license-item { padding: 14px 16px; border: 1px solid var(--ih-border); border-radius: 12px; background: rgba(6, 8, 15, 0.8); }
.license-item b { display: block; font: 700 14.5px var(--ih-font-display); color: #fff; }
.license-item span { display: inline-block; margin: 4px 0 6px; padding: 2px 8px; border-radius: 99px; background: rgba(74, 222, 184, 0.14); color: var(--ih-accent-mint); font: 600 10.5px var(--ih-font-mono); }
.license-item p { margin: 0; font-size: 13px; color: var(--ih-muted); line-height: 1.5; }
.suite-badge { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 14px; color: var(--ih-text-soft); font: 600 11.5px var(--ih-font-mono); letter-spacing: 0.12em; }
.suite-badge img.ih-icon { height: 14px; }
.suite-badge img.coverley-icon { width: 16px; height: 16px; }
.suite-card h3 { margin: 0 0 10px; font: 700 24px var(--ih-font-display); letter-spacing: -0.03em; }
.suite-card > p { margin: 0 0 20px; color: var(--ih-muted); font-size: 14.5px; }
.suite-visual { padding: 14px; border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 12px; background: rgba(5, 7, 14, 0.88); font: 400 12px/1.65 var(--ih-font-mono); color: #d6dff8; }
.sv-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 6px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
.sv-row:last-child { border-bottom: 0; }
.sv-tag { flex: none; padding: 2px 8px; border-radius: 6px; font-size: 10.5px; font-weight: 600; background: rgba(74, 222, 184, 0.15); color: var(--ih-accent-mint); }
.sv-tag.ember { background: rgba(var(--ih-accent-rgb-1), 0.22); color: #ff9c82; }
.sv-tag.cobalt { background: rgba(var(--ih-accent-rgb-3), 0.22); color: var(--ih-accent-cyan); }
.sv-tag.magenta { background: rgba(var(--ih-accent-rgb-2), 0.24); color: #e7a6ff; }
.suite-card-footer { margin-top: 20px; display: flex; align-items: center; justify-content: space-between; }
.underlined-link { display: inline-flex; align-items: center; gap: 8px; padding-bottom: 4px; border-bottom: 1px solid rgba(255, 255, 255, 0.3); color: #fff; font: 600 13.5px var(--ih-font-display); }
.underlined-link:hover { color: var(--ih-accent-1); border-color: var(--ih-accent-1); }

/* CoverLEY Interactive Emblem Stage */
.coverley-banner-wrap { max-width: var(--ih-max-w); margin: 0 auto; padding: 12px 28px 72px; }
.coverley-banner {
  position: relative;
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  align-items: center;
  gap: 40px;
  padding: clamp(26px, 5vw, 54px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 22px;
  background:
    radial-gradient(ellipse at 18% 50%, rgba(var(--ih-accent-rgb-1), 0.18), transparent 55%),
    radial-gradient(ellipse at 85% 30%, rgba(var(--ih-accent-rgb-3), 0.18), transparent 55%),
    linear-gradient(135deg, #101426, #080a14);
  overflow: hidden;
}
.coverley-emblem-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 285px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.055), rgba(5, 6, 12, 0.9));
  cursor: pointer;
  overflow: hidden;
}
.emblem-ring { position: absolute; width: 230px; height: 230px; border: 1px dashed rgba(255, 255, 255, 0.18); border-radius: 50%; animation: spinSlow calc(24s / var(--ih-anim-speed)) linear infinite; }
.emblem-ring-inner { width: 162px; height: 162px; border-style: solid; border-color: rgba(var(--ih-accent-rgb-2), 0.34); animation-direction: reverse; animation-duration: calc(16s / var(--ih-anim-speed)); }
.emblem-beam { position: absolute; width: 140px; height: 2px; background: var(--ih-spectrum); box-shadow: 0 0 18px var(--ih-accent-2); z-index: 1; }
.emblem-core-pair { position: relative; z-index: 2; display: flex; align-items: center; gap: 18px; }
.emblem-coverley-box, .emblem-ih-box {
  display: grid;
  place-items: center;
  height: 92px;
  padding: 15px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: #0c101e;
  transition: transform 0.35s var(--ih-ease), box-shadow 0.35s ease;
}
.emblem-coverley-box { width: 92px; box-shadow: 0 18px 50px rgba(0, 0, 0, 0.6), 0 0 calc(34px * var(--ih-glow-strength)) rgba(var(--ih-accent-rgb-3), 0.25); }
.emblem-coverley-box img { width: 56px; height: 56px; }
.emblem-ih-box { width: 114px; box-shadow: 0 18px 50px rgba(0, 0, 0, 0.6), 0 0 calc(34px * var(--ih-glow-strength)) rgba(var(--ih-accent-rgb-2), 0.3); }
.emblem-ih-box img { height: 42px; }
.coverley-emblem-stage.is-pulsing .emblem-coverley-box,
.coverley-emblem-stage.is-pulsing .emblem-ih-box { transform: scale(1.1); box-shadow: 0 0 54px var(--ih-accent-2); }
.emblem-times { z-index: 3; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #080a14; border: 1px solid rgba(255, 255, 255, 0.2); font: 500 18px var(--ih-font-display); color: #fff; }
.emblem-caption { position: absolute; bottom: 14px; color: var(--ih-muted); font: 600 10.5px var(--ih-font-mono); letter-spacing: 0.16em; }
.coverley-banner-copy h2 { margin: 14px 0 12px; font: 700 clamp(26px, 3.8vw, 44px) / 1.08 var(--ih-font-display); letter-spacing: -0.04em; }
.coverley-banner-copy p { margin: 0 0 22px; color: var(--ih-text-soft); font-size: 15.5px; }
.coverley-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 24px; }
.stat-box { padding: 14px; border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 12px; background: rgba(5, 7, 14, 0.65); }
.stat-box b { display: block; font: 700 22px var(--ih-font-display); background: var(--ih-spectrum-soft); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-box small { color: var(--ih-muted); font-size: 12px; }

.solution-card { padding: 34px 30px; display: flex; flex-direction: column; align-items: flex-start; }
.solution-pill { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: 99px; border: 1px solid rgba(255, 255, 255, 0.18); background: rgba(255, 255, 255, 0.06); font: 600 11px var(--ih-font-display); color: #fff; }
.solution-pill img.ih-icon { height: 13px; }
.solution-pill img.coverley-icon { width: 15px; height: 15px; }
.solution-card h3 { margin: 16px 0 6px; font: 700 28px var(--ih-font-display); letter-spacing: -0.035em; }
.solution-sub { margin: 0 0 12px; color: var(--ih-text-soft); font: 500 15.5px var(--ih-font-display); }
.solution-card > p:not(.solution-sub) { margin: 0 0 24px; color: var(--ih-muted); font-size: 14.5px; }

.newsletter-box {
  max-width: 860px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 52px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 22px;
  background: radial-gradient(circle at 50% 0%, rgba(var(--ih-accent-rgb-2), 0.2), transparent 62%), linear-gradient(145deg, #121629, #090c16);
  text-align: center;
}
.newsletter-box h2 { margin: 14px 0 8px; font: 700 clamp(25px, 3.6vw, 38px) var(--ih-font-display); }
.newsletter-box > p { margin: 0 0 24px; color: var(--ih-muted); font-size: 15px; }
.newsletter-topics { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 20px; }
.topic-pill { display: inline-flex; align-items: center; padding: 8px 14px; border: 1px solid var(--ih-border); border-radius: 99px; background: rgba(5, 7, 14, 0.72); color: var(--ih-text-soft); font-size: 13px; cursor: pointer; }
.topic-pill input { display: none; }
.topic-pill.is-checked { border-color: var(--ih-accent-2); background: rgba(var(--ih-accent-rgb-2), 0.22); color: #fff; }
.newsletter-input-row { display: flex; gap: 10px; max-width: 540px; margin: 0 auto 14px; }
.newsletter-input-row input { flex: 1; min-width: 0; min-height: 48px; padding: 0 16px; border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 10px; background: rgba(5, 7, 14, 0.92); color: #fff; font-size: 14.5px; }
.newsletter-consent { display: inline-flex; align-items: center; gap: 8px; color: var(--ih-muted); font-size: 12.5px; cursor: pointer; }
.newsletter-feedback { min-height: 22px; margin: 14px 0 0; color: var(--ih-accent-mint); font-size: 13.5px; font-weight: 500; }
.newsletter-feedback.is-error { color: #ff8e80; }

.faq-section { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 44px; border-top: 1px solid var(--ih-border); }
.faq-intro h2 { margin: 14px 0 12px; font: 700 clamp(28px, 3.8vw, 44px) / 1.08 var(--ih-font-display); letter-spacing: -0.04em; }
.faq-intro p { margin: 0 0 18px; color: var(--ih-muted); font-size: 15px; }
.faq-search { width: 100%; min-height: 42px; padding: 0 14px; border: 1px solid var(--ih-border); border-radius: 10px; background: rgba(255, 255, 255, 0.04); color: #fff; font-size: 13.5px; }
.faq-list { border-top: 1px solid var(--ih-border); }
.faq-list details { border-bottom: 1px solid var(--ih-border); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 19px 2px; font: 600 15.5px var(--ih-font-display); list-style: none; cursor: pointer; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary i { color: var(--ih-accent-2); font-style: normal; font-size: 20px; transition: transform 0.2s; }
.faq-list details[open] summary i { transform: rotate(45deg); }
.faq-list details p { margin: -4px 0 19px; color: var(--ih-muted); font-size: 14.5px; line-height: 1.7; }

.closing-section {
  position: relative;
  overflow: hidden;
  padding: clamp(70px, 9vw, 104px) 24px;
  border-top: 1px solid var(--ih-border);
  background:
    radial-gradient(ellipse 65% 55% at 50% 45%, rgba(var(--ih-accent-rgb-2), 0.22), transparent 65%),
    radial-gradient(ellipse 50% 45% at 20% 80%, rgba(var(--ih-accent-rgb-1), 0.14), transparent 60%),
    radial-gradient(ellipse 50% 45% at 80% 20%, rgba(var(--ih-accent-rgb-3), 0.16), transparent 60%),
    var(--ih-bg);
  text-align: center;
}
.closing-content { max-width: 720px; margin: 0 auto; }
.closing-logo { height: 48px; margin: 0 auto 20px; filter: drop-shadow(0 0 calc(32px * var(--ih-glow-strength)) rgba(var(--ih-accent-rgb-2), 0.58)); }
.closing-content h2 { margin: 14px 0 14px; font: 700 clamp(34px, 5.4vw, 64px) / 1.04 var(--ih-font-display); letter-spacing: -0.045em; }
.closing-content h2 em { font-family: Georgia, serif; font-weight: 400; color: transparent; background: var(--ih-spectrum-soft); -webkit-background-clip: text; background-clip: text; }
.closing-content p { margin: 0 auto 28px; max-width: 560px; color: var(--ih-text-soft); font-size: 15.5px; }
.closing-cta-group { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }

.giant-wordmark { overflow: hidden; padding: 18px 16px 6px; border-top: 1px solid rgba(255, 255, 255, 0.06); background: var(--ih-bg-deep); text-align: center; }
.giant-wordmark span { display: block; font: 700 clamp(24px, 6.5vw, 94px) / 0.96 var(--ih-font-display); letter-spacing: -0.05em; color: rgba(255, 255, 255, 0.055); white-space: nowrap; }

.site-footer { display: grid; grid-template-columns: 1.1fr 1.2fr auto; align-items: center; gap: 24px; max-width: var(--ih-max-w); margin: 0 auto; padding: 32px 28px 46px; border-top: 1px solid var(--ih-border); color: var(--ih-muted); font-size: 13.5px; }
.footer-brand-stack { display: flex; flex-direction: column; gap: 8px; }
.footer-coverley-credit { display: inline-flex; align-items: center; gap: 8px; color: var(--ih-text-soft); font-size: 13px; }
.footer-coverley-credit img { width: 18px; height: 18px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 16px; }
.site-footer nav a:hover { color: #fff; }
.footer-copy { grid-column: 1 / -1; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, 0.06); font: 500 11.5px var(--ih-font-mono); letter-spacing: 0.08em; }

/* Changelog Evolution Timeline (#changelog) */
.changelog-timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-left: 22px;
  border-left: 2px solid rgba(var(--ih-accent-rgb-2), 0.34);
}
.changelog-entry {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 16px;
  background: linear-gradient(155deg, rgba(16, 20, 36, 0.92), rgba(9, 12, 22, 0.96));
  overflow: hidden;
  transition: border-color 0.22s ease, transform 0.22s var(--ih-ease);
}
.changelog-entry:hover { border-color: rgba(var(--ih-accent-rgb-2), 0.45); }
.changelog-entry::before {
  content: '';
  position: absolute;
  left: -29px;
  top: 24px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--ih-bg);
  background: var(--ih-accent-2);
  box-shadow: 0 0 14px rgba(var(--ih-accent-rgb-2), 0.65);
}
.changelog-entry.is-latest {
  border-color: rgba(var(--ih-accent-rgb-2), 0.52);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.45);
}
.changelog-entry summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 18px 22px;
  cursor: pointer;
  list-style: none;
}
.changelog-entry summary::-webkit-details-marker { display: none; }
.changelog-head-left { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.changelog-ver-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 11px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
  font: 700 12px var(--ih-font-mono);
}
.changelog-entry.is-latest .changelog-ver-badge {
  background: var(--ih-spectrum);
  border-color: transparent;
}
.changelog-date { color: var(--ih-muted); font: 500 11.5px var(--ih-font-mono); }
.changelog-title { margin: 0; font: 700 16px var(--ih-font-display); color: #f5f8ff; }
.changelog-body {
  padding: 0 22px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}
.changelog-group-label {
  display: inline-block;
  margin: 14px 0 8px;
  padding: 2px 8px;
  border-radius: 6px;
  background: rgba(74, 222, 184, 0.12);
  border: 1px solid rgba(74, 222, 184, 0.3);
  color: var(--ih-accent-mint);
  font: 700 10px var(--ih-font-mono);
  letter-spacing: 0.09em;
}
.changelog-group-label.is-changed { background: rgba(56, 189, 248, 0.12); border-color: rgba(56, 189, 248, 0.3); color: var(--ih-accent-cyan); }
.changelog-group-label.is-fixed { background: rgba(255, 202, 104, 0.12); border-color: rgba(255, 202, 104, 0.3); color: #ffca68; }
.changelog-group-label.is-security { background: rgba(200, 62, 242, 0.14); border-color: rgba(200, 62, 242, 0.35); color: #e9a8ff; }
.changelog-list { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 7px; color: var(--ih-text-soft); font-size: 13.5px; line-height: 1.62; }
.changelog-list strong { color: #fff; }
.changelog-list code { padding: 1px 5px; border-radius: 5px; background: rgba(255, 255, 255, 0.07); color: #9ee3ff; font: 500 12px var(--ih-font-mono); }

.webui-diff-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 10px;
  margin-bottom: 8px;
  border: 1px solid rgba(74, 222, 184, 0.25);
  border-radius: 9px;
  background: rgba(74, 222, 184, 0.06);
  font: 600 11px var(--ih-font-mono);
  color: #d6e4ff;
}
.webui-diff-add { color: var(--ih-accent-mint); }
.webui-diff-del { color: #ff8e80; }

/* ==========================================================================
   8. THEME ORB BAR, MOBILE BOTTOM DOCK, MODALS & DOWNLOAD/ERROR PAGES
   ========================================================================== */

.theme-orb-bar {
  position: fixed;
  z-index: 90;
  right: 18px;
  bottom: 20px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 99px;
  background: rgba(10, 13, 24, 0.9);
  backdrop-filter: blur(18px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.58);
}
.theme-orb-bar .theme-swatch {
  appearance: none;
  -webkit-appearance: none;
  padding: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.16);
  background-origin: border-box !important;
  background-clip: border-box !important;
  background-repeat: no-repeat !important;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.18s var(--ih-ease), border-color 0.2s, box-shadow 0.2s;
}
.theme-orb-bar .theme-swatch:hover { transform: scale(1.18); border-color: rgba(255, 255, 255, 0.65); }
.theme-orb-bar .theme-swatch.is-active { border-color: #fff; box-shadow: 0 0 12px rgba(255, 255, 255, 0.6); }
.honeypot-field { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }

.mobile-dock {
  display: none;
  position: fixed;
  z-index: 95;
  left: 14px;
  right: 14px;
  bottom: max(12px, env(safe-area-inset-bottom));
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 4px;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(18, 21, 34, 0.94), rgba(9, 11, 20, 0.97));
  backdrop-filter: blur(26px) saturate(140%);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.78), inset 0 1px 0 rgba(255, 255, 255, 0.14);
}
.mobile-dock a, .mobile-dock button {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 52px;
  border: 0;
  border-radius: 16px;
  background: transparent;
  color: #8f96ad;
  font: 600 10px var(--ih-font-display);
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: color 0.2s ease, background 0.22s ease, transform 0.16s var(--ih-ease);
}
.mobile-dock a:active, .mobile-dock button:active { transform: scale(0.93); }
.mobile-dock svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.2s var(--ih-ease); }
.mobile-dock a.is-current {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
}
.mobile-dock a.is-current::after {
  content: '';
  position: absolute;
  bottom: 4px;
  width: 16px;
  height: 2px;
  border-radius: 99px;
  background: var(--ih-spectrum);
}
.mobile-dock a.is-current svg { transform: translateY(-1px); }

.ih-modal { width: min(620px, calc(100% - 24px)); padding: 0; border: 1px solid var(--ih-border-strong); border-radius: 18px; background: #0c101e; color: var(--ih-text); box-shadow: 0 32px 96px rgba(0, 0, 0, 0.82); }
.ih-modal::backdrop { background: rgba(3, 5, 11, 0.82); backdrop-filter: blur(10px); }
.cmd-search-bar { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--ih-border); }
.cmd-search-bar img { height: 14px; }
.cmd-search-bar input { flex: 1; border: 0; background: transparent; color: #fff; font-size: 15px; outline: none; }
.cmd-kbd { padding: 3px 7px; border: 1px solid var(--ih-border); border-radius: 5px; color: var(--ih-muted); font: 500 11px var(--ih-font-mono); }
.cmd-list { max-height: 330px; overflow-y: auto; padding: 10px; }
.cmd-item { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; padding: 11px 14px; border: 0; border-radius: 9px; background: transparent; color: var(--ih-text-soft); text-align: left; cursor: pointer; }
.cmd-item:hover { background: rgba(255, 255, 255, 0.09); color: #fff; }
.cmd-item small { color: var(--ih-muted); font: 500 11.5px var(--ih-font-mono); }

/* Download Page */
.download-main { max-width: 1140px; margin: 0 auto; padding: 48px 24px 96px; }
.download-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 5vw, 54px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 22px;
  background: radial-gradient(ellipse at 85% 20%, rgba(var(--ih-accent-rgb-3), 0.22), transparent 52%), radial-gradient(ellipse at 12% 90%, rgba(var(--ih-accent-rgb-1), 0.16), transparent 50%), linear-gradient(135deg, #10152a, #090c17);
}
.download-hero h1 { margin: 18px 0 14px; font: 700 clamp(34px, 5.8vw, 66px) / 1.02 var(--ih-font-display); letter-spacing: -0.045em; }
.download-hero h1 em { font-family: Georgia, serif; font-weight: 400; color: transparent; background: var(--ih-spectrum-soft); -webkit-background-clip: text; background-clip: text; }
.download-hero > p { max-width: 620px; margin: 0; color: var(--ih-text-soft); font-size: 15.5px; }
.download-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.download-facts { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 26px; color: var(--ih-muted); font: 500 11.5px var(--ih-font-mono); letter-spacing: 0.08em; }
.detected-os-pill { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; padding: 6px 12px; border: 1px solid rgba(74, 222, 184, 0.3); border-radius: 99px; background: rgba(74, 222, 184, 0.08); color: var(--ih-accent-mint); font: 600 12px var(--ih-font-mono); }
.cli-install-section { margin-top: 38px; padding: clamp(22px, 4vw, 38px); border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 20px; background: linear-gradient(150deg, #101526, #090c16); }
.cli-install-head { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 22px; }
.cli-install-head h2 { margin: 10px 0 6px; font: 700 clamp(22px, 3.6vw, 34px) var(--ih-font-display); }
.cli-install-head p { margin: 0; color: var(--ih-muted); font-size: 14.5px; }
.cli-coverley-badge { display: grid; place-items: center; flex: none; width: 58px; height: 58px; padding: 11px; border: 1px solid rgba(255, 255, 255, 0.18); border-radius: 15px; background: #0b0f1d; box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45); }
.cli-coverley-badge img { width: 34px; height: 34px; }
.cli-platform-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid var(--ih-border); }
.cli-platform-tab {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid var(--ih-border);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--ih-text-soft);
  font: 600 13px var(--ih-font-display);
  cursor: pointer;
  transition: all 0.2s var(--ih-ease);
}
.cli-platform-tab:hover { border-color: rgba(255, 255, 255, 0.3); color: #fff; }
.cli-platform-tab .os-logo-svg { width: 16px; height: 16px; fill: currentColor; flex: none; }
.cli-platform-tab.is-active { border-color: #f5f7fc; background: #f5f7fc; color: #07090f; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4); }
.os-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 14px;
  padding: 5px 12px;
  border-radius: 99px;
  border: 1px solid rgba(74, 222, 184, 0.34);
  background: rgba(74, 222, 184, 0.09);
  color: var(--ih-accent-mint);
  font: 600 11.5px var(--ih-font-mono);
}
.os-status-pill.is-note {
  border-color: rgba(56, 189, 248, 0.34);
  background: rgba(56, 189, 248, 0.09);
  color: var(--ih-accent-cyan);
}
.os-compat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}
.os-compat-card {
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 12px;
  background: rgba(5, 7, 15, 0.72);
}
.os-compat-card small { display: block; color: var(--ih-muted); font: 600 10px var(--ih-font-mono); letter-spacing: 0.08em; }
.os-compat-card b { display: block; margin: 4px 0 3px; font: 700 14px var(--ih-font-display); color: #fff; }
.os-compat-card span { color: var(--ih-text-soft); font-size: 12.5px; line-height: 1.5; }
.cli-command-panel[hidden] { display: none; }
.cli-command-group + .cli-command-group { margin-top: 16px; }
.cli-command-group h3 { margin: 0 0 8px; font: 600 14px var(--ih-font-display); color: var(--ih-text-soft); }
.cli-command-row { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 11px; background: #050710; }
.cli-command-row code { flex: 1; min-width: 0; overflow-wrap: anywhere; color: #dbe7ff; font: 400 13px/1.5 var(--ih-font-mono); }
.cli-copy-button { flex: none; padding: 7px 14px; border: 1px solid rgba(255, 255, 255, 0.18); border-radius: 8px; background: rgba(255, 255, 255, 0.08); color: #fff; font: 600 12.5px var(--ih-font-display); cursor: pointer; }
.cli-copy-status { min-height: 20px; margin: 10px 0 0; color: var(--ih-accent-mint); font-size: 13px; }
.download-grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 24px; }
.download-info-card { padding: 24px; }
.download-info-card h3 { margin: 12px 0 8px; font: 700 18px var(--ih-font-display); }
.download-info-card p { margin: 0; color: var(--ih-muted); font-size: 14px; }
.download-info-card code { display: inline-block; margin-top: 10px; padding: 6px 10px; border: 1px solid var(--ih-border); border-radius: 6px; background: #050710; color: var(--ih-accent-cyan); font: 500 12.5px var(--ih-font-mono); }

/* Error Page */
body.error-page { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; background: radial-gradient(ellipse at 82% 38%, rgba(var(--ih-accent-rgb-3), 0.2), transparent 46%), radial-gradient(ellipse at 14% 86%, rgba(var(--ih-accent-rgb-1), 0.16), transparent 46%), var(--ih-bg); }
.error-shell { width: min(1040px, calc(100% - 28px)); margin: auto; padding: 24px 0; }
.error-header, .error-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.error-header { margin-bottom: 18px; }
.error-card { position: relative; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 26px; align-items: center; padding: clamp(24px, 5vw, 50px); border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 22px; background: linear-gradient(140deg, rgba(16, 20, 36, 0.94), rgba(9, 11, 22, 0.97)); box-shadow: 0 28px 90px rgba(0, 0, 0, 0.65); overflow: hidden; }
.error-card::before { content: ''; position: absolute; top: 0; left: 10%; right: 10%; height: 2px; background: var(--ih-spectrum); }
.error-code { margin: 12px 0 4px; font: 700 clamp(68px, 11vw, 120px) / 0.88 var(--ih-font-display); letter-spacing: -0.06em; background: var(--ih-spectrum); -webkit-background-clip: text; background-clip: text; color: transparent; }
.error-copy h1 { margin: 12px 0 10px; font: 700 clamp(22px, 3.2vw, 36px) / 1.12 var(--ih-font-display); }
.error-message { margin: 0; color: var(--ih-text-soft); font-size: 15px; }
.error-reassure { margin-top: 14px; color: var(--ih-accent-mint); font-size: 13.5px; }
.error-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.error-code-switcher { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; pointer-events: none; user-select: none; }
.error-code-pill { padding: 4px 10px; border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 99px; background: rgba(255, 255, 255, 0.025); color: rgba(255, 255, 255, 0.32); font: 600 11px var(--ih-font-mono); cursor: default; pointer-events: none; }
.error-code-pill.is-active { border-color: var(--ih-accent-2); color: #fff; background: rgba(var(--ih-accent-rgb-2), 0.24); box-shadow: 0 0 16px rgba(var(--ih-accent-rgb-2), 0.3); }
.error-art { position: relative; display: grid; place-items: center; min-height: 290px; border: 1px solid rgba(255, 255, 255, 0.09); border-radius: 16px; background: radial-gradient(circle at 50% 50%, rgba(var(--ih-accent-rgb-2), 0.18), rgba(5, 6, 12, 0.94) 70%); overflow: hidden; }
.error-orbit { position: absolute; width: 84%; height: 44%; border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 50%; transform: rotate(-22deg); animation: spinSlow 18s linear infinite; }
.error-orbit-two { width: 72%; height: 34%; border-color: rgba(56, 189, 248, 0.25); transform: rotate(32deg); animation-direction: reverse; }
.error-infinity { position: relative; z-index: 2; height: 92px; filter: drop-shadow(0 0 28px rgba(var(--ih-accent-rgb-2), 0.55)); animation: floatY 5.5s ease-in-out infinite; }
.error-transmission { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding: 13px 16px; border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 11px; background: rgba(255, 255, 255, 0.025); font-size: 13px; color: var(--ih-text-soft); }
.error-footer { margin-top: 16px; color: var(--ih-muted); font: 500 12px var(--ih-font-mono); }

/* ==========================================================================
   9. FORTRESS ADMIN CONSOLE (/admin)
   ========================================================================== */

[hidden] { display: none !important; }
.admin-main { max-width: var(--ih-max-w); margin: 0 auto; padding: 36px 24px 80px; }
.admin-login-wrap { display: grid; place-items: center; min-height: 70vh; }
.admin-login-card { padding: 34px 28px; text-align: center; }
.admin-vault-emblems { display: flex; align-items: center; justify-content: center; gap: 14px; margin-bottom: 18px; }
.admin-login-card h1 { margin: 14px 0 8px; font: 700 28px var(--ih-font-display); }
.admin-login-card p { margin: 0 0 22px; color: var(--ih-muted); font-size: 13.5px; }
.admin-topbar { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-bottom: 20px; }
.admin-topbar h2 { margin: 8px 0 0; font: 700 clamp(24px, 3.2vw, 34px) var(--ih-font-display); }
.admin-topbar-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.admin-toast { padding: 11px 16px; margin: 0 0 18px; border: 1px solid rgba(74, 222, 184, 0.4); border-radius: 10px; background: rgba(74, 222, 184, 0.12); color: var(--ih-accent-mint); font-size: 13.5px; font-weight: 500; }
.admin-toast.is-error { border-color: rgba(255, 81, 47, 0.5); background: rgba(255, 81, 47, 0.16); color: #ff9c88; }
.admin-tabs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 14px; margin-bottom: 20px; border-bottom: 1px solid var(--ih-border); scrollbar-width: none; }
.admin-tab { flex: none; padding: 9px 15px; border: 1px solid var(--ih-border); border-radius: 99px; background: rgba(255, 255, 255, 0.04); color: var(--ih-text-soft); font: 600 13px var(--ih-font-display); cursor: pointer; }
.admin-tab.is-active { border-color: transparent; background: var(--ih-spectrum); color: #fff; }
.admin-kpi-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; margin-bottom: 20px; }
.admin-kpi { padding: 16px; border: 1px solid var(--ih-border); border-radius: 13px; background: rgba(12, 16, 29, 0.9); }
.admin-kpi small { display: block; color: var(--ih-muted); font: 600 10px var(--ih-font-mono); letter-spacing: 0.08em; }
.admin-kpi b { display: block; margin-top: 6px; font: 700 24px var(--ih-font-display); background: var(--ih-spectrum-soft); -webkit-background-clip: text; background-clip: text; color: transparent; }
.admin-grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.admin-card { padding: 24px; border: 1px solid var(--ih-border); border-radius: 16px; background: rgba(12, 16, 29, 0.9); }
.admin-card h3 { margin: 0 0 16px; font: 700 18px var(--ih-font-display); }
.admin-form { display: flex; flex-direction: column; gap: 13px; text-align: left; }
.admin-field { display: flex; flex-direction: column; gap: 6px; }
.admin-field span { color: var(--ih-muted); font: 600 10.5px var(--ih-font-mono); letter-spacing: 0.09em; }
.admin-field input, .admin-field textarea, .admin-field select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 9px;
  background: #060812;
  color: #fff;
  font-size: 13.5px;
}
.admin-field input[type="color"] { height: 42px; padding: 4px; cursor: pointer; }
.mono-input { font-family: var(--ih-font-mono) !important; font-size: 12.5px !important; }
.admin-check { display: inline-flex; align-items: center; gap: 9px; font-size: 13.5px; color: var(--ih-text-soft); cursor: pointer; }
.admin-color-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.admin-msg { min-height: 18px; margin: 4px 0 0; font-size: 13px; color: #ff9c88; }
.admin-table-wrap { overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.admin-table th, .admin-table td { padding: 9px 8px; text-align: left; border-bottom: 1px solid rgba(255, 255, 255, 0.07); }
.admin-table th { color: var(--ih-muted); font: 600 11px var(--ih-font-mono); }
.admin-audit-list { display: flex; flex-direction: column; gap: 8px; }
.audit-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 11px; border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 9px; background: rgba(5, 7, 14, 0.72); font-size: 12.5px; }
.audit-row small { color: var(--ih-muted); font: 500 11px var(--ih-font-mono); flex: none; }
.admin-grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.admin-toggle-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 12px; border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 12px; background: rgba(5, 7, 14, 0.65); }
.admin-slider-row { display: grid; grid-template-columns: 1fr 78px; align-items: center; gap: 10px; }
.admin-slider-row input[type="range"] { accent-color: var(--ih-accent-2); cursor: pointer; padding: 0; border: 0; background: transparent; }
.admin-spectrum-preview { height: 22px; border-radius: 11px; border: 1px solid rgba(255, 255, 255, 0.22); background: var(--ih-spectrum); box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45); transition: background 0.2s ease; }
.admin-quick-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; margin-bottom: 18px; border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 14px; background: rgba(10, 13, 24, 0.85); }
.admin-subcard { padding: 14px; border: 1px solid rgba(255, 255, 255, 0.09); border-radius: 12px; background: rgba(5, 7, 15, 0.65); }
.admin-subcard h4 { margin: 0 0 10px; font: 700 14px var(--ih-font-display); color: #e9efff; }
.admin-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }

/* ==========================================================================
   10. ANIMATIONS & RESPONSIVE BREAKPOINTS (320px -> 4K)
   ========================================================================== */

.js-ready .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s var(--ih-ease), transform 0.6s var(--ih-ease); }
.js-ready .reveal.is-visible { opacity: 1; transform: translateY(0); }

@keyframes pulseDot { 0%, 100% { opacity: 0.45; transform: scale(0.88); } 50% { opacity: 1; transform: scale(1.22); } }
@keyframes fadeUp { from { opacity: 0.2; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes spinSlow { to { transform: rotate(360deg); } }
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@keyframes gradientFlow { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
@keyframes marqueeScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes blinkCursor { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
@keyframes infinityDash { from { stroke-dashoffset: 900; } to { stroke-dashoffset: 0; } }

@media (max-width: 1060px) {
  .hero-wrap { grid-template-columns: minmax(0, 1fr); padding-top: 36px; min-height: auto; }
  .infinity-stage, .suite-grid, .solutions-grid, .coverley-banner, .faq-section, .error-card, .admin-grid-2, .hw-bench-visual-row, .showcase-grid { grid-template-columns: minmax(0, 1fr); }
  .hw-config-grid, .hw-search-grid, .hw-stats-bar, .pillars-grid, .releases-grid, .news-grid, .download-grid-3, .os-compat-grid, .license-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-kpi-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 980px) {
  .coverley-by-badge, .cmd-trigger { display: none; }
  .menu-toggle { display: block; }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px 22px 24px;
    border-bottom: 1px solid var(--ih-border-strong);
    background: #070914;
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.92);
  }
  .main-nav.is-open { display: flex; animation: fadeUp 0.22s var(--ih-ease); }
  .main-nav a { padding: 14px 4px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); font-size: 15px; }
  .main-nav a::after { display: none; }
  .site-header.is-menu-open .menu-toggle span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .site-header.is-menu-open .menu-toggle span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
}

@media (max-width: 768px) {
  body:not(.admin-page) { padding-bottom: 84px; }
  .mobile-dock { display: grid; }
  .theme-orb-bar { right: 12px; bottom: 82px; padding: 6px 8px; }

  .site-header { height: 62px; padding: 0 12px; gap: 8px; }
  .brand-wrap { gap: 6px; min-width: 0; }
  .brand { font-size: 14.5px; gap: 7px; }
  .brand-icon { height: 15px; }
  .header-actions { gap: 6px; }
  .icon-pill-btn { min-width: 34px; height: 34px; padding: 0 8px; font-size: 11px; }
  .button-header { padding: 0 10px; font-size: 11.5px; min-height: 34px; gap: 4px; }
  .menu-toggle { width: 34px; height: 34px; padding: 7px; }
  .menu-toggle span { margin: 4.5px 0; }

  .announcement { font-size: 11.5px; padding: 8px 36px 8px 12px; justify-content: flex-start; }
  .hero-wrap { padding: 24px 14px 24px; gap: 22px; }
  .hero h1 { font-size: clamp(34px, 10.2vw, 50px); }
  .hero-quick-cmd { padding: 6px 8px 6px 10px; gap: 8px; }
  .hero-quick-cmd code { font-size: 11.5px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .button { width: 100%; }
  .hero-medallion-bar { flex-wrap: wrap; }
  .hero-bottom { padding: 4px 14px 20px; font-size: 10px; }
  .hero-bottom > span:last-child { display: none; }

  .section-wrap { padding: 52px 14px; }
  .coverley-banner-wrap { padding: 8px 14px 52px; }
  .hw-filter-toolbar, .hw-search-grid, .hw-config-grid, .hw-stats-bar, .pillars-grid, .releases-grid, .news-grid,
  .download-grid-3, .os-compat-grid, .license-grid, .lab-interactive-grid, .coverley-stats, .telemetry-kpis, .infinity-phases {
    grid-template-columns: minmax(0, 1fr);
  }
  .admin-kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .newsletter-input-row { flex-direction: column; }
  .site-footer { grid-template-columns: minmax(0, 1fr); padding: 28px 14px 36px; }
  .download-main, .legal-main, .admin-main { padding: 24px 14px 64px; }
  .cli-install-head { flex-direction: column; align-items: flex-start; }
  .cli-command-row { flex-direction: column; align-items: stretch; }
  .cli-copy-button { width: 100%; }
}

/* ==========================================================================
   11. UNSLOP INSTRUMENT-GRADE CRAFT LAYER (9-Pass Discipline)
   ========================================================================== */

/* Calm Surfaces — Remove all radial color washes, neon halos, and glowing frames */
.hero-backdrop,
#horizon-canvas,
.ih-cursor-dot,
.ih-cursor-ring,
.emblem-beam,
.emblem-ring {
  display: none !important;
}

.announcement {
  background: var(--ih-bg-deep);
  border-bottom: 1px solid var(--ih-border);
  min-height: 40px;
  padding: 8px 40px 8px 16px;
}
.announcement-pill {
  border-radius: 6px;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-transform: none;
}

.site-header {
  height: 64px;
  background: rgba(11, 13, 20, 0.92);
  border-bottom: 1px solid var(--ih-border);
  box-shadow: none;
}
.site-header.is-scrolled {
  background: rgba(11, 13, 20, 0.98);
  box-shadow: none;
}
.brand { font-weight: 500; font-size: 16px; letter-spacing: -0.02em; }
.brand-icon { filter: none !important; }
.brand:hover .brand-icon { transform: none; }

.coverley-by-badge {
  border-radius: 6px;
  border-color: var(--ih-border);
  background: var(--ih-bg-elevated);
  font-weight: 500;
  letter-spacing: 0.01em;
}
.main-nav a { font-size: 14px; font-weight: 400; color: var(--ih-text-soft); }
.main-nav a::after { height: 1px; background: var(--ih-text); }

/* Primary & Secondary Buttons — Off-white primary on dark, quiet raised secondary */
.button {
  min-height: 44px;
  padding: 0 20px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0;
  transition: color 0.16s var(--ih-ease), background-color 0.16s var(--ih-ease), border-color 0.16s var(--ih-ease), transform 0.14s var(--ih-ease);
}
.button:hover { transform: none; }
.button:active { transform: scale(0.98); }
.button-primary {
  background: var(--ih-text) !important;
  color: var(--ih-bg-deep) !important;
  border: 1px solid transparent !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
}
.button-primary:hover {
  background: #ffffff !important;
  box-shadow: none !important;
}
.button-light {
  background: var(--ih-surface-strong) !important;
  color: var(--ih-text) !important;
  border: 1px solid var(--ih-border-strong) !important;
  box-shadow: none !important;
}
.button-light:hover {
  background: #232836 !important;
  border-color: rgba(238, 240, 245, 0.22) !important;
}
.button-header {
  min-height: 36px;
  padding: 0 16px;
  border-radius: 8px;
  background: var(--ih-text);
  color: var(--ih-bg-deep);
  font-weight: 500;
}
.icon-pill-btn {
  height: 36px;
  min-width: 36px;
  border-radius: 8px;
  border-color: var(--ih-border);
  background: var(--ih-bg-elevated);
  transition: color 0.16s var(--ih-ease), background-color 0.16s var(--ih-ease), border-color 0.16s var(--ih-ease);
}

/* Type Hierarchy — Weights 400–500, no gradient text, no Georgia italic, tabular figures */
h1, h2, h3, h4,
.hero h1,
.section-heading h2,
.closing-content h2,
.download-hero h1,
.legal-hero h1,
.admin-topbar h2,
.admin-login-card h1,
.error-copy h1 {
  font-family: var(--ih-font-display);
  font-weight: 500 !important;
  background: none !important;
  -webkit-background-clip: border-box !important;
  background-clip: border-box !important;
  color: var(--ih-text) !important;
}
.hero h1 { font-size: clamp(36px, 4.6vw, 60px); line-height: 1.05; letter-spacing: -0.03em; }
.hero h1 em,
.closing-content h2 em,
.download-hero h1 em,
.legal-hero h1 em {
  font-family: var(--ih-font-display) !important;
  font-style: normal !important;
  font-weight: 500 !important;
  background: none !important;
  -webkit-background-clip: border-box !important;
  background-clip: border-box !important;
  color: var(--ih-text-soft) !important;
}
.hero-lede {
  font-size: 16px;
  line-height: 1.6;
  max-width: 36rem;
  color: var(--ih-text-soft);
}

/* Quiet Sentence-Case Meta & Labels — No uppercase wide-tracking slop */
.section-kicker,
.eyebrow,
.hero-bottom,
.footer-copy,
.admin-field span,
.hw-select-box label,
.pstat small,
.tkpi small,
.admin-kpi small,
.os-compat-card small,
.showcase-body small,
.showcase-video-head small,
.inf-phase-card small,
.pc-presets-label,
.mem-map-head,
.hw-bench-chart-head {
  letter-spacing: 0.01em !important;
  text-transform: none !important;
  font-weight: 400 !important;
}
.eyebrow,
.version-chip,
.uncensored-pill {
  border-radius: 6px !important;
  border: 1px solid var(--ih-border) !important;
  background: var(--ih-bg-elevated) !important;
  color: var(--ih-text-soft) !important;
  box-shadow: none !important;
  padding: 4px 10px !important;
  font: 500 12px/1.3 var(--ih-font-mono) !important;
}

/* Numbers — Tabular Figures, Solid Text (No Gradient Numbers) */
.hero-metric b,
.stat-box b,
.admin-kpi b,
.pstat b,
.tkpi b,
.error-code {
  font-variant-numeric: tabular-nums;
  font-weight: 500 !important;
  background: none !important;
  -webkit-background-clip: border-box !important;
  background-clip: border-box !important;
  color: var(--ih-text) !important;
}
.pstat b, .tkpi b, .admin-kpi b, .stat-box b { letter-spacing: -0.02em; }
.pstat-bar i, .webui-progress-fill, .scroll-progress {
  background: var(--ih-accent) !important;
  box-shadow: none !important;
}

/* Cards, Workbench & Panels — Flat Ink Surfaces + Hairline Borders */
.prism-frame {
  padding: 1px;
  border-radius: 16px;
  background: var(--ih-border-strong) !important;
  box-shadow: 0 20px 56px rgba(0, 0, 0, 0.45) !important;
}
.prism-frame::before, .prism-frame::after { display: none !important; }
.prism-inner,
.workbench {
  border-radius: 15px;
  background: var(--ih-bg-elevated) !important;
}

.spotlight-card,
.hw-shell,
.showcase-card,
.showcase-video-card,
.news-card,
.newsletter-box,
.coverley-banner,
.download-hero,
.cli-install-section,
.admin-card,
.admin-kpi,
.admin-quick-bar,
.changelog-entry,
.error-card,
.inf-phase-card {
  background: var(--ih-surface) !important;
  border: 1px solid var(--ih-border) !important;
  border-radius: 12px !important;
  box-shadow: none !important;
  transform: none !important;
  transition: border-color 0.16s var(--ih-ease), background-color 0.16s var(--ih-ease) !important;
}
.spotlight-card::before,
.error-card::before { display: none !important; }
.spotlight-card:hover,
.showcase-card:hover,
.news-card:hover,
.changelog-entry:hover {
  border-color: var(--ih-border-strong) !important;
  transform: none !important;
}

.closing-section {
  background: var(--ih-bg-deep) !important;
  border-top: 1px solid var(--ih-border);
}
.closing-logo, .error-infinity { filter: none !important; animation: none !important; }

/* Active States & Tabs — Quiet Raised Surface + Accent Hairline (No Rainbow Pills) */
.workspace-tab,
.filter-chip,
.pc-preset-btn,
.hw-cat-pill,
.admin-tab,
.cli-platform-tab,
.topic-pill,
.term-chip,
.webui-prompt-chip,
.legal-pill {
  border-radius: 8px !important;
  border: 1px solid var(--ih-border) !important;
  background: var(--ih-bg-elevated) !important;
  color: var(--ih-text-soft) !important;
  font-weight: 500 !important;
  box-shadow: none !important;
  transition: color 0.16s var(--ih-ease), background-color 0.16s var(--ih-ease), border-color 0.16s var(--ih-ease) !important;
}
.workspace-tab.is-active,
.filter-chip.is-active,
.pc-preset-btn.is-active,
.hw-cat-pill.is-active,
.admin-tab.is-active,
.cli-platform-tab.is-active,
.topic-pill.is-checked,
.term-chip.is-highlight,
.legal-pill.is-active {
  background: var(--ih-surface-strong) !important;
  border-color: var(--ih-accent) !important;
  color: var(--ih-text) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
}

.changelog-entry.is-latest { border-color: var(--ih-accent) !important; box-shadow: none !important; }
.changelog-entry::before { background: var(--ih-accent); box-shadow: none !important; }
.changelog-ver-badge { border-radius: 6px !important; background: var(--ih-surface-strong) !important; border: 1px solid var(--ih-border-strong) !important; }
.changelog-entry.is-latest .changelog-ver-badge { background: var(--ih-accent) !important; color: #fff !important; border-color: transparent !important; }

/* Static Calm Capability Strip (Replaces looping marquee ticker slop) */
.marquee-strip {
  border-top: 1px solid var(--ih-border);
  border-bottom: 1px solid var(--ih-border);
  background: var(--ih-bg-deep);
  padding: 12px 24px;
}
.marquee-track {
  animation: none !important;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 24px;
  width: 100%;
}
.marquee-track .marquee-item:nth-child(n+12),
.marquee-track .marquee-dot:nth-child(n+12) { display: none; }
.marquee-item { font-size: 12px; font-weight: 400; letter-spacing: 0.01em; color: var(--ih-muted); }

/* Quiet Live Status Dot — Static, zero looping pulse */
.live-pulse-dot {
  animation: none !important;
  width: 6px;
  height: 6px;
  background: var(--ih-accent-mint);
  box-shadow: none !important;
}
.inf-phase-card:hover,
.inf-phase-card.is-lit {
  border-color: var(--ih-accent) !important;
  background: var(--ih-surface-strong) !important;
}
.infinity-stage {
  background: var(--ih-bg-elevated) !important;
  border: 1px solid var(--ih-border) !important;
  border-radius: 16px !important;
}
.infinity-svg { filter: none !important; }
.infinity-center-badge {
  background: var(--ih-bg-deep) !important;
  border: 1px solid var(--ih-border-strong) !important;
  box-shadow: none !important;
}
.inf-track-flow {
  stroke: var(--ih-accent) !important;
  animation: infinityDash calc(4.8s / var(--ih-anim-speed)) linear infinite !important;
}
.inf-track-flow-2 {
  stroke: var(--ih-accent-soft) !important;
  animation: infinityDash calc(4.8s / var(--ih-anim-speed)) linear infinite !important;
  animation-delay: -2.4s !important;
}
.error-orbit { animation: none !important; }
.emblem-coverley-box, .emblem-ih-box { box-shadow: none !important; border-color: var(--ih-border-strong); background: var(--ih-bg-deep); }

/* Keyboard Focus Ring */
:focus-visible {
  outline: 2px solid var(--ih-accent);
  outline-offset: 2px;
}

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