/**
 * Project Lightning — Texas electricity theme
 *
 * Design intent: a Texas identity that feels earned, not costumed. No flag
 * stripes, no cowboy clip art. Just a deep night-sky navy (the kind of sky
 * you get on the plains after a storm rolls through), a warm wheat-field
 * paper background, a single confident "lone star" red used sparingly as an
 * accent (never as a background), and an electric gold that reads as
 * "spark" rather than "caution tape." A subtle transmission-line motif ties
 * the electricity theme to the literal thing the site is about, without
 * turning into decoration for its own sake — the founder's own principle
 * (trust over hype) still governs the visual language, not just the copy.
 */

:root {
  --ink: #101a33;
  --ink-soft: #4b5877;
  --paper: #faf7f0;
  --card: #ffffff;
  --line: #e7e1d3;
  --accent: #f4a300;
  --accent-ink: #7a4c00;
  --star: #a91e2c;
  --star-soft: #f7e3e1;
  --trust: #1d5c4a;
  --trust-bg: #e8f3ee;
  --risk: #b3441e;
  --risk-bg: #fbeee6;
  --shadow: 0 8px 24px rgba(16, 26, 51, 0.08);
  --radius: 14px;
  --font-display: "Space Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.5;
}

/* Faint transmission-line / grid motif across the whole page background.
   Two thin repeating lines suggest wires strung between poles — visible up
   close, invisible from a normal reading distance. This is the one purely
   decorative touch on the page; everything else below ties to real UI. */
body {
  background-image:
    linear-gradient(180deg, rgba(16, 26, 51, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 26, 51, 0.02) 1px, transparent 1px);
  background-size: 100% 84px, 84px 100%;
  background-position: 0 0, 0 0;
}

h1, h2, h3, h4, .brand, .btn-primary, .rec-cost .amount {
  font-family: var(--font-display);
}

.wrap {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header is now a distinct, full-bleed bar (white card against the wheat
   page background) rather than text floating directly on the page — this
   is what actually reads as "a nav bar" instead of "some links." */
header.site {
  padding: 20px 0;
  background: var(--card);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 10px rgba(16, 26, 51, 0.04);
  position: relative;
}

.brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-decoration: none;
}

.brand .bolt {
  color: var(--accent);
  font-size: 23px;
  filter: drop-shadow(0 0 6px rgba(244, 163, 0, 0.45));
}

.brand .star {
  color: var(--star);
  font-size: 13px;
  margin-left: 2px;
  vertical-align: super;
}

/* Main nav — deliberately just 3 top-level items (Find a Plan / Save Money
   dropdown / Relocation Checklist), styled with real spacing and a plain
   color-shift active/hover state instead of small underlined text links. */
.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.site-nav a {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-soft);
  text-decoration: none;
  padding: 9px 14px;
  border-radius: 10px;
  transition: background 0.15s ease, color 0.15s ease;
}

.site-nav a:hover {
  color: var(--ink);
  background: var(--paper);
}

.site-nav a.current {
  color: var(--accent-ink);
  background: #fdf1d9;
}

/* Hamburger toggle — hidden on desktop, shown under the mobile breakpoint
   below. Three bars that animate into an X when the mobile menu is open. */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--card);
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}

.nav-toggle-bar {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 640px) {
  .nav-toggle { display: flex; }

  .site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
  }

  .site-nav.open { display: flex; }

  .site-nav a { width: 100%; }

  .nav-guides { width: 100%; }
  .nav-guides summary { width: 100%; }

  .nav-guides-menu {
    position: static;
    box-shadow: none;
    border: none;
    padding: 2px 0 0 14px;
    min-width: 0;
    margin-top: 2px;
  }
}

/* "Guides" nav dropdown — groups the growing set of guide pages behind one
   top-level item so the header stays short and scalable as more guides get
   added, instead of every new page appending another flat link. Built on
   native <details>/<summary> so it works with zero JS dependency; a small
   script (assets/nav.js) only adds outside-click-to-close polish. */
.nav-guides {
  position: relative;
}

.nav-guides summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-soft);
  padding: 9px 14px;
  border-radius: 10px;
  transition: background 0.15s ease, color 0.15s ease;
}

.nav-guides summary::-webkit-details-marker,
.nav-guides summary::marker {
  display: none;
  content: "";
}

.nav-guides summary:hover,
.nav-guides[open] summary {
  color: var(--ink);
  background: var(--paper);
}

.nav-guides .caret {
  font-size: 10px;
  color: var(--ink-soft);
  transition: transform 0.15s ease;
}

.nav-guides[open] .caret { transform: rotate(180deg); }

