@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;500;600&family=Sora:wght@400;600;700;800&display=swap");

:root {
  --bg: #09111b;
  --bg-soft: rgba(11, 22, 35, 0.72);
  --panel: rgba(14, 28, 44, 0.74);
  --panel-strong: rgba(19, 35, 53, 0.92);
  --line: rgba(172, 207, 255, 0.14);
  --line-strong: rgba(172, 207, 255, 0.24);
  --text: #eef4fb;
  --muted: #99abc0;
  --accent: #ff8d3a;
  --accent-soft: rgba(255, 141, 58, 0.16);
  --blue: #76b4ff;
  --tax: #ffd166;
  --market: #8affd3;
  --margin: #ff8d3a;
  --vat: #ff5f6d;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.36);
  --radius: 28px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 15% 20%, rgba(255, 141, 58, 0.22), transparent 30%),
    radial-gradient(circle at 80% 10%, rgba(118, 180, 255, 0.17), transparent 35%),
    linear-gradient(160deg, #060c14 0%, #09111b 45%, #071421 100%);
  color: var(--text);
  font-family: "IBM Plex Sans", sans-serif;
}

body.consent-open {
  overflow: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: auto;
  z-index: 0;
  pointer-events: none;
  border-radius: 999px;
  filter: blur(18px);
  opacity: 0.65;
}

body::before {
  width: 28rem;
  height: 28rem;
  top: -7rem;
  right: -5rem;
  background: radial-gradient(circle, rgba(255, 141, 58, 0.28), transparent 70%);
  animation: drift 18s ease-in-out infinite;
}

body::after {
  width: 20rem;
  height: 20rem;
  left: -6rem;
  bottom: 10rem;
  background: radial-gradient(circle, rgba(118, 180, 255, 0.2), transparent 70%);
  animation: drift 22s ease-in-out infinite reverse;
}

.page-noise {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 3rem 3rem;
  mask-image: radial-gradient(circle at center, black 42%, transparent 88%);
}

.page {
  position: relative;
  z-index: 1;
  width: min(1220px, calc(100vw - 2rem));
  margin: 0 auto;
  padding: 2rem 0 4rem;
}

.hero,
.policy-banner,
.workspace,
.drivers,
.insight-hub,
.faq,
.sources {
  position: relative;
}

.hero {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.1rem 0 1.4rem;
  border-bottom: 1px solid var(--line);
}

.eyebrow,
.section-kicker {
  margin: 0 0 0.65rem;
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
}

.hero h1,
.section-intro h2 {
  margin: 0;
  font-family: "Sora", sans-serif;
}

