:root {
  --ink: #0b1220;
  --ink-2: #101a2e;
  --ink-3: #16233c;
  --paper: #f8fafc;
  --surface: #ffffff;
  --line: #e2e8f0;
  --muted: #64748b;
  --accent: #0284c7;
  --accent-2: #0ea5e9;
  --accent-3: #22d3ee;
  --danger: #e11d48;
  --radius: 18px;
  --shadow: 0 24px 60px -24px rgba(2, 32, 71, 0.28);
}

html { scroll-behavior: smooth; }
body { text-rendering: optimizeLegibility; }
img { max-width: 100%; display: block; }

.container-x { width: 100%; max-width: 76rem; margin-inline: auto; padding-inline: 1.25rem; }
@media (min-width: 1024px) { .container-x { padding-inline: 2rem; } }

.font-display { font-family: "Space Grotesk", sans-serif; }

/* ---------- Typography ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .72rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before { content: ""; width: 1.75rem; height: 2px; background: var(--accent-2); display: inline-block; }
.eyebrow--light { color: var(--accent-3); }
.eyebrow--light::before { background: var(--accent-3); }

.h-display {
  font-family: "Space Grotesk", sans-serif; font-weight: 700;
  letter-spacing: -0.03em; line-height: 1.05; color: var(--ink);
}
.h-section {
  font-family: "Space Grotesk", sans-serif; font-weight: 700;
  letter-spacing: -0.02em; line-height: 1.12; color: var(--ink);
  font-size: clamp(1.6rem, 3.4vw, 2.5rem);
}
.on-dark .h-display, .on-dark .h-section, .on-dark h1, .on-dark h2, .on-dark h3 { color: #f1f5f9; }
.lead { color: var(--muted); font-size: 1.05rem; line-height: 1.75; }
.on-dark .lead, .on-dark p { color: #94a3b8; }
.text-accent { color: var(--accent-2); }

.link-inline {
  color: var(--accent); font-weight: 600; text-decoration: underline;
  text-decoration-color: rgba(2, 132, 199, .35); text-underline-offset: 3px;
  transition: color .2s ease, text-decoration-color .2s ease;
}
.link-inline:hover { color: #075985; text-decoration-color: #075985; }
.on-dark .link-inline { color: var(--accent-3); }
.on-dark .link-inline:hover { color: #67e8f9; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  font-weight: 600; font-size: .95rem; line-height: 1; cursor: pointer;
  padding: .95rem 1.7rem; border-radius: 999px; border: 1px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: linear-gradient(120deg, #0284c7, #0ea5e9 60%, #22d3ee); color: #fff;
  box-shadow: 0 14px 30px -12px rgba(14, 165, 233, .55);
}
.btn-primary:hover { box-shadow: 0 18px 40px -14px rgba(14, 165, 233, .7); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--accent-2); color: var(--accent); }
.btn-light { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.25); backdrop-filter: blur(8px); }
.btn-light:hover { background: rgba(255,255,255,.2); }
.btn-clip {
  border-radius: 0;
  clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
}

/* ---------- Chips & badges ---------- */
.chip {
  display: inline-flex; align-items: center; gap: .4rem; padding: .35rem .8rem;
  font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  border-radius: 999px; background: var(--accentsoft, #e0f2fe); color: #0369a1;
}
.chip-dark { background: rgba(14,165,233,.15); color: #7dd3fc; border: 1px solid rgba(125,211,252,.25); }
.badge-live {
  display: inline-flex; align-items: center; gap: .45rem; padding: .4rem .85rem;
  background: var(--danger); color: #fff; font-size: .7rem; font-weight: 800; letter-spacing: .15em;
  border-radius: 6px;
}
.badge-live::before { content: ""; width: .5rem; height: .5rem; border-radius: 50%; background: #fff; animation: pulse 1.2s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .3; } }

/* ---------- Cards ---------- */
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 10px 30px -18px rgba(15, 23, 42, .18);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #bae6fd; }
.card-hud {
  position: relative; background: rgba(255,255,255,.05); border: 1px solid rgba(148,163,184,.22);
  backdrop-filter: blur(14px); border-radius: var(--radius);
}
.card-hud::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(135deg, rgba(125,211,252,.16), transparent 45%);
}
.card-glass {
  background: rgba(255,255,255,.75); backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.6); border-radius: var(--radius);
  box-shadow: 0 16px 40px -20px rgba(15,23,42,.25);
}
.on-dark .card { background: rgba(255,255,255,.04); border-color: rgba(148,163,184,.18); }
.on-dark .card:hover { border-color: rgba(125,211,252,.5); }

/* ---------- Clip paths ---------- */
.clip-tr { clip-path: polygon(0 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%); }
.clip-bl { clip-path: polygon(0 0, 100% 0, 100% 100%, 18px 100%, 0 calc(100% - 18px)); }
.clip-tag { clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px); }
.clip-shelf { clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 0 100%); }
.clip-slant { clip-path: polygon(0 0, 100% 0, 92% 100%, 0% 100%); }
.clip-slant-r { clip-path: polygon(8% 0, 100% 0, 100% 100%, 0% 100%); }
.clip-hex { clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%); }
@media (max-width: 768px) {
  .clip-tr, .clip-bl, .clip-tag, .clip-shelf, .clip-slant, .clip-slant-r { clip-path: none; }
}

