:root {
  --bg-void: #000000;
  --bg-surface-dark: #121214;
  --bg-surface-elevated: #18181b;
  --bg-smoke: #040d0f;
  --bg-white: #ffffff;
  --bg-stone: #f6f4ef;
  --border-stone: #e6e2d8;

  --ink-dark-primary: #ffffff;
  --ink-dark-secondary: #d4d4d8;
  --ink-dark-muted: #a1a1aa;

  --ink-light-primary: #111111;
  --ink-light-secondary: #525252;
  --ink-light-muted: #595959;

  --accent-dark: #34d399;
  --accent-light: #047857;
  --border-dark: rgba(255, 255, 255, 0.14);
  --border-light: rgba(17, 17, 17, 0.12);

  --font-sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-num: "Outfit", "Plus Jakarta Sans", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --radius-pill: 9999px;
  --radius-card: 18px;
  --radius-frame: 16px;
  --radius-control: 12px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

section[id],
#integrity-panel {
  scroll-margin-top: 86px;
}

body {
  margin: 0;
  background: var(--bg-void);
  color: var(--ink-dark-primary);
  font-family: var(--font-sans);
  line-height: 1.55;
  overflow-x: clip;
}

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

.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 200;
  background: #ffffff;
  color: #000000;
  font-weight: 600;
  padding: 12px 18px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  transition: top 0.15s ease;
}

.skip-link:focus {
  top: 16px;
}

:focus-visible {
  outline: 2px solid var(--accent-dark);
  outline-offset: 3px;
}

.showcase-section :focus-visible,
.steps-section :focus-visible,
.ecosystem-section :focus-visible {
  outline: 2px solid var(--accent-light);
  outline-offset: 3px;
}

/* Header Navigation */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 90;
  padding: 12px 24px;
  pointer-events: none;
}

.nav-shell {
  max-width: 1280px;
  margin: 0 auto;
  min-height: 52px;
  padding: 6px 12px 6px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  transition: background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  pointer-events: auto;
}

/* R-10 glassmorphism #1: floating navbar when scrolled past hero */
.site-header.is-scrolled .nav-shell {
  background: rgba(13, 14, 18, 0.86);
  backdrop-filter: blur(14px);
  border-color: var(--border-dark);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
}

.brand-mark {
  color: #ffffff;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.02em;
  text-decoration: none;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 6px;
}

.nav-desktop {
  display: flex;
  align-items: center;
}

.nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a {
  color: #d4d4d8;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  min-height: 44px;
  padding: 0 14px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  transition: color 0.15s ease, background-color 0.15s ease;
}

.nav-links a:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-action-pill {
  min-height: 44px;
  padding: 0 16px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-dark);
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: background-color 0.18s ease, border-color 0.18s ease;
}

.nav-action-pill:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.28);
}

.mobile-menu-btn {
  display: none;
  min-height: 44px;
  min-width: 44px;
  padding: 0 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-dark);
  background: rgba(18, 18, 20, 0.9);
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

/* Mobile Drawer & Module Slide-over Backdrop */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.68);
  z-index: 120;
}

.mobile-drawer {
  position: fixed;
  top: 12px;
  right: 12px;
  bottom: 12px;
  width: min(340px, calc(100vw - 24px));
  background: #101012;
  border: 1px solid var(--border-dark);
  border-radius: 20px;
  z-index: 130;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.mobile-drawer[hidden],
.drawer-backdrop[hidden],
.module-drawer[hidden] {
  display: none;
}

.mobile-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.icon-close-btn {
  min-width: 44px;
  min-height: 44px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-dark);
  background: #18181b;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.icon-close-btn:hover {
  background: #27272a;
}

.mobile-nav-list {
  list-style: none;
  margin: 24px 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile-nav-list a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0 14px;
  border-radius: var(--radius-control);
  color: #ffffff;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
}

.mobile-nav-list a:hover {
  background: #18181b;
}

.mobile-download-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: var(--radius-pill);
  background: #ffffff;
  color: #000000;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
}

