:root {
  --accent: #22d3ee;
  --accent-dark: #0891b2;
  --ink: #f4f7fb;
  --muted: #a7b4c5;
  --dark: #0b1220;
  --surface: #111b2c;
  --surface-raised: #162235;
  --border: rgba(154, 168, 186, 0.24);
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: dark;
}

body {
  margin: 0;
  background:
    linear-gradient(rgba(154, 168, 186, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(154, 168, 186, 0.035) 1px, transparent 1px),
    var(--dark);
  background-size: 48px 48px;
  color: var(--ink);
  font-family: "IBM Plex Sans", sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
}

.shell {
  width: min(var(--max-width), calc(100% - 3rem));
  margin: 0 auto;
}

.site-header {
  border-bottom: 1px solid var(--border);
  background: rgba(11, 18, 32, 0.92);
  backdrop-filter: blur(12px);
}

.header-content,
.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.header-content {
  min-height: 72px;
}

.brand,
.home-link,
.footer-content a {
  text-decoration: none;
}

.brand {
  font-weight: 600;
}

.home-link,
.footer-content a {
  color: var(--accent);
  font-size: 0.92rem;
}

.hero {
  padding: clamp(5rem, 10vw, 8rem) 0 clamp(4rem, 8vw, 6rem);
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--accent);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 850px;
  margin-bottom: 1.5rem;
  font-size: clamp(2.5rem, 7vw, 5.4rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.hero-copy {
  max-width: 760px;
  margin-bottom: 2rem;
  color: #cad3df;
  font-size: clamp(1.05rem, 2vw, 1.24rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.15rem;
  border: 1px solid var(--accent);
  border-radius: 3px;
  font-weight: 600;
  text-decoration: none;
  transition: background 160ms ease, color 160ms ease;
}

.button-primary {
  background: var(--accent);
  color: #07131d;
}

.button-primary:hover {
  background: #67e8f9;
}

.button-secondary {
  color: var(--accent);
}

.button-secondary:hover {
  background: rgba(34, 211, 238, 0.1);
}

.runtime-note {
  margin: 1.1rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.section {
  padding: clamp(4rem, 8vw, 6.5rem) 0;
  border-top: 1px solid var(--border);
}

.section-dark {
  background: rgba(17, 27, 44, 0.82);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 2.5rem;
}

.section-heading h2 {
  margin-bottom: 0.8rem;
  font-size: clamp(2rem, 4vw, 3.1rem);
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.section-heading > p:last-child {
  color: var(--muted);
}

.question-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  margin: 0;
  padding: 1px;
  background: var(--border);
  list-style: none;
}

.question-grid li {
  grid-column: span 2;
  min-height: 220px;
  padding: 1.7rem;
  background: var(--surface);
}

.question-grid li:nth-child(4),
.question-grid li:nth-child(5) {
  grid-column: span 3;
}

.question-grid span {
  color: var(--accent);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.78rem;
}

.question-grid h3 {
  margin: 1.2rem 0 0.65rem;
  font-size: 1.2rem;
}

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

.download-list {
  border-top: 1px solid var(--border);
}

.download-list > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
}

.download-list strong,
.download-list small {
  display: block;
}

.download-list small {
  margin-top: 0.2rem;
  color: var(--muted);
}

.download-list b {
  color: var(--accent);
  font-size: 0.9rem;
}

.download-list > a:hover strong {
  color: var(--accent);
}

.verification-note {
  max-width: 830px;
  margin: 2rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.verification-note a {
  color: var(--accent);
}

footer {
  padding: 2rem 0;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.88rem;
}

@media (max-width: 760px) {
  .shell {
    width: min(100% - 2rem, var(--max-width));
  }

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

  .question-grid li,
  .question-grid li:nth-child(4),
  .question-grid li:nth-child(5) {
    grid-column: auto;
    min-height: 0;
  }

  .header-content,
  .footer-content,
  .download-list > a {
    align-items: flex-start;
  }

  .header-content,
  .footer-content {
    flex-direction: column;
    justify-content: center;
    padding: 1rem 0;
  }

  .download-list > a {
    flex-direction: column;
    gap: 0.45rem;
  }
}
