/* Mumia VPN website. A technical document in the app's colours (black,
   yellow to orange): numbered sections in mono, big two-tone titles, spec
   sheets, hieroglyph watermarks and sand on the wind. */
:root {
  --primary: #ffc300;
  --secondary: #ff7a00;
  --bg: #050403;
  --surface: #0f0d0a;
  --surface-high: #17140f;
  --line: rgba(255, 220, 160, 0.10);
  --line-strong: rgba(255, 220, 160, 0.18);
  --text: #f6f1e7;
  --muted: #a59d8f;
  --faint: #6f675b;
  --on-accent: #000000;
  --grad: linear-gradient(120deg, var(--primary), var(--secondary));
  --mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  --radius: 14px;
  --wrap: 1180px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
svg { width: 1em; height: 1em; fill: currentColor; flex: none; }
main { position: relative; z-index: 1; overflow-x: clip; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.dim { color: #5e574c; }
em { font-style: normal; }

/* Background: sand on the wind and a warm light at the top. */
.sand { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; opacity: .75; }
.page-glow {
  position: fixed; inset: -20vh -10vw auto; height: 90vh; pointer-events: none; z-index: 0;
  background: radial-gradient(55% 50% at 70% 18%, rgba(255, 170, 0, 0.11), transparent 70%);
}

.live {
  display: inline-block; width: 6px; height: 6px; border-radius: 50%; margin-right: 8px; vertical-align: 1px;
  background: var(--primary); box-shadow: 0 0 8px var(--primary); animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse { 50% { opacity: .35; } }

/* Buttons. */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 54px; padding: 0 26px; border-radius: 12px;
  font-weight: 800; font-size: 16px; letter-spacing: -0.01em;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
}
.btn:active { transform: scale(.97); }
.btn-accent { background: var(--grad); color: var(--on-accent); box-shadow: 0 8px 30px rgba(255, 160, 0, 0.28); }
.btn-accent:hover { box-shadow: 0 10px 38px rgba(255, 160, 0, 0.45); transform: translateY(-1px); }
.btn-ghost { background: rgba(255, 255, 255, 0.03); border-color: var(--line-strong); color: var(--text); }
.btn-ghost:hover { border-color: rgba(255, 195, 0, 0.6); background: rgba(255, 195, 0, 0.05); }
.btn-sm { height: 38px; padding: 0 16px; border-radius: 10px; font: 700 12px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.btn-block { width: 100%; }

/* Menu. */
.nav {
  position: sticky; top: 0; z-index: 20;
  background: rgba(5, 4, 3, 0.78);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; gap: 22px; height: 66px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 17px; letter-spacing: .02em; }
.brand b { font-weight: 900; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav-links { display: flex; align-items: center; gap: 24px; margin-left: 0; }
.nav-links a { color: var(--muted); font: 500 12px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; transition: color .15s; }
.nav-links a:hover { color: var(--text); }
.nav-links a.active { color: var(--primary); }
.nav-end { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.menu-btn { display: none; width: 42px; height: 38px; border-radius: 10px; border: 1px solid var(--line-strong); background: rgba(255,255,255,.03); padding: 0 11px; cursor: pointer; }
.menu-btn span { display: block; height: 2px; background: var(--text); border-radius: 2px; margin: 4px 0; transition: transform .2s, opacity .2s; }

/* Menus that open under their button: contact channels, languages. */
.drop { position: relative; }
.drop-toggle {
  display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; cursor: pointer;
  border-radius: 12px; border: 1px solid var(--line-strong); background: rgba(255, 255, 255, 0.03); color: var(--text);
  font: 500 12px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase;
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.drop-toggle:hover, .drop.open .drop-toggle {
  border-color: rgba(255, 195, 0, 0.6); background: rgba(255, 195, 0, 0.07);
  box-shadow: 0 0 0 4px rgba(255, 195, 0, 0.08), 0 6px 24px rgba(255, 150, 0, 0.15);
}
.drop-chevron {
  width: 7px; height: 7px; border-right: 1.6px solid var(--primary); border-bottom: 1.6px solid var(--primary);
  transform: translateY(-2px) rotate(45deg); transition: transform .3s cubic-bezier(.2, .8, .2, 1);
}
.drop.open .drop-chevron { transform: translateY(2px) rotate(-135deg); }
.drop-panel {
  position: absolute; top: calc(100% + 12px); left: 0; z-index: 30; min-width: 270px; padding: 8px;
  display: flex; flex-direction: column; gap: 4px;
  background: linear-gradient(160deg, rgba(28, 23, 16, 0.98), rgba(12, 10, 7, 0.98));
  border: 1px solid rgba(255, 195, 0, 0.28); border-radius: 16px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(255, 150, 0, 0.08);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  opacity: 0; visibility: hidden; transform: translateY(-8px) scale(.98); transform-origin: top left;
  transition: opacity .22s ease, transform .3s cubic-bezier(.2, .8, .2, 1), visibility 0s .3s;
}
.drop-panel::before {
  content: ""; position: absolute; top: -6px; left: 26px; width: 10px; height: 10px; transform: rotate(45deg);
  background: #1c1710; border-left: 1px solid rgba(255, 195, 0, 0.28); border-top: 1px solid rgba(255, 195, 0, 0.28);
}
.drop-right { left: auto; right: 0; transform-origin: top right; min-width: 220px; }
.drop-right::before { left: auto; right: 26px; }
.drop.open .drop-panel { opacity: 1; visibility: visible; transform: none; transition: opacity .22s ease, transform .3s cubic-bezier(.2, .8, .2, 1); }
.drop-item {
  display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 11px; width: 100%;
  border: 1px solid transparent; background: none; color: var(--text); cursor: pointer; text-align: left;
  font: inherit; text-transform: none; letter-spacing: normal;
  opacity: 0; transform: translateY(-6px); transition: background .18s, border-color .18s, opacity .25s, transform .3s cubic-bezier(.2, .8, .2, 1);
}
.drop.open .drop-item { opacity: 1; transform: none; transition-delay: calc(var(--i) * 45ms + 40ms), calc(var(--i) * 45ms + 40ms), calc(var(--i) * 45ms + 40ms), calc(var(--i) * 45ms + 40ms); }
.drop-item:hover { background: rgba(255, 195, 0, 0.08); border-color: rgba(255, 195, 0, 0.22); }
.drop-item img { width: 34px; height: 34px; border-radius: 50%; flex: none; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1); }
.drop-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; flex: 1; }
.drop-text b { font-size: 15px; font-weight: 700; }
.drop-text small { font: 500 11px/1.2 var(--mono); color: var(--faint); letter-spacing: .04em; }
.drop-go { margin-left: auto; color: var(--primary); font-weight: 700; transition: transform .2s; }
.drop-item:hover .drop-go { transform: translate(2px, -2px); }
.drop-all { margin-top: 4px; border-top: 1px solid var(--line); border-radius: 0 0 11px 11px; font: 600 11.5px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--primary); }
.contact-btn.active .contact-label { color: var(--primary); }

/* The language button: a code chip, the name, a chevron. */
.lang-toggle { padding: 0 12px 0 10px; text-transform: none; letter-spacing: .02em; font: 600 13px/1 var(--mono); }
.lang-code {
  display: inline-grid; place-items: center; min-width: 28px; height: 20px; padding: 0 5px; border-radius: 6px;
  background: var(--grad); color: var(--on-accent); font: 800 10.5px/1 var(--mono); letter-spacing: .06em;
}
.lang-item .lang-code { background: rgba(255, 195, 0, 0.12); color: var(--primary); border: 1px solid rgba(255, 195, 0, 0.3); }
.lang-item.on .lang-code { background: var(--grad); color: var(--on-accent); border-color: transparent; }
.lang-check { margin-left: auto; color: var(--primary); font-weight: 800; opacity: 0; transform: scale(.6); transition: opacity .2s, transform .2s; }
.lang-item.on .lang-check { opacity: 1; transform: none; }
.lang-native { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

/* The brand in the menu: light running along the letters' outlines
   (after a loader on Uiverse.io by SelfMadeSystem, MIT). */
.brand-anim { gap: 10px; }
.brand-logo { width: 34px; height: 34px; flex: none; object-fit: contain; }
.brand-word { height: 30px; width: auto; overflow: visible; }
.brand-word text { font: 900 28px/1 "Inter", sans-serif; letter-spacing: -0.5px; }
.word-base { fill: var(--text); stroke: none; }
.word-base.vpn { fill: url(#brandGrad); }
.word-dash { fill: none; stroke: url(#brandGrad); stroke-width: 1.2; stroke-linecap: round; animation: wordDash 3.2s linear infinite; }
.word-dash.vpn { stroke: #fff3c0; animation-delay: -1.6s; }
@keyframes wordDash {
  0% { stroke-dasharray: 0 60; stroke-dashoffset: 0; opacity: 0; }
  15% { opacity: 1; }
  50% { stroke-dasharray: 34 26; }
  85% { opacity: 1; }
  100% { stroke-dasharray: 0 60; stroke-dashoffset: -240; opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .word-dash { display: none; } }

/* Numbered labels. */
.eyebrow-num {
  margin: 0 0 18px; font: 500 12px/1.4 var(--mono); letter-spacing: .16em; color: var(--faint); text-transform: uppercase;
}
.eyebrow-num span:first-child { color: var(--muted); }
.eyebrow-num span:last-child { color: var(--primary); }

/* Hieroglyph watermarks behind the sections. */
[data-glyph] { position: relative; }
[data-glyph]::before {
  content: attr(data-glyph); position: absolute; right: 3%; top: 10px; z-index: -1; pointer-events: none;
  font-family: "Noto Sans Egyptian Hieroglyphs", sans-serif; font-size: clamp(150px, 20vw, 300px); line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px rgba(255, 195, 0, 0.10);
}

/* 01 Hero. */
.hero { padding: 70px 0 30px; }
.hero::before { display: none; }
.hero-inner { display: grid; grid-template-columns: 1.15fr 0.85fr; align-items: center; gap: 30px; }
.mega {
  margin: 0 0 24px; font-size: clamp(40px, 5.6vw, 78px); line-height: 0.98; font-weight: 900; letter-spacing: -0.045em;
}
.mega > span { display: block; }
.lead { color: var(--muted); font-size: clamp(16px, 1.5vw, 18.5px); max-width: 560px; margin: 0 0 24px; }
.status-pill {
  display: inline-flex; align-items: center; margin: 0 0 26px; padding: 10px 16px; border-radius: 30px;
  border: 1px solid var(--line-strong); background: rgba(255, 255, 255, 0.02);
  font: 500 11.5px/1.3 var(--mono); letter-spacing: .1em; color: var(--muted);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-visual { position: relative; aspect-ratio: 1 / 1.08; width: 100%; }
.hero-fallback { position: absolute; inset: 0; transition: opacity .8s ease; }
.hero-visual canvas#globe {
  position: absolute; inset: 0; width: 100%; height: 100%;
  -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 78%, transparent 100%);
  mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 78%, transparent 100%);
}
.emblem {
  position: absolute; left: 50%; top: 50%; width: 46%; aspect-ratio: 1; transform: translate(-50%, -50%);
  border-radius: 50%; padding: 2px; display: grid; place-items: center;
  background: conic-gradient(from 0deg, var(--primary), var(--secondary), var(--primary), var(--secondary), var(--primary));
  box-shadow: 0 0 44px rgba(255, 170, 0, 0.45), 0 0 120px rgba(255, 140, 0, 0.18);
}
.emblem::before { content: ""; position: absolute; inset: 2px; border-radius: 50%; background: radial-gradient(circle at 50% 40%, #241806, #050403 70%); }
.emblem img { position: relative; width: 52%; margin-top: -6%; }
.emblem span {
  position: absolute; bottom: 21%; font-weight: 900; letter-spacing: .14em; font-size: clamp(11px, 1.35vw, 17px);
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.robot { position: absolute; inset: -4% -6% 0; opacity: 0; transition: opacity 1s ease; }
.robot canvas { display: block; width: 100% !important; height: 100% !important; }
.hero-visual.robot-ready .robot { opacity: 1; }
.hero-visual.robot-ready .hero-fallback { opacity: 0; pointer-events: none; }
.spotlight {
  position: absolute; width: 420px; height: 420px; left: 0; top: 0; pointer-events: none;
  border-radius: 50%; filter: blur(30px); opacity: 0; transition: opacity .3s ease; transform: translate(-50%, -50%);
  background: radial-gradient(circle at center, rgba(255, 195, 0, 0.18), rgba(255, 122, 0, 0.06) 45%, transparent 70%);
}
.hero-visual.robot-ready:hover .spotlight { opacity: 1; }

/* Mumia Core: the animated node in the hero (animations after an SVG on
   Uiverse.io by Juanes200122, MIT) and a few words about it. */
.core-visual { aspect-ratio: auto; display: flex; flex-direction: column; align-items: center; }
.core-stage { position: relative; width: 100%; max-width: 560px; aspect-ratio: 480 / 520; }
#svg-global { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; transition: opacity .8s ease; }
.core3d {
  position: absolute; inset: -12% -16%; opacity: 0; transition: opacity 1s ease;
  /* A soft rectangle, not a disc: the scene's own corners stay inside it. */
  -webkit-mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent), linear-gradient(to bottom, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent), linear-gradient(to bottom, transparent, #000 10%, #000 90%, transparent);
  mask-composite: intersect;
}
.core3d canvas { display: block; width: 100% !important; height: 100% !important; }
.core-stage.core3d-ready .core3d { opacity: 1; }
/* The drawing is only for a browser without WebGL; everyone else waits a
   moment on a soft glow until the 3D core is drawn. */
#svg-global { opacity: 0; visibility: hidden; }
.core-stage.core3d-failed #svg-global { opacity: 1; visibility: visible; }
.core-stage::before {
  content: ""; position: absolute; left: 50%; top: 46%; width: 46%; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 176, 0, 0.32), rgba(255, 140, 0, 0.08) 45%, transparent 70%);
  animation: core-wait 1.6s ease-in-out infinite; transition: opacity .6s; pointer-events: none;
}
.core-stage.core3d-ready::before, .core-stage.core3d-failed::before { opacity: 0; animation: none; }
@keyframes core-wait { 0%, 100% { transform: scale(.85); opacity: .55; } 50% { transform: scale(1.05); opacity: 1; } }
@keyframes fade-particles { 0%, 100% { opacity: 1; } 50% { opacity: .5; } }
@keyframes floatUp { 0% { transform: translateY(0); opacity: 0; } 10% { opacity: 1; } 100% { transform: translateY(-60px); opacity: 0; } }
@keyframes bounce-lines { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: .2; } }
@keyframes flow { to { stroke-dashoffset: -24; } }
@keyframes heart { 0%, 100% { opacity: .75; transform: scale(1); } 50% { opacity: 1; transform: scale(1.12); } }
#particles { animation: fade-particles 5s infinite alternate; }
.particle { animation: floatUp linear infinite; }
.p1 { animation-duration: 2.2s; } .p2 { animation-duration: 2.5s; animation-delay: .3s; }
.p3 { animation-duration: 2s; animation-delay: .6s; } .p4 { animation-duration: 2.8s; animation-delay: .2s; }
.p5 { animation-duration: 2.3s; animation-delay: .4s; } .p6 { animation-duration: 3s; animation-delay: .1s; }
.p7 { animation-duration: 2.1s; animation-delay: .5s; } .p8 { animation-duration: 2.6s; animation-delay: .2s; }
.p9 { animation-duration: 2.4s; animation-delay: .3s; }
#line-v1, #line-v2, #node-server, #panel-rigth, #panel-left, #reflectores, #particles { animation: bounce-lines 3s ease-in-out infinite alternate; }
#particles { animation: bounce-lines 3s ease-in-out .4s infinite alternate, fade-particles 5s infinite alternate; }
#line-v2 { animation-delay: .2s; }
#node-server, #panel-rigth, #reflectores { animation-delay: .4s; }
#panel-left { animation-delay: .8s; }
.flow { animation: flow 1.2s linear infinite, bounce-lines 3s ease-in-out infinite alternate !important; }
.flow.slow { animation-duration: 1.8s, 3s !important; }
.led { animation: blink 1.6s ease-in-out infinite; }
.l2 { animation-delay: .4s; } .l3 { animation-delay: .9s; } .l4 { animation-delay: .2s; } .l5 { animation-delay: 1.2s; } .l6 { animation-delay: .7s; }
.heart { transform-box: fill-box; transform-origin: center; animation: heart 2.4s ease-in-out infinite; }
.core-card {
  width: min(100%, 420px); margin-top: -10px; padding: 16px 18px; border-radius: var(--radius);
  background: rgba(15, 12, 8, 0.8); border: 1px solid var(--line-strong);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.core-k { font: 700 11px/1 var(--mono); letter-spacing: .16em; color: var(--primary); }
.core-card p { margin: 10px 0 12px; color: var(--muted); font-size: 14px; }
.core-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.core-chips span { font: 500 10.5px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--text); padding: 6px 9px; border-radius: 8px; border: 1px solid var(--line-strong); }
@media (prefers-reduced-motion: reduce) {
  #svg-global * { animation: none !important; }
}

/* Document sections. */
.section { padding: 110px 0 10px; }
.doc { border-top: 1px solid var(--line); margin-top: 50px; padding-top: 70px; }
.doc-title { margin: 0 0 16px; font-size: clamp(34px, 4.8vw, 62px); line-height: 1.02; font-weight: 900; letter-spacing: -0.04em; max-width: 900px; }
.doc-lead { margin: 0 0 40px; color: var(--muted); font-size: 17px; max-width: 640px; }
.text-link { display: inline-block; margin-top: 26px; font: 700 12.5px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--primary); }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Sheets: the shared card surface. */
.spec, .stat, .plan-sheet, .promise, .tile, .metric, .step, .channel {
  background: linear-gradient(160deg, rgba(23, 20, 15, 0.92), rgba(12, 10, 8, 0.92));
  border: 1px solid var(--line); border-radius: var(--radius);
}

/* 02 Spec sheets. */
.specs, .downloads { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.spec { min-width: 0; padding: 20px 18px 0; display: flex; flex-direction: column; transition: transform .2s, border-color .2s; }
.spec:hover { transform: translateY(-3px); border-color: rgba(255, 195, 0, 0.35); }
.spec-top { display: flex; justify-content: space-between; align-items: center; font: 500 10.5px/1 var(--mono); letter-spacing: .14em; color: var(--faint); }
.spec-tag { font: 700 10px/1 var(--mono); letter-spacing: .1em; color: var(--on-accent); background: var(--grad); padding: 5px 7px; border-radius: 6px; }
.spec-icon { margin: 22px 0 14px; font-size: 26px; color: var(--primary); }
.spec h3 { margin: 0; font-size: 19px; font-weight: 800; letter-spacing: -0.01em; }
.spec-sub { margin: 4px 0 14px; color: var(--muted); font-size: 13px; min-height: 2.5em; }
.spec-rows { margin: 0; }
.spec-rows div { display: flex; justify-content: space-between; gap: 8px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 13px; }
.spec-rows dt { font: 500 10.5px/1.5 var(--mono); letter-spacing: .12em; color: var(--faint); }
.spec-rows dd { margin: 0; text-align: right; font-weight: 600; }
.spec-action {
  display: flex; justify-content: space-between; margin: auto -18px 0; padding: 16px 18px; border-top: 1px solid var(--line);
  font: 700 11.5px/1 var(--mono); letter-spacing: .12em; color: var(--primary); transition: background .15s;
}
.spec-action:hover { background: rgba(255, 195, 0, 0.06); }
.spec-action.off { color: var(--faint); }
.spec.soon .spec-icon { color: var(--faint); }

/* 03 Stats. */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.stat { padding: 22px; display: flex; flex-direction: column; gap: 6px; }
.stat-k { font: 500 10.5px/1 var(--mono); letter-spacing: .14em; color: var(--faint); }
.stat-v { margin-top: 14px; font-size: clamp(48px, 5.5vw, 72px); line-height: 1; font-weight: 900; letter-spacing: -0.05em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-v small { font-size: .32em; letter-spacing: 0; margin-left: 4px; }
.stat-l { font-weight: 700; font-size: 15px; }
.stat-s { font: 500 11px/1.4 var(--mono); color: var(--faint); letter-spacing: .04em; }

/* 04 Plan sheets. */
.plans { display: block; }
.plan-sheet { padding: 24px; display: flex; flex-direction: column; }
.plan-sheet.premium {
  border: 1px solid transparent;
  background: linear-gradient(160deg, #1b160e, #0e0c09) padding-box, linear-gradient(140deg, rgba(255,195,0,.7), rgba(255,122,0,.25) 60%, rgba(255,195,0,.5)) border-box;
  box-shadow: 0 0 60px rgba(255, 150, 0, 0.10);
}
.sheet-top { display: flex; justify-content: space-between; align-items: center; font: 500 11px/1 var(--mono); letter-spacing: .14em; color: var(--faint); }
.plan-sheet.premium .sheet-top > span:first-child { color: var(--primary); }
.sheet-top > span:last-child:not(.spec-tag) { font-family: "Noto Sans Egyptian Hieroglyphs", sans-serif; font-size: 18px; color: var(--muted); }
.sheet-big { margin-top: 26px; font-size: clamp(44px, 5vw, 64px); line-height: 1; font-weight: 900; letter-spacing: -0.045em; }
.sheet-sub { margin: 10px 0 20px; font: 500 12px/1.4 var(--mono); color: var(--faint); letter-spacing: .04em; }
.sheet-rows { list-style: none; margin: 0 0 24px; padding: 0; }
.sheet-rows li { display: flex; gap: 14px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 15px; }
.sheet-rows li span { font: 500 11px/1.9 var(--mono); color: var(--faint); }
.plan-sheet .btn { margin-top: auto; }

/* 05 Promises. */
.promises { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.promise { padding: 26px; }
.promise-n { font: 500 12px/1 var(--mono); letter-spacing: .14em; color: var(--primary); }
.promise h3 { margin: 40px 0 10px; font-size: 22px; font-weight: 800; letter-spacing: -0.02em; }
.promise p { margin: 0; color: var(--muted); font-size: 15px; }

/* 06 The end. */
.end-doc { padding: 120px 0 40px; text-align: left; }
.end-title { margin: 0 0 34px; font-size: clamp(40px, 6vw, 80px); line-height: 1; font-weight: 900; letter-spacing: -0.045em; }
.ps { margin: 40px 0 0; color: var(--muted); font-size: 15px; }
.ps-k { font: 700 12px/1 var(--mono); letter-spacing: .14em; color: var(--primary); margin-right: 6px; }
.link { color: var(--primary); font-weight: 700; }
.link:hover { text-decoration: underline; }

/* Separate pages. */
.page .section:first-child { padding-top: 70px; }
.section-head { max-width: 760px; margin: 0 0 40px; }
.section-head h2 { font-size: clamp(30px, 4vw, 48px); line-height: 1.05; font-weight: 900; letter-spacing: -0.035em; margin: 0 0 14px; }
.section-head p:not(.eyebrow-num) { color: var(--muted); font-size: 17px; margin: 0; }
.page-title { font-size: clamp(38px, 5.6vw, 72px); line-height: 1; font-weight: 900; letter-spacing: -0.045em; margin: 0 0 18px; }
.badge-ring { display: none; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.tile { padding: 22px; transition: transform .2s, border-color .2s; }
.tile:hover { transform: translateY(-3px); border-color: rgba(255, 195, 0, 0.3); }
.tile h3 { margin: 18px 0 6px; font-size: 18px; font-weight: 800; letter-spacing: -0.01em; }
.tile p { margin: 0; color: var(--muted); font-size: 14.5px; }
.icon-box {
  width: 44px; height: 44px; border-radius: 11px; display: grid; place-items: center;
  color: var(--primary); font-size: 22px; background: rgba(255, 195, 0, 0.06); border: 1px solid rgba(255, 195, 0, 0.4);
}
.page-cta { margin-top: 34px; }
.note { color: var(--faint); font: 500 12px/1.6 var(--mono); letter-spacing: .02em; max-width: 820px; margin: 22px 0 0; }

/* Protocol comparison. */
.compare { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.metric { padding: 20px 20px 16px; }
.metric-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 16px; }
.metric-head h3 { margin: 0; font-size: 15px; font-weight: 800; }
.pill { white-space: nowrap; font: 700 11px/1 var(--mono); color: var(--primary); background: rgba(255, 195, 0, 0.12); padding: 6px 9px; border-radius: 8px; }
.bar-row { display: grid; grid-template-columns: 96px 1fr 70px; align-items: center; gap: 10px; margin-bottom: 9px; font-size: 13px; }
.bar-row .name { color: var(--muted); font-weight: 500; }
.bar-row .val { text-align: right; color: var(--muted); font: 600 12px/1 var(--mono); }
.bar-row.us .name { color: var(--primary); font-weight: 800; }
.bar-row.us .val { color: #fff; }
.bar { height: 8px; border-radius: 4px; width: 0; background: rgba(255, 255, 255, 0.18); transition: width 1s cubic-bezier(.2, .8, .2, 1); min-width: 6px; }
.bar-row.us .bar { background: var(--grad); box-shadow: 0 0 12px rgba(255, 170, 0, .5); }

/* Steps and contact channels. */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.step { padding: 24px; }
.step .num { font: 700 12px/1 var(--mono); letter-spacing: .14em; color: var(--primary); }
.step .num::before { content: "0"; }
.step h3 { margin: 30px 0 6px; font-size: 19px; font-weight: 800; }
.step p { margin: 0; color: var(--muted); font-size: 14.5px; }
.channels { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.channel { padding: 24px; display: flex; flex-direction: column; gap: 4px; transition: transform .2s, border-color .2s; }
.channel:hover { transform: translateY(-3px); border-color: var(--c, rgba(255, 195, 0, 0.45)); }
.channel i { width: 10px; height: 10px; border-radius: 50%; background: var(--c); box-shadow: 0 0 12px var(--c); margin-bottom: 26px; }
.channel h3 { margin: 0; font-size: 20px; font-weight: 800; }
.channel p { margin: 0 0 18px; color: var(--muted); font: 500 12.5px/1.4 var(--mono); }
.more { margin-top: auto; font: 700 11.5px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--primary); }

/* Footer. */
.footer { position: relative; z-index: 1; margin-top: 90px; border-top: 1px solid var(--line); padding: 30px 0 40px; }
.footer-inner { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.footer p { margin: 0; color: var(--faint); font-size: 13px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-links a { color: var(--muted); font: 500 11.5px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.footer-links a:hover { color: var(--text); }
.footer .copy { margin-left: auto; font-family: var(--mono); }

/* Reveal on scroll. */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* Narrower screens. */
@media (max-width: 1080px) {
  .specs, .downloads { grid-template-columns: repeat(3, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .compare { grid-template-columns: 1fr; max-width: 640px; }
  .channels { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 880px) {
  .nav-links {
    position: absolute; top: 66px; left: 0; right: 0; flex-direction: column; gap: 0; margin: 0;
    background: rgba(5, 4, 3, 0.97); border-bottom: 1px solid var(--line);
    max-height: 0; overflow: hidden; transition: max-height .3s ease;
  }
  .nav-links a { padding: 16px 24px; border-top: 1px solid var(--line); font-size: 13px; }
  .contact-btn { border-top: 1px solid var(--line); padding: 10px 16px 14px; }
  .contact-btn .drop-toggle { border: 0; background: none; box-shadow: none; padding: 6px 8px; height: auto; font-size: 13px; }
  .contact-btn .drop-panel { position: static; min-width: 0; margin-top: 8px; box-shadow: none; backdrop-filter: none; display: none; }
  .contact-btn.open .drop-panel { display: flex; }
  .contact-btn .drop-panel::before { display: none; }
  .nav.open .nav-links { max-height: 80vh; overflow-y: auto; }
  .nav.open .menu-btn span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .nav.open .menu-btn span:nth-child(2) { opacity: 0; }
  .nav.open .menu-btn span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .menu-btn { display: block; }
  .nav-end .btn-sm { display: none; }
  .hero { padding-top: 30px; }
  .hero-inner { grid-template-columns: 1fr; gap: 0; }
  .hero-visual { order: -1; max-width: 420px; margin: 0 auto; aspect-ratio: 1 / 0.95; }
  .core-visual { aspect-ratio: auto; margin-bottom: 36px; }
  .promises, .grid-3, .steps { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  .brand-word { height: 20px; }
  .lang-name { display: none; }
  .nav-inner { gap: 10px; }
  .brand-anim { gap: 6px; }
  .brand-logo { width: 28px; height: 28px; }
  .specs, .downloads { grid-template-columns: 1fr; }
  .stats, .grid-2, .channels { grid-template-columns: 1fr; }
  .section { padding-top: 80px; }
  .doc { margin-top: 30px; padding-top: 50px; }
  .bar-row { grid-template-columns: 82px 1fr 62px; }
  .footer .copy { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .live { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
.doc-title + .promises { margin-top: 34px; }

/* Under a comparison card's title: what was measured. */
.metric-sub { margin: -10px 0 14px; font: 500 10.5px/1.4 var(--mono); letter-spacing: .06em; color: var(--faint); }
.core-link { margin-top: 14px; font-size: 11px; }

/* 3D cards (after a card on Uiverse.io by imtausef, MIT): a striped frame
   that tilts on hover, the content on a panel with its title raised, and a
   badge floating in front. */
.card3d {
  --stripe: #c98f0a;
  position: relative; padding: 46px 0 0 !important; border: 2px solid #0d0a06; border-radius: 14px;
  transform-style: preserve-3d; transform: perspective(1000px);
  background:
    linear-gradient(135deg, #0000 18.75%, var(--stripe) 0 31.25%, #0000 0),
    repeating-linear-gradient(45deg, var(--stripe) -6.25% 6.25%, #0d0a06 0 18.75%);
  background-size: 56px 56px; background-position: 0 0, 0 0; background-color: #0d0a06;
  box-shadow: rgba(255, 150, 0, 0.14) 0 30px 30px -12px;
  transition: all .5s ease-in-out;
}
.card3d.card3d:hover {
  background-position: -100px 100px, -100px 100px;
  transform: perspective(1000px) rotate3d(0.5, 1, 0, 16deg);
  border-color: #0d0a06;
}
.card3d > .content-box {
  height: 100%; padding: 56px 22px 22px; border-radius: 0 0 12px 12px;
  background: linear-gradient(160deg, #1d1810, #0f0c08);
  transform-style: preserve-3d; transition: all .5s ease-in-out;
}
.card3d .content-box > h3 { transition: transform .5s ease-in-out; transform: translate3d(0, 0, 50px); }
.card3d .content-box > p, .card3d .content-box > .bar-row, .card3d .content-box > .metric-head { transition: transform .5s ease-in-out; transform: translate3d(0, 0, 30px); }
.card3d .content-box > h3:hover, .card3d .content-box > p:hover { transform: translate3d(0, 0, 60px); }
.card3d .content-box > .more, .card3d .content-box > .stat-v { transform: translate3d(0, 0, 40px); }
.card3d .date-box {
  position: absolute; top: 18px; right: 18px; min-width: 58px; height: 58px; padding: 8px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  background: #0d0a06; border: 1px solid var(--primary); border-radius: 10px;
  transform: translate3d(0, 0, 80px); box-shadow: rgba(0, 0, 0, 0.45) 0 17px 10px -10px;
}
.card3d .date-box .icon-box { border: 0; background: none; width: auto; height: auto; font-size: 26px; }
.card3d .date-box .month { font: 700 9px/1 var(--mono); letter-spacing: .12em; color: var(--primary); }
.card3d .date-box .date { font-size: 20px; font-weight: 900; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.card3d .date-box .badge-logo { width: 34px; height: 34px; border-radius: 50%; }
.stat.card3d > .content-box, .channel.card3d > .content-box { display: flex; flex-direction: column; gap: 6px; }
.stat.card3d .stat-v { margin-top: 0; }
.metric.card3d > .content-box { padding-top: 50px; }
.tile.card3d h3, .promise.card3d h3, .step.card3d h3 { margin-top: 0; }
.channel.card3d h3 { margin-top: 4px; }
@media (hover: none) { .card3d.card3d:hover { transform: perspective(1000px); } }

/* Inside the menu the channel rows keep their own look (not the menu links'). */
.nav-links .drop-item { color: var(--text); font: 400 14px/1.2 "Inter", sans-serif; letter-spacing: normal; text-transform: none; padding: 10px 12px; border-top: 0; }
.nav-links .drop-item.drop-all { font: 600 11.5px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--primary); border-top: 1px solid var(--line); margin-top: 4px; padding: 12px; }
.nav-links .drop-item:hover { color: var(--text); }

/* With the 3D core drawn, Mumia Core's words are on its pedestal: the card
   keeps only its link (the text stays for screen readers). */
.core3d-on .core-card { background: none; border: 0; backdrop-filter: none; -webkit-backdrop-filter: none; padding: 0; text-align: center; }
.core3d-on .core-card > :not(.core-link) {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
.core3d-on .core-link {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; margin: 0;
}
.core3d-on .core-link:focus-visible { position: static; width: auto; height: auto; clip: auto; overflow: visible; margin-top: 12px; }

/* Announcements: a megaphone button left of the language, its panel. */
.news-toggle { width: 38px; padding: 0; justify-content: center; position: relative; }
.mega-icon { width: 20px; height: 20px; overflow: visible; }
.mega-body { fill: var(--primary); }
.mega-wave { stroke: var(--secondary); opacity: .25; }
.news-toggle .mega-wave { animation: megaWave 2.4s ease-in-out infinite; }
.news-toggle .mega-wave.w2 { animation-delay: .3s; }
@keyframes megaWave { 0%, 100% { opacity: .2; } 40% { opacity: 1; } }
.news-toggle:hover .mega-icon, .news-drop.open .mega-icon { transform: rotate(-12deg); transition: transform .3s cubic-bezier(.2, .8, .2, 1); }
.mega-icon { transition: transform .3s cubic-bezier(.2, .8, .2, 1); }
.news-dot { position: absolute; top: 6px; right: 6px; width: 8px; height: 8px; border-radius: 50%; background: #ff4d4d; box-shadow: 0 0 0 2px var(--bg); }
.news-panel { min-width: 290px; }
.news-head {
  display: flex; align-items: center; justify-content: space-between; padding: 8px 10px 10px; margin-bottom: 4px;
  border-bottom: 1px solid var(--line); font: 700 11.5px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--primary);
}
.news-count { min-width: 22px; height: 20px; display: grid; place-items: center; border-radius: 10px; background: rgba(255, 195, 0, 0.12); color: var(--primary); font-size: 11px; }
.news-empty { flex-direction: column; align-items: center; gap: 8px; padding: 22px 16px 18px; text-align: center; cursor: default; }
.news-empty:hover { background: none; border-color: transparent; }
.news-empty-icon {
  width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(circle, rgba(255, 195, 0, 0.16), rgba(255, 195, 0, 0.04)); border: 1px solid rgba(255, 195, 0, 0.3);
}
.news-empty-icon .mega-icon { width: 26px; height: 26px; }
.news-empty-icon .mega-wave { opacity: .5; }
.news-empty b { font-size: 15px; font-weight: 800; }
.news-empty small { color: var(--faint); font-size: 12.5px; line-height: 1.4; max-width: 220px; }
@media (max-width: 560px) {
  .news-panel { position: fixed; top: 74px; left: 16px; right: 16px; min-width: 0; }
  .news-panel::before { display: none; }
}
@media (prefers-reduced-motion: reduce) { .news-toggle .mega-wave { animation: none; opacity: .7; } }

/* Other apps that open our keys (no mm), with a warning first. */
.other-home { margin-top: 70px; }
.doc-sub { margin: 0 0 10px; font-size: clamp(26px, 3.2vw, 38px); font-weight: 900; letter-spacing: -0.03em; }
.other-warn {
  display: flex; align-items: center; gap: 16px; padding: 18px 20px; margin-bottom: 34px; border-radius: var(--radius);
  background: linear-gradient(120deg, rgba(255, 122, 0, 0.14), rgba(255, 195, 0, 0.06));
  border: 1px solid rgba(255, 160, 0, 0.45); box-shadow: 0 0 40px rgba(255, 140, 0, 0.08);
}
.other-warn-icon { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-size: 24px; color: var(--on-accent); background: var(--grad); }
.other-warn b { display: block; font-size: 16px; font-weight: 800; }
.other-warn p { margin: 3px 0 0; color: var(--muted); font-size: 14.5px; }
.other-warn .btn { margin-left: auto; flex: none; }
.other-group { display: flex; align-items: center; gap: 14px; margin: 0 0 16px; font: 700 12px/1 var(--mono); letter-spacing: .16em; color: var(--primary); }
.other-group i { flex: 1; height: 1px; background: var(--line); }
.other-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 34px; }
.other-grid.pc { grid-template-columns: repeat(2, minmax(0, 340px)); }
.other-app {
  padding: 20px; display: flex; flex-direction: column; align-items: flex-start; gap: 12px;
  background: linear-gradient(160deg, rgba(23, 20, 15, 0.92), rgba(12, 10, 8, 0.92));
  border: 1px solid var(--line); border-radius: var(--radius); transition: transform .2s, border-color .2s;
}
.other-app:hover { transform: translateY(-3px); border-color: rgba(255, 195, 0, 0.35); }
.other-app img { width: 56px; height: 56px; border-radius: 14px; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.08); }
.other-app h4 { margin: 0; font-size: 18px; font-weight: 800; }
.other-app h4 small { font: 500 11px/1 var(--mono); color: var(--faint); margin-left: 4px; }
.store-row { display: flex; flex-direction: column; gap: 8px; width: 100%; margin-top: auto; }
.store-btn {
  display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 10px; width: 100%;
  background: #0a0806; border: 1px solid var(--line-strong); color: var(--text); transition: border-color .2s, background .2s;
}
.store-btn:hover { border-color: rgba(255, 195, 0, 0.6); background: rgba(255, 195, 0, 0.06); }
.store-btn svg { font-size: 22px; flex: none; }
.store-btn span { display: flex; flex-direction: column; line-height: 1.15; font-weight: 700; font-size: 14px; }
.store-btn small { font: 500 9.5px/1.2 var(--mono); color: var(--faint); letter-spacing: .04em; }
.store-btn.off { opacity: .45; pointer-events: none; }
.store-btn.win svg { color: #4cc2ff; }
@media (max-width: 1080px) { .other-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) {
  .other-grid, .other-grid.pc { grid-template-columns: 1fr; }
  .other-warn { flex-wrap: wrap; }
  .other-warn .btn { margin-left: 0; width: 100%; }
}

/* Plans: free + the Premium packages side by side, then what they all have. */
.pkg-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.pkg { padding: 20px; }
.pkg .sheet-rows li { font-size: 13.5px; padding: 10px 0; }
.pkg-big { margin-top: 22px; font-size: clamp(34px, 3.4vw, 50px); line-height: 1; font-weight: 900; letter-spacing: -0.045em; }
.pkg-big small { font-size: .42em; margin-left: 4px; letter-spacing: 0; }
.pkg-name { font: 700 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--on-accent); background: var(--grad); padding: 5px 8px; border-radius: 6px; }
.pkg-days { margin: 10px 0 18px; font: 500 12px/1.4 var(--mono); color: var(--faint); letter-spacing: .03em; }
.pkg-days b { color: var(--text); font-weight: 700; }
.pkg-all {
  margin-top: 16px; padding: 22px 24px; border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(23, 20, 15, 0.92), rgba(12, 10, 8, 0.92)); border: 1px solid var(--line);
}
.pkg-all h3 { margin: 0 0 14px; font: 700 12px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--primary); }
.pkg-all ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px 22px; }
.pkg-all li { position: relative; padding-left: 28px; font-size: 14.5px; }
.pkg-all li::before {
  content: ""; position: absolute; left: 0; top: 1px; width: 19px; height: 19px; border-radius: 50%;
  background: var(--primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z' fill='%23000'/%3E%3C/svg%3E") center / 13px no-repeat;
}
@media (max-width: 1180px) { .pkg-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 880px) { .pkg-grid { grid-template-columns: repeat(2, 1fr); } .pkg-all ul { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .pkg-grid, .pkg-all ul { grid-template-columns: 1fr; } }
.store-note { font-style: normal; font-size: 12px; font-weight: 600; line-height: 1.25; }
.plan-sheet .sheet-top > span.pkg-name { font: 800 10.5px/1 var(--mono); letter-spacing: .1em; color: var(--on-accent); }
.pkg .sheet-top { gap: 8px; }

/* A package's price: dollars or manat. */
.pkg-price {
  display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 8px; margin: 0 0 16px; padding: 10px 12px;
  border-radius: 10px; background: rgba(255, 195, 0, 0.07); border: 1px solid rgba(255, 195, 0, 0.25);
}
.pkg-price .usd, .pkg-price .tmt { font-size: 20px; font-weight: 900; letter-spacing: -0.02em; color: var(--text); }
.pkg-price .or { font: 500 11px/1 var(--mono); color: var(--faint); text-transform: uppercase; letter-spacing: .08em; }
.pkg-price { flex-wrap: nowrap; white-space: nowrap; gap: 6px; padding: 8px 10px; align-items: center; }
.pkg-price .usd, .pkg-price .tmt { font-size: clamp(12px, 1.05vw, 15px); font-weight: 800; letter-spacing: -0.01em; }
.pkg-price .or { font-size: 9.5px; letter-spacing: .04em; }

/* The buy window: the message to copy, then the channels (locked until copied). */
body.modal-open { overflow: hidden; }
.buy-modal {
  position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px;
  background: rgba(0, 0, 0, 0.6); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility 0s .25s;
}
.buy-modal.open { opacity: 1; visibility: visible; transition: opacity .25s ease; }
.buy-box {
  position: relative; width: min(100%, 460px); max-height: calc(100vh - 32px); overflow-y: auto; padding: 26px 24px 22px;
  background: linear-gradient(160deg, #1c1710, #0d0a07); border: 1px solid rgba(255, 195, 0, 0.35); border-radius: 20px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7), 0 0 60px rgba(255, 150, 0, 0.12);
  transform: translateY(14px) scale(.98); transition: transform .3s cubic-bezier(.2, .8, .2, 1);
}
.buy-modal.open .buy-box { transform: none; }
.buy-close {
  position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; border-radius: 10px; cursor: pointer;
  border: 1px solid var(--line-strong); background: rgba(255, 255, 255, 0.04); color: var(--muted); font-size: 14px;
}
.buy-close:hover { color: var(--text); border-color: rgba(255, 195, 0, 0.5); }
.buy-k { margin: 0; font: 700 11px/1 var(--mono); letter-spacing: .14em; color: var(--primary); text-transform: uppercase; }
.buy-box h3 { margin: 10px 0 4px; font-size: 28px; font-weight: 900; letter-spacing: -0.03em; }
.buy-price { margin: 0 0 20px; color: var(--muted); font-size: 14px; }
.buy-price b { color: var(--text); font-size: 16px; }
.buy-step { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; font-weight: 700; font-size: 14.5px; }
.buy-step span { width: 24px; height: 24px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: var(--on-accent); font: 800 12px/1 var(--mono); }
.buy-msg {
  padding: 14px 16px; margin-bottom: 12px; border-radius: 12px; background: #0a0806; border: 1px dashed rgba(255, 195, 0, 0.45);
  font-size: 15px; line-height: 1.5; user-select: all;
}
.buy-copy { margin-bottom: 22px; height: 48px; }
.buy-copy.done { background: linear-gradient(120deg, #3ccf6e, #1f9e4f); color: #fff; box-shadow: 0 8px 26px rgba(40, 200, 100, 0.25); }
.buy-channels { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; transition: opacity .3s, filter .3s; }
.buy-ch {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; font-weight: 700;
  background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line-strong); transition: border-color .2s, background .2s, transform .2s;
}
.buy-ch img { width: 32px; height: 32px; border-radius: 50%; }
.buy-ch:hover { border-color: rgba(255, 195, 0, 0.6); background: rgba(255, 195, 0, 0.07); transform: translateY(-2px); }
.buy-channels.locked { opacity: .35; filter: grayscale(1); }
.buy-channels.locked .buy-ch { pointer-events: none; cursor: not-allowed; }
.buy-lock { margin: 12px 0 0; text-align: center; color: var(--faint); font: 500 12px/1.4 var(--mono); }

/* The red count on the megaphone when there is news. */
.news-badge {
  position: absolute; top: -7px; right: -7px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 10px;
  display: grid; place-items: center; background: #ff3b3b; color: #fff; font: 800 11px/1 "Inter", sans-serif;
  box-shadow: 0 0 0 2px var(--bg), 0 0 12px rgba(255, 59, 59, 0.6);
}

/* The flags: full colour, no light or dark rim, a soft gloss like a badge. */
.lang-flag {
  position: relative; flex: none; width: 26px; height: 19.5px; border-radius: 5px; overflow: hidden;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.35); transition: transform .2s, box-shadow .2s;
}
.lang-flag img { display: block; width: 100%; height: 100%; object-fit: cover; filter: saturate(1.25) contrast(1.05); }
.lang-flag::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.04) 45%, transparent 55%, rgba(0, 0, 0, 0.12));
}
.lang-item .lang-flag { width: 30px; height: 22.5px; }
.lang-item:hover .lang-flag, .lang-item.on .lang-flag { transform: scale(1.08); }
.lang-item.on .lang-flag { box-shadow: 0 0 0 2px var(--primary), 0 3px 12px rgba(255, 170, 0, 0.4); }

/* Other apps, grander: each in its own colour, a glow behind its icon, a
   light passing over the card on hover, store badges like the real ones. */
.other-group { font-size: 13px; gap: 12px; margin-bottom: 18px; }
.og-icon { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; font-size: 17px; color: var(--on-accent); background: var(--grad); box-shadow: 0 0 18px rgba(255, 170, 0, 0.35); }
.og-count { min-width: 22px; height: 22px; display: grid; place-items: center; padding: 0 6px; border-radius: 11px; background: rgba(255, 195, 0, 0.12); border: 1px solid rgba(255, 195, 0, 0.3); color: var(--primary); font-size: 11px; }
.other-app {
  --c: #ffc300;
  position: relative; overflow: hidden; isolation: isolate; padding: 22px; gap: 18px; border-radius: 18px;
  background:
    radial-gradient(120% 80% at 0% 0%, color-mix(in srgb, var(--c) 16%, transparent), transparent 60%),
    linear-gradient(160deg, rgba(26, 22, 16, 0.95), rgba(10, 8, 6, 0.95));
  border: 1px solid color-mix(in srgb, var(--c) 22%, rgba(255, 255, 255, 0.06));
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  transition: transform .35s cubic-bezier(.2, .8, .2, 1), border-color .3s, box-shadow .3s;
}
.other-app:hover {
  transform: translateY(-6px);
  border-color: color-mix(in srgb, var(--c) 70%, transparent);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.5), 0 0 0 1px color-mix(in srgb, var(--c) 35%, transparent), 0 0 46px color-mix(in srgb, var(--c) 22%, transparent);
}
.app-shine {
  position: absolute; inset: -40% auto -40% -60%; width: 45%; z-index: -1; pointer-events: none; transform: rotate(18deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.07), transparent);
  transition: left .8s cubic-bezier(.2, .8, .2, 1);
}
.other-app:hover .app-shine { left: 120%; }
.app-head { display: flex; align-items: center; gap: 14px; }
.app-icon { position: relative; flex: none; width: 64px; height: 64px; }
.app-icon::before {
  content: ""; position: absolute; inset: -14px; z-index: -1; border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--c) 45%, transparent), transparent 70%);
  opacity: .7; transition: opacity .3s, transform .3s;
}
.other-app:hover .app-icon::before { opacity: 1; transform: scale(1.12); }
.app-icon img { width: 64px; height: 64px; border-radius: 16px; box-shadow: 0 10px 24px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.12); transition: transform .35s cubic-bezier(.2, .8, .2, 1); }
.other-app:hover .app-icon img { transform: scale(1.06) rotate(-3deg); }
.other-app h4 { font-size: 20px; letter-spacing: -0.01em; }
.app-tags { margin: 4px 0 0; font: 500 11px/1 var(--mono); letter-spacing: .08em; color: color-mix(in srgb, var(--c) 75%, #a59d8f); }
.store-btn { background: #000; border-color: rgba(255, 255, 255, 0.16); padding: 9px 14px; border-radius: 12px; }
.store-btn:hover { border-color: color-mix(in srgb, var(--c) 75%, transparent); background: #050505; transform: translateY(-1px); }
.store-btn span { font-size: 15px; }
.store-btn.off { background: transparent; border-style: dashed; }
.other-grid.pc { grid-template-columns: repeat(2, 1fr); }
.other-app.wide { flex-direction: row; align-items: center; justify-content: space-between; padding: 24px 26px; }
.other-app.wide .store-row { width: auto; margin-top: 0; min-width: 200px; }
@media (max-width: 880px) { .other-app.wide { flex-direction: column; align-items: flex-start; } .other-app.wide .store-row { width: 100%; } }
@media (max-width: 1080px) { .other-grid.pc { grid-template-columns: 1fr; } }

/* Stay tuned: the four channels at the foot of every page, and in the
   announcement panel while it has no news. */
.social-icon { flex: none; width: 40px; height: 40px; display: grid; place-items: center; }
.social-icon img, .social-icon svg { width: 40px; height: 40px; border-radius: 50%; display: block; }
.news-follow { display: grid; gap: 4px; padding: 0 6px 6px; }
.news-follow .social-item { padding: 9px 10px; }
.news-follow .social-icon, .news-follow .social-icon img, .news-follow .social-icon svg { width: 34px; height: 34px; }
.news-follow .social-item:hover { border-color: color-mix(in srgb, var(--c) 45%, transparent); background: color-mix(in srgb, var(--c) 9%, transparent); }

.follow-band {
  position: relative; overflow: hidden; isolation: isolate; margin-bottom: 34px; padding: 30px 32px;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 28px; align-items: center;
  border-radius: 22px; border: 1px solid rgba(255, 195, 0, 0.22);
  background:
    radial-gradient(70% 120% at 0% 0%, rgba(255, 176, 0, 0.14), transparent 60%),
    radial-gradient(50% 100% at 100% 100%, rgba(41, 169, 235, 0.08), transparent 60%),
    linear-gradient(160deg, rgba(26, 22, 16, 0.95), rgba(10, 8, 6, 0.95));
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}
.follow-kicker { display: inline-flex; align-items: center; gap: 8px; font: 700 11px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--primary); }
.follow-kicker i { width: 7px; height: 7px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 10px var(--primary); animation: core-wait 1.6s ease-in-out infinite; }
.follow-band h2 { margin: 12px 0 8px; font-size: clamp(26px, 3vw, 38px); line-height: 1.05; letter-spacing: -0.035em; font-weight: 900; }
.follow-band p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.5; max-width: 380px; }
.follow-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.follow-card {
  --c: #ffc300;
  position: relative; display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 16px; color: var(--text);
  background: linear-gradient(160deg, color-mix(in srgb, var(--c) 10%, rgba(20, 17, 13, 0.95)), rgba(10, 8, 6, 0.95));
  border: 1px solid color-mix(in srgb, var(--c) 22%, rgba(255, 255, 255, 0.06));
  transition: transform .3s cubic-bezier(.2, .8, .2, 1), border-color .3s, box-shadow .3s;
}
.follow-card:hover {
  transform: translateY(-3px); border-color: color-mix(in srgb, var(--c) 65%, transparent);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.45), 0 0 30px color-mix(in srgb, var(--c) 22%, transparent);
}
.follow-card .social-icon { position: relative; }
.follow-card .social-icon::before {
  content: ""; position: absolute; inset: -8px; z-index: -1; border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--c) 40%, transparent), transparent 70%); opacity: .6; transition: opacity .3s;
}
.follow-card:hover .social-icon::before { opacity: 1; }
.follow-card .drop-text { min-width: 0; display: flex; flex-direction: column; gap: 3px; flex: 1; }
.follow-card .drop-text b { font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.follow-card .drop-text small { color: var(--faint); font: 500 11.5px/1.2 var(--mono); }
.follow-card .drop-go { color: color-mix(in srgb, var(--c) 80%, #fff); transition: transform .25s; }
.follow-card:hover .drop-go { transform: translate(2px, -2px); }
@media (max-width: 880px) { .follow-band { grid-template-columns: 1fr; padding: 24px 20px; } }
@media (max-width: 480px) { .follow-grid { grid-template-columns: 1fr; } }
/* The band sits above the footer's line. */
.footer { border-top: 0; padding-top: 0; }
.footer-inner { border-top: 1px solid var(--line); padding-top: 28px; }

/* The account button in the bar and its menu. */
.account-toggle { gap: 8px; padding: 0 12px 0 8px; font: 700 12px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.account-icon { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: var(--on-accent); }
.account-icon svg { width: 15px; height: 15px; fill: currentColor; }
.account-drop.active .account-toggle { border-color: rgba(255, 195, 0, 0.5); }
.acc-ico { flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: rgba(255, 195, 0, 0.1); border: 1px solid rgba(255, 195, 0, 0.25); color: var(--primary); }
.acc-ico svg { width: 18px; height: 18px; fill: currentColor; }
.nav-account-m { display: none; }
@media (max-width: 1180px) { .account-label, .account-toggle .drop-chevron { display: none; } .account-toggle { padding: 0; width: 38px; justify-content: center; } }
@media (max-width: 880px) { .account-drop { display: none; } .nav-links .nav-account-m { display: block; } }

/* The account page: what an account gives, and the sign-in / sign-up card. */
.account-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 460px); gap: 56px; align-items: start; }
.account-intro { margin-bottom: 0; }
.account-perks { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 14px; }
.account-perks li { display: flex; align-items: center; gap: 14px; font-size: 15.5px; color: var(--text); }
.perk-icon { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 195, 0, 0.08); border: 1px solid rgba(255, 195, 0, 0.25); color: var(--primary); }
.perk-icon svg { width: 20px; height: 20px; fill: currentColor; }
.account-card {
  position: relative; padding: 26px; border-radius: 22px; border: 1px solid rgba(255, 195, 0, 0.22);
  background: radial-gradient(90% 60% at 100% 0%, rgba(255, 176, 0, 0.12), transparent 60%), linear-gradient(160deg, rgba(26, 22, 16, 0.96), rgba(10, 8, 6, 0.96));
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5);
}
.acc-tabs { position: relative; display: grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 12px; background: rgba(0, 0, 0, 0.45); border: 1px solid var(--line); margin-bottom: 22px; }
.acc-tab { position: relative; z-index: 1; height: 40px; border: 0; background: none; color: var(--muted); font: 700 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; cursor: pointer; transition: color .25s; }
.acc-tab.on { color: var(--on-accent); }
.acc-ink { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 9px; background: var(--grad); box-shadow: 0 6px 18px rgba(255, 160, 0, 0.3); transition: transform .35s cubic-bezier(.2, .8, .2, 1); }
.account-card[data-tab="register"] .acc-ink { transform: translateX(100%); }
.acc-form { display: grid; gap: 14px; animation: acc-in .35s ease; }
.acc-form h2 { margin: 0 0 4px; font-size: 24px; letter-spacing: -0.02em; }
@keyframes acc-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.field { display: grid; gap: 7px; }
.field > span:first-child { font: 600 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }
.field input {
  width: 100%; height: 46px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line-strong); background: rgba(0, 0, 0, 0.4);
  color: var(--text); font: 500 15px/1 "Inter", sans-serif; outline: none; transition: border-color .2s, box-shadow .2s;
}
.field input::placeholder { color: rgba(165, 157, 143, 0.55); }
.field input:focus { border-color: rgba(255, 195, 0, 0.7); box-shadow: 0 0 0 3px rgba(255, 195, 0, 0.12); }
.field.bad input { border-color: #ff5a5a; box-shadow: 0 0 0 3px rgba(255, 90, 90, 0.12); }
.pw { position: relative; display: block; }
.pw input { padding-right: 46px; }
.pw-eye { position: absolute; right: 6px; top: 50%; translate: 0 -50%; width: 34px; height: 34px; border: 0; border-radius: 9px; background: none; color: var(--faint); cursor: pointer; display: grid; place-items: center; }
.pw-eye svg { width: 19px; height: 19px; fill: currentColor; }
.pw-eye:hover, .pw-eye.on { color: var(--primary); }
.acc-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 13.5px; }
.check { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); cursor: pointer; }
.check input { width: 16px; height: 16px; accent-color: #ffb000; }
.acc-msg { margin: 0; padding: 12px 14px; border-radius: 12px; font-size: 13.5px; line-height: 1.45; }
.acc-msg.bad { background: rgba(255, 90, 90, 0.08); border: 1px solid rgba(255, 90, 90, 0.35); color: #ffb4b4; }
.acc-msg.ok { background: rgba(255, 195, 0, 0.08); border: 1px solid rgba(255, 195, 0, 0.35); color: var(--text); }
.acc-msg a { color: var(--primary); font-weight: 700; }
.acc-switch { margin: 2px 0 0; text-align: center; font-size: 13.5px; color: var(--faint); }
.acc-switch a { color: var(--primary); font-weight: 700; }
@media (max-width: 880px) { .account-wrap { grid-template-columns: 1fr; gap: 32px; } }
@media (max-width: 560px) { .account-card { padding: 20px 16px; } .acc-row { flex-wrap: wrap; } }
#accountList { min-width: 260px; }
.acc-form[hidden], .acc-msg[hidden] { display: none; }

/* Account: hints stay faint, the password rules, the code step, signed in. */
.field input::placeholder { color: rgba(165, 157, 143, 0.38); font-weight: 400; }
.account-card[data-tab="verify"] .acc-tabs, .account-card[data-tab="done"] .acc-tabs { display: none; }
.pw-rules { list-style: none; margin: -4px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 14px; }
.pw-rules li { position: relative; padding-left: 22px; font-size: 12.5px; color: var(--faint); transition: color .2s; }
.pw-rules li::before {
  content: ""; position: absolute; left: 0; top: 50%; translate: 0 -50%; width: 14px; height: 14px; border-radius: 50%;
  border: 1.5px solid rgba(165, 157, 143, 0.5); transition: background .2s, border-color .2s;
}
.pw-rules li.met { color: var(--text); }
.pw-rules li.met::before {
  border-color: #3ddc84; background: #3ddc84 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z' fill='%23000'/%3E%3C/svg%3E") center / 10px no-repeat;
}
.verify-icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: rgba(255, 195, 0, 0.1); border: 1px solid rgba(255, 195, 0, 0.3); color: var(--primary); }
.verify-icon svg { width: 26px; height: 26px; fill: currentColor; }
.verify-sub { margin: -6px 0 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
.verify-sub b { color: var(--text); }
.code-boxes { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.code-boxes input {
  width: 100%; height: 56px; text-align: center; border-radius: 12px; border: 1px solid var(--line-strong); background: rgba(0, 0, 0, 0.45);
  color: var(--primary); font: 800 24px/1 var(--mono); outline: none; transition: border-color .2s, box-shadow .2s; caret-color: var(--primary);
}
.code-boxes input:focus { border-color: rgba(255, 195, 0, 0.75); box-shadow: 0 0 0 3px rgba(255, 195, 0, 0.12); }
.resend-btn { border: 0; background: none; padding: 0; color: var(--primary); font: 700 13.5px/1 "Inter", sans-serif; cursor: pointer; }
.resend-btn:disabled { color: var(--faint); cursor: default; }
#resendTimer { font-family: var(--mono); font-weight: 500; }
.btn.busy { opacity: .7; pointer-events: none; }
.acc-done h2 { font-size: 24px; }
@media (max-width: 400px) { .pw-rules { grid-template-columns: 1fr; } .code-boxes { gap: 6px; } .code-boxes input { height: 50px; font-size: 21px; } }

/* Buy: the two ways to pay, then the chosen one. */
.buy-ways { display: grid; gap: 10px; margin-top: 18px; }
.buy-ways[hidden], .buy-pane[hidden] { display: none; }
.buy-way {
  --c: #ffc300;
  display: flex; align-items: center; gap: 14px; width: 100%; padding: 16px; border-radius: 16px; cursor: pointer; text-align: left; color: var(--text);
  background: linear-gradient(160deg, color-mix(in srgb, var(--c) 10%, rgba(20, 17, 13, 0.95)), rgba(10, 8, 6, 0.95));
  border: 1px solid color-mix(in srgb, var(--c) 30%, rgba(255, 255, 255, 0.06)); font: inherit;
  transition: transform .25s cubic-bezier(.2, .8, .2, 1), border-color .25s, box-shadow .25s;
}
.buy-way:hover, .buy-way:focus-visible { transform: translateY(-2px); border-color: color-mix(in srgb, var(--c) 75%, transparent); box-shadow: 0 14px 30px rgba(0, 0, 0, 0.4), 0 0 26px color-mix(in srgb, var(--c) 20%, transparent); outline: none; }
.buy-way.crypto { --c: #19c37d; }
.way-icon { flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 16%, transparent); border: 1px solid color-mix(in srgb, var(--c) 40%, transparent); color: var(--c); }
.way-icon svg { width: 26px; height: 26px; fill: currentColor; }
.way-text { display: flex; flex-direction: column; gap: 5px; flex: 1; min-width: 0; }
.way-text b { font-size: 17px; font-weight: 800; }
.way-text small { color: var(--faint); font-size: 12.5px; line-height: 1.35; }
.way-go { color: var(--c); font-weight: 800; font-size: 18px; transition: transform .2s; }
.buy-way:hover .way-go { transform: translateX(3px); }
.buy-pane { margin-top: 14px; }
.buy-back { border: 0; background: none; padding: 4px 0; margin-bottom: 4px; color: var(--muted); font: 600 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
.buy-back:hover { color: var(--primary); }
.buy-crypto-body { display: grid; gap: 12px; margin-top: 8px; }
.buy-note { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
.buy-who { margin: 0; font: 500 12.5px/1 var(--mono); color: var(--faint); }
.buy-who b { color: var(--text); }
.buy-auth { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.buy-wait { display: flex; align-items: center; gap: 10px; margin: 6px 0; color: var(--muted); font-size: 14px; }
.spin { width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255, 195, 0, 0.25); border-top-color: var(--primary); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Account: the orders. */
.acc-orders { display: grid; gap: 8px; margin-top: 4px; }
.acc-orders[hidden] { display: none; }
.acc-orders h3 { margin: 4px 0 2px; font: 700 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--primary); }
.order { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: rgba(0, 0, 0, 0.35); }
.order.fresh { border-color: rgba(255, 195, 0, 0.6); }
.order div { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.order b { font-size: 14.5px; }
.order small { font: 500 11px/1.2 var(--mono); color: var(--faint); }
.order-state { flex: none; font: 700 10.5px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; padding: 6px 8px; border-radius: 7px; }
.order.paid .order-state { background: rgba(61, 220, 132, 0.14); color: #3ddc84; }
.order.new .order-state { background: rgba(255, 195, 0, 0.12); color: var(--primary); }
.order.bad .order-state { background: rgba(255, 90, 90, 0.12); color: #ff8a8a; }
.order-note { margin: 2px 0 0; font-size: 12.5px; color: var(--muted); line-height: 1.45; }
.news-badge[hidden] { display: none; }

/* The privacy policy: a contents list beside the text, one block per language. */
.policy-head { max-width: 760px; margin-bottom: 34px; }
.policy-kicker { margin: 0 0 12px; font: 700 12px/1 var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--primary); }
.policy-date { margin: 12px 0 0; font: 500 12.5px/1 var(--mono); color: var(--faint); }
.policy-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 48px; align-items: start; }
.policy-toc { position: sticky; top: 90px; display: grid; gap: 2px; padding: 16px; border-radius: 16px; border: 1px solid var(--line); background: rgba(14, 11, 8, 0.85); }
.policy-toc p { margin: 0 0 8px; font: 700 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--primary); }
.policy-toc a { padding: 7px 8px; border-radius: 8px; color: var(--muted); font-size: 13.5px; line-height: 1.3; }
.policy-toc a:hover { color: var(--text); background: rgba(255, 195, 0, 0.07); }
.policy-body { max-width: 760px; font-size: 16px; line-height: 1.7; color: var(--muted); }
.policy-body[hidden] { display: none; }
.policy-body section { padding: 26px 0; border-top: 1px solid var(--line); scroll-margin-top: 90px; }
.policy-body section:first-child { padding: 24px 26px; border: 1px solid rgba(255, 195, 0, 0.25); border-radius: 18px; background: rgba(255, 195, 0, 0.05); margin-bottom: 12px; }
.policy-body h2 { margin: 0 0 12px; color: var(--text); font-size: 22px; letter-spacing: -0.02em; }
.policy-body p { margin: 0 0 12px; }
.policy-body ul { margin: 0; padding-left: 20px; display: grid; gap: 9px; }
.policy-body li::marker { color: var(--primary); }
.policy-body b { color: var(--text); font-weight: 650; }
.policy-body a { color: var(--primary); font-weight: 600; }
.acc-privacy { margin: 0; text-align: center; font-size: 12.5px; color: var(--faint); }
.acc-privacy a { color: var(--primary); font-weight: 600; }
@media (max-width: 880px) { .policy-layout { grid-template-columns: 1fr; gap: 20px; } .policy-toc { position: static; } }
