:root {
  color-scheme: dark;
  --field: oklch(0.13 0.008 255);
  --field-deep: oklch(0.095 0.006 255);
  --metal: oklch(0.19 0.01 255);
  --metal-strong: oklch(0.25 0.012 255);
  --ink: oklch(0.93 0.006 255);
  --muted: oklch(0.72 0.012 255);
  --quiet: oklch(0.55 0.012 255);
  --rule: oklch(0.36 0.014 255);
  --rule-bright: oklch(0.58 0.018 255);
  --gold: oklch(0.76 0.16 86);
  --gold-deep: oklch(0.58 0.13 78);
  --blue: oklch(0.68 0.12 240);
  --shadow: oklch(0.055 0.004 255 / 0.75);
  --max: 1180px;
  --radius: 6px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Atkinson Hyperlegible", system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.66;
  letter-spacing: 0;
  color: var(--ink);
  background: var(--field);
  overflow-wrap: break-word;
}

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

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: 1rem;
  z-index: 20;
  transform: translateY(-150%);
  background: var(--gold);
  color: var(--field-deep);
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  font-weight: 700;
}

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

.site-header {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  border-bottom: 1px solid var(--rule);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  font-family: "Rajdhani", system-ui, sans-serif;
  font-weight: 700;
  font-size: 1.18rem;
  white-space: nowrap;
}

.brand span,
h1,
h2 {
  overflow-wrap: normal;
  word-break: normal;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-nav a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.78rem;
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--muted);
  font-weight: 700;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--field-deep);
  background: var(--gold);
  outline: 2px solid transparent;
}

main {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
}

.hero {
  min-height: clamp(560px, 76svh, 760px);
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1.08fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  padding: clamp(2.5rem, 6vw, 5rem) 0 2.5rem;
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 1rem;
  font-family: "Rajdhani", system-ui, sans-serif;
  font-weight: 700;
  font-size: 1.12rem;
  color: var(--gold);
}

h1,
h2 {
  font-family: "Rajdhani", system-ui, sans-serif;
  line-height: 0.9;
  letter-spacing: 0;
}

h1 {
  margin: 0;
  font-size: clamp(2.85rem, 9.5vw, 7.5rem);
  white-space: nowrap;
  text-shadow: 0 0 28px oklch(0.93 0.006 255 / 0.16);
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4.8vw, 3.6rem);
  max-width: 11.5em;
}

.hero-lede {
  max-width: 43rem;
  margin: 1.5rem 0 0;
  font-size: clamp(1.08rem, 1.5vw, 1.28rem);
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.72rem 1.05rem;
  border-radius: var(--radius);
  border: 1px solid var(--rule-bright);
  font-family: "Rajdhani", system-ui, sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease, color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  outline: 2px solid transparent;
}

.button-primary {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--field-deep);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: oklch(0.82 0.15 86);
  border-color: oklch(0.82 0.15 86);
}

.button-secondary {
  background: transparent;
  color: var(--ink);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: var(--gold);
  color: var(--gold);
}

.logo-stage {
  margin: 0;
  justify-self: center;
  width: min(100%, 620px);
}

.logo-stage img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 28px 54px var(--shadow));
}

.snapshot {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  margin-bottom: clamp(4rem, 8vw, 6.5rem);
  background: var(--field-deep);
}

.snapshot div {
  padding: 1.2rem 1.2rem 1.25rem 0;
  border-right: 1px solid var(--rule);
}

.snapshot div + div {
  padding-left: 1.2rem;
}

.snapshot div:last-child {
  border-right: 0;
}

.snapshot strong {
  display: block;
  margin-bottom: 0.25rem;
  font-family: "Rajdhani", system-ui, sans-serif;
  font-size: 1.16rem;
  color: var(--ink);
}

.snapshot span {
  color: var(--quiet);
}

.section {
  margin: 0 0 clamp(4.5rem, 9vw, 7rem);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(2rem, 7vw, 5rem);
  align-items: start;
}

.long-copy {
  font-size: 1.12rem;
  color: var(--muted);
  max-width: 65ch;
}

.long-copy p:first-child {
  margin-top: 0;
}

