:root {
  --ink: #15171a;
  --muted: #5d6673;
  --paper: #fbfaf7;
  --line: rgba(21, 23, 26, 0.13);
  --green: #11a97d;
  --coral: #f06449;
  --gold: #e6a93c;
  --blue: #2864d8;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

#networkCanvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background:
    radial-gradient(circle at 15% 12%, rgba(240, 100, 73, 0.18), transparent 28%),
    radial-gradient(circle at 82% 18%, rgba(40, 100, 216, 0.16), transparent 30%),
    linear-gradient(135deg, #fffaf2 0%, #f5fbff 52%, #fff8f3 100%);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px clamp(20px, 5vw, 64px);
  border-bottom: 1px solid var(--line);
  background: rgba(251, 250, 247, 0.82);
  backdrop-filter: blur(18px);
}

.brand,
.nav a,
.nav-cta {
  color: var(--ink);
  text-decoration: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.brand-mark {
  width: 20px;
  height: 20px;
  border-radius: 5px;
  background: conic-gradient(from 160deg, var(--coral), var(--gold), var(--green), var(--blue), var(--coral));
}

.nav {
  display: flex;
  gap: 22px;
  font-size: 0.94rem;
}

.nav-cta,
.primary-button,
.ghost-button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.nav-cta {
  padding: 0 18px;
  color: var(--white);
  background: var(--ink);
}

.hero {
  min-height: calc(100vh - 77px);
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(300px, 0.88fr);
  gap: clamp(30px, 6vw, 80px);
  align-items: center;
  padding: clamp(46px, 7vw, 88px) clamp(20px, 5vw, 64px) 64px;
}

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

.eyebrow,
.panel-kicker {
  margin: 0 0 12px;
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(4.5rem, 13vw, 11rem);
  line-height: 0.82;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4.5vw, 4.6rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.hero-text,
.section p {
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.24rem);
  line-height: 1.65;
}

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

.primary-button,
.ghost-button {
  border: 0;
  padding: 0 22px;
  font-size: 0.96rem;
  text-decoration: none;
}

.primary-button {
  color: var(--white);
  background: var(--green);
  box-shadow: 0 16px 40px rgba(17, 169, 125, 0.23);
}

.ghost-button {
  color: var(--ink);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.62);
}

.primary-button:hover,
.ghost-button:hover,
.nav-cta:hover {
  transform: translateY(-2px);
}

.launch-panel,
.quiz,
.growth-meter,
.signup {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 24px 70px rgba(45, 44, 39, 0.11);
  backdrop-filter: blur(14px);
}

.launch-panel {
  padding: clamp(24px, 4vw, 36px);
}

.countdown {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.countdown div {
  min-width: 0;
  padding: 18px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  text-align: center;
  background: rgba(251, 250, 247, 0.72);
}

.countdown strong {
  display: block;
  font-size: clamp(1.8rem, 4vw, 3.3rem);
  line-height: 1;
}

.countdown span,
.signal-row,
.growth-meter span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.signal-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  margin-top: 18px;
}

.section {
  padding: clamp(54px, 8vw, 96px) clamp(20px, 5vw, 64px);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(300px, 1fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: center;
  background: rgba(255, 255, 255, 0.45);
}

.quiz {
  padding: clamp(22px, 4vw, 34px);
}

.question {
  color: var(--ink);
  font-size: 1.2rem;
  font-weight: 850;
}

.quiz-options {
  display: grid;
  gap: 10px;
}

.quiz-options button {
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: var(--white);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.quiz-options button.active {
  color: var(--white);
  border-color: var(--ink);
  background: var(--ink);
}

.result {
  margin-top: 18px;
  padding: 18px;
  border-radius: 8px;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--green));
}

.result span {
  display: block;
  opacity: 0.82;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.result strong {
  display: block;
  margin-top: 6px;
  font-size: 1.6rem;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.sim-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(260px, 0.7fr);
  gap: 18px;
}

.controls {
  display: grid;
  gap: 14px;
}

.controls label {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  font-weight: 800;
}

.controls input {
  grid-column: 1 / -1;
  width: 100%;
  accent-color: var(--green);
}

.growth-meter {
  display: flex;
  min-height: 270px;
  flex-direction: column;
  justify-content: center;
  padding: clamp(24px, 4vw, 38px);
}

.growth-meter strong {
  display: block;
  margin: 8px 0 14px;
  font-size: clamp(4rem, 10vw, 8.5rem);
  line-height: 0.9;
}

.founder-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(120px, 1fr));
  gap: 12px;
}

.founder-card {
  min-height: 118px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.76);
}

.founder-card.filled {
  color: var(--white);
  background: var(--ink);
}

.founder-card span {
  color: inherit;
  opacity: 0.72;
  font-size: 0.78rem;
  font-weight: 900;
}

.founder-card strong {
  font-size: 1.02rem;
}

.registration {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.72fr);
  gap: clamp(26px, 6vw, 70px);
  align-items: center;
  border-top: 1px solid var(--line);
}

.signup {
  display: grid;
  gap: 12px;
  padding: clamp(20px, 4vw, 30px);
}

.signup input {
  width: 100%;
  min-height: 50px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 14px;
  color: var(--ink);
  background: var(--white);
  font: inherit;
}

.signup p {
  min-height: 24px;
  margin: 0;
  color: var(--green);
  font-size: 0.94rem;
  font-weight: 800;
}

@media (max-width: 840px) {
  .nav {
    display: none;
  }

  .hero,
  .split,
  .sim-grid,
  .registration {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

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

@media (max-width: 520px) {
  .topbar {
    padding-inline: 14px;
  }

  .brand {
    font-size: 0.96rem;
  }

  .nav-cta {
    padding-inline: 12px;
  }

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

  .hero-actions {
    display: grid;
  }
}