.nav-guides-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 16px 36px rgba(16, 26, 51, 0.14);
  padding: 8px;
  min-width: 210px;
  z-index: 60;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.nav-guides-menu a {
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-soft);
  text-decoration: none;
}

.nav-guides-menu a:hover { background: var(--paper); color: var(--ink); }

.nav-guides-menu a.current {
  color: var(--accent-ink);
  background: #fdf1d9;
}

@media (max-width: 640px) {
  .nav-guides-menu { left: auto; right: 0; }
}

/* Footer -- full-bleed dark navy band (inspired by the "Power To The
   People" footer on gatby.com: big statement headline, contact cards,
   organized link columns, legal fine print at the very bottom), rebuilt in
   our own night-sky-navy / electric-gold palette rather than copied wholesale. */
footer.site {
  background: var(--ink);
  color: rgba(250, 247, 240, 0.7);
  padding: 56px 0 0;
  margin-top: 40px;
}

footer.site .wrap {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.footer-headline {
  font-size: clamp(28px, 4vw, 40px);
  color: #fff;
  margin: 0 0 28px;
  letter-spacing: -0.01em;
  max-width: 16ch;
}

.footer-contact-cards {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.footer-contact-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(250, 247, 240, 0.06);
  border: 1px solid rgba(250, 247, 240, 0.14);
  border-radius: var(--radius);
  padding: 14px 18px;
  flex: 1 1 240px;
}

.footer-contact-icon {
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.footer-contact-card a {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 14.5px;
}

.footer-contact-card a:hover { color: var(--accent); }

.footer-contact-card .footer-contact-sub {
  color: rgba(250, 247, 240, 0.55);
  font-size: 12px;
  margin-top: 2px;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(250, 247, 240, 0.12);
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  margin: 0 0 14px;
  font-weight: 700;
}

.footer-col a {
  display: block;
  color: rgba(250, 247, 240, 0.75);
  text-decoration: none;
  font-size: 13.5px;
  padding: 5px 0;
}

.footer-col a:hover { color: #fff; }

.footer-bottom {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding: 22px 0 26px;
}

.footer-brand-mark {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
}

.footer-bottom .star { color: var(--accent); }

.footer-disclaimer {
  font-size: 11px;
  color: rgba(250, 247, 240, 0.45);
  max-width: 60ch;
  line-height: 1.55;
  margin: 8px 0 0;
}

.footer-legal-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 12px;
}

.footer-legal-links a {
  color: rgba(250, 247, 240, 0.6);
  text-decoration: none;
  font-weight: 600;
}

.footer-legal-links a:hover { color: var(--accent); }

@media (max-width: 760px) {
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .footer-cols { grid-template-columns: 1fr; }
}

main { padding: 0 0 80px; }

/* Full-bleed dark hero band. Sits above the constrained .wrap content so it
   can span edge-to-edge, echoing the transmission-line motif but reversed
   (light lines on dark navy) plus a faint oversized bolt watermark — an
   abstract, non-photographic way to get a premium "hero" feel without
   fabricating imagery that isn't ours. */
.hero-band {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 900px 500px at 15% -10%, rgba(244, 163, 0, 0.20), transparent 60%),
    radial-gradient(ellipse 700px 500px at 95% 115%, rgba(169, 30, 44, 0.16), transparent 55%),
    var(--ink);
  background-image:
    radial-gradient(ellipse 900px 500px at 15% -10%, rgba(244, 163, 0, 0.20), transparent 60%),
    radial-gradient(ellipse 700px 500px at 95% 115%, rgba(169, 30, 44, 0.16), transparent 55%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: auto, auto, 100% 84px, 84px 100%;
  padding: 56px 0 96px;
}

.hero-watermark {
  position: absolute;
  top: -8%;
  right: -6%;
  width: clamp(140px, 30vw, 340px);
  height: auto;
  fill: rgba(244, 163, 0, 0.08);
  pointer-events: none;
  user-select: none;
  transform: rotate(8deg);
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 1;
  text-align: left;
}

.eyebrow-light {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  background: rgba(244, 163, 0, 0.14);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.hero-inner h1 {
  font-size: 40px;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
  color: #ffffff;
}

.hero-inner p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 17px;
  max-width: 58ch;
  margin: 0;
}

/* Icon-badge "how it works" row: a compact white card pulled up to overlap
   the bottom edge of the dark hero band, the one bit of "floating card"
   drama borrowed from the reference template. */
.how-it-works {
  position: relative;
  z-index: 2;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: 0 16px 40px rgba(16, 26, 51, 0.16);
  margin-top: -56px;
  margin-bottom: 34px;
  padding: 28px 26px 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px 26px;
}

.how-it-works .step { text-align: center; }

.step-icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  font-size: 19px;
  margin-bottom: 10px;
}

.how-it-works .step:nth-child(1) .step-icon-badge { background: var(--star-soft); color: var(--star); }
.how-it-works .step:nth-child(2) .step-icon-badge { background: #fdf1d9; color: var(--accent-ink); }
.how-it-works .step:nth-child(3) .step-icon-badge { background: var(--trust-bg); color: var(--trust); }

.how-it-works h3 {
  font-size: 15px;
  margin: 0 0 4px;
  letter-spacing: -0.01em;
}

.how-it-works p {
  font-size: 13px;
  color: var(--ink-soft);
  margin: 0;
  line-height: 1.4;
}

/* Real-numbers stat band: no fabricated testimonials or stock stats — just
   the actual size of the dataset this tool is built on. */
.stat-band {
  background: var(--ink);
  color: white;
  border-radius: var(--radius);
  padding: 30px 28px;
  margin: 40px 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  text-align: center;
}

.stat-band .stat-num {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.01em;
}

.stat-band .stat-label {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.72);
  margin-top: 4px;
}

/* Voltage-line divider: a thin dashed line with a small spark mark, used
   under the hero and between major sections instead of a plain <hr>. */
.volt-divider {
  border: none;
  height: 1px;
  margin: 28px 0;
  background-image: repeating-linear-gradient(
    90deg,
    var(--line) 0,
    var(--line) 8px,
    transparent 8px,
    transparent 14px
  );
  position: relative;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
}

.card + .card { margin-top: 20px; }

fieldset {
  border: none;
  padding: 0;
  margin: 0 0 26px;
}

fieldset legend {
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 12px;
  padding: 0;
}

.field { margin-bottom: 16px; }

.field label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
}

