:root {
  color-scheme: dark;
  --ink: #f4f7f8;
  --muted: #aab4b9;
  --line: #2c3438;
  --panel: #14191b;
  --page: #0b0e10;
  --blue: #43a5ff;
  --green: #30c878;
  --yellow: #f2c14e;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -60px;
  z-index: 20;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--page);
}

.skip-link:focus {
  top: 16px;
}

.hero {
  position: relative;
  min-height: min(520px, 84svh);
  height: min(84svh, 840px);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media {
  object-fit: cover;
  object-position: center 32%;
  filter: saturate(0.9) contrast(1.06);
}

.hero-shade {
  background: rgba(5, 8, 9, 0.72);
}

.nav,
.hero-copy,
.section-inner {
  position: relative;
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
}

.nav {
  z-index: 2;
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
}

.brand img {
  width: 30px;
  height: 30px;
}

.nav-links,
.locale-links,
.actions,
.proof-row {
  display: flex;
  align-items: center;
}

.nav-links {
  gap: 24px;
  font-size: 14px;
}

.nav-links a,
.locale-links a,
.footer a {
  color: var(--muted);
  text-decoration: none;
}

.nav-links a:hover,
.locale-links a:hover,
.footer a:hover {
  color: var(--ink);
}

.locale-links {
  gap: 10px;
  font-size: 12px;
}

.locale-links [aria-current="page"] {
  color: var(--ink);
}

.hero-copy {
  z-index: 2;
  height: calc(100% - 66px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding-bottom: 54px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--green);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
}

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

h1 {
  margin-bottom: 20px;
  font-size: 112px;
  line-height: 0.82;
  font-weight: 760;
}

.hero-lede {
  width: min(720px, 100%);
  margin-bottom: 30px;
  font-size: 30px;
  line-height: 1.25;
  text-wrap: balance;
}

.hero-detail {
  width: min(650px, 100%);
  margin-bottom: 30px;
  color: #d2d8db;
  font-size: 16px;
  line-height: 1.6;
}

.actions {
  flex-wrap: wrap;
  gap: 10px;
}

.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 17px;
  border: 1px solid #667176;
  border-radius: 6px;
  background: rgba(11, 14, 16, 0.78);
  color: var(--ink);
  text-decoration: none;
  font-size: 14px;
  font-weight: 650;
}

.button.primary {
  border-color: var(--ink);
  background: var(--ink);
  color: #101416;
}

.button:hover {
  border-color: var(--blue);
}

.proof-row {
  flex-wrap: wrap;
  gap: 12px 22px;
  margin-top: 24px;
  color: #c7d0d4;
  font: 12px ui-monospace, SFMono-Regular, Menlo, monospace;
}

.proof-row span::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--green);
}

.band {
  border-bottom: 1px solid var(--line);
}

.shortcut-band {
  border-bottom: 1px solid var(--line);
  background: #101416;
}

.shortcut-grid {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.shortcut {
  min-width: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 28px;
  border-left: 1px solid var(--line);
}

.shortcut:first-child {
  padding-left: 0;
  border-left: 0;
}

.shortcut kbd {
  min-width: 52px;
  padding: 6px 8px;
  border: 1px solid #4b565b;
  border-radius: 5px;
  background: #080b0c;
  color: var(--ink);
  font: 12px ui-monospace, SFMono-Regular, Menlo, monospace;
  text-align: center;
}

.shortcut strong,
.shortcut span {
  display: block;
}

.shortcut strong {
  margin-bottom: 6px;
  font-size: 14px;
}

.shortcut span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.section-inner {
  padding: 88px 0;
}

.section-kicker {
  margin-bottom: 12px;
  color: var(--blue);
  font: 12px ui-monospace, SFMono-Regular, Menlo, monospace;
  text-transform: uppercase;
}

h2 {
  max-width: 820px;
  margin-bottom: 24px;
  font-size: 56px;
  line-height: 1.05;
  font-weight: 700;
  text-wrap: balance;
}

.section-lede {
  max-width: 720px;
  margin-bottom: 46px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.product-image {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid #333b3f;
  border-radius: 6px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
}

.feature {
  min-width: 0;
  padding: 28px 28px 12px 0;
  border-bottom: 1px solid var(--line);
}

.feature:not(:nth-child(3n + 1)) {
  padding-left: 28px;
  border-left: 1px solid var(--line);
}

.feature h3 {
  margin-bottom: 10px;
  font-size: 17px;
}

.feature p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.feature-code {
  color: var(--green);
  font: 12px ui-monospace, SFMono-Regular, Menlo, monospace;
}

.install-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.install-method {
  min-width: 0;
}

.install-method h3 {
  margin-bottom: 14px;
}

.install-method p {
  min-height: 48px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.command {
  position: relative;
  overflow-x: auto;
  margin: 18px 0 12px;
  padding: 18px 52px 18px 18px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #080b0c;
  color: #d9e0e3;
  font: 13px/1.7 ui-monospace, SFMono-Regular, Menlo, monospace;
  white-space: pre;
}

.copy-button {
  position: absolute;
  right: 8px;
  top: 8px;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--panel);
  color: var(--muted);
  cursor: pointer;
  font-size: 15px;
}

.copy-button:hover {
  color: var(--ink);
  border-color: var(--blue);
}

.text-link {
  color: var(--blue);
  text-underline-offset: 4px;
}

.footer .section-inner {
  padding: 32px 0 42px;
  display: flex;
  justify-content: space-between;
  gap: 30px;
  color: var(--muted);
  font-size: 13px;
}

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

@media (max-width: 780px) {
  .hero {
    min-height: min(560px, 82svh);
    height: 82svh;
  }

  .hero-media {
    object-position: 35% center;
  }

  .nav-links > a:not(.locale-link) {
    display: none;
  }

  .hero-copy {
    padding-bottom: 32px;
  }

  h1 {
    font-size: 72px;
  }

  .hero-lede {
    font-size: 23px;
  }

  h2 {
    font-size: 38px;
  }

  .hero-detail {
    font-size: 15px;
  }

  .section-inner {
    padding: 64px 0;
  }

  .feature-grid,
  .install-grid,
  .shortcut-grid {
    grid-template-columns: 1fr;
  }

  .shortcut {
    padding: 22px 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .shortcut:first-child {
    border-top: 0;
  }

  .feature,
  .feature:not(:nth-child(3n + 1)) {
    padding: 24px 0 12px;
    border-left: 0;
  }

  .install-grid {
    gap: 48px;
  }

  .install-method p {
    min-height: 0;
  }

  .footer .section-inner {
    flex-direction: column;
  }
}

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