:root {
  --bg: #0f172a;
  --panel: rgba(255, 255, 255, 0.045);
  --panel-strong: rgba(15, 23, 42, 0.82);
  --text: #f8fafc;
  --muted: #cbd5e1;
  --soft: #94a3b8;
  --amber: #f59e0b;
  --amber-light: #fbbf24;
  --border: rgba(255, 255, 255, 0.11);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'IBM Plex Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
a { color: inherit; text-decoration: none; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
::selection { background: rgba(245, 158, 11, 0.35); color: #fff; }

.hero {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  overflow: hidden;
  padding: 24px 20px 72px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at top left, rgba(245, 158, 11, 0.28), transparent 34%),
    radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.22), transparent 32%),
    linear-gradient(135deg, #0f172a 0%, #111827 45%, #030712 100%);
}
.hero::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 32px;
  z-index: -1;
  width: 320px;
  height: 320px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.11);
  filter: blur(72px);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100%, 1280px);
  margin: 0 auto;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  box-shadow: 0 24px 70px rgba(0,0,0,0.2);
  backdrop-filter: blur(20px);
}
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 16px;
  background: var(--amber-light);
  color: #0f172a;
  font-size: 18px;
  font-weight: 900;
  box-shadow: 0 12px 32px rgba(245, 158, 11, 0.22);
}
.brand-word { font-size: 18px; font-weight: 900; letter-spacing: 0.22em; }
.nav-cta, .primary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--amber-light);
  color: #0f172a;
  font-size: 15px;
  font-weight: 900;
  box-shadow: 0 16px 44px rgba(245, 158, 11, 0.24);
  transition: transform 180ms ease, background 180ms ease;
}
.nav-cta { min-height: 42px; padding: 10px 18px; font-size: 14px; }
.nav-cta:hover, .primary-btn:hover { transform: translateY(-2px); background: #fcd34d; }
.secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 24px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  transition: transform 180ms ease, background 180ms ease;
}
.secondary-btn:hover { transform: translateY(-2px); background: rgba(255,255,255,0.08); }

