:root {
  --bg-dark: #11252d;
  --bg-dark-elevated: #17313b;
  --bg-dark-panel: #0d1d24;
  --bg-light: #f6f8f5;
  --bg-white: #ffffff;
  --ink-dark: #11252d;
  --ink-muted: #475d66;
  --ink-on-dark: #f4f7f2;
  --ink-on-dark-muted: #b7c8cf;
  --mint: #56e3b0;
  --emerald: #136f50;
  --emerald-hover: #0e583f;
  --coral: #ff865c;
  --line-light: #d7e0dc;
  --line-dark: #254450;

  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;

  --text-heading: clamp(1.75rem, 3vw, 2.35rem);
  --text-body: 1rem;
  --text-sm: 0.875rem;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --scroll-progress: 0;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--text-body);
  line-height: 1.6;
  color: var(--ink-dark);
  background: var(--bg-dark);
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

code,
pre {
  font-family: var(--font-mono);
}

code {
  font-size: var(--text-sm);
  background: rgba(17, 37, 45, 0.06);
  padding: 2px 6px;
  border-radius: 5px;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

section[id] {
  scroll-margin-top: 84px;
}

/* Header & Scroll Progress */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color 200ms var(--ease-out), border-color 200ms var(--ease-out);
}

.site-header.scrolled {
  background: rgba(17, 37, 45, 0.94);
  backdrop-filter: blur(10px);
  border-bottom-color: var(--line-dark);
}

.scroll-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: linear-gradient(90deg, var(--mint), var(--coral));
  transform-origin: left center;
  transform: scaleX(var(--scroll-progress));
  opacity: 0;
  transition: opacity 180ms var(--ease-out);
  pointer-events: none;
}

.site-header.scrolled .scroll-progress {
  opacity: 1;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 70px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink-on-dark);
}

.brand img {
  transition: transform 220ms var(--ease-out);
}

.brand:hover img {
  transform: scale(1.06) rotate(-3deg);
}

.brand-name {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.site-nav a {
  position: relative;
  color: var(--ink-on-dark-muted);
  text-decoration: none;
  font-size: var(--text-sm);
  font-weight: 500;
  padding: 4px 0;
  transition: color 160ms var(--ease-out);
}

.site-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--mint);
  transform-origin: left center;
  transform: scaleX(0);
  transition: transform 180ms var(--ease-out);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--mint);
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

/* Hero & Entrance Choreography */
@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes auraDrift {
  0%,
  100% {
    transform: translate3d(-50%, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(-48%, 14px, 0) scale(1.05);
  }
}

.hero {
  position: relative;
  overflow: hidden;
  background: var(--bg-dark);
  color: var(--ink-on-dark);
  padding: 124px 0 88px;
}

.hero::before {
  content: '';
  position: absolute;
  top: -160px;
  left: 50%;
  width: min(980px, 130vw);
  height: 620px;
  transform: translate3d(-50%, 0, 0);
  background: radial-gradient(
    ellipse at center,
    rgba(86, 227, 176, 0.16) 0%,
    rgba(255, 134, 92, 0.08) 42%,
    rgba(17, 37, 45, 0) 72%
  );
  animation: auraDrift 11s ease-in-out infinite;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    520px circle at var(--mx, 50%) var(--my, 28%),
    rgba(86, 227, 176, 0.1),
    transparent 65%
  );
  pointer-events: none;
}

.hero-stack {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-stagger {
  animation: riseIn 560ms var(--ease-out) backwards;
}

.hero h1 {
  margin: 0;
  max-width: 18ch;
  font-size: clamp(2.85rem, 6vw, 4.75rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
  font-weight: 700;
  animation-delay: 40ms;
}

.hero-copy {
  margin: 22px 0 28px;
  max-width: 56ch;
  color: var(--ink-on-dark-muted);
  font-size: var(--text-body);
  animation-delay: 110ms;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  animation-delay: 180ms;
}

.cta-primary {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 26px;
  border-radius: 10px;
  background: var(--mint);
  color: var(--ink-dark);
  font-size: var(--text-body);
  font-weight: 700;
  text-decoration: none;
  transition: background-color 180ms var(--ease-out), transform 180ms var(--ease-out);
}

.cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 22px;
  border-radius: 10px;
  border: 1px solid var(--line-dark);
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink-on-dark);
  font-size: var(--text-body);
  font-weight: 600;
  text-decoration: none;
  transition: border-color 180ms var(--ease-out), color 180ms var(--ease-out), transform 180ms var(--ease-out);
}

.cta-secondary:hover {
  border-color: var(--mint);
  color: var(--mint);
  transform: translateY(-2px);
}

