@import url('https://fonts.googleapis.com/css2?family=Fraunces:wght@500;700&family=Space+Grotesk:wght@400;500;600&display=swap');

:root {
  color-scheme: light;
  --ink: #10131a;
  --muted: #4f5b6b;
  --accent: #ff6b3d;
  --accent-2: #3d7bff;
  --surface: #ffffff;
  --surface-soft: #f5f2ed;
  --surface-deep: #f0f4ff;
  --border: #e2dfda;
  --shadow: 0 24px 70px rgba(16, 19, 26, 0.12);
}

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

body {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at top, #fff7ea 0%, #f7f4f1 35%, #eef2ff 100%);
  min-height: 100vh;
}

.bg-orbit {
  position: fixed;
  inset: -20% 10% auto auto;
  width: 520px;
  height: 520px;
  background: conic-gradient(from 120deg, #ffd1b0, #ffe9c7, #cfe0ff, #ffd1b0);
  filter: blur(0px);
  opacity: 0.35;
  border-radius: 50%;
  z-index: -1;
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
  padding: 56px clamp(24px, 6vw, 96px) 40px;
  align-items: center;
}

.eyebrow {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  color: var(--accent-2);
}

h1 {
  font-family: 'Fraunces', serif;
  font-size: clamp(2.2rem, 3.5vw, 3.6rem);
  line-height: 1.05;
  margin: 12px 0 16px;
}

.lede {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 560px;
}

.hero__chips {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip {
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 0.85rem;
}

.hero__stat {
  display: flex;
  justify-content: center;
}

.stat-card {
  background: linear-gradient(145deg, #ffffff 0%, #f6f0e8 100%);
  border-radius: 24px;
  padding: 24px;
  box-shadow: var(--shadow);
  max-width: 280px;
}

.stat-title {
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.stat-value {
  font-size: 1.4rem;
  font-weight: 600;
  margin: 10px 0;
}

.stat-caption {
  color: var(--muted);
  font-size: 0.95rem;
}

.section {
  padding: 48px clamp(24px, 6vw, 96px);
}

.section__header {
  max-width: 680px;
  margin-bottom: 28px;
}

.section__header h2 {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.8rem, 2.6vw, 2.6rem);
  margin-bottom: 12px;
}

.section__header p {
  color: var(--muted);
  font-size: 1rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 18px 18px 16px;
  box-shadow: 0 16px 40px rgba(30, 36, 55, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 50px rgba(30, 36, 55, 0.14);
}

.card h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.metric {
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 12px;
}

.signal {
  font-size: 0.9rem;
  margin-bottom: 6px;
}

.dual {
  background: linear-gradient(150deg, #f8efe3 0%, #f4f7ff 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.dual__panel {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  align-items: center;
}

.mandate-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.mandate-pill {
  display: inline-flex;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--surface-deep);
  margin-right: 8px;
  font-size: 0.8rem;
  color: var(--accent-2);
}

.mandate-track {
  position: relative;
  height: 12px;
  background: linear-gradient(90deg, #ffaf89, #ffd9a6, #b7d4ff);
  border-radius: 999px;
  margin: 24px 0 16px;
}

.mandate-dot {
  position: absolute;
  top: -6px;
  left: 50%;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 8px 20px rgba(255, 107, 61, 0.35);
  transform: translateX(-50%);
}

.mandate-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--muted);
}

.slider-label {
  display: flex;
  justify-content: space-between;
  font-weight: 600;
  margin-bottom: 10px;
}

#mandate-slider {
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ffaf89, #ffd9a6, #b7d4ff);
  outline: none;
}

#mandate-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 8px 20px rgba(61, 123, 255, 0.35);
  border: 2px solid #fff;
}

#mandate-slider::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 8px 20px rgba(61, 123, 255, 0.35);
  border: 2px solid #fff;
}

.dual__readout {
  margin-top: 18px;
  display: grid;
  gap: 14px;
}

.readout-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 14px;
}

.readout-title {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.7rem;
  color: var(--muted);
  margin-bottom: 6px;
}

.readout-value {
  font-weight: 600;
}

.readout-list {
  list-style: none;
  color: var(--muted);
  font-size: 0.9rem;
  display: grid;
  gap: 6px;
}

.note {
  text-align: center;
  color: var(--muted);
  font-size: 0.95rem;
}

.footer {
  padding: 24px;
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
}

@media (max-width: 720px) {
  .hero {
    padding-top: 36px;
  }

  .mandate-card {
    text-align: center;
  }

  .mandate-labels {
    font-size: 0.75rem;
  }
}
