:root {
  --ink: #f7f3e8;
  --ink-soft: #d4cdbf;
  --muted: #938c7f;
  --void: #080807;
  --panel: #12100d;
  --panel-strong: #1b1712;
  --line: rgba(247, 243, 232, 0.16);
  --line-strong: rgba(247, 243, 232, 0.28);
  --acid: #dfff42;
  --orange: #ff6b35;
  --teal: #31d7c0;
  --blue: #7aa7ff;
  --shadow: rgba(0, 0, 0, 0.45);
  color-scheme: dark;
  font-family: Manrope, "IBM Plex Sans", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--void);
  scroll-behavior: smooth;
}

body {
  width: 100%;
  max-width: 100%;
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background:
    linear-gradient(90deg, rgba(247, 243, 232, 0.035) 1px, transparent 1px),
    linear-gradient(0deg, rgba(247, 243, 232, 0.025) 1px, transparent 1px),
    var(--void);
  background-size: 42px 42px;
  color: var(--ink);
}

body::after {
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: 0.06;
  content: "";
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.7'/%3E%3C/svg%3E");
}

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

code {
  font-family: "IBM Plex Mono", "SF Mono", monospace;
}

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 24px;
  border-bottom: 1px solid rgba(247, 243, 232, 0.08);
  background: rgba(8, 8, 7, 0.72);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 36px;
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: #f7f3e8;
  color: #080807;
  font-family: "IBM Plex Mono", monospace;
  font-size: 15px;
  font-weight: 600;
}

.brand-text {
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 700;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  min-height: 36px;
  padding: 9px 12px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 700;
  transition:
    border-color 180ms ease,
    background-color 180ms ease,
    color 180ms ease;
}

.nav-links a:hover {
  border-color: var(--line);
  background: rgba(247, 243, 232, 0.06);
  color: var(--ink);
}

.hero {
  position: relative;
  min-height: clamp(560px, 92svh, 740px);
  padding: clamp(104px, 14svh, 144px) 24px clamp(64px, 10svh, 92px);
  isolation: isolate;
}

.hero-image {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.68;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(8, 8, 7, 0.96) 0%, rgba(8, 8, 7, 0.72) 46%, rgba(8, 8, 7, 0.42) 100%),
    linear-gradient(180deg, rgba(8, 8, 7, 0.08) 0%, rgba(8, 8, 7, 0.8) 100%);
}

.hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -1;
  height: 180px;
  content: "";
  background: linear-gradient(180deg, transparent, var(--void));
}

.hero-inner {
  width: min(760px, 100%);
  max-width: 100%;
  margin: 0 auto 0 max(0px, calc((100% - 1180px) / 2));
}

.kicker,
.section-kicker {
  margin: 0;
  color: var(--acid);
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  text-wrap: pretty;
}

h1 {
  max-width: 620px;
  margin: 18px 0 0;
  color: var(--ink);
  font-size: 112px;
  line-height: 0.88;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 660px;
  margin: 28px 0 0;
  color: var(--ink-soft);
  font-size: 21px;
  font-weight: 600;
  line-height: 1.5;
}

.command-block {
  display: flex;
  width: min(620px, 100%);
  min-height: 58px;
  margin-top: 36px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: rgba(8, 8, 7, 0.78);
  box-shadow: 0 24px 60px var(--shadow);
}

.command-block code {
  display: flex;
  min-width: 0;
  flex: 1;
  align-items: center;
  padding: 0 18px;
  overflow: auto hidden;
  color: var(--ink);
  font-size: 16px;
  white-space: nowrap;
}

.copy-button,
.primary-action,
.secondary-action {
  min-height: 44px;
  border-radius: 8px;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.copy-button {
  width: 104px;
  border: 0;
  border-left: 1px solid var(--line);
  background: var(--acid);
  color: #080807;
}

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

.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid var(--line);
  transition:
    border-color 180ms ease,
    background-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.primary-action {
  background: var(--ink);
  color: var(--void);
}

.secondary-action {
  background: rgba(247, 243, 232, 0.05);
  color: var(--ink-soft);
}

.primary-action:hover,
.secondary-action:hover {
  transform: translateY(-1px);
}

.secondary-action:hover {
  border-color: var(--line-strong);
  color: var(--ink);
}

.summary-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(1180px, calc(100% - 48px));
  margin: -64px auto 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(18, 16, 13, 0.9);
  box-shadow: 0 24px 80px var(--shadow);
}

.summary-band div {
  min-height: 124px;
  padding: 28px;
  border-right: 1px solid var(--line);
}

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

.metric {
  display: block;
  color: var(--ink);
  font-family: "IBM Plex Mono", monospace;
  font-size: 40px;
  font-weight: 600;
  line-height: 1;
}

