/* ─── Reset & Base ─────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:          #16161A;
  --bg-surface:  #1D1D22;
  --bg-card:     #222228;
  --fg:          #F0EFE8;
  --fg-muted:    #8C8C98;
  --accent:      #E8C547;
  --accent-dim:  #A88E2F;
  --green:       #3EC97A;
  --green-dim:   #1E6641;
  --red:         #E85C4A;
  --border:      rgba(240,239,232,0.08);

  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans:  'DM Sans', system-ui, sans-serif;

  --space-xs:  4px;
  --space-sm:  12px;
  --space-md:  24px;
  --space-lg:  48px;
  --space-xl:  80px;
  --space-2xl: 120px;
}

html { font-size: 16px; scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ─── Typography ────────────────────────────────────────────────────────────── */
.section-label {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-md);
}

/* ─── Navigation ────────────────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 var(--space-lg);
  background: rgba(22,22,26,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 600;
  color: var(--fg);
  letter-spacing: -0.01em;
}
.nav-tagline {
  font-size: 12px;
  color: var(--fg-muted);
  letter-spacing: 0.05em;
}

/* ─── Hero ─────────────────────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px var(--space-lg) var(--space-xl);
  position: relative;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 80% 50%, rgba(26,61,46,0.35) 0%, transparent 70%);
  pointer-events: none;
}
.hero-grid {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
  position: relative;
}
.hero-left { padding-right: var(--space-lg); }
.hero-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-md);
}
.hero-headline {
  font-family: var(--font-serif);
  font-size: clamp(42px, 5.5vw, 72px);
  font-weight: 400;
  line-height: 1.08;
  color: var(--fg);
  margin-bottom: var(--space-md);
  letter-spacing: -0.02em;
}
.hero-headline em {
  font-style: italic;
  color: var(--accent);
}
.hero-lede {
  font-size: 17px;
  color: var(--fg-muted);
  line-height: 1.7;
  margin-bottom: var(--space-lg);
  max-width: 460px;
}
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}
.badge {
  display: inline-block;
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 11px;
  font-weight: 500;
  color: var(--fg-muted);
  letter-spacing: 0.04em;
}

/* ─── Dashboard Mockup ──────────────────────────────────────────────────────── */
.hero-right { position: relative; }
.hero-dashboard {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(232,197,71,0.08);
}
.dash-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.dash-title {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-muted);
}
.dash-status {
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
}
.dash-status.green {
  background: rgba(62,201,122,0.12);
  color: var(--green);
}
.dash-divider { border-bottom: 1px solid var(--border); }
.dash-rows { padding: 8px 0; }
.dash-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  border-bottom: 1px solid var(--border);
  transition: background 0.15s;
}
.dash-row:last-child { border-bottom: none; }
.dash-row:hover { background: rgba(255,255,255,0.02); }
.dash-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.dash-icon.shield { background: rgba(62,201,122,0.15); }
.dash-icon.shield::after {
  content: '';
  width: 14px;
  height: 14px;
  background: var(--green);
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2L4 6v6c0 5.5 3.4 10.7 8 12 4.6-1.3 8-6.5 8-12V6L12 2z'/%3E%3C/svg%3E");
  mask-size: contain;
}
.dash-icon.alert { background: rgba(232,92,74,0.15); }
.dash-icon.alert::after {
  content: '';
  width: 14px;
  height: 14px;
  background: var(--red);
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 4l9 16H3L12 4z'/%3E%3C/svg%3E");
  mask-size: contain;
}
.dash-icon.calendar { background: rgba(232,197,71,0.15); }
.dash-icon.calendar::after {
  content: '';
  width: 14px;
  height: 14px;
  background: var(--accent);
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' fill='none' stroke='currentColor' stroke-width='2'/%3E%3Cpath d='M16 2v4M8 2v4M3 10h18' stroke='currentColor' stroke-width='2'/%3E%3C/svg%3E");
  mask-size: contain;
}
.dash-icon.report { background: rgba(62,201,122,0.08); }
.dash-icon.report::after {
  content: '';
  width: 14px;
  height: 14px;
  background: var(--green-dim);
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='4' y='3' width='16' height='18' rx='2' fill='none' stroke='currentColor' stroke-width='2'/%3E%3Cpath d='M8 7h8M8 11h8M8 15h4' stroke='currentColor' stroke-width='2'/%3E%3C/svg%3E");
  mask-size: contain;
}
.dash-content { flex: 1; min-width: 0; }
.dash-row-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--fg);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dash-row-meta {
  font-size: 11px;
  color: var(--fg-muted);
  margin-top: 2px;
}
.dash-check {
  font-size: 16px;
  color: var(--green);
  flex-shrink: 0;
}
.dash-flag {
  width: 22px;
  height: 22px;
  background: rgba(232,92,74,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--red);
  flex-shrink: 0;
}
.dash-cal {
  width: 22px;
  height: 22px;
  background: rgba(232,197,71,0.15);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ─── Problem Section ───────────────────────────────────────────────────────── */
.problem {
  padding: var(--space-2xl) var(--space-lg);
  border-top: 1px solid var(--border);
}
.problem-inner { max-width: 1200px; margin: 0 auto; }
.problem-header { max-width: 600px; margin-bottom: var(--space-xl); }
.problem-headline {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 400;
  line-height: 1.15;
  color: var(--fg);
  letter-spacing: -0.02em;
}
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}
.problem-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: var(--space-lg);
}
.problem-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: rgba(232,197,71,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: var(--space-md);
}
.problem-card h3 {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: var(--space-sm);
}
.problem-card p {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.7;
}

