/* ============================================================
   StreetPainter — landing page styles
   Modern dark theme · fluid responsive · motion-aware
   ============================================================ */

:root {
  --bg: #0a0a12;
  --bg-2: #0f1020;
  --surface: #14162a;
  --surface-2: #1a1d36;
  --line: #262a45;
  --text: #eef0fb;
  --muted: #9aa0c4;
  --muted-2: #6f76a0;

  --green: #19e08a;
  --violet: #7c5cff;
  --cyan: #1fd6c6;
  --pink: #ff5cc8;
  --gold: #ffd24c;

  /* ROLLBACK: previous UI gradient was
     linear-gradient(120deg, var(--green), var(--cyan) 50%, var(--violet)) */
  --grad: linear-gradient(120deg, var(--green), var(--cyan));
  --radius: 20px;
  --radius-sm: 14px;
  --maxw: 1180px;
  --ease: cubic-bezier(.22,.61,.36,1);
  --shadow: 0 24px 60px -20px rgba(0,0,0,.65);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

html { background: var(--bg); }
body {
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: transparent;
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { line-height: 1.1; letter-spacing: -0.02em; font-weight: 800; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(20px, 5vw, 40px); }

.skip-link {
  position: absolute; left: -999px; top: 8px; z-index: 200;
  background: var(--violet); color: #fff; padding: 10px 16px; border-radius: 10px;
}
.skip-link:focus { left: 12px; }

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  display: inline-block;
}
.eyebrow {
  text-transform: uppercase; letter-spacing: .18em; font-size: .78rem; font-weight: 700;
  color: var(--cyan); margin-bottom: 14px;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 22px; border-radius: 999px; font-weight: 700; font-size: .95rem;
  cursor: pointer; border: 1px solid transparent; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, border-color .25s;
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); }
.btn--solid { background: var(--grad); color: #0a0a12; box-shadow: 0 10px 30px -10px rgba(25,224,138,.55); }
.btn--ghost { background: rgba(255,255,255,.04); border-color: var(--line); color: var(--text); }
.btn--ghost:hover { border-color: var(--cyan); }
.btn--discord { background: #5865f2; color: #fff; box-shadow: 0 12px 30px -12px rgba(88,101,242,.8); }

/* official Google Play badge (localized PNG artwork) */
.store-badge { display: inline-flex; transition: transform .25s var(--ease), filter .25s; }
.store-badge img { height: 66px; width: auto; display: block; }
.store-badge:hover { transform: translateY(-2px); filter: brightness(1.08); }
.store-badge--lg img { height: 80px; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.nav.is-scrolled { border-bottom-color: var(--line); background: color-mix(in srgb, var(--bg) 88%, transparent); }
.nav__inner { display: flex; align-items: center; gap: 24px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.15rem; }
.brand__mark { display: block; border-radius: 8px; object-fit: cover; box-shadow: 0 4px 14px -6px rgba(0,0,0,.7); }
.brand__name { letter-spacing: -.02em; }
.nav__links { display: flex; gap: 26px; margin-left: auto; }
.nav__links a { color: var(--muted); font-weight: 600; font-size: .95rem; transition: color .2s; position: relative; }
.nav__links a:hover { color: var(--text); }
.nav__links a::after { content:""; position:absolute; left:0; bottom:-6px; height:2px; width:0; background: var(--grad); transition: width .25s var(--ease); }
.nav__links a:hover::after { width: 100%; }
.nav__cta { margin-left: 4px; padding: 10px 18px; }

/* language switcher */
.langsel { position: relative; }
.langsel summary {
  list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 7px;
  color: var(--muted); font-weight: 600; font-size: .92rem; padding: 8px 12px;
  border: 1px solid var(--line); border-radius: 999px; transition: color .2s, border-color .2s;
}
.langsel summary::-webkit-details-marker { display: none; }
.langsel summary:hover { color: var(--text); border-color: var(--cyan); }
.langsel__menu {
  position: absolute; right: 0; top: calc(100% + 10px); z-index: 120;
  display: grid; grid-template-columns: 1fr 1fr; gap: 2px; min-width: 260px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 8px;
  box-shadow: var(--shadow);
}
.langsel__menu a { padding: 9px 12px; border-radius: 9px; color: var(--muted); font-weight: 600; font-size: .92rem; transition: background .15s, color .15s; }
.langsel__menu a:hover { background: rgba(124,92,255,.14); color: var(--text); }
.langsel__menu a[aria-current="true"] { color: var(--text); background: rgba(38,208,206,.14); }
.langsel--desktop { margin-left: 4px; }
.langsel--mobile { display: none; }
.nav__burger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; margin-left: auto; }
.nav__burger span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .3s, opacity .3s; }
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav__mobile {
  display: none; flex-direction: column; gap: 6px; padding: 0 clamp(20px,5vw,40px) 0;
  max-height: 0; overflow: hidden; transition: max-height .35s var(--ease), padding .35s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav__mobile.is-open { max-height: 420px; padding-block: 12px 22px; border-bottom-color: var(--line); }
.nav__mobile a { padding: 12px 6px; color: var(--muted); font-weight: 600; border-bottom: 1px solid var(--line); }
.nav__mobile a:last-child { border: 0; justify-content: center; margin-top: 8px; }

/* ---------- hero ---------- */
.hero { position: relative; padding: clamp(40px, 7vw, 96px) 0 clamp(60px,8vw,110px); overflow: hidden; }

/* animated city-map background — one fixed layer behind the whole site */
.site-bg { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.site-bg .hmap { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .6; }
/* uniform dim so content reads everywhere, with a faint green vignette */
.site-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10,10,18,.55), rgba(10,10,18,.66) 50%, rgba(10,10,18,.6));
}
.site-bg::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: radial-gradient(75% 55% at 70% 35%, rgba(25,224,138,.10), transparent 70%);
}
.hmap__blds rect { animation: hfade 1.1s var(--ease) backwards; }
@keyframes hfade { from { opacity: 0; } }
.hmap__base path { fill: none; stroke: url(#hgrad); stroke-width: 7; stroke-linecap: round; stroke-linejoin: round;
  opacity: .5; stroke-dasharray: 1; stroke-dashoffset: 1; animation: hdraw 2.8s var(--ease) forwards; }
.hmap__base path:nth-child(2){ animation-delay:.25s } .hmap__base path:nth-child(3){ animation-delay:.5s }
.hmap__base path:nth-child(4){ animation-delay:.75s } .hmap__base path:nth-child(5){ animation-delay:1s }
.hmap__base path:nth-child(6){ animation-delay:1.25s }
@keyframes hdraw { to { stroke-dashoffset: 0; } }
.hmap__flow path { fill: none; stroke: url(#hgrad); stroke-width: 8; stroke-linecap: round; stroke-linejoin: round;
  filter: url(#hglow); stroke-dasharray: .14 .86; stroke-dashoffset: 1;
  animation: hflow 5s linear infinite; }
.hmap__flow path:nth-child(2){ animation-delay:-.8s } .hmap__flow path:nth-child(3){ animation-delay:-1.6s }
.hmap__flow path:nth-child(4){ animation-delay:-2.4s } .hmap__flow path:nth-child(5){ animation-delay:-3.2s }
.hmap__flow path:nth-child(6){ animation-delay:-4s }
@keyframes hflow { to { stroke-dashoffset: 0; } }
.hero__inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(30px, 5vw, 70px); align-items: center;
}
.hero__title { font-size: clamp(2.4rem, 6vw, 4.2rem); margin-bottom: 22px; }
.hero__lede { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 36ch; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 32px; }
.hero__points { display: flex; gap: 22px; list-style: none; padding: 0; margin-top: 26px; color: var(--muted); font-size: .9rem; font-weight: 600; }
.hero__points li { display: flex; align-items: center; gap: 8px; }
.hero__points li::before { content:""; width: 7px; height: 7px; border-radius: 50%; background: var(--grad); }

/* phone */
.hero__visual { position: relative; display: grid; place-items: center; }
.phone {
  position: relative; width: clamp(230px, 30vw, 300px); aspect-ratio: 300/600;
  background: #05060d; border-radius: 38px; padding: 10px;
  border: 1px solid #2a2f4a; box-shadow: var(--shadow), 0 0 0 6px rgba(124,92,255,.05);
  animation: floaty 6s ease-in-out infinite;
}
@keyframes floaty { 50% { transform: translateY(-14px); } }
.phone__notch { position: absolute; top: 16px; left: 50%; transform: translateX(-50%); width: 90px; height: 7px; background: #1c2036; border-radius: 99px; z-index: 2; }
.phone__screen { width: 100%; height: 100%; border-radius: 30px; overflow: hidden; }
.map-mock { width: 100%; height: 100%; }
/* streets paint in, hold ~2s, fade out, repeat — staggered */
.paint-lines path { stroke-dasharray: 1; stroke-dashoffset: 1; opacity: .6; animation: paintloop 5s var(--ease) infinite; }
.paint-lines path:nth-child(2){ animation-delay:.4s } .paint-lines path:nth-child(3){ animation-delay:.8s }
.paint-lines path:nth-child(4){ animation-delay:1.2s }
@keyframes paintloop {
  0%   { stroke-dashoffset: 1; opacity: 0; }
  5%   { opacity: .6; }
  30%  { stroke-dashoffset: 0; opacity: .6; }   /* painted */
  70%  { stroke-dashoffset: 0; opacity: .6; }   /* hold ~2s */
  80%  { stroke-dashoffset: 0; opacity: 0; }    /* fade out */
  81%  { stroke-dashoffset: 1; opacity: 0; }    /* reset while hidden */
  100% { stroke-dashoffset: 1; opacity: 0; }
}
/* pulse comets — same look as the site bg, travelling top→bottom, staggered */
.paint-flow path { fill: none; stroke: url(#paint); stroke-width: 8; stroke-linecap: round; stroke-linejoin: round;
  filter: url(#mglow); stroke-dasharray: .16 .84; stroke-dashoffset: 1; animation: pflow 4.5s linear infinite; }
.paint-flow path:nth-child(2){ animation-delay:-1.1s } .paint-flow path:nth-child(3){ animation-delay:-2.2s }
.paint-flow path:nth-child(4){ animation-delay:-3.3s }
@keyframes pflow { to { stroke-dashoffset: 0; } }
.ping { animation: ping 2.4s ease-out infinite; }
@keyframes ping { 0%{ r:8; opacity:.9 } 100%{ r:24; opacity:0 } }

.hero__glass {
  position: absolute; display: flex; flex-direction: column; gap: 2px;
  background: color-mix(in srgb, var(--surface) 75%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--line); border-radius: 16px; padding: 12px 16px; box-shadow: var(--shadow);
  font-size: .82rem; color: var(--muted);
}
.hero__glass strong { color: var(--text); font-size: 1.05rem; }
.hero__glass--1 { top: 12%; left: -4%; animation: floaty 6s ease-in-out infinite .8s; }
.hero__glass--2 { bottom: 14%; right: -6%; flex-direction: row; align-items: center; gap: 10px; animation: floaty 6s ease-in-out infinite 1.6s; }
.hero__glass--2 strong { font-size: .95rem; }
.hero__glass .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); }

/* ---------- concept strip ---------- */
.strip { border-block: 1px solid var(--line); background: color-mix(in srgb, var(--bg-2) 60%, transparent); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.strip__inner { padding-block: 28px; text-align: center; }
.strip__inner p { color: var(--muted); font-size: clamp(1rem, 2vw, 1.2rem); }
.strip__inner b { color: var(--text); }

/* ---------- generic section ---------- */
.section { padding-block: clamp(64px, 9vw, 120px); }
.section__head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 64px); }
.section__head h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
.section__sub { color: var(--muted); margin-top: 16px; font-size: 1.1rem; }

/* ---------- how / steps ---------- */
.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step {
  position: relative; background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px; overflow: hidden;
}
.step::before { content:""; position:absolute; inset:0 0 auto 0; height:3px; background: var(--grad); opacity:.8; }
.step__num { font-size: 2.4rem; font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 10px; }
.step h3 { font-size: 1.35rem; margin-bottom: 10px; }
.step p { color: var(--muted); }

/* ---------- features grid ---------- */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; transition: transform .3s var(--ease), border-color .3s, background .3s;
  position: relative; overflow: hidden;
}
.card::after {
  content:""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: var(--grad); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .3s;
}
.card:hover { transform: translateY(-6px); background: var(--surface-2); }
.card:hover::after { opacity: .9; }
.card--wide { grid-column: span 2; }
.card__icon {
  width: 50px; height: 50px; display: grid; place-items: center; color: #b6a8ff;
  background: rgba(124,92,255,.12); border: 1px solid var(--line); border-radius: 14px; margin-bottom: 16px;
}
.card__icon svg { width: 25px; height: 25px; }
.card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: .96rem; }

/* ---------- discover ---------- */
.discover__inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.discover__copy h2 { font-size: clamp(1.7rem, 3.5vw, 2.6rem); margin-bottom: 20px; }
.discover__copy > p { color: var(--muted); font-size: 1.08rem; }
.ticks { list-style: none; padding: 0; margin-top: 24px; display: grid; gap: 14px; }
.ticks li { display: flex; align-items: flex-start; gap: 12px; color: var(--text); font-weight: 500; }
.ticks li::before {
  content: "✓"; flex: none; width: 24px; height: 24px; display: grid; place-items: center;
  font-size: .8rem; font-weight: 800; color: #0a0a12; background: var(--grad); border-radius: 50%;
}
.discover__map {
  border-radius: 28px; padding: 16px; background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--line); box-shadow: var(--shadow);
}
.pins g { animation: pop .6s var(--ease) backwards; }
.pins g:nth-child(1){ animation-delay:.1s } .pins g:nth-child(2){ animation-delay:.3s } .pins g:nth-child(3){ animation-delay:.5s }
@keyframes pop { from { transform: scale(0); } }
/* discover quest markers: ! = open, ? = locked (opacity-only entrance so it
   doesn't fight each pin's inline translate) */