.field .hint {
  font-size: 13px;
  color: var(--ink-soft);
  font-weight: 400;
  margin-top: 4px;
}

input[type="text"],
input[type="number"],
input[type="date"],
select {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 15px;
  background: var(--paper);
  color: var(--ink);
  font-family: inherit;
}

input:focus, select:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

.row2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.mode-toggle {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
}

.mode-toggle button {
  flex: 1;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--card);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  color: var(--ink-soft);
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.mode-toggle button.active {
  background: var(--ink);
  color: white;
  border-color: var(--ink);
}

.upload-box {
  border: 1.5px dashed var(--line);
  border-radius: 12px;
  padding: 22px;
  text-align: center;
  color: var(--ink-soft);
  font-size: 14px;
}

.upload-box input { margin-top: 10px; }

.note {
  background: var(--trust-bg);
  color: var(--trust);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 13px;
  margin-top: 10px;
}

.checkbox-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.checkbox-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 14px;
  cursor: pointer;
}

.checkbox-item input { margin-top: 3px; }

.btn-primary {
  width: 100%;
  padding: 15px 20px;
  border-radius: 12px;
  border: none;
  background: var(--ink);
  color: white;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  position: relative;
  transition: background 0.15s ease, box-shadow 0.15s ease, transform 0.05s ease;
}

.btn-primary:hover {
  background: #0a1428;
  box-shadow: 0 0 0 3px rgba(244, 163, 0, 0.18);
}

.btn-primary:active { transform: translateY(1px); }

.btn-primary:disabled {
  opacity: 0.7;
  cursor: default;
  box-shadow: none;
}

.btn-secondary {
  padding: 10px 16px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
}

.error-text {
  color: var(--risk);
  font-size: 13px;
  margin-top: 6px;
  display: none;
}

.error-text.show { display: block; }

.form-error-summary {
  margin: 4px 0 14px;
  padding: 12px 16px;
  border: 2px solid var(--risk);
  border-radius: 10px;
  background: #fef2f2;
  color: var(--risk);
  font-size: 14px;
  font-weight: 600;
}

.contract-warning {
  margin-top: 10px;
  padding: 14px;
  border: 2px solid #b45309;
  border-radius: 10px;
  background: #fff7ed;
  color: #7c2d12;
  font-size: 13px;
}
.contract-warning p { margin: 6px 0 10px; }
.contract-override {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-weight: 600;
  line-height: 1.35;
}
.contract-override input { width: auto; margin-top: 2px; }

#screen-results { display: none; }

.results-header {
  margin-bottom: 24px;
}

.results-header h2 {
  font-size: 28px;
  margin: 0 0 6px;
  letter-spacing: -0.02em;
}

.results-header p { color: var(--ink-soft); margin: 0; }

.rec-grid {
  display: grid;
  gap: 18px;
}

.rec-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
  overflow: hidden;
  border-top: 4px solid var(--line);
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.rec-card:hover {
  box-shadow: 0 14px 32px rgba(16, 26, 51, 0.14);
  transform: translateY(-2px);
}

