/* ═══════════════════════════════════════════════════════════════════════════
   Design tokens — single source of truth.
   Existing names kept for backward-compat; V-AB additions marked with NEW.
   North Star: ~/Desktop/Work/Projects/Skybow/skybow-home (V-AB hybrid).
   ═══════════════════════════════════════════════════════════════════════════ */
:root {
  /* ────────── Color · Background ────────── */
  --bg: #0b0c0f;
  --bg-card: #13141a;
  --bg-card-hover: #1a1b22;
  --bg-elevated: #14151a;          /* NEW · category card hero */
  --bg-overlay: #16171c;           /* NEW · sticky header bg */
  --ink: #0b0c0f;

  /* ────────── Color · Text ────────── */
  --text: #e2e3e8;
  --text-bright: #e8e9ee;          /* NEW · hero h1 in V-AB */
  --text-m: #a8aab4;
  --text-d: #9294a0;

  /* ────────── Color · Accent ─ purple primary ────────── */
  --accent: #c4a4e8;
  --accent-dim: rgba(196,164,232,.18);
  --accent-faint: rgba(196,164,232,.06);
  --accent-bd: rgba(196,164,232,.28);

  /* ────────── Color · Accent ─ secondary ────────── */
  --neon-pink: #f4a4d8;
  --neon-cyan: #7adcd8;
  --pink-soft: rgba(244,164,216,.12);
  --teal-soft: rgba(122,176,160,.12);
  --amber: #e8b86c;
  --amber-soft: rgba(232,184,108,.12);
  --acc: #8a9bb0;
  --acc2: #7ab0a0;

  /* ────────── Color · Status ────────── */
  --warn: #e07070;                 /* danger / panic-button */
  --warn-soft: rgba(224,112,112,.1);
  --warn-bd: rgba(224,112,112,.3);
  --good: #7ab0a0;
  --bad: #b44646;

  /* ────────── Color · Brand · External ────────── */
  --telegram: #0088cc;             /* NEW · Telegram card */
  --telegram-soft: rgba(0,136,204,.12);
  --telegram-bd: rgba(0,136,204,.25);

  /* ────────── Color · Rules ────────── */
  --rule: rgba(255,255,255,.06);
  --rule-strong: rgba(255,255,255,.12);

  /* ────────── Gradients ────────── */
  --grad: linear-gradient(135deg, #7a8ba0 0%, #c4a4e8 100%);
  --grad-s: linear-gradient(135deg, rgba(90,106,122,.1), rgba(90,122,112,.06));
  --grad-celebrate: linear-gradient(135deg, #7ab0a0 0%, #c4a4e8 50%, #f4a4d8 100%);

  /* ────────── Typography · Families ────────── */
  --font-ui: 'Outfit', system-ui, sans-serif;
  --font-display: 'Fraunces', serif;             /* NEW · "1400 лет" / "1 МЛН" stylized */
  --font-mono: 'JetBrains Mono', monospace;

  /* ────────── Typography · Scale ────────── */
  --fs-xs: .82rem;                 /* ~13px */
  --fs-sm: .9rem;                  /* ~14px */
  --fs-base: 1rem;                 /* 16px */
  --fs-md: .94rem;                 /* NEW · ~15px — V-AB body */
  --fs-lg: 1.5rem;                 /* NEW · 24px — section h2 */
  --fs-xl: 1.875rem;               /* NEW · 30px — feature heading */
  --fs-2xl: 2.875rem;              /* NEW · 46px — display "1 МЛН" / "1400 лет" */

  /* ────────── Radius scale ────────── */
  --r-sm: 8px;                     /* NEW */
  --r: 14px;                       /* base */
  --r-md: 18px;                    /* NEW */
  --r-lg: 24px;
  --r-xl: 43px;                    /* NEW · large feature cards */
  --r-arch: 54px;                  /* NEW · top-arch cards */
  --r-pill: 100px;                 /* NEW · pills, panic button */

  /* ────────── Spacing scale ────────── */
  --sp-xs: 4px;                    /* NEW */
  --sp-sm: 8px;                    /* NEW */
  --sp-md: 14px;                   /* NEW */
  --sp-lg: 18px;                   /* NEW */
  --sp-xl: 24px;                   /* NEW */
  --sp-2xl: 32px;                  /* NEW */
}
*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-tap-highlight-color:transparent}
body{font-family:'Outfit',system-ui,sans-serif;background:var(--bg);color:var(--text);line-height:1.7;font-size:var(--fs-base);-webkit-font-smoothing:antialiased;overflow-x:hidden}

/* lang — sub-pages still use data-lang for RU/EN */
[data-lang="ru"] [data-en],[data-lang="ru"] [data-uk],[data-lang="ru"] [data-uz],
[data-lang="en"] [data-ru],[data-lang="en"] [data-uk],[data-lang="en"] [data-uz],
[data-lang="uk"] [data-ru],[data-lang="uk"] [data-en],[data-lang="uk"] [data-uz],
[data-lang="uz"] [data-ru],[data-lang="uz"] [data-en],[data-lang="uz"] [data-uk]{display:none!important}

/* lang dropdown */
.lang-dropdown{position:relative}
.lang-toggle{display:flex;align-items:center;gap:4px;background:var(--bg-card);border:1px solid rgba(255,255,255,.06);border-radius:100px;color:var(--text);font:500 .82rem/1 'Outfit',sans-serif;padding:10px 14px;min-height:44px;cursor:pointer;transition:border-color .2s}
.lang-toggle:hover{border-color:rgba(122,139,160,.2)}
.lang-arrow{font-size:.6rem;color:var(--text-d);transition:transform .2s}
.lang-dropdown.open .lang-arrow{transform:rotate(180deg)}
.lang-menu{display:none;position:absolute;top:calc(100% + 6px);right:0;background:var(--bg-card);border:1px solid rgba(255,255,255,.08);border-radius:var(--r);overflow:hidden;min-width:60px;z-index:110;box-shadow:0 8px 24px rgba(0,0,0,.4)}
.lang-dropdown.open .lang-menu{display:flex;flex-direction:column}
.lang-option{color:var(--text-m);text-decoration:none;font:500 .82rem/1 'Outfit',sans-serif;padding:12px 18px;text-align:center;transition:all .15s}
.lang-option:hover{background:rgba(122,139,160,.1);color:var(--text)}
.lang-option.active{color:var(--text);background:rgba(122,139,160,.15)}

/* header */
.site-header{position:fixed;top:0;left:0;right:0;z-index:100;padding:12px 16px;display:flex;align-items:center;justify-content:space-between;background:rgba(11,12,15,.85);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}
.site-logo{color:var(--text);text-decoration:none;font-weight:700;font-size:1.1rem;min-height:44px;display:flex;align-items:center}
.header-right{display:flex;align-items:center;gap:8px}
/* legacy .lang styles removed — using .lang-dropdown now */
.menu-btn{width:44px;height:44px;border:1px solid rgba(255,255,255,.06);border-radius:10px;background:var(--bg-card);color:var(--text-m);font-size:18px;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:border-color .2s}
.menu-btn:hover{border-color:rgba(122,139,160,.2)}
.nav-overlay{position:fixed;top:0;left:0;right:0;bottom:0;z-index:99;background:rgba(11,12,15,.95);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);display:none;flex-direction:column;align-items:center;justify-content:center;gap:4px;padding:80px 24px 40px}
.nav-overlay.open{display:flex}
.nav-overlay a{color:var(--text-m);text-decoration:none;font-size:1.15rem;font-weight:500;padding:14px 0;min-height:48px;display:flex;align-items:center;transition:color .2s}
.nav-overlay a:hover{color:var(--text)}
.nav-overlay .nav-divider{width:40px;height:1px;background:rgba(255,255,255,.06);margin:8px 0}

