:root {
  color-scheme: light dark;
  --paper: #f2f1eb;
  --surface: #fbfaf6;
  --ink: #0b0d0c;
  --acid: #b7ff4a;
  --ocean: #062431;
  --ocean-raised: #0b313f;
  --teal: #5be0d0;
  --muted: #686d66;
  --line: #d2d2cb;
  --radius: 14px;
  --page-width: 1440px;
  font-family: "Arial Narrow", "Roboto Condensed", "Helvetica Neue", Arial, sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
  color: var(--ink);
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100dvh;
  margin: 0;
  background: var(--paper);
}

a {
  color: inherit;
  text-underline-offset: 0.2em;
}

a:focus-visible,
video:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 4px;
}

.site-header,
main,
.site-footer {
  width: min(calc(100% - 64px), var(--page-width));
  margin-inline: auto;
}

.site-header {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 50%;
  background: var(--acid);
  color: var(--ink);
}

.brand-mark svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.brand-mark svg circle {
  fill: currentColor;
  stroke: none;
}

.brand-copy {
  display: grid;
  gap: 2px;
}

.brand-copy strong {
  font-size: 0.95rem;
  letter-spacing: -0.02em;
}

.brand-copy small,
.eyebrow,
.panel-label {
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.brand-copy small {
  color: var(--muted);
}

.header-link {
  font-size: 0.8rem;
  font-weight: 800;
  text-decoration-thickness: 1px;
}

.intro {
  display: grid;
  min-height: clamp(260px, 34vh, 390px);
  align-content: end;
  padding: 48px 0 54px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--muted);
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  max-width: 16ch;
  margin-bottom: 22px;
  font-size: clamp(2.8rem, 6.4vw, 6.8rem);
  line-height: 0.92;
  letter-spacing: -0.065em;
}

.intro-copy {
  max-width: 52ch;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.25vw, 1.2rem);
  line-height: 1.55;
}

.demo-layout {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(260px, 1fr);
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--ocean);
  color: #f4f6f2;
}

.video-shell {
  display: grid;
  min-width: 0;
  align-content: center;
  padding: clamp(14px, 2vw, 28px);
  background: var(--ocean);
}

video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: calc(var(--radius) - 5px);
  background: #02151d;
  object-fit: contain;
}

.dashboard-panel {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(28px, 4vw, 58px) clamp(24px, 3vw, 42px);
  border-left: 1px solid rgb(255 255 255 / 0.14);
  background: var(--ocean-raised);
}

.panel-label {
  margin-bottom: 20px;
  color: var(--teal);
}

.dashboard-panel h2 {
  max-width: 11ch;
  margin-bottom: 18px;
  font-size: clamp(2rem, 3vw, 3.5rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.dashboard-panel > p:not(.panel-label, .fallback) {
  max-width: 34ch;
  margin-bottom: 30px;
  color: #c5d0cf;
  font-size: 0.98rem;
  line-height: 1.55;
}

.primary-action {
  display: inline-flex;
  width: 100%;
  min-height: 54px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 18px;
  border-radius: calc(var(--radius) - 5px);
  background: var(--acid);
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 900;
  text-decoration: none;
  transition: transform 160ms ease, background-color 160ms ease;
  white-space: nowrap;
}

.primary-action:hover {
  background: #c6ff70;
}

.primary-action:active {
  transform: translateY(1px);
}

.primary-action span {
  font-size: 1.2rem;
}

.fallback {
  margin: 20px 0 0;
  color: #9fb1b0;
  font-size: 0.76rem;
  line-height: 1.5;
}

.fallback a {
  color: #d8e4e2;
}

.command-story {
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) minmax(0, 1.6fr);
  gap: clamp(42px, 8vw, 120px);
  padding: clamp(80px, 10vw, 150px) 0;
}

.story-heading {
  align-self: start;
}

.story-heading h2 {
  max-width: 12ch;
  margin-bottom: 20px;
  font-size: clamp(2.5rem, 4.8vw, 5rem);
  line-height: 0.95;
  letter-spacing: -0.055em;
}

.story-heading p {
  max-width: 42ch;
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.6;
}

.command-trace {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.command-trace li {
  display: grid;
  grid-template-columns: minmax(150px, 0.7fr) minmax(0, 1.3fr);
  gap: 30px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

.command-trace strong {
  font-size: 0.92rem;
}

.command-trace span {
  max-width: 48ch;
  color: var(--muted);
  line-height: 1.5;
}

code {
  padding: 0.1em 0.3em;
  border-radius: 4px;
  background: color-mix(in srgb, var(--acid) 28%, transparent);
  color: var(--ink);
  font-size: 0.88em;
}

.site-footer {
  display: flex;
  min-height: 110px;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.82rem;
}

.site-footer p {
  margin-bottom: 0;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px 24px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #101412;
    --surface: #161b18;
    --ink: #f1f3ee;
    --muted: #aeb4ac;
    --line: #343a35;
  }

  .brand-mark,
  .primary-action {
    color: #0b0d0c;
  }

  code {
    color: var(--ink);
  }
}

@media (max-width: 920px) {
  .demo-layout,
  .command-story {
    grid-template-columns: 1fr;
  }

  .dashboard-panel {
    border-top: 1px solid rgb(255 255 255 / 0.14);
    border-left: 0;
  }

  .dashboard-panel h2 {
    max-width: 14ch;
  }

  .primary-action {
    width: min(100%, 360px);
  }

  .command-story {
    gap: 48px;
  }
}

@media (max-width: 640px) {
  .site-header,
  main,
  .site-footer {
    width: min(calc(100% - 32px), var(--page-width));
  }

  .site-header {
    min-height: 64px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .brand-copy small {
    display: none;
  }

  .intro {
    min-height: auto;
    padding: 64px 0 42px;
  }

  h1 {
    font-size: clamp(2.75rem, 14vw, 4.2rem);
  }

  .video-shell {
    padding: 8px;
  }

  video {
    border-radius: calc(var(--radius) - 8px);
  }

  .dashboard-panel {
    padding: 30px 24px;
  }

  .command-story {
    padding: 80px 0;
  }

  .command-trace li {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    padding: 34px 0;
  }

  .site-footer nav {
    justify-content: flex-start;
  }
}

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

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