/* CheapestFuel shared stylesheet.
   Base layer extracted verbatim from index.html's inline <style> so content pages
   inherit the same tokens and components. Content-page additions follow below.
   Regenerate the base layer with scripts/extract-base-css.mjs if index.html changes. */

/* ---------- base: shared with the homepage ---------- */
:root {
  --primary: #F73535;
  --primary-soft: rgba(247, 53, 53, 0.14);
  --primary-dark: #d42e2e;
  --bg: #050505;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-inner: rgba(18, 18, 22, 0.94);
  --text: #FAFAFA;
  --muted: #9A9AA3;
  --hairline: rgba(255, 255, 255, 0.08);
  --success: #34C759;
  --ease-out: cubic-bezier(0.32, 0.72, 0, 1);
  --radius-outer: 2rem;
  --radius-inner: calc(2rem - 6px);
  --nav-z: 100;
  --toast-z: 250;
}

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

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.bg-mesh {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(247, 53, 53, 0.09), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 40%, rgba(120, 90, 220, 0.06), transparent 50%),
    radial-gradient(ellipse 50% 35% at 0% 80%, rgba(52, 199, 89, 0.05), transparent 45%);
}

.skip-link {
  position: absolute;
  left: 16px;
  top: 16px;
  z-index: calc(var(--nav-z) + 50);
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--text);
  color: var(--bg);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-160%);
  opacity: 0;
  transition: transform 0.65s var(--ease-out), opacity 0.65s var(--ease-out);
  pointer-events: none;
}

.skip-link:focus {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
  outline: none;
  box-shadow: 0 0 0 3px var(--primary-soft);
}

/* —— Floating nav —— */
.site-header {
  position: fixed;
  top: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: var(--nav-z);
  width: calc(100% - 2rem);
  max-width: min(56rem, 100% - 2rem);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px 10px 16px;
  border-radius: 999px;
  background: rgba(8, 8, 10, 0.72);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 8px 32px rgba(0, 0, 0, 0.35);
  border: 1px solid var(--hairline);
  transition: box-shadow 0.7s var(--ease-out), border-color 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  flex-shrink: 0;
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}

.nav-brand:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.nav-brand img {
  width: 34px;
  height: 34px;
  border-radius: 10px;
}

.nav-brand span {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links li + li {
  margin-left: 6px;
}

.nav-text-link {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--muted);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  transition: color 0.5s var(--ease-out), background 0.5s var(--ease-out);
}

.nav-text-link:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

@media (max-width: 420px) {
  .nav-text-link {
    display: none;
  }
}

.nav-map-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--primary);
  color: #fff !important;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.03em;
  flex-shrink: 0;
  box-shadow: 0 8px 28px rgba(247, 53, 53, 0.28);
  transition: background 0.55s var(--ease-out), transform 0.45s var(--ease-out), box-shadow 0.55s var(--ease-out);
}

.nav-map-cta:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 12px 36px rgba(247, 53, 53, 0.32);
}

.nav-map-cta:active {
  transform: scale(0.97);
}

main {
  position: relative;
  z-index: 1;
}

.text-link {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity 0.5s var(--ease-out);
}

.text-link:hover {
  opacity: 0.85;
}

/* —— Hero —— */
.hero {
  min-height: min(100dvh, 100vh);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(7rem, 12vw, 10rem) 1rem clamp(4rem, 8vw, 6rem);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-content {
  max-width: min(46rem, 100%);
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.05);
  margin-bottom: 1.5rem;
}

.hero-icon-wrap {
  margin: 0 auto 1.75rem;
  width: fit-content;
  padding: 8px;
  border-radius: var(--radius-outer);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--hairline);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.hero-icon-wrap-inner {
  padding: 12px;
  border-radius: var(--radius-inner);
  background: var(--surface-inner);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.12);
}

.hero-icon {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  display: block;
}

.hero h1 {
  font-size: clamp(1.85rem, 5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.12;
  margin-bottom: 1.25rem;
  letter-spacing: -0.035em;
}

.hero h1 .accent {
  color: var(--primary);
}

.hero-lede {
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  color: var(--muted);
  margin-bottom: 2rem;
  max-width: 38rem;
  margin-left: auto;
  margin-right: auto;
  font-weight: 450;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 22px 14px 24px;
  border-radius: 999px;
  background: var(--primary);
  color: white;
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  transition: background 0.55s var(--ease-out), transform 0.45s var(--ease-out), box-shadow 0.55s var(--ease-out);
  box-shadow: 0 12px 40px rgba(247, 53, 53, 0.22);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px) scale(1.01);
}

