/* Your edits here. Loaded after the theme, so it wins, and it survives every rebuild. */

:root {
  --ink: #F4F7FB;
  --paper: #0B0F14;
  --panel: #121923;
  --accent: #F2B84B;
  --accentdk: #D99A27;
  --chip: #F2B84B;
  --chipbg: #2A2111;
  --rule: #263241;
  --mute: #AAB5C3;
  --success: #66D19E;
  --shadow: 0 1px 0 rgba(255,255,255,0.04), 0 12px 32px rgba(0,0,0,0.32);
}

body {
  background:
    radial-gradient(circle at top left, rgba(242,184,75,0.08), transparent 32rem),
    var(--paper);
  color: var(--ink);
}

.announce {
  background: #05070A;
  color: #F4F7FB;
  border-bottom: 1px solid var(--rule);
}

header {
  background: rgba(11, 15, 20, 0.94);
  border-bottom-color: var(--rule);
  backdrop-filter: blur(10px);
}

.logo,
nav a,
a,
.cap a,
.card a,
.foot-col a,
.pos-src a {
  color: var(--ink);
}

nav a:hover,
a:hover,
.card a:hover,
.foot-col a:hover,
.pos-src a:hover {
  color: var(--accent);
}

nav a:hover {
  border-bottom-color: var(--accent);
}

section {
  border-bottom-color: var(--rule);
}

.lede {
  color: #CFD7E3;
}

.kicker,
.cap,
.card .cap,
.card p,
.was,
.pos-lab,
.pos-axis,
.pos-src span,
.foot-brand p,
.foot-col h4,
.foot-legal span {
  color: var(--mute);
}

.hero-media img,
.hero img,
.card,
.trust-row {
  background: #111822;
  border-color: var(--rule);
}

.hero-media img,
.hero img {
  box-shadow: var(--shadow);
}

.card:hover {
  border-color: rgba(242, 184, 75, 0.45);
  box-shadow: 0 14px 34px rgba(0,0,0,0.36);
}

.trust-row {
  box-shadow: var(--shadow);
}

.trust-item,
.spec,
th,
td,
.foot-legal,
.pos-src a {
  border-color: var(--rule);
}

footer {
  background: #0F151D;
  border-top-color: var(--rule);
}

th {
  background: #0F151D;
  color: var(--mute);
}

.cta {
  background: var(--accent);
  color: #12100A;
}

.cta:hover {
  background: var(--accentdk);
  color: #12100A;
}

.cta[disabled],
.cta.is-disabled {
  background: #1B2531;
  color: var(--mute);
}

.save {
  background: var(--chip);
  color: #12100A;
}

.save {
  color: #12100A;
}

/* ---- Lead with the price gap -------------------------------------------
   Presentation only. No new facts: the same price, the same reference price,
   the same saving and the same checked date already on the page, reordered
   and scaled so the gap is the first thing read. */

.hero > div:first-child {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* price block first, then the evidence line, then the name and the rest */
.hero > div:first-child > div:nth-of-type(2) { order: 1; margin-top: 0 !important; }
.hero > div:first-child > .cap              { order: 2; }
.hero > div:first-child > .kicker           { order: 3; margin-top: 22px; }
.hero > div:first-child > h1                { order: 4; }
.hero > div:first-child > .lede             { order: 5; }
.hero > div:first-child > .cta              { order: 6; }

/* the gap itself, at headline scale */
.hero .price {
  display: block;
  font-family: var(--serif);
  font-size: clamp(46px, 7vw, 78px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin-bottom: 6px;
}

.hero .was {
  margin-left: 0;
  font-size: 20px;
  color: rgba(244, 247, 251, 0.58);
}

.hero .save {
  margin-left: 12px;
  font-size: 14px;
  padding: 5px 10px;
  vertical-align: 2px;
}

/* the comparison line carries the claim, so give it weight */
.hero > div:first-child > .cap {
  font-size: 15px;
  font-weight: 600;
  color: #E9EEF6;
  border-left: 3px solid var(--accent);
  padding-left: 12px;
  margin-top: 12px;
  max-width: 42ch;
}

/* the name steps down so it does not compete with the number */
.hero h1 { font-size: clamp(26px, 3vw, 36px); }

@media (max-width: 860px) {
  .hero .price { font-size: clamp(40px, 12vw, 56px); }
  .hero > div:first-child > div:nth-of-type(2) { margin-top: 0 !important; }
  nav a,
  .trust-item {
    border-color: var(--rule);
  }
}
