/* ==========================================================
   ScaleUp — COD Afrique · design system
   ========================================================== */
:root {
  --bg: #060807;
  --bg-2: #0b0f0d;
  --panel: #0f1412;
  --panel-2: #141b18;
  --ink: #f2f5f1;
  --ink-2: rgba(242, 245, 241, 0.72);
  --muted: rgba(242, 245, 241, 0.5);
  --line: rgba(242, 245, 241, 0.08);
  --line-2: rgba(242, 245, 241, 0.14);
  --green: #2ee87f;
  --green-2: #17b860;
  --green-dim: rgba(46, 232, 127, 0.12);
  --amber: #ffb020;
  --amber-dim: rgba(255, 176, 32, 0.12);
  --red: #ff5a5f;
  --grad: linear-gradient(100deg, #2ee87f 0%, #b9f26a 50%, #ffb020 100%);
  --display: "Bricolage Grotesque", "Inter Tight", system-ui, sans-serif;
  --sans: "Inter Tight", system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --gutter: clamp(16px, 4.5vw, 64px);
  --radius: 22px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.6; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
::selection { background: var(--green); color: #04140a; }
.mono { font-family: var(--mono); font-feature-settings: "tnum"; }
.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 var(--gutter); }

/* Background ambience */
.bg-glow {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(900px 600px at 85% -10%, rgba(46,232,127,.13), transparent 60%),
    radial-gradient(700px 500px at -10% 30%, rgba(255,176,32,.07), transparent 60%),
    radial-gradient(rgba(242,245,241,.06) 1px, transparent 1px) 0 0 / 28px 28px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,.6) 60%, rgba(0,0,0,.4));
          mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,.6) 60%, rgba(0,0,0,.4));
}
/* Animated network: signals travelling along the dot grid (drawn in main.js) */
.bg-net { position: fixed; inset: 0; z-index: 0; width: 100%; height: 100%; pointer-events: none; }
.grain {
  position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: .04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
main, .footer { position: relative; z-index: 2; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; z-index: 100; top: 14px; left: 50%; transform: translateX(-50%);
  width: min(1200px, calc(100% - 28px));
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 8px 8px 8px 16px; border-radius: 18px;
  background: rgba(10, 14, 12, .7); border: 1px solid var(--line-2);
  backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%);
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo__mark { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--green); box-shadow: 0 0 24px rgba(46,232,127,.4); }
.logo__mark svg { width: 20px; height: 20px; fill: none; stroke: #04140a; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.logo__text { font-family: var(--display); font-weight: 800; font-size: 21px; letter-spacing: -0.03em; }
.nav__links { display: flex; gap: 4px; }
.nav__links a { padding: 8px 14px; border-radius: 10px; font-size: 14px; color: var(--ink-2); transition: background .3s, color .3s; }
.nav__links a:hover { background: rgba(255,255,255,.06); color: var(--ink); }
.nav__burger { display: none; width: 42px; height: 42px; border: 0; border-radius: 12px; background: rgba(255,255,255,.06); position: relative; cursor: pointer; }
.nav__burger span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--ink); transition: transform .4s var(--ease); }
.nav__burger span:first-child { top: 17px; } .nav__burger span:last-child { top: 24px; }
.nav__burger[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 17px 28px; border-radius: 14px; border: 1px solid transparent; cursor: pointer;
  font-family: var(--sans); font-size: 16px; font-weight: 600; letter-spacing: -0.01em;
  transition: transform .4s var(--ease), box-shadow .4s, background .3s, border-color .3s;
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; transition: transform .4s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:hover svg { transform: translateX(4px); }
.btn--green { background: var(--green); color: #04140a; box-shadow: 0 12px 40px -10px rgba(46,232,127,.6); }
.btn--green:hover { box-shadow: 0 18px 50px -10px rgba(46,232,127,.8); }
.btn--ghost { border-color: var(--line-2); background: rgba(255,255,255,.03); color: var(--ink); }
.btn--ghost:hover { border-color: rgba(46,232,127,.5); }
.btn--sm { padding: 11px 18px; font-size: 14px; border-radius: 11px; }
.btn--full { width: 100%; }

/* ---------- Type ---------- */
.chip { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 10px; border-radius: 100px; background: var(--green-dim); border: 1px solid rgba(46,232,127,.28); color: #bff7d6; font-size: 13px; font-weight: 500; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); flex: none; animation: pulse 1.8s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(46,232,127,.6); } 70% { box-shadow: 0 0 0 9px rgba(46,232,127,0); } 100% { box-shadow: 0 0 0 0 rgba(46,232,127,0); } }
.eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--green); }
.title { font-family: var(--display); font-weight: 700; font-size: clamp(36px, 5vw, 68px); line-height: 1.02; letter-spacing: -0.035em; margin-top: 14px; }
.title--sm { font-size: clamp(32px, 3.8vw, 52px); }
.muted { color: var(--muted); }
.hl { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.head { margin-bottom: clamp(40px, 5vw, 64px); max-width: 820px; }
.head--center { text-align: center; margin-left: auto; margin-right: auto; }
.head--split { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; }
.head__aside { max-width: 420px; color: var(--ink-2); font-size: 17px; }
.section { padding: clamp(80px, 10vw, 140px) 0; }
.section--tight { padding-top: 0; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ==========================================================
   HERO
   ========================================================== */
.hero { padding: 128px 0 60px; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(30px, 4vw, 64px); align-items: center; }
.hero__title { font-family: var(--display); font-weight: 800; font-size: clamp(42px, 5vw, 76px); line-height: .98; letter-spacing: -0.045em; margin: 22px 0 24px; }
.hero__lead { font-size: clamp(16px, 1.3vw, 19px); color: var(--ink-2); max-width: 560px; }
.hero__lead strong { color: var(--ink); font-weight: 600; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero__stats { display: grid; grid-template-columns: repeat(4, auto); gap: 12px 34px; margin-top: 44px; padding-top: 26px; border-top: 1px solid var(--line); justify-content: start; }
.hero__stats dt { font-size: 12px; color: var(--muted); }
.hero__stats dd { font-family: var(--display); font-weight: 700; font-size: 30px; letter-spacing: -0.03em; line-height: 1.2; }
.hero__stats small { font-family: var(--sans); font-size: 12px; font-weight: 500; color: var(--muted); margin-left: 4px; }

/* Live map card */
.live {
  position: relative; border-radius: 26px; padding: 18px;
  background: linear-gradient(160deg, rgba(20,28,24,.9), rgba(9,12,10,.92));
  border: 1px solid var(--line-2);
  box-shadow: 0 40px 100px -30px rgba(0,0,0,.9), 0 0 0 1px rgba(46,232,127,.05), 0 0 120px -40px rgba(46,232,127,.35);
}
.live__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 4px 6px 0; }
.live__title { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; font-size: 14px; }
.live__count { font-size: 12px; color: var(--muted); }
.live__count b { color: var(--green); font-weight: 600; }
.live__map { position: relative; aspect-ratio: 1 / 0.86; margin: 6px 0 4px; }
.live__map svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.live__fallback { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); font-size: 13px; }
.country { fill: #18201c; stroke: #0a0e0c; stroke-width: .6; transition: fill .4s; }
.country--on { fill: url(#onGrad); stroke: rgba(46,232,127,.9); stroke-width: .9; filter: drop-shadow(0 0 6px rgba(46,232,127,.45)); cursor: pointer; }
.country--on:hover, .country--on.is-hot { fill: #3cf08d; }
.city-dot { fill: #eafff2; }
.city-ring { fill: none; stroke: var(--green); stroke-width: 1.5; transform-box: fill-box; transform-origin: center; animation: ring 2.4s ease-out infinite; }
@keyframes ring { 0% { transform: scale(.4); opacity: 1; } 100% { transform: scale(3.2); opacity: 0; } }
.ping { fill: none; stroke: var(--amber); stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: ping 1.6s ease-out forwards; }
@keyframes ping { 0% { transform: scale(.3); opacity: 1; } 100% { transform: scale(5); opacity: 0; } }
.map-label { pointer-events: none; }
.map-label rect { fill: rgba(8,12,10,.92); stroke: rgba(46,232,127,.5); }
.map-label text { font-family: var(--mono); font-size: 10px; fill: var(--ink); }
.map-label .amt { fill: var(--green); font-weight: 600; }
.map-label { animation: labelIn 2.8s var(--ease) forwards; }
@keyframes labelIn { 0% { opacity: 0; transform: translateY(6px); } 12%, 80% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(-6px); } }

.live__feed { display: grid; gap: 8px; }
.feed-row {
  display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 12px;
  background: rgba(255,255,255,.03); border: 1px solid var(--line); animation: rowIn .6s var(--ease) both;
}
.feed-row:first-child { background: var(--green-dim); border-color: rgba(46,232,127,.3); }
@keyframes rowIn { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: none; } }
.feed-row img { width: 34px; height: 34px; border-radius: 8px; object-fit: cover; }
.feed-row div { min-width: 0; font-size: 12px; line-height: 1.3; }
.feed-row b { display: block; font-weight: 600; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.feed-row span { color: var(--muted); }
.feed-row em { display: inline-flex; align-items: center; gap: 4px; font-style: normal; color: var(--green); }
.feed-row strong { font-family: var(--mono); font-weight: 600; font-size: 13px; color: var(--green); text-align: right; }
.feed-row strong small { display: block; font-size: 10px; color: var(--muted); font-weight: 400; }
.live__note { margin-top: 10px; text-align: right; font-size: 11px; color: var(--muted); }

/* ---------- Country strip ---------- */
.strip { overflow: hidden; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(10,14,12,.8); }
.strip__track { display: flex; gap: 40px; width: max-content; animation: strip 45s linear infinite; }
.strip__track span { display: inline-flex; align-items: center; gap: 12px; font-family: var(--display); font-weight: 600; font-size: 20px; white-space: nowrap; color: var(--ink-2); }
.strip__track img { width: 30px; height: 20px; object-fit: cover; border-radius: 4px; }
@keyframes strip { to { transform: translateX(-50%); } }

/* ---------- Steps ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; counter-reset: s; }
.step { position: relative; display: flex; flex-direction: column; padding: 26px; min-height: 290px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); }
.step__n { font-size: 13px; color: var(--muted); }
.step h3 { font-family: var(--display); font-weight: 700; font-size: 24px; line-height: 1.12; letter-spacing: -0.02em; margin: auto 0 10px; padding-top: 50px; }
.step p { color: var(--ink-2); font-size: 15px; }
.step__who { position: absolute; top: 22px; right: 22px; font-size: 12px; font-weight: 600; padding: 5px 11px; border-radius: 100px; background: rgba(255,255,255,.06); color: var(--ink-2); }
.step--us { background: linear-gradient(160deg, #10241a, var(--panel)); border-color: rgba(46,232,127,.25); }
.step--us .step__who { background: var(--green); color: #04140a; }
.step--cash { background: linear-gradient(160deg, #2a210d, var(--panel)); border-color: rgba(255,176,32,.3); }
.step--cash .step__who { background: var(--amber); color: #1d1404; }

/* ---------- Terrain photos ---------- */
.terrain { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 14px; }
.terrain__card { position: relative; overflow: hidden; border-radius: var(--radius); aspect-ratio: 4 / 5; background: var(--panel); }
.terrain__card img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.terrain__card:hover img { transform: scale(1.05); }
.terrain__card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(4,6,5,.9)); }
.terrain__card figcaption { position: absolute; z-index: 1; left: 20px; right: 20px; bottom: 20px; font-family: var(--display); font-weight: 600; font-size: 19px; line-height: 1.25; letter-spacing: -0.01em; }
.tag { display: inline-block; margin-bottom: 10px; padding: 4px 10px; border-radius: 100px; font-family: var(--sans); font-size: 12px; font-weight: 600; background: rgba(255,255,255,.14); backdrop-filter: blur(6px); }
.tag--us { background: var(--green); color: #04140a; }
.tag--cash { background: var(--amber); color: #1d1404; }
.terrain__card figcaption .tag { display: table; }

/* ---------- Calculator ---------- */
.calc { display: grid; grid-template-columns: 1fr 1fr; border-radius: 28px; overflow: hidden; border: 1px solid var(--line-2); background: var(--panel); box-shadow: 0 50px 120px -40px rgba(0,0,0,.9); }
.calc__inputs { padding: clamp(24px, 3.5vw, 44px); display: grid; gap: 26px; align-content: start; }
.range__top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 12px; }
.range__top label { color: var(--ink-2); font-size: 15px; }
.range__top output { font-size: 17px; font-weight: 600; color: var(--ink); }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 6px; cursor: pointer; outline: none;
  background: linear-gradient(90deg, var(--green) var(--p, 50%), rgba(255,255,255,.08) var(--p, 50%)); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 5px solid var(--green); box-shadow: 0 0 0 5px rgba(46,232,127,.15); transition: transform .3s var(--ease); }
input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.15); }
input[type="range"]::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 4px solid var(--green); }
input[type="range"]:focus-visible { box-shadow: 0 0 0 3px rgba(46,232,127,.35); }
.calc__out { padding: clamp(24px, 3.5vw, 44px); background: linear-gradient(160deg, #0f2219, #0a110d); border-left: 1px solid var(--line); display: flex; flex-direction: column; gap: 22px; }
.funnel { display: grid; gap: 2px; }
.funnel__row { display: flex; justify-content: space-between; padding: 11px 0; border-bottom: 1px dashed var(--line-2); color: var(--ink-2); font-size: 15px; }
.funnel__row b { color: var(--ink); font-weight: 600; }
.calc__big { padding: 22px; border-radius: 18px; background: rgba(46,232,127,.08); border: 1px solid rgba(46,232,127,.3); }
.calc__label { font-size: 13px; color: #bff7d6; }
.calc__big strong { display: block; font-size: clamp(42px, 5vw, 64px); font-weight: 600; letter-spacing: -0.04em; line-height: 1.1; color: var(--green); margin: 4px 0 12px; }
.calc__big.is-loss { background: rgba(255,90,95,.08); border-color: rgba(255,90,95,.35); }
.calc__big.is-loss strong { color: var(--red); }
.calc__sub { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 13px; color: var(--muted); }
.calc__sub b { color: var(--ink); font-weight: 600; margin-left: 4px; }
.calc__note { font-size: 12px; color: var(--muted); }

/* ---------- Catalogue ---------- */
.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.product { border-radius: var(--radius); overflow: hidden; background: var(--panel); border: 1px solid var(--line); transition: transform .5s var(--ease), border-color .4s; }
.product:hover { transform: translateY(-4px); border-color: rgba(46,232,127,.35); }
.product__img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.product__img img { width: 100%; height: 100%; object-fit: cover; }
.product__stock { position: absolute; top: 12px; left: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 100px; font-size: 12px; font-weight: 600; background: rgba(6,8,7,.75); backdrop-filter: blur(6px); }
.product__stock i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.product__body { padding: 18px 20px 20px; }
.product__body h3 { font-family: var(--display); font-weight: 700; font-size: 20px; letter-spacing: -0.02em; }
.product__meta { display: flex; justify-content: space-between; align-items: flex-end; margin-top: 14px; gap: 10px; }
.product__price span, .product__com span { display: block; font-size: 12px; color: var(--muted); }
.product__price b { font-family: var(--mono); font-size: 18px; }
.product__com { text-align: right; }
.product__com b { font-family: var(--mono); font-size: 22px; color: var(--green); }
.product__flags { display: flex; gap: 5px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.product__flags img { width: 24px; height: 16px; object-fit: cover; border-radius: 3px; }

/* ---------- Countries ---------- */
.countries { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.country-card { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 18px; background: var(--panel); border: 1px solid var(--line); transition: border-color .3s, transform .4s var(--ease); }
.country-card:hover { border-color: rgba(46,232,127,.35); transform: translateY(-3px); }
.country-card img { width: 46px; height: 32px; object-fit: cover; border-radius: 6px; box-shadow: 0 0 0 1px rgba(255,255,255,.1); }
.country-card b { display: block; font-family: var(--display); font-weight: 700; font-size: 17px; }
.country-card span { font-size: 12px; color: var(--green); }

/* ---------- Perks ---------- */
.perks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.perk { padding: 26px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); }
.perk__ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; font-size: 22px; background: var(--panel-2); border: 1px solid var(--line-2); }
.perk h4 { font-family: var(--display); font-weight: 700; font-size: 20px; letter-spacing: -0.02em; margin: 22px 0 6px; }
.perk p { color: var(--ink-2); font-size: 15px; }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: 1fr 1.4fr; gap: 50px; align-items: start; }
.faq__list { display: grid; gap: 10px; }
.faq details { border-radius: 16px; background: var(--panel); border: 1px solid var(--line); transition: border-color .3s; }
.faq details[open] { border-color: rgba(46,232,127,.3); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; font-weight: 600; font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; font-size: 18px; background: rgba(255,255,255,.06); transition: transform .3s var(--ease), background .3s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--green); color: #04140a; }
.faq details p { padding: 0 22px 20px; color: var(--ink-2); }

/* ---------- Join ---------- */
.join { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.join__visual { position: relative; border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 5; }
.join__visual img { width: 100%; height: 100%; object-fit: cover; }
.join__badge { position: absolute; left: 18px; bottom: 18px; display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: 16px; background: rgba(6,8,7,.82); border: 1px solid rgba(46,232,127,.35); backdrop-filter: blur(10px); }
.join__badge b { display: block; font-family: var(--display); font-size: 20px; color: var(--green); }
.join__badge small { color: var(--ink-2); font-size: 13px; }
.form { display: grid; gap: 14px; margin-top: 28px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { position: relative; }
.field input, .field select {
  width: 100%; padding: 24px 16px 9px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--panel);
  color: var(--ink); font: inherit; font-size: 15px; outline: none; -webkit-appearance: none; appearance: none; transition: border-color .3s, box-shadow .3s;
}
.field select { cursor: pointer; }
.field select option { background: var(--bg-2); color: var(--ink); }
.field--select::after { content: ""; position: absolute; right: 18px; top: 50%; width: 7px; height: 7px; border-right: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.field label { position: absolute; left: 17px; top: 17px; font-size: 15px; color: var(--muted); pointer-events: none; transition: all .25s var(--ease); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: calc(100% - 40px); }
.field input:focus, .field select:focus { border-color: var(--green); box-shadow: 0 0 0 4px rgba(46,232,127,.12); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field select:focus + label, .field select:valid + label { top: 7px; font-size: 11px; color: var(--green); }
.field.is-invalid input, .field.is-invalid select { border-color: rgba(255,90,95,.7); }
.checks { border: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.checks legend { width: 100%; font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.checks label { cursor: pointer; }
.checks input { position: absolute; opacity: 0; pointer-events: none; }
.checks span { display: inline-block; padding: 9px 14px; border-radius: 10px; border: 1px solid var(--line-2); font-size: 14px; transition: all .25s; }
.checks input:checked + span { background: var(--green-dim); border-color: var(--green); color: #bff7d6; }
.checks input:focus-visible + span { outline: 2px solid var(--green); outline-offset: 2px; }
.form__note { text-align: center; font-size: 14px; color: var(--green); min-height: 1.4em; }
.form__note.is-error { color: var(--red); }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 44px 0 34px; background: rgba(6,8,7,.9); }
.footer__inner { display: grid; grid-template-columns: auto 1fr auto; gap: 20px 40px; align-items: center; }
.footer__inner > p { color: var(--muted); font-size: 14px; }
.footer nav { display: flex; flex-wrap: wrap; gap: 20px; font-size: 14px; color: var(--ink-2); }
.footer nav a:hover { color: var(--green); }
.footer__copy { grid-column: 1 / -1; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted) !important; font-size: 13px !important; }

/* ==========================================================
   RESPONSIVE
   ========================================================== */
@media (max-width: 1100px) {
  .hero__grid { grid-template-columns: 1fr; }
  .live { max-width: 640px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .countries { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .nav__links {
    position: fixed; top: 70px; left: 0; right: 0; flex-direction: column; padding: 12px; border-radius: 18px;
    background: rgba(10,14,12,.97); border: 1px solid var(--line-2);
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: all .35s var(--ease);
  }
  .nav__links.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav__links a { padding: 14px; font-size: 17px; }
  .nav__burger { display: block; }
  .nav > .btn { margin-left: auto; }
  .calc { grid-template-columns: 1fr; }
  .calc__out { border-left: 0; border-top: 1px solid var(--line); }
  .products, .perks { grid-template-columns: 1fr 1fr; }
  .terrain { grid-template-columns: 1fr 1fr; }
  .terrain__card--tall { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
  .head--split { flex-direction: column; align-items: flex-start; }
  .faq, .join { grid-template-columns: 1fr; }
  .join__visual { aspect-ratio: 16 / 11; }
  .footer__inner { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .hero { padding-top: 104px; }
  .hero__actions .btn { width: 100%; }
  .hero__stats { grid-template-columns: 1fr 1fr; gap: 16px; }
  .live { padding: 12px; border-radius: 20px; }
  .steps, .products, .perks, .terrain { grid-template-columns: 1fr; }
  .step { min-height: 0; }
  .step h3 { padding-top: 34px; }
  .terrain__card, .terrain__card--tall { aspect-ratio: 4 / 3; }
  .countries { grid-template-columns: 1fr 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .logo__text { font-size: 19px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