/* ─── Features Section ──────────────────────────────────────────────────────── */
.features {
  padding: var(--space-2xl) var(--space-lg);
  border-top: 1px solid var(--border);
  background: var(--bg);
}
.features-inner { max-width: 1200px; margin: 0 auto; }
.features-headline {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 400;
  line-height: 1.15;
  color: var(--fg);
  letter-spacing: -0.02em;
  margin-bottom: var(--space-xl);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.feature-card {
  background: var(--bg);
  padding: var(--space-lg);
  position: relative;
}
.feature-card-accent {
  background: rgba(26,61,46,0.4);
  border: 1px solid rgba(62,201,122,0.15);
}
.feature-num {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: var(--space-md);
}
.feature-card h3 {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: var(--space-sm);
}
.feature-card p {
  font-size: 13px;
  color: var(--fg-muted);
  line-height: 1.7;
  margin-bottom: var(--space-md);
}
.feature-prompt {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
.prompt-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-muted);
  width: 100%;
  margin-bottom: 2px;
}
.prompt-tag {
  display: inline-block;
  padding: 3px 8px;
  background: rgba(232,197,71,0.08);
  border: 1px solid rgba(232,197,71,0.15);
  border-radius: 3px;
  font-size: 10px;
  color: var(--accent-dim);
  font-weight: 500;
}

/* ─── Stats Section ─────────────────────────────────────────────────────────── */
.stats {
  padding: var(--space-xl) var(--space-lg);
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(26,61,46,0.15) 0%, transparent 100%);
}
.stats-inner { max-width: 1200px; margin: 0 auto; }
.stats-grid {
  display: flex;
  align-items: center;
  gap: 0;
}
.stat-item {
  flex: 1;
  padding: var(--space-lg);
  text-align: center;
}
.stat-number {
  font-family: var(--font-serif);
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 400;
  color: var(--accent);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 12px;
}
.stat-label {
  font-size: 13px;
  color: var(--fg-muted);
  line-height: 1.5;
  max-width: 200px;
  margin: 0 auto;
}
.stat-divider {
  width: 1px;
  height: 80px;
  background: var(--border);
  flex-shrink: 0;
}

/* ─── Process Section ────────────────────────────────────────────────────────── */
.process {
  padding: var(--space-2xl) var(--space-lg);
  border-top: 1px solid var(--border);
}
.process-inner { max-width: 900px; margin: 0 auto; }
.process-headline {
  font-family: var(--font-serif);
  font-size: clamp(26px, 3.5vw, 42px);
  font-weight: 400;
  line-height: 1.2;
  color: var(--fg);
  letter-spacing: -0.02em;
  margin-bottom: var(--space-xl);
}
.process-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
}
.process-step {
  flex: 1;
  padding: var(--space-lg) var(--space-md);
}
.step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 18px;
  color: var(--accent);
  margin-bottom: var(--space-md);
}
.step-body h3 {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: var(--space-sm);
}
.step-body p {
  font-size: 13px;
  color: var(--fg-muted);
  line-height: 1.7;
}
.step-connector {
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), transparent);
  flex-shrink: 0;
  margin-top: 20px;
}

/* ─── Manifesto ─────────────────────────────────────────────────────────────── */
.manifesto {
  padding: var(--space-2xl) var(--space-lg);
  border-top: 1px solid var(--border);
  background: var(--bg-surface);
}
.manifesto-inner { max-width: 800px; margin: 0 auto; text-align: center; }
.manifesto-quote {
  font-family: var(--font-serif);
  font-size: clamp(20px, 3vw, 30px);
  font-style: italic;
  font-weight: 400;
  line-height: 1.5;
  color: var(--fg);
  margin-bottom: var(--space-md);
  letter-spacing: -0.01em;
}
.manifesto-sub {
  font-size: 13px;
  color: var(--fg-muted);
  letter-spacing: 0.04em;
}

