:root {
  color-scheme: dark;
  --bg: #101214;
  --surface: #171a1e;
  --surface-strong: #20242a;
  --text: #f3f0e8;
  --muted: #b8b1a4;
  --subtle: #7e8792;
  --line: rgba(243, 240, 232, 0.14);
  --accent: #d8ff6d;
  --accent-ink: #12140e;
  --cyan: #74d7d5;
  --rose: #f19aae;
  --gold: #e9c66c;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.hero {
  position: relative;
  min-height: 92svh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  isolation: isolate;
}

#signal-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -3;
  background: #0f1113;
}

.hero__shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(16, 18, 20, 0.92) 0%, rgba(16, 18, 20, 0.72) 48%, rgba(16, 18, 20, 0.38) 100%),
    linear-gradient(180deg, rgba(16, 18, 20, 0.3) 0%, rgba(16, 18, 20, 0.2) 58%, #101214 100%);
}

.site-header,
.footer,
.section__inner {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 78px;
  gap: 24px;
}

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

.brand__mark {
  width: 28px;
  height: 28px;
  border: 1px solid rgba(216, 255, 109, 0.7);
  border-radius: 50%;
  position: relative;
  background:
    linear-gradient(90deg, transparent 44%, rgba(216, 255, 109, 0.95) 44% 56%, transparent 56%),
    linear-gradient(0deg, transparent 44%, rgba(116, 215, 213, 0.85) 44% 56%, transparent 56%);
}

.brand__mark::after {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  background: var(--rose);
}

.header-link {
  color: var(--muted);
  font-size: 0.95rem;
  border-bottom: 1px solid transparent;
}

.header-link:hover {
  color: var(--text);
  border-color: var(--accent);
}

.hero__content {
  width: min(calc(100% - 40px), var(--max));
  margin: auto auto 12svh;
  padding-top: 56px;
}

.eyebrow,
.kicker {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 850px;
  margin-bottom: 24px;
  font-size: clamp(3.2rem, 8vw, 8.5rem);
  line-height: 0.92;
  letter-spacing: 0;
}

.hero__copy {
  max-width: 700px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 1px solid var(--line);
  padding: 0 18px;
  font-weight: 800;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button--primary {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: var(--accent);
}

.button--ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.section {
  padding: 90px 0;
}

.section--intro {
  background: #101214;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.65fr);
  gap: 56px;
  align-items: start;
}

.intro h2,
.waitlist h2 {
  margin-bottom: 0;
  font-size: clamp(2.2rem, 5vw, 5.2rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.intro p:not(.kicker),
.waitlist__copy p {
  color: var(--muted);
  font-size: 1.1rem;
}

.section--features {
  background: #f3f0e8;
  color: #121417;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid rgba(18, 20, 23, 0.18);
  border-left: 1px solid rgba(18, 20, 23, 0.18);
}

.feature {
  min-height: 310px;
  padding: 24px;
  border-right: 1px solid rgba(18, 20, 23, 0.18);
  border-bottom: 1px solid rgba(18, 20, 23, 0.18);
  display: flex;
  flex-direction: column;
}

.feature__index {
  color: #68717b;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.82rem;
}

.feature h3 {
  margin: auto 0 18px;
  font-size: clamp(1.45rem, 2.5vw, 2rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.feature p {
  margin-bottom: 0;
  color: #48505a;
}

.section--statement {
  background: #161a1c;
}

.statement p {
  max-width: 960px;
  margin-bottom: 0;
  font-size: clamp(2rem, 5vw, 5.8rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.section--waitlist {
  background:
    linear-gradient(180deg, #101214 0%, #15171a 100%);
}

.waitlist {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(320px, 0.62fr);
  gap: 56px;
  align-items: start;
}

.waitlist-form {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.waitlist-form label {
  display: block;
  margin-bottom: 18px;
}

.waitlist-form span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.waitlist-form input,
.waitlist-form select,
.waitlist-form textarea {
  width: 100%;
  border: 1px solid rgba(243, 240, 232, 0.18);
  border-radius: 8px;
  background: rgba(16, 18, 20, 0.88);
  color: var(--text);
  outline: none;
}

.waitlist-form input,
.waitlist-form select {
  min-height: 48px;
  padding: 0 13px;
}

.waitlist-form textarea {
  resize: vertical;
  min-height: 116px;
  padding: 12px 13px;
}

.waitlist-form input:focus,
.waitlist-form select:focus,
.waitlist-form textarea:focus {
  border-color: var(--accent);
}

.waitlist-form__button {
  width: 100%;
}

.waitlist-form__button:disabled {
  cursor: progress;
  opacity: 0.7;
}

.form-status {
  min-height: 22px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.form-status[data-state="error"] {
  color: var(--rose);
}

.hidden {
  display: none;
}

.footer {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--subtle);
  border-top: 1px solid var(--line);
}

.thanks-page {
  min-height: 100svh;
  background:
    radial-gradient(circle at 80% 10%, rgba(116, 215, 213, 0.14), transparent 34%),
    #101214;
}

.thanks {
  width: min(calc(100% - 40px), 720px);
  min-height: 100svh;
  margin: 0 auto;
  padding: 36px 0;
  display: flex;
  flex-direction: column;
}

.thanks__panel {
  margin: auto 0;
  padding: 32px 0;
}

.thanks__panel h1 {
  font-size: clamp(3rem, 8vw, 6rem);
}

.thanks__panel p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.2rem;
}

@media (max-width: 900px) {
  .hero {
    min-height: 88svh;
  }

  .intro,
  .waitlist {
    grid-template-columns: 1fr;
    gap: 32px;
  }

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

  .feature {
    min-height: 250px;
  }
}

@media (max-width: 620px) {
  .site-header,
  .footer,
  .section__inner,
  .hero__content {
    width: min(calc(100% - 28px), var(--max));
  }

  .site-header {
    min-height: 68px;
  }

  .header-link {
    display: none;
  }

  .hero__content {
    margin-bottom: 8svh;
  }

  h1 {
    font-size: clamp(3rem, 16vw, 5.5rem);
  }

  .section {
    padding: 66px 0;
  }

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

  .feature {
    min-height: 220px;
  }

  .waitlist-form {
    padding: 18px;
  }

  .footer {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
  }
}