/* Section 1: Dark Satin Diagonal Hero */
.hero-section {
  position: relative;
  min-height: 100dvh;
  padding: 112px 24px 88px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #000000;
  overflow: hidden;
}

/* Replicates the diagonal folded dark metallic ribbons of antislop.ai.id */
.hero-satin-bg {
  position: absolute;
  inset: -15%;
  pointer-events: none;
  background:
    linear-gradient(
      128deg,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0.04) 18%,
      rgba(255, 255, 255, 0.14) 24%,
      rgba(0, 0, 0, 0.9) 31%,
      rgba(255, 255, 255, 0.07) 44%,
      rgba(255, 255, 255, 0.18) 51%,
      rgba(0, 0, 0, 0.94) 58%,
      rgba(255, 255, 255, 0.06) 74%,
      rgba(255, 255, 255, 0) 86%
    ),
    radial-gradient(ellipse 75% 55% at 50% 24%, rgba(255, 255, 255, 0.11), transparent 70%);
  transform: skewY(-6deg);
}

.hero-vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 50% 48%, rgba(0, 0, 0, 0.08) 0%, rgba(0, 0, 0, 0.72) 78%, #000000 100%);
}

.hero-center {
  position: relative;
  z-index: 2;
  max-width: 820px;
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-title {
  margin: 0;
  color: #ffffff;
  font-size: clamp(32px, 4.8vw, 56px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.hero-subtitle {
  margin: 16px auto 0;
  max-width: 590px;
  color: var(--ink-dark-secondary);
  font-size: clamp(14.5px, 1.4vw, 17px);
  line-height: 1.6;
}

.hero-download-stack {
  margin-top: 34px;
  width: 100%;
  max-width: 472px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.hero-download-pill {
  width: 100%;
  min-height: 58px;
  padding: 7px 8px 7px 20px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(12, 12, 14, 0.88);
  color: #ffffff;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55);
  transition: transform 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}

.hero-download-pill:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.48);
  background: rgba(22, 22, 26, 0.96);
}

.hero-download-pill:active {
  transform: translateY(0);
}

.download-pill-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.download-file-icon {
  color: #d4d4d8;
  flex-shrink: 0;
}

.download-pill-label {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 15px;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.download-pill-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.download-size-tag {
  font-family: var(--font-mono);
  font-size: 12px;
  color: #d4d4d8;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.08);
}

.download-action-circle {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-pill);
  background: #ffffff;
  color: #000000;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.18s ease, background-color 0.18s ease;
}

.hero-download-pill:hover .download-action-circle {
  transform: scale(1.04);
}

.hero-download-pill.is-downloading .download-action-circle {
  background: var(--accent-dark);
  color: #000000;
}

.hero-download-status {
  margin: 0;
  min-height: 20px;
  font-size: 13px;
  color: var(--accent-dark);
}

/* R-10 glassmorphism #2: secondary hero pill */
.hero-meta-pill {
  min-height: 44px;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(0, 0, 0, 0.56);
  backdrop-filter: blur(12px);
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  flex-wrap: wrap;
  justify-content: center;
  transition: border-color 0.18s ease, background-color 0.18s ease;
}

.hero-meta-pill:hover {
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(24, 24, 27, 0.8);
}

.meta-pill-muted {
  color: #d4d4d8;
}

.meta-pill-strong {
  color: #ffffff;
  font-weight: 600;
}

.hero-footnote {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  margin: 0 auto;
  max-width: 720px;
  text-align: center;
  font-size: 12.5px;
  color: var(--ink-dark-muted);
  z-index: 2;
}

/* Section 2: White Editorial Showcase */
.showcase-section {
  background: var(--bg-white);
  color: var(--ink-light-primary);
  padding: 92px 24px 96px;
}

.showcase-container {
  max-width: 1120px;
  margin: 0 auto;
}

.showcase-tabs-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 36px;
}

.showcase-tabs {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 5px;
  border-radius: var(--radius-pill);
  background: #0d0e12;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.14);
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
}

.showcase-tabs::-webkit-scrollbar {
  display: none;
}

.showcase-tab-indicator {
  position: absolute;
  top: 5px;
  left: 5px;
  height: calc(100% - 10px);
  border-radius: var(--radius-pill);
  background: #ffffff;
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), width 0.25s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 0;
}

