:root {
  --navy: #1B3070;
  --blue: #2563EB;
  --cyan: #00C8DC;
  --glow: #40E0FF;
  --bg: #F0F6FF;
  --surface: #E4EDFC;
  --surface-alt: #D9E7F9;
  --fg: #1B3070;
  --fg-muted: #5A6B8A;
  --border: #C8D8F0;
  --white: #ffffff;
  --radius: 12px;
  --font-head: 'Poppins', sans-serif;
  --font-body: 'Poppins', sans-serif;
}

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

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

/* NAV */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 64px;
  background: var(--navy);
  border-bottom: none;
}
.nav-logo {
  height: 40px;
  width: auto;
  object-fit: contain;
}
.nav-tag {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  font-weight: 400;
  font-family: var(--font-body);
}

/* HERO */
.hero {
  padding: 80px 64px 100px;
  background: linear-gradient(135deg, var(--navy) 0%, #1e3a8a 50%, #0f3555 100%);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0,200,220,0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: 20%;
  width: 600px;
  height: 300px;
  background: linear-gradient(90deg, transparent, rgba(64,224,255,0.08), transparent);
  transform: rotate(-8deg);
  pointer-events: none;
}
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 48px;
}
.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--glow);
  box-shadow: 0 0 8px var(--glow), 0 0 20px rgba(64,224,255,0.3);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 8px var(--glow), 0 0 20px rgba(64,224,255,0.3); }
  50% { box-shadow: 0 0 16px var(--glow), 0 0 40px rgba(64,224,255,0.4); }
}
.hero-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-headline {
  font-family: var(--font-head);
  font-size: clamp(48px, 6vw, 80px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -2px;
  color: var(--white);
  margin-bottom: 24px;
}
.hero-sub {
  font-size: 18px;
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 440px;
}
.hero-pills {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.pill {
  background: rgba(0,200,220,0.15);
  color: var(--glow);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 100px;
  letter-spacing: 0.03em;
  border: 1px solid rgba(64,224,255,0.25);
}
.pill-arrow {
  color: var(--cyan);
  font-weight: 700;
  font-size: 14px;
}

/* AGENT CARD */
.agent-card {
  background: var(--navy);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(27,48,112,0.4), 0 0 40px rgba(64,224,255,0.08);
  border: 1px solid rgba(64,224,255,0.15);
}
.agent-card-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.agent-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--glow);
  box-shadow: 0 0 8px var(--glow);
}
.agent-status-label {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.agent-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.signal-row {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.05);
  border-radius: 8px;
  padding: 10px 14px;
}
.signal-label {
  font-size: 10px;
  font-weight: 700;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  min-width: 40px;
}
.signal-value {
  font-size: 12px;
  color: rgba(255,255,255,0.85);
  flex: 1;
}
.signal-badge {
  font-size: 10px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--cyan), var(--glow));
  color: var(--navy);
  padding: 2px 8px;
  border-radius: 100px;
  box-shadow: 0 0 8px rgba(64,224,255,0.3);
}
.draft-preview {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
  background: rgba(255,255,255,0.04);
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.06);
}
.draft-line {
  height: 10px;
  background: rgba(255,255,255,0.12);
  border-radius: 4px;
  width: 100%;
}
.draft-line--short { width: 65%; }
.draft-line--medium { width: 80%; }
.agent-actions {
  display: flex;
  gap: 8px;
}
.action-btn {
  font-size: 11px;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 8px;
  text-align: center;
}
.action-btn--lime {
  background: linear-gradient(135deg, var(--cyan), var(--glow));
  color: var(--navy);
  box-shadow: 0 0 16px rgba(64,224,255,0.25);
  transition: box-shadow 0.2s;
}
.action-btn--lime:hover {
  box-shadow: 0 0 24px rgba(64,224,255,0.5);
}
.action-btn--ghost {
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.6);
}
.agent-card-footer {
  padding: 14px 20px;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: rgba(255,255,255,0.35);
}

/* SECTION SHARED */
.section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 40px;
}
.section-heading {
  font-family: var(--font-head);
  font-size: clamp(36px, 4.5vw, 56px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1.5px;
  color: var(--navy);
  margin-bottom: 20px;
}
.section-body {
  font-size: 17px;
  color: var(--fg-muted);
  line-height: 1.75;
  max-width: 420px;
}

/* SIGNAL SECTION */
.signal-section {
  padding: 80px 64px;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}
.signal-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.signal-feed {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(27,48,112,0.06);
}
.feed-header {
  padding: 14px 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-muted);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}