.btn-primary:active {
  transform: scale(0.98);
}

.btn-primary svg:first-child {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.btn-trailing-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin-left: 4px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.15);
  transition: transform 0.55s var(--ease-out), background 0.55s var(--ease-out);
}

.btn-primary:hover .btn-trailing-circle {
  transform: translate(3px, -2px) scale(1.05);
  background: rgba(0, 0, 0, 0.22);
}

.btn-trailing-circle svg {
  width: 14px;
  height: 14px;
}

.hero-cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--hairline);
  cursor: default;
  user-select: none;
  transition: border-color 0.55s var(--ease-out), transform 0.45s var(--ease-out);
}

.hero-meta {
  display: flex;
  justify-content: center;
  gap: 10px 28px;
  margin-top: 2.75rem;
  flex-wrap: wrap;
}

.hero-meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}

.hero-meta-item .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--success);
  flex-shrink: 0;
}

/* —— Sections —— */
.section-block {
  max-width: 72rem;
  margin: 0 auto;
  padding: clamp(4rem, 10vw, 7rem) 1rem;
}

.section-head {
  max-width: 38rem;
  margin-bottom: clamp(2rem, 5vw, 3rem);
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-kicker {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.65rem, 4vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.15;
  margin-bottom: 12px;
}

.section-desc {
  font-size: 1rem;
  color: var(--muted);
  font-weight: 450;
  line-height: 1.65;
}

/* Double-bezel card */
.bezel-outer {
  padding: 6px;
  border-radius: var(--radius-outer);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--hairline);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: border-color 0.65s var(--ease-out), transform 0.65s var(--ease-out), opacity 0.65s var(--ease-out);
}

.bezel-inner {
  border-radius: var(--radius-inner);
  background: var(--surface-inner);
  padding: clamp(1.25rem, 3vw, 1.75rem);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1);
  height: 100%;
}

.surface-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: clamp(2.5rem, 6vw, 4rem);
}

.surface-card .bezel-inner {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
}

.surface-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.surface-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
  flex: 1;
}

.surface-card-footer {
  margin-top: auto;
  padding-top: 8px;
}

.pill-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  transition: transform 0.55s var(--ease-out), opacity 0.55s var(--ease-out);
}

.pill-link:hover {
  transform: translateX(3px);
  opacity: 0.9;
}

.pill-link svg {
  width: 16px;
  height: 16px;
}

/* Bento */
.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
}

.bento-cell {
  grid-column: span 12;
  opacity: 0;
  transform: translateY(2rem);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.bento-cell.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 900px) {
  .bento-wide {
    grid-column: span 6;
  }

  .bento-narrow {
    grid-column: span 6;
  }

  .bento-full {
    grid-column: span 12;
  }
}

.cap-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  background: var(--primary-soft);
  color: var(--primary);
}

.cap-icon svg {
  width: 22px;
  height: 22px;
}

.cap-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.cap-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
}

.cap-card .cap-meta {
  margin-top: 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(154, 154, 163, 0.85);
}

/* FAQ */
.faq-section {
  max-width: 42rem;
  margin: 0 auto;
  padding: clamp(3rem, 8vw, 5rem) 1rem clamp(4rem, 10vw, 6rem);
}

.faq-section .section-head {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  margin-bottom: 2rem;
}

.faq details {
  margin-bottom: 10px;
  border-radius: var(--radius-inner);
  overflow: hidden;
  background: var(--surface-inner);
  border: 1px solid var(--hairline);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: border-color 0.55s var(--ease-out);
}

.faq details:hover {
  border-color: rgba(255, 255, 255, 0.12);
}

.faq summary {
  padding: 16px 18px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  letter-spacing: -0.01em;
  transition: color 0.55s var(--ease-out);
}

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

.faq summary::after {
  content: '';
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(45deg);
  flex-shrink: 0;
  transition: transform 0.55s var(--ease-out);
}

.faq details[open] summary::after {
  transform: rotate(-135deg);
}

.faq .faq-answer {
  padding: 0 18px 16px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

/* Footer */
/* —— Local prices section (links to the generated price pages) —— */
.prices-section {
  padding: clamp(3rem, 7vw, 5rem) 1rem;
  max-width: 72rem;
  margin: 0 auto;
}

.prices-lede {
  color: var(--muted);
  max-width: 42rem;
  margin-bottom: 1.75rem;
  font-size: clamp(0.98rem, 2vw, 1.08rem);
}

.prices-links {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 14rem), 1fr));
  gap: 10px;
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
}