.showcase-tab-btn {
  position: relative;
  z-index: 1;
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: var(--radius-pill);
  background: transparent;
  color: #d4d4d8;
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.18s ease;
}

.showcase-tab-btn[aria-selected="true"] {
  color: #000000;
}

.showcase-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 40px;
}

.showcase-eyebrow {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-light-secondary);
}

.showcase-title {
  margin: 0;
  font-size: clamp(28px, 3.8vw, 44px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: #0a0a0a;
}

.showcase-subtitle {
  margin: 14px auto 0;
  font-size: 15.5px;
  color: var(--ink-light-secondary);
  line-height: 1.6;
}

.showcase-frame {
  background: #f6f7f9;
  border-radius: var(--radius-frame);
  border: 1px solid var(--border-light);
  box-shadow: 0 24px 64px -16px rgba(0, 0, 0, 0.12);
  padding: 32px;
}

.showcase-panel[hidden] {
  display: none;
}

/* Panel 1: Tray Menu Simulation */
.tray-preview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 28px;
  align-items: start;
}

.tray-sim-badge {
  display: inline-block;
  margin-bottom: 12px;
  padding: 5px 12px;
  border-radius: 6px;
  background: #e5e7eb;
  color: #111111;
  font-size: 12px;
  font-weight: 600;
}

.tray-menu-card {
  background: #141416;
  color: #ffffff;
  border-radius: 14px;
  padding: 10px;
  border: 1px solid rgba(0, 0, 0, 0.22);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
}

.tray-menu-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 600;
  color: #ffffff;
}

.tray-status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #34d399;
  flex-shrink: 0;
}

.tray-status-dot.is-warning {
  background: #fbbf24;
}

.tray-status-dot.is-stopped {
  background: #a1a1aa;
}

.tray-menu-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin: 6px 4px;
}

.tray-menu-item {
  width: 100%;
  min-height: 44px;
  padding: 8px 12px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  text-align: left;
  transition: background-color 0.14s ease;
}

.tray-menu-item:hover {
  background: rgba(255, 255, 255, 0.1);
}

.tray-menu-item kbd {
  font-family: var(--font-mono);
  font-size: 11px;
  color: #d4d4d8;
  background: rgba(255, 255, 255, 0.08);
  padding: 3px 8px;
  border-radius: 6px;
}

.tray-menu-item.is-danger {
  color: #fca5a5;
}

.tray-log-column {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 14px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.tray-log-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.tray-log-title {
  font-weight: 700;
  font-size: 14px;
  color: #111111;
}

.tray-reset-btn {
  min-height: 44px;
  padding: 0 14px;
  border-radius: 8px;
  border: 1px solid var(--border-light);
  background: #f6f7f9;
  color: #111111;
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
}

.tray-reset-btn:hover {
  background: #e5e7eb;
}

.tray-log-body {
  min-height: 152px;
  padding: 14px;
  border-radius: 10px;
  background: #121214;
  color: #e4e4e7;
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.6;
}

.tray-log-line {
  margin: 0 0 6px;
}

.tray-log-line:last-child {
  margin-bottom: 0;
}

.tray-log-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12.5px;
  color: var(--ink-light-secondary);
}

.tray-log-meta code {
  font-family: var(--font-mono);
  color: #111111;
  background: #ebecef;
  padding: 2px 6px;
  border-radius: 4px;
}

/* Panel 2: Startup & States */
.flow-panel-inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.flow-state-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.flow-controls-label {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-light-secondary);
  margin-right: 4px;
}

.flow-state-btn {
  min-height: 44px;
  padding: 0 16px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-light);
  background: #ffffff;
  color: #111111;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.flow-state-btn.is-selected {
  background: #111111;
  color: #ffffff;
  border-color: #111111;
}

