/* ============================================================
   RoxVerify – Global Design System
   Dark institutional theme matching Rox Custody brand
   ============================================================ */

/* Inter is loaded via <link rel="preconnect"> + <link rel="stylesheet"> in each
   page <head> (see scripts/seo_inject.py) for faster, non-render-blocking fonts. */

:root {
  --bg:          #070914;
  --bg2:         #0c1022;
  --bg3:         #111829;
  --card:        #121a2e;
  --card-hover:  #192236;
  --border:      #1c2840;
  --border-lt:   #243050;

  --accent:      #2462eb;
  --accent-h:    #1a4fcf;
  --accent-glow: rgba(36, 98, 235, 0.18);
  --accent-soft: rgba(36, 98, 235, 0.10);
  --cyan:        #22d3ee;
  --cyan-soft:   rgba(34, 211, 238, 0.10);

  --text:        #eef2ff;
  --text2:       #8da3c8;
  --text3:       #536280;

  --green:       #10b981;
  --green-soft:  rgba(16, 185, 129, 0.12);
  --amber:       #f59e0b;
  --red:         #ef4444;

  --font:        'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --r:           12px;
  --r-sm:        8px;
  --r-lg:        20px;
  --shadow:      0 4px 24px rgba(0, 0, 0, 0.5);
  --shadow-card: 0 2px 16px rgba(0, 0, 0, 0.4);

  --nav-h:       68px;
  --max-w:       1200px;
  --max-w-sm:    800px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--accent-h); text-decoration: none; transition: color .2s; }
a:hover { color: var(--accent); }

img { max-width: 100%; display: block; }

/* ─── UTILITIES ─── */
.container  { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.container-sm { max-width: var(--max-w-sm); margin: 0 auto; padding: 0 24px; }

.text-accent  { color: var(--accent); }
.text-cyan    { color: var(--cyan); }
.text-muted   { color: var(--text2); }
.text-green   { color: var(--green); }
.text-center  { text-align: center; }

.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 12px; border-radius: 100px;
  font-size: .75rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  border: 1px solid var(--border-lt);
  background: var(--bg3); color: var(--text2);
}
.badge.accent { background: var(--accent-soft); border-color: rgba(36,98,235,.3); color: var(--accent); }
.badge.green  { background: var(--green-soft);  border-color: rgba(16,185,129,.3); color: var(--green); }
.badge.cyan   { background: var(--cyan-soft);   border-color: rgba(34,211,238,.3); color: var(--cyan); }

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 28px; border-radius: var(--r-sm);
  font-family: var(--font); font-size: .95rem; font-weight: 600;
  cursor: pointer; transition: all .2s; border: none; text-decoration: none;
}
.btn-primary {
  background: var(--accent); color: #fff;
  box-shadow: 0 0 24px rgba(36,98,235,.35);
}
.btn-primary:hover { background: var(--accent-h); color: #fff; box-shadow: 0 0 32px rgba(36,98,235,.5); transform: translateY(-1px); }
.btn-outline {
  background: transparent; color: var(--text);
  border: 1px solid var(--border-lt);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }
.btn-ghost {
  background: transparent; color: var(--text2); padding: 10px 16px;
}
.btn-ghost:hover { color: var(--text); background: var(--bg3); }
.btn-sm { padding: 8px 18px; font-size: .85rem; }
.btn-lg { padding: 15px 36px; font-size: 1.05rem; }

/* ─── NAVIGATION ─── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  height: var(--nav-h);
  background: rgba(7, 9, 20, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
}
.nav__inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 24px;
  height: 100%; display: flex; align-items: center; gap: 32px;
}
.nav__logo {
  display: flex; align-items: center; flex-shrink: 0;
}
.nav__logo img { height: 32px; width: auto;  }
.nav__links {
  display: flex; align-items: center; gap: 4px; flex: 1;
}
.nav__links a {
  padding: 8px 14px; border-radius: var(--r-sm);
  font-size: .9rem; font-weight: 500; color: var(--text2);
  transition: all .2s;
}
.nav__links a:hover { color: var(--text); background: var(--bg3); }
.nav__links a.active { color: var(--text); background: var(--card); }

.nav__dropdown { position: relative; }
.nav__dropdown-label {
  display: flex; align-items: center; gap: 4px;
  padding: 8px 14px; border-radius: var(--r-sm);
  font-size: .9rem; font-weight: 500; color: var(--text2);
  cursor: pointer; transition: all .2s;
}
.nav__dropdown-label:hover { color: var(--text); background: var(--bg3); }
.nav__dropdown-label svg { width: 14px; height: 14px; transition: transform .2s; }
.nav__dropdown:hover .nav__dropdown-label svg { transform: rotate(180deg); }

.nav__dropdown-menu {
  position: absolute; top: 100%; left: 0;
  min-width: 220px; padding: 8px;
  padding-top: 12px; /* bridge the gap so cursor doesn't leave the hover zone */
  background: var(--card); border: 1px solid var(--border-lt);
  border-radius: var(--r); box-shadow: var(--shadow);
  opacity: 0; pointer-events: none; transform: translateY(-4px);
  transition: opacity .15s, transform .15s;
  /* Invisible top extension so the menu doesn't close when crossing the gap */
  margin-top: 0;
}
/* Add a pseudo-element bridge between trigger and menu */
.nav__dropdown::after {
  content: ''; position: absolute; left: 0; right: 0;
  top: 100%; height: 12px; /* covers the gap */
}
.nav__dropdown:hover .nav__dropdown-menu { opacity: 1; pointer-events: all; transform: translateY(0); }
.nav__dropdown-menu a {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: var(--r-sm);
  font-size: .875rem; color: var(--text2);
}
.nav__dropdown-menu a:hover { color: var(--text); background: var(--bg3); }

