/* ==========================================================================
   VoAtlas design system — light, modern, high-gloss.

   Committed single look: white and near-white surfaces throughout, an indigo →
   cyan brand gradient, hot pink as the energy accent, and green reserved for
   money and verification. Big radii, soft coloured glow instead of grey
   shadow. No dark surfaces anywhere, including in dark mode — the brand is
   deliberately one bright look.
   ========================================================================== */

:root {
  color-scheme: light;

  /* Brand */
  --brand:      #4F46E5;
  --brand-2:    #6D5CFF;
  --brand-3:    #3730B8;
  --brand-wash: #EEF0FE;

  /* Energy accent */
  --pink:       #FF3D82;
  --pink-2:     #E01F68;
  --pink-wash:  #FFECF3;

  /* Secondary */
  --cyan:       #06B6D4;
  --cyan-wash:  #E4F8FC;
  --violet:     #8B5CF6;
  --violet-wash:#F3EDFE;

  /* Money: rates, gains, verification */
  --money:      #00A06B;
  --money-2:    #00875A;
  --money-wash: #E1F7EF;

  /* Warning */
  --warn:       #D92D20;
  --warn-wash:  #FEECEA;

  /* Surfaces — light only */
  --paper:      #FFFFFF;
  --paper-2:    #F6F7FC;
  --paper-3:    #EEF0F8;
  --panel:      #FFFFFF;
  --ink:        #14152E;
  --ink-2:      #4A4C6B;
  --ink-3:      #7B7E9C;
  --rule:       #E4E6F0;
  --rule-soft:  #F0F1F7;

  --grad:      linear-gradient(120deg, #4F46E5 0%, #7C4DFF 45%, #06B6D4 100%);
  --grad-hot:  linear-gradient(120deg, #FF3D82 0%, #FF6B4A 100%);
  --grad-wash: linear-gradient(140deg, #F4F1FF 0%, #EFF6FF 45%, #E8FBFD 100%);

  --display: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --body:    "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono:    "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --wrap: 1220px;
  --measure: 68ch;
  --r:    18px;
  --r-s:  11px;
  --sh:      0 1px 2px rgba(20,21,46,.04), 0 6px 18px -8px rgba(20,21,46,.10);
  --sh-lg:   0 2px 6px rgba(20,21,46,.05), 0 24px 50px -22px rgba(79,70,229,.32);
  --sh-glow: 0 18px 44px -18px rgba(79,70,229,.45);
}

/* --- Reset ------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--body); font-size: 16.5px; line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; height: auto; }
a { color: var(--brand); text-underline-offset: .16em; }
a:hover { color: var(--brand-3); }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 4px; }
ul, ol { margin: 0 0 1.1em; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 22px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: -9999px; z-index: 200; background: var(--brand); color: #fff; padding: 12px 18px; font-weight: 700; border-radius: 0 0 var(--r-s) 0; }
.skip:focus { left: 0; top: 0; }

/* --- Type -------------------------------------------------------------- */

h1, h2, h3, h4 { font-family: var(--display); font-weight: 800; line-height: 1.12; margin: 0 0 .45em; letter-spacing: -.028em; }
h1 { font-size: clamp(1.85rem, 1.35rem + 1.5vw, 2.7rem); }
h2 { font-size: clamp(1.6rem, 1.15rem + 1.8vw, 2.5rem); }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -.018em; }
p  { margin: 0 0 1.05em; }

/* Gradient headline fragment — the signature type move. */
.grad-text {
  background: var(--grad); -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
}

.eyebrow {
  display: inline-block; font-size: .715rem; font-weight: 800; letter-spacing: .15em;
  text-transform: uppercase; color: var(--brand); margin: 0 0 .85em;
}
.lede { font-size: 1.15rem; color: var(--ink-2); max-width: var(--measure); }
.num { font-family: var(--mono); font-variant-numeric: tabular-nums; }

/* --- Utility strip ----------------------------------------------------- */

.utility { background: var(--paper-2); border-bottom: 1px solid var(--rule-soft); font-size: .78rem; color: var(--ink-3); }
.utility-inner { display: flex; align-items: center; gap: 18px; min-height: 38px; flex-wrap: wrap; }
.utility a { color: var(--ink-2); text-decoration: none; font-weight: 600; }
.utility a:hover { color: var(--brand); }
.utility .spacer { margin-left: auto; }

/* --- Ticker ------------------------------------------------------------ */

.ticker { background: var(--paper); border-bottom: 1px solid var(--rule); display: flex; overflow: hidden; }
.ticker-label {
  background: var(--grad-hot); color: #fff; font-family: var(--display);
  font-size: .7rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase;
  display: flex; align-items: center; gap: 7px; padding: 0 16px; flex-shrink: 0; z-index: 2;
}
.ticker-label::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: pulse 1.9s ease-in-out infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .25; } }
.ticker-track { display: flex; align-items: center; gap: 36px; padding-left: 24px; white-space: nowrap; padding: 10px 0; animation: slide 46s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; overflow-x: auto; } .ticker-label::before { animation: none; } }
.ticker-item { display: inline-flex; align-items: baseline; gap: 8px; font-size: .82rem; color: var(--ink-2); text-decoration: none; }
.ticker-item:hover { color: var(--brand); }
.ticker-item b { font-family: var(--display); font-weight: 800; color: var(--money); font-size: .97rem; letter-spacing: -.02em; }
.ticker-item span { color: var(--ink-3); font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; }

