:root {
  color-scheme: dark;
  --bg: #090a0f;
  --panel: #10131b;
  --panel-strong: #171b25;
  --text: #f4f7fb;
  --muted: #a6afbf;
  --line: #293041;
  --blue: #78a7ff;
  --green: #73e0a9;
  --red: #ff6b6b;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 20% 10%, rgba(120, 167, 255, 0.18), transparent 32rem),
    linear-gradient(135deg, #090a0f 0%, #10131b 48%, #120d16 100%);
  color: var(--text);
  font: 16px/1.5 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

main {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 48px 0 64px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 38px;
  align-items: end;
  padding: 20px 0 30px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 18px;
  max-width: 760px;
  font-size: clamp(2.7rem, 6.4vw, 5.2rem);
  line-height: 0.92;
}

h2 {
  margin-bottom: 10px;
  font-size: 1.25rem;
}

.lede {
  max-width: 690px;
  color: var(--muted);
  font-size: 1.05rem;
}

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

.actions a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
}

.actions a:first-child {
  background: var(--text);
  color: var(--bg);
}

.actions.compact {
  margin-top: 22px;
}

.actions.compact a {
  min-height: 38px;
  padding: 0 14px;
  font-size: 0.92rem;
}

.terminal {
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(9, 10, 15, 0.82);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.34);
}

.terminal-bar {
  display: flex;
  gap: 7px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  background: var(--panel-strong);
}

.terminal-bar span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--red);
}

.terminal-bar span:nth-child(2) {
  background: #ffd166;
}

.terminal-bar span:nth-child(3) {
  background: var(--green);
}

pre {
  margin: 0;
  padding: 18px;
  overflow-x: auto;
  color: #d8e2f2;
  font: 0.78rem/1.7 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

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

article,
.panel {
  border: 1px solid var(--line);
  background: rgba(16, 19, 27, 0.78);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
}

article {
  min-height: 190px;
  padding: 22px;
}

article span {
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 800;
}

article p,
.panel p {
  margin-bottom: 0;
  color: var(--muted);
}

.panel {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 28px;
  margin-top: 14px;
  padding: 28px;
  background: linear-gradient(135deg, rgba(23, 27, 37, 0.92), rgba(31, 17, 25, 0.86));
}

.panel h2 {
  font-size: 2rem;
  line-height: 1.05;
}

.proof {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: 28px;
  margin-top: 14px;
  padding: 28px;
  border: 1px solid var(--line);
  background: rgba(9, 10, 15, 0.72);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.26);
}

.proof-copy p:last-of-type {
  margin-bottom: 0;
  color: var(--muted);
}

.proof-copy h2 {
  max-width: 420px;
  font-size: 2rem;
  line-height: 1.05;
}

.proof-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--line);
}

.proof-stats div {
  min-height: 118px;
  padding: 18px;
  background: rgba(16, 19, 27, 0.96);
}

.proof-stats dt {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.proof-stats dd {
  margin: 16px 0 0;
  color: var(--text);
  font-size: clamp(1.7rem, 4vw, 2.45rem);
  font-weight: 800;
  line-height: 0.95;
}

@media (max-width: 860px) {
  main {
    width: min(100% - 28px, 720px);
    padding: 42px 0;
  }

  .grid,
  .hero,
  .panel,
  .proof {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-bottom: 34px;
  }

  .proof-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 460px) {
  .proof-stats {
    grid-template-columns: 1fr;
  }
}