/* ---------- Media sections ---------- */
.bg-media { position: relative; overflow: hidden; }
.bg-media > video.bg-video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0;
}
.bg-media .bg-overlay { position: absolute; inset: 0; z-index: 1; }
.bg-media .bg-content { position: relative; z-index: 2; }
.bg-cover-center { background-size: cover; background-position: center; }
.overlay-deep { background: linear-gradient(180deg, rgba(11,18,32,.78), rgba(11,18,32,.55) 45%, rgba(11,18,32,.88)); }
.overlay-soft { background: linear-gradient(180deg, rgba(11,18,32,.55), rgba(11,18,32,.8)); }
.overlay-fade-t { background: linear-gradient(0deg, rgba(11,18,32,.9), transparent 65%); }

.section-dark { background: var(--ink); color: #e2e8f0; }
.section-dark p { color: #94a3b8; }
.section-pad { padding-block: clamp(3.5rem, 8vw, 6rem); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 60; }
.header-topbar { background: var(--ink); color: #cbd5e1; font-size: .78rem; }
.header-topbar-inner { display: flex; justify-content: space-between; gap: 1rem; padding-block: .45rem; }
.header-topbar-left, .header-topbar-right { display: flex; gap: 1.4rem; }
.header-contact-item { display: inline-flex; align-items: center; gap: .45rem; white-space: nowrap; }
.header-contact-item i { color: var(--accent-3); font-size: .72rem; }
.header-mainbar {
  background: rgba(255,255,255,.86); backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226,232,240,.9);
}
.header-mainbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.25rem; }
.header-logo img { height: 2.6rem; width: auto; }
.header-nav-list { display: flex; align-items: center; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.header-nav-link {
  display: inline-block; padding: .55rem .72rem; font-size: .85rem; font-weight: 600;
  color: #334155; border-radius: .6rem; transition: color .2s, background .2s;
}
.header-nav-link:hover { color: var(--accent); background: #f0f9ff; }
.header-nav-link-accent { color: var(--accent); background: #f0f9ff; border: 1px solid #bae6fd; margin-left: .25rem; }
.header-nav-link-accent:hover { background: #e0f2fe; color: #075985; }
.header-burger {
  display: none; width: 2.75rem; height: 2.75rem; border-radius: .8rem;
  background: var(--ink); color: #fff; font-size: 1.05rem;
}
.mobile-menu {
  display: none; background: rgba(255,255,255,.97); backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
}
.mobile-menu.open { display: block; }
.mobile-nav-list { list-style: none; margin: 0; padding: .75rem 1.25rem; }
.mobile-nav-list a {
  display: block; padding: .8rem .5rem; font-weight: 600; color: #1e293b;
  border-bottom: 1px solid #f1f5f9;
}
.mobile-nav-list a:hover { color: var(--accent); }
.mobile-contacts { display: flex; flex-direction: column; gap: .55rem; padding: 1rem 1.75rem 1.5rem; font-size: .85rem; color: #475569; }
@media (max-width: 1180px) {
  .header-nav { display: none; }
  .header-burger { display: inline-flex; align-items: center; justify-content: center; }
}
@media (max-width: 860px) {
  .header-topbar-left { flex-direction: column; gap: .2rem; }
  .header-topbar-right { display: none; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #cbd5e1; padding: clamp(3rem,6vw,4.5rem) 0 2rem; margin-top: auto; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1.2fr; gap: 2.5rem; }
.footer-logo img { height: 2.8rem; width: auto; margin-bottom: 1rem; }
.footer-desc { color: #94a3b8; font-size: .9rem; line-height: 1.7; max-width: 24rem; }
.footer-socials { display: flex; gap: .6rem; margin-top: 1.4rem; }
.footer-socials a {
  width: 2.5rem; height: 2.5rem; display: inline-flex; align-items: center; justify-content: center;
  border-radius: .75rem; background: rgba(255,255,255,.06); color: #e2e8f0; font-size: .95rem;
  transition: background .2s, transform .2s;
}
.footer-socials a:hover { background: var(--accent); transform: translateY(-2px); }
.footer-heading { font-family: "Space Grotesk", sans-serif; color: #f1f5f9; font-size: .95rem; font-weight: 700; margin-bottom: 1.1rem; }
.footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .55rem; }
.footer-links a { color: #94a3b8; font-size: .88rem; transition: color .2s, padding-left .2s; }
.footer-links a:hover { color: #7dd3fc; padding-left: .3rem; }
.footer-contact { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .75rem; font-size: .88rem; }
.footer-contact li { display: flex; align-items: flex-start; gap: .65rem; color: #94a3b8; }
.footer-contact i { color: var(--accent-3); margin-top: .2rem; }
.footer-contact a { color: #cbd5e1; text-decoration: underline; text-decoration-color: rgba(125,211,252,.4); text-underline-offset: 3px; }
.footer-contact a:hover { color: #7dd3fc; }
.footer-legal { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(148,163,184,.15); display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem; }
.footer-company { font-size: .78rem; color: #64748b; }
.footer-copy { font-size: .78rem; color: #64748b; }
@media (max-width: 1024px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .footer-grid { grid-template-columns: 1fr; gap: 2rem; } }

/* ---------- Hero slider ---------- */
.hero-slider { position: relative; min-height: min(88vh, 52rem); display: flex; align-items: stretch; overflow: hidden; background: var(--ink); }
.hero-slide {
  position: absolute; inset: 0; display: flex; align-items: center;
  opacity: 0; pointer-events: none; transition: opacity .8s ease;
}
.hero-slide.active { opacity: 1; pointer-events: auto; position: relative; }
.hero-slide .slide-media { position: absolute; inset: 0; z-index: 0; }
.hero-slide .slide-media video, .hero-slide .slide-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-slide .slide-overlay { position: absolute; inset: 0; z-index: 1; }
.hero-slide .slide-content { position: relative; z-index: 2; width: 100%; }
.hero-slide { min-height: inherit; }
.hero-slider .hero-slide.active { position: absolute; }
.hero-slider { }
.hero-nav {
  position: absolute; z-index: 10; top: 50%; transform: translateY(-50%);
  width: 3rem; height: 3rem; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.1); color: #fff; border: 1px solid rgba(255,255,255,.3); backdrop-filter: blur(8px);
  transition: background .2s;
}
.hero-nav:hover { background: rgba(14,165,233,.6); }
.hero-prev { left: 1.25rem; } .hero-next { right: 1.25rem; }
.hero-dots { position: absolute; z-index: 10; bottom: 1.6rem; left: 50%; transform: translateX(-50%); display: flex; gap: .55rem; }
.hero-dot { width: 2.2rem; height: .3rem; border-radius: 99px; background: rgba(255,255,255,.25); transition: background .3s; }
.hero-dot.active { background: var(--accent-3); }
@media (max-width: 768px) { .hero-nav { display: none; } .hero-slider { min-height: 34rem; } }

/* ---------- Ticker ---------- */
.ticker { overflow: hidden; position: relative; }
.ticker-track { display: flex; gap: 2.5rem; width: max-content; animation: ticker 32s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.ticker-item { display: inline-flex; align-items: center; gap: .6rem; white-space: nowrap; font-size: .85rem; font-weight: 600; }

/* ---------- Grids ---------- */
.grid-2 { display: grid; gap: 1.5rem; grid-template-columns: repeat(2, 1fr); }
.grid-3 { display: grid; gap: 1.5rem; grid-template-columns: repeat(3, 1fr); }
.grid-4 { display: grid; gap: 1.5rem; grid-template-columns: repeat(4, 1fr); }
.bento { display: grid; gap: 1.25rem; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(9rem, auto); }
.bento-xl { grid-column: span 2; grid-row: span 2; }
.bento-w { grid-column: span 2; }
.bento-t { grid-row: span 2; }
@media (max-width: 1024px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .bento { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4, .bento { grid-template-columns: 1fr; }
  .bento-xl, .bento-w, .bento-t { grid-column: auto; grid-row: auto; }
}
.scroll-x { display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: .5rem; -webkit-overflow-scrolling: touch; }
.scroll-x > * { scroll-snap-align: start; flex: 0 0 auto; }
.scroll-x::-webkit-scrollbar { height: .4rem; }
.scroll-x::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 99px; }

/* ---------- Accordion / FAQ ---------- */
.acc-item { border: 1px solid var(--line); border-radius: 1rem; background: var(--surface); overflow: hidden; transition: border-color .25s, box-shadow .25s; }
.acc-item + .acc-item { margin-top: .8rem; }
.acc-item.open { border-color: #7dd3fc; box-shadow: 0 12px 30px -18px rgba(14,165,233,.4); }
.acc-head {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.15rem 1.4rem; text-align: left; font-weight: 600; font-size: 1rem; color: var(--ink); cursor: pointer;
}
.acc-head i { color: var(--accent-2); transition: transform .3s; flex-shrink: 0; }
.acc-item.open .acc-head i { transform: rotate(45deg); }
.on-dark .acc-item { background: rgba(255,255,255,.04); border-color: rgba(148,163,184,.18); }
.on-dark .acc-head { color: #e2e8f0; }
.acc-body { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.acc-body-inner { padding: 0 1.4rem 1.3rem; color: var(--muted); font-size: .95rem; line-height: 1.7; }
.on-dark .acc-body-inner { color: #94a3b8; }

/* ---------- Tabs ---------- */
.tabs-nav { display: flex; gap: .5rem; flex-wrap: wrap; }
.tab-btn {
  padding: .6rem 1.2rem; border-radius: 999px; font-size: .85rem; font-weight: 600;
  border: 1px solid var(--line); color: #475569; background: var(--surface); cursor: pointer;
  transition: all .2s;
}
.tab-btn.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fadeIn .35s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- Vote / progress ---------- */
.progress { height: .55rem; border-radius: 99px; background: #e2e8f0; overflow: hidden; }
.progress-fill { height: 100%; border-radius: 99px; background: linear-gradient(90deg, #0284c7, #22d3ee); transition: width .8s cubic-bezier(.22,1,.36,1); }
.vote-card { position: relative; overflow: hidden; border-radius: var(--radius); }

/* ---------- Forms ---------- */
.field label { display: block; font-size: .82rem; font-weight: 600; color: #334155; margin-bottom: .45rem; }
.field input, .field select, .field textarea {
  width: 100%; padding: .85rem 1rem; border-radius: .8rem; border: 1px solid var(--line);
  background: #fff; font-size: .95rem; color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent-2); box-shadow: 0 0 0 4px rgba(14,165,233,.15);
}
.field .field-error { display: none; font-size: .78rem; color: var(--danger); margin-top: .4rem; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--danger); }
.field.invalid .field-error { display: block; }
.form-honeypot { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.spinner {
  width: 1.1rem; height: 1.1rem; border-radius: 50%; border: 2px solid rgba(255,255,255,.4);
  border-top-color: #fff; animation: spin .8s linear infinite; display: none;
}
.is-loading .spinner { display: inline-block; }
.is-loading .btn-label { opacity: .7; }
@keyframes spin { to { transform: rotate(360deg); } }
.iti { width: 100%; }
.iti__selected-country { border-radius: .8rem 0 0 .8rem; }
.consent-row { display: flex; gap: .7rem; align-items: flex-start; font-size: .82rem; line-height: 1.55; color: var(--muted); cursor: pointer; }
.consent-row input { width: 1.05rem; height: 1.05rem; margin-top: .15rem; accent-color: var(--accent); flex-shrink: 0; cursor: pointer; }
.field.invalid .consent-row { color: var(--danger); }
.field.invalid .consent-row input { outline: 2px solid var(--danger); outline-offset: 1px; }
.ac-list {
  position: absolute; top: calc(100% + .35rem); left: 0; right: 0; z-index: 40;
  background: var(--surface); border: 1px solid var(--line); border-radius: .8rem;
  box-shadow: 0 18px 40px -18px rgba(15,23,42,.35); overflow: hidden; display: none;
}
.ac-list.open { display: block; }
.ac-item {
  display: block; width: 100%; text-align: left; padding: .65rem 1rem; font-size: .9rem;
  color: var(--ink); background: none; border: 0; cursor: pointer; transition: background .15s, color .15s;
}
.ac-item:hover { background: #f0f9ff; color: var(--accent); }

/* ---------- Toast ---------- */
.toast {
  position: fixed; bottom: 1.5rem; left: 50%; transform: translate(-50%, 120%);
  background: var(--ink); color: #f1f5f9; padding: 1rem 1.5rem; border-radius: .9rem;
  border: 1px solid rgba(125,211,252,.35); box-shadow: var(--shadow); z-index: 100;
  display: flex; align-items: center; gap: .7rem; font-size: .9rem; max-width: min(92vw, 28rem);
  transition: transform .4s cubic-bezier(.22,1,.36,1);
}
.toast.show { transform: translate(-50%, 0); }
.toast i { color: var(--accent-3); }

/* ---------- Cookie banner ---------- */
#cookie-banner {
  display: none; position: fixed; z-index: 90; bottom: 1.25rem; right: 1.25rem;
  width: min(26rem, calc(100vw - 2.5rem)); background: rgba(255,255,255,.92); backdrop-filter: blur(18px);
  border: 1px solid var(--line); border-radius: 1.25rem; box-shadow: var(--shadow);
  padding: 1.4rem; flex-direction: column; gap: 1rem;
}
#cookie-banner .cookie-title { font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 1rem; color: var(--ink); display: flex; align-items: center; gap: .55rem; }
#cookie-banner .cookie-title i { color: var(--accent-2); }
#cookie-banner p { font-size: .83rem; color: var(--muted); line-height: 1.6; margin: 0; }
#cookie-banner .cookie-actions { display: flex; gap: .6rem; }
#cookie-banner .cookie-actions button { flex: 1; }

/* ---------- Timeline ---------- */
.timeline { position: relative; padding-left: 2rem; }
.timeline::before { content: ""; position: absolute; left: .45rem; top: .4rem; bottom: .4rem; width: 2px; background: linear-gradient(180deg, #7dd3fc, #e2e8f0); }
.timeline-item { position: relative; padding-bottom: 1.8rem; }
.timeline-item::before {
  content: ""; position: absolute; left: -1.75rem; top: .35rem; width: .8rem; height: .8rem;
  border-radius: 50%; background: var(--accent-2); border: 3px solid #fff; box-shadow: 0 0 0 3px rgba(14,165,233,.25);
}

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; border-radius: 1rem; border: 1px solid var(--line); }
.table { width: 100%; border-collapse: collapse; font-size: .9rem; min-width: 34rem; }
.table th { background: #f1f5f9; text-align: left; padding: .85rem 1.1rem; font-weight: 700; color: #334155; font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; }
.table td { padding: .9rem 1.1rem; border-top: 1px solid #f1f5f9; color: #475569; }
.table tr:hover td { background: #f8fafc; }

/* ---------- Decor ---------- */
.stat-num { font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: clamp(2rem, 4.5vw, 3rem); color: var(--ink); }
.on-dark .stat-num { color: #fff; }
.dot-sep::before { content: "•"; margin: 0 .5rem; color: var(--accent-2); }
.divider-glow { height: 1px; background: linear-gradient(90deg, transparent, rgba(14,165,233,.6), transparent); }
.img-frame { border-radius: var(--radius); overflow: hidden; position: relative; }
.img-frame img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.img-frame:hover img { transform: scale(1.05); }
.float-y { animation: floatY 5s ease-in-out infinite; }
@keyframes floatY { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ---------- Compare slider ---------- */
.compare { position: relative; overflow: hidden; border-radius: var(--radius); user-select: none; touch-action: none; }
.compare img { width: 100%; height: 100%; object-fit: cover; display: block; }
.compare .compare-after { position: absolute; inset: 0; overflow: hidden; }
.compare .compare-handle {
  position: absolute; top: 0; bottom: 0; width: 3px; background: #fff; cursor: ew-resize; z-index: 5;
  box-shadow: 0 0 20px rgba(14,165,233,.8);
}
.compare .compare-handle::after {
  content: "\f337"; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%); width: 2.6rem; height: 2.6rem; border-radius: 50%;
  background: var(--accent-2); color: #fff; display: flex; align-items: center; justify-content: center; font-size: .9rem;
}

/* ---------- Quiz ---------- */
.quiz-option {
  display: block; width: 100%; text-align: left; padding: 1rem 1.3rem; border-radius: 1rem;
  border: 1px solid var(--line); background: var(--surface); font-weight: 600; color: var(--ink);
  transition: all .2s; cursor: pointer;
}
.quiz-option:hover { border-color: var(--accent-2); background: #f0f9ff; transform: translateY(-2px); }
.quiz-option + .quiz-option { margin-top: .7rem; }

/* ---------- Back to top ---------- */
.back-top {
  position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 80; width: 3rem; height: 3rem;
  border-radius: 50%; background: var(--ink); color: #fff; display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transform: translateY(10px); transition: all .3s; border: 1px solid rgba(125,211,252,.3);
}
.back-top.show { opacity: 1; pointer-events: auto; transform: none; }
.back-top:hover { background: var(--accent); }

/* ---------- News filter ---------- */
.filter-tag {
  padding: .45rem 1rem; border-radius: 999px; font-size: .8rem; font-weight: 600; cursor: pointer;
  background: #fff; border: 1px solid var(--line); color: #475569; transition: all .2s;
}
.filter-tag.active, .filter-tag:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- Misc ---------- */
.section-num {
  font-family: "Space Grotesk", sans-serif; font-size: .75rem; font-weight: 700; color: #94a3b8;
  letter-spacing: .2em;
}
.icon-tile {
  width: 3rem; height: 3rem; border-radius: .9rem; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #e0f2fe, #f0f9ff); color: var(--accent); font-size: 1.15rem; flex-shrink: 0;
}
.on-dark .icon-tile { background: rgba(14,165,233,.15); color: #7dd3fc; }
.marquee-v { writing-mode: vertical-rl; }
.w-richtext h2 { font-family: "Space Grotesk", sans-serif; font-size: 1.6rem; font-weight: 700; margin: 2.2rem 0 1rem; color: var(--ink); }
.w-richtext h3 { font-family: "Space Grotesk", sans-serif; font-size: 1.25rem; font-weight: 700; margin: 1.8rem 0 .8rem; color: var(--ink); }
.w-richtext p { margin: 1rem 0; line-height: 1.8; color: #475569; }
.w-richtext ul { margin: 1rem 0 1rem 1.2rem; list-style: disc; color: #475569; line-height: 1.8; }
.w-richtext blockquote {
  margin: 1.8rem 0; padding: 1.2rem 1.5rem; border-left: 4px solid var(--accent-2);
  background: #f0f9ff; border-radius: 0 1rem 1rem 0; font-style: italic; color: #075985;
}
.on-dark .w-richtext h2, .on-dark .w-richtext h3 { color: #f1f5f9; }
.on-dark .w-richtext p, .on-dark .w-richtext ul { color: #94a3b8; }

/* ---------- Mobile tweaks ---------- */
@media (max-width: 640px) {
  .btn { padding: .85rem 1.3rem; font-size: .88rem; }
  .toast { left: 1rem; right: 1rem; transform: translateY(120%); max-width: none; }
  .toast.show { transform: translateY(0); }
}
