:root {
  --panel: rgba(255, 255, 255, 0.9);
  --panel-strong: rgba(246, 251, 248, 0.98);
  --panel-night: linear-gradient(145deg, rgba(20, 43, 61, 0.98), rgba(18, 66, 86, 0.96));
}

.page-generated {
  --generated-pill-bg: rgba(32, 207, 122, 0.14);
  --generated-pill-border: rgba(32, 207, 122, 0.24);
  --generated-pill-text: #0f7e4f;
  --generated-pill-dark-bg: rgba(32, 207, 122, 0.18);
  --generated-pill-dark-text: #9df0c7;
  --generated-icon-bg: linear-gradient(135deg, rgba(31, 164, 99, 0.16), rgba(88, 191, 229, 0.12));
  --generated-icon-border: rgba(19, 39, 54, 0.1);
  --generated-icon-stroke: var(--ink-soft);
  --generated-icon-dark-bg: linear-gradient(135deg, rgba(31, 164, 99, 0.18), rgba(88, 191, 229, 0.08));
  --generated-icon-dark-border: rgba(255, 255, 255, 0.12);
  --generated-icon-dark-stroke: #ffffff;
  --generated-dark-copy: rgba(255, 255, 255, 0.82);
}

.page-generated .hero {
  padding-top: 34px;
}

.page-generated .section {
  padding-block: 28px;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.breadcrumb-link,
.breadcrumb-current {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(19, 39, 54, 0.14);
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 600;
}

.breadcrumb-current {
  background: rgba(32, 207, 122, 0.16);
  color: var(--ink);
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(320px, 0.78fr);
  gap: 24px;
  align-items: start;
}

.page-hero-main,
.page-hero-side,
.panel-card,
.panel-card-dark,
.illustration-card,
.directory-card,
.content-card,
.table-shell,
.faq-shell,
.summary-rail,
.svg-card {
  border: 1px solid rgba(19, 39, 54, 0.12);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.page-hero-main,
.panel-card,
.illustration-card,
.directory-card,
.content-card,
.table-shell,
.faq-shell,
.summary-rail,
.svg-card {
  background: var(--panel);
}

.page-hero-main {
  padding: 32px;
}

.page-hero-side {
  background: linear-gradient(180deg, rgba(20, 48, 67, 0.96), rgba(24, 66, 86, 0.92));
  color: var(--paper-soft);
  padding: 20px;
  position: sticky;
  top: 96px;
}

.page-kicker-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.page-kicker-pill,
.page-status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1;
  text-transform: uppercase;
  text-align: center;
  white-space: nowrap;
}

.page-kicker-pill {
  background: rgba(32, 207, 122, 0.16);
  color: #0f7e4f;
}

.page-status-pill {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 248, 236, 0.84);
}

.page-hero-main .page-status-pill {
  background: rgba(19, 39, 54, 0.08);
  color: var(--ink);
}

.page-generated .page-kicker-pill {
  background: var(--generated-pill-bg);
  border: 1px solid var(--generated-pill-border);
  color: var(--generated-pill-text);
}

.page-generated .page-status-pill {
  border: 1px solid rgba(19, 39, 54, 0.08);
}

.page-generated .page-hero-side .page-status-pill {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.1);
  color: rgba(255, 248, 236, 0.84);
}

.page-title {
  margin: 0;
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: clamp(2.4rem, 4.8vw, 4.2rem);
  line-height: 0.96;
  letter-spacing: -0.05em;
  max-width: 15ch;
  text-wrap: balance;
}

.page-generated .page-title {
  text-rendering: optimizeLegibility;
}

.page-title span {
  color: var(--rose);
}

.page-generated .page-title,
.page-generated .page-section-intro h2,
.page-generated .summary-rail h3,
.page-generated .directory-card-top strong,
.page-generated .content-card h3,
.page-generated .panel-card h3,
.page-generated .table-shell h3,
.page-generated .faq-shell h3 {
  overflow-wrap: anywhere;
}

.page-generated .eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 30px;
  padding: 0 12px;
  max-width: 100%;
  border-radius: 999px;
  background: rgba(32, 207, 122, 0.14);
  color: #0f7e4f;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
  text-align: left;
  border: 1px solid var(--generated-pill-border);
  white-space: nowrap;
}