.qmark { animation: qappear .5s var(--ease) backwards; }
.qmark:nth-child(2){ animation-delay:.12s } .qmark:nth-child(3){ animation-delay:.24s } .qmark:nth-child(4){ animation-delay:.36s }
@keyframes qappear { from { opacity: 0; } }
.qmark--open .qring { animation: qpulse 2.2s ease-out infinite; }
.qmark--open:nth-child(2) .qring { animation-delay: 1.1s; }
@keyframes qpulse { 0%{ r:12; opacity:.85 } 100%{ r:24; opacity:0 } }

/* ---------- community ---------- */
.community__card {
  position: relative; overflow: hidden; border-radius: 28px;
  background: linear-gradient(135deg, #181433, #0e1830);
  border: 1px solid var(--line); padding: clamp(36px, 6vw, 72px);
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 30px; align-items: center;
}
.community__copy h2 { font-size: clamp(1.7rem, 3.5vw, 2.6rem); margin-bottom: 16px; }
.community__copy p { color: var(--muted); max-width: 46ch; margin-bottom: 26px; }
.community__art { position: relative; height: 240px; display: grid; place-items: center; }
/* community network: members linked to a shared hub (route lines + member pins) */
.cnet { width: 100%; height: 100%; max-width: 420px; }
.cnet__node { transform-box: fill-box; transform-origin: center; animation: cfloat 6s ease-in-out infinite; }
@keyframes cfloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.cnet__links path { stroke-dasharray: 4 7; animation: cflow 2.6s linear infinite; }
@keyframes cflow { to { stroke-dashoffset: -22; } }

/* ---------- screenshot gallery ---------- */
.gallery__stage { position: relative; }
.gallery__track {
  --shot-w: 260px;
  display: flex; gap: 30px; padding: 22px calc(50% - var(--shot-w) / 2) 30px;
  overflow-x: auto; scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch; scrollbar-width: none; cursor: grab;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.gallery__track::-webkit-scrollbar { display: none; }
.gallery__track.is-drag { cursor: grabbing; scroll-snap-type: none; }
.gallery__track.is-drag img { pointer-events: none; }

.shot {
  flex: 0 0 auto; width: var(--shot-w); margin: 0; text-align: center;
  scroll-snap-align: center;
  transition: transform .45s var(--ease), opacity .45s var(--ease);
}
.gallery__track.is-ready .shot { transform: scale(.84); opacity: .4; }
.gallery__track.is-ready .shot.is-active { transform: scale(1); opacity: 1; }
.shot__frame {
  border-radius: 32px; overflow: hidden; background: #0d1120;
  border: 1px solid var(--line); box-shadow: 0 24px 60px rgba(0,0,0,.5);
  aspect-ratio: 320 / 660;
}
.shot.is-active .shot__frame { border-color: rgba(25,224,138,.4); box-shadow: 0 28px 70px rgba(25,224,138,.18); }
.shot__frame img { width: 100%; height: 100%; object-fit: cover; }
.shot figcaption { margin-top: 16px; color: var(--muted); font-size: .95rem; font-weight: 600; }
.shot.is-active figcaption { color: var(--text); }

/* arrows */
.gallery__nav {
  position: absolute; top: 44%; transform: translateY(-50%); z-index: 3;
  width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(13,17,32,.72); backdrop-filter: blur(10px);
  border: 1px solid var(--line); color: var(--text); cursor: pointer;
  transition: color .2s, border-color .2s, opacity .2s, transform .2s;
}
.gallery__nav:hover { color: var(--green); border-color: var(--green); transform: translateY(-50%) scale(1.06); }
.gallery__nav:disabled { opacity: 0; pointer-events: none; }
.gallery__nav svg { width: 22px; height: 22px; }
.gallery__nav--prev { left: max(8px, calc(50% - 560px)); }
.gallery__nav--next { right: max(8px, calc(50% - 560px)); }

/* dots */
.gallery__dots { display: flex; justify-content: center; gap: 10px; margin-top: 8px; }
.gallery__dot {
  width: 9px; height: 9px; border-radius: 50%; border: 0; padding: 0;
  background: var(--line); cursor: pointer; transition: width .25s, background .25s;
}
.gallery__dot.is-active { width: 28px; border-radius: 5px; background: var(--grad); }

/* touch devices: native scroll drives the carousel. Drop the per-frame GPU
   cost (edge-fade mask + arrow backdrop-blur) that janks phone scrolling.
   Arrows are redundant on touch — you swipe; dots still show position. */
@media (hover: none) {
  .gallery__track { -webkit-mask-image: none; mask-image: none; }
  .gallery__nav { display: none; }
}

/* lightbox */
.gallery__track.is-ready .shot img { cursor: pointer; }
.lightbox {
  position: fixed; inset: 0; z-index: 100; display: none;
  align-items: center; justify-content: center; padding: 24px;
  background: rgba(5,7,14,.86); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  opacity: 0; transition: opacity .25s var(--ease);
}
.lightbox.is-open { display: flex; opacity: 1; }
.lightbox__img {
  max-width: min(92vw, 460px); max-height: 92vh; width: auto; height: auto;
  border-radius: 28px; border: 1px solid rgba(25,224,138,.35);
  box-shadow: 0 40px 120px rgba(0,0,0,.7); object-fit: contain;
  animation: lb-in .3s var(--ease);
}
@keyframes lb-in { from { transform: scale(.94); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.lightbox__close {
  position: absolute; top: 20px; right: 24px; width: 46px; height: 46px;
  border-radius: 50%; border: 1px solid var(--line); background: rgba(13,17,32,.72);
  color: var(--text); font-size: 26px; line-height: 1; cursor: pointer;
  display: grid; place-items: center; transition: color .2s, border-color .2s;
}
.lightbox__close:hover { color: var(--green); border-color: var(--green); }

/* ---------- final cta ---------- */
.cta__inner { text-align: center; max-width: 720px; margin-inline: auto; display: grid; place-items: center; gap: 22px; }
.cta__inner h2 { font-size: clamp(2rem, 4.5vw, 3.2rem); }
.cta__inner p { color: var(--muted); font-size: 1.15rem; }

/* ---------- faq ---------- */
.faq__list { display: grid; gap: 14px; max-width: 820px; }
.faq__item {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 4px 24px; transition: border-color .25s;
}
.faq__item[open] { border-color: color-mix(in srgb, var(--cyan) 50%, var(--line)); }
.faq__item summary {
  cursor: pointer; list-style: none; padding: 18px 0; font-weight: 700; font-size: 1.08rem;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; font-size: 1.5rem; color: var(--cyan); transition: transform .3s; line-height: 1; }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p { color: var(--muted); padding: 0 0 20px; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); background: color-mix(in srgb, var(--bg-2) 72%, transparent); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); padding-top: clamp(48px, 6vw, 72px); }
.footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 30px; padding-bottom: 40px; }
.footer__brand p { color: var(--muted); margin-top: 12px; max-width: 28ch; }
.footer__links { display: flex; flex-wrap: wrap; gap: 18px 28px; align-items: flex-start; }
.footer__links a { color: var(--muted); font-weight: 600; transition: color .2s; }
.footer__links a:hover { color: var(--text); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding: 22px 0 36px; border-top: 1px solid var(--line); color: var(--muted-2); font-size: .85rem; }

/* ---------- reveal-on-scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__bg, .phone, .hero__glass, .orb, .paint-lines path, .ping, .pins g,
  .qmark, .qring, .paint-flow path, .cnet__node, .cnet__links path,
  .hmap__blds rect, .hmap__base path, .hmap__flow path { animation: none !important; }
  .paint-lines path, .hmap__base path { stroke-dashoffset: 0; }
  .paint-flow, .hmap__flow path { display: none; }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .card--wide { grid-column: span 2; }
}
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__copy { order: 2; }
  .hero__visual { order: 1; }
  .hero__lede { margin-inline: auto; }
  .hero__actions, .hero__points { justify-content: center; }
  .discover__inner { grid-template-columns: 1fr; }
  .discover__visual { order: -1; }
  .community__card { grid-template-columns: 1fr; }
  .community__art { display: none; }
  .steps { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .nav__links, .nav__cta, .langsel--desktop { display: none; }
  .nav__burger { display: flex; }
  .nav__mobile { display: flex; }
  .langsel--mobile { display: block; margin: 8px 0 4px; }
  .langsel--mobile summary { width: 100%; justify-content: center; }
  .langsel--mobile .langsel__menu { position: static; width: 100%; margin-top: 8px; box-shadow: none; }
  .hero__glass--1 { left: 0; } .hero__glass--2 { right: 0; }
}
@media (max-width: 560px) {
  .grid { grid-template-columns: 1fr; }
  .card--wide { grid-column: span 1; }
  .hero__points { gap: 16px; flex-wrap: wrap; }
  .footer__inner { flex-direction: column; }
}