.prices-links a {
  display: block;
  padding: 0.85rem 1.05rem;
  border-radius: 0.9rem;
  border: 1px solid var(--hairline);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 600;
  transition: border-color 0.5s var(--ease-out), background 0.5s var(--ease-out), transform 0.45s var(--ease-out);
}

.prices-links a:hover {
  border-color: rgba(247, 53, 53, 0.4);
  background: rgba(247, 53, 53, 0.07);
  transform: translateY(-1px);
}

.prices-links--feature a {
  border-color: rgba(247, 53, 53, 0.28);
  background: rgba(247, 53, 53, 0.06);
}

@media (prefers-reduced-motion: reduce) {
  .prices-links a:hover {
    transform: none;
  }
}

footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--hairline);
  padding: clamp(2rem, 5vw, 3rem) 1rem;
}

.footer-inner {
  max-width: 72rem;
  margin: 0 auto;
  display: grid;
  gap: 2rem;
}

@media (min-width: 640px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

.footer-cluster h3 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}

.footer-cluster ul {
  list-style: none;
}

.footer-cluster li {
  margin-bottom: 8px;
}

.footer-cluster a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.55s var(--ease-out), transform 0.55s var(--ease-out);
  display: inline-block;
}

.footer-cluster a:hover {
  color: var(--text);
  transform: translateX(2px);
}

.footer-copy {
  grid-column: 1 / -1;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.65;
  padding-top: 1rem;
  border-top: 1px solid var(--hairline);
}

.footer-copy a {
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.55s var(--ease-out);
}

.footer-copy a:hover {
  color: var(--text);
}

/* App toast */
.app-toast-layer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: var(--toast-z);
  display: flex;
  justify-content: center;
  padding: 8px 12px 20px;
  pointer-events: none;
}

.app-toast {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 28rem;
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-inner);
  border: 1px solid var(--hairline);
  background: rgba(12, 12, 15, 0.94);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 20px 50px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transform: translateY(120%);
  opacity: 0;
  transition: transform 0.75s var(--ease-out), opacity 0.75s var(--ease-out);
}

.app-toast.is-shown {
  transform: translateY(0);
  opacity: 1;
}

.app-toast-text {
  flex: 1;
  min-width: 0;
}

.app-toast-text strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}

.app-toast-text span {
  display: block;
  margin-top: 3px;
  font-size: 12px;
  line-height: 1.35;
  color: var(--muted);
}

.app-toast-cta {
  flex-shrink: 0;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--primary);
  color: white;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.55s var(--ease-out), transform 0.45s var(--ease-out);
}

.app-toast-cta:hover {
  background: var(--primary-dark);
  transform: scale(1.02);
}

.app-toast-dismiss {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  padding: 0;
  border: none;
  border-radius: 10px;
  background: transparent;
  color: var(--muted);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.55s var(--ease-out), background 0.55s var(--ease-out), transform 0.45s var(--ease-out);
}

.app-toast-dismiss:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.app-toast-dismiss:active {
  transform: scale(0.96);
}

.app-toast[hidden] {
  display: none !important;
}

/* Hero / section reveals */
.reveal {
  opacity: 0;
  transform: translateY(2.5rem);
  transition: opacity 0.85s var(--ease-out), transform 0.85s var(--ease-out);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
  .surface-grid {
    grid-template-columns: 1fr;
  }

  .hero-ctas {
    flex-direction: column;
    width: 100%;
    max-width: 22rem;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-ctas .btn-primary,
  .hero-cta-secondary {
    width: 100%;
    justify-content: center;
  }

  .hero-meta {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  .bento-cell {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .app-toast {
    transform: none !important;
    transition: none !important;
  }
}

/* ---------- content pages ---------- */
/* Long-form, data-led pages generated by scripts/build-seo-pages.mjs.
   Everything below is additive — it never redefines a base-layer rule. */

.content-main {
  position: relative;
  z-index: 1;
  padding: clamp(6.5rem, 11vw, 8.5rem) 1rem clamp(3rem, 6vw, 4.5rem);
}

.content-wrap {
  max-width: 58rem;
  margin: 0 auto;
}

.content-wrap--wide {
  max-width: 72rem;
}

/* —— Breadcrumbs —— */
.breadcrumbs {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.breadcrumbs li + li::before {
  content: '/';
  margin-right: 8px;
  color: rgba(255, 255, 255, 0.24);
}

.breadcrumbs a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.4s var(--ease-out);
}

.breadcrumbs a:hover {
  color: var(--text);
}

.breadcrumbs [aria-current='page'] {
  color: var(--text);
}

/* —— Page head —— */
.page-head {
  margin-bottom: clamp(2rem, 4vw, 2.75rem);
}

.page-head h1 {
  font-size: clamp(1.75rem, 4.4vw, 2.9rem);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.035em;
  margin-bottom: 1rem;
}

.page-head h1 .accent {
  color: var(--primary);
}

.page-updated {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.page-updated .dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--success);
  box-shadow: 0 0 0 4px rgba(52, 199, 89, 0.14);
}

/* —— The answer block: the first thing a reader or an answer engine sees —— */
.answer-card {
  padding: 6px;
  border-radius: var(--radius-outer);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--hairline);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.answer-card-inner {
  padding: clamp(1.35rem, 3.2vw, 2rem);
  border-radius: var(--radius-inner);
  background: var(--surface-inner);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1);
}

.answer-card .answer-lede {
  font-size: clamp(1.02rem, 2.1vw, 1.2rem);
  line-height: 1.6;
  font-weight: 500;
}

.answer-card .answer-lede strong {
  color: var(--text);
  font-weight: 750;
}

.answer-card .answer-note {
  margin-top: 0.9rem;
  font-size: 14px;
  color: var(--muted);
}

/* —— Headline price figures —— */
.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 10.5rem), 1fr));
  gap: 12px;
  margin-top: 1.4rem;
}