.flow-state-banner {
  padding: 14px 18px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid var(--border-light);
  font-size: 14px;
  color: #111111;
}

.flow-steps-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.flow-step-box {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 20px;
}

.flow-step-num {
  font-family: var(--font-num);
  font-size: 24px;
  font-weight: 700;
  color: #111111;
}

.flow-step-box h3 {
  margin: 8px 0;
  font-size: 16px;
  color: #111111;
}

.flow-step-box p {
  margin: 0;
  font-size: 13.5px;
  color: var(--ink-light-secondary);
}

.flow-step-box code {
  font-family: var(--font-mono);
  font-size: 12px;
  background: #f1f2f4;
  color: #111111;
  padding: 2px 5px;
  border-radius: 4px;
  word-break: break-word;
}

/* Panel 3: Binary Specs */
.specs-panel-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.specs-table-wrap,
.specs-hash-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 14px;
  padding: 22px;
}

.specs-heading {
  margin: 0 0 14px;
  font-size: 17px;
  color: #111111;
}

.specs-list {
  margin: 0;
}

.specs-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #eceef2;
  font-size: 13.5px;
}

.specs-row:last-child {
  border-bottom: 0;
}

.specs-row dt {
  color: var(--ink-light-secondary);
  font-weight: 500;
}

.specs-row dd {
  margin: 0;
  color: #111111;
  font-weight: 600;
  text-align: right;
  word-break: break-word;
}

.specs-row code {
  font-family: var(--font-mono);
  font-size: 12.5px;
}

.specs-hash-desc {
  margin: 0 0 14px;
  font-size: 13.5px;
  color: var(--ink-light-secondary);
}

.specs-hash-code {
  display: block;
  padding: 14px;
  border-radius: 10px;
  background: #121214;
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 12.5px;
  word-break: break-all;
  line-height: 1.55;
}

.specs-hash-actions {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.specs-copy-btn,
.specs-verify-jump-btn {
  min-height: 44px;
  padding: 0 16px;
  border-radius: 10px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.specs-copy-btn {
  border: 0;
  background: #111111;
  color: #ffffff;
}

.specs-verify-jump-btn {
  border: 1px solid var(--border-light);
  background: #f6f7f9;
  color: #111111;
}

.specs-copy-feedback {
  margin: 10px 0 0;
  min-height: 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-light);
}

/* Panel 4: Client-side SHA-256 Verifier */
.verify-panel-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 24px;
  align-items: start;
}

.verify-dropzone {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 10px;
  min-height: 196px;
  padding: 24px;
  border-radius: 14px;
  border: 2px dashed #71717a;
  background: #ffffff;
  color: #111111;
  cursor: pointer;
  transition: border-color 0.16s ease, background-color 0.16s ease;
}

.verify-dropzone:hover,
.verify-dropzone.is-dragover {
  border-color: #111111;
  background: #f0f2f5;
}

.verify-drop-title {
  font-weight: 700;
  font-size: 15px;
}

.verify-drop-sub {
  font-size: 13px;
  color: var(--ink-light-secondary);
  max-width: 340px;
}

.verify-quick-actions {
  margin-top: 12px;
}

.verify-self-check-btn {
  width: 100%;
  min-height: 46px;
  padding: 0 16px;
  border-radius: 10px;
  border: 1px solid #111111;
  background: #111111;
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
}

.verify-self-check-btn:hover {
  background: #27272a;
}

.verify-result-column {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.verify-expected-box {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 16px;
}

.verify-label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-light-secondary);
  margin-bottom: 6px;
}

.verify-expected-box code {
  font-family: var(--font-mono);
  font-size: 12px;
  color: #111111;
  word-break: break-all;
}

.verify-status-box {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 18px;
}

.verify-status-box.is-match {
  border-color: var(--accent-light);
  background: #ecfdf5;
}

.verify-status-box.is-mismatch,
.verify-status-box.is-error {
  border-color: #b91c1c;
  background: #fef2f2;
}

.verify-status-title {
  margin: 0 0 6px;
  font-weight: 700;
  font-size: 15px;
  color: #111111;
}

