:root { --pink: #e94560; --navy: #1a1a2e; --text: #444; --muted: #888; --border: #eee; --card: #fafafa; }
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: #fff; color: #1a1a1a; font-family: 'Inter', sans-serif; -webkit-font-smoothing: antialiased; }

/* --- Progress bar --- */
#progress { position: fixed; top: 0; left: 0; height: 3px; background: var(--pink); width: 0%; z-index: 100; transition: width 0.1s linear; }

/* --- Nav --- */
nav { position: sticky; top: 0; z-index: 90; background: #1a1a2e; border-bottom: 1px solid var(--border); padding: 0 24px; height: 60px; display: flex; align-items: center; justify-content: space-between; }
.nav-logo { font-weight: 800; font-size: 20px; color: white; text-decoration: none; }
.nav-logo span { color: var(--pink); }
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-link { color: rgba(255,255,255,0.65); text-decoration: none; font-size: 14px; font-weight: 500; }
.nav-link:hover { color: var(--pink); }
.nav-cta { background: var(--pink); color: white; font-size: 14px; font-weight: 500; padding: 8px 18px; border-radius: 6px; text-decoration: none; border: none; cursor: pointer; }

/* --- Breadcrumbs --- */
.breadcrumbs { max-width: 680px; margin: 0 auto; padding: 18px 24px 0; font-size: 13px; color: #aaa; font-family: 'Inter', sans-serif; }
.breadcrumbs a { color: #888; text-decoration: none; }
.breadcrumbs a:hover { color: var(--pink); }

/* --- Article --- */
article { max-width: 680px; margin: 0 auto; padding: 48px 24px 80px; }

/* --- Typography --- */
h1 {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: clamp(30px, 5vw, 42px);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
  color: #111;
}
h2 {
  font-family: 'Inter', sans-serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 56px 0 18px;
  color: #111;
}
h3 {
  font-family: 'Inter', sans-serif;
  font-size: 17px;
  font-weight: 700;
  margin: 28px 0 10px;
  color: #111;
}
p {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 18px;
  line-height: 1.72;
  margin-bottom: 18px;
  color: #222;
}
a { color: #1a1a1a; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: #0055cc; }

/* --- Dateline --- */
.dateline {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: #777;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

/* --- Byline row --- */
.byline-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 32px;
  margin-bottom: 8px;
  border-bottom: 1px solid #eee;
}
.share-btns { display: flex; gap: 8px; }
.share-btn { background: #f8f8f8; border: 1px solid #eee; color: #666; font-size: 12px; padding: 6px 12px; border-radius: 4px; cursor: pointer; text-decoration: none; font-family: 'Inter', sans-serif; }
.share-btn:hover { border-color: var(--pink); color: var(--pink); }

/* --- Lead --- */
.lead { font-size: 20px; line-height: 1.65; color: #111; }

/* --- Series label --- */
.series-label {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--pink);
  background: #fef2f4;
  border: 1px solid #fde8ec;
  padding: 4px 12px;
  border-radius: 4px;
  margin-bottom: 16px;
}

/* --- Tables --- */
table { width: 100%; border-collapse: collapse; margin: 24px 0; font-family: 'Inter', sans-serif; font-size: 14px; }
thead th { text-align: left; padding: 10px 0; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: #999; border-bottom: 2px solid #111; }
thead th:last-child { text-align: right; }
td { padding: 11px 0; border-bottom: 1px solid #eee; vertical-align: top; }
td:first-child { padding-right: 16px; }
td:last-child { text-align: right; color: #555; }
tr:last-child td { border-bottom: none; }
.glance td:first-child { font-weight: 500; color: #333; }
.glance td:last-child { font-weight: 700; color: #111; }

/* --- Fuel donut chart --- */
.fuel-chart { display: flex; align-items: center; gap: 40px; margin: 28px 0; font-family: 'Inter', sans-serif; }
@media (max-width: 500px) { .fuel-chart { flex-direction: column; gap: 24px; } }
.donut-wrap { position: relative; width: 200px; height: 200px; flex-shrink: 0; }
.donut-wrap svg { transform: rotate(-90deg); }
.donut-center { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); text-align: center; }
.donut-center .sub { font-size: 11px; color: #999; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }
.fuel-legend-list { list-style: none; padding: 0; }
.fuel-legend-item { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid #f0f0f0; }
.fuel-legend-item:last-child { border-bottom: none; }
.fuel-swatch { width: 14px; height: 14px; border-radius: 3px; flex-shrink: 0; }
.fuel-legend-name { font-size: 14px; color: #333; flex: 1; }
.fuel-legend-val { font-size: 15px; font-weight: 700; color: #111; }

/* --- Rankings side-by-side --- */
.rankings { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin: 28px 0 32px; }
@media (max-width: 600px) { .rankings { grid-template-columns: 1fr; gap: 32px; } }
.rankings h3 { margin: 0 0 4px; font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; color: #999; }
.rankings table { margin-top: 0; }
.rankings td:first-child { width: 28px; font-weight: 700; color: #bbb; font-size: 13px; padding-right: 8px; }
.rankings tr:first-child td:first-child { color: #111; }
.rankings td:nth-child(2) { font-weight: 500; color: #111; }
.rankings tr:first-child td:nth-child(2) { font-weight: 700; }

/* --- Distribution bars --- */
.dist-table { margin: 24px 0; }
.dist-table td { border-bottom: none; padding: 6px 0; }
.dist-table td:first-child { font-weight: 500; color: #333; width: 120px; }
.dist-table td:nth-child(2) { width: 60px; text-align: right; font-weight: 600; color: #111; padding-right: 12px; }
.dist-table td:last-child { text-align: left; padding: 6px 0; }
.dist-bar { height: 18px; background: var(--pink); border-radius: 3px; opacity: 0.7; display: inline-block; vertical-align: middle; }
.dist-table td:last-child { color: transparent; }

/* --- CTA box --- */
.cta-box { background: var(--navy); border-radius: 16px; padding: 36px; margin: 48px 0; text-align: center; }
.cta-box h3 { font-size: 24px; margin-bottom: 12px; color: white; }
.cta-box p { color: rgba(255,255,255,0.85); margin-bottom: 24px; font-size: 16px; font-family: 'Inter', sans-serif; }
.cta-price { font-size: 13px; color: rgba(255,255,255,0.7); margin-top: 12px; margin-bottom: 0; font-family: 'Inter', sans-serif; }
.cta-reg { max-width: 480px; margin: 0 auto; }
.plate-wrap { display: flex; border: 3px solid #1a1a2e; border-radius: 8px; overflow: hidden; cursor: text; }
.plate-badge { background: #003399; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 0 10px; min-width: 44px; }
.plate-star { color: #ffcc00; font-size: 14px; line-height: 1; }
.plate-gb { color: #fff; font-size: 13px; font-weight: 700; letter-spacing: 1px; margin-top: 2px; }
.plate-wrap input { flex: 1; font-family: 'Charles Wright', 'Inter', sans-serif; font-size: 22px; font-weight: 700; text-transform: uppercase; letter-spacing: 3px; text-align: center; padding: 16px 12px; border: none; outline: none; background: #ffd700; color: #000; min-width: 0; }
.plate-wrap input::placeholder { font-family: 'Charles Wright', 'Inter', sans-serif; font-weight: 700; text-transform: uppercase; letter-spacing: 3px; color: rgba(0,0,0,0.3); font-size: 22px; }
.cta-reg .plate-btn { display: block; width: 100%; margin-top: 10px; font-size: 15px; font-weight: 600; padding: 14px 24px; background: var(--pink); color: #fff; border: none; border-radius: 8px; cursor: pointer; font-family: 'Inter', sans-serif; }
.cta-reg .plate-btn:hover { opacity: 0.88; }

/* --- Small sections --- */
.small-section { margin-top: 48px; font-family: 'Inter', sans-serif; }
.small-section h2 { font-size: 14px; text-transform: uppercase; letter-spacing: 0.08em; color: #999; margin-bottom: 12px; }
.small-section p { font-size: 14px; line-height: 1.7; color: #666; font-family: 'Inter', sans-serif; }

/* --- Explore --- */
.explore { max-width: 680px; margin: 0 auto; padding: 0 24px; }
.explore-inner { border-top: 1px solid #eee; padding-top: 24px; }
.explore-title { font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 12px; }
.explore-links { display: flex; flex-wrap: wrap; gap: 8px; }
.explore-link { font-size: 13px; font-weight: 600; color: var(--pink); text-decoration: none; background: #fef2f4; border: 1px solid #fde8ec; padding: 8px 16px; border-radius: 8px; }
.explore-link:hover { background: #fde8ec; }

/* --- Footer --- */
footer { background: var(--card); border-top: 1px solid var(--border); padding: 40px 24px; text-align: center; font-size: 14px; color: #999; }
footer a { color: #999; text-decoration: none; }
footer a:hover { color: var(--pink); }

/* --- Subscribe overlay --- */
.subscribe-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 200; align-items: center; justify-content: center; }
.subscribe-overlay.show { display: flex; }
.subscribe-modal { background: #fff; border-radius: 16px; padding: 40px 36px; max-width: 440px; width: 90%; position: relative; text-align: center; box-shadow: 0 20px 60px rgba(0,0,0,0.2); }
.subscribe-modal h3 { font-size: 22px; color: var(--navy); margin: 0 0 10px; font-weight: 800; }
.subscribe-modal p { font-size: 15px; color: var(--text); margin: 0 0 24px; line-height: 1.6; font-family: 'Inter', sans-serif; }
.subscribe-modal .sub-close { position: absolute; top: 14px; right: 18px; background: none; border: none; font-size: 22px; color: #aaa; cursor: pointer; padding: 4px; }
.subscribe-modal .sub-close:hover { color: var(--navy); }
.subscribe-modal form { display: flex; gap: 8px; }
.subscribe-modal input[type="email"] { flex: 1; padding: 14px 16px; border: 2px solid #e0e0e0; border-radius: 8px; font-size: 15px; font-family: 'Inter', sans-serif; outline: none; }
.subscribe-modal input[type="email"]:focus { border-color: var(--pink); }
.subscribe-modal button[type="submit"] { background: var(--pink); color: #fff; border: none; border-radius: 8px; padding: 14px 22px; font-size: 15px; font-weight: 600; cursor: pointer; font-family: 'Inter', sans-serif; white-space: nowrap; }
.subscribe-modal button[type="submit"]:hover { opacity: 0.88; }
.subscribe-modal .sub-note { font-size: 12px; color: #aaa; margin: 12px 0 0; }

@media (max-width: 640px) {
  .share-btns { display: none; }
  .nav-link { display: none; }
  h1 { font-size: 28px; }
  .subscribe-modal form { flex-direction: column; }
  .subscribe-modal { padding: 32px 24px; }
}
