/* ============ DESIGN TOKENS ============ */
:root {
  --bg: #ffffff;
  --surface: #f5f5f5;
  --surface-2: #fafbfc;
  --border: #e6e8eb;
  --text: #1a1a1a;
  --muted: #5a6270;
  --accent: #06b6d4;
  --accent-dark: #0891b2;
  --accent-soft: #e6fbff;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, 0.06);
  --shadow: 0 8px 30px rgba(16, 24, 40, 0.08);
  --shadow-lg: 0 20px 50px rgba(16, 24, 40, 0.12);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --maxw: 1120px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 760px; }

h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; font-weight: 700; }

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 14px;
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-size: 0.98rem;
  font-weight: 600;
  padding: 13px 24px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .18s ease, transform .12s ease, box-shadow .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--accent); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-1px); }
.btn-secondary { background: #fff; color: var(--text); border-color: var(--border); }
.btn-secondary:hover { background: var(--surface); }
.btn-sm { padding: 9px 16px; font-size: 0.9rem; }
.btn-block { width: 100%; }

/* ============ HEADER ============ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.scrolled { border-bottom-color: var(--border); box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.05rem; }
.brand-mark { flex: none; }
.main-nav { display: flex; gap: 28px; margin-left: 12px; }
.main-nav a { color: var(--muted); font-size: 0.95rem; font-weight: 500; transition: color .15s ease; }
.main-nav a:hover { color: var(--text); }
.header-cta { margin-left: auto; }

.nav-toggle { display: none; margin-left: auto; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; margin: 4px 0; transition: .2s; }

.mobile-nav { display: none; flex-direction: column; gap: 4px; padding: 8px 24px 20px; border-bottom: 1px solid var(--border); }
.mobile-nav a { padding: 10px 0; color: var(--muted); font-weight: 500; }
.mobile-nav .btn { margin-top: 8px; }
.mobile-nav.open { display: flex; }

/* ============ HERO ============ */
.hero { position: relative; padding: 72px 0 88px; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(600px 400px at 12% 0%, rgba(6, 182, 212, 0.10), transparent 60%),
    radial-gradient(500px 360px at 95% 20%, rgba(6, 182, 212, 0.06), transparent 60%);
  z-index: 0;
}
.hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center;
}
.hero-copy h1 { font-size: clamp(2.1rem, 5vw, 3.35rem); margin-bottom: 20px; }
.hero-sub { font-size: clamp(1.05rem, 2vw, 1.2rem); color: var(--muted); max-width: 30em; margin-bottom: 26px; }
.hero-points { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.hero-points li { position: relative; padding-left: 28px; color: var(--text); font-weight: 500; }
.hero-points li::before {
  content: ""; position: absolute; left: 0; top: 4px;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M5 12.5l4 4 10-11' stroke='%230891b2' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* ---- Waitlist form ---- */
.hero-form-wrap { position: relative; }
.waitlist-form {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 28px;
}
.form-title { font-size: 1.35rem; margin-bottom: 4px; }
.form-lead { color: var(--muted); font-size: 0.95rem; margin-bottom: 20px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field label { font-size: 0.85rem; font-weight: 600; color: var(--text); }
.field input, .field select {
  font-family: inherit; font-size: 0.98rem; color: var(--text);
  padding: 11px 13px; border: 1px solid var(--border); border-radius: var(--radius-sm);
  background: #fff; transition: border-color .15s ease, box-shadow .15s ease;
  width: 100%;
}
.field input:focus, .field select:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.15);
}
.field input.invalid, .field select.invalid { border-color: #e5484d; box-shadow: 0 0 0 3px rgba(229, 72, 77, 0.12); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.waitlist-form .btn-block { margin-top: 6px; }
.form-fineprint { text-align: center; color: var(--muted); font-size: 0.8rem; margin-top: 12px; }
.form-success {
  display: flex; align-items: center; gap: 10px; margin-top: 16px;
  background: var(--accent-soft); border: 1px solid #b8f0f8;
  color: var(--accent-dark); font-weight: 500; font-size: 0.92rem;
  padding: 12px 14px; border-radius: var(--radius-sm);
}

/* ============ SECTIONS ============ */
.section { padding: 84px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-head h2 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); }
.section-lead { color: var(--muted); margin-top: 14px; font-size: 1.02rem; }

/* ---- Features ---- */
.features { background: var(--surface-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px 26px; box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease;
}
.feature-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.feature-icon {
  width: 48px; height: 48px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent-soft); margin-bottom: 18px;
}
.feature-card h3 { font-size: 1.18rem; margin-bottom: 10px; }
.feature-card p { color: var(--muted); font-size: 0.98rem; }

/* ---- Social proof ---- */
.proof-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 28px; }
.proof-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px 26px; display: flex; flex-direction: column; gap: 22px;
}
.proof-card.is-placeholder { border-style: dashed; background: var(--surface-2); }
.proof-quote { font-size: 1.05rem; color: var(--muted); font-style: italic; }
.proof-author { display: flex; align-items: center; gap: 12px; }
.avatar { width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(135deg, #dfe3e8, #eef1f4); flex: none; }
.author-name { display: block; font-weight: 600; font-size: 0.95rem; }
.author-meta { display: block; color: var(--muted); font-size: 0.85rem; }
.proof-note { text-align: center; color: var(--muted); font-size: 0.9rem; }

/* ---- FAQ ---- */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius-sm); background: #fff; overflow: hidden; }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: none; border: none; cursor: pointer; font-family: inherit;
  font-size: 1.02rem; font-weight: 600; color: var(--text); text-align: left;
  padding: 18px 20px;
}
.faq-chevron { color: var(--muted); flex: none; transition: transform .2s ease; }
.faq-item.open .faq-chevron { transform: rotate(180deg); color: var(--accent); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .25s ease; }
.faq-a p { padding: 0 20px 18px; color: var(--muted); }