.verify-status-box.is-match .verify-status-title {
  color: var(--accent-light);
}

.verify-status-box.is-mismatch .verify-status-title,
.verify-status-box.is-error .verify-status-title {
  color: #b91c1c;
}

.verify-status-detail {
  margin: 0;
  font-size: 13.5px;
  color: var(--ink-light-secondary);
}

.verify-computed-hash {
  display: block;
  margin-top: 10px;
  padding: 10px;
  border-radius: 8px;
  background: #121214;
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 12px;
  word-break: break-all;
}

/* Section 3: Atmospheric Dark Module Toggles + Drawer */
.beyond-section {
  position: relative;
  background: #000000;
  color: #ffffff;
  padding: 104px 24px 112px;
  overflow: hidden;
}

.beyond-atmosphere {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 68% 58% at 72% 18%, rgba(12, 46, 54, 0.55), transparent 72%),
    radial-gradient(ellipse 50% 44% at 24% 78%, rgba(8, 28, 34, 0.35), transparent 70%);
}

.beyond-inner {
  position: relative;
  z-index: 2;
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
}

.beyond-kicker {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-dark-muted);
}

.beyond-heading {
  margin: 0;
  font-size: clamp(30px, 4.4vw, 52px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.beyond-subtitle {
  margin: 16px auto 0;
  max-width: 560px;
  font-size: 15.5px;
  color: var(--ink-dark-secondary);
}

.beyond-prompt {
  margin: 44px 0 18px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-dark-muted);
}

.beyond-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  text-align: left;
}

.beyond-card-btn {
  width: 100%;
  min-height: 78px;
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #141518;
  color: #ffffff;
  font-family: var(--font-sans);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  cursor: pointer;
  text-align: left;
  transition: border-color 0.18s ease, background-color 0.18s ease, transform 0.18s ease;
}

.beyond-card-btn:hover {
  border-color: rgba(255, 255, 255, 0.28);
  background: #1a1b20;
  transform: translateY(-1px);
}

.beyond-card-left {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.beyond-card-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #0a0b0d;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.beyond-card-text {
  min-width: 0;
}

.beyond-card-name {
  display: block;
  font-family: var(--font-mono);
  font-size: 13.5px;
  font-weight: 600;
  color: #ffffff;
}

.beyond-card-desc {
  display: block;
  font-size: 13px;
  color: var(--ink-dark-muted);
  margin-top: 2px;
}

.beyond-toggle-pill {
  width: 46px;
  height: 26px;
  border-radius: var(--radius-pill);
  border: 2px solid var(--accent-dark);
  background: rgba(52, 211, 153, 0.18);
  padding: 2px;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  flex-shrink: 0;
}

.beyond-toggle-knob {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #ffffff;
}

/* Slide-over Module Drawer */
.module-drawer {
  position: fixed;
  top: 16px;
  right: 16px;
  bottom: 16px;
  width: min(480px, calc(100vw - 32px));
  background: #121214;
  border: 1px solid var(--border-dark);
  border-radius: 20px;
  z-index: 140;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.65);
}

.drawer-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.drawer-title {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 18px;
  color: #ffffff;
}

.drawer-subtitle {
  margin: 4px 0 0;
  font-size: 13px;
  color: var(--ink-dark-muted);
}

.drawer-body {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-right: 4px;
}

.drawer-question-bubble {
  align-self: flex-end;
  max-width: 88%;
  padding: 12px 16px;
  border-radius: 14px;
  background: #202024;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #e4e4e7;
  font-size: 13.5px;
}

.drawer-content-card {
  padding: 18px;
  border-radius: 14px;
  background: #18181b;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.drawer-content-card h4 {
  margin: 0 0 10px;
  font-size: 16px;
}

.drawer-content-card p {
  margin: 0;
  font-size: 14px;
  color: #d4d4d8;
  line-height: 1.6;
}

.drawer-tech-pre {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.7;
  color: #34d399;
  white-space: pre-wrap;
  word-break: break-word;
}

