/* UNDA landing — tokens mirror app/lib/core/theme/tokens.dart. */
:root {
  --bg-outer: #051F27;
  --bg: #082F3A;
  --surface: #0E3D49;
  --text: #EAF6F4;
  --text-muted: rgba(234, 246, 244, 0.7);
  --text-faint: rgba(234, 246, 244, 0.5);
  --divider: rgba(234, 246, 244, 0.16);
  --accent: #2AAE9B;
  --accent-2: #5CC9AE;
  --on-accent: #082F3A;
  --danger: #E96A6A;
  --warn: #F2B441;

  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 14px;
  --r-pill: 999px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* Nav */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  max-width: 1120px;
  margin: 0 auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 500;
  letter-spacing: 0.02em;
}
.brand:hover { text-decoration: none; }
.brand img { border-radius: 6px; }
.nav-links {
  display: flex;
  gap: 22px;
  font-size: 14px;
}
.nav-links a { color: var(--text-muted); }
.nav-links a:hover { color: var(--text); text-decoration: none; }

/* Hero */
.hero {
  padding: 60px 24px 100px;
  border-bottom: 1px solid var(--divider);
}
.hero-inner {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}
.eyebrow {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--r-pill);
  border: 1px solid var(--accent);
  color: var(--accent);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
h1 {
  font-size: clamp(32px, 6vw, 56px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
}
h2 {
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 0 0 28px;
}
h3 {
  font-size: 20px;
  font-weight: 500;
  margin: 0 0 8px;
}
.lede {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto 32px;
}
.lede-narrow { font-size: 16px; color: var(--text-muted); margin: 0 0 24px; }

/* Buttons */
.cta-row {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: var(--r-md);
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  border: 1px solid var(--accent);
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.btn-primary {
  background: transparent;
  color: var(--accent);
}
.btn-primary:hover {
  background: rgba(42, 174, 155, 0.12);
  text-decoration: none;
}
.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border-color: var(--divider);
}
.btn-ghost:hover { color: var(--text); text-decoration: none; }
.btn-full { width: 100%; }

.privacy-note {
  font-size: 13px;
  color: var(--text-faint);
  margin: 0;
}

/* Sections */
.section {
  padding: 80px 24px;
  border-bottom: 1px solid var(--divider);
}
.section-inner {
  max-width: 1120px;
  margin: 0 auto;
}
.section-inner.narrow { max-width: 640px; }
.section-inner > .eyebrow { margin-bottom: 20px; }

/* Problem grid */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 32px;
}
@media (max-width: 800px) {
  .problem-grid { grid-template-columns: 1fr; }
}
.problem-card {
  padding: 22px;
  background: var(--surface);
  border-radius: var(--r-lg);
  border: 1px solid var(--divider);
}
.problem-card p { color: var(--text-muted); margin: 0; font-size: 15px; }

/* Features */
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 40px 0;
  border-bottom: 1px dashed var(--divider);
}
.feature:last-child { border-bottom: none; }
.feature.reverse .feature-text { order: 2; }
@media (max-width: 800px) {
  .feature { grid-template-columns: 1fr; gap: 20px; }
  .feature.reverse .feature-text { order: 1; }
}
.feature-text p { color: var(--text-muted); margin: 0; }
.feature-visual {
  padding: 40px 28px;
  background: var(--surface);
  border: 1px solid var(--divider);
  border-radius: var(--r-lg);
  color: var(--accent);
  font-family: 'SF Mono', ui-monospace, Menlo, monospace;
  font-size: 15px;
  text-align: center;
}

/* Waitlist */
.waitlist { background: linear-gradient(180deg, var(--bg) 0%, #06272F 100%); }
.waitlist-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--divider);
  border-radius: var(--r-lg);
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.field span {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.field input,
.field textarea {
  font-family: inherit;
  font-size: 15px;
  color: var(--text);
  background: var(--bg-outer);
  border: 1px solid var(--divider);
  border-radius: var(--r-md);
  padding: 12px 14px;
  resize: vertical;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-muted);
}
.checkbox input { margin-top: 3px; accent-color: var(--accent); }
.form-status {
  margin: 0;
  font-size: 14px;
  min-height: 20px;
}
.form-status.ok { color: var(--accent); }
.form-status.err { color: var(--danger); }

/* Footer */
.footer {
  padding: 40px 24px;
}
.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
}
.footer-brand img { border-radius: 6px; }
.footer-links {
  display: flex;
  gap: 22px;
  font-size: 14px;
}
.footer-links a { color: var(--text-muted); }
.footer-links a:hover { color: var(--text); text-decoration: none; }
.footer-note {
  width: 100%;
  color: var(--text-faint);
  font-size: 12px;
  margin: 8px 0 0;
  text-align: center;
}
