:root { --ink:#1d1d1f; --muted:#6b6b70; --accent:#c8482b; --line:#e7e5e0; --cream:#faf7f1; --radius:12px;
  --funnel-font: ui-sans-serif, system-ui, "Segoe UI", Roboto, sans-serif; }
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--cream);
  font-family: var(--funnel-font, ui-sans-serif, system-ui, "Segoe UI", Roboto, sans-serif); line-height: 1.55; }
img { max-width: 100%; display: block; }
a.cta { display: inline-block; background: var(--accent); color: #fff; font-weight: 700;
  padding: 13px 26px; border-radius: var(--radius, 9px); text-decoration: none; margin: 14px 0; }
a.cta.big { font-size: 1.15rem; padding: 16px 34px; }
a.cta:hover { opacity: .93; }
/* "Check availability" — secondary outline button on every offer */
a.cta.avail { background: transparent; color: var(--accent); border: 2px solid var(--accent);
  padding: 11px 24px; margin-left: 10px; }
a.cta.avail:hover { background: var(--accent); color: #fff; opacity: 1; }

.locale-switch { display: flex; gap: 6px; align-items: center; padding: 8px 16px;
  background: #1f1e1c; color: #cfcabd; font-size: .8rem; }
.locale-switch a { color: #cfcabd; text-decoration: none; padding: 2px 8px; border-radius: 6px; }
.locale-switch a.active { background: var(--accent); color: #fff; }
.preview-tag { font-size: .68rem; text-transform: uppercase; letter-spacing: .08em;
  border: 1px solid #555; padding: 1px 7px; border-radius: 999px; margin-right: auto; }

.hero { position: relative; margin: 18px 0; border-radius: var(--radius, 12px); overflow: hidden; }
.hero img { width: 100%; height: auto; object-fit: cover; }
.hero .overlay { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 22px;
  background: linear-gradient(transparent, rgba(0,0,0,.62)); color: #fff;
  font-size: 1.5rem; font-weight: 800; letter-spacing: .02em; text-shadow: 0 1px 4px rgba(0,0,0,.4); }

/* Advertorial */
.advertorial .page { max-width: 880px; margin: 0 auto; padding: 24px 22px 64px;
  font-size: 1.09rem; line-height: 1.65; }
.disclosure { font-size: .76rem; color: var(--muted); background: #f1eee7;
  border: 1px solid var(--line); padding: 8px 11px; border-radius: 7px; }
.advertorial h1 { font-size: 2.5rem; line-height: 1.12; margin: 18px 0 8px;
  font-family: Georgia, "Times New Roman", serif; }
.subhead { font-size: 1.3rem; color: #45454a; margin: 0 0 6px; line-height: 1.45; }
.byline { font-size: .82rem; color: var(--muted); }
.body p { margin: 12px 0; }
.pick { background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 22px 24px; margin: 26px 0; box-shadow: 0 1px 0 rgba(0,0,0,.03); }
.pick .rank { display: inline-block; background: var(--accent); color: #fff; font-weight: 700;
  font-size: .72rem; padding: 3px 10px; border-radius: 999px; letter-spacing: .05em; }
.pick h2 { margin: 10px 0 6px; font-size: 1.5rem; }
.pros { padding-left: 0; list-style: none; margin: 12px 0; }
.pros li { padding: 4px 0 4px 26px; position: relative; }
.pros li::before { content: "✓"; color: #2e8b57; position: absolute; left: 4px; font-weight: 700; }
.verdict { font-weight: 600; font-size: 1.05rem; margin-top: 18px; }

/* Lander */
.lander-top { text-align: center; padding: 16px; background: #fff; border-bottom: 1px solid var(--line); }
.logo { font-weight: 800; font-size: 1.25rem; letter-spacing: .02em; }
.hero-block { max-width: 980px; margin: 0 auto; padding: 30px 20px; display: grid;
  grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; }
.hero-block h1 { font-size: 2.2rem; line-height: 1.1; margin: 0 0 10px; }
.hero-block .sub { font-size: 1.1rem; color: #45454a; }
.guarantee { color: #2e8b57; font-weight: 600; font-size: .92rem; }
.benefits { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.benefits ul { max-width: 760px; margin: 0 auto; padding: 26px 20px; list-style: none;
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; }
.benefits li { padding-left: 28px; position: relative; }
.benefits li::before { content: "✓"; color: var(--accent); position: absolute; left: 2px; font-weight: 800; }
.offer { max-width: 640px; margin: 0 auto; padding: 36px 20px 64px; text-align: center; }
.offer-text { font-size: 1.15rem; font-weight: 600; }
@media (max-width: 760px) { .hero-block, .benefits ul { grid-template-columns: 1fr; } }

.muted { color: var(--muted); font-size: .9em; }

/* ----- advertorial: ranked listicle ----- */
.ranking { list-style: none; padding: 0; margin: 22px 0; display: grid; gap: 18px; }
.rank-card { position: relative; display: grid; grid-template-columns: 48px 190px 1fr; gap: 18px; align-items: start;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius, 12px); padding: 18px;
  transition: transform .18s ease, box-shadow .18s ease; }
.rank-card:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(0,0,0,.09); }
.rank-card.pick { border-color: var(--accent); box-shadow: 0 0 0 2px rgba(200,72,43,.14), 0 8px 28px rgba(0,0,0,.07); }
/* scroll reveal — funnel-fx adds .fx-shown; opacity-only so it never fights the hover-lift transform.
   Gated by html.fx, which funnel-fx adds ONLY when not reduced-motion, so reduced-motion users see cards. */
html.fx .rank-card { opacity: 0; transition: opacity .55s ease; }
html.fx .rank-card.fx-shown { opacity: 1; }
.ribbon { position: absolute; top: -11px; right: 14px; background: var(--accent); color: #fff;
  font: 800 11px/1 system-ui, sans-serif; letter-spacing: .06em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 999px; box-shadow: 0 3px 10px rgba(0,0,0,.18); }
.rank-num { font-family: Georgia, serif; font-size: 1.5rem; font-weight: 700; color: var(--accent); text-align: center; }
.rank-media { position: relative; }
.rank-media img { width: 100%; height: auto; border-radius: 8px; }
.rank-media .score { position: absolute; top: 6px; left: 6px; background: var(--accent); color: #fff;
  font-weight: 700; font-size: .8rem; padding: 2px 7px; border-radius: 999px; }
.rank-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.rank-head h2 { margin: 0; font-size: 1.45rem; }
.tag { font-size: .68rem; text-transform: uppercase; letter-spacing: .05em; background: #f1eee7;
  border: 1px solid var(--line); padding: 2px 8px; border-radius: 999px; }
.rank-card.pick .tag { background: var(--accent); color: #fff; border-color: var(--accent); }
.proscons { display: flex; gap: 22px; flex-wrap: wrap; margin: 8px 0; }
.proscons ul { list-style: none; padding: 0; margin: 0; font-size: .92rem; }
.proscons li { padding: 2px 0 2px 22px; position: relative; }
.proscons .pros li::before { content: "✓"; color: #2e8b57; position: absolute; left: 2px; font-weight: 700; }
.proscons .cons li::before { content: "✕"; color: #c0392b; position: absolute; left: 2px; font-weight: 700; }

/* stars (partial fill via --p) */
.stars { position: relative; display: inline-block; color: #ddd8cc; font-size: 1.05rem; letter-spacing: 1px; line-height: 1; }
.stars > span { position: absolute; left: 0; top: 0; width: var(--p, 0%); overflow: hidden;
  color: #f5a623; white-space: nowrap; }
.stars.sm { font-size: .85rem; }
.starline { display: flex; align-items: center; gap: 7px; margin-top: 8px; }
.starline b { font-size: .9rem; }

/* performance bars */
.subs { margin: 10px 0 4px; display: grid; gap: 6px; max-width: 420px; }
.sub { display: grid; grid-template-columns: 110px 1fr 34px; align-items: center; gap: 10px; font-size: .82rem; }
.sub-label { color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sub-bar { height: 9px; background: #eee9df; border-radius: 999px; overflow: hidden; }
.sub-bar i { display: block; height: 100%; border-radius: 999px; position: relative; overflow: hidden;
  background: linear-gradient(90deg, var(--accent), color-mix(in srgb, var(--accent) 60%, #ffd28a));
  transition: width 1.1s cubic-bezier(.18,.8,.25,1); }
.fx .sub-bar i::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, transparent 18%, rgba(255,255,255,.55) 50%, transparent 82%);
  transform: translateX(-110%); animation: barshine 2.6s ease-in-out 1s infinite; }
@keyframes barshine { 0% { transform: translateX(-110%); } 55%, 100% { transform: translateX(240%); } }
.fx .stars > span { transition: width .95s cubic-bezier(.18,.8,.25,1); }
.sub b { text-align: right; font-variant-numeric: tabular-nums; }
.score { font-variant-numeric: tabular-nums; }
@media (prefers-reduced-motion: reduce) {
  .sub-bar i, .fx .stars > span { transition: none; }
  .fx .sub-bar i::after { animation: none; }
}

/* deal strip + CTA pulse */
.deal { background: #f4faf4; border: 1px dashed #9fc7a4; color: #21703a; border-radius: 8px;
  padding: 8px 12px; font-size: .9rem; font-weight: 600; display: inline-block; }
@keyframes ctapulse { 0%,100% { box-shadow: 0 0 0 0 rgba(200,72,43,.35); } 55% { box-shadow: 0 0 0 9px rgba(200,72,43,0); } }
a.cta.pulse { animation: ctapulse 2.2s ease-out infinite; }
a.cta.tiny { padding: 6px 12px; font-size: .8rem; margin: 0; }
@media (prefers-reduced-motion: reduce) { a.cta.pulse { animation: none; } .rank-card:hover { transform: none; } }

/* author chip (legacy) */
.author-chip { display: flex; align-items: center; gap: 8px; margin: 4px 0 8px; }
.author-chip .avatar { width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: #fff;
  display: grid; place-items: center; font-weight: 800; font-size: .9rem; }
.author-chip .byline { margin: 0; }

/* author box (avasreview-style profile) */
.author-box { display: flex; gap: 16px; align-items: flex-start; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius, 12px); padding: 16px 18px; margin: 14px 0 6px; }
.author-photo { width: 84px; height: 84px; border-radius: 50%; overflow: hidden; flex: none;
  background: color-mix(in srgb, var(--accent) 14%, #fff); display: grid; place-items: center;
  border: 3px solid color-mix(in srgb, var(--accent) 35%, #fff); }
.author-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.author-initial { font: 800 2rem system-ui, sans-serif; color: var(--accent); }
.author-meta strong { font-size: 1.05rem; display: block; }
.author-title { color: var(--accent); font-weight: 700; font-size: .85rem; display: block; margin: 2px 0 6px; }
.author-bio { margin: 0; color: var(--muted); font-size: .92rem; line-height: 1.5; }
.advertorial .byline { margin-top: 6px; }

/* bigger, more editorial hero */
.advertorial .hero img { width: 100%; min-height: 340px; max-height: 480px; object-fit: cover; }
.advertorial .hero .overlay { font-size: 1.9rem; padding: 26px; }
@media (max-width: 600px) {
  .author-box { flex-direction: row; }
  .author-photo { width: 64px; height: 64px; }
  .advertorial .hero img { min-height: 220px; }
  .advertorial .hero .overlay { font-size: 1.25rem; }
}

/* comparison table */
.cmp-title { margin: 30px 0 10px; font-size: 1.3rem; }
.cmp { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius, 12px); overflow: hidden; font-size: .92rem; }
.cmp th, .cmp td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--line); }
.cmp thead th { background: #f4f1ea; font-size: .76rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.cmp tr:last-child td { border-bottom: 0; }
.cmp tr.pick { background: color-mix(in srgb, var(--accent) 6%, #fff); }
.cmp-rank { font-weight: 800; color: var(--accent); }
.cmp-score { font-weight: 800; }
.muted-cell { color: var(--muted); }

/* advertorial sticky bar (shares .sticky-cta styles) */
.advertorial .page { padding-bottom: 96px; }

/* ----- lander sections ----- */
.lander section { max-width: 820px; margin: 0 auto; padding: 26px 20px; }
.lander section h2 { font-size: 1.5rem; margin: 0 0 14px; }
.problem div p { color: #45454a; }
.how { border-top: 1px solid var(--line); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius, 12px); padding: 18px; }
.step-num { width: 32px; height: 32px; border-radius: 50%; background: var(--accent); color: #fff;
  display: grid; place-items: center; font-weight: 700; margin-bottom: 8px; }
.step h3 { margin: 0 0 6px; font-size: 1.05rem; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 12px 0; }
.faq summary { cursor: pointer; font-weight: 600; }
.faq details p { color: #45454a; margin: 8px 0 0; }
.lander-disclosure { max-width: 820px; margin: 0 auto 90px; }
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; background: #fff; border-top: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; padding: 10px 18px; gap: 12px; z-index: 5; }
.sticky-cta span { font-weight: 700; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sticky-cta .cta { flex: none; }
.cta.small { padding: 8px 16px; margin: 0; font-size: .9rem; }

/* ----- checkout + thank-you ----- */
.checkout, .thanks { background: var(--cream); }
.co-wrap { max-width: 480px; margin: 0 auto; padding: 28px 20px 70px; }
.co-back { font-size: .85rem; color: var(--muted); text-decoration: none; }
.checkout h1, .thanks h1 { font-size: 1.5rem; margin: 10px 0 16px; }
.co-summary { display: flex; justify-content: space-between; align-items: center; background: #fff;
  border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; margin-bottom: 16px; }
.co-item strong { display: block; }
.co-price { font-weight: 700; }
.co-form label { display: block; margin: 10px 0; font-size: .9rem; }
.co-form input { width: 100%; padding: 9px 10px; border: 1px solid var(--line); border-radius: 8px;
  font: inherit; margin-top: 4px; }
.co-form select { width: 100%; min-width: 0; padding: 9px 10px; border: 1px solid var(--line); border-radius: 8px;
  font: inherit; margin-top: 4px; background: #fff; }
.co-row { display: grid; grid-template-columns: 1fr 90px; gap: 12px; }
.co-pay { border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; margin: 14px 0; }
.co-pay legend { font-size: .8rem; color: var(--muted); padding: 0 6px; }
.co-provider { display: flex; align-items: center; gap: 8px; padding: 11px 0; }
.co-provider input { width: auto; margin: 0; }
.co-note { margin-top: 12px; }
.thanks .check { width: 64px; height: 64px; border-radius: 50%; background: #2e8b57; color: #fff;
  display: grid; place-items: center; font-size: 2rem; margin: 8px 0 6px; }
.thanks .check.bad { background: #c0392b; }
.co-receipt { width: 100%; table-layout: fixed; border-collapse: collapse; margin-top: 14px; background: #fff;
  border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.co-receipt td { padding: 9px 14px; border-bottom: 1px solid var(--line); }
.co-receipt td:first-child { color: var(--muted); width: 40%; }
.co-receipt td:last-child { overflow-wrap: anywhere; }
@media (max-width: 600px) {
  .rank-card { grid-template-columns: 36px 1fr; }
  .rank-media { display: flex; grid-column: 2; align-items: center; gap: 12px; flex-wrap: wrap; }
  .rank-media img { width: 96px; border-radius: 8px; }
  .rank-media .score { position: static; order: 2; }
  .rank-body { grid-column: 2; }
  .starline { margin-top: 0; }
  .steps { grid-template-columns: 1fr; }
  .cmp .stars { display: none; }
  /* wide 5-col comparison table: scroll inside its own box so the PAGE never drifts */
  .cmp { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .cta.small, .cta.tiny { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
}

.ff-editlink { position: fixed; right: 14px; bottom: 72px; z-index: 9000; background: #1f1e1c; color: #fff;
  text-decoration: none; font: 600 13px system-ui, sans-serif; padding: 9px 15px; border-radius: 999px;
  box-shadow: 0 4px 16px rgba(0,0,0,.28); }
.ff-editlink:hover { background: var(--accent, #c8482b); }

.tpl-banner { background: #1f1e1c; color: #f3efe6; padding: 9px 16px; font: 600 13px system-ui, sans-serif; }
.tpl-banner strong { color: #ffd9a0; }

@media (max-width: 600px) {
  .co-row { grid-template-columns: 1fr; }
}