.cta-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 25%, rgba(255, 255, 255, 0.45) 50%, transparent 75%);
  transform: translateX(-110%);
  transition: transform 420ms var(--ease-out);
}

.cta-primary:hover {
  background: #77ecc2;
  transform: translateY(-2px);
}

.cta-primary:hover::after {
  transform: translateX(110%);
}

/* Workbench & Animated Terminal Lines */
.workbench {
  width: 100%;
  margin-top: 48px;
  text-align: left;
  background: var(--bg-dark-panel);
  border: 1px solid var(--line-dark);
  border-radius: 16px;
  overflow: hidden;
  animation-delay: 250ms;
  min-width: 0;
}

.workbench-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line-dark);
  background: var(--bg-dark-elevated);
}

.workbench-caption {
  margin: 0;
  font-size: var(--text-sm);
  color: var(--ink-on-dark-muted);
}

.workbench-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
}

.pane-terminal {
  padding: 20px;
  border-right: 1px solid var(--line-dark);
  min-width: 0;
}

.cli-output {
  margin: 0;
  font-size: var(--text-sm);
  line-height: 1.65;
  color: #e6f1ee;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

@keyframes lineReveal {
  from {
    opacity: 0;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cli-line {
  display: block;
  min-height: 1.3em;
  animation: lineReveal 220ms var(--ease-out) var(--line-delay, 0ms) backwards;
}

.cli-line.is-cmd {
  color: var(--mint);
}

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

.cli-cursor {
  display: inline-block;
  width: 8px;
  height: 1em;
  margin-left: 4px;
  vertical-align: -2px;
  background: var(--mint);
  animation: cursorBlink 1s steps(1) infinite;
}

.pane-browser {
  padding: 20px;
  background: #132932;
  min-width: 0;
}

.browser-chrome {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line-dark);
  margin-bottom: 14px;
}

.browser-tab {
  display: block;
  font-size: var(--text-body);
  font-weight: 700;
  color: var(--ink-on-dark);
}

.browser-origin {
  display: block;
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color: var(--mint);
  margin-top: 2px;
  overflow-wrap: anywhere;
}

.browser-body {
  font-size: var(--text-sm);
  color: var(--ink-on-dark-muted);
}

.browser-body ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.wb-item {
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  animation: lineReveal 260ms var(--ease-out) var(--line-delay, 0ms) backwards;
}

.wb-item:last-child {
  border-bottom: 0;
}

.browser-body strong {
  color: var(--ink-on-dark);
}

/* Segmented Controls with Sliding Indicator */
.segmented {
  position: relative;
  display: inline-flex;
  flex-wrap: wrap;
  padding: 4px;
  border-radius: 10px;
  background: #0d1d24;
  border: 1px solid var(--line-dark);
  gap: 4px;
}

.seg-indicator {
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 7px;
  background: var(--mint);
  transition:
    transform 220ms var(--ease-out),
    width 220ms var(--ease-out),
    height 220ms var(--ease-out),
    opacity 160ms var(--ease-out);
  pointer-events: none;
  z-index: 0;
}

.segmented button {
  position: relative;
  z-index: 1;
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--ink-on-dark-muted);
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 7px;
  cursor: pointer;
  transition: color 180ms var(--ease-out);
}

.segmented button:hover {
  color: var(--ink-on-dark);
}

.segmented button[aria-selected='true'] {
  color: var(--ink-dark);
}

.segmented.no-indicator button[aria-selected='true'] {
  background: var(--mint);
}

.segmented-light {
  background: #e9eeeb;
  border-color: var(--line-light);
}

.segmented-light .seg-indicator {
  background: var(--bg-dark);
}

.segmented-light button {
  color: var(--ink-muted);
}

.segmented-light button:hover {
  color: var(--ink-dark);
}

.segmented-light button[aria-selected='true'] {
  color: var(--ink-on-dark);
}

.segmented-light.no-indicator button[aria-selected='true'] {
  background: var(--bg-dark);
}

/* Scroll-triggered Reveals (Progressive Enhancement) */
html.js-motion [data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 460ms var(--ease-out) var(--reveal-delay, 0ms),
    transform 460ms var(--ease-out) var(--reveal-delay, 0ms);
}

html.js-motion [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Content Bands */
.band {
  padding: 84px 0;
}

.band-light {
  background: var(--bg-light);
}

.band-white {
  background: var(--bg-white);
}

.band-dark {
  background: var(--bg-dark);
  color: var(--ink-on-dark);
}

h2 {
  margin: 0 0 12px;
  font-size: var(--text-heading);
  line-height: 1.15;
  letter-spacing: -0.025em;
  font-weight: 700;
}

h3 {
  margin: 0 0 8px;
  font-size: var(--text-body);
  font-weight: 700;
  line-height: 1.4;
}

.section-intro {
  margin: 0 0 32px;
  max-width: 62ch;
  color: var(--ink-muted);
}

.section-intro-dark {
  color: var(--ink-on-dark-muted);
}

/* Agent-First Pillars & Where Latch Fits */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.pillar-card {
  background: var(--bg-light);
  border: 1px solid var(--line-light);
  border-radius: 14px;
  padding: 22px 24px;
}

.pillar-card h3 {
  margin: 0 0 8px;
  color: var(--ink-dark);
}

.pillar-card p {
  margin: 0;
  color: var(--ink-muted);
}

.fit-callout {
  margin-top: 24px;
  padding: 20px 24px;
  border-radius: 14px;
  background: #eef4f1;
  border: 1px solid var(--line-light);
  border-left: 4px solid var(--emerald);
}

.fit-callout h3 {
  margin: 0 0 6px;
  color: var(--ink-dark);
}

.fit-callout p {
  margin: 0;
  color: var(--ink-muted);
  max-width: 78ch;
}

/* Install Controls & Steps */
.install-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
}

.control-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.control-label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--ink-muted);
}