.page-generated .eyebrow::before {
  content: none;
  display: none;
}

.page-hero-side .eyebrow {
  background: var(--generated-pill-dark-bg);
  color: var(--generated-pill-dark-text);
  border-color: var(--generated-pill-border);
}

.page-hero-side h3,
.page-hero-side p,
.page-hero-side strong,
.page-hero-side a {
  color: var(--paper-soft);
}

.page-lead {
  margin: 18px 0 0;
  max-width: 62ch;
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.55;
}

.hero-button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.hero-summary-grid,
.metric-grid,
.fuel-grid,
.directory-grid,
.insight-grid,
.faq-grid-generated,
.child-link-grid {
  display: grid;
  gap: 16px;
}

.metric-grid,
.fuel-grid,
.directory-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hero-summary-grid,
.insight-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.summary-rail {
  margin-top: 22px;
  padding: 20px 22px;
}

.summary-rail h3,
.panel-card h3,
.panel-card-dark h3,
.illustration-card h3,
.directory-card h3,
.content-card h3,
.svg-card h3,
.table-shell h3,
.faq-shell h3 {
  margin: 0 0 12px;
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 1.35rem;
  line-height: 1.05;
  letter-spacing: -0.05em;
}

.summary-rail p,
.panel-card p,
.illustration-card p,
.directory-card p,
.content-card p,
.svg-card p,
.table-shell p,
.faq-shell p {
  margin: 0;
  color: var(--text-soft);
}

.metric-card,
.summary-chip,
.fuel-card,
.insight-card,
.child-link-card {
  border-radius: 18px;
  border: 1px solid rgba(19, 39, 54, 0.12);
  background: rgba(255, 255, 255, 0.62);
  padding: 20px;
}

.metric-card-top,
.fuel-card-top,
.directory-card-topline {
  display: flex;
  align-items: center;
  gap: 10px;
}

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 12px;
  background: var(--generated-icon-bg);
  border: 1px solid var(--generated-icon-border);
  box-shadow: 0 6px 12px rgba(19, 39, 54, 0.08);
  flex: 0 0 auto;
}

.card-icon svg {
  width: 16px;
  height: 16px;
  stroke: var(--generated-icon-stroke);
  stroke-width: 1.8;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.page-generated .icon-heading {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.page-generated .icon-heading > div:last-child {
  min-width: 0;
}

.page-generated .icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--generated-icon-bg);
  border: 1px solid var(--generated-icon-border);
  box-shadow: 0 8px 16px rgba(19, 39, 54, 0.06);
}

.page-generated .icon-badge svg {
  width: 22px;
  height: 22px;
  stroke: var(--generated-icon-stroke);
  stroke-width: 1.8;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.metric-card-top span:last-child,
.fuel-card-top span:last-child,
.insight-card > span {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--text-muted);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.directory-card .eyebrow,
.table-shell .eyebrow,
.faq-shell .eyebrow,
.content-card .eyebrow,
.illustration-card .eyebrow,
.panel-card .eyebrow,
.page-hero-side .eyebrow,
.svg-card .eyebrow {
  margin-bottom: 10px;
}

.directory-card-topline .eyebrow,
.metric-card-top span:last-child,
.fuel-card-top span:last-child {
  margin-bottom: 0;
}

.metric-card-top span:last-child,
.fuel-card-top span:last-child {
  min-width: 0;
}

.metric-card strong,
.fuel-card strong,
.insight-card strong {
  display: block;
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 1.8rem;
  line-height: 1;
  letter-spacing: -0.06em;
  overflow-wrap: anywhere;
}

.metric-card p,
.fuel-card p,
.insight-card p {
  margin: 10px 0 0;
  color: var(--text-soft);
  font-size: 0.96rem;
  line-height: 1.5;
}

.fuel-card {
  min-height: 0;
}

.fuel-card strong {
  font-size: 2rem;
}

.hero-summary-list,
.panel-list,
.toc-list,
.faq-list-generated,
.table-list,
.bar-list {
  display: grid;
  gap: 12px;
}

.hero-summary-item,
.panel-row,
.toc-link,
.table-row-generated,
.bar-row {
  display: grid;
  gap: 8px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
}

.hero-summary-item strong,
.panel-row strong,
.toc-link strong,
.table-row-generated strong,
.bar-row strong {
  font-size: 1rem;
  letter-spacing: -0.03em;
  overflow-wrap: anywhere;
}

.hero-summary-item span,
.panel-row span,
.toc-link span,
.table-row-generated span,
.bar-row span {
  color: rgba(255, 248, 236, 0.72);
  font-size: 0.92rem;
  line-height: 1.45;
}

.toc-link {
  text-decoration: none;
}

.table-row-generated span,
.bar-row span,
.page-section-intro p,
.directory-card p,
.child-link-card p {
  color: var(--text-soft);
}

.page-hero-side .hero-summary-list {
  gap: 10px;
}

.page-hero-side .hero-summary-item {
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.1);
}

