:root {
  color-scheme: light;
  --ink: #101418;
  --muted: #53606d;
  --line: #dce2e8;
  --paper: #fbfcfd;
  --white: #ffffff;
  --green: #1f8a5b;
  --green-dark: #0b5f41;
  --cyan: #167a92;
  --amber: #ad6b00;
  --red: #b83f3f;
  --charcoal: #171b20;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

.topbar {
  align-items: center;
  background: rgba(251, 252, 253, 0.92);
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  left: 0;
  padding: 14px clamp(20px, 4vw, 56px);
  position: fixed;
  right: 0;
  top: 0;
  z-index: 10;
}

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

.brand {
  font-size: 16px;
  font-weight: 760;
  gap: 10px;
}

.brand-mark {
  align-items: center;
  background: var(--charcoal);
  border-radius: 6px;
  color: var(--white);
  display: inline-flex;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  height: 30px;
  justify-content: center;
  width: 30px;
}

.nav {
  color: var(--muted);
  flex-wrap: wrap;
  font-size: 14px;
  font-weight: 680;
  gap: 18px;
  justify-content: flex-end;
}

.nav a:hover,
.footer a:hover {
  color: var(--green-dark);
}

.hero {
  align-items: center;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  min-height: 88vh;
  overflow: hidden;
  padding: 104px clamp(20px, 6vw, 72px) 72px;
  position: relative;
}

.hero::after {
  background: linear-gradient(90deg, rgba(251, 252, 253, 0.98) 0%, rgba(251, 252, 253, 0.9) 44%, rgba(251, 252, 253, 0.5) 100%);
  content: "";
  inset: 0;
  position: absolute;
}

.hero-visual {
  height: min(74vh, 680px);
  max-width: none;
  opacity: 0.92;
  position: absolute;
  right: max(-240px, -12vw);
  top: 104px;
  width: min(980px, 78vw);
}

.hero-content {
  min-width: 0;
  max-width: 760px;
  position: relative;
  width: min(760px, 100%);
  z-index: 1;
}

.eyebrow,
.feature-kicker {
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 780;
  letter-spacing: 0;
  margin: 0 0 10px;
  text-transform: uppercase;
}

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

h1 {
  font-size: clamp(58px, 12vw, 136px);
  letter-spacing: 0;
  line-height: 0.88;
  margin-bottom: 26px;
}

h2 {
  font-size: clamp(34px, 5vw, 68px);
  letter-spacing: 0;
  line-height: 1;
  margin-bottom: 18px;
}

h3 {
  font-size: 22px;
  letter-spacing: 0;
  line-height: 1.16;
  margin-bottom: 12px;
}

.hero-copy {
  color: #2f3943;
  font-size: clamp(20px, 2.8vw, 30px);
  line-height: 1.25;
  margin-bottom: 32px;
  max-width: min(680px, 100%);
  overflow-wrap: break-word;
}

.hero-copy span {
  display: block;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  align-items: center;
  border: 1px solid var(--charcoal);
  border-radius: 8px;
  display: inline-flex;
  font-weight: 760;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
}

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

.button-secondary {
  background: rgba(255, 255, 255, 0.78);
}

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

.signal {
  min-height: 132px;
  padding: 28px clamp(20px, 5vw, 56px);
}

.signal-value {
  display: block;
  font-size: 42px;
  font-weight: 790;
  line-height: 1;
}

.signal-label {
  color: var(--muted);
  display: block;
  font-weight: 690;
  margin-top: 8px;
}

.section {
  padding: 96px clamp(20px, 6vw, 72px);
}

.section-heading {
  max-width: 900px;
}

.section-heading p,
.workflow-layout p {
  color: var(--muted);
  font-size: 19px;
  max-width: 760px;
}

.feature-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 42px;
}

.feature {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  min-height: 260px;
  padding: 24px;
}

.feature p {
  color: var(--muted);
  margin-bottom: 0;
}

.contrast {
  background: #edf6f2;
  border-bottom: 1px solid #cee1d7;
  border-top: 1px solid #cee1d7;
}

.workflow-layout {
  align-items: center;
  display: grid;
  gap: 48px;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.8fr);
}

.command-panel {
  background: var(--charcoal);
  border-radius: 8px;
  color: #f3f6f8;
  min-height: 360px;
  overflow: hidden;
}

.command-line {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: #d7dde3;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 15px;
  overflow-wrap: anywhere;
  padding: 18px 22px;
}

.check-list {
  display: grid;
  gap: 18px;
  list-style: none;
  margin: 0;
  padding: 26px 24px;
}

.check-list li {
  align-items: center;
  display: flex;
  font-weight: 700;
  gap: 12px;
}

.ok {
  background: #53d18f;
  border-radius: 99px;
  display: inline-block;
  height: 12px;
  width: 12px;
}

.install {
  align-items: start;
  display: grid;
  gap: 36px;
  grid-template-columns: minmax(0, 0.78fr) minmax(360px, 1fr);
}

.install-grid {
  display: grid;
  gap: 14px;
}

pre {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 5px solid var(--green);
  border-radius: 8px;
  margin: 0;
  overflow-x: auto;
  padding: 22px;
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 15px;
}

.footer {
  background: var(--charcoal);
  color: #d7dde3;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
  min-height: 96px;
  padding: 28px;
}

@media (max-width: 900px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

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

  .hero {
    min-height: 86vh;
    padding-top: 142px;
  }

  .hero-content {
    max-width: calc(100vw - 40px);
    width: calc(100vw - 40px);
  }

  .hero::after {
    background: rgba(251, 252, 253, 0.88);
  }

  .hero-visual {
    height: auto;
    opacity: 0.42;
    right: -360px;
    top: 176px;
    width: 920px;
  }

  .signal-band,
  .feature-grid,
  .workflow-layout,
  .install {
    grid-template-columns: 1fr;
  }

  .feature {
    min-height: 0;
  }
}

@media (max-width: 560px) {
  .nav {
    gap: 12px;
  }

  .hero-content {
    max-width: calc(100vw - 60px);
    width: calc(100vw - 60px);
  }

  .hero {
    padding-bottom: 54px;
  }

  .hero-copy {
    font-size: 20px;
  }

  .button {
    width: 100%;
  }

  .section {
    padding-bottom: 72px;
    padding-top: 72px;
  }

  .command-panel {
    min-height: 0;
  }
}