/* Each recommendation kind gets its own accent color, tying the theme's
   palette to something functional rather than purely decorative — the
   three colors a user will actually learn to recognize across visits. */
.rec-card.kind-best-value { border-top-color: var(--accent); }
.rec-card.kind-safest-choice { border-top-color: var(--trust); }
.rec-card.kind-best-long-term { border-top-color: var(--star); }

.rec-card .rec-top {
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}

.rec-kind-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.rec-icon-badge {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  background: #fdf1d9;
  color: var(--accent-ink);
}

.rec-card.kind-safest-choice .rec-icon-badge { background: var(--trust-bg); color: var(--trust); }
.rec-card.kind-best-long-term .rec-icon-badge { background: var(--star-soft); color: var(--star); }

.rec-kind {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--accent-ink);
  background: #fdf1d9;
  padding: 4px 10px;
  border-radius: 999px;
  margin: 0;
}

.rec-card.kind-safest-choice .rec-kind { color: var(--trust); background: var(--trust-bg); }
.rec-card.kind-best-long-term .rec-kind { color: var(--star); background: var(--star-soft); }

.rec-plan-name { font-size: 19px; font-weight: 700; margin: 0; }
.rec-provider { color: var(--ink-soft); font-size: 14px; margin-top: 2px; }

.rec-cost { text-align: right; }
.rec-cost .amount { font-size: 28px; font-weight: 800; }
.rec-cost .period { font-size: 12px; color: var(--ink-soft); }
.rec-cost .savings { font-size: 13px; color: var(--trust); font-weight: 600; margin-top: 4px; }
.rec-cost .savings.negative { color: var(--risk); }

.confidence-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  margin-top: 10px;
}

.confidence-info {
  position: relative;
  width: 18px;
  height: 18px;
  padding: 0;
  border: 1.5px solid var(--accent);
  border-radius: 50%;
  background: #fff;
  color: var(--accent-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font: 700 12px/1 var(--font-body);
  cursor: help;
}

.confidence-info:focus-visible {
  outline: 3px solid rgba(244, 163, 0, 0.3);
  outline-offset: 2px;
}

.confidence-tooltip {
  position: absolute;
  z-index: 20;
  top: calc(100% + 10px);
  left: -90px;
  width: min(320px, calc(100vw - 72px));
  padding: 12px 14px;
  border: 1px solid var(--accent);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(16, 26, 51, 0.18);
  color: var(--ink);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.45;
  text-align: left;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s ease;
}

.confidence-tooltip::before {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 94px;
  border: 7px solid transparent;
  border-bottom-color: var(--accent);
}

.confidence-info:hover .confidence-tooltip,
.confidence-info:focus .confidence-tooltip,
.confidence-info:focus-visible .confidence-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.confidence-bar {
  width: 70px;
  height: 6px;
  background: var(--line);
  border-radius: 4px;
  overflow: hidden;
}

.confidence-bar span {
  display: block;
  height: 100%;
  background: var(--trust);
}

.rec-body { padding: 20px 24px; }

.rec-body h4 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  margin: 16px 0 8px;
}

.rec-body h4:first-child { margin-top: 0; }

.rec-body ul { margin: 0; padding-left: 18px; font-size: 14px; }
.rec-body li { margin-bottom: 5px; }

.tag-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }

.tag {
  font-size: 12px;
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--risk-bg);
  color: var(--risk);
  font-weight: 600;
}

.meta-row {
  display: flex;
  gap: 18px;
  font-size: 13px;
  color: var(--ink-soft);
  margin-top: 14px;
  flex-wrap: wrap;
}

.meta-row strong { color: var(--ink); }

.enroll-btn {
  margin-top: 16px;
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  border: none;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 700;
  cursor: pointer;
  transition: box-shadow 0.15s ease;
}

.enroll-btn:hover { box-shadow: 0 0 0 3px rgba(244, 163, 0, 0.25); }

.top-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}


/* --- Guide / article pages (guides/*.html) --- */
.article-hero {
  margin-bottom: 10px;
}

.article-hero .eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--star);
  margin-bottom: 10px;
}

.article-hero h1 {
  font-size: 32px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
}

.article-hero .dek {
  color: var(--ink-soft);
  font-size: 17px;
  max-width: 65ch;
  margin: 0;
}

article.guide-body { margin-top: 10px; }

article.guide-body h2 {
  font-size: 20px;
  margin: 34px 0 12px;
  letter-spacing: -0.01em;
}

article.guide-body h2:first-child { margin-top: 0; }

article.guide-body p { color: var(--ink); font-size: 15.5px; }

article.guide-body ul {
  margin: 0 0 4px;
  padding-left: 20px;
}

