:root {
  color-scheme: dark;
  --base: oklch(11.8% 0.018 176);
  --base-soft: oklch(15.5% 0.022 176);
  --panel: oklch(18.2% 0.024 176);
  --panel-strong: oklch(22% 0.028 176);
  --ink: oklch(95% 0.014 157);
  --muted: oklch(73% 0.032 168);
  --quiet: oklch(58% 0.028 172);
  --line: oklch(31% 0.033 172);
  --green: oklch(76% 0.18 151);
  --cyan: oklch(78% 0.105 207);
  --amber: oklch(81% 0.15 76);
  --red: oklch(68% 0.17 28);
  --blue: oklch(70% 0.11 246);
  --shadow: oklch(5% 0.014 176 / 0.62);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, oklch(13% 0.02 176), var(--base) 520px),
    var(--base);
  color: var(--ink);
  overflow-x: hidden;
}

a {
  color: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 64px;
  padding: 13px clamp(18px, 4vw, 64px);
  border-bottom: 1px solid var(--line);
  background: oklch(12% 0.018 176 / 0.9);
  backdrop-filter: blur(18px);
}

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

.brand {
  gap: 10px;
  text-decoration: none;
  font-weight: 780;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
}

nav {
  gap: clamp(12px, 2vw, 28px);
  color: var(--muted);
  font-size: 14px;
  white-space: nowrap;
}

nav a {
  text-decoration: none;
}

nav a:hover {
  color: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(420px, 1.18fr);
  gap: clamp(34px, 5vw, 72px);
  align-items: center;
  width: 100%;
  max-width: 100vw;
  min-height: calc(88svh - 64px);
  padding: clamp(46px, 7vw, 96px) clamp(18px, 5vw, 72px) clamp(34px, 6vw, 68px);
  border-bottom: 1px solid var(--line);
  overflow-x: hidden;
}

.hero-copy {
  max-width: 720px;
  min-width: 0;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
  overflow-wrap: break-word;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(58px, 6.4vw, 96px);
  line-height: 0.9;
  letter-spacing: 0;
}

h1 span {
  display: block;
}

h2 {
  max-width: 950px;
  margin-bottom: 0;
  font-size: clamp(34px, 5vw, 72px);
  line-height: 0.98;
  letter-spacing: 0;
}

.lede {
  max-width: 680px;
  color: var(--muted);
  font-size: clamp(19px, 2.2vw, 27px);
  line-height: 1.42;
}

.actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--panel);
  color: var(--ink);
  text-decoration: none;
  font-weight: 760;
}

.button:hover {
  border-color: var(--muted);
  background: var(--panel-strong);
}

.button.primary {
  border-color: var(--green);
  background: var(--green);
  color: oklch(15% 0.026 155);
}

.hero-shot {
  min-width: 0;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--panel);
  box-shadow: 0 32px 92px var(--shadow);
}

.hero-shot img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top left;
}

.band {
  width: 100%;
  max-width: 100vw;
  padding: clamp(62px, 9vw, 112px) clamp(18px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
  overflow-x: hidden;
}

.section-head,
.section-kicker {
  width: min(1040px, 100%);
  margin-bottom: 34px;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.78fr);
  gap: clamp(32px, 6vw, 88px);
  background: var(--base-soft);
}

.intro-copy p,
.safety-layout p {
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.58;
}

.intro-copy,
.safety-layout,
.shot-grid,
.shot-grid figure {
  min-width: 0;
}

.signal-list {
  display: grid;
  gap: 0;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.signal-list li {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  line-height: 1.55;
}

.screenshots {
  background: oklch(13% 0.02 176);
}

.shot-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.24fr) minmax(300px, 0.76fr);
  gap: 16px;
}

.shot-grid figure {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--panel);
}

.shot-grid figure:first-child {
  grid-row: span 2;
}

.shot-grid img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top left;
  border-bottom: 1px solid var(--line);
}

.shot-grid figcaption {
  display: grid;
  gap: 8px;
  padding: 18px;
}

.shot-grid strong {
  font-size: 18px;
}

.shot-grid span,
.steps p,
.runner-table span {
  color: var(--muted);
  line-height: 1.55;
}

.workflow {
  background: var(--base-soft);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.steps li {
  min-height: 250px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.steps span {
  display: block;
  margin-bottom: 42px;
  color: var(--amber);
  font-size: 13px;
  font-weight: 850;
}

.steps strong {
  display: block;
  margin-bottom: 12px;
  font-size: 22px;
}

.runner-table {
  display: grid;
  border-top: 1px solid var(--line);
}

.runner-table > div {
  display: grid;
  grid-template-columns: minmax(150px, 0.34fr) minmax(0, 1fr);
  gap: clamp(16px, 4vw, 54px);
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.runner-table strong {
  font-size: 18px;
}

.safety {
  background: oklch(15% 0.022 176);
}

.safety-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.84fr);
  gap: clamp(28px, 6vw, 86px);
}

.cta {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  background:
    linear-gradient(135deg, oklch(17% 0.03 176), oklch(20% 0.04 151)),
    var(--panel);
}

.cta h2 {
  max-width: 760px;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  padding: 26px clamp(18px, 5vw, 72px);
  color: var(--muted);
  background: oklch(9.5% 0.016 176);
}

.site-footer a {
  color: var(--ink);
  text-decoration: none;
}

@media (max-width: 1050px) {
  .hero,
  .intro,
  .safety-layout,
  .shot-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

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

  .shot-grid figure:first-child {
    grid-row: auto;
  }
}

@media (max-width: 760px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  h1 {
    font-size: 43px;
  }

  h2 {
    font-size: clamp(28px, 8vw, 36px);
  }

  .lede,
  .intro-copy p,
  .safety-layout p {
    font-size: 18px;
  }

  .steps,
  .runner-table > div {
    grid-template-columns: 1fr;
  }

  .steps li {
    min-height: auto;
  }

  .steps span {
    margin-bottom: 28px;
  }

  .cta {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .brand span {
    font-size: 15px;
  }

  .hero,
  .band {
    padding-left: 24px;
    padding-right: 24px;
  }

  .hero-copy,
  .section-head,
  .section-kicker,
  .intro-copy,
  .actions,
  .cta-actions {
    width: 100%;
    max-width: calc(100vw - 48px);
  }

  h1,
  h2,
  p,
  li {
    overflow-wrap: anywhere;
  }

  .button {
    width: 100%;
  }

  .actions,
  .cta-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }
}
