/* WalkBloom — public site. Deep navy + teal, Inter. No external requests (strict CSP). */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('/assets/fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('/assets/fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --bg: #070c17;
  --bg-2: #0b1220;
  --surface: #0f1829;
  --surface-2: #132036;
  --line: rgba(148, 170, 205, 0.12);
  --line-strong: rgba(148, 170, 205, 0.22);
  --text: #f1f5f9;
  --text-2: #c3cede;
  --muted: #8a9ab3;
  --teal: #2dd4bf;
  --teal-2: #5eead4;
  --teal-deep: #0d9488;
  --amber: #fbbf24;
  --violet: #a78bfa;
  --radius: 22px;
  --max: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  font-feature-settings: 'cv02', 'cv03', 'cv04', 'cv11';
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--teal-2); text-decoration: none; }
a:hover { color: var(--text); }
::selection { background: rgba(45, 212, 191, 0.3); }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Language: English only; Somali is permanently hidden. */
[lang='so'] { display: none !important; }
.lang-menu { display: none !important; }

/* ── Navigation ─────────────────────────────────────────── */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background .3s var(--ease), border-color .3s var(--ease), backdrop-filter .3s; border-bottom: 1px solid transparent; }
.nav.scrolled { background: rgba(7, 12, 23, 0.72); backdrop-filter: saturate(160%) blur(18px); -webkit-backdrop-filter: saturate(160%) blur(18px); border-bottom-color: var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 16px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-weight: 800; font-size: 19px; letter-spacing: -0.02em; }
.brand:hover { color: var(--text); }
.brand img { width: 34px; height: 34px; border-radius: 10px; box-shadow: 0 6px 18px -6px rgba(45, 212, 191, 0.6); }
.brand b { color: var(--teal); font-weight: 800; }
.nav-links { display: flex; align-items: center; gap: 4px; margin-inline-start: 28px; }
.nav-links a { color: var(--text-2); font-size: 14.5px; font-weight: 500; padding: 8px 12px; border-radius: 10px; transition: color .2s, background .2s; }
.nav-links a:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.nav-end { margin-inline-start: auto; display: flex; align-items: center; gap: 10px; }
.lang { appearance: none; border: 1px solid var(--line-strong); background: transparent; color: var(--text-2); border-radius: 999px; padding: 7px 14px; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; transition: border-color .2s, color .2s; }
.lang:hover { color: var(--text); border-color: var(--teal); }
@media (max-width: 860px) { .nav-links { display: none; } }