.feed-item {
  display: grid;
  grid-template-columns: 70px 1fr 70px;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
}
.feed-item:last-child { border-bottom: none; }
.feed-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--fg-muted);
  text-transform: uppercase;
}
.feed-content { color: var(--fg); font-size: 13px; line-height: 1.4; }
.feed-score {
  font-size: 10px;
  font-weight: 700;
  color: var(--fg-muted);
  text-align: right;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.feed-item--spike .feed-score {
  color: var(--white);
  background: linear-gradient(135deg, var(--cyan), var(--glow));
  padding: 3px 8px;
  border-radius: 100px;
  box-shadow: 0 0 8px rgba(64,224,255,0.25);
}
.feed-item--dim .feed-content { opacity: 0.45; }

/* DRAFT SECTION */
.draft-section {
  padding: 80px 64px;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}
.draft-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.voice-card {
  background: var(--navy);
  border-radius: 20px;
  padding: 28px;
  color: var(--white);
  box-shadow: 0 8px 32px rgba(27,48,112,0.2), 0 0 20px rgba(64,224,255,0.06);
  border: 1px solid rgba(64,224,255,0.12);
}
.voice-label {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.voice-bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 80px;
  margin-bottom: 16px;
}
.vbar {
  flex: 1;
  background: rgba(0,200,220,0.3);
  border-radius: 3px;
  min-height: 20px;
}
.vbar:nth-child(4) { background: var(--cyan); }
.vbar:nth-child(5) { background: rgba(0,200,220,0.7); }
.vbar:nth-child(7) { background: var(--cyan); }
.voice-meta {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  font-style: italic;
}
.draft-specs {
  display: flex;
  gap: 32px;
  margin-top: 32px;
}
.spec-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.spec-num {
  font-family: var(--font-head);
  font-size: 36px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
}
.spec-label {
  font-size: 12px;
  color: var(--fg-muted);
  font-weight: 500;
}

/* LOOP SECTION */
.loop-section {
  padding: 80px 64px;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}
.loop-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.loop-chain {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 32px;
}
.chain-step {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 14px 0;
  border-left: 2px solid var(--border);
  margin-left: 20px;
  padding-left: 24px;
  position: relative;
}
.chain-step::before {
  content: '';
  position: absolute;
  left: -6px;
  top: 18px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--border);
}
.chain-step--lime::before {
  border-color: var(--cyan);
  background: var(--cyan);
  box-shadow: 0 0 8px rgba(64,224,255,0.4);
}
.chain-num {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 800;
  color: var(--fg-muted);
  min-width: 24px;
}
.chain-step--lime .chain-num { color: var(--navy); }
.chain-desc {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.5;
}
.chain-step--lime .chain-desc { color: var(--fg); font-weight: 500; }
.chain-arrow {
  color: var(--cyan);
  font-size: 16px;
  margin-left: 20px;
  line-height: 1;
}

/* BAR CHART */
.loop-chart {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 20px rgba(27,48,112,0.06);
}
.chart-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--fg-muted);
  margin-bottom: 20px;
}
.bar-chart {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  height: 120px;
  margin-bottom: 16px;
}
.bar-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  height: 100%;
  justify-content: flex-end;
  position: relative;
}
.bar {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px 4px 0 0;
  transition: height 0.3s;
}
.bar--lime {
  background: linear-gradient(180deg, var(--cyan) 0%, var(--blue) 100%);
  border-color: var(--cyan);
  box-shadow: 0 0 8px rgba(64,224,255,0.2);
}
.bar-group--highlight .bar { border-color: var(--cyan); }
.bar-week {
  font-size: 10px;
  color: var(--fg-muted);
  font-weight: 600;
}
.bar-tag {
  position: absolute;
  top: -18px;
  font-size: 9px;
  font-weight: 700;
  color: var(--white);
  background: linear-gradient(135deg, var(--cyan), var(--glow));
  padding: 2px 6px;
  border-radius: 4px;
  white-space: nowrap;
  box-shadow: 0 0 8px rgba(64,224,255,0.25);
}
.chart-footer {
  font-size: 12px;
  color: var(--fg-muted);
  text-align: center;
  font-style: italic;
}

/* STAND SECTION */
.stand-section {
  padding: 80px 64px;
  background: var(--navy);
  color: var(--white);
}
.stand-content {
  max-width: 640px;
}
.stand-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 32px;
}
.stand-heading {
  font-family: var(--font-head);
  font-size: clamp(36px, 4.5vw, 56px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
}
.stand-body {
  font-size: 17px;
  color: rgba(255,255,255,0.65);
  line-height: 1.75;
  margin-bottom: 32px;
}
.guardrails {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 24px;
}
.guardrail {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  padding: 10px 14px;
  border-radius: 8px;
}
.guardrail--on {
  background: rgba(0,200,220,0.12);
  color: var(--glow);
  border: 1px solid rgba(64,224,255,0.2);
}
.guardrail--off {
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.4);
  border: 1px solid rgba(255,255,255,0.08);
}
.guardrail-icon { font-size: 13px; font-weight: 700; }
.stand-note {
  font-size: 13px;
  color: rgba(255,255,255,0.35);
  font-style: italic;
}

/* CLOSING */
.closing {
  padding: 100px 64px;
  text-align: center;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}
.closing-inner {
  max-width: 640px;
  margin: 0 auto;
}
.closing-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 24px;
}
.closing-heading {
  font-family: var(--font-head);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -2px;
  color: var(--navy);
  margin-bottom: 20px;
}
.closing-body {
  font-size: 18px;
  color: var(--fg-muted);
  line-height: 1.75;
  margin-bottom: 48px;
}
.closing-statement {
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* FOOTER */
.footer {
  padding: 40px 64px;
  background: var(--navy);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-logo {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 800;
  color: var(--white);
}
.footer-tagline {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
}
.footer-meta {
  font-size: 12px;
  color: rgba(255,255,255,0.3);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .nav { padding: 20px 24px; }
  .hero { padding: 60px 24px 80px; }
  .hero-layout { grid-template-columns: 1fr; gap: 40px; }
  .hero-headline { font-size: 44px; }
  .signal-section, .draft-section, .loop-section { padding: 60px 24px; }
  .signal-layout, .draft-layout, .loop-layout { grid-template-columns: 1fr; gap: 40px; }
  .stand-section { padding: 60px 24px; }
  .closing { padding: 60px 24px; }
  .footer { padding: 32px 24px; flex-direction: column; gap: 8px; text-align: center; }
  .guardrails { grid-template-columns: 1fr; }
  .draft-specs { gap: 20px; }
  .spec-num { font-size: 28px; }
  .nav-tag { display: none; }
}