.page-hero-side .hero-summary-item strong {
  font-size: 1.06rem;
  color: var(--paper-soft);
}

.page-hero-side .hero-summary-item span {
  color: rgba(255, 248, 236, 0.78);
}

.page-hero-side .toc-list {
  gap: 8px;
}

.page-hero-side .toc-link {
  gap: 4px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
}

.page-hero-side .toc-link strong {
  font-size: 0.96rem;
  color: var(--paper-soft);
}

.page-hero-side .toc-link span {
  font-size: 0.82rem;
  color: rgba(255, 248, 236, 0.62);
}

.page-section-intro {
  display: grid;
  gap: 12px;
  max-width: 76ch;
  margin-bottom: 24px;
}

.page-section-intro h2 {
  margin: 0;
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.page-section-intro p {
  margin: 0;
  color: var(--text-soft);
}

.directory-card {
  padding: 22px;
  display: grid;
  gap: 18px;
  align-content: start;
}

.directory-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.directory-card-top strong {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 1.5rem;
  line-height: 1;
  letter-spacing: -0.05em;
  color: var(--ink);
}

.directory-card-stat {
  min-width: 84px;
  text-align: right;
  color: var(--ink);
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 1.5rem;
  line-height: 1;
  letter-spacing: -0.06em;
}

.directory-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.directory-card p {
  font-size: 0.96rem;
  line-height: 1.56;
}

.directory-meta-chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(19, 39, 54, 0.12);
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink-soft);
  font-size: 0.84rem;
  font-weight: 600;
}

.directory-card .button,
.directory-card .ghost-button {
  width: 100%;
}

.page-home-generated #countries .directory-grid,
.page-country #directory .directory-grid,
.page-region #directory .directory-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.page-home-generated #countries .directory-card:first-child {
  grid-column: 1 / -1;
  background:
    linear-gradient(135deg, rgba(255, 191, 84, 0.16), rgba(255, 255, 255, 0.78)),
    var(--panel);
}

.map-stage {
  padding: 24px;
}

.map-stage .live-map,
.map-stage .feature-live-map {
  min-height: 500px;
}

.panel-card,
.content-card,
.illustration-card,
.svg-card,
.table-shell,
.faq-shell {
  padding: 22px;
}

.content-grid-generated,
.chart-grid-generated,
.map-experience-stack,
.illustration-grid {
  display: grid;
  gap: 18px;
}

.content-grid-generated {
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
}

.panel-card-dark {
  padding: 22px;
  background: var(--panel-night);
  color: var(--paper-soft);
}

.panel-card-dark p,
.panel-card-dark li,
.panel-card-dark span {
  color: rgba(255, 248, 236, 0.76);
}

.chart-grid-generated {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.illustration-grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  margin-bottom: 20px;
}

