:root {
  color-scheme: light;
  --bg: oklch(0.966 0.007 255);
  --surface: oklch(0.995 0.004 255);
  --surface-muted: oklch(0.956 0.01 255);
  --hero-overlay: oklch(0.205 0.032 258 / 0.68);
  --ink: oklch(0.205 0.03 258);
  --ink-soft: oklch(0.43 0.03 258);
  --ink-inverse: oklch(0.985 0.01 255);
  --line: oklch(0.84 0.02 255);
  --line-strong: oklch(0.68 0.03 255);
  --primary: oklch(0.38 0.135 260);
  --primary-strong: oklch(0.29 0.13 260);
  --max: 1180px;
  --radius: 7px;
  font-family:
    "Avenir Next", Avenir, "Segoe UI Variable", "Segoe UI", ui-sans-serif, system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.55;
}

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

a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--primary);
}

.skip-link {
  position: absolute;
  left: 16px;
  top: 16px;
  z-index: 10;
  transform: translateY(-180%);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  padding: 10px 14px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.masthead,
.hero-inner,
.band-inner,
.site-footer {
  width: min(var(--max), calc(100vw - 32px));
  margin-inline: auto;
}

.masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0 14px;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--primary);
  font-size: 18px;
  font-weight: 800;
}

.brand-name {
  margin: 0;
  font-size: 18px;
  font-weight: 760;
  letter-spacing: 0;
}

.brand-tag {
  margin: 2px 0 0;
  color: var(--ink-soft);
  font-size: 13px;
}

.masthead-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 0 14px;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: 0;
  text-decoration: none;
  transition:
    transform 180ms cubic-bezier(0.16, 1, 0.3, 1),
    background-color 180ms cubic-bezier(0.16, 1, 0.3, 1),
    border-color 180ms cubic-bezier(0.16, 1, 0.3, 1),
    color 180ms cubic-bezier(0.16, 1, 0.3, 1);
}

.button.primary {
  background: var(--primary);
  border-color: var(--primary-strong);
  color: white;
}

.button.secondary {
  background: var(--surface);
  border-color: var(--line-strong);
  color: var(--ink);
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary:hover,
.button.primary:focus-visible {
  background: var(--primary-strong);
  color: white;
}

.button.secondary:hover,
.button.secondary:focus-visible {
  background: var(--surface-muted);
  border-color: var(--primary);
  color: var(--primary-strong);
}

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

.hero {
  min-height: clamp(70vh, 78vh, 82vh);
  display: flex;
  align-items: flex-end;
  padding: 24px 0 32px;
  background-color: var(--hero-overlay);
  background-image: url("/assets/workbench-review.webp");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  background-blend-mode: multiply;
  color: var(--ink-inverse);
}

.hero-inner {
  width: min(var(--max), calc(100vw - 32px));
  text-shadow: 0 1px 2px var(--ink);
}

.hero-inner .button {
  text-shadow: none;
}

.eyebrow {
  margin: 0 0 16px;
  color: oklch(0.83 0.02 255);
  font-size: 13px;
  font-weight: 720;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  max-width: 12ch;
  font-size: 7rem;
  line-height: 0.92;
  letter-spacing: 0;
  font-weight: 820;
  text-wrap: balance;
}

.lede {
  margin: 18px 0 0;
  max-width: 58ch;
  font-size: 1.08rem;
  color: oklch(0.93 0.01 255);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 32px 0 0;
}

.hero-facts div {
  border-top: 1px solid oklch(1 0 0 / 0.18);
  padding-top: 12px;
}

.hero-facts dt {
  color: oklch(0.84 0.02 255);
  font-size: 13px;
  font-weight: 720;
}

.hero-facts dd {
  margin: 6px 0 0;
  color: oklch(0.93 0.01 255);
}

.band {
  padding: 72px 0;
}

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

.band-muted {
  background: var(--surface-muted);
}

.band-inner {
  display: grid;
  gap: 28px;
}

.split {
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  align-items: start;
}

.section-copy h2 {
  margin: 0;
  font-size: 2.5rem;
  line-height: 1.05;
  letter-spacing: 0;
}

.section-copy p {
  margin: 12px 0 0;
  max-width: 58ch;
  color: var(--ink-soft);
}

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

.specs div {
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

.specs dt {
  color: var(--primary);
  font-size: 13px;
  font-weight: 720;
}

.specs dd {
  margin: 6px 0 0;
  color: var(--ink-soft);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  counter-increment: step;
  border-top: 1px solid var(--line);
  padding: 18px 0;
}

.steps li::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  margin-bottom: 10px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 720;
}

.steps strong {
  display: block;
  font-size: 18px;
  line-height: 1.2;
  letter-spacing: 0;
}

.steps p {
  margin: 10px 0 0;
  max-width: 34ch;
  color: var(--ink-soft);
}

.cta-band {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.site-footer {
  padding: 18px 0 34px;
  color: var(--ink-soft);
  font-size: 14px;
}

.site-footer p {
  margin: 0;
}

.not-found {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px;
  background: var(--surface);
}

.not-found > div {
  width: min(620px, 100%);
}

.not-found h1 {
  margin: 0;
  font-size: 3rem;
  line-height: 1.05;
  letter-spacing: 0;
}

.not-found p:not(.eyebrow) {
  margin: 16px 0 24px;
  color: var(--ink-soft);
}

@media (max-width: 980px) {
  .split,
  .specs,
  .steps,
  .cta-band {
    grid-template-columns: 1fr;
  }

  .steps p {
    max-width: 100%;
  }
}

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

  .masthead-nav {
    width: 100%;
  }

  .masthead-nav .button {
    flex: 1 1 0;
  }

  .hero {
    min-height: 72vh;
  }

  .hero h1 {
    font-size: 4.3rem;
  }

  .hero-facts {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .button,
  .cta-band .button {
    width: 100%;
  }

  .band {
    padding: 58px 0;
  }

  .section-copy h2 {
    font-size: 2rem;
  }

  .not-found h1 {
    font-size: 2.25rem;
  }
}

@media (max-width: 420px) {
  .hero h1 {
    font-size: 3.5rem;
  }
}

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

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