/* ===== The lime look of findbestoption.com's home page, for the services app =====
   Loaded after app.css. Same pages and layout; the dark "stages" (header, hero, page heads, trust band, footer)
   become white or soft grey, orange and teal become lime and green, one typeface (Readex Pro), white rounded
   cards with a soft shadow, the lime-filled logo mark. One light theme, as on the home page: the dark theme and
   its switch are off. Motion extras at the end; app.js keeps its own (reveals, split headline, transitions). */
:root:root, :root:root[data-theme] {
  --l-lime: #A6E22E; --l-lime2: #93CF1B; --l-ink: #111814; --l-soft: #F6F7F3; --l-line: #ECEEE8; --l-green: #3E9B12; --l-green2: #2F7D0B;
  --night: #ffffff; --night-2: #ffffff; --night-3: var(--l-soft); --night-line: var(--l-line);
  --on-night: var(--l-ink); --on-night-muted: #59615A;
  --bg: #ffffff; --card: #ffffff; --card-2: #FAFBF8; --ink: var(--l-ink); --ink-2: #2C352E; --muted: #59615A; --line: var(--l-line); --sand: var(--l-soft);
  --brand: var(--l-green2); --teal: var(--l-green); --teal-soft: #F1FADF;
  --accent: var(--l-green); --accent-2: #7CC51C; --accent-soft: #F1FADF; --accent-soft-2: #F7FCEB; --accent-ink: var(--l-green2);
  --grad: linear-gradient(120deg, var(--l-lime) 0%, #B9EC4A 100%);
  --grad-cool: linear-gradient(120deg, #2E9A14 0%, #7CC51C 100%);
  --glow: 0 10px 26px -10px rgba(147, 207, 27, .7);
  --ok: #2F7D0B; --ok-soft: #EEF9DC; --err: #B42318; --err-soft: #FEF3F2;
  --info: #1E3A8A; --info-soft: #EEF4FF; --warn: #8A5A00; --warn-soft: #FFF1D6; --guide: #4B3B8A; --guide-soft: #ECE9FB; --promo: var(--l-green2);
  --ico-l: 38%; --shine: rgba(255, 255, 255, .55);
  --radius: 22px; --radius-sm: 14px;
  --shadow: 0 1px 2px rgba(17, 24, 20, .04), 0 10px 30px rgba(17, 24, 20, .05);
  --shadow-lift: 0 2px 4px rgba(17, 24, 20, .05), 0 18px 40px rgba(17, 24, 20, .1);
  --font-head: 'Readex Pro', 'Readex fallback', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color-scheme: light;
}
body { background: #fff; color: var(--l-ink); }
::selection { background: var(--l-lime); color: #13200A; }
h1, h2, h3 { letter-spacing: -.02em; }
.wrap, .hero-home .hero-inner { max-width: 1440px; }

/* header: white, the lime logo mark, quiet links */
.site-header::before { background: rgba(255, 255, 255, .88); border-block-end-color: transparent; }
.site-header.is-stuck::before { border-block-end-color: var(--l-line); }
.site-header::after { box-shadow: 0 12px 30px -16px rgba(17, 24, 20, .18); }
.logo, .logo b { color: var(--l-ink); }
.logo b { font-weight: 700; }
.logo-mark circle { stroke: #13200A; fill: var(--l-lime); }
.logo-mark path { stroke: #13200A; }
.hdr-nav a { color: #59615A; }
.hdr-nav a:hover { color: var(--l-ink); background: var(--l-soft); }
.hdr-nav a[aria-current="page"] { color: var(--l-ink); }
.hdr-pill { color: var(--l-ink); background: #fff; border-color: var(--l-line); }
.hdr-pill:hover { background: var(--l-soft); border-color: #D5D9D0; }
.theme-btn { display: none !important; }

/* buttons: lime with dark text */
.btn-accent, .btn-accent:hover { color: #13200A; }
.btn-accent:hover { box-shadow: 0 16px 36px -10px rgba(147, 207, 27, .8); }

/* hero and page heads: white, big dark headline, the second part in green */
.hero, .detail-head { background: #fff; color: var(--l-ink); }
.hero::before, .hero::after, .detail-head::before, .detail-head::after { display: none !important; }
.hero-art, .hero canvas { display: none !important; }
.hero h1, .detail-head h1 { color: var(--l-ink); font-weight: 800; letter-spacing: -.035em; }
.hero .lead, .detail-head .lead { color: #59615A; }
.grad-text, .hero h1 .grad-text { background: linear-gradient(90deg, #2E9A14 0%, #46AA16 30%, #7CC51C 50%, #46AA16 70%, #2E9A14 100%); background-size: 300% 100%; background-position: 100% 0;
  -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
/* text painted with a gradient: app.css fills it with --grad (the button's lime here), far too pale on white.
   The headline's words (app.js splits them), the best price and the step numbers take a dark green instead. */
.grad-text .split-word, .is-best .offer-price, .is-best .offer-price-m, .how li::before {
  background: linear-gradient(120deg, #2A7A0C 0%, #2E9A14 100%); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.eyebrow { color: var(--l-green2); }
.eyebrow .ico { color: var(--l-green); }
.hero-home { border-radius: 0; }

/* search: the white pill with a lime button, as on the home page */
.search-box { position: relative; background: #fff; border: 0; border-radius: 999px; box-shadow: 0 10px 40px rgba(17, 24, 20, .08), 0 0 0 1px var(--l-line); -webkit-backdrop-filter: none; backdrop-filter: none; }
.search-box:focus-within { box-shadow: 0 0 0 4px rgba(166, 226, 46, .35), 0 10px 40px rgba(17, 24, 20, .08); }
.search-box input { color: var(--l-ink); }
.search-box input::placeholder { color: #8A918B; }
.search-ico { color: #59615A; }
.search-box .btn { border-radius: 999px; }

/* hero numbers and page-head stats: soft grey tiles */
.hero-stats > div, .stat { background: var(--l-soft); border-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
.hero-stats dd, .stat dd { color: var(--l-ink); }
.hero-stats dt, .stat dt { color: #59615A; }
.stat-best { background: var(--l-lime); }
.stat-best dt, .stat-best dd { color: #13200A; }
.detail-head .share .btn:not(.btn-wa) { background: #fff; color: var(--l-ink); border-color: var(--l-line); }
.detail-head .share .btn:not(.btn-wa):hover { background: var(--l-soft); }
.detail-head .share [data-save][aria-pressed="true"], .detail-head .share [data-compare][aria-pressed="true"] { background: var(--l-ink); color: #fff; border-color: var(--l-ink); }
.variants-nav a { color: #59615A; background: #fff; border-color: var(--l-line); }
.variants-nav a:hover { color: var(--l-ink); border-color: #D5D9D0; }
.variants-nav a[aria-current="page"] { background: var(--l-ink); color: #fff; border-color: var(--l-ink); }

/* cards: no outline, soft shadow, rounder */
.card, .steps li, .tile { border-color: transparent; box-shadow: var(--shadow); }
.card:hover { box-shadow: var(--shadow-lift); }
/* admin: tiles that need attention keep their ring */
.tile-hot, .tile-hot:hover { border-color: var(--l-green); box-shadow: 0 0 0 2px var(--l-lime), var(--shadow); }
/* what was orange or teal in the old palette: focus glow, the best offer's rim and glow, the light under the pointer */
input:focus, select:focus, textarea:focus { box-shadow: 0 0 0 4px rgba(166, 226, 46, .3); }
.search, .search:focus-within { background: none; border-color: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.offer.is-best { box-shadow: 0 24px 60px -28px rgba(62, 155, 18, .45); }
.card::before { background: none; }
/* form fields and dashed chips need an outline that can be seen on white */
input, select, textarea { border-color: #8A918B; }
.search-box input { border: 0; }
.dir-chip { border-color: #B4BAB1; }

/* the trust band: soft grey instead of midnight */
.trust { background: var(--l-soft); color: var(--l-ink); }
.trust::before, .trust::after { display: none !important; }
.trust h2 { color: var(--l-ink); }
.trust-grid div { background: #fff; border-color: transparent; box-shadow: var(--shadow); }
.trust-grid strong { color: var(--l-ink); }
.trust-grid p { color: #59615A; }

/* footer: soft grey, dark text */
.site-footer { background: var(--l-soft); color: #59615A; }
.site-footer::before, .site-footer::after { display: none !important; }
.site-footer a { color: var(--l-ink); }
.footer-nav a:hover { color: var(--l-green2); text-decoration: underline; }
.site-footer .logo, .site-footer .logo b { color: var(--l-ink); }

/* the compare bar stays a dark pill */
.compare-bar { background: var(--l-ink); color: #fff; }
.compare-bar .btn:not(.btn-accent) { color: #fff; border-color: rgba(255, 255, 255, .25); }
.plogo-letter { color: #fff; }

/* ---- motion extras (the home page's): a light round the search box, a light under the pointer (the reading line is app.css's own) ---- */
@property --l-a { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
.card { position: relative; }
.card::after { content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 0; -webkit-mask: none; mask: none; background: radial-gradient(280px circle at var(--l-mx, 50%) var(--l-my, 0%), rgba(166, 226, 46, .2), transparent 62%); opacity: 0; transition: opacity .35s; pointer-events: none; }
@media (prefers-reduced-motion: no-preference) {
  @keyframes l-shine { to { background-position: -200% 0; } }
  @keyframes l-spin { to { --l-a: 360deg; } }
  .grad-text { animation: l-shine 5s linear 1.2s infinite; }
  .search-box::before { content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 2px; pointer-events: none;
    background: conic-gradient(from var(--l-a), transparent 0 58%, var(--l-lime) 76%, #2E9A14 88%, transparent 100%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
    opacity: .55; transition: opacity .4s; animation: l-spin 5s linear infinite; }
  .search-box:focus-within::before { opacity: 1; animation-duration: 2.2s; }
  .card:hover::after { opacity: 1; }
}