.illustration-card {
  padding: 24px;
  border-radius: 24px;
  border: 1px solid rgba(19, 39, 54, 0.12);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.figure-svg {
  width: 100%;
  height: auto;
  margin-top: 18px;
  border-radius: 20px;
  overflow: hidden;
}

.graph-card .figure-svg {
  background: linear-gradient(180deg, rgba(255, 248, 236, 0.94), rgba(248, 238, 220, 0.96));
}

.bar-row {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  border-color: rgba(19, 39, 54, 0.1);
  background: rgba(255, 255, 255, 0.58);
  padding: 16px 18px;
}

.bar-row-copy {
  display: grid;
  gap: 8px;
}

.bar-row-copy strong {
  font-size: 1.02rem;
}

.bar-track {
  position: relative;
  height: 10px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(19, 39, 54, 0.1);
}

.bar-track span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--green), var(--cyan));
}

.bar-value {
  color: var(--ink);
  font-weight: 700;
}

.svg-card svg {
  width: 100%;
  height: auto;
  margin-top: 18px;
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(15, 38, 54, 0.96), rgba(15, 58, 78, 0.92));
}

.table-shell {
  overflow: hidden;
}

.table-list {
  margin-top: 16px;
}

.table-row-generated {
  grid-template-columns: minmax(220px, 1.4fr) repeat(4, minmax(0, 0.7fr));
  align-items: center;
  border-color: rgba(19, 39, 54, 0.08);
  background: rgba(255, 255, 255, 0.62);
  padding: 14px 16px;
}

.table-row-generated > div,
.table-row-generated > strong,
.table-row-generated > span {
  min-width: 0;
}

.table-row-generated small,
.station-card-meta {
  display: block;
  color: var(--text-muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

.page-generated .metric-card strong,
.page-generated .fuel-card strong,
.page-generated .table-row-generated strong,
.page-generated .directory-card-top strong,
.page-generated .directory-card-stat,
.page-generated .child-link-card strong {
  color: var(--ink);
}

.page-generated .metric-card p,
.page-generated .fuel-card p,
.page-generated .directory-card p,
.page-generated .child-link-card p,
.page-generated .faq-shell details p,
.page-generated .table-row-generated small,
.page-generated .station-card-meta,
.page-generated .page-lead,
.page-generated .page-section-intro p {
  color: var(--text-soft);
}

.page-generated .page-hero-side .metric-card strong,
.page-generated .page-hero-side .fuel-card strong,
.page-generated .page-hero-side .directory-card-top strong,
.page-generated .page-hero-side .directory-card-stat,
.page-generated .page-hero-side .child-link-card strong,
.page-generated .panel-card-dark .icon-heading h3,
.page-generated .page-hero-side .icon-heading h3,
.page-generated .page-hero-side .page-section-intro h2 {
  color: var(--paper-soft);
}

.page-generated .page-hero-side .icon-badge,
.page-generated .panel-card-dark .icon-badge {
  background: var(--generated-icon-dark-bg);
  border-color: var(--generated-icon-dark-border);
}

.page-generated .page-hero-side .icon-badge svg,
.page-generated .panel-card-dark .icon-badge svg {
  stroke: var(--generated-icon-dark-stroke);
}

.page-generated .panel-card-dark .eyebrow {
  background: var(--generated-pill-dark-bg);
  color: var(--generated-pill-dark-text);
  border-color: var(--generated-pill-border);
}

.page-generated .panel-card-dark strong,
.page-generated .panel-card-dark h3,
.page-generated .panel-card-dark a {
  color: var(--paper-soft);
}

.page-generated .panel-card-dark p,
.page-generated .panel-card-dark span,
.page-generated .panel-card-dark li {
  color: var(--generated-dark-copy);
}

.page-generated .button,
.page-generated .ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 16px;
  border: 1px solid rgba(19, 39, 54, 0.12);
  font-size: 0.96rem;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 10px 18px rgba(19, 39, 54, 0.08);
}

.page-generated .button {
  background: var(--ink);
  color: var(--paper);
}

.page-generated .ghost-button {
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink);
}

.table-head-generated {
  grid-template-columns: minmax(220px, 1.4fr) repeat(4, minmax(0, 0.7fr));
  background: rgba(19, 39, 54, 0.92);
  color: var(--paper-soft);
}

.table-head-generated span {
  color: rgba(255, 248, 236, 0.82);
}

.score-good {
  color: var(--green-strong);
}

.score-warn {
  color: #c46f00;
}