.steps-list {
  border-top: 1px solid var(--line-light);
}

.step-row {
  padding: 24px 0;
  border-bottom: 1px solid var(--line-light);
  min-width: 0;
}

.step-row p {
  margin: 0 0 12px;
  max-width: 64ch;
  color: var(--ink-muted);
}

.step-row p:last-child {
  margin-bottom: 0;
}

.code-box {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  background: var(--bg-dark);
  color: #edf4f1;
  border-radius: 10px;
  padding: 14px 16px;
  min-width: 0;
}

.code-box pre {
  margin: 0;
  font-size: var(--text-sm);
  line-height: 1.55;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  flex: 1;
}

.copy-btn {
  appearance: none;
  border: 1px solid var(--line-dark);
  background: var(--bg-dark-elevated);
  color: var(--mint);
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 7px;
  cursor: pointer;
  flex-shrink: 0;
  transition: background-color 160ms var(--ease-out), color 160ms var(--ease-out), transform 140ms var(--ease-out);
}

.copy-btn:hover {
  background: var(--mint);
  color: var(--ink-dark);
}

.copy-btn:active {
  transform: scale(0.96);
}

/* Architecture & Animated SVG Flow */
.arch-diagram {
  margin: 0 0 40px;
}

.arch-diagram svg {
  width: 100%;
  height: auto;
  display: block;
}

@keyframes dashFlow {
  to {
    stroke-dashoffset: -24;
  }
}

.flow-line {
  stroke-dasharray: 6 6;
  animation: dashFlow 1.1s linear infinite;
}

.arch-node {
  transition: transform 220ms var(--ease-out);
  transform-box: fill-box;
  transform-origin: center;
}

.arch-node:hover {
  transform: translateY(-3px);
}

.svg-title {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 700;
  fill: #11252d;
}

.svg-sub {
  font-family: var(--font-sans);
  font-size: 14px;
  fill: #475d66;
}

.svg-mono {
  font-family: var(--font-mono);
  font-size: 14px;
  fill: #136f50;
}

.svg-title-dark {
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 700;
  fill: #f4f7f2;
}

.svg-sub-dark {
  font-family: var(--font-sans);
  font-size: 14px;
  fill: #b7c8cf;
}

.svg-sub-mint {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  fill: #56e3b0;
}

.svg-sub-coral {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  fill: #ff865c;
}

.svg-mono-dark {
  font-family: var(--font-mono);
  font-size: 13px;
  fill: #e6f1ee;
}

.svg-edge {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 500;
  fill: #136f50;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 40px;
  padding-top: 28px;
  border-top: 1px solid var(--line-light);
}

.benefit-item p {
  margin: 0;
  color: var(--ink-muted);
  max-width: 52ch;
}

/* Library Stage & Mini-UI Wireframes */
.library-stage {
  background: var(--bg-dark-panel);
  border: 1px solid var(--line-dark);
  border-radius: 16px;
  padding: 24px;
  min-width: 0;
}

.library-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 20px;
}

.film-meta {
  margin: 0;
  font-size: var(--text-sm);
  font-family: var(--font-mono);
  color: var(--mint);
}