article.guide-body li {
  margin-bottom: 8px;
  font-size: 15px;
  line-height: 1.5;
}

.cta-box {
  background: var(--ink);
  color: white;
  border-radius: var(--radius);
  padding: 26px 28px;
  margin: 36px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.cta-box h3 {
  font-family: var(--font-display);
  margin: 0 0 4px;
  font-size: 19px;
}

.cta-box p {
  margin: 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
}

.cta-box .enroll-btn {
  width: auto;
  white-space: nowrap;
  margin-top: 0;
}

.source-note {
  font-size: 12.5px;
  color: var(--ink-soft);
  border-top: 1px solid var(--line);
  padding-top: 16px;
  margin-top: 30px;
}

.source-note a { color: var(--ink-soft); }

.guide-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 14px;
  margin: 30px 0;
}

.guide-links a {
  display: block;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--card);
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: 14px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.guide-links a:hover { border-color: var(--accent); box-shadow: var(--shadow); }

.guide-links a.current {
  border-color: var(--ink);
  background: var(--ink);
  color: white;
}

/* Homepage FAQ section -- sits between the input form and the (hidden
   until submit) results screen, so it's part of the page's normal static
   content for both users and search crawlers. */
#homepage-faq {
  padding: 50px 24px 60px;
  text-align: center;
}

#homepage-faq h2 {
  font-size: 26px;
  margin: 0 0 20px;
}

#homepage-faq .faq-list {
  text-align: left;
}

/* FAQ accordion -- used on guide/city pages and the homepage. Built on
   native <details>/<summary> so a question always opens even with zero JS
   (matches the same zero-JS-dependency principle as .nav-guides above);
   nav.js layers a smooth open/close animation and the rotating +/- badge
   on top when it's available. Answer copy matches the FAQPage schema on
   each page (Google requires the two to actually agree). */
.faq-list {
  margin: 26px 0 34px;
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  list-style: none;
  cursor: pointer;
  padding: 18px 2px;
  font-weight: 600;
  font-size: 15.5px;
  letter-spacing: -0.005em;
  color: var(--ink);
}

.faq-item summary::-webkit-details-marker,
.faq-item summary::marker {
  display: none;
}

.faq-item summary:hover { color: var(--accent-ink); }

.faq-icon {
  flex: none;
  position: relative;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--line);
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--ink);
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.faq-icon::before { width: 10px; height: 2px; transform: translate(-50%, -50%); }
.faq-icon::after { width: 2px; height: 10px; transform: translate(-50%, -50%); }

.faq-item[open] .faq-icon {
  background: var(--trust);
  border-color: var(--trust);
}

.faq-item[open] .faq-icon::before,
.faq-item[open] .faq-icon::after {
  background: #fff;
}

.faq-item[open] .faq-icon::after {
  transform: translate(-50%, -50%) scaleY(0);
}

.faq-answer {
  transition: height 0.25s ease;
}

.faq-answer p {
  margin: 0;
  padding: 0 2px 18px;
  color: var(--ink-soft);
  font-size: 14.5px;
  line-height: 1.55;
}

@media (max-width: 640px) {
  .guide-links { grid-template-columns: 1fr; }
  .cta-box { flex-direction: column; align-items: flex-start; }
  .cta-box .enroll-btn { width: 100%; text-align: center; }
}

.demo-banner {
  background: #fdf1d9;
  color: var(--accent-ink);
  font-size: 13px;
  text-align: center;
  padding: 8px 14px;
  font-weight: 600;
}

.confidence-factors {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 13px;
}

.confidence-factors li {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin-bottom: 6px;
  color: var(--ink-soft);
}

.confidence-factors .sign {
  flex-shrink: 0;
  width: 16px;
  font-weight: 700;
}

.confidence-factors .sign.up { color: var(--trust); }
.confidence-factors .sign.down { color: var(--risk); }
.confidence-factors .sign.neutral { color: var(--ink-soft); }

.plans-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
}

table.plans-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

table.plans-table th {
  text-align: left;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

table.plans-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

table.plans-table tr:last-child td { border-bottom: none; }
table.plans-table tr.excluded-row { opacity: 0.55; }

table.plans-table .mini-tag {
  display: inline-block;
  font-size: 10px;
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--risk-bg);
  color: var(--risk);
  font-weight: 600;
  margin: 1px 2px 0 0;
  white-space: nowrap;
}

