:root {
  color-scheme: dark;
  --bg: #0f1012;
  --panel: #171b1f;
  --panel-2: #20262b;
  --text: #f4f7f5;
  --muted: #aab4af;
  --line: #334039;
  --green: #08f870;
  --amber: #f2b84b;
  --red: #f25f5c;
  --blue: #76a8ff;
}

* {
  box-sizing: border-box;
}

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

a,
button {
  font: inherit;
}

.shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 38px;
}

.hero {
  min-height: 58vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 470px);
  gap: 28px;
  align-items: center;
}

.hero-copy {
  max-width: 680px;
}

.eyebrow {
  color: var(--green);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.78rem;
  margin: 0 0 14px;
}

h1 {
  font-size: clamp(2.6rem, 7vw, 6.2rem);
  line-height: 0.96;
  letter-spacing: 0;
  margin: 0;
}

.subhead {
  max-width: 640px;
  color: var(--muted);
  font-size: clamp(1.02rem, 2vw, 1.22rem);
  line-height: 1.6;
  margin: 22px 0 26px;
}

.endpoint-box,
.hero-actions,
.panel-heading,
.check-strip,
.closing {
  display: flex;
  align-items: center;
}

.endpoint-box {
  width: min(100%, 680px);
  min-height: 56px;
  gap: 10px;
  padding: 8px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.endpoint-box span {
  flex: 1;
  overflow-wrap: anywhere;
  color: #dce5df;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.9rem;
  padding-left: 10px;
}

button,
.hero-actions a,
.closing a {
  border: 0;
  border-radius: 8px;
  min-height: 44px;
  padding: 0 16px;
  cursor: pointer;
  color: #07110b;
  background: var(--green);
  font-weight: 800;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.endpoint-box button,
.panel-heading button {
  min-width: 86px;
}

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

.hero-actions a,
.closing a {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
}

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

.proof-panel img {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #080a0b;
}

.proof-panel p {
  margin: 0;
  padding: 16px;
  color: var(--muted);
  line-height: 1.45;
}

.tool-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 18px;
  margin-top: 28px;
}

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

.panel-heading {
  justify-content: space-between;
  gap: 12px;
  min-height: 60px;
  padding: 10px 12px 10px 16px;
  border-bottom: 1px solid var(--line);
}

.panel-heading p {
  margin: 0;
  font-weight: 850;
}

.panel-heading span {
  color: var(--amber);
  font-size: 0.83rem;
  font-weight: 850;
  text-transform: uppercase;
}

pre {
  margin: 0;
  min-height: 360px;
  max-height: 480px;
  overflow: auto;
  padding: 18px;
  background: #0b0d0e;
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.88rem;
  line-height: 1.55;
  color: #dbe9df;
  white-space: pre-wrap;
}

.result-panel code {
  color: #c7d7ff;
}

.check-strip {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--line);
}

.check-strip div {
  min-height: 94px;
  padding: 16px;
  background: var(--panel-2);
}

.check-strip strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 8px;
}

.check-strip span {
  color: var(--muted);
}

.closing {
  justify-content: space-between;
  gap: 18px;
  margin-top: 22px;
  padding: 22px 0 8px;
}

.closing p {
  margin: 0;
  color: var(--text);
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  font-weight: 850;
}

button:focus-visible,
a:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

@media (max-width: 860px) {
  .shell {
    width: min(100% - 22px, 620px);
    padding-top: 18px;
  }

  .hero,
  .tool-grid,
  .check-strip {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    gap: 20px;
  }

  .endpoint-box {
    align-items: stretch;
    flex-direction: column;
  }

  .endpoint-box span {
    padding: 8px;
    font-size: 0.78rem;
  }

  .endpoint-box button,
  .hero-actions button,
  .hero-actions a,
  .closing a {
    width: 100%;
  }

  pre {
    min-height: 280px;
    max-height: 420px;
  }

  .closing {
    align-items: stretch;
    flex-direction: column;
  }
}