/* sub-page header adjustment */
.site-header .back-link{color:var(--text-m);text-decoration:none;font-size:.85rem;display:flex;align-items:center;gap:4px;min-height:44px}

/* desktop inline nav — see panic section below for ≥900px overrides
   (rule order matters: panic-btn--floating's display:flex base would otherwise
   beat an earlier media query). */
.site-header-nav{display:none}
.site-header .panic-btn--inline{display:none}

/* layout */
.wrap{max-width:720px;margin:0 auto;padding:0 16px}
section{padding:64px 0}
.sec-label{font-size:.75rem;text-transform:uppercase;letter-spacing:.12em;color:var(--acc);font-weight:600;margin-bottom:10px}
.sec-title{font-size:clamp(1.4rem,4.5vw,1.9rem);font-weight:700;letter-spacing:-.01em;margin-bottom:12px}
.sec-desc{color:var(--text-m);font-size:var(--fs-base);max-width:480px;margin-bottom:36px;line-height:1.7}
.divider{width:40px;height:2px;background:var(--grad);border-radius:2px;margin:0 auto 48px;opacity:.3}

/* hero */
.hero{min-height:100svh;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;padding:80px 20px 60px;position:relative}
.hero::before{content:'';position:absolute;top:-30%;left:50%;transform:translateX(-50%);width:500px;height:500px;background:radial-gradient(circle,rgba(122,139,160,.05)0%,transparent 70%);pointer-events:none}
.hero-icon{width:52px;height:52px;border-radius:50%;background:var(--bg-card);border:1px solid rgba(122,139,160,.15);display:flex;align-items:center;justify-content:center;font-size:22px;margin-bottom:28px;box-shadow:0 0 60px rgba(122,139,160,.06)}
.hero h1{font-size:clamp(2rem,7vw,3.2rem);font-weight:700;letter-spacing:-.02em;line-height:1.1;margin-bottom:16px}
.hero h1 em{font-style:normal;background:var(--grad);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}
.hero-sub{font-size:clamp(1rem,3vw,1.15rem);color:var(--text-m);max-width:420px;margin-bottom:48px;line-height:1.7}
.scroll-btn{width:44px;height:44px;border-radius:50%;border:1px solid rgba(255,255,255,.08);background:none;color:var(--text-d);font-size:18px;cursor:pointer;transition:border-color .2s;display:flex;align-items:center;justify-content:center;animation:bob 2.5s ease-in-out infinite}
.scroll-btn:hover{border-color:rgba(122,139,160,.3)}
@keyframes bob{0%,100%{transform:translateY(0)}50%{transform:translateY(6px)}}

