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

:root {
  --bg: #FAF3E0;
  --bg-alt: #F4E8C9;
  --surface: #FFFFFF;
  --fg: #1A1A18;
  --fg-muted: #5C5C52;
  --accent: #D97706;
  --accent-dark: #92400E;
  --green: #1B4332;
  --green-mid: #2D6A4F;
  --green-light: #D8F3DC;
  --amber: #FEF3C7;
  --border: #E8DCC8;
  --radius: 6px;
  --radius-lg: 14px;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'DM Sans', system-ui, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ─── Navigation ─── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 243, 224, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  height: 56px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-logo {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--green);
  letter-spacing: -0.02em;
}

.nav-tag {
  font-size: 0.75rem;
  color: var(--fg-muted);
  background: var(--bg-alt);
  padding: 4px 10px;
  border-radius: 20px;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.nav-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.15s ease;
}

.btn-ghost {
  background: transparent;
  color: var(--fg-muted);
  border: 1px solid var(--border);
}

.btn-ghost:hover { background: var(--bg-alt); color: var(--fg); }

.btn-primary {
  background: var(--green);
  color: #fff;
  box-shadow: 0 1px 3px rgba(27,67,50,0.2);
}

.btn-primary:hover { background: var(--green-mid); }

/* ─── Hero ─── */
.hero {
  padding: 80px 24px 100px;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.hero-headline {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--green);
  margin-bottom: 24px;
}

.hero-headline em {
  font-style: italic;
  color: var(--accent);
}

.hero-lede {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--fg-muted);
  max-width: 420px;
  margin-bottom: 40px;
}

.hero-proof {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 20px 24px;
  background: var(--green);
  border-radius: var(--radius-lg);
}

.proof-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.proof-stat {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--green-light);
}

.proof-label {
  font-size: 0.7rem;
  color: rgba(216, 243, 220, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.proof-divider {
  width: 1px;
  height: 36px;
  background: rgba(216, 243, 220, 0.15);
}

/* ─── Dashboard Card ─── */
.dash-card {
  background: var(--green);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: 0 20px 60px rgba(27, 67, 50, 0.25), 0 0 0 1px rgba(255,255,255,0.08) inset;
}

.dash-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.dash-title {
  font-size: 0.7rem;
  font-weight: 500;
  color: rgba(216, 243, 220, 0.5);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dash-live {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.7rem;
  font-weight: 500;
  color: #4ADE80;
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ADE80;
  box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.5);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.5); }
  50% { box-shadow: 0 0 0 4px rgba(74, 222, 128, 0); }
}

/* Alice alert box */
.dash-alice {
  background: rgba(255,255,255,0.07);
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 12px;
  margin-bottom: 16px;
}

.alice-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
}

.alice-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent);
  color: white;
  font-family: 'Fraunces', serif;
  font-size: 0.7rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.alice-name {
  font-size: 0.75rem;
  font-weight: 600;
  color: #D8F3DC;
}

.alice-tag {
  font-size: 0.6rem;
  color: rgba(216, 243, 220, 0.4);
  background: rgba(255,255,255,0.1);
  padding: 1px 6px;
  border-radius: 4px;
  letter-spacing: 0.04em;
}

.alice-msg {
  background: rgba(217, 119, 6, 0.15);
  border: 1px solid rgba(217, 119, 6, 0.3);
  border-radius: 6px;
  padding: 8px 10px;
}

.alice-text {
  font-size: 0.72rem;
  color: #FEF3C7;
  line-height: 1.5;
}

/* Job list */
.dash-jobs {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.job-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.75rem;
}

.job-row.done { opacity: 0.5; }
.job-row.active { opacity: 1; }

.job-time {
  font-family: 'DM Sans', monospace;
  font-weight: 500;
  color: rgba(216, 243, 220, 0.4);
  font-size: 0.65rem;
  width: 36px;
  flex-shrink: 0;
}

.job-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ADE80;
  flex-shrink: 0;
}

.job-dot.empty-dot { background: rgba(216,243,220,0.2); }
.job-dot.active-dot {
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.2);
}

.job-addr {
  color: #D8F3DC;
  flex: 1;
}

.job-cleaner {
  color: rgba(216, 243, 220, 0.5);
  font-size: 0.7rem;
}