.hero h1 {
  max-width: 18ch;
  font-size: clamp(1.9rem, 3.7vw, 3rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.hero-text {
  max-width: 48rem;
  margin: 0.9rem 0 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.65;
}

.hero-links {
  display: flex;
  flex-shrink: 0;
  align-self: flex-start;
  justify-content: flex-end;
  max-width: 24rem;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.text-link,
.section-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #ffd8b9;
  font-weight: 600;
  text-decoration: none;
}

.text-link:hover,
.section-link:hover {
  color: var(--accent);
}

.hero-copy,
.hero-tape,
.policy-banner,
.controls-panel,
.results-panel,
.drivers,
.insight-hub,
.faq,
.sources {
  opacity: 0;
  transform: translateY(24px);
  animation: fadeUp 0.8s ease forwards;
}

.hero-tape {
  animation-delay: 0.1s;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
  margin-bottom: 1.2rem;
}

.hero-chip {
  min-height: auto;
  padding: 1rem 1.05rem;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(21, 39, 59, 0.52), rgba(10, 20, 32, 0.56));
  backdrop-filter: blur(16px);
}

.chip-label {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.chip-value {
  display: block;
  font-family: "Sora", sans-serif;
  font-size: clamp(1.2rem, 2vw, 1.7rem);
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.chip-footnote {
  display: block;
  margin-top: 0.35rem;
  color: var(--muted);
  font-size: 0.8rem;
}

.workspace {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(290px, 0.72fr);
  align-items: start;
  gap: 1.4rem;
  padding-top: 2rem;
}

.controls-panel,
.results-panel,
.policy-banner,
.drivers,
.insight-hub,
.faq,
.sources {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--panel), rgba(8, 17, 28, 0.84));
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.controls-panel,
.results-panel {
  min-height: 100%;
}

.controls-panel {
  padding: 1.4rem;
  animation-delay: 0.15s;
  position: sticky;
  top: 1rem;
}

.results-panel {
  padding: 1.4rem;
  animation-delay: 0.2s;
}

.drivers,
.insight-hub,
.faq,
.sources {
  margin-top: 1.4rem;
  padding: 1.4rem;
  animation-delay: 0.25s;
}

.policy-banner {
  display: grid;
  gap: 0.7rem;
  margin-top: 1.4rem;
  padding: 1.2rem 1.4rem;
  animation-delay: 0.12s;
}

.section-intro {
  margin-bottom: 1.2rem;
}

.section-intro h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.policy-kicker {
  margin: 0;
  color: var(--accent);
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.policy-title {
  margin: 0;
  font-family: "Sora", sans-serif;
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.policy-copy {
  margin: 0;
  max-width: 68rem;
  color: var(--muted);
  line-height: 1.65;
}

.policy-timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 0.15rem;
}

.policy-step {
  padding: 0.9rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.policy-step.is-active {
  border-color: rgba(255, 141, 58, 0.34);
  background: rgba(255, 141, 58, 0.08);
}

.policy-step.is-complete {
  border-color: rgba(118, 180, 255, 0.18);
}

.policy-step-label {
  margin: 0 0 0.45rem;
  color: var(--text);
  font-family: "Sora", sans-serif;
  font-size: 0.98rem;
  letter-spacing: -0.03em;
}

.policy-step-copy {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.results-lead {
  max-width: 44rem;
  margin: -0.2rem 0 1.1rem;
  color: var(--muted);
  line-height: 1.65;
}

.control-block + .control-block {
  margin-top: 1.2rem;
}

.control-label {
  display: block;
  margin-bottom: 0.6rem;
  font-weight: 600;
}

select,
.range {
  width: 100%;
}

select {
  appearance: none;
  border: 1px solid var(--line-strong);
  background:
    linear-gradient(180deg, rgba(15, 29, 45, 0.95), rgba(8, 16, 28, 0.95)),
    var(--panel-strong);
  color: var(--text);
  border-radius: 18px;
  padding: 0.95rem 1rem;
  font: inherit;
  outline: none;
}

select:focus {
  border-color: rgba(118, 180, 255, 0.5);
}

.slider-header,
.range-scale {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

#margin-output {
  font-family: "Sora", sans-serif;
  font-size: 1rem;
  color: var(--accent);
}

.range {
  appearance: none;
  height: 0.5rem;
  margin: 0.8rem 0 0.4rem;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    rgba(255, 141, 58, 0.88),
    rgba(118, 180, 255, 0.9)
  );
  outline: none;
}

.range::-webkit-slider-thumb {
  appearance: none;
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 50%;
  border: 0;
  background: #fff7f1;
  box-shadow: 0 0 0 8px rgba(255, 141, 58, 0.18);
}

.range::-moz-range-thumb {
  width: 1.2rem;
  height: 1.2rem;
  border: 0;
  border-radius: 50%;
  background: #fff7f1;
  box-shadow: 0 0 0 8px rgba(255, 141, 58, 0.18);
}

.range-scale,
.control-note,
.model-note p,
.metric-note,
.source-note,
.fuel-subtitle,
.price-caption,
.legend,
.metric-dd,
.metric-dt {
  color: var(--muted);
}

.control-note,
.model-note p {
  margin: 0.55rem 0 0;
  line-height: 1.55;
}

.model-note {
  margin-top: 1.4rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
}

.fuel-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem;
}

.fuel-card {
  display: grid;
  gap: 1rem;
  min-height: 100%;
  padding: 1.2rem;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(17, 31, 48, 0.92), rgba(9, 18, 30, 0.9));
  transition: transform 240ms ease, border-color 240ms ease;
}

.fuel-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 141, 58, 0.34);
}

.fuel-label {
  margin: 0;
  font-family: "Sora", sans-serif;
  font-size: 1.45rem;
  letter-spacing: -0.03em;
}

.fuel-subtitle {
  margin: 0.3rem 0 0;
  line-height: 1.5;
}

.price-stack {
  display: grid;
  gap: 0.55rem;
}