.nav__actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }

.nav__hamburger {
  display: none; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: var(--r-sm);
  background: transparent; border: none; cursor: pointer; color: var(--text);
  margin-left: auto;
}
.nav__hamburger svg { width: 22px; height: 22px; }

.nav__mobile {
  display: none; position: fixed; top: var(--nav-h); left: 0; right: 0; bottom: 0;
  background: var(--bg); z-index: 800; padding: 24px;
  flex-direction: column; gap: 8px; overflow-y: auto;
}
.nav__mobile.open { display: flex; }
.nav__mobile a {
  padding: 14px 16px; border-radius: var(--r-sm);
  font-size: 1rem; color: var(--text2); border: 1px solid transparent;
}
.nav__mobile a:hover { color: var(--text); background: var(--card); border-color: var(--border); }
.nav__mobile .nav__mobile-section { font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--text3); padding: 16px 0 8px; }

/* ─── PAGE WRAPPER ─── */
.page { padding-top: var(--nav-h); }

/* ─── HERO ─── */
.hero {
  position: relative; overflow: hidden;
  padding: 100px 0 80px;
  text-align: center;
}
.hero__bg {
  position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(36,98,235,.12) 0%, transparent 70%),
              radial-gradient(ellipse 40% 30% at 80% 50%, rgba(34,211,238,.06) 0%, transparent 60%);
}
.hero__bg-grid {
  position: absolute; inset: 0; z-index: 0;
  background-image: linear-gradient(rgba(36,98,235,.04) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(36,98,235,.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 30%, transparent 100%);
}
.hero__content { position: relative; z-index: 1; }
.hero__eyebrow { margin-bottom: 20px; }
.hero__title {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800; line-height: 1.1; letter-spacing: -.02em;
  margin-bottom: 24px; color: var(--text);
}
.hero__title span { color: var(--accent); }
.hero__desc {
  font-size: 1.15rem; color: var(--text2); max-width: 620px;
  margin: 0 auto 36px; line-height: 1.7;
}
.hero__actions { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; }

/* ─── STATS BAR ─── */
.stats-bar {
  background: var(--card); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding: 28px 0;
}
.stats-bar__grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0; text-align: center;
}
.stats-bar__item {
  padding: 8px 20px;
  border-right: 1px solid var(--border);
}
.stats-bar__item:last-child { border-right: none; }
.stats-bar__value {
  font-size: 1.75rem; font-weight: 800; color: var(--text);
  line-height: 1.1; margin-bottom: 4px;
}
.stats-bar__label { font-size: .8rem; color: var(--text2); font-weight: 500; }

/* ─── SECTIONS ─── */
.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }
.section-lg { padding: 110px 0; }
.section__header { text-align: center; margin-bottom: 56px; }
.section__eyebrow { margin-bottom: 12px; }
.section__title {
  font-size: clamp(1.7rem, 3.5vw, 2.5rem);
  font-weight: 800; letter-spacing: -.02em;
  line-height: 1.15; margin-bottom: 16px;
}
.section__desc { font-size: 1.05rem; color: var(--text2); max-width: 580px; margin: 0 auto; line-height: 1.7; }