table.plans-table a.mini-link {
  font-size: 12px;
  color: var(--accent-ink);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

@media (max-width: 600px) {
  .row2, .checkbox-grid { grid-template-columns: 1fr; }
  .hero-inner h1 { font-size: 28px; }
  .hero-band { padding: 40px 0 64px; }
  .hero-watermark { width: clamp(90px, 38vw, 140px); top: -4%; right: -8%; }
  .how-it-works {
    grid-template-columns: 1fr;
    margin-top: -36px;
    gap: 20px;
    text-align: left;
  }
  .how-it-works .step { text-align: left; display: flex; flex-direction: column; align-items: flex-start; }
  .stat-band { grid-template-columns: 1fr; gap: 18px; }
  .rec-top { flex-direction: column; }
  .rec-cost { text-align: left; }
  .feedback-panel { right: 16px; left: 16px; width: auto; bottom: 96px; }
  .feedback-tab { right: 16px; bottom: 24px; font-size: clamp(13px, 3.6vw, 15px); padding: 12px 18px; gap: 8px; }
}

/* --- Feedback widget --- */
/* A small persistent tab (bottom-right, present on both the input and
   results screens since it's fixed-position outside either <section>) that
   opens a lightweight panel: a quick thumbs up/down plus an optional note
   and email. Kept deliberately low-friction and out of the way of the main
   flow -- this is for people who already got value (or didn't) and want to
   say so, not another form standing between someone and their results. */
.feedback-tab {
  position: fixed;
  right: 32px;
  bottom: 64px;
  z-index: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--ink);
  color: #fff;
  border: 2px solid var(--accent);
  border-radius: 999px;
  padding: 14px 24px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(14px, 1.4vw, 16px);
  cursor: pointer;
  box-shadow: 0 14px 40px rgba(16, 26, 51, 0.38);
  animation: feedback-tab-intro 0.4s ease-out 1s both, feedback-tab-pulse 1.8s ease-in-out 1.6s 2;
}

.feedback-tab:hover {
  background: #1a2850;
  box-shadow: 0 14px 40px rgba(16, 26, 51, 0.38), 0 0 0 5px rgba(244, 163, 0, 0.25);
}

.feedback-tab .feedback-tab-icon { font-size: 1.1em; line-height: 1; }

@keyframes feedback-tab-intro {
  from { transform: translateY(16px) scale(0.9); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}

@keyframes feedback-tab-pulse {
  0%, 100% { box-shadow: 0 10px 28px rgba(16, 26, 51, 0.35); }
  50% { box-shadow: 0 10px 28px rgba(16, 26, 51, 0.35), 0 0 0 6px rgba(244, 163, 0, 0.3); }
}


.feedback-panel {
  position: fixed;
  right: 32px;
  bottom: 130px;
  z-index: 500;
  width: min(320px, calc(100vw - 24px));
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 16px 44px rgba(16, 26, 51, 0.28);
  padding: 20px;
}

.feedback-panel-inner { position: relative; }

#feedback-close {
  position: absolute;
  top: -8px;
  right: -8px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  width: 26px;
  height: 26px;
  line-height: 1;
  font-size: 16px;
  cursor: pointer;
  color: var(--ink-soft);
}

.feedback-quick-row { display: flex; gap: 10px; margin: 4px 0 16px; }

.feedback-thumb {
  font-size: 18px;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 10px;
  padding: 8px 16px;
  cursor: pointer;
}

.feedback-thumb.selected {
  border-color: var(--accent);
  background: rgba(244, 163, 0, 0.12);
}

#feedback-panel label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 4px;
}

#feedback-message,
#feedback-email {
  width: 100%;
  margin-bottom: 12px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 14px;
  resize: vertical;
}

/* --- Accessibility: visually-hidden text for screen readers only --- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* --- Accessibility: visible keyboard focus on interactive elements --- */
a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

/* --- Breadcrumb navigation (site-wide component) --- */
.breadcrumb-nav { margin: 14px 0 0; }
.breadcrumb-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  font-size: 12.5px;
  color: var(--ink-soft);
}
.breadcrumb-list li { display: flex; align-items: center; gap: 6px; }
.breadcrumb-list li:not(:last-child)::after {
  content: "/";
  color: var(--line);
  margin-left: 6px;
}
.breadcrumb-list a { color: var(--ink-soft); text-decoration: none; }
.breadcrumb-list a:hover { color: var(--ink); text-decoration: underline; }
.breadcrumb-list li[aria-current="page"] { color: var(--ink); font-weight: 600; }

/* --- Flagship guide: worked-example cards + bill-cliff visual --- */
.example-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  padding: 20px 22px;
  margin: 18px 0;
  box-shadow: var(--shadow);
}
.example-card h4 { margin: 0 0 4px; font-size: 15.5px; }
.example-card .example-illustrative-tag {
  display: inline-block;
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
  color: var(--accent-ink);
  background: #fdf1d9;
  padding: 3px 9px;
  border-radius: 999px;
  margin-bottom: 10px;
}
.example-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  margin-top: 12px;
}
.example-stat { border-top: 1px solid var(--line); padding-top: 8px; }
.example-stat .num { font-family: var(--font-display); font-size: 18px; color: var(--ink); }
.example-stat .lbl { font-size: 12px; color: var(--ink-soft); }

