:root {
  --bg: #050705;
  --bg-alt: #0b0f0c;
  --green: #22e08a;
  --green-light: #6bf0a8;
  --lime: #b6f000;
  --white: #f2f4f3;
  --muted: #9aa39d;
  --border: rgba(255, 255, 255, 0.08);
  --card-bg: rgba(255, 255, 255, 0.03);
  --radius: 14px;
  --max-width: 1080px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--white);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, Arial, sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
  min-height: 100vh;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.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;
}

/* Background effects */
.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(34, 224, 138, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34, 224, 138, 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 40%, transparent 90%);
}

.bg-glow {
  position: fixed;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 900px;
  max-width: 160vw;
  background: radial-gradient(circle, rgba(34, 224, 138, 0.18) 0%, rgba(34, 224, 138, 0) 65%);
  z-index: -1;
  pointer-events: none;
}

/* Header */
.site-header {
  padding: 24px 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  height: 42px;
  width: 42px;
  display: block;
}

.brand-name {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--white);
}

.brand-name .accent {
  color: var(--green);
  background: none;
  -webkit-text-fill-color: initial;
}

.header-cta {
  color: var(--green-light);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  border: 1px solid var(--border);
  padding: 8px 18px;
  border-radius: 999px;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.header-cta:hover {
  border-color: var(--green);
  color: var(--white);
}

/* Hero */
.hero {
  text-align: center;
  padding: 64px 24px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-logo {
  width: 240px;
  height: 240px;
  margin-bottom: 24px;
}

.badge {
  display: inline-block;
  background: rgba(34, 224, 138, 0.12);
  border: 1px solid rgba(34, 224, 138, 0.35);
  color: var(--green-light);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 800;
  margin: 0 0 20px;
  letter-spacing: -0.02em;
  color: var(--white);
}

.hero h1 .accent {
  background: linear-gradient(90deg, var(--green) 0%, var(--lime) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  max-width: 620px;
  color: var(--muted);
  font-size: 1.1rem;
  margin: 0 0 40px;
}

.hero-sub strong {
  color: var(--white);
  font-weight: 600;
}

.markets-row {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 0 0 36px;
  padding: 0;
}

.market-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
}

.market-pill em {
  font-style: normal;
  color: var(--muted);
  font-weight: 500;
  font-size: 0.78rem;
}

.market-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  border-radius: 3px;
}

.market-icon--globe {
  color: var(--green-light);
  border-radius: 0;
}

/* Waitlist form */
.waitlist-form {
  width: 100%;
  max-width: 460px;
}

.field-row {
  display: flex;
  gap: 10px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  padding: 6px;
  border-radius: 999px;
}

.field-row input[type="email"] {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: none;
  color: var(--white);
  font-size: 1rem;
  padding: 12px 16px;
  outline: none;
}

.field-row input[type="email"]::placeholder {
  color: var(--muted);
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.field-row button {
  background: linear-gradient(90deg, var(--green) 0%, var(--green-light) 100%);
  color: #04160d;
  border: none;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0 24px;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}

.field-row button:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(34, 224, 138, 0.25);
}

.field-row button:disabled {
  opacity: 0.6;
  cursor: default;
  transform: none;
  box-shadow: none;
}

.form-msg {
  min-height: 1.4em;
  margin: 14px 0 0;
  font-size: 0.9rem;
  font-weight: 600;
}

.form-msg[data-state="ok"] {
  color: var(--green-light);
}

.form-msg[data-state="error"] {
  color: #ff8a8a;
}

.form-hint {
  color: var(--muted);
  font-size: 0.82rem;
  margin: 10px 0 0;
}

@media (max-width: 520px) {
  .hero-logo {
    width: 128px;
    height: 128px;
  }

  .field-row {
    flex-wrap: wrap;
    border-radius: 20px;
  }
  .field-row input[type="email"] {
    width: 100%;
  }
  .field-row button {
    width: 100%;
    padding: 12px;
  }
}

/* Features */
.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 40px 24px 80px;
}

.feature-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 22px;
  text-align: left;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.feature-card:hover {
  border-color: rgba(34, 224, 138, 0.35);
  transform: translateY(-2px);
}

.feature-icon {
  font-size: 1.6rem;
  margin-bottom: 14px;
}

.feature-card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  color: var(--white);
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

@media (max-width: 860px) {
  .features {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .features {
    grid-template-columns: 1fr;
  }
}

/* Secondary waitlist CTA */
.waitlist-cta {
  text-align: center;
  padding: 40px 24px 100px;
  border-top: 1px solid var(--border);
}

.waitlist-cta h2 {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  margin: 0 0 12px;
}

.waitlist-cta > p {
  color: var(--muted);
  margin: 0 0 32px;
}

.waitlist-form--secondary {
  margin: 0 auto;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 40px 24px;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
}

.footer-logo {
  height: 56px;
  width: 56px;
  margin-bottom: 8px;
}

.footer-brand {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--white);
  margin: 0;
}

.footer-accent {
  color: var(--green);
}

.footer-tagline {
  color: var(--muted);
  margin: 2px 0 0;
  font-size: 0.9rem;
}

.footer-social {
  color: var(--green-light);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  margin: 6px 0;
}

.footer-social:hover {
  color: var(--white);
}

.footer-copy {
  color: var(--muted);
  font-size: 0.78rem;
  margin: 8px 0 0;
}