/* Stats row */
.dash-stats {
  display: flex;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.stat-val {
  font-family: 'Fraunces', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: #D8F3DC;
}

.stat-lab {
  font-size: 0.62rem;
  color: rgba(216,243,220,0.4);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ─── How it Works ─── */
.how {
  padding: 100px 24px;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.how-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.how-label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.how-headline {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  color: var(--green);
  letter-spacing: -0.02em;
  margin-bottom: 60px;
  max-width: 520px;
  line-height: 1.2;
}

.how-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.step {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.step-num {
  font-family: 'Fraunces', serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--border);
  line-height: 1;
  margin-bottom: 4px;
}

.step-title {
  font-family: 'Fraunces', serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--green);
  line-height: 1.3;
}

.step-desc {
  font-size: 0.85rem;
  color: var(--fg-muted);
  line-height: 1.65;
}

/* ─── Alice Section ─── */
.alice-section {
  padding: 100px 24px;
  background: var(--green);
}

.alice-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

/* Alice screen */
.alice-screen {
  background: rgba(0,0,0,0.3);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.1);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.screen-topbar {
  background: rgba(255,255,255,0.05);
  padding: 10px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.screen-label {
  font-size: 0.68rem;
  color: rgba(216,243,220,0.4);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.screen-body {
  padding: 20px;
}

.screen-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.screen-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  background: rgba(255,255,255,0.04);
  border-radius: 6px;
}

.screen-row.highlight {
  background: rgba(217, 119, 6, 0.2);
  border: 1px solid rgba(217, 119, 6, 0.3);
}

.screen-key {
  font-size: 0.72rem;
  color: rgba(216,243,220,0.5);
}

.screen-val {
  font-family: 'Fraunces', serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: #D8F3DC;
}

.alert-val {
  color: #FBBF24;
}

.screen-alert {
  background: rgba(251, 191, 36, 0.1);
  border: 1px solid rgba(251, 191, 36, 0.25);
  border-radius: 8px;
  padding: 12px 14px;
}

.alert-badge {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: #FBBF24;
  display: block;
  margin-bottom: 6px;
}

.alert-msg {
  font-size: 0.75rem;
  color: #FEF3C7;
  line-height: 1.5;
}

/* Alice right column */
.section-eyebrow {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.section-headline {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  color: #D8F3DC;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 20px;
}

.section-body {
  font-size: 0.9rem;
  color: rgba(216, 243, 220, 0.6);
  line-height: 1.7;
  margin-bottom: 28px;
}

.alice-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.alice-list li {
  font-size: 0.88rem;
  color: rgba(216, 243, 220, 0.7);
  padding-left: 20px;
  position: relative;
}

.alice-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

/* ─── Operations Grid ─── */
.ops {
  padding: 100px 24px;
  background: var(--bg);
}

.ops-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.ops-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.ops-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 28px 32px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.ops-card:hover {
  box-shadow: 0 8px 30px rgba(27, 67, 50, 0.08);
  transform: translateY(-2px);
}

.ops-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--green);
  color: var(--green-light);
  font-family: 'Fraunces', serif;
  font-size: 1.1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.ops-card-title {
  font-family: 'Fraunces', serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--green);
  margin-bottom: 8px;
  line-height: 1.3;
}

.ops-card-desc {
  font-size: 0.82rem;
  color: var(--fg-muted);
  line-height: 1.65;
}

/* ─── Manifesto ─── */
.manifesto {
  padding: 100px 24px;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
}

.manifesto-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.manifesto-badge {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 32px;
}

.manifesto-quote {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 400;
  font-style: italic;
  color: var(--green);
  line-height: 1.5;
  letter-spacing: -0.01em;
  margin-bottom: 32px;
}

.manifesto-rule {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--fg-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ─── Footer ─── */
.footer {
  padding: 48px 24px;
  background: var(--green);
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-logo {
  font-family: 'Fraunces', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: #D8F3DC;
}

.footer-desc {
  font-size: 0.8rem;
  color: rgba(216, 243, 220, 0.4);
  margin-top: 4px;
}

.footer-meta {
  font-size: 0.75rem;
  color: rgba(216, 243, 220, 0.3);
}

/* ─── Responsive ─── */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-left { order: 1; }
  .hero-right { order: 2; }
  .how-steps { grid-template-columns: repeat(2, 1fr); }
  .alice-inner { grid-template-columns: 1fr; gap: 48px; }
  .alice-right { order: 1; }
  .alice-left { order: 2; }
  .ops-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .hero { padding: 60px 20px 80px; }
  .how { padding: 60px 20px; }
  .how-steps { grid-template-columns: 1fr; gap: 28px; }
  .alice-section { padding: 60px 20px; }
  .ops { padding: 60px 20px; }
  .ops-grid { grid-template-columns: 1fr; }
  .manifesto { padding: 60px 20px; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 16px; }
  .hero-proof { flex-wrap: wrap; }
}