/* ─── CARDS ─── */
.card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--r); padding: 28px;
  transition: all .25s;
}
.card:hover { border-color: var(--border-lt); background: var(--card-hover); transform: translateY(-2px); box-shadow: var(--shadow-card); }
.card__icon {
  width: 48px; height: 48px; border-radius: var(--r-sm);
  background: var(--accent-soft); border: 1px solid rgba(36,98,235,.2);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px; color: var(--accent); font-size: 1.4rem;
}
.card__title { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; color: var(--text); }
.card__desc { font-size: .9rem; color: var(--text2); line-height: 1.65; }

/* ─── GRID LAYOUTS ─── */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }

/* ─── FEATURE LIST ─── */
.feature-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.feature-list li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: .95rem; color: var(--text2);
}
.feature-list li .check {
  flex-shrink: 0; width: 20px; height: 20px; border-radius: 50%;
  background: var(--green-soft); border: 1px solid rgba(16,185,129,.3);
  display: flex; align-items: center; justify-content: center;
  color: var(--green); font-size: .7rem; margin-top: 2px;
}

/* ─── TWO-COL SECTION ─── */
.two-col {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.two-col.reverse { direction: rtl; }
.two-col.reverse > * { direction: ltr; }
.two-col__text { display: flex; flex-direction: column; gap: 20px; }
.two-col__visual {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 32px;
  display: flex; flex-direction: column; gap: 16px;
}

/* ─── MODULE CARDS (country pages) ─── */
.module-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.module-card {
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: var(--r); padding: 20px;
}
.module-card__num {
  font-size: .75rem; font-weight: 700; color: var(--accent);
  letter-spacing: .08em; margin-bottom: 6px;
}
.module-card__title { font-size: .95rem; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.module-card__desc { font-size: .85rem; color: var(--text2); line-height: 1.6; }

/* ─── REGULATOR TAGS ─── */
.regulator-grid {
  display: flex; flex-wrap: wrap; gap: 10px;
}
.regulator-tag {
  padding: 8px 14px; border-radius: var(--r-sm);
  background: var(--bg3); border: 1px solid var(--border-lt);
  font-size: .82rem; font-weight: 600; color: var(--text2);
}
.regulator-tag strong { color: var(--text); display: block; font-size: .78rem; }

/* ─── COMPLIANCE TABLE ─── */
.compliance-list {
  display: flex; flex-direction: column; gap: 8px;
}
.compliance-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; background: var(--bg3);
  border: 1px solid var(--border); border-radius: var(--r-sm);
  font-size: .875rem; color: var(--text2);
}
.compliance-item::before {
  content: ''; flex-shrink: 0; width: 6px; height: 6px;
  border-radius: 50%; background: var(--accent);
}

/* ─── DOCS TAGS ─── */
.doc-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.doc-tag {
  padding: 6px 12px; border-radius: 100px;
  background: var(--accent-soft); border: 1px solid rgba(36,98,235,.25);
  font-size: .8rem; font-weight: 600; color: var(--accent);
}

/* ─── CTA SECTION ─── */
.cta-section {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, #0e1832 0%, #0c1220 100%);
  border: 1px solid var(--border-lt); border-radius: var(--r-lg);
  padding: 64px 48px; text-align: center; margin: 0 24px;
}
.cta-section::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 100%, rgba(36,98,235,.2) 0%, transparent 70%);
}
.cta-section > * { position: relative; z-index: 1; }
.cta-section__title { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; margin-bottom: 16px; }
.cta-section__desc { color: var(--text2); font-size: 1.05rem; margin-bottom: 32px; max-width: 520px; margin-left: auto; margin-right: auto; }
.cta-section__actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