/* --- Masthead ---------------------------------------------------------- */

.masthead { background: rgba(255,255,255,.86); backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid var(--rule); position: sticky; top: 0; z-index: 60; }
.masthead-inner { display: flex; align-items: center; gap: 18px; min-height: 72px; flex-wrap: wrap; }

.wordmark { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; flex-shrink: 0; }
.wordmark-mark {
  width: 36px; height: 36px; border-radius: 11px; flex-shrink: 0; background: var(--grad);
  display: grid; place-items: center; color: #fff; box-shadow: var(--sh-glow);
}
.wordmark-mark svg { width: 21px; height: 21px; }
.wordmark-text { font-family: var(--display); font-size: 1.46rem; font-weight: 800; letter-spacing: -.04em; color: var(--ink); }

.primary-nav { margin-right: auto; }
.primary-nav > ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.primary-nav > ul > li { position: relative; }
.primary-nav > ul > li > a {
  display: block; padding: 25px 10px; font-size: .9rem; font-weight: 700;
  color: var(--ink-2); text-decoration: none; position: relative;
}
.primary-nav > ul > li > a::after {
  content: ""; position: absolute; left: 10px; right: 10px; bottom: 17px; height: 3px;
  border-radius: 3px; background: var(--grad); transform: scaleX(0); transform-origin: left;
  transition: transform .16s ease;
}
.primary-nav > ul > li > a:hover, .primary-nav > ul > li:focus-within > a { color: var(--brand); }
.primary-nav > ul > li > a:hover::after,
.primary-nav > ul > li:focus-within > a::after,
.primary-nav > ul > li > a[aria-current="page"]::after { transform: scaleX(1); }

.submenu {
  position: absolute; left: 0; top: 100%; min-width: 260px;
  background: var(--panel); border: 1px solid var(--rule); border-radius: var(--r);
  box-shadow: var(--sh-lg); padding: 9px; list-style: none; margin: 0;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .14s ease, transform .14s ease, visibility .14s;
}
.primary-nav li:hover > .submenu, .primary-nav li:focus-within > .submenu { opacity: 1; visibility: visible; transform: none; }
.submenu a { display: block; padding: 10px 13px; border-radius: var(--r-s); font-size: .89rem; font-weight: 600; color: var(--ink-2); text-decoration: none; }
.submenu a:hover { background: var(--brand-wash); color: var(--brand); }