.price-stat {
  padding: 1rem 1.1rem;
  border-radius: 1.1rem;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--hairline);
}

.price-stat dt {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}

.price-stat dd {
  margin: 0;
  font-size: clamp(1.5rem, 3.6vw, 1.95rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}

.price-stat .price-stat-sub {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--muted);
}

.price-stat--hero dd {
  color: var(--primary);
}

.trend-up { color: #FF6B6B; }
.trend-down { color: var(--success); }

/* —— Prose —— */
.prose {
  font-size: clamp(1rem, 1.9vw, 1.06rem);
  line-height: 1.75;
  color: #D8D8DE;
}

.prose > * + * {
  margin-top: 1.1rem;
}

.prose h2 {
  font-size: clamp(1.32rem, 3vw, 1.75rem);
  font-weight: 750;
  letter-spacing: -0.028em;
  line-height: 1.24;
  color: var(--text);
  margin-top: clamp(2.4rem, 5vw, 3.2rem);
  scroll-margin-top: 6rem;
}

.prose h3 {
  font-size: clamp(1.08rem, 2.3vw, 1.22rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-top: 1.9rem;
  scroll-margin-top: 6rem;
}

.prose a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity 0.5s var(--ease-out);
}

.prose a:hover {
  opacity: 0.85;
}

.prose ul,
.prose ol {
  padding-left: 1.3rem;
}

.prose li + li {
  margin-top: 0.5rem;
}

.prose li::marker {
  color: var(--primary);
}

.prose strong {
  color: var(--text);
  font-weight: 650;
}

/* —— Data tables —— */
.table-wrap {
  margin-top: 1.4rem;
  overflow-x: auto;
  border-radius: 1.1rem;
  border: 1px solid var(--hairline);
  background: rgba(255, 255, 255, 0.025);
  -webkit-overflow-scrolling: touch;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
  min-width: 34rem;
}

.data-table caption {
  padding: 0.9rem 1.1rem 0;
  text-align: left;
  font-size: 13px;
  color: var(--muted);
}

.data-table th,
.data-table td {
  padding: 0.72rem 1.1rem;
  text-align: left;
  border-bottom: 1px solid var(--hairline);
}

.data-table thead th {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.data-table tbody tr:last-child th,
.data-table tbody tr:last-child td {
  border-bottom: 0;
}

.data-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.022);
}

.data-table .num {
  text-align: right;
  font-variant-numeric: tabular-nums;
  font-weight: 650;
  white-space: nowrap;
}

.data-table .rank {
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  width: 2.5rem;
}

.data-table .station-name {
  font-weight: 600;
  color: var(--text);
}

.data-table .station-meta {
  display: block;
  font-size: 12.5px;
  font-weight: 400;
  color: var(--muted);
}

.price-best {
  color: var(--success);
}

/* —— Inline callout —— */
.callout {
  margin-top: 1.6rem;
  padding: 1.05rem 1.2rem;
  border-radius: 1.1rem;
  border: 1px solid var(--hairline);
  border-left: 3px solid var(--primary);
  background: rgba(247, 53, 53, 0.06);
  font-size: 14.5px;
  line-height: 1.65;
}