/* ─── CERT BADGES ─── */
.cert-grid { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.cert-badge {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 18px; background: var(--bg3);
  border: 1px solid var(--border-lt); border-radius: var(--r-sm);
  font-size: .85rem; font-weight: 600; color: var(--text2);
}
.cert-badge .cert-icon {
  width: 32px; height: 32px; border-radius: var(--r-sm);
  background: var(--green-soft); border: 1px solid rgba(16,185,129,.3);
  display: flex; align-items: center; justify-content: center;
  color: var(--green); font-size: .9rem; flex-shrink: 0;
}

/* ─── COUNTRY CARDS ─── */
.country-card {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 20px; background: var(--card);
  border: 1px solid var(--border); border-radius: var(--r-sm);
  text-decoration: none; transition: all .2s;
}
.country-card:hover { border-color: var(--accent); background: var(--card-hover); transform: translateX(4px); }
.country-card__flag { font-size: 1.6rem; flex-shrink: 0; width: 32px; text-align: center; }
.country-card__name { font-size: .92rem; font-weight: 600; color: var(--text); }
.country-card__region { font-size: .78rem; color: var(--text2); }
.country-card__arrow { margin-left: auto; color: var(--text3); font-size: .75rem; }

/* ─── REGION SECTION ─── */
.region-group { margin-bottom: 40px; }
.region-group__title {
  font-size: .8rem; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: var(--text3);
  padding: 0 0 14px; margin-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.region-group__grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px;
}

/* ─── SEARCH BOX ─── */
.search-box {
  position: relative; max-width: 400px; margin: 0 auto 48px;
}
.search-box input {
  width: 100%; padding: 14px 18px 14px 48px;
  background: var(--card); border: 1px solid var(--border-lt);
  border-radius: var(--r); color: var(--text); font-family: var(--font);
  font-size: .95rem; outline: none; transition: all .2s;
}
.search-box input::placeholder { color: var(--text3); }
.search-box input:focus { border-color: var(--accent); background: var(--card-hover); box-shadow: 0 0 0 3px var(--accent-soft); }
.search-box__icon {
  position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
  color: var(--text3); font-size: .9rem;
}

/* ─── FOOTER ─── */
.footer {
  background: var(--bg2); border-top: 1px solid var(--border);
  padding: 60px 0 32px;
}
.footer__grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px;
  margin-bottom: 48px;
}
.footer__brand img { height: 28px; margin-bottom: 16px;  }
.footer__brand p { font-size: .9rem; color: var(--text2); line-height: 1.65; max-width: 260px; }
.footer__col-title {
  font-size: .8rem; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: var(--text3); margin-bottom: 16px;
}
.footer__links { display: flex; flex-direction: column; gap: 10px; }
.footer__links a { font-size: .9rem; color: var(--text2); transition: color .2s; }
.footer__links a:hover { color: var(--text); }
.footer__bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 24px; border-top: 1px solid var(--border);
  font-size: .82rem; color: var(--text3);
}
.footer__bottom a { color: var(--text3); }
.footer__bottom a:hover { color: var(--text2); }
.footer__certs { display: flex; gap: 10px; align-items: center; }
.footer__cert-pill {
  padding: 4px 10px; border-radius: 100px;
  background: var(--bg3); border: 1px solid var(--border);
  font-size: .72rem; font-weight: 600; color: var(--text3);
}

/* ─── PAGE HERO (inner pages) ─── */
.page-hero {
  padding: 72px 0 56px; border-bottom: 1px solid var(--border);
  position: relative; overflow: hidden;
}
.page-hero__bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 80% at 20% 50%, rgba(36,98,235,.08) 0%, transparent 60%),
              radial-gradient(ellipse 40% 50% at 80% 20%, rgba(34,211,238,.05) 0%, transparent 60%);
}
.page-hero__content { position: relative; z-index: 1; }
.page-hero__title {
  font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800;
  letter-spacing: -.02em; margin: 12px 0 16px;
}
.page-hero__desc { font-size: 1.1rem; color: var(--text2); max-width: 560px; line-height: 1.7; }

/* ─── BREADCRUMB ─── */
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: .83rem; color: var(--text3); margin-bottom: 12px;
}
.breadcrumb a { color: var(--text3); }
.breadcrumb a:hover { color: var(--text2); }
.breadcrumb span { color: var(--text2); }

/* ─── FLOW STEPS ─── */
.flow-steps { display: flex; flex-direction: column; gap: 0; }
.flow-step {
  display: flex; gap: 20px; align-items: flex-start;
  padding: 24px 0; border-bottom: 1px solid var(--border);
}
.flow-step:last-child { border-bottom: none; }
.flow-step__num {
  flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%;
  background: var(--accent-soft); border: 1px solid rgba(36,98,235,.3);
  display: flex; align-items: center; justify-content: center;
  font-size: .85rem; font-weight: 800; color: var(--accent);
}
.flow-step__title { font-size: 1rem; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.flow-step__desc { font-size: .9rem; color: var(--text2); line-height: 1.6; }

/* ─── SOLUTION NAV ─── */
.solution-sidenav {
  position: sticky; top: calc(var(--nav-h) + 20px);
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--r); padding: 20px; min-width: 220px;
}
.solution-sidenav__title {
  font-size: .75rem; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: var(--text3); margin-bottom: 14px;
}
.solution-sidenav__links { display: flex; flex-direction: column; gap: 2px; }
.solution-sidenav__links a {
  padding: 8px 12px; border-radius: var(--r-sm);
  font-size: .875rem; color: var(--text2);
}
.solution-sidenav__links a:hover { color: var(--text); background: var(--bg3); }
.solution-sidenav__links a.active { color: var(--accent); background: var(--accent-soft); }