/* card grid (index) */
.cards{display:flex;flex-direction:column;gap:10px}
.card-link{display:flex;align-items:center;gap:14px;padding:18px;background:var(--bg-card);border:1px solid rgba(255,255,255,.04);border-radius:var(--r);text-decoration:none;color:var(--text);min-height:60px;transition:border-color .2s,background .2s}
.card-link:hover{border-color:rgba(122,139,160,.15);background:var(--bg-card-hover)}
.card-icon{font-size:1.3rem;flex-shrink:0;width:36px;text-align:center}
.card-titles{flex:1;min-width:0}
.card-titles h3{font-size:var(--fs-base);font-weight:600;line-height:1.3}
.card-sub{font-size:var(--fs-sm);color:var(--text-d);margin-top:3px;line-height:1.5}
.card-cta{color:var(--text-d);font-size:var(--fs-xs);flex-shrink:0;white-space:nowrap}

/* links & phones (shared) */
a.content-link{color:var(--acc2);text-decoration:none;border-bottom:1px solid rgba(106,154,141,.3);transition:border-color .2s}
a.content-link:hover{border-color:var(--acc2)}
.phone{display:inline-flex;align-items:center;gap:6px;background:rgba(106,154,141,.08);border:1px solid rgba(106,154,141,.15);border-radius:8px;padding:8px 14px;margin:4px 4px 4px 0;font-size:var(--fs-sm);color:var(--acc2);text-decoration:none;min-height:48px}
.phone:hover{background:rgba(106,154,141,.14)}

