:root {
  --bg: #faf8f4;
  --bg-alt: #f0ede6;
  --fg: #1a1916;
  --fg-muted: #6b6560;
  --accent: #c97b22;
  --accent-dark: #a36218;
  --border: #e0dcd4;
  --card-bg: #ffffff;
}

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

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'Instrument Sans', 'Helvetica Neue', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, blockquote {
  font-family: 'Instrument Serif', Georgia, serif;
  line-height: 1.15;
}

/* HERO */
.hero {
  padding: 80px 48px 72px;
  border-bottom: 1px solid var(--border);
}
.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.hero-text h1 {
  font-size: clamp(38px, 4.5vw, 60px);
  font-weight: 400;
  color: var(--fg);
  margin-bottom: 24px;
}
.hero-lede {
  font-size: 17px;
  color: var(--fg-muted);
  line-height: 1.65;
  max-width: 420px;
}

/* Route Card */
.route-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}
.route-card-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}
.route-card-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-muted);
}
.route-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34,197,94,0.2);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(34,197,94,0.2); }
  50% { box-shadow: 0 0 0 6px rgba(34,197,94,0.1); }
}
.route-metric { margin-bottom: 20px; }
.route-metric-value {
  font-family: 'Instrument Serif', serif;
  font-size: 42px;
  color: var(--fg);
  line-height: 1;
}
.route-metric-label {
  font-size: 13px;
  color: var(--fg-muted);
  margin-top: 4px;
}
.route-metric-row {
  display: flex;
  gap: 24px;
  padding: 16px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 20px;
}
.route-metric-sm-value {
  font-size: 20px;
  font-weight: 600;
  color: #22c55e;
}
.route-metric-sm-label {
  font-size: 12px;
  color: var(--fg-muted);
}
.route-log { display: flex; flex-direction: column; gap: 8px; }
.route-log-entry {
  display: flex;
  gap: 12px;
  font-size: 12px;
  align-items: baseline;
}
.route-log-time {
  color: var(--fg-muted);
  min-width: 46px;
  font-size: 11px;
}
.route-log-msg { color: var(--fg); }

/* AGENT SECTION */
.agent-section {
  padding: 80px 48px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-alt);
}
.agent-inner { max-width: 1100px; margin: 0 auto; }
.agent-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.agent-inner h2 {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 400;
  color: var(--fg);
  margin-bottom: 56px;
}
.agent-columns {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.agent-col-icon {
  width: 40px;
  height: 40px;
  background: var(--accent);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  margin-bottom: 16px;
}
.agent-col h3 {
  font-family: 'Instrument Serif', serif;
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 10px;
}
.agent-col p {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* CLOCK SECTION */
.clock-section {
  padding: 80px 48px;
  border-bottom: 1px solid var(--border);
}
.clock-inner { max-width: 1100px; margin: 0 auto; }
.clock-headline p {
  font-size: 18px;
  color: var(--fg);
  max-width: 680px;
  line-height: 1.7;
  margin-bottom: 20px;
}
.clock-headline p:last-child { margin-bottom: 56px; }
.clock-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}
.clock-stat {
  background: var(--bg);
  padding: 36px 40px;
}
.clock-stat-value {
  font-family: 'Instrument Serif', serif;
  font-size: 48px;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 10px;
}
.clock-stat-label {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.5;
}

/* MANIFESTO */
.manifesto {
  padding: 80px 48px;
  border-bottom: 1px solid var(--border);
  background: var(--fg);
  color: var(--bg);
}
.manifesto-inner { max-width: 860px; margin: 0 auto; text-align: center; }
.manifesto-mark {
  width: 40px;
  height: 40px;
  background: var(--accent);
  border-radius: 50%;
  margin: 0 auto 32px;
}
.manifesto blockquote {
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 400;
  font-style: italic;
  line-height: 1.4;
  margin-bottom: 32px;
  color: var(--bg);
}
.manifesto p {
  font-size: 16px;
  color: rgba(250,248,244,0.65);
  line-height: 1.7;
  margin-bottom: 16px;
}

/* FEATURES */
.features {
  padding: 80px 48px;
  border-bottom: 1px solid var(--border);
}
.features-inner { max-width: 1100px; margin: 0 auto; }
.features-header { margin-bottom: 56px; }
.features-header h2 {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 400;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px 64px;
}
.feature-item-number {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 10px;
}
.feature-item h3 {
  font-family: 'Instrument Serif', serif;
  font-size: 22px;
  font-weight: 400;
  margin-bottom: 10px;
}
.feature-item p {
  font-size: 15px;
  color: var(--fg-muted);
  line-height: 1.65;
}

/* CLOSING */
.closing {
  padding: 80px 48px 96px;
  background: var(--bg-alt);
}
.closing-inner {
  max-width: 860px;
  margin: 0 auto;
}
.closing h2 {
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 400;
  margin-bottom: 24px;
}
.closing p {
  font-size: 17px;
  color: var(--fg-muted);
  line-height: 1.7;
}

/* FOOTER */
footer {
  padding: 40px 48px;
  border-top: 1px solid var(--border);
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-brand {
  font-family: 'Instrument Serif', serif;
  font-size: 20px;
  color: var(--fg);
}
.footer-tagline {
  font-size: 14px;
  color: var(--fg-muted);
}

/* MOBILE */
@media (max-width: 768px) {
  .hero, .agent-section, .clock-section, .manifesto, .features, .closing {
    padding: 56px 24px;
  }
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .agent-columns {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .clock-stats { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-inner { flex-direction: column; gap: 8px; align-items: flex-start; }
}