.price-main {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.price-value {
  margin: 0;
  font-family: "Sora", sans-serif;
  font-size: clamp(2.4rem, 5vw, 4.25rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.price-badge {
  margin: 0;
  padding: 0.45rem 0.75rem;
  border: 1px solid rgba(255, 141, 58, 0.34);
  border-radius: 999px;
  background: rgba(255, 141, 58, 0.12);
  color: #ffd8b9;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.price-caption {
  margin: 0;
  max-width: 32rem;
  line-height: 1.5;
}

.price-counterfactual {
  margin: -0.05rem 0 0;
  color: #ffd8b9;
  font-size: 0.9rem;
  line-height: 1.5;
}

.price-counterfactual:empty {
  display: none;
}

.stacked-bar {
  display: flex;
  gap: 0.2rem;
  height: 0.9rem;
  padding: 0.2rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  overflow: hidden;
}

.bar-segment {
  border-radius: 999px;
  transform-origin: left;
  animation: growX 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.bar-segment--crude {
  background: var(--blue);
}

.bar-segment--market {
  background: var(--market);
}

.bar-segment--tax {
  background: var(--tax);
}

.bar-segment--margin {
  background: var(--margin);
}

.bar-segment--vat {
  background: var(--vat);
}

.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  font-size: 0.78rem;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.28rem 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  white-space: nowrap;
}

.legend-dot {
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
}

.fuel-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem 1rem;
  margin: 0;
}

.metric-row {
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.metric-dt {
  margin: 0 0 0.35rem;
  font-size: 0.78rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.metric-dd {
  margin: 0;
  font-family: "Sora", sans-serif;
  font-size: 1.05rem;
  color: var(--text);
}

.driver-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.insight-lead {
  max-width: 62rem;
  margin: 0 0 1.2rem;
  color: var(--muted);
  line-height: 1.75;
}

.insight-grid,
.today-context-grid {
  display: grid;
  gap: 1rem;
}

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

.insight-card,
.today-context-card {
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.035);
}

.insight-card h3 {
  margin: 0;
  font-family: "Sora", sans-serif;
  font-size: 1.08rem;
  letter-spacing: -0.03em;
}

.insight-card p {
  margin: 0.7rem 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.today-context {
  margin-top: 1.2rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.today-context-copy {
  margin: 0 0 1rem;
  max-width: 60rem;
  color: var(--muted);
  line-height: 1.7;
}

.today-context-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.today-context-label {
  margin: 0 0 0.5rem;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.today-context-value {
  margin: 0;
  font-family: "Sora", sans-serif;
  font-size: clamp(1.2rem, 2vw, 1.7rem);
  line-height: 1.08;
  letter-spacing: -0.05em;
}

.today-context-note {
  margin: 0.55rem 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.section-link {
  margin-top: 1.15rem;
}

.faq-list {
  display: grid;
  gap: 0.85rem;
}

.faq-item {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.faq-item summary {
  padding: 1rem 1rem 0.95rem;
  cursor: pointer;
  font-family: "Sora", sans-serif;
  font-size: 1rem;
  line-height: 1.4;
  list-style: none;
}

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

.faq-item p {
  margin: 0;
  padding: 0 1rem 1rem;
  color: var(--muted);
  line-height: 1.7;
}

.driver-card,
.source-item {
  padding: 1rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.source-item {
  min-width: 0;
}

.driver-card:first-child,
.source-item:first-child {
  border-top: 0;
  padding-top: 0;
}

.driver-label {
  margin: 0 0 0.45rem;
  font-size: 0.83rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.driver-value {
  margin: 0;
  font-family: "Sora", sans-serif;
  font-size: clamp(1.45rem, 2vw, 2rem);
  letter-spacing: -0.05em;
}

.driver-note {
  margin: 0.5rem 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.sources-list {
  display: grid;
  gap: 0.3rem;
}

.sources-summary {
  margin: 0 0 1rem;
  max-width: 52rem;
  color: var(--muted);
  line-height: 1.65;
}

.source-title {
  margin: 0;
  color: var(--text);
  font-family: "Sora", sans-serif;
  font-size: 1rem;
  letter-spacing: -0.03em;
}

.source-note {
  margin: 0.45rem 0 0;
  line-height: 1.6;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.error-state {
  margin-top: 1rem;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(255, 95, 109, 0.28);
  background: rgba(255, 95, 109, 0.1);
  color: #ffd7dc;
}

.consent-trigger {
  position: fixed;
  right: 1.2rem;
  bottom: 1.2rem;
  z-index: 15;
  padding: 0.78rem 1rem;
  border: 1px solid rgba(172, 207, 255, 0.16);
  border-radius: 999px;
  background: rgba(9, 20, 33, 0.92);
  color: var(--text);
  font: inherit;
  font-size: 0.88rem;
  backdrop-filter: blur(14px);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.3);
  cursor: pointer;
}

.consent-trigger:hover {
  border-color: rgba(255, 141, 58, 0.34);
}

.consent-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.2rem;
  align-items: end;
  padding: 1.2rem 1.2rem 1rem;
  border: 1px solid rgba(172, 207, 255, 0.18);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(16, 31, 47, 0.98), rgba(8, 17, 29, 0.98)),
    rgba(10, 20, 32, 0.96);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(18px);
}

.consent-banner[hidden] {
  display: none;
}

.consent-copy {
  max-width: 48rem;
}

.consent-kicker {
  margin: 0 0 0.45rem;
  color: var(--blue);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.consent-banner h2 {
  margin: 0;
  font-family: "Sora", sans-serif;
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  letter-spacing: -0.03em;
}

.consent-description {
  margin: 0.7rem 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.consent-types {
  margin-top: 1rem;
}

.consent-types-title {
  margin: 0 0 0.55rem;
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.consent-type-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.consent-type {
  padding: 0.8rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.035);
}

.consent-type-label {
  margin: 0;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 600;
}

.consent-type-copy {
  margin: 0.45rem 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.consent-actions {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.consent-button {
  min-width: 11rem;
  padding: 0.9rem 1.15rem;
  border-radius: 999px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.consent-button--ghost {
  border: 1px solid rgba(172, 207, 255, 0.2);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.consent-button--primary {
  border: 1px solid rgba(255, 141, 58, 0.36);
  background: linear-gradient(180deg, rgba(255, 141, 58, 0.18), rgba(255, 141, 58, 0.1));
  color: #ffe3cf;
}

.consent-status {
  grid-column: 1 / -1;
  margin: -0.2rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.consent-legal {
  grid-column: 1 / -1;
  margin: -0.15rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.consent-legal a,
.legal-back,
.legal-card a {
  color: #ffd8b9;
}

.consent-legal a:hover,
.legal-back:hover,
.legal-card a:hover {
  color: var(--accent);
}

.legal-page {
  padding-top: 3rem;
}

.article-page {
  padding-top: 3rem;
}

.article-hero {
  padding: 2rem 0 2.2rem;
  border-bottom: 1px solid var(--line);
}

.article-breadcrumbs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.article-breadcrumbs a {
  color: #ffd8b9;
  text-decoration: none;
}

.article-breadcrumbs a:hover,
.article-link-row a:hover,
.article-summary-link:hover {
  color: var(--accent);
}

.article-hero h1 {
  margin: 0;
  max-width: 14ch;
  font-family: "Sora", sans-serif;
  font-size: clamp(2.5rem, 5vw, 4.9rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.article-link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.2rem;
}

.article-link-row a,
.article-summary-link {
  color: #ffd8b9;
  font-weight: 600;
  text-decoration: none;
}

.article-live,
.article-shell {
  margin-top: 1.4rem;
}

.article-live-card,
.article-shell {
  padding: 1.4rem;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--panel), rgba(8, 17, 28, 0.84));
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.article-live-card h2,
.article-section h2 {
  margin: 0;
  font-family: "Sora", sans-serif;
  font-size: clamp(1.35rem, 3vw, 2rem);
  letter-spacing: -0.04em;
}

.article-live-copy {
  margin: 0.9rem 0 0;
  max-width: 58rem;
  color: var(--muted);
  line-height: 1.7;
}

.article-live-grid,
.article-summary-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 1rem;
}

.article-live-item,
.article-summary-item {
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.035);
}

.article-live-label,
.article-summary-label {
  margin: 0 0 0.45rem;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.article-live-value,
.article-summary-value {
  margin: 0;
  font-family: "Sora", sans-serif;
  font-size: clamp(1.2rem, 2vw, 1.7rem);
  letter-spacing: -0.05em;
}

.article-live-note,
.article-summary-note {
  margin: 0.55rem 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.article-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(260px, 0.9fr);
  gap: 1.4rem;
}

.article-main {
  display: grid;
  gap: 1.4rem;
}

.article-section p,
.article-section li,
.article-aside p {
  color: var(--muted);
  line-height: 1.75;
}

.article-section p,
.article-aside p,
.article-aside ul,
.article-summary p {
  margin: 0.8rem 0 0;
}

.article-section p:first-of-type,
.article-aside p:first-of-type {
  margin-top: 0.9rem;
}

.article-list {
  margin: 0.8rem 0 0;
  padding-left: 1.15rem;
}

.article-list li + li {
  margin-top: 0.6rem;
}

.article-summary {
  margin-top: 1.1rem;
  padding: 1rem;
  border: 1px solid rgba(255, 141, 58, 0.18);
  background: rgba(255, 141, 58, 0.08);
}

.article-summary h3,
.article-aside h2 {
  margin: 0;
  font-family: "Sora", sans-serif;
  font-size: 1.05rem;
  letter-spacing: -0.03em;
}

.article-summary-link {
  display: inline-flex;
  margin-top: 0.95rem;
}

.article-aside {
  display: grid;
  gap: 1rem;
}

.article-aside-card {
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.legal-hero {
  padding: 2rem 0 2.2rem;
  border-bottom: 1px solid var(--line);
}

.legal-hero h1 {
  margin: 0;
  font-family: "Sora", sans-serif;
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.legal-back {
  display: inline-flex;
  margin-top: 1.1rem;
  text-decoration: none;
  font-weight: 600;
}

.legal-card {
  margin-top: 1.4rem;
  padding: 1.4rem;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--panel), rgba(8, 17, 28, 0.84));
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.legal-section + .legal-section {
  margin-top: 1.4rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.legal-section h2 {
  margin: 0 0 0.7rem;
  font-family: "Sora", sans-serif;
  font-size: clamp(1.1rem, 2vw, 1.55rem);
  letter-spacing: -0.03em;
}

.legal-section p {
  margin: 0.7rem 0 0;
  max-width: 60rem;
  color: var(--muted);
  line-height: 1.75;
}

.legal-section p:first-of-type {
  margin-top: 0;
}

.legal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 0.9rem;
}

.legal-chip {
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.035);
}

.legal-chip-title {
  margin: 0;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 600;
}

.legal-chip p + p {
  margin-top: 0.45rem;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes growX {
  from {
    transform: scaleX(0);
  }

  to {
    transform: scaleX(1);
  }
}

@keyframes drift {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }

  50% {
    transform: translate3d(-2.5rem, 2rem, 0);
  }
}

@media (max-width: 980px) {
  .hero-tape,
  .policy-timeline,
  .driver-grid,
  .today-context-grid,
  .article-live-grid,
  .article-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .workspace {
    grid-template-columns: 1fr;
  }

  .controls-panel {
    position: static;
  }

  .fuel-grid,
  .insight-grid,
  .article-shell {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .page {
    width: min(100vw - 1rem, 100%);
    padding-top: 1rem;
  }

  .hero {
    display: grid;
    gap: 1rem;
    padding: 1rem 0 1.3rem;
  }

  .hero h1 {
    max-width: 11ch;
  }

  .hero-tape,
  .policy-timeline,
  .driver-grid,
  .fuel-metrics,
  .insight-grid,
  .today-context-grid,
  .article-live-grid,
  .article-summary-grid {
    grid-template-columns: 1fr;
  }

  .price-main {
    align-items: flex-start;
  }

  .hero-links {
    max-width: none;
    justify-content: flex-start;
  }

  .price-badge {
    white-space: normal;
  }

  .controls-panel,
  .results-panel,
  .policy-banner,
  .drivers,
  .insight-hub,
  .faq,
  .sources,
  .fuel-card {
    border-radius: 22px;
  }

  .controls-panel,
  .results-panel,
  .policy-banner,
  .drivers,
  .insight-hub,
  .faq,
  .sources {
    padding: 1.1rem;
  }

  .article-page,
  .legal-page {
    padding-top: 1.2rem;
  }

  .article-live-card,
  .article-shell,
  .legal-card {
    padding: 1.1rem;
  }

  .consent-banner {
    left: 0.75rem;
    right: 0.75rem;
    bottom: 0.75rem;
    grid-template-columns: 1fr;
    padding: 1rem;
  }

  .consent-actions {
    justify-content: stretch;
  }

  .consent-type-list,
  .legal-grid {
    grid-template-columns: 1fr;
  }

  .consent-button {
    width: 100%;
    min-width: 0;
  }

  .consent-trigger {
    right: 0.75rem;
    bottom: 0.75rem;
    max-width: calc(100vw - 1.5rem);
  }
}