/* chat mock */
.chat-box{background:var(--bg-card);border:1px solid rgba(255,255,255,.04);border-radius:var(--r);padding:24px 18px;max-width:480px}
.chat-msg{margin-bottom:14px;max-width:85%}
.chat-msg.bot{margin-right:auto}
.chat-msg.user{margin-left:auto;text-align:right}
.chat-bubble{display:inline-block;padding:12px 16px;border-radius:14px;font-size:.88rem;line-height:1.5}
.chat-msg.bot .chat-bubble{background:rgba(122,139,160,.1);color:var(--text);border-bottom-left-radius:4px}
.chat-msg.user .chat-bubble{background:rgba(106,154,141,.1);color:var(--text);border-bottom-right-radius:4px}
.chat-input{display:flex;gap:10px;margin-top:18px;padding-top:16px;border-top:1px solid rgba(255,255,255,.04)}
.chat-input-field{flex:1;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.06);border-radius:100px;padding:12px 18px;color:var(--text-m);font-size:.85rem;font-family:inherit;outline:none}
.chat-send{width:44px;height:44px;border-radius:50%;border:none;background:var(--grad);color:#fff;font-size:16px;cursor:default;display:flex;align-items:center;justify-content:center;flex-shrink:0}

/* ready */
.ready-box{background:var(--bg-card);border:1px solid rgba(255,255,255,.04);border-radius:var(--r);padding:28px 20px;text-align:center}
.ready-box h3{font-size:1.1rem;font-weight:600;margin-bottom:12px}
.ready-box p{color:var(--text-m);font-size:.9rem;line-height:1.7;margin-bottom:20px}
.ready-links{display:flex;flex-direction:column;gap:10px;align-items:center}
.ready-link{display:inline-flex;align-items:center;gap:8px;padding:13px 24px;border-radius:100px;background:var(--grad-s);border:1px solid rgba(122,139,160,.1);color:var(--text);text-decoration:none;font-size:.9rem;font-weight:500;min-height:44px;transition:border-color .2s}
.ready-link:hover{border-color:rgba(122,139,160,.25)}

/* footer */
footer{padding:40px 0 24px;border-top:1px solid rgba(255,255,255,.03)}
.footer-grid{display:flex;flex-direction:column;gap:24px;font-size:var(--fs-xs);color:var(--text-d)}
.footer-col h4{font-size:var(--fs-xs);text-transform:uppercase;letter-spacing:.08em;color:var(--text-m);margin-bottom:8px;font-weight:600}
.footer-col a{display:block;color:var(--text-d);text-decoration:none;padding:3px 0;transition:color .2s}
.footer-col a:hover{color:var(--text-m)}
.footer-bottom{margin-top:24px;padding-top:16px;border-top:1px solid rgba(255,255,255,.03);text-align:center;font-size:.75rem;color:var(--text-d)}
.footer-bottom a{color:var(--text-d);text-decoration:none}
.footer-bottom a:hover{color:var(--text-m)}
footer p{font-size:var(--fs-xs);color:var(--text-d);margin-bottom:6px}
footer a{color:var(--text-m);text-decoration:none}
footer a:hover{color:var(--acc)}

/* cookie banner */
.cookie-banner{position:fixed;bottom:0;left:0;right:0;z-index:200;background:var(--bg-card);border-top:1px solid rgba(255,255,255,.06);padding:14px 16px;display:none;align-items:center;gap:12px;flex-wrap:wrap;font-size:var(--fs-xs);color:var(--text-m)}
.cookie-banner.show{display:flex}
.cookie-banner p{flex:1;min-width:200px;line-height:1.5}
.cookie-banner a{color:var(--acc2);text-decoration:none}
.cookie-btns{display:flex;gap:8px;flex-shrink:0}
.cookie-btn{border:none;border-radius:8px;padding:8px 16px;font:500 .82rem/1 'Outfit',sans-serif;cursor:pointer;min-height:36px}
.cookie-accept{background:rgba(106,154,141,.2);color:var(--acc2)}
.cookie-reject{background:rgba(255,255,255,.04);color:var(--text-d)}

/* video embed */
.video-wrap{position:relative;padding-bottom:56.25%;height:0;overflow:hidden;border-radius:var(--r);margin:16px 0}
.video-wrap iframe{position:absolute;top:0;left:0;width:100%;height:100%;border:0}

/* sub-page — atmospheric glow body matches home3 (lighter alpha so content
   stays readable). Adds Fraunces display h1 for visual continuity with the
   V-AB hero on /. */
body.page-body {
  background:
    radial-gradient(ellipse 70% 40% at 8% 8%, rgba(196,164,232,.06) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 92% 92%, rgba(122,176,160,.04) 0%, transparent 60%),
    var(--bg);
  background-attachment: fixed;
}
.back-nav{display:none}
.page-hero{padding:80px 0 32px}
.page-icon{font-size:2rem;margin-bottom:16px}
.page-hero h1{font-size:clamp(1.85rem,6vw,2.6rem);font-weight:700;letter-spacing:-.02em;line-height:1.1;margin-bottom:10px}
.page-sub{color:var(--text-m);font-size:1rem;line-height:1.55}
.page-content{padding:0 0 64px}
.page-content .wrap{font-size:var(--fs-base);color:var(--text-m);line-height:1.8}
.page-content a{color:var(--acc2);text-decoration:none;border-bottom:1px solid rgba(106,154,141,.3);transition:border-color .2s}
.page-content a:hover{border-color:var(--acc2)}
.page-content a.phone{border-bottom:none}
.page-content b{color:var(--text);font-weight:600}

/* org cards (sub-pages) */
.org-card{background:var(--bg-card);border:1px solid rgba(255,255,255,.04);border-radius:var(--r);padding:20px;margin-bottom:12px;transition:border-color .2s}
.org-card:hover{border-color:rgba(122,139,160,.12)}
.org-card h3{font-size:1.05rem;font-weight:600;margin-bottom:8px}
.org-card .org-desc{font-size:var(--fs-sm);color:var(--text-m);line-height:1.8;margin-bottom:14px}
.org-card .org-contacts{display:flex;flex-wrap:wrap;gap:8px}
.org-card .org-tag{font-size:var(--fs-xs);color:var(--text-d);background:rgba(255,255,255,.05);border-radius:6px;padding:4px 10px;display:inline-block;margin-bottom:6px}

/* card shade variants */
.org-card.shade-1{background:#12141c}
.org-card.shade-2{background:#141620}
.org-card.shade-3{background:#111319}
.org-card.shade-warn{background:rgba(200,160,60,.04);border-color:rgba(200,160,60,.1)}
.org-card.shade-good{background:rgba(106,154,141,.06);border-color:rgba(106,154,141,.1)}
.org-card.shade-bad{background:rgba(180,70,70,.04);border-color:rgba(180,70,70,.08)}

/* disclaimer */
.disclaimer{background:rgba(255,255,255,.03);border:1px solid rgba(255,255,255,.06);border-radius:var(--r);padding:18px 20px;margin-top:32px;font-size:var(--fs-xs);color:var(--text-d);line-height:1.7}
.disclaimer b{color:var(--text-m);font-weight:600}
.disclaimer a{color:var(--text-m)}

/* floating telegram */
.tg-float{position:fixed;bottom:24px;right:24px;z-index:90;width:56px;height:56px;border-radius:50%;background:var(--bg-card);border:1px solid rgba(255,255,255,.08);display:flex;align-items:center;justify-content:center;text-decoration:none;box-shadow:0 4px 20px rgba(0,0,0,.3);transition:transform .2s,border-color .2s}
.tg-float:hover{transform:scale(1.08);border-color:rgba(122,139,160,.25)}
.tg-float svg{width:24px;height:24px;fill:var(--text-m)}
.tg-float:hover svg{fill:var(--text)}

/* panic button — base + variants. Always rendered via <PanicButton>. */
.panic-btn{background:rgba(200,60,60,.2);border:1px solid rgba(200,60,60,.3);color:#e07070;font:600 var(--fs-xs)/1 'Outfit',sans-serif;padding:10px 18px;border-radius:100px;text-decoration:none;min-height:44px;display:inline-flex;align-items:center;gap:6px;transition:background .2s;white-space:nowrap}
.panic-btn:hover{background:rgba(200,60,60,.35)}
/* variant: 'floating' — fixed top-centre pill (global default on every page). */
.panic-btn--floating{position:fixed;top:12px;left:50%;transform:translateX(-50%);z-index:101;display:flex}
/* variant: 'inline' — flows in flex parent (e.g. quiz-top, desktop header).
   Slightly tighter padding to match in-header rhythm. */
.panic-btn--inline{padding:10px 14px;background:rgba(200,60,60,.18)}
.panic-btn--inline:hover{background:rgba(200,60,60,.3)}

/* desktop inline nav + inline panic in .site-header at ≥900px.
   Floating panic is hidden because it overlaps the inline nav middle column. */
@media (min-width:900px){
  .site-header-nav{display:flex;flex:1;justify-content:center;gap:24px}
  .site-header-nav a{color:var(--text-m);text-decoration:none;font:500 .9rem/1 'Outfit',sans-serif;padding:10px 14px;border-radius:8px;transition:background .15s,color .15s}
  .site-header-nav a:hover{background:rgba(255,255,255,.04);color:var(--text)}
  .panic-btn--floating{display:none}
  .site-header .panic-btn--inline{display:inline-flex}
}

/* sub-nav (inner pages) */
.sub-nav{position:fixed;top:56px;left:0;right:0;z-index:98;background:rgba(11,12,15,.92);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-bottom:1px solid rgba(255,255,255,.04);overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:none}
.sub-nav::-webkit-scrollbar{display:none}
.sub-nav-inner{display:flex;gap:2px;padding:6px 12px;white-space:nowrap;min-width:max-content}
.sub-nav a{color:var(--text-d);text-decoration:none;font-size:var(--fs-xs);font-weight:500;padding:10px 14px;border-radius:100px;min-height:44px;display:flex;align-items:center;transition:all .2s;flex-shrink:0}
.sub-nav a:hover{color:var(--text-m)}
.sub-nav a.active{color:var(--text);background:rgba(122,139,160,.15)}

/* prev/next */
.prev-next{display:flex;gap:12px;margin-top:40px;padding-top:24px;border-top:1px solid rgba(255,255,255,.04)}
.prev-next a{flex:1;display:flex;flex-direction:column;gap:4px;padding:16px;background:var(--bg-card);border:1px solid rgba(255,255,255,.04);border-radius:var(--r);text-decoration:none;color:var(--text);transition:border-color .2s}
.prev-next a:hover{border-color:rgba(122,139,160,.15)}
.prev-next .pn-label{font-size:var(--fs-xs);color:var(--text-d)}
.prev-next .pn-title{font-size:var(--fs-sm);font-weight:600}
.prev-next .pn-next{text-align:right}

/* page hero padding for sub-nav */
.has-sub-nav .page-hero{padding-top:110px}

/* a11y: focus */
:focus-visible{outline:2px solid var(--acc);outline-offset:2px;border-radius:4px}
a:focus-visible,button:focus-visible{outline:2px solid var(--acc);outline-offset:2px}

/* a11y: skip-nav */
.skip-link{position:absolute;top:-100px;left:16px;background:var(--bg-card);color:var(--text);padding:12px 20px;border-radius:var(--r);z-index:200;font-size:var(--fs-sm);text-decoration:none;border:1px solid rgba(255,255,255,.1);transition:top .2s}
.skip-link:focus{top:12px}

/* a11y: cookie btn size */
.cookie-btn{min-height:44px;min-width:44px}

/* mobile: overflow */
.page-content a,.phone,.org-desc{overflow-wrap:break-word;word-break:break-word}

/* desktop */
@media(min-width:640px){
  .cards{display:grid;grid-template-columns:1fr 1fr;gap:12px}
  .chat-box{margin:0 auto}
  .ready-links{flex-direction:row;justify-content:center}
  .footer-grid{flex-direction:row;justify-content:space-between}
}

/* ═══════════════════════════════════════════════════════════════ */
/*  DESIGN v2 — phone-first TikTok-aesthetic for closeted 18-30    */
/*  (tokens consolidated into :root at top of file)                */
/* ═══════════════════════════════════════════════════════════════ */

/* ── site-logo image (added with brand SVG wordmark) ── */
.site-logo img { display: block; height: 28px; width: auto; }

/* ── v2 Card · quiz variant (drawing eye to «Тест на ориентацию») ── */
.v2-card-quiz {
  background:
    radial-gradient(circle at 100% 0%, rgba(244,164,216,.08) 0%, transparent 50%),
    radial-gradient(circle at 0% 100%, rgba(122,176,160,.06) 0%, transparent 50%),
    var(--bg-card);
  border-color: var(--accent-dim);
  position: relative;
  overflow: hidden;
}
.v2-card-quiz::before {
  content: '';
  position: absolute; inset: -1px;
  border-radius: 24px;
  padding: 1px;
  background: var(--grad-celebrate);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: .35;
  pointer-events: none;
}
.v2-card-quiz .v2-card-label { color: var(--accent); }
.v2-card-quiz .v2-card-cta { color: var(--neon-pink); }

/* ── Vertical snap feed (TikTok-style) ── */
.snap-feed {
  scroll-snap-type: y mandatory;
  overflow-y: auto;
  height: 100vh;
  scroll-behavior: smooth;
}
.snap-feed > section {
  scroll-snap-align: start;
  scroll-snap-stop: always;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 24px 120px;
  position: relative;
}

/* ── v2 Hero ── */
.v2-hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 24px;
  position: relative;
  background: radial-gradient(ellipse 80% 60% at 70% 20%, var(--accent-faint) 0%, transparent 60%),
              var(--bg);
}
.v2-hero-eyebrow {
  font-size: 13px;
  color: var(--text-d);
  text-transform: uppercase;
  letter-spacing: .15em;
  margin-bottom: 18px;
  font-weight: 500;
}
.v2-hero-title {
  font: 900 clamp(44px, 12vw, 84px) / .95 'Outfit', system-ui, sans-serif;
  color: var(--text);
  letter-spacing: -0.035em;
  margin: 0 0 22px;
  font-style: normal;
}
.v2-hero-title em {
  font-style: normal;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.v2-hero-sub {
  font-size: 17px;
  color: var(--text-m);
  line-height: 1.55;
  margin-bottom: 36px;
  max-width: 340px;
}
.v2-hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 24px;
  background: var(--accent);
  color: #0b0c0f;
  border-radius: 100px;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  align-self: flex-start;
  transition: transform .15s;
}
.v2-hero-cta:active { transform: scale(.95); }
.v2-hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 22px;
  color: var(--text-d);
  animation: bob 2s ease-in-out infinite;
}

/* ── v2 Card in feed ── */
.v2-card-section {
  padding: 0 24px;
}
.v2-card {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 24px;
  padding: 28px 22px;
  transition: transform .15s, border-color .2s;
  display: block;
  text-decoration: none;
  color: inherit;
}
.v2-card:active { transform: scale(.98); border-color: var(--accent-dim); }
.v2-card-label {
  font-size: 11px;
  color: var(--accent);
  letter-spacing: .15em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 14px;
}
.v2-card-title {
  font: 900 32px/1.05 'Outfit', system-ui, sans-serif;
  color: var(--text);
  letter-spacing: -0.02em;
  margin: 0 0 14px;
}
.v2-card-sub {
  font-size: 16px;
  color: var(--text-m);
  line-height: 1.5;
  margin-bottom: 22px;
}
.v2-card-cta {
  font-size: 14px;
  color: var(--accent);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ── Sticky bottom action bar (global) ── */
.v2-bottom-bar {
  position: fixed;
  bottom: 14px;
  left: 14px;
  right: 14px;
  background: rgba(19,20,26,.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 100px;
  padding: 10px 16px;
  display: flex;
  gap: 4px;
  justify-content: space-around;
  z-index: 900;
  box-shadow: 0 8px 32px rgba(0,0,0,.5);
}
.v2-bar-item {
  flex: 1;
  padding: 8px 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  color: var(--text-m);
  text-decoration: none;
  font-size: 11px;
  font-weight: 500;
  border-radius: 14px;
  transition: background .15s, color .15s;
  min-height: 44px;
}
.v2-bar-item:hover, .v2-bar-item:focus-visible {
  background: rgba(255,255,255,.04);
  color: var(--text);
}
.v2-bar-icon { font-size: 22px; line-height: 1; }
body { padding-bottom: 80px; }

/* ── Big stat pill ── */
.v2-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 100px;
  background: rgba(255,255,255,.03);
  font-size: 13px;
  color: var(--text-m);
}
.v2-pill b { color: var(--text); font-weight: 700; }

/* ── Animations ── */
@keyframes bob {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

@media (max-width: 400px) {
  .v2-hero-title { font-size: clamp(40px, 11vw, 72px); }
}

/* ── Phone-only spacing (since we dropped desktop aspirations) ── */
@media (min-width: 900px) {
  .v2-hero, .snap-feed > section { max-width: 520px; margin: 0 auto; }
  .v2-bottom-bar { max-width: 480px; margin: 0 auto; left: 50%; transform: translateX(-50%); right: auto; }
}

/* ═══════════════════════════════════════════════════════════════ */
/*  HOME v3 — designer's V-AB hybrid (TopNav + HeroA + HeroB +     */
/*  6 Cats + Manifest + 2 Stories + 6 Countries + TG + FAQ + Foot) */
/* ═══════════════════════════════════════════════════════════════ */

/* desktop body decoration — soft glows so empty sides feel intentional */
body.home3-body {
  background:
    radial-gradient(ellipse 60% 40% at 8% 12%, rgba(196,164,232,.10) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 92% 88%, rgba(122,176,160,.08) 0%, transparent 60%),
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(244,164,216,.04) 0%, transparent 60%),
    var(--bg);
  background-attachment: fixed;
}

.home3 {
  max-width: 480px;
  margin: 0 auto;
  min-height: 100vh;
  position: relative;
  /* clear the fixed .site-header (~56px). */
  padding-top: 56px;
}
@media (min-width: 720px) {
  .home3 { max-width: 560px; }
}
@media (min-width: 1100px) {
  .home3 { max-width: 720px; }
  /* slight visual frame on wide screens so column reads as "the app" */
  body.home3-body .home3 {
    border-left: 1px solid var(--rule);
    border-right: 1px solid var(--rule);
    background:
      radial-gradient(ellipse 100% 30% at 50% 0%, rgba(196,164,232,.04) 0%, transparent 60%),
      rgba(11,12,15,.4);
    backdrop-filter: blur(8px);
  }
}

/* TOP NAV — homepage now uses the unified <SiteHeader>; the old .h3-topnav
   markup and styles were removed in Phase 2a. */

/* HERO A — text */
.h3-hero-a {
  padding: 36px 22px 32px;
  border-bottom: 1px solid var(--rule);
  position: relative;
  overflow: hidden;
}
.h3-hero-a::before {
  content: '';
  position: absolute;
  top: -120px; left: 50%;
  transform: translateX(-50%);
  width: 520px; height: 240px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(196,164,232,.18), transparent 70%);
  pointer-events: none;
}
.h3-eyebrow {
  font: 500 11px/1 'JetBrains Mono', monospace;
  color: var(--accent);
  letter-spacing: .18em;
  text-transform: uppercase;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
  z-index: 1;
}
.h3-eyebrow .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(196,164,232,.8);
  animation: h3-pulse 2s infinite;
}
@keyframes h3-pulse { 0%, 100% { opacity: .5; } 50% { opacity: 1; } }
.h3-hero-a h1 {
  font: 800 38px/1 'Outfit', sans-serif;
  letter-spacing: -.03em;
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
}
.h3-hero-a h1 em { font-style: normal; color: var(--accent); }
.h3-hero-a .lead {
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-m);
  margin-bottom: 22px;
  position: relative;
  z-index: 1;
}
.h3-cta-row {
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  z-index: 1;
}
.h3-cta-pri {
  flex: 1;
  height: 54px;
  border-radius: 14px;
  background: var(--accent);
  color: var(--ink);
  font: 700 15.5px/1 'Outfit', sans-serif;
  letter-spacing: -.01em;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 8px 20px -8px rgba(196,164,232,.6);
  text-decoration: none;
  cursor: pointer;
}
.h3-cta-sec {
  height: 54px;
  padding: 0 18px;
  border-radius: 14px;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--rule);
  color: var(--text);
  font: 600 13.5px/1 'Outfit', sans-serif;
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  cursor: pointer;
}
.h3-promise {
  margin-top: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  font: 500 12px/1.4 'Outfit', sans-serif;
  color: var(--text-d);
  position: relative;
  z-index: 1;
}
.h3-promise svg { flex-shrink: 0; color: var(--good); }