.bill-cliff-chart {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
  padding: 22px 22px 14px;
  margin: 20px 0;
}
.bill-cliff-chart .bill-cliff-title { font-weight: 700; font-size: 14.5px; margin-bottom: 2px; }
.bill-cliff-chart .bill-cliff-sub { font-size: 13px; color: var(--ink-soft); margin-bottom: 16px; }
.bill-cliff-bars {
  display: flex;
  align-items: flex-end;
  gap: 14px;
  height: 180px;
  border-bottom: 1px solid var(--line);
  padding: 0 4px;
}
.bill-cliff-bar-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  height: 100%;
  min-width: 0;
}
.bill-cliff-bar {
  width: 100%;
  max-width: 56px;
  border-radius: 6px 6px 0 0;
  background: var(--trust);
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}
.bill-cliff-bar.over-cliff { background: var(--risk); }
.bill-cliff-bar .bill-cliff-amount {
  position: absolute;
  top: -22px;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}
.bill-cliff-labels {
  display: flex;
  gap: 14px;
  padding: 8px 4px 0;
}
.bill-cliff-label-col {
  flex: 1;
  text-align: center;
  font-size: 11.5px;
  color: var(--ink-soft);
  min-width: 0;
}
.bill-cliff-legend {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 14px;
  font-size: 12px;
  color: var(--ink-soft);
}
.bill-cliff-legend span { display: inline-flex; align-items: center; gap: 6px; }
.bill-cliff-legend .swatch { width: 11px; height: 11px; border-radius: 3px; display: inline-block; }
.bill-cliff-legend .swatch.ok { background: var(--trust); }
.bill-cliff-legend .swatch.over { background: var(--risk); }

/* --- Author / reviewer + "last reviewed" block for editorial pages --- */
.author-box {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  padding: 16px 18px;
  margin: 24px 0;
  font-size: 13.5px;
  color: var(--ink-soft);
}
.author-box .author-icon {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: var(--ink);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
}
.author-box strong { color: var(--ink); }

/* --- Simple two-column definition rows used on trust pages --- */
.factor-list { margin: 0; padding: 0; list-style: none; }
.factor-list li {
  border-top: 1px solid var(--line);
  padding: 14px 0;
}
.factor-list li:first-child { border-top: none; }
.factor-list .factor-name { font-weight: 700; color: var(--ink); font-size: 14.5px; margin-bottom: 4px; }
.factor-list .factor-kind {
  display: inline-block;
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  margin-left: 8px;
  vertical-align: middle;
}
.factor-list .factor-kind.hard { background: var(--trust-bg); color: var(--trust); }
.factor-list .factor-kind.heuristic { background: #fdf1d9; color: var(--accent-ink); }
.factor-list .factor-desc { font-size: 14px; color: var(--ink-soft); margin: 0; }

@media (max-width: 600px) {
  .bill-cliff-bars { height: 140px; gap: 8px; }
  .bill-cliff-labels { gap: 8px; }
  .example-grid { grid-template-columns: repeat(2, 1fr); }
}

/* --- Reusable content-to-tool ZIP CTA (guide/city pages) --- */
.content-cta {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
  margin: 28px 0;
  box-shadow: var(--shadow);
}
.content-cta-copy h3 {
  margin: 0 0 4px;
  font-family: var(--font-display);
  font-size: 19px;
  color: var(--ink);
}
.content-cta-copy p {
  margin: 0 0 14px;
  font-size: 14px;
  color: var(--ink-soft);
}
.content-cta-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.content-cta-zip {
  flex: 1 1 140px;
  min-width: 120px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 15px;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
}
.content-cta-zip:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}
.content-cta-form .enroll-btn {
  flex: 0 0 auto;
  white-space: nowrap;
}
.content-cta-note {
  margin: 12px 0 0;
  font-size: 12.5px;
  color: var(--ink-soft);
}
@media (max-width: 520px) {
  .content-cta-form { flex-direction: column; align-items: stretch; }
}