.score-muted {
  color: var(--text-muted);
}

.faq-shell details {
  border-radius: 16px;
  border: 1px solid rgba(19, 39, 54, 0.1);
  background: rgba(255, 255, 255, 0.64);
  padding: 16px 18px;
}

.faq-shell summary {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.faq-shell summary::before {
  content: "?";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: rgba(255, 191, 84, 0.24);
  color: #8a5d00;
  font-size: 0.78rem;
  font-weight: 800;
  flex: 0 0 auto;
}

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

.faq-shell details p {
  margin-top: 12px;
}

.child-link-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.child-link-card {
  display: grid;
  gap: 10px;
}

.child-link-card strong {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 1.2rem;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.child-link-card p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.55;
}

.page-footer {
  padding: 36px 0 52px;
}

.page-footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.page-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.page-footer-links a {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(19, 39, 54, 0.12);
  background: rgba(255, 255, 255, 0.66);
}

.link-cloud {
  margin-top: 18px;
}

.link-cloud a {
  text-decoration: none;
}

.page-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.legend-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(19, 39, 54, 0.1);
  color: var(--ink-soft);
  font-size: 0.84rem;
  font-weight: 600;
}

.page-country .fuel-grid,
.page-region .fuel-grid,
.page-city .fuel-grid,
.page-locality .fuel-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.map-panel.page-hero-side {
  position: static;
  top: auto;
  background: var(--panel);
  color: var(--ink);
  border: 1px solid rgba(19, 39, 54, 0.12);
  box-shadow: var(--shadow);
}

.map-panel.page-hero-side .eyebrow {
  background: rgba(32, 207, 122, 0.12);
  color: #0f8b50;
  border-color: rgba(32, 207, 122, 0.22);
}

.map-panel.page-hero-side h3,
.map-panel.page-hero-side p,
.map-panel.page-hero-side strong,
.map-panel.page-hero-side a,
.map-panel.page-hero-side span {
  color: var(--ink);
}

.map-panel.page-hero-side p,
.map-panel.page-hero-side span {
  color: var(--text-soft);
}

@media (min-width: 1240px) {
  .page-country .fuel-grid,
  .page-region .fuel-grid,
  .page-city .fuel-grid,
  .page-locality .fuel-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
}

.legend-dot.is-green {
  background: var(--green);
}

.legend-dot.is-amber {
  background: var(--amber);
}

.legend-dot.is-rose {
  background: var(--rose);
}

@media (max-width: 1240px) {
  .page-hero-grid,
  .content-grid-generated,
  .chart-grid-generated,
  .illustration-grid,
  .directory-grid,
  .child-link-grid,
  .hero-summary-grid,
  .metric-grid,
  .fuel-grid,
  .insight-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-hero-side {
    position: static;
  }

  .page-home-generated #countries .directory-card:first-child {
    grid-column: auto;
  }

  .table-row-generated,
  .table-head-generated {
    grid-template-columns: minmax(180px, 1fr) repeat(4, minmax(0, 0.6fr));
  }
}