/* ---- Closing CTA ---- */
.closing { text-align: center; }
.closing-inner { background: var(--text); color: #fff; border-radius: 20px; padding: 56px 32px; }
.closing-inner h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); margin-bottom: 12px; }
.closing-inner p { color: #cfd4dc; margin-bottom: 26px; }

/* ============ FOOTER ============ */
.site-footer { background: var(--surface-2); border-top: 1px solid var(--border); padding: 56px 0 28px; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr auto; gap: 40px; align-items: start; }
.footer-tag { color: var(--muted); font-size: 0.95rem; margin-top: 12px; max-width: 28em; }
.footer-cta label { display: block; font-weight: 600; margin-bottom: 10px; }
.footer-form { display: flex; gap: 8px; }
.footer-form input {
  flex: 1; min-width: 0; font-family: inherit; font-size: 0.95rem;
  padding: 10px 12px; border: 1px solid var(--border); border-radius: var(--radius-sm);
}
.footer-form input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.15); }
.footer-msg { color: var(--accent-dark); font-size: 0.88rem; margin-top: 10px; font-weight: 500; }
.footer-social { display: flex; gap: 14px; }
.footer-social a {
  width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center; color: var(--muted);
  transition: color .15s ease, border-color .15s ease, background .15s ease;
}
.footer-social a:hover { color: var(--accent-dark); border-color: var(--accent); background: var(--accent-soft); }
.footer-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--border); color: var(--muted); font-size: 0.88rem; }

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .feature-grid, .proof-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .main-nav, .header-cta { display: none; }
  .nav-toggle { display: block; }
}

@media (max-width: 480px) {
  .container { padding: 0 18px; }
  .hero { padding: 48px 0 60px; }
  .section { padding: 60px 0; }
  .waitlist-form { padding: 22px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .closing-inner { padding: 40px 22px; }
  .footer-form { flex-direction: column; }
  .footer-form .btn { width: 100%; }
}