/* HERO B — quiz embedded */
.h3-hero-b {
  padding: 28px 22px;
  border-bottom: 1px solid var(--rule);
}
.h3-hero-b .h3-eyebrow { color: var(--text-d); }
.h3-hero-b .h3-eyebrow span { color: var(--accent); }
.h3-qcard {
  background: linear-gradient(180deg, rgba(196,164,232,.06), rgba(196,164,232,.02));
  border: 1px solid var(--accent-bd);
  border-radius: 20px;
  padding: 24px 22px 18px;
}
.h3-qnum {
  font: 500 10px/1 'JetBrains Mono', monospace;
  color: var(--accent);
  letter-spacing: .18em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.h3-qcard h2 {
  font: 700 26px/1.15 'Outfit', sans-serif;
  letter-spacing: -.02em;
  margin-bottom: 18px;
  color: var(--text);
}
.h3-scale {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
}
.h3-scale a {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(255,255,255,.03);
  border: 1px solid var(--rule);
  color: var(--text);
  font: 500 13.5px/1.3 'Outfit', sans-serif;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  transition: background .15s, border-color .15s;
}
.h3-scale a:hover { background: var(--accent-faint); border-color: var(--accent-dim); }
.h3-scale .num {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: rgba(196,164,232,.1);
  color: var(--accent);
  font: 600 11px/1 'JetBrains Mono', monospace;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.h3-skip {
  margin-top: 6px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font: 500 12px/1 'Outfit', sans-serif;
  color: var(--text-d);
}
.h3-skip a { color: var(--accent); text-decoration: none; }
.h3-underline {
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  font: 500 12px/1 'JetBrains Mono', monospace;
  color: var(--text-d);
  letter-spacing: .05em;
}

/* SECTIONS */
.h3-sec {
  padding: 32px 20px;
  border-bottom: 1px solid var(--rule);
}
.h3-sec-h {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 18px;
}
.h3-sec-h h2 {
  font: 700 18px/1 'Outfit', sans-serif;
  letter-spacing: -.01em;
  color: var(--text);
}
.h3-more {
  font: 500 12px/1 'Outfit', sans-serif;
  color: var(--accent);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 4px;
}
.h3-sec-eyebrow {
  font: 500 10px/1 'JetBrains Mono', monospace;
  color: var(--text-d);
  letter-spacing: .18em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

/* CATEGORY GRID — 6 cards */
.h3-cat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.h3-cat {
  background: var(--bg-card-hover);
  border: 1px solid var(--rule);
  border-radius: 14px;
  padding: 16px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 120px;
  position: relative;
  text-decoration: none;
  color: var(--text);
}
.h3-cat .ic {
  width: 34px; height: 34px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.h3-cat .ic.lav { background: var(--accent-faint); color: var(--accent); }
.h3-cat .ic.teal { background: var(--teal-soft); color: var(--good); }
.h3-cat .ic.pink { background: var(--pink-soft); color: var(--neon-pink); }
.h3-cat .ic.amber { background: var(--amber-soft); color: var(--amber); }
.h3-cat .ic.warn { background: var(--warn-soft); color: var(--warn); }
.h3-cat .ic.mono { background: rgba(255,255,255,.05); color: var(--text-m); }
.h3-cat h4 { font: 700 14px/1.2 'Outfit', sans-serif; color: var(--text); letter-spacing: -.01em; }
.h3-cat p { font-size: 11.5px; line-height: 1.4; color: var(--text-d); flex: 1; }
.h3-cat .cnt {
  font: 500 10px/1 'JetBrains Mono', monospace;
  color: var(--text-d);
  letter-spacing: .05em;
}

/* full-width hero category */
.h3-cat-hero {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
  background: linear-gradient(135deg, rgba(224,112,112,.08), rgba(224,112,112,.02));
  border-color: rgba(224,112,112,.22);
}
.h3-cat-hero .ic { width: 42px; height: 42px; border-radius: 10px; background: rgba(224,112,112,.16); color: var(--warn); }
.h3-cat-hero h4 { font-size: 15px; }
.h3-cat-hero p { font-size: 11.5px; margin-top: 2px; }
.h3-cat-hero .arr { margin-left: auto; color: var(--warn); flex-shrink: 0; }

/* MANIFEST */
.h3-manifest {
  padding: 40px 22px;
  background: var(--bg-card);
  border-bottom: 1px solid var(--rule);
}
.h3-manifest .row { margin-bottom: 24px; }
.h3-manifest .row:last-child { margin-bottom: 0; }
.h3-manifest .num {
  font-family: 'Fraunces', 'Outfit', serif;
  font-weight: 600;
  font-size: 46px;
  line-height: .9;
  color: var(--accent);
  letter-spacing: -.03em;
  font-variation-settings: "opsz" 144;
  margin-bottom: 6px;
}
.h3-manifest .num em {
  font-style: italic;
  font-weight: 400;
  font-size: 30px;
  color: var(--text-m);
  margin-left: 6px;
}
.h3-manifest h3 {
  font: 700 18px/1.2 'Outfit', sans-serif;
  letter-spacing: -.015em;
  margin-bottom: 6px;
  color: var(--text);
}
.h3-manifest p { font-size: 13.5px; line-height: 1.5; color: var(--text-m); }

/* STORIES */
.h3-story {
  background: var(--bg-card-hover);
  border: 1px solid var(--rule);
  border-radius: 14px;
  padding: 18px 16px;
  margin-bottom: 10px;
}
.h3-story:last-child { margin-bottom: 0; }
.h3-story-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  font: 500 10px/1 'JetBrains Mono', monospace;
  color: var(--text-d);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.h3-story-meta .anon {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--good));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font: 700 10px/1 'Outfit', sans-serif;
  color: var(--ink);
}
.h3-story-meta .anon.pink { background: linear-gradient(135deg, var(--neon-pink), var(--amber)); }
.h3-story p {
  font-family: 'Fraunces', 'Outfit', serif;
  font-weight: 400;
  font-style: italic;
  font-size: 15px;
  line-height: 1.45;
  color: var(--text);
  font-variation-settings: "opsz" 144;
}

/* COUNTRY chips */
.h3-country-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.h3-country {
  background: var(--bg-card-hover);
  border: 1px solid var(--rule);
  border-radius: 12px;
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
}
.h3-country.active { border-color: var(--accent-bd); background: var(--accent-faint); }
.h3-country .flag {
  width: 28px; height: 20px;
  border-radius: 3px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}
.h3-country b { font: 600 13px/1.1 'Outfit', sans-serif; display: block; }
.h3-country span { font: 500 10px/1 'JetBrains Mono', monospace; color: var(--text-d); }

/* TELEGRAM CARD */
.h3-tg-card {
  margin: 0 20px 32px;
  background: linear-gradient(135deg, rgba(0,136,204,.12), rgba(196,164,232,.06));
  border: 1px solid rgba(0,136,204,.25);
  border-radius: 18px;
  padding: 22px 20px;
  position: relative;
  overflow: hidden;
}
.h3-tg-card::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 140px; height: 140px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(0,136,204,.2), transparent 70%);
}
.h3-tg-card .row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
}
.h3-tg-card .ic {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: #0088cc;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.h3-tg-card h3 { font: 700 16px/1.2 'Outfit', sans-serif; margin-bottom: 3px; color: var(--text); }
.h3-tg-card .handle { font: 500 12px/1 'JetBrains Mono', monospace; color: var(--text-d); }
.h3-tg-card p { font-size: 13px; line-height: 1.5; color: var(--text-m); margin-bottom: 14px; position: relative; z-index: 1; }
.h3-tg-card .cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  border-radius: 12px;
  background: #0088cc;
  color: #fff;
  font: 600 14px/1 'Outfit', sans-serif;
  text-decoration: none;
  position: relative;
  z-index: 1;
}