.drawer-foot {
  display: flex;
  justify-content: center;
}

.drawer-tabs {
  display: inline-flex;
  padding: 4px;
  border-radius: var(--radius-pill);
  background: #1b1b1f;
  border: 1px solid var(--border-dark);
}

.drawer-tab-btn {
  min-height: 44px;
  padding: 0 22px;
  border: 0;
  border-radius: var(--radius-pill);
  background: transparent;
  color: #d4d4d8;
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
}

.drawer-tab-btn.is-active {
  background: #ffffff;
  color: #000000;
}

/* Section 4: Dark Editorial + IDE Split */
.inspector-section {
  background: #000000;
  color: #ffffff;
  padding: 96px 24px 112px;
}

.inspector-statement {
  max-width: 820px;
  margin: 0 auto 72px;
  text-align: center;
}

.statement-line {
  margin: 0;
  font-size: clamp(28px, 4.2vw, 50px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.statement-line.is-muted {
  color: #a1a1aa;
  margin-top: 6px;
}

.inspector-split {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.25fr);
  gap: 48px;
  align-items: center;
}

.inspector-stage-pills {
  display: inline-flex;
  gap: 8px;
  margin-bottom: 20px;
}

.stage-switch-btn {
  min-height: 44px;
  padding: 0 16px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-dark);
  background: #121214;
  color: #d4d4d8;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.stage-switch-btn.is-active {
  background: #ffffff;
  color: #000000;
  border-color: #ffffff;
}

.inspector-heading {
  margin: 0;
  font-size: clamp(28px, 3.6vw, 42px);
  letter-spacing: -0.03em;
  line-height: 1.14;
}

.heading-strong {
  font-weight: 700;
  color: #ffffff;
}

.heading-light {
  font-weight: 400;
  color: #d4d4d8;
}

.inspector-desc {
  margin: 16px 0 28px;
  font-size: 15.5px;
  color: var(--ink-dark-muted);
  max-width: 460px;
  line-height: 1.65;
}

.inspector-progress {
  display: flex;
  gap: 8px;
  max-width: 120px;
}

.progress-bar {
  height: 3px;
  flex: 1;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  transition: background-color 0.2s ease;
}

.progress-bar.is-active {
  background: #ffffff;
}

.ide-window {
  background: #141416;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.6);
}

.ide-titlebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: #1a1a1e;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ide-dots {
  display: flex;
  gap: 7px;
}