/* --- Retention flywheel: compact plan-specific control in every card --- */
.rate-protect-card-cta {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--trust-bg);
  border: 1px solid var(--trust);
  border-radius: 10px;
  padding: 10px 12px;
  margin-top: 10px;
  color: var(--trust);
  font-family: var(--font-body);
  text-align: left;
  cursor: pointer;
  transition: background 0.15s ease, box-shadow 0.15s ease;
}
.rate-protect-card-cta:hover {
  background: #dff2ea;
  box-shadow: 0 0 0 3px rgba(31, 111, 87, 0.12);
}
.rate-protect-card-cta:focus-visible {
  outline: 3px solid rgba(31, 111, 87, 0.24);
  outline-offset: 2px;
}
.rate-protect-card-icon { font-size: 18px; line-height: 1; }
.rate-protect-card-cta > span:nth-child(2) {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.rate-protect-card-cta strong { font-size: 13.5px; }
.rate-protect-card-cta small {
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.35;
}
.rate-protect-card-arrow { font-size: 17px; }

/* --- Retention flywheel: post-Enroll-click "Lock in your rate protection"
   modal. Same fixed-overlay pattern used sitewide for dialogs (see the
   feedback panel above), just centered instead of docked to a corner
   since this one interrupts rather than sits passively available. --- */
.enroll-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 600;
  background: rgba(16, 26, 51, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.enroll-modal {
  position: relative;
  width: min(420px, 100%);
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: 0 24px 60px rgba(16, 26, 51, 0.35);
  padding: 26px 24px;
}
.enroll-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  width: 28px;
  height: 28px;
  line-height: 1;
  font-size: 17px;
  cursor: pointer;
  color: var(--ink-soft);
}
.enroll-modal-eyebrow {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  margin: 0 0 10px;
  padding-right: 24px;
}
.enroll-modal-body {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.5;
  margin: 0 0 16px;
}
.enroll-modal-channels {
  display: flex;
  gap: 18px;
  margin-bottom: 12px;
}
.enroll-channel-check {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
}
#enroll-modal-form-state .field { margin-bottom: 12px; }
#enroll-modal-form-state input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 14px;
}
.enroll-modal-skip {
  display: block;
  width: 100%;
  text-align: center;
  background: none;
  border: none;
  color: var(--ink-soft);
  font-size: 12.5px;
  text-decoration: underline;
  cursor: pointer;
  margin-top: 12px;
  padding: 4px;
}
#enroll-modal-thanks-state h3,
#enroll-modal-notconfigured-state h3 {
  color: var(--trust);
}

/* --- Standalone free electricity renewal reminder page --- */
.reminder-hero { max-width: 790px; }
.reminder-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(260px, 0.8fr);
  gap: 22px;
  align-items: start;
  margin: 10px 0 54px;
}
.reminder-form-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-top: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}
.reminder-shield { font-size: 28px; margin-bottom: 8px; }
.reminder-form-card h2 { margin: 0 0 6px; font-size: 24px; }
.reminder-form-card > p { margin: 0 0 22px; color: var(--ink-soft); font-size: 14px; }
.reminder-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.reminder-form-card .field { margin: 0; }
.reminder-form-card .field label {
  display: block;
  margin-bottom: 7px;
  color: var(--ink);
  font-weight: 700;
  font-size: 13px;
}
.reminder-form-card .field label span { color: var(--ink-soft); font-weight: 500; }
.reminder-form-card input {
  width: 100%;
  padding: 12px 13px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
}
.reminder-form-card input:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}
.reminder-submit { width: 100%; margin-top: 18px; }
.reminder-consent { margin: 10px 0 0 !important; font-size: 11.5px !important; line-height: 1.5; }
.reminder-success {
  padding: 18px;
  border: 1px solid var(--trust);
  border-radius: 12px;
  background: var(--trust-bg);
  color: var(--trust);
}
.reminder-success h3 { margin: 0 0 6px; }
.reminder-success p { margin: 0; color: var(--ink); font-size: 14px; }
.reminder-steps { display: grid; gap: 12px; }
.reminder-steps > div {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px 18px 18px 54px;
}
.reminder-steps span {
  position: absolute;
  left: 16px;
  top: 17px;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--ink);
  color: white;
  font-weight: 700;
  font-size: 12px;
}
.reminder-steps h3 { margin: 0 0 4px; font-size: 15px; }
.reminder-steps p { margin: 0; color: var(--ink-soft); font-size: 13px; line-height: 1.5; }
.reminder-guide { max-width: 780px; }
.reminder-guide li { margin-bottom: 8px; }
.reminder-provider-cta { margin: 32px 0; }

@media (max-width: 760px) {
  .reminder-layout { grid-template-columns: 1fr; }
}
@media (max-width: 540px) {
  .reminder-form-card { padding: 22px 18px; }
  .reminder-form-grid { grid-template-columns: 1fr; }
}

.staging-banner {
  position: relative;
  z-index: 10000;
  padding: 8px 16px;
  background: #7c2d12;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .06em;
  text-align: center;
}