/* ─── SOLUTION LAYOUT ─── */
.solution-layout {
  display: grid; grid-template-columns: 220px 1fr; gap: 40px; align-items: start;
}

/* ─── INFRA PILLS ─── */
.infra-row { display: flex; flex-wrap: wrap; gap: 10px; }
.infra-pill {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 16px; background: var(--bg3);
  border: 1px solid var(--border-lt); border-radius: var(--r-sm);
  font-size: .85rem; font-weight: 600; color: var(--text2);
}
.infra-pill .dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--green); flex-shrink: 0;
}

/* ─── DB TABLE ─── */
.db-table { width: 100%; border-collapse: collapse; }
.db-table th {
  font-size: .78rem; font-weight: 700; letter-spacing: .04em;
  text-transform: uppercase; color: var(--text3);
  padding: 10px 14px; text-align: left;
  border-bottom: 1px solid var(--border);
}
.db-table td {
  padding: 12px 14px; font-size: .875rem; color: var(--text2);
  border-bottom: 1px solid var(--border);
}
.db-table td:first-child { font-family: 'Courier New', monospace; color: var(--accent); font-size: .82rem; }
.db-table td:last-child { font-weight: 600; color: var(--green); }
.db-table tr:last-child td { border-bottom: none; }
.db-table tr:hover td { background: var(--bg3); }

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .solution-layout { grid-template-columns: 1fr; }
  .solution-sidenav { display: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav__links, .nav__actions .btn:not(.btn-primary) { display: none; }
  .nav__hamburger { display: flex; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; gap: 32px; }
  .two-col.reverse { direction: ltr; }
  .module-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .stats-bar__grid { grid-template-columns: repeat(2, 1fr); }
  .stats-bar__item { border-right: none; border-bottom: 1px solid var(--border); }
  .stats-bar__item:nth-child(even) { border-bottom: 1px solid var(--border); }
  .cta-section { padding: 40px 24px; margin: 0 16px; }
  .hero { padding: 64px 0 48px; }
  .footer__bottom { flex-direction: column; gap: 16px; text-align: center; }
}

@media (max-width: 480px) {
  :root { --nav-h: 60px; }
  .hero__title { font-size: 1.9rem; }
  .btn-lg { padding: 13px 24px; }
}

/* ─── ANIMATIONS ─── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp .5s ease both; }
.fade-up-1 { animation-delay: .1s; }
.fade-up-2 { animation-delay: .2s; }
.fade-up-3 { animation-delay: .3s; }
.fade-up-4 { animation-delay: .4s; }

/* ─── SCROLLBAR ─── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border-lt); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--text3); }

/* ─── DIVIDER ─── */
.divider { height: 1px; background: var(--border); margin: 0; }
.divider-v { width: 1px; background: var(--border); }

/* ─── HIGHLIGHT BOX ─── */
.highlight-box {
  background: var(--accent-soft); border: 1px solid rgba(36,98,235,.25);
  border-radius: var(--r); padding: 20px 24px;
  display: flex; align-items: flex-start; gap: 14px;
}
.highlight-box__icon { color: var(--accent); font-size: 1.2rem; flex-shrink: 0; margin-top: 2px; }
.highlight-box__text { font-size: .92rem; color: var(--text2); line-height: 1.65; }
.highlight-box__text strong { color: var(--text); }

/* ─── SDK PILLS ─── */
.sdk-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.sdk-pill {
  padding: 8px 14px; border-radius: 100px;
  background: var(--bg3); border: 1px solid var(--border-lt);
  font-size: .82rem; font-weight: 600; color: var(--text2);
}

/* ─── OVERLINE ─── */
.overline {
  font-size: .75rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--accent);
}

/* ─── ACCESSIBILITY (SEO/a11y pass) ─── */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 2000;
  background: var(--accent); color: #fff; padding: 10px 18px;
  border-radius: 0 0 8px 0; font-weight: 600; text-decoration: none;
}
.skip-link:focus { left: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important; scroll-behavior: auto !important;
  }
}
