:root {
  --ink: #111827;
  --muted: #5d6678;
  --paper: #f7f5ef;
  --card: #fffdf8;
  --line: #d8d4c9;
  --accent: #e5484d;
  --accent-dark: #bd3038;
  --navy: #101827;
  --cyan: #6ee7f2;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
}

.hero {
  color: white;
  background:
    radial-gradient(circle at 82% 18%, rgba(110, 231, 242, 0.16), transparent 26rem),
    linear-gradient(145deg, #0c1422 0%, #172338 65%, #102d38 100%);
  border-bottom: 5px solid var(--accent);
}

nav,
.hero-grid,
.content-section,
footer {
  width: min(1160px, calc(100% - 40px));
  margin-inline: auto;
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
}

.wordmark {
  color: white;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-weight: 800;
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 24px;
}

.nav-links a {
  color: #cbd5e1;
  font-size: 0.92rem;
  font-weight: 650;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: white;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(42px, 8vw, 100px);
  align-items: center;
  padding: 88px 0 110px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--cyan);
}

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

h1 {
  margin-bottom: 24px;
  font-size: clamp(2.8rem, 6vw, 5.4rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

h1 span {
  color: var(--cyan);
}

h2 {
  max-width: 760px;
  margin-bottom: 36px;
  font-size: clamp(2.1rem, 4vw, 3.6rem);
  line-height: 1.06;
  letter-spacing: -0.045em;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.35rem;
}

.lede {
  max-width: 650px;
  color: #cbd5e1;
  font-size: 1.12rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 32px 0 22px;
}

.button {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 19px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 6px;
  font-weight: 750;
  text-decoration: none;
}

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

.button.primary:hover,
.button.primary:focus-visible {
  background: var(--accent-dark);
}

.button.secondary:hover,
.button.secondary:focus-visible {
  border-color: white;
}

.caveat {
  max-width: 660px;
  color: #94a3b8;
  font-size: 0.84rem;
}

.terminal {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  background: #080d16;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.34);
}

.terminal-bar {
  display: flex;
  gap: 7px;
  align-items: center;
  padding: 11px 14px;
  color: #8794a8;
  background: #151d2a;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.72rem;
}

.terminal-bar i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #64748b;
}

.terminal-bar i:first-child {
  background: var(--accent);
}

.terminal-bar i:nth-child(2) {
  background: #eab308;
}

.terminal-bar i:nth-child(3) {
  margin-right: 6px;
  background: #22c55e;
}

.terminal pre {
  margin: 0;
  padding: 24px;
  overflow-x: auto;
  color: #dce5f2;
  font-size: 0.79rem;
  line-height: 1.75;
}

.terminal b,
.terminal em {
  color: var(--cyan);
  font-style: normal;
}

.facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: min(1160px, calc(100% - 40px));
  margin: -38px auto 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card);
  box-shadow: 0 14px 38px rgba(17, 24, 39, 0.08);
}

.facts div {
  padding: 24px;
  border-right: 1px solid var(--line);
}

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

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

.facts strong {
  font-size: 1.1rem;
}

.facts span {
  color: var(--muted);
  font-size: 0.78rem;
}

.content-section {
  padding: 110px 0 30px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.cards article {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card);
}

.cards p {
  min-height: 76px;
  color: var(--muted);
  font-size: 0.93rem;
}

.number {
  display: block;
  margin-bottom: 32px;
  color: var(--accent);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.8rem;
  font-weight: 800;
}

pre {
  white-space: pre-wrap;
  word-break: break-word;
}

.cards pre {
  min-height: 94px;
  margin: 22px -8px -8px;
  padding: 16px;
  border-radius: 5px;
  color: #dce5f2;
  background: var(--navy);
  font-size: 0.74rem;
}

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

.split {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 30px;
  padding-bottom: 100px;
}

.split h2 {
  font-size: clamp(2rem, 3.2vw, 3rem);
}

.split ul {
  margin: 0;
  padding: 25px 25px 25px 46px;
  border-top: 3px solid var(--navy);
  background: rgba(255, 255, 255, 0.42);
}

.split li {
  margin-bottom: 14px;
}

.limit-list {
  color: var(--muted);
  border-top-color: var(--accent) !important;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 32px 0 48px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.88rem;
}

footer p {
  margin: 0;
}

footer a {
  font-weight: 750;
}

@media (max-width: 860px) {
  .hero-grid,
  .cards,
  .split {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    padding: 64px 0 90px;
  }

  .facts {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .facts div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .cards p {
    min-height: auto;
  }
}

@media (max-width: 560px) {
  nav,
  footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    gap: 16px;
  }

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

  .facts div,
  .facts div:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

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

  h1 {
    font-size: 2.75rem;
  }
}