@media (max-width: 900px) {
  .page-generated .hero {
    padding-top: 22px;
  }

  .breadcrumbs {
    gap: 8px;
    margin-bottom: 18px;
  }

  .breadcrumb-link,
  .breadcrumb-current {
    min-height: 34px;
    padding: 0 12px;
    font-size: 0.82rem;
  }

  .page-title {
    max-width: none;
    font-size: clamp(2.15rem, 8vw, 3.4rem);
  }

  .page-lead {
    font-size: 0.94rem;
  }

  .hero-button-row {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-button-row .button,
  .hero-button-row .ghost-button,
  .button-row .button,
  .button-row .ghost-button {
    width: 100%;
  }

  .map-stage .live-map,
  .map-stage .feature-live-map {
    min-height: 420px;
  }

  .page-footer {
    padding: 28px 0 42px;
  }
}

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

  .page-hero-grid,
  .content-grid-generated,
  .chart-grid-generated,
  .illustration-grid,
  .directory-grid,
  .child-link-grid,
  .hero-summary-grid,
  .metric-grid,
  .fuel-grid,
  .insight-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .page-hero-main,
  .page-hero-side,
  .panel-card,
  .panel-card-dark,
.illustration-card,
  .directory-card,
  .content-card,
  .table-shell,
  .faq-shell,
  .summary-rail,
  .svg-card {
    border-radius: 20px;
    padding: 20px;
  }

  .page-title {
    max-width: none;
    font-size: clamp(2.2rem, 11vw, 3.3rem);
  }

  .table-row-generated {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    padding: 14px;
  }

  .table-head-generated {
    display: none;
  }

  .table-row-generated > div {
    grid-column: 1 / -1;
  }

  .table-row-generated > span {
    display: grid;
    grid-template-columns: minmax(88px, auto) 1fr;
    gap: 10px;
    align-items: baseline;
    font-size: 0.92rem;
  }

  .table-row-generated > span::before {
    color: var(--text-muted);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .table-row-generated > span:nth-of-type(1)::before {
    content: "Area";
  }

  .table-row-generated > span:nth-of-type(2)::before {
    content: "Regular 91";
  }

  .table-row-generated > span:nth-of-type(3)::before {
    content: "Diesel";
  }

  .table-row-generated > span:nth-of-type(4)::before {
    content: "Updated";
  }

  .page-hero-main,
  .page-hero-side,
  .panel-card,
  .panel-card-dark,
  .illustration-card,
  .directory-card,
  .content-card,
  .table-shell,
  .faq-shell,
  .summary-rail,
  .svg-card {
    padding: 18px;
  }

  .map-stage .live-map,
  .map-stage .feature-live-map {
    min-height: 360px;
  }

  .page-footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* App-aligned green / white / black theme overrides */
:root {
  --paper: #f4f7f6;
  --paper-soft: #ffffff;
  --paper-strong: #e7efeb;
  --card: #ffffff;
  --card-alt: #f7fbf9;
  --ink: #07141b;
  --ink-soft: #18343f;
  --ink-muted: #5c7280;
  --night: #07141b;
  --night-soft: #11313c;
  --line: rgba(7, 20, 27, 0.1);
  --text: #07141b;
  --text-soft: #43606f;
  --text-muted: #718694;
  --green: #20cf7a;
  --green-strong: #0f8b50;
  --amber: #20cf7a;
  --rose: #20cf7a;
  --cyan: #65d4ff;
  --shadow: 0 16px 34px rgba(7, 20, 27, 0.08);
}

body {
  background:
    radial-gradient(circle at top left, rgba(32, 207, 122, 0.08), transparent 18%),
    linear-gradient(180deg, #f7faf9 0%, #eef4f2 48%, #f7faf9 100%);
}

body::before {
  opacity: 0.14;
}

.site-header {
  background: rgba(255, 255, 255, 0.94);
  border-bottom-color: rgba(7, 20, 27, 0.08);
}

.brand-mark {
  background: linear-gradient(135deg, rgba(32, 207, 122, 0.16), rgba(9, 19, 27, 0.12));
}

.page-generated {
  --generated-pill-bg: rgba(32, 207, 122, 0.14);
  --generated-pill-border: rgba(32, 207, 122, 0.2);
  --generated-pill-text: #0f8b50;
  --generated-pill-dark-bg: rgba(32, 207, 122, 0.16);
  --generated-pill-dark-text: #7ff0b1;
  --generated-icon-bg: linear-gradient(135deg, rgba(32, 207, 122, 0.14), rgba(101, 212, 255, 0.12));
  --generated-icon-border: rgba(7, 20, 27, 0.08);
  --generated-icon-stroke: var(--ink);
  --generated-icon-dark-bg: linear-gradient(135deg, rgba(32, 207, 122, 0.2), rgba(101, 212, 255, 0.12));
  --generated-icon-dark-border: rgba(255, 255, 255, 0.08);
  --generated-icon-dark-stroke: #ffffff;
  --generated-dark-copy: rgba(255, 255, 255, 0.78);
  --panel: rgba(255, 255, 255, 0.92);
  --panel-strong: rgba(255, 255, 255, 0.98);
  --panel-night: linear-gradient(165deg, rgba(7, 20, 27, 0.98), rgba(17, 49, 60, 0.95));
}

.page-generated .page-kicker-pill,
.page-generated .eyebrow,
.directory-meta-chip {
  background: rgba(32, 207, 122, 0.12);
  border-color: rgba(32, 207, 122, 0.22);
  color: #0f8b50;
}

.page-title span,
.display span,
.legend-dot.is-amber,
.legend-dot.is-rose {
  color: var(--green);
  background: var(--green);
}

.page-hero-main,
.panel-card,
.illustration-card,
.directory-card,
.content-card,
.table-shell,
.faq-shell,
.summary-rail,
.svg-card,
.map-panel.page-hero-side {
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(7, 20, 27, 0.08);
}

.page-hero-side {
  background: linear-gradient(180deg, rgba(7, 20, 27, 0.97), rgba(17, 49, 60, 0.95));
}

.page-generated .button {
  background: #07141b;
  border-color: #07141b;
  color: #ffffff;
}

.page-generated .button:hover,
.page-generated .button:focus-visible {
  background: #0d2029;
}

.page-generated .ghost-button,
.nav-toggle,
.page-footer-links a,
.legend-chip,
.directory-meta-chip {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(7, 20, 27, 0.08);
  color: var(--ink);
}

.hero-action-stack {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.store-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.store-badge-row.is-compact {
  gap: 10px;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 10px 16px;
  border-radius: 18px;
  border: 1px solid rgba(7, 20, 27, 0.08);
  background: #07141b;
  color: #ffffff;
  box-shadow: 0 12px 24px rgba(7, 20, 27, 0.12);
}

.store-badge.app-store {
  background: #ffffff;
  color: #07141b;
}

.store-badge-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
}

.store-badge.app-store .store-badge-icon {
  background: rgba(7, 20, 27, 0.08);
}

.store-badge-icon svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.store-badge-copy {
  display: grid;
  gap: 2px;
}

.store-badge-copy small {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.7;
}

.store-badge-copy strong {
  font-size: 0.98rem;
  letter-spacing: -0.02em;
}

.table-shell {
  width: min(100%, 1080px);
  max-width: 1080px;
  margin-inline: auto;
}

.table-row-generated,
.table-head-generated {
  grid-template-columns: minmax(240px, 1.15fr) minmax(150px, 0.68fr) repeat(3, minmax(128px, 0.52fr));
}

.table-row-generated {
  border-color: rgba(7, 20, 27, 0.08);
  background: rgba(255, 255, 255, 0.98);
}

.table-head-generated {
  background: #102934;
}

.directory-card,
.content-card,
.panel-card,
.svg-card,
.illustration-card,
.table-shell,
.faq-shell {
  box-shadow: 0 14px 28px rgba(7, 20, 27, 0.06);
}

.directory-card .button {
  margin-top: auto;
  width: 100%;
  justify-content: center;
}

.page-home-generated #countries .directory-card:first-child {
  background:
    linear-gradient(135deg, rgba(32, 207, 122, 0.08), rgba(255, 255, 255, 0.94)),
    rgba(255, 255, 255, 0.96);
}

.page-home-generated #countries .directory-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 1100px) {
  .site-header .nav {
    display: none;
  }

  .site-header.is-nav-open .nav {
    display: grid;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .page-hero-grid,
  .content-grid-generated,
  .chart-grid-generated,
  .illustration-grid,
  .page-home-generated #countries .directory-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .page-hero-side {
    position: static;
    top: auto;
  }
}

@media (max-width: 960px) {
  .directory-grid,
  .child-link-grid,
  .metric-grid,
  .fuel-grid,
  .insight-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .page-section-intro {
    max-width: none;
  }

  .table-row-generated,
  .table-head-generated {
    grid-template-columns: minmax(180px, 1fr) repeat(4, minmax(0, 0.58fr));
  }
}

@media (max-width: 720px) {
  .header-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }

  .brand-copy strong {
    font-size: 0.92rem;
  }

  .store-badge-row,
  .hero-button-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  .store-badge {
    width: 100%;
    justify-content: flex-start;
  }
}