.ide-dots span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.dot-red { background: #ef4444; }
.dot-amber { background: #f59e0b; }
.dot-green { background: #22c55e; }

.ide-workspace-name {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-dark-muted);
}

.ide-body {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  min-height: 290px;
}

.ide-sidebar {
  min-width: 0;
  background: #121214;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  padding: 14px 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ide-sidebar-title {
  font-size: 11px;
  font-weight: 700;
  color: var(--ink-dark-muted);
  padding: 0 8px 6px;
}

.ide-file-item,
.ide-file-static {
  min-width: 0;
  width: 100%;
  min-height: 44px;
  padding: 8px 10px;
  border-radius: 8px;
  border: 0;
  background: transparent;
  color: #d4d4d8;
  font-family: var(--font-mono);
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  text-align: left;
}

.ide-file-item > span:last-child,
.ide-file-static > span:last-child {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ide-file-item {
  cursor: pointer;
}

.ide-file-item:hover {
  background: rgba(255, 255, 255, 0.06);
}

.ide-file-item.is-active {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.ide-file-badge {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 5px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.ide-editor {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.ide-tab-bar {
  background: #18181b;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0 14px;
}

.ide-active-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 4px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: #ffffff;
  border-bottom: 2px solid #34d399;
}

.ide-tab-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #34d399;
}

.ide-filepath {
  padding: 8px 16px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--ink-dark-muted);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.ide-code {
  margin: 0;
  padding: 16px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.65;
  color: #e4e4e7;
  overflow-x: auto;
}

/* Section 5: Warm Stone Editorial Stacked Cards */
.steps-section {
  background: var(--bg-stone);
  color: var(--ink-light-primary);
  padding: 96px 24px 80px;
}

.steps-inner {
  max-width: 1120px;
  margin: 0 auto;
}

.steps-heading {
  margin: 0 0 56px;
  text-align: center;
  font-size: clamp(32px, 4.4vw, 56px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.06;
}

.steps-grid {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr) 200px;
  gap: 28px;
  align-items: center;
}

.step-side-left,
.step-side-right {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.step-side-right {
  text-align: right;
}

.step-side-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-light-secondary);
}

.step-side-num {
  font-family: var(--font-num);
  font-variant-numeric: tabular-nums;
  font-size: clamp(40px, 4vw, 56px);
  font-weight: 700;
  line-height: 1;
  color: #111111;
}

.step-side-name {
  font-size: clamp(24px, 2.6vw, 34px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: #111111;
}

.step-deck {
  position: relative;
  min-height: 280px;
  display: grid;
  place-items: center;
}

.step-card {
  grid-area: 1 / 1;
  width: 100%;
  max-width: 540px;
  padding: 26px;
  border-radius: var(--radius-card);
  background: #141416;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.14);
  text-align: left;
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.25s ease, box-shadow 0.3s ease;
}

.step-card.is-pos-0 {
  z-index: 3;
  transform: translateY(10px) scale(1);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.28);
  opacity: 1;
}

.step-card.is-pos-1 {
  z-index: 2;
  transform: translateY(-14px) scale(0.95) rotate(-1.5deg);
  opacity: 0.88;
}

.step-card.is-pos-2 {
  z-index: 1;
  transform: translateY(-34px) scale(0.9) rotate(1.5deg);
  opacity: 0.72;
}

.step-card-top {
  font-family: var(--font-mono);
  font-size: 12px;
  color: #a1a1aa;
  margin-bottom: 14px;
}

.step-card-title {
  margin: 0 0 10px;
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
}

.step-card-text {
  margin: 0 0 18px;
  font-size: 14.5px;
  color: #d4d4d8;
  line-height: 1.6;
}

.step-card-meta {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  font-family: var(--font-mono);
  font-size: 12px;
  color: #34d399;
}

.step-switcher {
  margin: 36px auto 0;
  width: fit-content;
  display: flex;
  padding: 5px;
  border-radius: var(--radius-pill);
  background: #e6e2d8;
}

.step-pill-btn {
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: var(--radius-pill);
  background: transparent;
  color: #111111;
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
}

.step-pill-btn.is-active {
  background: #111111;
  color: #ffffff;
}

/* Section 6: Warm Stone Compatibility & Real Specs */
.ecosystem-section {
  background: var(--bg-stone);
  color: var(--ink-light-primary);
  padding: 32px 24px 104px;
}

.ecosystem-inner {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.ecosystem-heading {
  margin: 0 0 28px;
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.compat-box {
  background: #ffffff;
  border: 1px solid var(--border-stone);
  border-radius: var(--radius-card);
  padding: 20px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  box-shadow: 0 14px 36px rgba(17, 17, 17, 0.05);
}

.compat-item {
  padding: 12px;
  border-radius: 12px;
  background: #f9f8f5;
  text-align: center;
}

.compat-item strong {
  display: block;
  font-size: 14px;
  color: #111111;
}

.compat-item span {
  display: block;
  margin-top: 3px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-light-secondary);
}

.specs-metrics-row {
  margin: 36px auto 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.metric-cell {
  padding: 10px 12px;
  border-right: 1px solid #d6d1c4;
}

.metric-cell:last-child {
  border-right: 0;
}

.metric-value {
  font-family: var(--font-num);
  font-size: clamp(26px, 3.2vw, 34px);
  font-weight: 700;
  color: #111111;
}

.metric-label {
  margin-top: 2px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-light-secondary);
}

.metric-sub {
  margin-top: 2px;
  font-size: 12px;
  color: var(--ink-light-muted);
}

.ecosystem-cta-wrap {
  margin-top: 36px;
}

.bottom-download-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border-radius: var(--radius-pill);
  background: #111111;
  color: #ffffff;
  font-weight: 700;
  font-size: 14.5px;
  text-decoration: none;
  transition: background-color 0.16s ease, transform 0.16s ease;
}

.bottom-download-btn:hover {
  background: #27272a;
  transform: translateY(-1px);
}

/* Section 7: Footer */
.site-footer {
  background: #000000;
  color: #ffffff;
  padding: 72px 24px 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1.45fr) minmax(0, 2fr);
  gap: 48px;
}

.footer-brand {
  color: #ffffff;
  font-size: 20px;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: -0.02em;
}

.footer-desc {
  margin: 14px 0 20px;
  max-width: 340px;
  font-size: 14px;
  color: var(--ink-dark-muted);
  line-height: 1.6;
}

.footer-cmd-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  max-width: 340px;
  padding: 6px 8px 6px 14px;
  border-radius: 14px;
  background: #121214;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-cmd-text {
  font-family: var(--font-mono);
  font-size: 12px;
  color: #d4d4d8;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.footer-copy-btn {
  min-width: 44px;
  min-height: 44px;
  border: 0;
  border-radius: 10px;
  background: #1c1c20;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.footer-copy-btn:hover {
  background: #27272a;
}

.footer-copy-status {
  margin: 8px 0 0;
  min-height: 18px;
  font-size: 12.5px;
  color: var(--accent-dark);
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.footer-col h3 {
  margin: 0 0 14px;
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-col a,
.footer-col button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 4px 0;
  border: 0;
  background: transparent;
  color: var(--ink-dark-muted);
  font-family: var(--font-sans);
  font-size: 14px;
  text-decoration: none;
  cursor: pointer;
  text-align: left;
}

.footer-col a:hover,
.footer-col button:hover {
  color: #ffffff;
}

.footer-bottom {
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--ink-dark-muted);
}

.footer-bottom-right {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}

.footer-top-link {
  color: #ffffff;
  text-decoration: none;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.footer-top-link:hover {
  text-decoration: underline;
}

/* Tablet / Small Laptop Reflow (641px to 1024px) */
@media (max-width: 1024px) {
  .tray-preview-grid,
  .specs-panel-grid,
  .verify-panel-grid,
  .inspector-split {
    grid-template-columns: 1fr;
  }

  .flow-steps-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .step-side-left,
  .step-side-right {
    flex-direction: row;
    align-items: baseline;
    justify-content: space-between;
    text-align: left;
  }

  .compat-box {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

/* Mobile Reflow (<= 640px) */
@media (max-width: 640px) {
  .site-header {
    padding: 10px 12px;
  }

  .nav-shell {
    padding: 4px 8px 4px 14px;
  }

  .nav-desktop,
  .nav-action-pill {
    display: none;
  }

  .mobile-menu-btn {
    display: inline-flex;
  }

  .hero-section {
    padding: 96px 16px 84px;
  }

  .hero-download-pill {
    padding: 6px 6px 6px 16px;
  }

  .download-size-tag {
    display: none;
  }

  .showcase-section {
    padding: 84px 16px 64px;
  }

  .showcase-frame {
    padding: 18px;
    border-radius: 12px;
  }

  .flow-steps-row,
  .beyond-grid,
  .specs-metrics-row,
  .ide-body {
    grid-template-columns: 1fr;
  }

  .ide-sidebar {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .metric-cell {
    border-right: 0;
    border-bottom: 1px solid #d6d1c4;
    padding-bottom: 14px;
  }

  .metric-cell:last-child {
    border-bottom: 0;
  }

  .beyond-section,
  .inspector-section,
  .steps-section {
    padding: 68px 16px;
  }

  .ecosystem-section {
    padding: 20px 16px 72px;
  }

  .footer-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .step-switcher {
    max-width: 100%;
    overflow-x: auto;
  }

  .step-pill-btn {
    padding: 0 12px;
    font-size: 12.5px;
    white-space: nowrap;
  }
}

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