.film-compare {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

@keyframes shotSwap {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.shot-card {
  padding: 0;
  min-width: 0;
}

.shot-card h3 {
  color: var(--ink-on-dark);
  margin-bottom: 10px;
}

.shot-preview {
  font-size: var(--text-sm);
  color: var(--ink-on-dark-muted);
  background: var(--bg-dark-elevated);
  border: 1px solid var(--line-dark);
  border-radius: 10px;
  padding: 16px;
  min-height: 168px;
  animation: shotSwap 260ms var(--ease-out);
}

.shot-preview strong {
  color: var(--ink-on-dark);
  display: block;
  margin-bottom: 4px;
}

.shot-caption {
  margin: 0 0 12px;
  color: var(--ink-on-dark-muted);
}

.shot-ui {
  background: var(--bg-dark);
  border-radius: 8px;
  padding: 12px;
  display: grid;
  gap: 8px;
}

.shot-ui-bar {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color: var(--ink-on-dark-muted);
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  overflow-wrap: anywhere;
}

.shot-ui-field {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  padding: 7px 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--ink-on-dark);
}

.shot-ui-field.is-filled {
  background: rgba(86, 227, 176, 0.14);
  color: var(--mint);
}

.shot-ui-alert {
  font-size: var(--text-sm);
  font-weight: 600;
  padding: 7px 10px;
  border-radius: 6px;
  background: rgba(255, 134, 92, 0.16);
  color: var(--coral);
}

.shot-ui-btn {
  display: inline-block;
  width: fit-content;
  font-size: var(--text-sm);
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--ink-on-dark);
}

.shot-ui-btn.is-ready {
  background: var(--mint);
  color: var(--ink-dark);
}

.shot-img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #0d1d24;
}

.library-real-shot {
  margin: 22px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--line-dark);
}

.library-real-shot figcaption {
  margin: 0 0 12px;
  font-size: var(--text-sm);
  color: var(--ink-on-dark-muted);
}

.library-real-shot code {
  background: rgba(255, 255, 255, 0.08);
  color: var(--mint);
}

.library-real-shot img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  border: 1px solid var(--line-dark);
}

.library-notes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--line-dark);
}

.note-col h3 {
  color: var(--ink-on-dark);
}

.note-col p {
  margin: 0;
  color: var(--ink-on-dark-muted);
}

/* Tables */
.table-wrap {
  margin-top: 20px;
  overflow-x: auto;
  background: var(--bg-white);
  border: 1px solid var(--line-light);
  border-radius: 12px;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: var(--text-sm);
}

.data-table th,
.data-table td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--line-light);
  vertical-align: top;
}

.data-table th {
  font-weight: 700;
  color: var(--ink-dark);
  background: #eef3f0;
}

.data-table tbody tr {
  transition: background-color 140ms var(--ease-out);
}

.data-table tbody tr:hover {
  background: rgba(19, 111, 80, 0.04);
}

.data-table tbody tr:last-child td {
  border-bottom: 0;
}

.data-table code {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.matrices-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  margin-top: 40px;
}

.matrices-grid > div {
  min-width: 0;
}

/* Privacy & Footer */
.privacy-strip {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.privacy-strip p {
  margin: 0;
  max-width: 64ch;
  color: var(--ink-muted);
}

.privacy-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.privacy-links a {
  color: var(--emerald);
  font-weight: 600;
  font-size: var(--text-sm);
  text-decoration: none;
  transition: color 160ms var(--ease-out);
}

.privacy-links a:hover {
  color: var(--emerald-hover);
  text-decoration: underline;
}

.site-footer {
  background: var(--bg-dark);
  color: var(--ink-on-dark-muted);
  border-top: 1px solid var(--line-dark);
  padding: 28px 0;
  font-size: var(--text-sm);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-inner p {
  margin: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-links a {
  color: var(--mint);
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

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

@media (max-width: 860px) {
  .workbench-grid,
  .pillars-grid,
  .benefits-grid,
  .film-compare,
  .library-notes,
  .matrices-grid {
    grid-template-columns: 1fr;
  }

  .pane-terminal {
    border-right: 0;
    border-bottom: 1px solid var(--line-dark);
  }
}

@media (max-width: 600px) {
  .container {
    width: calc(100% - 32px);
  }

  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 12px 0;
    min-height: 0;
  }

  .site-nav {
    gap: 14px;
  }

  .hero {
    padding: 124px 0 64px;
  }

  .band {
    padding: 60px 0;
  }

  .code-box {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero::before,
  .hero-stagger,
  .cli-line,
  .wb-item,
  .cli-cursor,
  .flow-line,
  .shot-preview {
    animation: none !important;
  }

  .svg-pulse {
    display: none;
  }

  html.js-motion [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