/* ── Buttons ────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: 999px; font-weight: 650; font-size: 14.5px; border: 1px solid transparent; transition: transform .2s var(--ease), box-shadow .2s, background .2s, border-color .2s; white-space: nowrap; }
.btn-primary { color: #04201d; background: linear-gradient(180deg, #5eead4, #2dd4bf); box-shadow: 0 10px 30px -10px rgba(45, 212, 191, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.45); }
.btn-primary:hover { color: #04201d; transform: translateY(-1px); box-shadow: 0 14px 34px -10px rgba(45, 212, 191, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.45); }
.btn-ghost { color: var(--text); border-color: var(--line-strong); background: rgba(255, 255, 255, 0.03); }
.btn-ghost:hover { color: var(--text); border-color: var(--teal); }
@media (max-width: 520px) { .nav .btn-primary { display: none; } }

/* Store badges */
.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.store { display: inline-flex; align-items: center; gap: 12px; height: 56px; padding: 0 20px 0 16px; border-radius: 16px; background: #fff; color: #0b1220; border: 1px solid #fff; transition: transform .2s var(--ease), box-shadow .2s; box-shadow: 0 12px 30px -14px rgba(255, 255, 255, 0.35); }
.store:hover { color: #0b1220; transform: translateY(-2px); }
.store.dark { background: rgba(255, 255, 255, 0.04); color: var(--text); border-color: var(--line-strong); box-shadow: none; }
.store.dark:hover { color: var(--text); border-color: var(--text-2); }
.store svg { width: 26px; height: 26px; flex-shrink: 0; }
.store .t { display: flex; flex-direction: column; line-height: 1.1; }
.store small { font-size: 11px; font-weight: 500; opacity: 0.72; letter-spacing: 0.01em; }
.store strong { font-size: 17px; font-weight: 700; letter-spacing: -0.01em; }

/* ── Hero ───────────────────────────────────────────────── */
.hero { position: relative; padding: 148px 0 96px; isolation: isolate; }
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(900px 520px at 78% 18%, rgba(45, 212, 191, 0.20), transparent 62%),
    radial-gradient(700px 480px at 8% 90%, rgba(167, 139, 250, 0.10), transparent 60%),
    radial-gradient(600px 400px at 50% 110%, rgba(251, 191, 36, 0.07), transparent 60%);
}
.hero::after {
  content: ''; position: absolute; inset: 0; z-index: -1; opacity: 0.55;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
}
.hero .wrap { display: grid; gap: 56px; align-items: center; }
@media (min-width: 980px) { .hero .wrap { grid-template-columns: 1.02fr 0.98fr; } }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 8px; border-radius: 999px; background: rgba(45, 212, 191, 0.08); border: 1px solid rgba(45, 212, 191, 0.25); color: var(--teal-2); font-size: 13px; font-weight: 600; }
.pill i { font-style: normal; background: var(--teal); color: #04201d; border-radius: 999px; padding: 2px 8px; font-size: 11px; font-weight: 800; letter-spacing: 0.02em; }
h1 { font-size: clamp(40px, 6.4vw, 72px); line-height: 1.02; letter-spacing: -0.045em; font-weight: 800; margin: 22px 0 20px; }
.grad { background: linear-gradient(100deg, #5eead4 0%, #2dd4bf 40%, #a7f3d0 70%, #fbbf24 110%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(17px, 1.6vw, 19.5px); color: var(--text-2); max-width: 33em; margin: 0 0 34px; }
.trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 30px; color: var(--muted); font-size: 14px; font-weight: 500; }
.trust span { display: inline-flex; align-items: center; gap: 8px; }
.trust svg { width: 16px; height: 16px; color: var(--teal); }

/* Phone mockups */
.stage { position: relative; height: 640px; display: flex; justify-content: center; }
@media (max-width: 979px) { .stage { height: 560px; } }
@media (max-width: 520px) { .stage { height: 470px; } }
.phone {
  position: absolute; width: 290px; aspect-ratio: 9 / 19.3; border-radius: 46px; padding: 11px;
  background: linear-gradient(145deg, #2a3854, #121b2d 45%, #1d2a42);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.07) inset, 0 50px 90px -30px rgba(0, 0, 0, 0.85), 0 30px 60px -40px rgba(45, 212, 191, 0.5);
}
.phone::before { content: ''; position: absolute; top: 20px; left: 50%; transform: translateX(-50%); width: 84px; height: 24px; border-radius: 20px; background: #05080f; z-index: 2; }
.phone .screen { width: 100%; height: 100%; border-radius: 36px; overflow: hidden; background: #0b1220; padding-top: 34px; }
.phone .screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.phone.front { z-index: 2; left: 50%; top: 10px; transform: translateX(-62%) rotate(-3deg); }
.phone.back { z-index: 1; left: 50%; top: 70px; transform: translateX(-2%) rotate(5deg) scale(0.92); opacity: 0.92; }
@media (max-width: 520px) {
  .phone { width: 220px; border-radius: 36px; padding: 8px; }
  .phone .screen { border-radius: 29px; padding-top: 26px; }
  .phone::before { top: 15px; width: 64px; height: 18px; }
}
.float { position: absolute; z-index: 3; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 18px; background: rgba(19, 32, 54, 0.78); border: 1px solid var(--line-strong); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 20px 40px -18px rgba(0, 0, 0, 0.8); animation: bob 6s ease-in-out infinite; }
.float b { display: block; font-size: 16px; letter-spacing: -0.01em; }
.float small { display: block; color: var(--muted); font-size: 12px; }
.float .ico { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; }
.float .ico svg { width: 20px; height: 20px; }
.f1 { top: 120px; left: 2%; }
.f2 { bottom: 120px; right: 0; animation-delay: -2s; }
.f3 { bottom: 26px; left: 10%; animation-delay: -4s; }
@media (max-width: 520px) { .f1 { left: 0; top: 60px; } .f2 { right: 0; bottom: 90px; } .f3 { display: none; } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.t-teal { background: rgba(45, 212, 191, 0.14); color: var(--teal); }
.t-amber { background: rgba(251, 191, 36, 0.14); color: var(--amber); }
.t-violet { background: rgba(167, 139, 250, 0.16); color: var(--violet); }

/* ── Stats strip ────────────────────────────────────────── */
.stats { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: linear-gradient(180deg, rgba(255, 255, 255, 0.015), transparent); }
.stats .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 30px 20px; text-align: center; border-inline-start: 1px solid var(--line); }
.stat:first-child { border-inline-start: 0; }
.stat b { display: block; font-size: clamp(28px, 3.4vw, 40px); letter-spacing: -0.04em; font-weight: 800; }
.stat span { color: var(--muted); font-size: 14px; }
@media (max-width: 720px) { .stats .wrap { grid-template-columns: repeat(2, 1fr); } .stat:nth-child(3) { border-inline-start: 0; } .stat:nth-child(n+3) { border-top: 1px solid var(--line); } }

/* ── Sections ───────────────────────────────────────────── */
section.block { padding: 120px 0; position: relative; }
@media (max-width: 720px) { section.block { padding: 84px 0; } }
.head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.eyebrow { display: inline-block; color: var(--teal); font-size: 13px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
h2 { font-size: clamp(32px, 4.4vw, 52px); line-height: 1.06; letter-spacing: -0.04em; font-weight: 800; margin: 14px 0 16px; }
.head p { color: var(--text-2); font-size: 18px; margin: 0; }

/* Bento */
.bento { display: grid; gap: 18px; grid-template-columns: repeat(6, 1fr); }
.tile { position: relative; overflow: hidden; border-radius: var(--radius); background: linear-gradient(180deg, var(--surface-2), var(--surface)); border: 1px solid var(--line); padding: 28px; transition: border-color .3s, transform .3s var(--ease); }
.tile:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.tile h3 { font-size: 20px; letter-spacing: -0.02em; margin: 18px 0 8px; }
.tile p { color: var(--muted); margin: 0; font-size: 15.5px; }
.icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; }
.icon svg { width: 22px; height: 22px; }
.span-4 { grid-column: span 4; } .span-3 { grid-column: span 3; } .span-2 { grid-column: span 2; }
@media (max-width: 980px) { .span-4, .span-3, .span-2 { grid-column: span 6; } }
@media (min-width: 640px) and (max-width: 980px) { .span-2 { grid-column: span 3; } }
.tile.feature { display: grid; gap: 24px; grid-template-columns: 1fr; padding-bottom: 0; }
@media (min-width: 720px) { .tile.feature { grid-template-columns: 1fr 1fr; align-items: end; } }
.tile.feature .copy { padding-bottom: 28px; align-self: center; }
.tile .peek { justify-self: center; width: 240px; border-radius: 30px 30px 0 0; padding: 9px 9px 0; background: linear-gradient(145deg, #2a3854, #121b2d); box-shadow: 0 -20px 60px -20px rgba(45, 212, 191, 0.35); }
.tile .peek img { border-radius: 22px 22px 0 0; height: 300px; width: 100%; object-fit: cover; object-position: top; }
.glow::after { content: ''; position: absolute; width: 320px; height: 320px; right: -80px; top: -120px; border-radius: 50%; background: radial-gradient(closest-side, rgba(45, 212, 191, 0.18), transparent); pointer-events: none; }

/* Split section */
.split { display: grid; gap: 64px; align-items: center; }
@media (min-width: 980px) { .split { grid-template-columns: 1fr 1fr; } .split.rev > :first-child { order: 2; } }
.split .stage { height: 620px; }
@media (max-width: 520px) { .split .stage { height: 480px; } }
.split .phone.single { left: 50%; top: 0; transform: translateX(-50%); }
.types { display: grid; gap: 14px; margin-top: 30px; }
.type { display: flex; gap: 16px; align-items: flex-start; padding: 18px 20px; border-radius: 18px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.02); transition: border-color .25s, background .25s; }
.type:hover { border-color: rgba(45, 212, 191, 0.35); background: rgba(45, 212, 191, 0.04); }
.type h4 { margin: 0 0 2px; font-size: 16.5px; letter-spacing: -0.01em; }
.type p { margin: 0; color: var(--muted); font-size: 14.5px; }
.code { display: inline-flex; gap: 6px; margin-top: 26px; }
.code span { width: 42px; height: 52px; border-radius: 12px; display: grid; place-items: center; font-weight: 800; font-size: 22px; background: var(--surface-2); border: 1px solid var(--line-strong); font-variant-numeric: tabular-nums; }

/* Steps */
.how { display: grid; gap: 18px; grid-template-columns: repeat(3, 1fr); counter-reset: n; }
@media (max-width: 860px) { .how { grid-template-columns: 1fr; } }
.how .tile { counter-increment: n; }
.how .tile::before { content: counter(n, decimal-leading-zero); position: absolute; top: 22px; right: 24px; font-size: 44px; font-weight: 800; letter-spacing: -0.04em; color: rgba(148, 170, 205, 0.12); }

/* Privacy band */
.privacy { border-radius: 32px; padding: clamp(32px, 5vw, 64px); background: radial-gradient(600px 300px at 0% 0%, rgba(45, 212, 191, 0.14), transparent 60%), linear-gradient(180deg, var(--surface-2), var(--surface)); border: 1px solid var(--line); display: grid; gap: 40px; }
@media (min-width: 900px) { .privacy { grid-template-columns: 0.9fr 1.1fr; align-items: center; } }
.privacy h2 { text-align: start; }
.checks { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); }
@media (max-width: 560px) { .checks { grid-template-columns: 1fr; } }
.check { display: flex; gap: 12px; padding: 16px; border-radius: 16px; background: rgba(7, 12, 23, 0.45); border: 1px solid var(--line); }
.check svg { width: 22px; height: 22px; color: var(--teal); flex-shrink: 0; }
.check b { display: block; font-size: 15px; }
.check span { color: var(--muted); font-size: 13.5px; }

/* FAQ */
.faq { max-width: 800px; margin: 0 auto; display: grid; gap: 12px; }
details { border-radius: 18px; border: 1px solid var(--line); background: var(--surface); transition: border-color .25s; }
details[open] { border-color: var(--line-strong); }
summary { list-style: none; cursor: pointer; padding: 20px 24px; font-weight: 650; font-size: 16.5px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ''; width: 10px; height: 10px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg) translateY(-3px); transition: transform .25s var(--ease); flex-shrink: 0; }
details[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
details p { margin: 0; padding: 0 24px 22px; color: var(--text-2); }

/* CTA */
.cta { position: relative; overflow: hidden; text-align: center; border-radius: 36px; padding: clamp(48px, 7vw, 88px) 24px; background: radial-gradient(700px 360px at 50% 0%, rgba(45, 212, 191, 0.28), transparent 65%), linear-gradient(180deg, #0f2a2c, #0b1220); border: 1px solid rgba(45, 212, 191, 0.25); }
.cta h2 { max-width: 14em; margin-left: auto; margin-right: auto; }
.cta p { color: var(--text-2); font-size: 18px; margin: 0 auto 32px; max-width: 34em; }
.cta .stores { justify-content: center; }

/* Footer */
footer { margin-top: 40px; border-top: 1px solid var(--line); padding: 56px 0 40px; color: var(--muted); font-size: 14.5px; }
.foot { display: grid; gap: 36px; grid-template-columns: 1.4fr repeat(3, 1fr); }
@media (max-width: 760px) { .foot { grid-template-columns: 1fr 1fr; } .foot > :first-child { grid-column: 1 / -1; } }
.foot h5 { color: var(--text); font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; margin: 0 0 14px; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.foot a { color: var(--muted); }
.foot a:hover { color: var(--text); }
.foot p { margin: 14px 0 0; max-width: 26em; }
.legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13.5px; }

/* ── Document pages ─────────────────────────────────────── */
.doc-hero { padding: 140px 0 48px; position: relative; isolation: isolate; border-bottom: 1px solid var(--line); }
.doc-hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(700px 320px at 80% 0%, rgba(45, 212, 191, 0.16), transparent 65%); }
.doc-hero h1 { font-size: clamp(36px, 5vw, 56px); margin: 14px 0 12px; }
.doc-hero p { color: var(--text-2); font-size: 18px; max-width: 40em; margin: 0; }
.doc-hero .meta { margin-top: 18px; color: var(--muted); font-size: 14px; }
.doc { display: grid; gap: 48px; padding: 56px 0 40px; }
@media (min-width: 980px) { .doc { grid-template-columns: 240px 1fr; } }
.toc { position: sticky; top: 100px; align-self: start; display: none; }
@media (min-width: 980px) { .toc { display: block; } }
.toc p { color: var(--text); font-size: 12.5px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700; margin: 0 0 12px; }
.toc a { display: block; color: var(--muted); font-size: 14px; padding: 6px 0 6px 14px; border-left: 2px solid var(--line); }
.toc a:hover { color: var(--text); border-left-color: var(--teal); }
.prose { max-width: 760px; }
.prose h2 { font-size: 24px; letter-spacing: -0.02em; margin: 44px 0 12px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--text-2); }
.prose strong { color: var(--text); }
.prose ul { padding-inline-start: 20px; }
.prose li { margin: 6px 0; }
.card { border-radius: 20px; border: 1px solid var(--line); background: var(--surface); padding: 24px; }
.callout { border-radius: 18px; border: 1px solid rgba(45, 212, 191, 0.3); background: rgba(45, 212, 191, 0.06); padding: 18px 20px; color: var(--text-2); }
.callout strong { color: var(--teal-2); }
.numbered { list-style: none; padding: 0; counter-reset: s; display: grid; gap: 14px; }
.numbered li { counter-increment: s; display: flex; gap: 16px; align-items: flex-start; padding: 18px 20px; border-radius: 18px; border: 1px solid var(--line); background: var(--surface); margin: 0; }
.numbered li::before { content: counter(s); flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #04201d; background: linear-gradient(180deg, #5eead4, #2dd4bf); }
.table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 14.5px; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.table th, .table td { text-align: start; padding: 14px 16px; vertical-align: top; border-bottom: 1px solid var(--line); }
.table tr:last-child td { border-bottom: 0; }
.table th { background: var(--surface-2); color: var(--text); font-weight: 650; }
.table td { color: var(--text-2); }
.scroll-x { overflow-x: auto; }
.contact-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); margin: 8px 0 8px; }
.contact-grid .card h3 { margin: 14px 0 6px; font-size: 17px; }
.contact-grid .card p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* Reveal on scroll (only when JS runs) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .float { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* Rotated phones and floating cards must never widen the page on small screens. */
html, body { overflow-x: clip; }
.hero, section.block { overflow-x: clip; }

/* Language dropdown (globe icon) */
.lang-menu { position: relative; }
.lang { display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 12px; }
.lang svg { width: 18px; height: 18px; }
.lang .chev { width: 14px; height: 14px; opacity: .7; transition: transform .2s var(--ease); }
.lang[aria-expanded='true'] .chev { transform: rotate(180deg); }
.lang #lang-code { font-size: 12.5px; font-weight: 700; letter-spacing: .04em; }
.lang-list { position: absolute; top: calc(100% + 8px); right: 0; min-width: 190px; padding: 6px; border-radius: 16px; background: rgba(19, 32, 54, 0.96); border: 1px solid var(--line-strong); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: 0 24px 48px -16px rgba(0, 0, 0, 0.8); z-index: 60; animation: pop .16s var(--ease); }
.lang-list[hidden] { display: none; }
.lang-list button { appearance: none; width: 100%; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 0; border-radius: 11px; background: transparent; color: var(--text-2); font: inherit; font-size: 14.5px; font-weight: 550; cursor: pointer; text-align: start; }
.lang-list button:hover, .lang-list button:focus-visible { background: rgba(255, 255, 255, 0.06); color: var(--text); outline: none; }
.lang-list .flag { width: 30px; height: 22px; border-radius: 6px; display: grid; place-items: center; font-size: 10.5px; font-weight: 800; letter-spacing: .04em; background: rgba(45, 212, 191, 0.12); color: var(--teal-2); }
.lang-list .tick { width: 16px; height: 16px; margin-inline-start: auto; color: var(--teal); visibility: hidden; }
.lang-list button[aria-checked='true'] { color: var(--text); }
.lang-list button[aria-checked='true'] .tick { visibility: visible; }
@keyframes pop { from { opacity: 0; transform: translateY(-4px) scale(.98); } to { opacity: 1; transform: none; } }

/* Invite page */
.invite-hero { padding-bottom: 72px; }
.invite-code { margin: 0 0 28px; padding: 20px; border-radius: 22px; border: 1px solid rgba(45, 212, 191, 0.3); background: rgba(45, 212, 191, 0.06); max-width: 460px; }
.invite-code[hidden] { display: none; }
.invite-code .label { display: block; color: var(--teal-2); font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 12px; }
.invite-code .code { display: flex; gap: 6px; margin: 0 0 16px; }
.invite-code .code span { flex: 1; max-width: 48px; height: 56px; border-radius: 12px; display: grid; place-items: center; font-weight: 800; font-size: 24px; background: var(--surface-2); border: 1px solid var(--line-strong); }
.invite-code .btn.copied { border-color: var(--teal); color: var(--teal-2); }
.invite-steps { margin-top: 30px; max-width: 520px; }