.callout strong {
  color: var(--text);
}

/* —— Location link grid —— */
.link-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr));
  gap: 10px;
  margin-top: 1.3rem;
  list-style: none;
  padding: 0;
}

.link-grid li {
  margin: 0;
  display: flex;
}

/* .prose adds vertical rhythm to list items; the card grid sets its own via `gap`. */
.prose .link-grid li + li {
  margin-top: 0;
}

.link-grid a {
  flex: 1;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 0.8rem 1rem;
  border-radius: 0.9rem;
  border: 1px solid var(--hairline);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 600;
  transition: border-color 0.5s var(--ease-out), background 0.5s var(--ease-out), transform 0.45s var(--ease-out);
}

.link-grid a:hover {
  border-color: rgba(247, 53, 53, 0.4);
  background: rgba(247, 53, 53, 0.07);
  transform: translateY(-1px);
}

.link-grid .link-price {
  font-size: 13px;
  font-weight: 650;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* Keep multi-line labels from pushing the price to the bottom of a tall card. */
.link-grid a > span:first-child {
  min-width: 0;
}

/* —— CTA band —— */
.cta-band {
  margin-top: clamp(2.6rem, 5vw, 3.6rem);
  padding: 6px;
  border-radius: var(--radius-outer);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--hairline);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.cta-band-inner {
  padding: clamp(1.5rem, 3.4vw, 2.2rem);
  border-radius: var(--radius-inner);
  background: var(--surface-inner);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1);
  text-align: center;
}

.cta-band h2 {
  font-size: clamp(1.25rem, 2.9vw, 1.6rem);
  font-weight: 750;
  letter-spacing: -0.028em;
  margin-bottom: 0.6rem;
}

.cta-band p {
  color: var(--muted);
  font-size: 15px;
  max-width: 34rem;
  margin: 0 auto 1.4rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 999px;
  border: 1px solid var(--hairline);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  text-decoration: none;
  font-size: 14px;
  font-weight: 650;
  transition: background 0.5s var(--ease-out), border-color 0.5s var(--ease-out), transform 0.45s var(--ease-out);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.16);
  transform: translateY(-1px);
}

/* —— Above-the-fold app prompt —— */
.app-strip {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: clamp(1.5rem, 3vw, 2rem);
  padding: 0.9rem 1.1rem;
  border-radius: 1.2rem;
  border: 1px solid rgba(247, 53, 53, 0.24);
  background:
    linear-gradient(180deg, rgba(247, 53, 53, 0.09), rgba(247, 53, 53, 0.04));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.app-strip > img {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  flex-shrink: 0;
}

.app-strip-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1;
}

.app-strip-copy strong {
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.app-strip-copy span {
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--muted);
}

.app-strip-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex-shrink: 0;
  padding: 11px 18px;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 8px 24px rgba(247, 53, 53, 0.26);
  transition: background 0.55s var(--ease-out), transform 0.45s var(--ease-out);
}

.app-strip-cta:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.app-strip-cta:active {
  transform: scale(0.97);
}

@media (max-width: 560px) {
  .app-strip {
    flex-wrap: wrap;
  }

  .app-strip-copy {
    flex-basis: calc(100% - 58px);
  }

  .app-strip-cta {
    width: 100%;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .app-strip-cta:hover {
    transform: none;
  }
}

/* —— On-page contents —— */
.toc {
  margin-top: 1.5rem;
  padding: 1.1rem 1.25rem;
  border-radius: 1.1rem;
  border: 1px solid var(--hairline);
  background: rgba(255, 255, 255, 0.025);
}

.toc h2 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 10px;
}

.toc ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 7px;
}

.toc a {
  color: #D8D8DE;
  text-decoration: none;
  font-size: 14.5px;
  transition: color 0.4s var(--ease-out);
}

.toc a:hover {
  color: var(--primary);
}

/* —— Sources / disclaimer —— */
.page-sources {
  margin-top: clamp(2.2rem, 4.5vw, 3rem);
  padding-top: 1.4rem;
  border-top: 1px solid var(--hairline);
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--muted);
}

.page-sources a {
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-sources a:hover {
  color: var(--text);
}

/* The generated pages reuse the homepage FAQ component but are not inside its
   section wrapper, so give it the same rhythm as the rest of the prose. */
.content-wrap .faq-section {
  padding-left: 0;
  padding-right: 0;
}

@media (prefers-reduced-motion: reduce) {
  .link-grid a:hover,
  .btn-secondary:hover {
    transform: none;
  }
}
