:root {
  --bg: #ffffff;
  --surface: rgba(255, 255, 255, 0.98);
  --surface-strong: #ffffff;
  --text: #000000;
  --muted: #000000;
  --line: rgba(0, 0, 0, 0.08);
  --line-strong: rgba(0, 0, 0, 0.14);
  --accent: #000000;
  --shadow: 0 10px 28px rgba(0, 0, 0, 0.04);
  --heading-font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --body-font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --shell: min(1220px, calc(100vw - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #ffffff;
  color: var(--text);
  font-family: var(--body-font);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

button,
input,
textarea {
  font: inherit;
}

.site-shell {
  width: var(--shell);
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero-stage {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(320px, 560px) 1fr;
  align-items: center;
  gap: 56px;
  padding: 18px 0 12px;
}

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

.eyebrow {
  margin: 0 0 16px;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.7rem;
  font-weight: 700;
  opacity: 1;
}

h1,
h2 {
  font-family: var(--heading-font);
  font-weight: 700;
  letter-spacing: -0.045em;
  margin: 0;
}

h1 {
  font-size: clamp(4.1rem, 9.2vw, 7.6rem);
  line-height: 0.92;
  max-width: 7ch;
}

h1 span {
  display: block;
  color: #000000;
  font-size: clamp(1.4rem, 2.6vw, 2.05rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin-top: 0.18em;
}

.hero-text,
.legal-intro,
.legal-section p,
.legal-list li,
.checkbox-row span {
  color: var(--muted);
}

.hero-text {
  margin: 18px 0 0;
  font-size: 0.98rem;
  line-height: 1.4;
  max-width: 19rem;
  font-weight: 500;
}

.waitlist-form {
  margin-top: 34px;
}

.signup-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 1);
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: var(--shadow);
}

.hero-field {
  display: block;
}

.hero-field input {
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--text);
  padding: 16px 20px;
  outline: none;
  font-size: 1rem;
  font-weight: 500;
}

.hero-field input::placeholder {
  color: rgba(0, 0, 0, 0.45);
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 16px 6px 0;
  font-size: 0.92rem;
  line-height: 1.4;
}

.checkbox-row input {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  accent-color: #000000;
}

.button {
  border: 0;
  border-radius: 999px;
  padding: 0.92rem 1.55rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 180ms ease, opacity 180ms ease, box-shadow 180ms ease;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.button-primary {
  background: #000000;
  color: #ffffff;
  min-height: 56px;
  min-width: 168px;
}

.button-submit {
  position: relative;
}

.button-spinner {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: rgba(255, 255, 255, 0.95);
  display: none;
  animation: spin 0.9s linear infinite;
}

.waitlist-form.is-submitting .button-label {
  display: none;
}

.waitlist-form.is-submitting .button-spinner {
  display: block;
}

.form-status {
  min-height: 24px;
  margin: 12px 6px 0;
  color: #157347;
}

.form-status.is-error {
  color: #b24f3f;
}

.hero-orb {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 640px;
}

.orb-svg-shell {
  position: relative;
  width: min(720px, 70vw);
  height: min(720px, 70vw);
  min-width: 320px;
  min-height: 320px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
}

.astra-orb-svg {
  position: relative;
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 0 0 24px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 500;
}

.footer-links {
  display: inline-flex;
  gap: 16px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.legal-page {
  background: #ffffff;
}

.legal-header {
  padding-bottom: 6px;
}

.legal-shell {
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid var(--line);
  border-radius: 30px;
  box-shadow: var(--shadow);
  padding: 34px;
  margin: 18px auto 48px;
}

.legal-shell h1 {
  font-size: clamp(2.9rem, 7vw, 5.2rem);
  margin-bottom: 18px;
}

.legal-section + .legal-section {
  margin-top: 28px;
}

.legal-section h2 {
  font-size: 1.42rem;
  margin-bottom: 10px;
}

.legal-section p,
.legal-list li {
  line-height: 1.72;
}

.landing-page .eyebrow,
.landing-page .hero-text,
.landing-page .checkbox-row span,
.landing-page .site-footer,
.landing-page .footer-links a {
  color: #000000;
}

.legal-list {
  margin: 10px 0 0;
  padding-left: 18px;
}

.reveal {
  animation: rise 0.7s cubic-bezier(0.2, 0.9, 0.2, 1) both;
}

.reveal-delay {
  animation-delay: 0.08s;
}

.reveal-delay-2 {
  animation-delay: 0.16s;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 640px) {
  .legal-shell {
    padding: 20px;
    border-radius: 22px;
  }
}

@media (max-width: 980px) {
  .hero-stage {
    grid-template-columns: 1fr;
    gap: 22px;
    padding-top: 18px;
  }

  .hero-copy {
    text-align: center;
    max-width: 760px;
    margin: 0 auto;
  }

  h1 {
    max-width: none;
  }

  .hero-text {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-orb {
    min-height: 520px;
    order: -1;
  }

  .orb-svg-shell {
    width: min(560px, 82vw);
    height: min(560px, 82vw);
  }

  .signup-row {
    grid-template-columns: 1fr;
    border-radius: 28px;
  }

  .button-primary {
    width: 100%;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}