.metric-label {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.section {
  width: min(1180px, calc(100% - 48px));
  margin: clamp(72px, 8vw, 96px) auto 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(180px, 0.35fr) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
  margin-bottom: 28px;
}

.section h2 {
  max-width: 760px;
  margin: 0;
  color: var(--ink);
  font-size: 48px;
  line-height: 1.05;
  letter-spacing: 0;
}

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

.feature-card {
  min-height: 250px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(247, 243, 232, 0.055), rgba(247, 243, 232, 0.025));
}

.feature-card:nth-child(2) {
  border-top-color: rgba(255, 107, 53, 0.52);
}

.feature-card:nth-child(3) {
  border-top-color: rgba(49, 215, 192, 0.52);
}

.feature-card:nth-child(4) {
  border-top-color: rgba(122, 167, 255, 0.52);
}

.feature-card h3 {
  margin: 0;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.25;
}

.feature-card p {
  margin: 18px 0 0;
  color: var(--ink-soft);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.65;
}

.command-section {
  margin-bottom: 96px;
}

.command-list {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  overflow: hidden;
}

.command-row {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  min-height: 74px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
}

.command-row:last-child {
  border-bottom: 0;
}

.command-row span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.command-row code {
  min-width: 0;
  overflow: auto hidden;
  color: var(--ink);
  font-size: 14px;
  white-space: nowrap;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  padding: 28px 24px 36px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

@media (max-width: 920px) {
  .hero {
    min-height: 720px;
    padding-top: 124px;
  }

  .hero-inner {
    margin: 0;
  }

  h1 {
    font-size: 84px;
  }

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

  .summary-band,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .summary-band div {
    min-height: 96px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .summary-band div:last-child {
    border-bottom: 0;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .section h2 {
    font-size: 38px;
  }

  .feature-card {
    min-height: 190px;
  }
}

@media (min-width: 921px) and (max-height: 640px) {
  .hero {
    min-height: 520px;
    padding-top: 104px;
    padding-bottom: 54px;
  }

  h1 {
    margin-top: 14px;
    font-size: 92px;
  }

  .hero-copy {
    margin-top: 20px;
    font-size: 19px;
    line-height: 1.42;
  }

  .command-block {
    margin-top: 24px;
  }

  .hero-actions {
    margin-top: 14px;
  }

  .summary-band {
    margin-top: -56px;
  }

  .section {
    margin-top: 64px;
  }
}

@media (min-width: 921px) and (max-height: 560px) {
  .hero {
    min-height: 460px;
    padding-top: 88px;
    padding-bottom: 44px;
  }

  h1 {
    margin-top: 10px;
    font-size: 80px;
  }

  .hero-copy {
    margin-top: 16px;
    font-size: 17px;
    line-height: 1.36;
  }

  .command-block {
    min-height: 54px;
    margin-top: 16px;
  }

  .command-block code {
    font-size: 15px;
  }

  .copy-button,
  .primary-action,
  .secondary-action {
    min-height: 40px;
    font-size: 13px;
  }

  .hero-actions {
    margin-top: 10px;
  }

  .summary-band {
    margin-top: -52px;
  }

  .summary-band div {
    min-height: 104px;
    padding: 22px 28px;
  }

  .section {
    margin-top: 56px;
  }
}

@media (max-width: 620px) {
  .site-header {
    width: 100vw;
    max-width: 100vw;
    padding: 12px;
  }

  .brand-text {
    display: none;
  }

  .nav-links a {
    min-height: 34px;
    padding-right: 10px;
    padding-left: 10px;
    font-size: 12px;
  }

  .hero {
    min-height: 670px;
    padding: 104px 16px 72px;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(8, 8, 7, 0.97), rgba(8, 8, 7, 0.72)),
      linear-gradient(180deg, rgba(8, 8, 7, 0.12), rgba(8, 8, 7, 0.86));
  }

  h1 {
    font-size: 64px;
  }

  .hero-inner {
    width: calc(100vw - 32px);
    max-width: calc(100vw - 32px);
  }

  .hero-copy {
    max-width: 100%;
    overflow-wrap: break-word;
    font-size: 17px;
  }

  .command-block {
    display: grid;
    width: 100%;
    max-width: 100%;
    min-height: 104px;
  }

  .command-block code {
    min-height: 56px;
  }

  .copy-button {
    width: 100%;
    min-height: 48px;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .summary-band,
  .section {
    width: calc(100% - 32px);
  }

  .section {
    margin-top: 80px;
  }

  .section h2 {
    font-size: 32px;
  }

  .command-row {
    grid-template-columns: 1fr;
    gap: 8px;
    min-height: 86px;
  }

  .site-footer {
    padding-right: 16px;
    padding-left: 16px;
  }
}
