/* ============================================================
   Eyes Off Indiana — Landing page redesign (July 2026)
   Load AFTER styles.css:
   <link rel="stylesheet" href="{{ url_for('static', filename='css/redesign.css') }}" />
   ============================================================ */

/* ---------- Shared section scaffolding ---------- */

.rd-section {
  padding-top: 88px;
  padding-bottom: 88px;
}

.rd-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.rd-eyebrow::before {
  content: "";
  width: 36px;
  height: 2px;
  background: var(--slate);
  flex-shrink: 0;
}

.rd-eyebrow span {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate);
}

.rd-title {
  font-family: "Libre Franklin", "Inter", "Segoe UI", sans-serif;
  font-weight: 700;
  font-size: 36px;
  color: var(--midnight);
  margin-bottom: 12px;
}

.rd-lede {
  font-size: 17px;
  line-height: 1.6;
  color: #435a7a;
  max-width: 640px;
  margin-bottom: 48px;
}

/* Dark (midnight) section variant */
.rd-dark {
  background: var(--midnight);
}

.rd-dark .rd-eyebrow::before { background: rgba(255, 255, 255, 0.5); }
.rd-dark .rd-eyebrow span { color: rgba(255, 255, 255, 0.7); }
.rd-dark .rd-title { color: #fff; }
.rd-dark .rd-lede { color: rgba(255, 255, 255, 0.7); }

/* ---------- Hero ---------- */

.rd-hero .hero-title {
  font-weight: 800;
  letter-spacing: -0.01em;
}

/* ---------- Stats (Live Data) ---------- */

.rd-stat {
  border-top: 3px solid var(--midnight);
  padding-top: 24px;
  height: 100%;
}

.rd-stat-label {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #435a7a;
  margin-bottom: 12px;
}

.rd-stat-number,
.rd-stat-number.ticker-number {
  font-family: "Libre Franklin", "Inter", "Segoe UI", sans-serif;
  font-weight: 800;
  font-size: clamp(2.4rem, 2.5vw + 1rem, 3.5rem);
  line-height: 1;
  color: var(--midnight);
  font-variant-numeric: tabular-nums;
  margin-bottom: 14px;
}

.rd-stat-desc {
  font-size: 15px;
  line-height: 1.6;
  color: #435a7a;
  margin-bottom: 0;
}

.rd-stat-source {
  font-size: 13.5px;
  color: #435a7a;
  border-top: 1px solid rgba(12, 36, 68, 0.08);
  padding-top: 20px;
  margin: 40px 0 0;
}

/* ---------- About + compact roadmap ---------- */

.rd-about-text {
  font-size: 16.5px;
  line-height: 1.75;
  color: var(--indigo);
}

.rd-roadmap {
  margin-top: 64px;
  border-top: 1px solid rgba(12, 36, 68, 0.14);
  padding-top: 40px;
}

.rd-roadmap-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 28px;
}

.rd-roadmap-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  column-gap: 24px;
  row-gap: 32px;
}

@media (max-width: 767.98px) {
  .rd-roadmap-grid { grid-template-columns: repeat(2, 1fr); }
}

.rd-step-track {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
}

.rd-step-dot {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-sizing: border-box;
  font-size: 11px;
}

.rd-step-dot.is-complete {
  background: var(--midnight);
  color: #fff;
}

.rd-step-dot.is-current {
  background: var(--slate);
  box-shadow: 0 0 0 5px rgba(34, 74, 115, 0.18);
}

.rd-step-dot.is-current::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
}

.rd-step-dot.is-upcoming {
  background: transparent;
  border: 2px solid rgba(12, 36, 68, 0.25);
}

.rd-step-line {
  flex: 1;
  height: 2px;
  background: var(--midnight);
  margin-left: 8px;
}

.rd-step-line.is-muted {
  background: rgba(12, 36, 68, 0.18);
}

.rd-step-meta {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #435a7a;
  margin-bottom: 6px;
}

.rd-step-meta.is-current {
  color: var(--slate);
}

.rd-step-title {
  font-family: "Libre Franklin", "Inter", "Segoe UI", sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: var(--midnight);
  margin: 0;
}

/* ---------- Issue cards ---------- */

.rd-card {
  background: var(--soft-white);
  border: 1px solid rgba(12, 36, 68, 0.08);
  border-radius: 14px;
  padding: 32px 28px;
  height: 100%;
}

.rd-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: var(--sky);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}

.rd-card-icon img {
  width: 30px;
  height: 30px;
}

.rd-card h3 {
  font-family: "Libre Franklin", "Inter", "Segoe UI", sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: var(--midnight);
  margin-bottom: 12px;
}

.rd-card p {
  font-size: 15px;
  line-height: 1.65;
  color: #435a7a;
  margin-bottom: 0;
}

/* ---------- Policy goals (dark, numbered) ---------- */

.rd-policy-item {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  padding-top: 24px;
  height: 100%;
}

.rd-policy-num {
  font-family: "Libre Franklin", "Inter", "Segoe UI", sans-serif;
  font-weight: 800;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.rd-policy-item h3 {
  font-family: "Libre Franklin", "Inter", "Segoe UI", sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: #fff;
  margin-bottom: 14px;
}

.rd-policy-item ul {
  margin: 0;
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rd-policy-item li {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.72);
}

/* ---------- Voices ---------- */

.rd-quote {
  margin: 0;
  border-left: 3px solid var(--sky);
  padding-left: 26px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.rd-quote-mark {
  font-family: "Libre Franklin", "Inter", "Segoe UI", sans-serif;
  font-weight: 800;
  font-size: 52px;
  line-height: 0.6;
  color: var(--slate);
  margin-bottom: 20px;
}

.rd-quote blockquote {
  margin: 0 0 20px;
  flex: 1;
}

.rd-quote blockquote p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--indigo);
  font-style: italic;
  margin: 0;
}

.rd-quote figcaption {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #435a7a;
}

/* ---------- FAQ (Bootstrap accordion restyle) ---------- */

.rd-faq .accordion-item {
  background: #fff;
  border: 1px solid rgba(12, 36, 68, 0.08) !important;
  border-radius: 12px !important;
  margin-bottom: 12px;
  overflow: hidden;
}

.rd-faq .accordion-button {
  font-family: "Libre Franklin", "Inter", "Segoe UI", sans-serif;
  font-weight: 600;
  font-size: 17px;
  color: var(--midnight);
  background: #fff;
  padding: 22px 28px;
  box-shadow: none;
}

.rd-faq .accordion-button:not(.collapsed) {
  background: #fff;
  color: var(--midnight);
  box-shadow: none;
}

.rd-faq .accordion-button:focus {
  box-shadow: none;
  border-color: transparent;
}

.rd-faq .accordion-body {
  font-size: 15.5px;
  line-height: 1.7;
  color: #435a7a;
  padding: 0 28px 24px;
}
