:root {
  color-scheme: dark;
  --background: #07111f;
  --surface: #0d1b2e;
  --surface-light: #132843;
  --text: #f5f7fb;
  --muted: #a8b5c8;
  --accent: #55d6be;
  --accent-strong: #7cead6;
  --border: rgba(255, 255, 255, 0.12);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.32);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 85% 10%, rgba(85, 214, 190, 0.12), transparent 30rem),
    linear-gradient(180deg, #07111f 0%, #091525 100%);
  color: var(--text);
}

a { color: inherit; }
.site-header {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.4rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand {
  text-decoration: none;
  font-weight: 900;
  letter-spacing: 0.08em;
}
.brand span { color: var(--accent); }
nav { display: flex; flex-wrap: wrap; gap: 1rem; }
nav a { color: var(--muted); text-decoration: none; }
nav a:hover, nav a:focus-visible { color: var(--text); }

main {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}
.hero {
  min-height: 72vh;
  padding: clamp(5rem, 10vw, 9rem) 0 5rem;
  display: grid;
  align-content: center;
}
.hero.compact { min-height: 65vh; }
.eyebrow {
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
h1 {
  max-width: 900px;
  margin: 0.5rem 0 1rem;
  font-size: clamp(3rem, 8vw, 6.8rem);
  line-height: 0.96;
  letter-spacing: -0.055em;
}
h2 {
  max-width: 760px;
  margin: 0.4rem 0 2rem;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1;
  letter-spacing: -0.04em;
}
.hero-copy {
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.7;
}
.actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.5rem; }
button, .secondary {
  border-radius: 0.7rem;
  padding: 0.9rem 1.1rem;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}
button {
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #04120f;
}
button:hover, button:focus-visible { background: var(--accent-strong); }
.secondary {
  border: 1px solid var(--border);
  text-decoration: none;
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}
.health-result, .identity-result {
  max-width: 760px;
  margin-top: 1rem;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: 0.8rem;
  background: rgba(3, 11, 21, 0.72);
  color: var(--muted);
  overflow: auto;
}
.section { padding: 5rem 0; }
.card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}
.card {
  min-height: 240px;
  padding: 1.4rem;
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: linear-gradient(145deg, rgba(19, 40, 67, 0.9), rgba(13, 27, 46, 0.72));
  box-shadow: var(--shadow);
}
.card span { color: var(--accent); font-weight: 900; }
.card h3 { margin: 2.5rem 0 0.6rem; font-size: 1.35rem; }
.card p, .roadmap { color: var(--muted); line-height: 1.65; }
.roadmap { max-width: 820px; padding-left: 1.4rem; }
.roadmap li { margin-bottom: 1rem; }
footer {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 3rem 0;
  border-top: 1px solid var(--border);
  color: var(--muted);
}

@media (max-width: 840px) {
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .site-header { align-items: flex-start; flex-direction: column; }
  .card-grid { grid-template-columns: 1fr; }
  h1 { font-size: clamp(2.8rem, 16vw, 4.5rem); }
}
