/* Info pages (guides, statistics, calculator, advertise) — builds on styles.css tokens */
body.page-scroll { overflow: auto; }
body.page-scroll .topbar { position: sticky; top: 0; }
body.page-scroll .topbar-actions { margin-left: auto; }
.page-main { max-width: 1080px; margin: 0 auto; padding: 36px 20px 56px; display: grid; gap: 28px; }
.page-hero h1 { font-family: var(--display); font-weight: 800; font-size: 36px; line-height: 1.15; margin: 8px 0 12px; letter-spacing: -0.015em; }
.page-hero p { margin: 0; max-width: 720px; font-size: 16.5px; color: var(--muted); }
.page-hero .eyebrow { font-size: 12.5px; font-weight: 700; color: var(--brand); }
.page-note { margin: 0; font-size: 13px; color: var(--faint); }
.page-main h2 { font-family: var(--display); font-weight: 800; font-size: 22px; margin: 0 0 14px; }

/* Footer */
.page-foot { background: #0f1b33; color: rgba(255,255,255,.8); padding: 28px 20px; font-size: 14px; }
.page-foot-inner { max-width: 1080px; margin: 0 auto; display: grid; gap: 12px; }
.page-foot b { color: #fff; font-family: var(--display); }
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.foot-links a { color: #fff; text-decoration: none; font-weight: 600; }
.foot-links a:hover { color: var(--sun); }
.foot-data { font-size: 12.5px; color: rgba(255,255,255,.6); }

/* Guides */
.guide-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; }
.guide-card {
  display: grid; gap: 8px; align-content: start; padding: 18px; border-radius: 16px; text-decoration: none; color: var(--text);
  background: #fff; box-shadow: 0 6px 20px rgba(15,27,51,.08); border: 1px solid var(--line); transition: transform .12s, box-shadow .12s;
}
.guide-card:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(15,27,51,.14); border-color: rgba(29,78,216,.3); }
.guide-card b { font-family: var(--display); font-size: 17px; font-weight: 800; }
.guide-card span { color: var(--muted); font-size: 14px; }
.guide-ico { width: 40px; height: 40px; border-radius: 12px; display: inline-grid; place-items: center; background: var(--brand); color: #fff; flex: none; }
.guide-card .guide-ico { color: #fff; }
.guide-ico svg { width: 22px; height: 22px; }
.guide-articles { display: grid; gap: 22px; }
.guide { background: #fff; border-radius: 18px; padding: 26px 28px; box-shadow: 0 6px 20px rgba(15,27,51,.07); border: 1px solid var(--line); scroll-margin-top: 90px; }
.guide h2 { display: flex; align-items: center; gap: 12px; }
.guide-lead { font-size: 16px; color: var(--muted); margin: 0 0 12px; }
.guide h3 { font-size: 16px; margin: 18px 0 8px; }
.guide p, .guide li { font-size: 15.5px; line-height: 1.6; }
.guide ul, .guide ol { padding-left: 22px; display: grid; gap: 8px; }
.guide-tip { background: #fff7d6; border-left: 4px solid var(--sun); padding: 10px 14px; border-radius: 8px; }
.guide-top { display: inline-block; margin-top: 10px; font-size: 13px; font-weight: 600; text-decoration: none; }

/* Statistics */
.stat-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin: 0; }
.stat-tiles div { background: #fff; border-radius: 16px; padding: 16px 18px; box-shadow: 0 6px 20px rgba(15,27,51,.07); border: 1px solid var(--line); }
.stat-tiles dd { margin: 0; font-family: var(--display); font-weight: 800; font-size: 30px; color: var(--text); font-variant-numeric: tabular-nums; }
.stat-tiles dt { font-size: 13px; color: var(--muted); font-weight: 600; }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(420px, 1fr)); gap: 18px; }
.chart { background: #fff; border-radius: 18px; padding: 20px 22px; box-shadow: 0 6px 20px rgba(15,27,51,.07); border: 1px solid var(--line); }
.chart h2 { font-size: 17px; }
.bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.bar-row { display: grid; grid-template-columns: minmax(110px, 38%) 1fr auto; gap: 12px; align-items: center; padding: 5px 6px; border-radius: 8px; cursor: default; }
.bar-row:hover, .bar-row:focus-visible { background: var(--panel-2); }
.bar-label { font-size: 14px; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bar-track { height: 14px; display: flex; align-items: center; border-left: 1px solid var(--line-2); }
.bar { display: block; height: 12px; width: var(--w); min-width: 3px; background: var(--brand); border-radius: 0 4px 4px 0; }
.bar-val { font-size: 13.5px; font-weight: 700; color: var(--text); font-variant-numeric: tabular-nums; min-width: 2ch; text-align: right; }
.chart-table { margin-top: 10px; font-size: 13px; }
.chart-table summary { cursor: pointer; color: var(--brand); font-weight: 600; }
.chart-table table { width: 100%; border-collapse: collapse; margin-top: 8px; }
.chart-table th, .chart-table td { text-align: left; padding: 5px 4px; border-bottom: 1px solid var(--line); }
.chart-table td:last-child, .chart-table th:last-child { text-align: right; }
.chart-tip { position: absolute; z-index: 3000; background: var(--text); color: #fff; font-size: 12.5px; font-weight: 600; padding: 6px 10px; border-radius: 8px; pointer-events: none; box-shadow: var(--shadow); }
.stat-live { background: linear-gradient(120deg, #ecfdf5, #eff6ff); border-radius: 18px; padding: 20px 22px; border: 1px solid rgba(16,185,129,.25); }
.live-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 10px; }
.lt { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 4px 10px; background: #fff; border-radius: 14px; padding: 12px 16px; }
.lt .live-dot { grid-row: span 2; width: 12px; height: 12px; }
.lt b { font-family: var(--display); font-size: 28px; line-height: 1; }
.lt span:last-child { font-size: 13px; color: var(--muted); font-weight: 600; }

/* Calculator */
.calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px; align-items: start; }
.calc-form, .calc-out { background: #fff; border-radius: 18px; padding: 22px 24px; box-shadow: 0 6px 20px rgba(15,27,51,.08); border: 1px solid var(--line); display: grid; gap: 14px; }
.calc-form h2 { font-size: 17px; margin: 4px 0 0; }
.field { display: grid; gap: 6px; font-size: 13.5px; font-weight: 600; color: var(--muted); }
.field input, .field select, .field textarea {
  font: inherit; font-weight: 500; font-size: 15px; color: var(--text); padding: 10px 12px; border-radius: 10px;
  border: 1px solid var(--line-2); background: var(--panel-2); width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.field input[type=range] { padding: 0; accent-color: var(--brand); background: none; border: 0; box-shadow: none; }
.field output { font-family: var(--display); font-weight: 800; color: var(--brand); font-size: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field-hint { font-weight: 400; color: var(--faint); font-size: 12.5px; }
.calc-out { position: sticky; top: 90px; }
.calc-hero { border-radius: 14px; padding: 18px 20px; color: #fff; display: grid; gap: 4px; background: linear-gradient(120deg, #047857, #10b981); }
.calc-hero.neg { background: linear-gradient(120deg, #b45309, #f59e0b); }
.calc-hero b { font-family: var(--display); font-size: 38px; font-weight: 800; line-height: 1.1; }
.calc-hero span { font-size: 14px; opacity: .92; }
.calc-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cc { border-radius: 12px; padding: 12px 14px; display: grid; gap: 2px; background: var(--panel-2); border: 1px solid var(--line); }
.cc span { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.cc b { font-family: var(--display); font-size: 22px; }
.cc small { color: var(--faint); font-size: 12px; }
.cc.ev b { color: var(--accent-strong); }
.cc.petrol b { color: var(--warn-strong); }
.calc-bars { display: grid; gap: 6px; font-size: 13px; color: var(--muted); font-weight: 600; }
.calc-bars div { display: grid; grid-template-columns: 80px 1fr; align-items: center; gap: 10px; }
.cb { display: block; height: 14px; width: var(--w); border-radius: 0 4px 4px 0; }
.cb.ev { background: var(--accent); }
.cb.petrol { background: var(--warn); }
.calc-charge { margin: 0; font-size: 14px; color: var(--text); background: #eff6ff; padding: 10px 12px; border-radius: 10px; }
.calc-out .btn { justify-self: start; }

/* Advertise */
.adv-hero { background: linear-gradient(120deg, #0a2fa8 0%, #1d5bff 60%, #00b4d8 100%); color: #fff; border-radius: 22px; padding: 36px 34px; }
.adv-hero p { color: rgba(255,255,255,.9); }
.adv-hero .eyebrow { color: var(--sun); }
.adv-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin-bottom: 12px; }
.adv-card { background: #fff; border-radius: 16px; padding: 18px; border: 1px solid var(--line); box-shadow: 0 6px 20px rgba(15,27,51,.07); }
.adv-card h3 { margin: 10px 0 6px; font-size: 16px; }
.adv-card p { margin: 0; color: var(--muted); font-size: 14px; }
.adv-n { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--sun); color: #1a1f2e; font-weight: 800; }
.adv-form-wrap { background: #fff; border-radius: 18px; padding: 24px 26px; border: 1px solid var(--line); box-shadow: 0 6px 20px rgba(15,27,51,.08); }
.adv-form-wrap > p { color: var(--muted); margin: -6px 0 16px; }
.adv-form { display: grid; gap: 14px; max-width: 720px; }
.adv-form .btn { justify-self: start; min-width: 140px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-err { margin: 0; color: var(--danger-strong); font-weight: 600; font-size: 14px; }
.adv-done h3 { font-family: var(--display); color: var(--accent-strong); font-size: 22px; margin: 0 0 6px; }
.ad-page:empty { display: none; }

@media (max-width: 860px) {
  .calc { grid-template-columns: 1fr; }
  .calc-out { position: static; }
  .stat-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .page-hero h1 { font-size: 28px; }
  .field-row, .calc-compare { grid-template-columns: 1fr; }
  .live-tiles { grid-template-columns: 1fr; }
  .guide { padding: 20px 18px; }
  .adv-hero { padding: 26px 20px; }
}

/* Green theme on info pages (guides, calculator, statistics, advertise): Apple-like product pages —
   centred hero with large type, white cards with big radii on the grey canvas, generous spacing. */
.page-main { max-width: 1080px; padding: 64px 22px 88px; gap: 44px; }
.page-hero { text-align: center; max-width: 860px; margin: 0 auto; }
.page-hero .eyebrow { color: var(--brand); font-size: 17px; font-weight: 600; letter-spacing: -0.01em; text-transform: none; }
.page-hero h1 { font-size: 64px; line-height: 1.05; letter-spacing: -0.035em; color: var(--text); margin: 10px 0 18px; }
.page-hero p { font-size: 21px; line-height: 1.45; color: var(--muted); margin: 0 auto; max-width: 720px; letter-spacing: -0.015em; }
.page-main h2 { font-family: var(--display); font-weight: 700; font-size: 34px; letter-spacing: -0.03em; color: var(--text); }
.page-note { font-size: 14px; color: var(--faint); text-align: center; }

/* One card style everywhere */
.guide-card, .stat-tiles div, .chart, .guide, .calc-form, .calc-out, .adv-card, .adv-form-wrap {
  background: #fff; border: 0; border-radius: 28px; box-shadow: var(--card-shadow);
}

/* Guides */
.guide-cards { gap: 18px; }
.guide-card { padding: 28px; gap: 12px; }
.guide-card:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(0,0,0,.04), 0 18px 40px rgba(0,0,0,.1); }
.guide-card b { font-size: 22px; line-height: 1.2; color: var(--text); }
.guide-card span { font-size: 15px; line-height: 1.45; }
.guide-ico { width: 48px; height: 48px; border-radius: 14px; background: linear-gradient(135deg, #34d17a 0%, #00734f 100%); }
.guide-ico svg { width: 26px; height: 26px; }
.guide { padding: 44px 48px; }
.guide h2 { font-size: 32px; gap: 14px; }
.guide-lead { font-size: 19px; line-height: 1.5; }
.guide h3 { font-size: 19px; font-weight: 700; letter-spacing: -0.02em; }
.guide p, .guide li { font-size: 17px; line-height: 1.6; }
.guide-tip { background: #effaf4; border-left: 4px solid var(--brand); border-radius: 14px; padding: 14px 18px; }
.guide-top { color: var(--brand); }

/* Statistics */
.stat-tiles { gap: 16px; }
.stat-tiles div { padding: 26px 24px; }
.stat-tiles dd { font-size: clamp(34px, 3.6vw, 48px); line-height: 1; color: var(--text); white-space: nowrap; }
.stat-tiles dt { font-size: 15px; color: var(--muted); font-weight: 500; margin-top: 6px; }
.stat-grid { gap: 20px; }
.chart { padding: 28px; }
.chart h2 { font-size: 24px; }
.bar { background: var(--brand); height: 14px; }
.bar-label, .bar-val { font-size: 15px; }
.chart-table summary { color: var(--brand); }
.stat-live { background: linear-gradient(135deg, #effaf4 0%, #ffffff 100%); border: 0; border-radius: 28px; padding: 32px; box-shadow: var(--card-shadow); }
.lt { border-radius: 18px; padding: 16px 18px; box-shadow: var(--card-shadow); }
.lt b { font-size: 44px; }

/* Calculator */
.calc { gap: 24px; }
.calc-form, .calc-out { padding: 30px 32px; gap: 18px; }
.calc-form h2 { font-size: 22px; }
.field { font-size: 14px; font-weight: 500; }
.field input, .field select, .field textarea { border-radius: 12px; font-size: 17px; padding: 12px 14px; background: var(--panel-2); }
.field output { font-size: 28px; color: var(--brand); }
.calc-hero { border-radius: 22px; padding: 24px 26px; background: linear-gradient(135deg, #00734f 0%, #22b968 100%); }
.calc-hero b { font-size: 60px; line-height: 1; }
.calc-hero span { font-size: 15px; }
.cc { border: 0; background: var(--bg); border-radius: 18px; padding: 16px 18px; }
.cc b { font-size: 30px; }
.calc-charge { border-radius: 14px; background: #effaf4; font-size: 15px; padding: 14px 16px; }
.cb.ev { background: var(--brand); }

/* Advertise */
.adv-hero { background: linear-gradient(135deg, #1d1d1f 0%, #0b3b27 100%); border-radius: 32px; padding: 72px 48px; text-align: center; }
.adv-hero h1 { color: #fff; }
.adv-hero p { color: rgba(255,255,255,.78); }
.adv-hero .eyebrow { color: var(--brand-bright); }
.adv-grid { gap: 18px; }
.adv-card { padding: 28px; }
.adv-card h3 { font-size: 22px; color: var(--text); }
.adv-card p { font-size: 15px; line-height: 1.5; }
.adv-n { background: var(--brand); color: #fff; width: 34px; height: 34px; }
.adv-form-wrap { padding: 36px 40px; }
.adv-done h3 { font-size: 30px; color: var(--brand); }

/* Footer: light, quiet */
.page-foot { background: var(--bg); color: var(--muted); border-top: 1px solid var(--line); font-size: 13px; padding: 30px 22px 40px; }
.page-foot b { color: var(--text); font-family: var(--display); font-weight: 600; font-size: 15px; letter-spacing: -0.01em; }
.foot-links a { color: var(--text); font-weight: 500; }
.foot-links a:hover { color: var(--brand); }
.foot-data { color: var(--faint); }

@media (max-width: 760px) {
  .page-main { padding: 40px 18px 64px; gap: 32px; }
  .page-hero h1 { font-size: 44px; }
  .page-hero p { font-size: 18px; }
  .guide { padding: 28px 24px; }
  .adv-hero { padding: 48px 24px; }
  .calc-hero b { font-size: 46px; }
}
@media (max-width: 480px) {
  .page-hero h1 { font-size: 36px; }
  .stat-tiles dd { font-size: 40px; }
}

/* =====================================================================
   Info-page theme (2026-10-06): background shapes and smooth motion for guides, calculator, statistics
   and advertise (body.page). A soft green aurora and dot grid behind the hero, floating icon tiles, rings,
   a squircle and blobs in the margins, and a dotted "route" line running down the page behind the cards
   (markup: .page-stage > .page-decor in each page). Frosted pill eyebrow, gradient headline, layered soft
   shadows, gentle hover lift, and scroll reveal (js/reveal.js: [data-reveal] containers fade their
   children up, staggered; [data-reveal="self"] fades the element itself). Reveal uses the `translate`
   property and hover uses `transform`, so each keeps its own timing.
   ===================================================================== */
.page {
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --soft-shadow: 0 .5px 1px rgba(0, 0, 0, .03), 0 4px 12px rgba(0, 0, 0, .035), 0 18px 40px -16px rgba(0, 50, 30, .12);
  --lift-shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 10px 24px rgba(0, 0, 0, .06), 0 32px 60px -20px rgba(0, 60, 40, .22);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
}
html { scroll-behavior: smooth; }

/* Background layer */
.page-stage { position: relative; isolation: isolate; overflow: hidden; overflow: clip; }
.page-decor { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.page-decor > * { position: absolute; display: block; }
.sd-aurora {
  top: -120px; left: 0; right: 0; height: 900px;
  background:
    radial-gradient(38% 46% at 18% 24%, rgba(52, 209, 122, .30), transparent 70%),
    radial-gradient(34% 42% at 84% 14%, rgba(0, 170, 160, .20), transparent 70%),
    radial-gradient(50% 50% at 52% 58%, rgba(0, 115, 79, .10), transparent 72%);
  -webkit-mask-image: linear-gradient(#000 55%, transparent); mask-image: linear-gradient(#000 55%, transparent);
  animation: sd-drift 22s ease-in-out infinite alternate;
}
.sd-dots {
  top: 0; left: 0; right: 0; height: 640px;
  background-image: radial-gradient(rgba(0, 115, 79, .22) 1.2px, transparent 1.6px); background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(58% 60% at 50% 30%, #000, transparent 78%); mask-image: radial-gradient(58% 60% at 50% 30%, #000, transparent 78%);
}
.sd-ring { border-radius: 50%; }
.sd-ring-1 { top: 30px; left: calc(50% - 820px); width: 440px; height: 440px; border: 1.5px solid rgba(0, 115, 79, .16); box-shadow: 0 0 0 46px rgba(52, 209, 122, .05); }
.sd-ring-2 { top: 44%; right: calc(50% - 800px); width: 320px; height: 320px; border: 38px solid rgba(52, 209, 122, .09); }
.sd-blob { border-radius: 50%; }
.sd-blob-1 { top: 33%; left: calc(50% - 900px); width: 700px; height: 700px; background: radial-gradient(closest-side, rgba(0, 170, 160, .12), transparent); }
.sd-blob-2 { bottom: -200px; right: calc(50% - 860px); width: 760px; height: 760px; background: radial-gradient(closest-side, rgba(52, 209, 122, .16), transparent); }
.sd-squircle {
  top: 74%; left: calc(50% - 700px); width: 220px; height: 220px; border-radius: 60px; transform: rotate(18deg);
  background: linear-gradient(135deg, rgba(52, 209, 122, .18), rgba(0, 115, 79, .04));
}
.sd-route { top: 640px; left: 0; width: 100%; height: calc(100% - 760px); overflow: visible; }
.sd-route path {
  fill: none; stroke: rgba(0, 115, 79, .28); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1 13;
  vector-effect: non-scaling-stroke; animation: sd-route 40s linear infinite;
}
.sd-float {
  width: 62px; height: 62px; border-radius: 18px; display: grid; place-items: center;
  background: rgba(255, 255, 255, .82); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .05), 0 14px 34px rgba(0, 60, 40, .14);
  animation: sd-float 6s ease-in-out infinite alternate;
}
.sd-float svg { width: 30px; height: 30px; fill: none; stroke: var(--c, var(--brand)); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sd-f1 { top: 70px; left: calc(50% - 530px); transform: rotate(-9deg); }
.sd-f2 { top: 196px; left: calc(50% - 612px); width: 50px; height: 50px; border-radius: 15px; transform: rotate(7deg); animation-delay: -2s; }
.sd-f3 { top: 80px; right: calc(50% - 530px); transform: rotate(8deg); animation-delay: -4s; }
.sd-f4 { top: 206px; right: calc(50% - 612px); width: 50px; height: 50px; border-radius: 15px; transform: rotate(-6deg); animation-delay: -1s; }
.sd-f2 svg, .sd-f4 svg { width: 24px; height: 24px; }
.c-green { --c: #00734f; } .c-blue { --c: #1d4ed8; } .c-purple { --c: #6d28d9; } .c-amber { --c: #b45309; } .c-teal { --c: #0e7490; }
@keyframes sd-float { from { translate: 0 0; } to { translate: 0 -12px; } }
@keyframes sd-drift { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(2.5%, 18px, 0) scale(1.06); } }
@keyframes sd-route { to { stroke-dashoffset: -280; } }
@keyframes sd-pulse { 0% { box-shadow: 0 0 0 0 rgba(48, 209, 88, .55); } 100% { box-shadow: 0 0 0 12px rgba(48, 209, 88, 0); } }

/* Hero: frosted pill eyebrow, green-tinted gradient headline (the dark advertise hero keeps white type) */
.page .page-hero .eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 16px; border-radius: 980px; font-size: 15px;
  background: rgba(255, 255, 255, .72); border: 1px solid rgba(0, 115, 79, .16); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.page .page-hero .eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--brand-bright); box-shadow: 0 0 0 3px rgba(48, 209, 88, .22); }
.page .page-hero:not(.adv-hero) h1 {
  background: linear-gradient(115deg, #1d1d1f 25%, #00734f 70%, #22b968 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .08em;
}

/* Cards: layered soft shadows, gentle lift on the clickable ones */
.page :is(.guide-card, .guide, .calc-form, .calc-out, .adv-card, .adv-form-wrap) { box-shadow: var(--soft-shadow); }
.page [data-reveal] > *, .page [data-reveal="self"] {
  transition: opacity .7s var(--ease-out) var(--d, 0s), translate .9s var(--ease-out) var(--d, 0s),
    transform .45s var(--ease-out), box-shadow .45s var(--ease-out);
}
.page :is(.guide-card, .adv-card):hover { transform: translateY(-4px); box-shadow: var(--lift-shadow); }

/* Scroll reveal (only under html.reveal-on, which js/reveal.js sets when motion is allowed) */
.reveal-on [data-reveal]:not([data-reveal="self"]) > *, .reveal-on [data-reveal="self"] { opacity: 0; translate: 0 24px; }
.reveal-on [data-reveal].is-in:not([data-reveal="self"]) > *, .reveal-on [data-reveal="self"].is-in { opacity: 1; translate: 0 0; }
[data-reveal] > :nth-child(2) { --d: .07s; }
[data-reveal] > :nth-child(3) { --d: .14s; }
[data-reveal] > :nth-child(4) { --d: .21s; }
[data-reveal] > :nth-child(5) { --d: .28s; }
[data-reveal] > :nth-child(n+6) { --d: .32s; }

/* Advertise: the dark hero gets pulse rings and a green glow */
.page .adv-hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: radial-gradient(55% 80% at 85% 0%, rgba(48, 209, 88, .24), transparent 60%), linear-gradient(140deg, #0c2a1e 0%, #111a16 55%, #1d1d1f 100%);
  box-shadow: 0 2px 4px rgba(0, 0, 0, .06), 0 24px 50px rgba(0, 40, 25, .22);
}
.page .adv-hero::before, .page .adv-hero::after {
  content: ""; position: absolute; z-index: -1; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .10);
}
.page .adv-hero::before {
  top: -190px; right: -150px; width: 460px; height: 460px;
  box-shadow: 0 0 0 56px rgba(255, 255, 255, .025), 0 0 0 57px rgba(255, 255, 255, .07), 0 0 0 118px rgba(255, 255, 255, .02), 0 0 0 119px rgba(255, 255, 255, .05);
}
.page .adv-hero::after { bottom: -160px; left: -120px; width: 300px; height: 300px; box-shadow: 0 0 0 44px rgba(255, 255, 255, .02); }
.page .adv-hero .eyebrow { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .14); color: #7ee2a0; }

/* Calculator: a soft ring on the result card */
.page .calc-hero { position: relative; overflow: hidden; isolation: isolate; }
.page .calc-hero::after {
  content: ""; position: absolute; z-index: -1; top: -80px; right: -70px; width: 220px; height: 220px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .22); box-shadow: 0 0 0 34px rgba(255, 255, 255, .06), 0 0 0 35px rgba(255, 255, 255, .12);
}

/* =====================================================================
   Statistics page (2026-10-06): tinted stat tiles with icons, a dark live band with pulse rings, icon
   chips on chart headings, pill bars that grow in (speed bars use the map's tier colours).
   ===================================================================== */
.page-stats .stat-tiles div {
  --tint: #e6f4ee; --icon: none;
  position: relative; overflow: hidden; isolation: isolate; display: flex; flex-direction: column; padding: 22px 22px 24px;
}
.page-stats .stat-tiles div::before {
  content: ""; width: 42px; height: 42px; border-radius: 13px; margin-bottom: 18px; flex: none;
  background: var(--tint) var(--icon) center / 22px no-repeat;
}
.page-stats .stat-tiles div::after {
  content: ""; position: absolute; z-index: -1; right: -56px; bottom: -70px; width: 170px; height: 170px; border-radius: 50%;
  background: radial-gradient(closest-side, var(--tint) 0 58%, transparent 100%);
  transition: transform .6s var(--ease-out);
}
.page-stats .stat-tiles div:hover::after { transform: scale(1.18); }
.page-stats .stat-tiles dt .stat-sub { display: block; margin-top: 4px; font-size: 12.5px; font-weight: 500; color: var(--faint); line-height: 1.35; }
.page-stats .stat-tiles dd { font-size: clamp(32px, 3.1vw, 42px); letter-spacing: -0.03em; }
.page-stats .stat-tiles dd small { font-size: .46em; font-weight: 600; letter-spacing: -0.01em; color: var(--muted); margin-left: 4px; }
.page-stats .stat-tiles .st-stations { background: linear-gradient(150deg, #00734f 0%, #0b3b27 100%); }
.page-stats .st-stations dd, .page-stats .st-stations dd small { color: #fff; }
.page-stats .st-stations dt { color: rgba(255, 255, 255, .75); }
.page-stats .stat-tiles .st-stations { --tint: rgba(255, 255, 255, .13); --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-7-6.2-7-11.5a7 7 0 0 1 14 0C19 14.8 12 21 12 21z'/%3E%3Ccircle cx='12' cy='9.5' r='2.5'/%3E%3C/svg%3E"); }
.page-stats .stat-tiles .st-stations::after { width: 220px; height: 220px; right: -70px; bottom: -90px; background: radial-gradient(closest-side, rgba(255, 255, 255, .14) 0 55%, rgba(255, 255, 255, .05) 72%, transparent 100%); }
.page-stats .stat-tiles .st-ok { --tint: #e3f5ec; --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300734f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='m8 12.5 2.7 2.7L16.5 9'/%3E%3C/svg%3E"); }
.page-stats .stat-tiles .st-dc { --tint: #e8eefc; --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d4ed8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13 3 5 13.5h6L10 21l8-10.5h-6z'/%3E%3C/svg%3E"); }
.page-stats .stat-tiles .st-price { --tint: #fdf0dc; --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b45309' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 12.3V4.5a1 1 0 0 1 1-1h7.8l8.2 8.2a1.5 1.5 0 0 1 0 2.1l-6.7 6.7a1.5 1.5 0 0 1-2.1 0z'/%3E%3Ccircle cx='8' cy='8' r='1.6'/%3E%3C/svg%3E"); }
.page-stats .stat-tiles .st-power { --tint: #efe8fc; --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236d28d9' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.5 17a8 8 0 1 1 15 0'/%3E%3Cpath d='m12 15 4-5'/%3E%3C/svg%3E"); }
.page-stats .stat-tiles div, .page-stats .chart { box-shadow: var(--soft-shadow); }
.page-stats .stat-tiles div:hover { transform: translateY(-4px); box-shadow: var(--lift-shadow); }
.page-stats .chart:hover { box-shadow: var(--lift-shadow); }

/* Live band: dark, with concentric pulse rings in the corner */
.page-stats .stat-live {
  position: relative; overflow: hidden; isolation: isolate; color: #fff; padding: 36px;
  background:
    radial-gradient(60% 90% at 88% 10%, rgba(48, 209, 88, .26), transparent 60%),
    linear-gradient(140deg, #0c2a1e 0%, #111a16 55%, #1d1d1f 100%);
  box-shadow: 0 2px 4px rgba(0, 0, 0, .06), 0 24px 50px rgba(0, 40, 25, .22);
}
.page-stats .stat-live[hidden] { display: none; }
.page-stats .stat-live::before {
  content: ""; position: absolute; z-index: -1; top: -170px; right: -150px; width: 440px; height: 440px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .10);
  box-shadow: 0 0 0 56px rgba(255, 255, 255, .025), 0 0 0 57px rgba(255, 255, 255, .07), 0 0 0 118px rgba(255, 255, 255, .02), 0 0 0 119px rgba(255, 255, 255, .05);
}
.page-stats .stat-live h2 { color: #fff; margin-top: 10px; }
.live-badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: 980px; font-size: 13px; font-weight: 600;
  background: rgba(48, 209, 88, .16); color: #7ee2a0; letter-spacing: .02em;
}
.live-badge-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand-bright); animation: sd-pulse 1.8s ease-out infinite; }
.page-stats .lt { background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .10); box-shadow: none; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.page-stats .lt b { color: #fff; }
.page-stats .lt span:last-child { color: rgba(255, 255, 255, .68); }
.page-stats .lt .live-dot.free { background: var(--brand-bright); animation: sd-pulse 1.8s ease-out infinite; }
.page-stats .stat-live .page-note { color: rgba(255, 255, 255, .55); }

/* Charts: two-column layout without the empty stretched card, icon chip headings, pill bars */
.page-stats .stat-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto 1fr auto; grid-template-areas: "district network" "speed network" "plug plug"; align-items: start; }
.page-stats #c-district { grid-area: district; }
.page-stats #c-network { grid-area: network; }
.page-stats #c-speed { grid-area: speed; }
.page-stats #c-plug { grid-area: plug; }
.page-stats .chart { position: relative; overflow: hidden; isolation: isolate; }
.page-stats .chart::before {
  content: ""; position: absolute; z-index: -1; top: -90px; right: -90px; width: 220px; height: 220px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(52, 209, 122, .16), transparent);
}
.page-stats .chart h2 { display: flex; align-items: center; gap: 12px; }
.chart-ico { width: 38px; height: 38px; border-radius: 12px; display: inline-grid; place-items: center; flex: none; background: #e3f5ec; color: var(--brand); }
.chart-ico svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.page-stats .bars { gap: 6px; }
.page-stats .bar-row { transition: background-color .25s var(--ease-out); }
.page-stats .bar-track { height: 12px; border-left: 0; border-radius: 980px; background: #f1f1f4; box-shadow: inset 0 1px 1px rgba(0, 0, 0, .03); }
.page-stats .bar {
  height: 12px; min-width: 12px; border-radius: 980px; background: linear-gradient(90deg, #22b968, #00734f);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28); transform-origin: left center;
}
.page-stats .bar-row.sp-ultra .bar, .page-stats .bar-row.sp-rapid .bar,
.page-stats .bar-row.sp-fast .bar, .page-stats .bar-row.sp-slow .bar { background: var(--c); }
.page-stats .bar-row.na .bar { background: #c7c7cc; }
.page-stats .bar-row.is-cheapest .bar { background: linear-gradient(90deg, #30d158, #00a35f); }
.page-stats .bar-row.is-cheapest .bar-val { color: var(--brand); }
.page-stats .stat-prices .chart { background: linear-gradient(180deg, #effaf4 0, #fff 160px); }
.reveal-on .page-stats .bar { scale: 0 1; transition: scale 1.1s var(--ease-out) calc(var(--d, 0s) + .2s); }
.reveal-on .page-stats .is-in .bar { scale: 1 1; }

/* Bar tooltip fades in and out */
.page-stats .chart-tip {
  border-radius: 10px; padding: 7px 11px; background: rgba(29, 29, 31, .92); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  opacity: 0; visibility: hidden; translate: 0 4px;
  transition: opacity .18s ease, translate .25s var(--ease-out), visibility 0s linear .25s;
}
.page-stats .chart-tip.is-on { opacity: 1; visibility: visible; translate: 0 0; transition: opacity .18s ease, translate .25s var(--ease-out), visibility 0s; }

/* ---------- Privacy policy (privacy.html): one article per language, shown by <html lang> ---------- */
.legal-main { max-width: 900px; }
html:not([lang="mn"]) .legal[lang="mn"], html[lang="mn"] .legal[lang="en"] { display: none; }
.legal h1 { font-family: var(--display); font-weight: 800; font-size: clamp(30px, 5vw, 42px); letter-spacing: -0.03em; margin: 0 0 12px; }
.legal h2 { font-size: 22px; margin: 30px 0 10px; }
.legal-date { font-size: 14px; color: var(--muted); }
.legal-table { overflow-x: auto; margin: 6px 0 14px; }
.legal table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 15px; line-height: 1.45; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.legal th { font-weight: 700; background: #f4f8f6; }
.legal mark.fill { background: #fff1b8; color: #6b4e00; border-radius: 4px; padding: 0 4px; font-weight: 600; }

@media (max-width: 1180px) { .sd-float { display: none; } }
@media (max-width: 860px) {
  .page-stats .stat-grid { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; grid-template-areas: "district" "network" "speed" "plug"; }
  .sd-ring-1 { left: -260px; }
  .sd-ring-2, .sd-squircle { display: none; }
}
@media (max-width: 560px) {
  .page .page-hero .eyebrow { font-size: 13px; padding: 6px 12px; }
  .page-stats .stat-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .page-stats .stat-tiles div { padding: 18px 16px 20px; }
  .page-stats .stat-tiles div:first-child { grid-column: 1 / -1; }
  .page-stats .stat-tiles dd { font-size: 34px; }
  .page-stats .stat-live { padding: 26px 20px; }
  .page-stats .chart { padding: 22px 18px; }
  .page-stats .chart h2 { font-size: 20px; }
  .legal { padding: 26px 18px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .sd-float, .sd-aurora, .sd-route path, .live-badge-dot, .page-stats .lt .live-dot.free { animation: none; }
  .page :is(.guide-card, .adv-card):hover, .page-stats .stat-tiles div:hover, .page-stats .stat-tiles div:hover::after { transform: none; }
}