.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  align-items: center;
  gap: 48px;
  width: min(100%, 1280px);
  margin: 0 auto;
  padding-top: 104px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  padding: 9px 15px;
  border: 1px solid rgba(251, 191, 36, 0.3);
  border-radius: 999px;
  background: rgba(251, 191, 36, 0.1);
  color: #fde68a;
  font-size: 14px;
  font-weight: 800;
}
.eyebrow span { width: 8px; height: 8px; border-radius: 99px; background: #fcd34d; }
h1 {
  max-width: 900px;
  margin: 0;
  color: #fff;
  font-size: clamp(52px, 8vw, 92px);
  line-height: 0.96;
  letter-spacing: -0.055em;
  font-weight: 900;
}
.lead {
  max-width: 690px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.65;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  max-width: 760px;
  margin-top: 32px;
}
.trust-grid div, .examples div, .phase-grid article, form, .answer-box, .search-card {
  border: 1px solid var(--border);
  background: var(--panel);
  box-shadow: 0 20px 60px rgba(0,0,0,0.16);
}
.trust-grid div {
  min-height: 84px;
  padding: 16px;
  border-radius: 20px;
  color: #e2e8f0;
  font-size: 14px;
  font-weight: 800;
}
.search-card {
  padding: 24px;
  border-radius: 32px;
  background: rgba(15, 23, 42, 0.8);
  box-shadow: 0 30px 90px rgba(0,0,0,0.38);
  backdrop-filter: blur(24px);
}
.window-dots { display: flex; gap: 8px; margin-bottom: 16px; }
.window-dots span { width: 12px; height: 12px; border-radius: 99px; }
.window-dots span:nth-child(1) { background: #f87171; }
.window-dots span:nth-child(2) { background: #fcd34d; }
.window-dots span:nth-child(3) { background: #34d399; }
.preview-panel {
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 28px;
  background: rgba(2, 6, 23, 0.78);
}
.tiny-label, .section-kicker {
  margin: 0 0 12px;
  color: #fcd34d;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}
.search-box {
  padding: 18px;
  border: 1px solid rgba(251, 191, 36, 0.26);
  border-radius: 20px;
  background: #fff;
  color: #0f172a;
  font-size: 16px;
  font-weight: 800;
  box-shadow: inset 0 2px 12px rgba(15, 23, 42, 0.08);
}
.answer-box { margin-top: 20px; padding: 18px; border-radius: 20px; }
.answer-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.answer-head h2 { margin: 0; font-size: 20px; }
.answer-head span {
  border-radius: 999px;
  background: rgba(52, 211, 153, 0.14);
  color: #a7f3d0;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}
.answer-box p { margin: 0; color: var(--muted); line-height: 1.65; }
.examples { display: grid; gap: 12px; margin-top: 20px; }
.examples div { padding: 14px 16px; border-radius: 18px; color: var(--muted); font-size: 14px; font-weight: 800; }

.roadmap, .waitlist { padding: 80px 20px; }
.roadmap { border-block: 1px solid var(--border); background: #111827; }
.section-inner, .waitlist-grid { width: min(100%, 1280px); margin: 0 auto; }
.roadmap h2, .waitlist h2 {
  max-width: 760px;
  margin: 16px 0 0;
  font-size: clamp(38px, 5vw, 58px);
  line-height: 1.02;
  letter-spacing: -0.045em;
  font-weight: 900;
}
.phase-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.phase-grid article { padding: 26px; border-radius: 28px; }
.phase-grid article p { margin: 0 0 16px; color: #fcd34d; font-size: 13px; font-weight: 900; letter-spacing: 0.2em; text-transform: uppercase; }
.phase-grid article h3 { margin: 0; color: #fff; font-size: 26px; line-height: 1.1; }
.phase-grid article span { display: block; margin-top: 16px; color: var(--muted); line-height: 1.7; }

.waitlist { background: #020617; }
.waitlist-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 36px; align-items: start; }
.waitlist p:not(.section-kicker):not(.disclaimer) { max-width: 560px; color: var(--muted); font-size: 19px; line-height: 1.7; }
form { padding: 24px; border-radius: 32px; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
label { display: grid; gap: 8px; color: #e2e8f0; font-size: 14px; font-weight: 800; }
input, select, textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: #020617;
  color: #fff;
  padding: 0 16px;
  font: inherit;
  font-size: 16px;
  outline: none;
}
textarea { min-height: 112px; padding: 14px 16px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: #fcd34d; box-shadow: 0 0 0 4px rgba(251, 191, 36, 0.15); }
.wide { margin-top: 16px; }
button {
  width: 100%;
  min-height: 50px;
  margin-top: 20px;
  border: 0;
  border-radius: 999px;
  background: var(--amber-light);
  color: #0f172a;
  font: inherit;
  font-size: 16px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 18px 50px rgba(245, 158, 11, 0.22);
}
button:hover { background: #fcd34d; }
button:disabled { cursor: wait; opacity: 0.72; }
.consent {
  grid-template-columns: 18px 1fr;
  align-items: start;
  gap: 10px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}
.consent input { width: 18px; height: 18px; min-height: 18px; margin-top: 2px; padding: 0; }
.hidden-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-message {
  min-height: 20px;
  margin: 14px 0 0;
  font-size: 14px;
  font-weight: 800;
}
.form-message.success { color: #86efac; }
.form-message.error { color: #fca5a5; }
.disclaimer { margin: 16px 0 0; color: var(--soft); font-size: 12px; line-height: 1.65; }

.admin-body { min-height: 100vh; background: #020617; }
.admin-shell { width: min(100%, 1280px); margin: 0 auto; padding: 24px 20px 80px; }
.admin-topbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 16px; border: 1px solid var(--border); border-radius: 28px; background: rgba(255,255,255,0.04); }
.admin-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.admin-actions button, .lead-buttons button { width: auto; min-height: 42px; margin: 0; padding: 10px 16px; font-size: 14px; }
.admin-card, .admin-summary article, .lead-card, .empty-leads { border: 1px solid var(--border); background: var(--panel); box-shadow: 0 20px 60px rgba(0,0,0,0.16); }
.admin-card { max-width: 620px; margin: 72px auto 0; padding: 28px; border-radius: 32px; }
.admin-card h1 { font-size: clamp(42px, 6vw, 68px); }
.admin-card p { color: var(--muted); line-height: 1.7; }
.admin-login-form { margin-top: 24px; padding: 0; border: 0; background: transparent; box-shadow: none; }
.admin-dashboard { margin-top: 36px; }
.admin-summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.admin-summary article { padding: 22px; border-radius: 24px; }
.admin-summary span { display: block; color: var(--soft); font-size: 13px; font-weight: 900; text-transform: uppercase; letter-spacing: 0.12em; }
.admin-summary strong { display: block; margin-top: 10px; color: #fff; font-size: 32px; }
.admin-toolbar { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-top: 24px; }
.admin-toolbar label { width: min(100%, 260px); }
.admin-status { color: var(--soft); font-weight: 800; }
.leads-list { display: grid; gap: 18px; margin-top: 18px; }
.lead-card { padding: 22px; border-radius: 28px; }
.lead-head { display: flex; align-items: start; justify-content: space-between; gap: 16px; }
.lead-id { margin: 0 0 8px; color: #fcd34d; font-size: 12px; font-weight: 900; letter-spacing: 0.16em; text-transform: uppercase; }
.lead-head h2 { margin: 0; font-size: 28px; line-height: 1.1; }
.lead-meta { margin: 8px 0 0; color: var(--soft); font-size: 14px; font-weight: 700; }
.lead-state { padding: 7px 11px; border-radius: 999px; font-size: 12px; font-weight: 900; text-transform: uppercase; }
.lead-state.open { background: rgba(52,211,153,0.14); color: #a7f3d0; }
.lead-state.closed { background: rgba(148,163,184,0.16); color: #cbd5e1; }
.lead-fields { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 18px 0 0; }
.lead-fields div, .lead-pain-wrap { padding: 14px; border: 1px solid var(--border); border-radius: 18px; background: rgba(2,6,23,0.5); }
dt { color: var(--soft); font-size: 12px; font-weight: 900; letter-spacing: 0.12em; text-transform: uppercase; }
dd { margin: 6px 0 0; color: #fff; overflow-wrap: anywhere; }
.lead-pain-wrap { margin-top: 12px; }
.lead-pain { white-space: pre-wrap; line-height: 1.65; }
.lead-buttons { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.lead-github { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 10px 16px; border: 1px solid var(--border); border-radius: 999px; color: #fff; font-size: 14px; font-weight: 900; }
.empty-leads { padding: 28px; border-radius: 24px; color: var(--muted); font-weight: 800; }

@media (max-width: 980px) {
  .hero-grid, .waitlist-grid { grid-template-columns: 1fr; }
  .trust-grid, .phase-grid, .admin-summary, .lead-fields { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .hero { padding-inline: 16px; }
  .brand-word { letter-spacing: 0.16em; }
  .nav-cta { padding-inline: 14px; }
  .hero-grid { padding-top: 72px; }
  .trust-grid, .phase-grid, .form-grid, .admin-summary, .lead-fields { grid-template-columns: 1fr; }
  .admin-topbar, .admin-toolbar, .lead-head { align-items: stretch; flex-direction: column; }
  .admin-actions { width: 100%; }
  .admin-actions button { flex: 1; }
  .search-card { padding: 16px; border-radius: 24px; }
  .answer-head { align-items: flex-start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: 0.01ms !important; }
}