.proof-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1fr);
  gap: 1.25rem;
  align-items: start;
}

.proof-intro {
  padding: 1.5rem 1.5rem 1.5rem 0;
  border-top: 1px solid var(--rule-bright);
}

.proof-intro p:last-child {
  max-width: 36rem;
  color: var(--muted);
  font-size: 1.08rem;
}

.proof-panel {
  margin: 0;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: var(--metal);
  box-shadow: 0 22px 42px var(--shadow);
  overflow: hidden;
}

.proof-panel img {
  width: 100%;
  background: var(--field-deep);
  object-fit: cover;
}

.proof-panel-large {
  grid-row: span 2;
}

.proof-panel-large img {
  min-height: 310px;
}

figcaption {
  padding: 0.9rem 1rem 1rem;
  color: var(--muted);
}

.install-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.82fr);
  gap: 3rem;
  align-items: stretch;
  padding: clamp(1.25rem, 4vw, 2.25rem);
  border: 1px solid var(--rule-bright);
  border-radius: var(--radius);
  background: var(--metal);
  box-shadow: 0 22px 42px var(--shadow);
}

.install-section p:not(.eyebrow) {
  max-width: 56ch;
  color: var(--muted);
}

.command-block {
  display: grid;
  gap: 0.75rem;
  align-content: center;
  padding: 1rem;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: var(--field-deep);
  color: var(--ink);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.98rem;
}

.command-block span {
  display: block;
  color: var(--gold);
}

.link-shelf {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 0 0 5rem;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.link-shelf a {
  min-height: 150px;
  padding: 1.15rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  text-decoration: none;
  background: var(--field);
  border-right: 1px solid var(--rule);
}

.link-shelf a:last-child {
  border-right: 0;
}

.link-shelf a:hover,
.link-shelf a:focus-visible {
  background: var(--gold);
  color: var(--field-deep);
  outline: 2px solid transparent;
}

.link-shelf span {
  font-family: "Rajdhani", system-ui, sans-serif;
  font-size: 1.16rem;
  font-weight: 700;
}

.link-shelf strong {
  max-width: 18rem;
  color: var(--muted);
}

.link-shelf a:hover strong,
.link-shelf a:focus-visible strong {
  color: var(--field-deep);
}

.site-footer {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--rule);
  color: var(--quiet);
}

.site-footer span {
  font-family: "Rajdhani", system-ui, sans-serif;
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--ink);
}

.site-footer a {
  color: var(--blue);
  font-weight: 700;
}

@media (max-width: 900px) {
  .hero,
  .split-section,
  .proof-grid,
  .install-section {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero {
    min-height: auto;
  }

  .logo-stage {
    width: min(100%, 520px);
  }

  .snapshot,
  .link-shelf {
    grid-template-columns: 1fr 1fr;
  }

  .snapshot div:nth-child(2) {
    border-right: 0;
  }

  .snapshot div:nth-child(n + 3) {
    border-top: 1px solid var(--rule);
  }

  .link-shelf a:nth-child(2) {
    border-right: 0;
  }

  .link-shelf a:last-child {
    grid-column: 1 / -1;
    border-top: 1px solid var(--rule);
  }
}

@media (max-width: 620px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    padding: 0.85rem 0;
    gap: 0.6rem;
  }

  .site-nav {
    width: 100%;
    justify-content: flex-start;
  }

  .site-nav a {
    padding-left: 0;
    padding-right: 0.9rem;
  }

  .hero {
    padding: 2rem 0 2rem;
  }

  h1 {
    font-size: 2.95rem;
  }

  .hero-lede {
    font-size: 1.05rem;
  }

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

  .button {
    width: 100%;
  }

  .snapshot,
  .link-shelf {
    grid-template-columns: 1fr;
  }

  .snapshot div,
  .snapshot div + div,
  .link-shelf a,
  .link-shelf a:nth-child(2),
  .link-shelf a:last-child {
    padding-left: 0;
    border-right: 0;
    border-top: 1px solid var(--rule);
  }

  .snapshot div:first-child,
  .link-shelf a:first-child {
    border-top: 0;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 1rem 0;
  }
}

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

  .brand {
    font-size: 1.05rem;
  }
}

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

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