/* ─── Waitlist ──────────────────────────────────────────────────────────────── */
.waitlist {
  padding: var(--space-2xl) var(--space-lg);
  border-top: 1px solid var(--border);
  background: var(--bg-surface);
}
.waitlist-inner {
  max-width: 700px;
  margin: 0 auto;
}
.waitlist-headline {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 400;
  line-height: 1.1;
  color: var(--fg);
  letter-spacing: -0.02em;
  margin-bottom: var(--space-sm);
}
.waitlist-sub {
  font-size: 16px;
  color: var(--fg-muted);
  line-height: 1.7;
  margin-bottom: var(--space-xl);
}
.waitlist-form { display: flex; flex-direction: column; gap: var(--space-md); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-md); }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-muted);
}
.req { color: var(--accent); }
.form-group input,
.form-group select,
.form-group textarea {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 12px 14px;
  font-size: 14px;
  font-family: var(--font-sans);
  color: var(--fg);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
}
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%238C8C98' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 18px;
  padding-right: 36px;
  cursor: pointer;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--fg-muted); opacity: 0.6; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(232,197,71,0.12);
}
.btn-waitlist {
  background: var(--accent);
  color: #16161A;
  border: none;
  border-radius: 6px;
  padding: 14px 28px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  align-self: flex-start;
  transition: background 0.2s, transform 0.1s;
  font-family: var(--font-sans);
}
.btn-waitlist:hover:not(:disabled) { background: #f0d05a; }
.btn-waitlist:active:not(:disabled) { transform: scale(0.98); }
.btn-waitlist:disabled { opacity: 0.6; cursor: not-allowed; }
.form-msg {
  font-size: 13px;
  padding: 10px 14px;
  border-radius: 6px;
  border: 1px solid;
}
.form-msg--success { background: rgba(62,201,122,0.1); border-color: rgba(62,201,122,0.3); color: var(--green); }
.form-msg--error   { background: rgba(232,92,74,0.1);  border-color: rgba(232,92,74,0.3);  color: var(--red); }
.form-success {
  text-align: center;
  padding: var(--space-xl) 0;
}
.success-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(62,201,122,0.15);
  color: var(--green);
  font-size: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-md);
}
.form-success h3 {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: var(--space-sm);
}
.form-success p { font-size: 15px; color: var(--fg-muted); }
.waitlist-fine {
  font-size: 12px;
  color: var(--fg-muted);
  margin-top: var(--space-md);
  text-align: center;
  opacity: 0.7;
}

@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr; }
  .btn-waitlist { width: 100%; }
}

/* ─── Closing ───────────────────────────────────────────────────────────────── */
.closing {
  padding: var(--space-2xl) var(--space-lg);
  border-top: 1px solid var(--border);
}
.closing-inner { max-width: 700px; margin: 0 auto; }
.closing-headline {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 400;
  line-height: 1.1;
  color: var(--fg);
  letter-spacing: -0.02em;
  margin-bottom: var(--space-md);
}
.closing-body {
  font-size: 16px;
  color: var(--fg-muted);
  line-height: 1.75;
}

/* ─── Footer ────────────────────────────────────────────────────────────────── */
.footer {
  padding: var(--space-xl) var(--space-lg) var(--space-lg);
  border-top: 1px solid var(--border);
}
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-brand {
  display: flex;
  align-items: baseline;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}
.footer-name {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 600;
  color: var(--fg);
}
.footer-desc {
  font-size: 13px;
  color: var(--fg-muted);
}
.footer-note {
  font-size: 12px;
  color: var(--fg-muted);
  line-height: 1.6;
  max-width: 600px;
  margin-bottom: var(--space-md);
  border-left: 2px solid var(--accent-dim);
  padding-left: var(--space-md);
}
.footer-links {
  display: flex;
  gap: var(--space-sm);
  align-items: center;
  font-size: 12px;
  color: var(--fg-muted);
}

/* ─── Responsive ────────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-left { padding-right: 0; }
  .hero-right { display: none; }
  .problem-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .stats-grid { flex-direction: column; }
  .stat-divider { width: 80px; height: 1px; }
  .process-steps { flex-direction: column; gap: var(--space-md); }
  .step-connector { display: none; }
}

@media (max-width: 600px) {
  :root { --space-lg: 32px; --space-xl: 60px; --space-2xl: 80px; }
  .nav { padding: 0 var(--space-md); }
  .hero, .problem, .features, .stats, .process, .manifesto, .closing, .footer {
    padding-left: var(--space-md);
    padding-right: var(--space-md);
  }
}