:root {
  --ink: #264653;
  --muted: #647780;
  --paper: #fdf6ec;
  --surface: #fffaf3;
  --teal: #264653;
  --amber: #f4a261;
  --amber-soft: #ffd8a8;
  --coral: #e76f51;
  --green: #2a9d8f;
  --line: #ecdccc;
  --shadow: 0 18px 48px rgba(38, 70, 83, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Open Sans", ui-sans-serif, system-ui, sans-serif;
  font-variant-numeric: tabular-nums;
}

.site-shell { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.site-header {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(12, 33, 30, .12);
}
.brand { display: flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; font-weight: 750; }
.brand-mark {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 14px;
  background: var(--teal); color: white; font-size: 20px;
}
.independent-label {
  padding: 8px 12px; border: 1px solid rgba(12, 33, 30, .18); border-radius: 999px;
  color: var(--muted); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
}

.hero {
  min-height: 680px; display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center;
  margin-inline: calc((100vw - 100%) / -2); padding: 70px max(20px, calc((100vw - 1180px) / 2)) 86px;
  background: linear-gradient(120deg, #f4a261 0%, #ffd5a2 43%, #fdf6ec 100%);
}
.eyebrow { margin: 0 0 16px; color: #9d3f2c; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
h1, h2 { margin: 0; font-family: "Poppins", ui-sans-serif, sans-serif; font-weight: 700; letter-spacing: -.04em; }
h1 { max-width: 650px; font-size: clamp(52px, 6vw, 86px); line-height: .94; }
h1 span { color: #9d3f2c; }
h2 { font-size: clamp(34px, 4vw, 52px); line-height: 1; }
.hero-summary { max-width: 480px; margin: 28px 0 0; color: var(--muted); font-size: 19px; line-height: 1.65; }
.tagline {
  display: inline-flex; margin: 24px 0 0; padding: 10px 16px; border: 1px solid rgba(38,70,83,.18);
  border-radius: 999px; color: var(--teal); background: rgba(253,246,236,.6); font-weight: 700;
}

.forecast-panel {
  position: relative; overflow: hidden; padding: 38px; border-radius: 28px;
  color: white; background: var(--teal); box-shadow: var(--shadow);
}
.forecast-panel::after {
  content: ""; position: absolute; width: 240px; height: 240px; top: -120px; right: -100px;
  border: 50px solid rgba(244, 162, 97, .15); border-radius: 50%; pointer-events: none;
}
.panel-label {
  position: relative; z-index: 1; max-width: 430px; margin: 0 0 18px; color: #fff4e8;
  font-family: "Poppins", sans-serif; font-size: clamp(20px, 2.3vw, 30px); font-weight: 800;
  line-height: 1.2; text-transform: none; letter-spacing: -.02em;
}
.forecast-price { margin: 0; font-family: "Roboto Mono", monospace; font-size: clamp(54px, 7vw, 82px); font-weight: 700; line-height: 1; letter-spacing: -.055em; }
.per-litre { margin: 6px 0 30px; color: #b7cbc6; }
.change-alert {
  display: flex; align-items: center; gap: 18px; margin: 0 -12px 24px; padding: 22px;
  border-radius: 18px; background: var(--coral); color: white;
}
.change-alert.decrease { background: var(--green); }
.change-alert.neutral { background: #e7bf69; }
.change-arrow { font-size: 52px; font-weight: 300; line-height: 1; }
.change-alert div { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 2px 12px; width: 100%; }
.change-label { grid-column: 1 / -1; font-size: 12px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.change-alert strong { font-size: clamp(26px, 3.2vw, 39px); line-height: 1.1; }
.change-alert div > span:last-child { padding-bottom: 4px; font-weight: 750; }
.price-baseline { display: flex; justify-content: space-between; gap: 16px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.15); color: #b7cbc6; }
.price-baseline strong { color: white; }
.published-time { margin: 12px 0 0; color: #809a94; font-size: 12px; }

.section { padding: 98px 0; border-top: 1px solid rgba(12, 33, 30, .12); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 40px; }
.section-heading > p { max-width: 480px; margin: 0; color: var(--muted); line-height: 1.6; }
.metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 24px; }
.metric { padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,253,248,.7); }
.metric span { display: block; min-height: 38px; color: var(--muted); font-size: 13px; font-weight: 650; }
.metric strong { font-family: "Roboto Mono", monospace; font-size: 32px; font-weight: 700; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
table { width: 100%; min-width: 820px; border-collapse: collapse; }
th, td { padding: 18px 20px; text-align: left; border-bottom: 1px solid var(--line); }
th { color: var(--muted); background: #eef2ed; font-size: 11px; letter-spacing: .09em; text-transform: uppercase; }
td { font-size: 14px; font-weight: 650; }
tbody tr:last-child td { border-bottom: 0; }
.error-high { color: var(--red); }
.error-low { color: #2074a6; }
.direction-yes { color: #087852; }
.direction-na { color: var(--muted); }

.legend { display: flex; gap: 24px; color: var(--muted); font-size: 13px; font-weight: 700; }
.legend span { display: flex; align-items: center; gap: 8px; }
.legend-line { width: 26px; border-top: 3px solid var(--teal); }
.legend-line.predicted { border-top-color: var(--green); border-top-style: dashed; }
.chart-wrap { height: 440px; padding: 26px; border: 1px solid var(--line); border-radius: 22px; background: var(--surface); }
.disclaimer { display: grid; grid-template-columns: 220px 1fr; gap: 50px; margin: 30px 0 80px; padding: 30px; border-left: 4px solid var(--coral); border-radius: 0 18px 18px 0; background: #fff1e6; }
.disclaimer h2 { font-family: inherit; font-size: 16px; letter-spacing: 0; }
.disclaimer p { margin: 0; color: #65583e; line-height: 1.7; }
footer { display: flex; justify-content: space-between; gap: 20px; padding: 28px 0 40px; border-top: 1px solid rgba(12, 33, 30, .12); color: var(--muted); font-size: 13px; }

@media (max-width: 820px) {
  .site-shell { width: min(100% - 28px, 660px); }
  .site-header { min-height: 72px; }
  .brand > span:last-child { display: none; }
  .hero { min-height: auto; grid-template-columns: 1fr; gap: 42px; padding: 56px 14px 70px; }
  h1 { font-size: clamp(48px, 13vw, 72px); }
  .hero-summary { font-size: 17px; }
  .forecast-panel { padding: 28px; border-radius: 22px; }
  .forecast-price { font-size: clamp(52px, 16vw, 76px); }
  .change-alert { margin-inline: -6px; padding: 18px; }
  .change-arrow { font-size: 42px; }
  .section { padding: 68px 0; }
  .section-heading { display: block; }
  .section-heading > p { margin-top: 18px; }
  .metrics { grid-template-columns: 1fr; }
  .metric { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 20px; }
  .metric span { min-height: auto; }
  .metric strong { font-size: 28px; }
  .legend { margin-top: 24px; }
  .chart-wrap { height: 360px; padding: 16px 8px 12px; }
  .disclaimer { grid-template-columns: 1fr; gap: 12px; margin-bottom: 50px; }
}

@media (max-width: 460px) {
  .independent-label { font-size: 10px; }
  .forecast-panel { padding: 24px 20px; }
  .change-alert div { grid-template-columns: 1fr; }
  .change-alert div > span:last-child { padding: 0; }
  .price-baseline { font-size: 14px; }
  footer { flex-direction: column; }
}

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