/* FAQ */
.h3-faq-item {
  border-bottom: 1px solid var(--rule);
  padding: 16px 0;
}
.h3-faq-item:first-child { padding-top: 6px; }
.h3-faq-item:last-child { border-bottom: none; }
.h3-faq-item summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  font: 600 14.5px/1.4 'Outfit', sans-serif;
  color: var(--text);
  letter-spacing: -.005em;
  cursor: pointer;
  list-style: none;
}
.h3-faq-item summary::-webkit-details-marker { display: none; }
.h3-faq-item .plus {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--rule);
  color: var(--text-d);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 14px;
  font-weight: 300;
  flex-shrink: 0;
  transition: all .15s;
}
.h3-faq-item[open] .plus {
  background: var(--accent-faint);
  color: var(--accent);
  border-color: var(--accent-dim);
}
.h3-faq-item[open] .plus::after { content: '−'; }
.h3-faq-item:not([open]) .plus::after { content: '+'; }
.h3-faq-a {
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--text-m);
}

/* FOOTER */
.h3-footer { padding: 30px 20px 100px; }
.h3-footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 24px;
  margin-bottom: 22px;
}
.h3-footer-col h4 {
  font: 600 11px/1 'JetBrains Mono', monospace;
  color: var(--text-d);
  letter-spacing: .15em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.h3-footer-col a {
  display: block;
  font: 500 13px/1.7 'Outfit', sans-serif;
  color: var(--text);
  text-decoration: none;
}
.h3-footer-legal {
  padding-top: 18px;
  border-top: 1px solid var(--rule);
  font: 500 10px/1.55 'Outfit', sans-serif;
  color: var(--text-d);
}
.h3-footer-legal b { color: var(--text-m); font-weight: 600; }

/* hide global panic-btn on home3 (custom inline panic button instead) */
/* Phase 2a: floating panic now shows on home too — same as every other page.
   skip-link still suppressed because the V-AB hero already starts visible. */
body.home3-body .skip-link { display: none; }