.masthead-search { display: flex; }
.masthead-search input {
  font: inherit; font-size: .86rem; width: 138px; padding: 9px 14px;
  border: 1.5px solid var(--rule); border-right: 0; border-radius: 40px 0 0 40px;
  background: var(--paper-2); color: var(--ink);
}
.masthead-search input:focus { outline: none; border-color: var(--brand); background: #fff; }
.masthead-search button { display: grid; place-items: center; width: 42px; border: 0; cursor: pointer; border-radius: 0 40px 40px 0; background: var(--grad); color: #fff; }
.nav-toggle { display: none; }

/* --- Disclosure -------------------------------------------------------- */

.disclosure { background: var(--brand-wash); border-bottom: 1px solid var(--rule-soft); font-size: .83rem; line-height: 1.5; color: var(--ink-2); padding: 11px 22px; }
.disclosure strong { color: var(--ink); }

/* --- Breadcrumbs ------------------------------------------------------- */

.breadcrumbs { background: var(--paper); border-bottom: 1px solid var(--rule-soft); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 7px; list-style: none; margin: 0; padding: 12px 0; font-size: .8rem; color: var(--ink-3); }
.breadcrumbs li + li::before { content: "›"; margin-right: 7px; color: var(--rule); }
.breadcrumbs a { color: var(--ink-3); text-decoration: none; }
.breadcrumbs a:hover { color: var(--brand); text-decoration: underline; }

/* --- Verification stamp ------------------------------------------------ */

.verified {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: .705rem; font-weight: 700; color: var(--money-2); background: var(--money-wash);
  border-radius: 40px; padding: 3px 10px 3px 8px; white-space: nowrap;
}
.verified::before {
  content: ""; width: 11px; height: 11px; flex-shrink: 0; background: currentColor;
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 2l7 3v6c0 4.5-3 7.6-7 8.8C8 18.6 5 15.5 5 11V5z" fill="black"/><path d="M9 11.5l2 2 4.2-4.4" stroke="white" stroke-width="2.4" fill="none" stroke-linecap="round" stroke-linejoin="round"/></svg>') center/contain no-repeat;
          mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 2l7 3v6c0 4.5-3 7.6-7 8.8C8 18.6 5 15.5 5 11V5z" fill="black"/><path d="M9 11.5l2 2 4.2-4.4" stroke="white" stroke-width="2.4" fill="none" stroke-linecap="round" stroke-linejoin="round"/></svg>') center/contain no-repeat;
}
.verified a { color: inherit; }
.verified-missing { color: var(--warn); background: var(--warn-wash); }

/* --- Hero -------------------------------------------------------------- */

.hero-major { position: relative; overflow: hidden; padding: 76px 0 84px; background: var(--paper); }
.hero-major::before {
  /* Soft gradient mesh — three blurred colour fields on white. */
  content: ""; position: absolute; inset: -30% -10% auto -10%; height: 150%; pointer-events: none;
  background:
    radial-gradient(46% 48% at 12% 22%, rgba(124,77,255,.30), transparent 62%),
    radial-gradient(42% 46% at 88% 12%, rgba(6,182,212,.28), transparent 62%),
    radial-gradient(40% 44% at 66% 78%, rgba(255,61,130,.22), transparent 62%);
  filter: blur(28px);
}
.hero-major .wrap { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.32fr .95fr; gap: 54px; align-items: center; }
.hero-major h1 { font-size: clamp(2.2rem, 1.3rem + 3.6vw, 4rem); max-width: 15ch; margin-bottom: .3em; }
.hero-sub { font-size: 1.18rem; color: var(--ink-2); max-width: 48ch; margin-bottom: 28px; }

.hero-search { display: flex; max-width: 530px; margin-bottom: 20px; border-radius: 50px; box-shadow: var(--sh-lg); background: #fff; }
.hero-search input { flex: 1; font: inherit; font-size: 1rem; padding: 17px 24px; border: 0; border-radius: 50px 0 0 50px; background: transparent; color: var(--ink); min-width: 0; }
.hero-search input:focus { outline: none; }
.hero-search button { border: 0; cursor: pointer; padding: 0 30px; font: inherit; font-weight: 800; font-size: .95rem; background: var(--grad); color: #fff; border-radius: 50px; margin: 5px; }
.hero-search button:hover { filter: brightness(1.08); }

.hero-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.hero-chips a { font-size: .82rem; font-weight: 700; padding: 8px 16px; border-radius: 40px; background: #fff; color: var(--ink-2); text-decoration: none; border: 1.5px solid var(--rule); }
.hero-chips a:hover { border-color: var(--brand); color: var(--brand); background: var(--brand-wash); }

.hero-card { background: #fff; border-radius: 24px; padding: 28px; box-shadow: var(--sh-lg); border: 1px solid var(--rule-soft); }
.hero-card-label { font-size: .7rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.hero-card-rate { font-family: var(--display); font-size: 3.6rem; font-weight: 800; line-height: 1; letter-spacing: -.045em; margin: 12px 0 4px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.hero-card-name { font-weight: 700; font-size: 1.04rem; margin-bottom: 2px; }
.hero-card-issuer { font-size: .84rem; color: var(--ink-3); margin-bottom: 16px; }
.hero-card hr { border: 0; border-top: 1px solid var(--rule-soft); margin: 18px 0; }

/* --- Trust bar --------------------------------------------------------- */

.trustbar { background: var(--paper-2); border-block: 1px solid var(--rule-soft); }
.trustbar-inner { display: grid; grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); gap: 6px; }
.trust-item { display: flex; gap: 13px; align-items: flex-start; padding: 22px 20px 22px 0; }
.trust-item svg { width: 23px; height: 23px; color: var(--money); flex-shrink: 0; margin-top: 2px; }
.trust-item strong { display: block; font-size: .93rem; font-weight: 700; }
.trust-item span { font-size: .82rem; color: var(--ink-3); line-height: 1.45; }

/* --- Sections ---------------------------------------------------------- */

.section { padding: 62px 0; }
.section-tight { padding: 36px 0; }
.section-alt { background: var(--paper-2); border-block: 1px solid var(--rule-soft); }
.section-wash { background: var(--grad-wash); border-block: 1px solid var(--rule-soft); }
.section-head { margin-bottom: 30px; max-width: var(--measure); }
.section-head h2 { margin-bottom: .28em; }
.section-head p { color: var(--ink-2); margin: 0; }
.hero { padding: 48px 0 24px; }
.hero h1 { max-width: 20ch; }

.kicker { display: flex; align-items: center; gap: 16px; margin-bottom: 28px; }
.kicker h2 { font-size: clamp(1.4rem, 1rem + 1.5vw, 2.1rem); font-weight: 800; margin: 0; white-space: nowrap; letter-spacing: -.03em; }
.kicker::after { content: ""; flex: 1; height: 3px; border-radius: 3px; background: var(--grad); opacity: .55; }
.kicker .kicker-link { font-size: .82rem; font-weight: 800; text-decoration: none; white-space: nowrap; }

/* --- Vertical tiles ---------------------------------------------------- */

.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 18px; }
.tile {
  background: var(--panel); border: 1px solid var(--rule); border-radius: var(--r);
  padding: 26px 24px; text-decoration: none; color: inherit; display: block;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.tile:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); border-color: transparent; color: inherit; }
.tile-icon { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: var(--brand-wash); color: var(--brand); margin-bottom: 16px; }
.tile-icon svg { width: 26px; height: 26px; }
.tile h3 { margin-bottom: .28em; }
.tile p { font-size: .875rem; color: var(--ink-2); margin: 0 0 13px; }
.tile-meta { font-size: .77rem; font-weight: 800; color: var(--brand); text-transform: uppercase; letter-spacing: .07em; }

.tile[data-v="credit-cards"] .tile-icon { background: var(--brand-wash);  color: var(--brand); }
.tile[data-v="banking"]      .tile-icon { background: var(--money-wash);  color: var(--money-2); }
.tile[data-v="investing"]    .tile-icon { background: var(--violet-wash); color: var(--violet); }
.tile[data-v="mortgages"]    .tile-icon { background: var(--pink-wash);   color: var(--pink-2); }
.tile[data-v="loans"]        .tile-icon { background: #FFF3E0;            color: #C77700; }
.tile[data-v="insurance"]    .tile-icon { background: var(--cyan-wash);   color: #0891B2; }

/* --- Cards ------------------------------------------------------------- */

.grid { display: grid; gap: 20px; }
.grid-4 { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fill, minmax(292px, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fill, minmax(345px, 1fr)); }

.card { background: var(--panel); border: 1px solid var(--rule); border-radius: var(--r); padding: 24px; display: flex; flex-direction: column; gap: 9px; transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease; }
a.card { text-decoration: none; color: inherit; }
a.card:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); border-color: transparent; }
.card h3 { margin: 0; }
.card p { font-size: .89rem; color: var(--ink-2); margin: 0; }
.card-meta { font-size: .76rem; color: var(--ink-3); margin-top: auto; padding-top: 9px; }

.tag { display: inline-block; font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--brand); background: var(--brand-wash); padding: 4px 10px; border-radius: 30px; }
.tag-money { color: var(--money-2); background: var(--money-wash); }
.tag-hot   { color: #fff; background: var(--grad-hot); }

.pick { position: relative; }
.pick-rank { position: absolute; top: -12px; left: 22px; font-family: var(--display); font-size: .68rem; font-weight: 800; letter-spacing: .1em; background: var(--grad); color: #fff; padding: 5px 13px; border-radius: 30px; text-transform: uppercase; box-shadow: var(--sh-glow); }
.pick-rate { font-family: var(--display); font-size: 2.6rem; font-weight: 800; color: var(--money); line-height: 1; letter-spacing: -.04em; }
.pick-rate-label { font-size: .73rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }

/* --- Magazine lead ----------------------------------------------------- */

.lead-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 26px; }
.lead-main {
  position: relative; border-radius: var(--r); overflow: hidden; color: var(--ink);
  background: var(--grad-wash); border: 1px solid var(--rule);
  padding: 40px 36px; display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 340px; text-decoration: none;
}
.lead-main::after {
  content: ""; position: absolute; inset: auto -14% -46% auto; width: 62%; aspect-ratio: 1;
  border-radius: 50%; background: var(--grad); opacity: .16; filter: blur(38px); pointer-events: none;
}
.lead-main > * { position: relative; z-index: 1; }
.lead-main h3 { font-size: clamp(1.55rem, 1.1rem + 1.8vw, 2.25rem); font-weight: 800; margin-bottom: .3em; letter-spacing: -.032em; }
.lead-main p { color: var(--ink-2); font-size: .97rem; margin: 0; max-width: 46ch; }
.lead-main:hover h3 { color: var(--brand); }
.lead-side { display: flex; flex-direction: column; gap: 14px; }
.lead-item { display: flex; gap: 15px; align-items: flex-start; padding: 16px 18px; background: var(--panel); border: 1px solid var(--rule); border-radius: var(--r-s); text-decoration: none; color: inherit; transition: border-color .15s, transform .15s, box-shadow .15s; }
.lead-item:hover { border-color: transparent; transform: translateX(4px); box-shadow: var(--sh); }
.lead-rank { font-family: var(--display); font-size: 1.55rem; font-weight: 800; color: var(--rule); line-height: 1; flex-shrink: 0; }
.lead-item:hover .lead-rank { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.lead-item h4 { font-family: var(--display); font-size: .99rem; font-weight: 800; margin: 0 0 3px; letter-spacing: -.018em; }
.lead-item span { font-size: .76rem; color: var(--ink-3); }

/* --- Rate tables ------------------------------------------------------- */

.table-scroll { overflow-x: auto; border: 1px solid var(--rule); border-radius: var(--r); background: var(--panel); box-shadow: var(--sh); }
table.rates { width: 100%; border-collapse: collapse; font-size: .92rem; min-width: 720px; }
table.rates th, table.rates td { padding: 17px 18px; text-align: left; border-bottom: 1px solid var(--rule-soft); vertical-align: top; }
table.rates thead th { font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-3); background: var(--paper-2); white-space: nowrap; }
table.rates tbody tr:last-child td, table.rates tbody tr:last-child th { border-bottom: 0; }
table.rates tbody tr:hover { background: var(--brand-wash); }
.rate-value { font-family: var(--display); font-variant-numeric: tabular-nums; font-size: 1.32rem; font-weight: 800; color: var(--money); display: block; letter-spacing: -.03em; margin-bottom: 4px; }
.product-name { font-weight: 700; font-size: 1rem; color: var(--ink); text-decoration: none; display: block; margin-bottom: 2px; }
.product-name:hover { color: var(--brand); }
.product-issuer { font-size: .8rem; color: var(--ink-3); }
.score { font-family: var(--display); font-size: 1.32rem; font-weight: 800; color: var(--brand); }

/* --- Buttons ----------------------------------------------------------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: inherit; font-size: .9rem; font-weight: 800; padding: 12px 22px;
  border-radius: 40px; border: 0; background: var(--grad-hot); color: #fff;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  box-shadow: 0 10px 24px -12px rgba(255,61,130,.75);
  transition: filter .14s ease, transform .14s ease, box-shadow .14s ease;
}
.btn:hover { filter: brightness(1.07); transform: translateY(-2px); color: #fff; box-shadow: 0 16px 30px -14px rgba(255,61,130,.85); }
.btn-brand { background: var(--grad); box-shadow: var(--sh-glow); }
.btn-brand:hover { box-shadow: 0 20px 40px -16px rgba(79,70,229,.6); }
.btn-ghost { background: #fff; color: var(--brand); border: 1.5px solid var(--rule); box-shadow: none; }
.btn-ghost:hover { background: var(--brand-wash); color: var(--brand); border-color: var(--brand); box-shadow: none; }
.btn-sm { font-size: .81rem; padding: 9px 17px; }

/* --- Article ----------------------------------------------------------- */

.article { padding: 34px 0 60px; }
.article-body { max-width: var(--measure); font-size: 1.06rem; }
.article-body h2 { margin-top: 1.8em; font-size: 1.65rem; }
.article-body h3 { margin-top: 1.4em; }
.article-body ul, .article-body ol { padding-left: 1.25em; }
.article-body li { margin-bottom: .4em; }
.article-body blockquote { margin: 1.6em 0; padding: 20px 24px; border-left: 4px solid var(--brand); background: var(--brand-wash); border-radius: 0 var(--r-s) var(--r-s) 0; color: var(--ink-2); }
.byline { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding: 17px 0; margin-bottom: 26px; border-block: 1px solid var(--rule); font-size: .87rem; color: var(--ink-2); }
.byline img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; }
.byline a { font-weight: 700; }
.byline-dates { font-size: .76rem; color: var(--ink-3); margin-left: auto; text-align: right; }

.author-head { display: flex; gap: 28px; align-items: flex-start; flex-wrap: wrap; padding: 40px 0 8px; }
.author-head img { width: 132px; height: 132px; border-radius: 22px; object-fit: cover; border: 1px solid var(--rule); }
.author-cred { display: inline-block; font-size: .76rem; font-weight: 800; color: var(--money-2); background: var(--money-wash); padding: 4px 12px; border-radius: 30px; }

/* --- Media ------------------------------------------------------------- */

.embed { position: relative; aspect-ratio: 16/9; background: var(--paper-3); border-radius: var(--r); overflow: hidden; }
.embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.audio-player { width: 100%; margin: 18px 0; }
.ep-no { display: inline-block; font-size: .69rem; font-weight: 800; letter-spacing: .12em; color: #fff; background: var(--grad-hot); padding: 4px 11px; border-radius: 30px; text-transform: uppercase; }
.transcript { margin-top: 32px; border-top: 1px solid var(--rule); padding-top: 20px; }
.transcript summary { cursor: pointer; font-weight: 700; }
.transcript-body { max-width: var(--measure); font-size: .95rem; color: var(--ink-2); margin-top: 14px; white-space: pre-wrap; }

/* --- Newsletter -------------------------------------------------------- */

.newsletter { background: var(--grad-wash); border: 1px solid var(--rule); border-radius: var(--r); padding: 38px; }
.newsletter-form { display: flex; gap: 10px; max-width: 470px; flex-wrap: wrap; }
.newsletter-form input { flex: 1; min-width: 200px; font: inherit; font-size: .95rem; padding: 13px 18px; border: 1.5px solid var(--rule); border-radius: 40px; background: #fff; color: var(--ink); }
.newsletter-form input:focus { outline: none; border-color: var(--brand); }
.newsletter-note { font-size: .78rem; color: var(--ink-3); margin: 12px 0 0; }

/* --- Notices ----------------------------------------------------------- */

.notice { background: var(--panel); border: 1px solid var(--rule); border-left: 4px solid var(--brand); padding: 19px 23px; border-radius: 0 var(--r-s) var(--r-s) 0; margin: 26px 0; font-size: .93rem; }
.notice-empty { border-left-color: var(--ink-3); color: var(--ink-2); }

/* --- Colophon ---------------------------------------------------------- */

.colophon { background: var(--paper-2); border-top: 1px solid var(--rule); padding: 56px 0 32px; }
.colophon-grid { display: grid; grid-template-columns: 1.7fr repeat(auto-fit, minmax(135px, 1fr)); gap: 34px; }
.colophon-brand { max-width: 34ch; }
.colophon-blurb { font-size: .86rem; color: var(--ink-2); margin-top: 13px; }
.colophon-col h2 { font-family: var(--body); font-size: .71rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 13px; }
.colophon-col ul { list-style: none; margin: 0; padding: 0; }
.colophon-col li { margin-bottom: 8px; }
.colophon-col a { font-size: .87rem; color: var(--ink-2); text-decoration: none; }
.colophon-col a:hover { color: var(--brand); }
.colophon-legal { margin-top: 42px; padding-top: 24px; border-top: 1px solid var(--rule); }
.advice-notice { font-size: .78rem; color: var(--ink-3); line-height: 1.6; max-width: 96ch; }
.colophon-meta { font-size: .8rem; color: var(--ink-3); margin: 12px 0 0; }
.colophon-meta a { color: var(--ink-2); }

/* --- Calculators ------------------------------------------------------- */

.calc p { margin: 0 0 15px; }
.calc label { display: block; font-size: .85rem; font-weight: 700; margin-bottom: 5px; }
.calc .hint { display: block; font-weight: 400; font-size: .77rem; color: var(--ink-3); margin-top: 2px; }
.calc input { width: 100%; font: inherit; font-family: var(--mono); font-size: .95rem; padding: 11px 15px; border: 1.5px solid var(--rule); border-radius: var(--r-s); background: var(--paper-2); color: var(--ink); }
.calc input:focus { outline: none; border-color: var(--brand); background: #fff; }
.calc-out { display: block; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--rule); }
.calc-out strong { display: block; font-family: var(--display); font-size: 2.4rem; font-weight: 800; letter-spacing: -.04em; font-variant-numeric: tabular-nums; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.calc-out span { display: block; font-size: .87rem; color: var(--ink-2); margin-top: 8px; }

/* --- Responsive -------------------------------------------------------- */

@media (max-width: 1000px) { .hero-grid { grid-template-columns: 1fr; gap: 36px; } .hero-card { max-width: 430px; } }
@media (max-width: 900px) {
  .nav-toggle { display: grid; place-items: center; width: 46px; height: 42px; margin-left: auto; background: #fff; border: 1.5px solid var(--rule); border-radius: var(--r-s); cursor: pointer; }
  .nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 18px; height: 2px; background: var(--ink); content: ""; border-radius: 2px; }
  .nav-toggle-bars { position: relative; }
  .nav-toggle-bars::before { position: absolute; top: -6px; }
  .nav-toggle-bars::after  { position: absolute; top:  6px; }
  .primary-nav { display: none; width: 100%; order: 3; margin-right: 0; }
  .primary-nav.is-open { display: block; }
  .primary-nav > ul { flex-direction: column; gap: 0; padding-bottom: 10px; }
  .primary-nav > ul > li > a { padding: 14px 0; border-bottom: 1px solid var(--rule-soft); }
  .primary-nav > ul > li > a::after { display: none; }
  .submenu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; background: transparent; padding: 0 0 8px 14px; }
  .masthead-search { order: 4; width: 100%; padding-bottom: 12px; }
  .masthead-search input { width: 100%; }
  .utility .hide-sm { display: none; }
  .lead-grid { grid-template-columns: 1fr; }
  .byline-dates { margin-left: 0; text-align: left; width: 100%; }
}
@media (max-width: 620px) {
  .hero-major { padding: 50px 0 56px; }
  .hero-search input { font-size: .95rem; padding: 14px 18px; }
  .hero-search button { padding: 0 20px; }
  .newsletter { padding: 26px; }
  .lead-main { min-height: 250px; padding: 28px 24px; }
}
@media print { .masthead, .utility, .ticker, .colophon-col, .masthead-search, .nav-toggle, .hero-major { display: none; } body { font-size: 11pt; } }

/* --- Artwork ----------------------------------------------------------- */

.article-hero {
  margin: 0; width: 100%; max-width: var(--wrap); margin-inline: auto;
  padding-inline: 22px;
}
.article-hero img {
  width: 100%; aspect-ratio: 1200/450; object-fit: cover;
  border-radius: var(--r); display: block; box-shadow: var(--sh);
}
.card-thumb {
  width: calc(100% + 48px); margin: -24px -24px 4px; aspect-ratio: 16/9;
  object-fit: cover; border-radius: var(--r) var(--r) 0 0; display: block;
}
.lead-main { padding-top: 0; }
.lead-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0; opacity: .9;
}
/* The lead block sits ON the image, so its text needs its own ground. */
.lead-main::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, rgba(255,255,255,.97) 30%, rgba(255,255,255,.72) 62%, rgba(255,255,255,.28) 100%);
}
.lead-main::after { z-index: 1; }
.lead-thumb {
  width: 84px; height: 60px; flex-shrink: 0; object-fit: cover;
  border-radius: 8px; display: block;
}
@media (max-width: 480px) { .lead-thumb { width: 64px; height: 46px; } }

/* --- Offer page -------------------------------------------------------- */

.nav-cta { color: var(--pink-2) !important; font-weight: 800 !important; }

.offer-hero { position: relative; overflow: hidden; padding: 60px 0 56px; background: var(--grad-wash); border-bottom: 1px solid var(--rule-soft); }
.offer-hero-grid { display: grid; grid-template-columns: 1.35fr .9fr; gap: 48px; align-items: start; }
.offer-hero h1 { max-width: 16ch; }

.price-block { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.price-was {
  font-family: var(--display); font-size: 1.6rem; font-weight: 700; color: var(--ink-3);
  text-decoration: line-through; text-decoration-thickness: 2px;
}
.price-now {
  font-family: var(--display); font-size: 3.6rem; font-weight: 800; letter-spacing: -.045em;
  line-height: 1; background: var(--grad-hot); -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
}
.price-note { font-size: .85rem; font-weight: 700; color: var(--money-2); background: var(--money-wash); padding: 5px 12px; border-radius: 30px; }

.offer-card { background: var(--panel); border: 1px solid var(--rule); border-radius: var(--r); padding: 26px; box-shadow: var(--sh-lg); }
.offer-list { list-style: none; margin: 0; padding: 0; }
.offer-list li { position: relative; padding-left: 26px; margin-bottom: 11px; font-size: .92rem; color: var(--ink-2); }
.offer-list li::before {
  content: ""; position: absolute; left: 0; top: .45em; width: 14px; height: 14px;
  background: var(--money); border-radius: 50%;
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M20 6L9 17l-5-5" stroke="black" stroke-width="3.4" fill="none" stroke-linecap="round" stroke-linejoin="round"/></svg>') center/11px no-repeat;
          mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M20 6L9 17l-5-5" stroke="black" stroke-width="3.4" fill="none" stroke-linecap="round" stroke-linejoin="round"/></svg>') center/11px no-repeat;
}

.apply-form p { margin: 0 0 16px; }
.apply-form label { display: block; font-size: .85rem; font-weight: 700; margin-bottom: 5px; }
.apply-form .admin-hint { font-weight: 400; color: var(--ink-3); }
.apply-form input, .apply-form select, .apply-form textarea {
  width: 100%; font: inherit; font-size: .95rem; padding: 12px 16px;
  border: 1.5px solid var(--rule); border-radius: var(--r-s); background: #fff; color: var(--ink);
}
.apply-form input:focus, .apply-form select:focus, .apply-form textarea:focus { outline: none; border-color: var(--brand); }
.apply-form textarea { resize: vertical; }

@media (max-width: 900px) { .offer-hero-grid { grid-template-columns: 1fr; gap: 30px; } }
/* .card is a flex column, so a bare inline badge stretches the full width. */
.card > .tag, .card > .ep-no, .card > .pick-rate-label { align-self: flex-start; }
