/* ═══════════════════════════════════════════════════
   MovitOn token sale landing — stylesheet (mobile-first)
   Brand Style Guide v1 (2026): Void Night #060A10, Deep Ocean #0B1219, Chain Gold #E8B84B,
   Transit Yellow #FFDD7D, Route Blue #2F9FFF, Signal Coral #FF6B6B, Frost White #EEF3F8,
   Slate Grey #7A93A8.
   Fonts: Inter Tight (display; Google Fonts stand-in for the guide's Switzer, which is not on
   Google Fonts), Outfit (body/UI, Onest for Cyrillic), DM Mono (figures, hashes, labels)
   ═══════════════════════════════════════════════════ */

:root {
  /* ── BRAND (white-label) ─────────────────────────────────────────────
     Change these values to rebrand the page. Every tint, glow and chart
     accent below is derived from them with color-mix(). */
  --brand-bg: #060A10;        /* Void Night: page background */
  --brand-primary: #E8B84B;   /* Chain Gold: CTAs, logo, key headings */
  --brand-primary-2: #FFDD7D; /* Transit Yellow: gradients, hover, data values */
  --brand-accent: #3DD68C;    /* Success green: confirmed / verified / live states (guide has no green; agreed with client) */
  --brand-danger: #FF6B6B;    /* Signal Coral: alerts and negative states only */
  --brand-info: #2F9FFF;      /* Route Blue: informational, smart routing */
  --brand-info-2: #2F9FFF;

  /* Surfaces (guide: Deep Ocean panels on Void Night) */
  --d1: var(--brand-bg);
  --d2: #1A2C3D;
  --d3: #22364A;
  --card: #121E2B;
  --card-2: rgba(18, 30, 43, 0.6);
  --surface: #0B1219;         /* Deep Ocean */

  /* Semantic aliases used throughout */
  --gold: var(--brand-primary);
  --gold-l: var(--brand-primary-2);
  --green: var(--brand-accent);
  --red: var(--brand-danger);
  --blue: var(--brand-info);
  --blue-l: var(--brand-info-2);

  --text: #EEF3F8;     /* Frost White: 18.5:1 on Void Night */
  --text-2: #C2CEDA;   /* body copy: Frost White / Slate mix, ~12:1 on Void Night, ~10:1 on cards */
  --muted: #9DB0C0;    /* small labels: lighter Slate Grey, >= 6:1 on every surface (guide #7A93A8 is 4.4:1 on raised panels) */
  --subtle: #7A93A8;   /* Slate Grey: decorative meta only, never small text on raised panels */
  --line: rgba(122, 147, 168, 0.16);
  --line-2: rgba(122, 147, 168, 0.28);

  --font-display: 'Inter Tight', 'Outfit', 'Onest', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font: 'Outfit', 'Onest', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'DM Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Glow system (guide: box-shadow 0 0 28px, colour by intent) */
  --glow-gold: 0 0 28px rgba(232, 184, 75, 0.45);

  /* Type scale (1.2 minor third, fluid at the top end) */
  --fs-2xs: 0.6875rem;
  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-md: 1.125rem;
  --fs-lg: 1.375rem;
  --fs-xl: clamp(1.75rem, 1.2rem + 2.2vw, 2.75rem);
  --fs-hero: clamp(2.35rem, 1.3rem + 4.6vw, 4.25rem);

  /* Spacing rhythm (4px base) */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 24px;
  --sp-6: 32px;
  --sp-7: 48px;
  --sp-8: 64px;
  --section-y: clamp(48px, 2.25rem + 2.75vw, 88px);

  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --tr: 0.35s var(--ease);
  --tr-fast: 0.18s var(--ease);
  --gutter: 16px;
  --header-h: 64px;
  --shadow-lg: 0 24px 64px rgba(0, 0, 0, 0.42);
}

/* ═══════════ RESET ═══════════ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  background: var(--d1);
  color: var(--text);
  line-height: 1.6;
  font-size: var(--fs-base);
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
body.menu-open { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
ul, ol { list-style: none; }
[hidden] { display: none !important; }
table { border-collapse: collapse; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
main:focus { outline: none; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -100px; z-index: 2000;
  background: var(--gold); color: var(--d1); font-weight: 700; padding: 10px 16px; border-radius: var(--r-sm);
}
.skip-link:focus { top: 12px; }

/* ═══════════ UTILITIES ═══════════ */
.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: 820px; }
.center { text-align: center; }
.gold { color: var(--gold); }
.green { color: var(--green); }
.red { color: var(--red); }
.blue { color: var(--blue-l); }
.mono { font-family: var(--mono); font-weight: 500; } /* DM Mono ships 300–500; no faux bold */
.text-gradient {
  background: linear-gradient(135deg, var(--gold), var(--gold-l));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: var(--gold);
}
.link { color: var(--gold); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.link:hover { color: var(--gold-l); }

/* Scroll reveal: only hides content once JS confirmed it can reveal it */
.js-reveal .reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.js-reveal .reveal.is-visible { opacity: 1; transform: none; }

/* ═══════════ BUTTONS / BADGES ═══════════ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 26px; border-radius: 50px;
  font-weight: 700; font-size: 0.95rem; line-height: 1.2; text-align: center;
  transition: transform var(--tr-fast), box-shadow var(--tr), background-color var(--tr), color var(--tr), border-color var(--tr);
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: translateY(0) scale(0.98); }
.btn--shine { position: relative; overflow: hidden; isolation: isolate; }
.btn--shine::after {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.45) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform 0.8s var(--ease);
}
.btn--shine:hover::after { transform: translateX(120%); }
.btn--primary { background: var(--gold); color: var(--d1); box-shadow: var(--glow-gold); }
.btn--primary:hover { background: var(--gold-l); transform: translateY(-2px); box-shadow: 0 0 36px color-mix(in srgb, var(--gold) 60%, transparent); }
.btn--outline { border: 1px solid color-mix(in srgb, var(--gold) 70%, transparent); color: var(--gold); }
.btn--outline:hover { background: var(--gold); color: var(--d1); }
.btn--sm { min-height: 40px; padding: 8px 18px; font-size: 0.88rem; }
.btn--block { width: 100%; min-height: 52px; border-radius: 12px; font-size: 1rem; font-weight: 800; letter-spacing: 0.01em; }

.dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; animation: blink 1.3s ease-in-out infinite; flex-shrink: 0; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); margin-bottom: var(--sp-3); }
.eyebrow::before { content: ''; width: 18px; height: 2px; border-radius: 2px; background: currentColor; opacity: 0.7; }
.center .eyebrow::after, .section__head.center .eyebrow::after { content: ''; width: 18px; height: 2px; border-radius: 2px; background: currentColor; opacity: 0.7; }
.eyebrow--red { color: var(--red); }
.eyebrow--green { color: var(--green); }

/* Marquee (press strip): the track holds two copies of the list and slides by one copy. */
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ═══════════ HEADER ═══════════ */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: color-mix(in srgb, var(--d1) 88%, transparent); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner { max-width: 1280px; margin: 0 auto; padding: 0 var(--gutter); height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.logo { flex-shrink: 0; }
.logo img { height: 32px; width: auto; }
.main-nav { display: none; }
.main-nav ul { display: flex; gap: 22px; }
.main-nav a { font-size: 0.9rem; white-space: nowrap; font-weight: 500; color: var(--text-2); position: relative; padding: 6px 0; transition: color var(--tr); }
.main-nav a::after { content: ''; position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--gold); transition: width 0.3s; }
.main-nav a:hover { color: var(--text); }
.main-nav a:hover::after { width: 100%; }
.site-header__actions { display: flex; align-items: center; gap: 10px; }
.site-header__actions > .btn { display: inline-flex; padding-inline: 14px; }
/* Language switcher: header dropdown (from 600px; the mobile menu lists all languages below that). */
.lang { position: relative; display: none; }
.lang__button {
  display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 10px; border-radius: 10px;
  border: 1px solid var(--line-2); color: var(--text-2); font-size: 0.85rem; font-weight: 600; letter-spacing: 0.04em;
  transition: color var(--tr), border-color var(--tr), background-color var(--tr);
}
.lang__button:hover, .lang__button[aria-expanded='true'] { color: var(--text); border-color: color-mix(in srgb, var(--gold) 55%, transparent); }
.lang__menu {
  position: absolute; top: calc(100% + 8px); right: 0; z-index: 1200; min-width: 184px; padding: 6px;
  background: var(--surface); border: 1px solid var(--line-2); border-radius: 12px; box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}
.lang__option { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 8px; color: var(--text-2); font-weight: 500; }
.lang__option:hover, .lang__option:focus-visible { background: rgba(255, 255, 255, 0.07); color: var(--text); }
.lang__option[aria-current='true'] { color: var(--gold); }
.lang__option[aria-current='true']::after { content: '✓'; margin-left: auto; font-weight: 700; }
.lang__option-code { font-family: var(--mono); font-size: 0.75rem; color: var(--muted); width: 22px; }
.lang__option[aria-current='true'] .lang__option-code { color: inherit; }

.lang-list { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); width: 100%; max-width: 360px; }
.lang-list__items { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.mobile-menu a.lang-list__option {
  display: inline-flex; align-items: center; min-height: 44px; padding: 8px 14px; border-radius: 999px;
  border: 1px solid var(--line-2); font-size: 0.95rem; font-weight: 600; color: var(--text-2);
}
.mobile-menu a.lang-list__option[aria-current='true'] { border-color: var(--gold); color: var(--gold); }
.lang-list__option-code { display: none; }
.menu-toggle { width: 44px; height: 44px; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px; border-radius: 10px; }
.menu-toggle span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; }

.mobile-menu {
  position: fixed; inset: 0; z-index: 1100; background: var(--d1);
  display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 72px 24px 24px; overflow-y: auto;
  animation: fade 0.25s ease;
}
.mobile-menu nav { display: flex; flex-direction: column; align-items: center; gap: 18px; margin: auto 0; }
.mobile-menu a:not(.btn) { font-size: 1.25rem; font-weight: 600; padding: 4px 8px; }
.mobile-menu a:not(.btn):hover { color: var(--gold); }
.mobile-menu__close { position: absolute; top: 14px; right: 14px; width: 48px; height: 48px; font-size: 2rem; line-height: 1; }

/* ═══════════ HERO ═══════════ */
.hero { position: relative; overflow: hidden; overflow: clip; padding: 40px 0 56px; }
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; opacity: 0.42; mix-blend-mode: lighten; }
.hero__bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, var(--d1) 0%, color-mix(in srgb, var(--d1) 55%, transparent) 40%, color-mix(in srgb, var(--d1) 80%, transparent) 72%, var(--d1) 100%); }
.hero__inner { position: relative; z-index: 2; max-width: 1280px; margin: 0 auto; padding: 0 var(--gutter); display: grid; gap: 36px; }
.hero__copy { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.hero__title { font-family: var(--font-display); font-size: var(--fs-hero); font-weight: 800; line-height: 1.02; letter-spacing: -0.03em; text-wrap: balance; }
.hero__lead { font-size: clamp(1rem, 0.95rem + 0.3vw, 1.125rem); color: var(--text-2); max-width: 560px; line-height: 1.65; text-wrap: pretty; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
/* "At a glance" row: what MVON is, how to pay and (live data only) the round price */
.socials { display: none; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 8px 16px; border-radius: 50px;
  background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line-2); color: var(--text-2); font-size: 0.85rem; font-weight: 600;
  transition: transform var(--tr), background-color var(--tr);
}
.chip:hover { background: rgba(255, 255, 255, 0.12); transform: translateY(-2px); color: var(--text); }

/* BETA app store badges (hero). Drawn like the official badges: black, thin grey outline, glyph + two lines. */
.beta { display: flex; flex-direction: column; gap: 10px; margin-top: 4px; }
.beta__title { font-family: var(--font-display); font-size: var(--fs-md); font-weight: 700; color: var(--text); letter-spacing: -0.01em; }
.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.store {
  display: inline-flex; align-items: center; gap: 10px; min-height: 52px; min-width: 156px; padding: 7px 18px 7px 14px;
  border-radius: 12px; background: #000; border: 1px solid #A6A6A6; color: #fff;
  transition: transform var(--tr), border-color var(--tr), box-shadow var(--tr);
}
.store:hover { transform: translateY(-2px); border-color: var(--gold); box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45); }
.store:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.store__glyph { flex-shrink: 0; width: 26px; height: 26px; }
.store__text { display: flex; flex-direction: column; line-height: 1.1; text-align: left; }
.store__small { font-size: 0.68rem; font-weight: 500; letter-spacing: 0.01em; white-space: nowrap; }
.store__small--caps { text-transform: uppercase; font-size: 0.62rem; letter-spacing: 0.06em; }
.store__name { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', var(--font); font-size: 1.28rem; font-weight: 600; letter-spacing: -0.01em; white-space: nowrap; }
@media (max-width: 399px) {
  .stores { gap: 10px; }
  .store { min-width: 0; flex: 1 1 0; padding-inline: 10px 12px; gap: 8px; }
  .store__name { font-size: 1.08rem; }
}

/* ═══════════ PRESS STRIP ═══════════ */
.press-strip { padding: 22px 0; border-block: 1px solid rgba(255, 255, 255, 0.05); background: rgba(255, 255, 255, 0.02); }
.press-strip__title { text-align: center; font-size: 0.75rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.2em; margin-bottom: 14px; }
.press-strip__viewport { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.press-strip__track { display: flex; align-items: center; width: max-content; animation: marquee var(--marquee-duration, 60s) linear infinite; }
/* Pause while the pointer is over the strip or a logo link has keyboard focus. */
.press-strip__viewport:hover .press-strip__track, .press-strip__track:focus-within { animation-play-state: paused; }
.press-strip__track li { padding: 0 14px; }
.press-strip__link { display: inline-flex; align-items: center; min-height: 44px; padding: 6px 18px; border-radius: var(--r-sm); }
.press-strip__link img { height: calc(26px * var(--logo-scale, 1)); width: auto; opacity: 0.6; filter: brightness(0) invert(1); transition: opacity var(--tr); }
a.press-strip__link:hover img, a.press-strip__link:focus-visible img { opacity: 1; }
a.press-strip__link:focus-visible { outline: 2px solid var(--gold); outline-offset: -2px; }

/* ═══════════ SECTIONS ═══════════ */
.section { padding: var(--section-y) 0; }
.section--tint { background: linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent); }
.section__head { margin-bottom: clamp(28px, 1.25rem + 1.5vw, 44px); }
.section__head.center .section__lead { margin-inline: auto; }
h1, .section__title, .subhead, .card__title, .step__title, .safe__title, .plain__h, .elig__title, .widget__title, .not-found__title { font-family: var(--font-display); }
.section__title { font-size: var(--fs-xl); font-weight: 800; line-height: 1.12; letter-spacing: -0.02em; margin-bottom: var(--sp-4); overflow-wrap: break-word; text-wrap: balance; }
.section__lead { font-size: var(--fs-md); color: var(--text-2); max-width: 660px; text-wrap: pretty; }
.subhead { font-size: var(--fs-lg); font-weight: 700; margin: var(--sp-7) 0 var(--sp-4); letter-spacing: -0.01em; }
.subhead--flush { margin: 0 0 var(--sp-3); }
.footnote { font-size: 0.82rem; color: var(--muted); margin-top: 18px; max-width: 860px; }
.footnote.center { margin-inline: auto; }
.footnote + p.center, .plain + p.center { margin-top: var(--sp-5); }
.footnote-ref { color: var(--gold); margin-left: 2px; }

.grid { display: grid; gap: 18px; grid-template-columns: 1fr; }

.card {
  background: linear-gradient(145deg, var(--card), var(--card-2)); border: 1px solid var(--line); border-radius: var(--r);
  transition: transform var(--tr), border-color var(--tr), box-shadow var(--tr); overflow: hidden;
}
.card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--gold) 45%, transparent); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3); }
.icon-tile {
  display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; margin-bottom: var(--sp-4);
  color: var(--gold); background: linear-gradient(145deg, color-mix(in srgb, var(--gold) 18%, transparent), color-mix(in srgb, var(--gold) 6%, transparent));
  border: 1px solid color-mix(in srgb, var(--gold) 28%, transparent);
  transition: transform var(--tr), background-color var(--tr);
}
.card:hover .icon-tile, .eco__tile:hover .icon-tile { transform: translateY(-2px) rotate(-4deg); }
.card--utility .icon-tile { margin-inline: auto; }
.card__img { width: 100%; height: 150px; object-fit: cover; opacity: 0.85; }
.card__body { padding: 20px; }
.card--feature, .card--utility { padding: 26px 22px; }
.card--utility { text-align: center; position: relative; }
.card--utility::before { content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 60px; height: 3px; background: var(--gold); border-radius: 0 0 4px 4px; }
.card__tag { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.card__title { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.card__text { font-size: var(--fs-sm); color: var(--text-2); line-height: 1.65; }

/* DePIN protocol layers (#depin): five numbered layer cards. From 1100px they sit in one row joined by a
   connector (a gold trunk line with a drop to each card), like the client's layer diagram. */
.layers { position: relative; display: grid; gap: 16px; grid-template-columns: 1fr; }
.layer {
  position: relative; display: flex; flex-direction: column; border-radius: var(--r); border: 1px solid var(--line);
  background: linear-gradient(145deg, var(--card), var(--card-2)); transition: transform var(--tr), border-color var(--tr), box-shadow var(--tr);
}
.layer:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--gold) 45%, transparent); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3); }
.layer__head {
  display: flex; align-items: center; gap: 14px; padding: 18px 20px 16px; border-radius: var(--r) var(--r) 0 0;
  border-bottom: 1px solid color-mix(in srgb, var(--gold) 22%, transparent);
  background: linear-gradient(180deg, color-mix(in srgb, var(--gold) 9%, transparent), transparent);
}
.layer__num { order: 3; margin-left: auto; font-size: var(--fs-xs); color: var(--gold); letter-spacing: 0.08em; opacity: 0.85; }
.layer__icon { margin-bottom: 0; flex-shrink: 0; }
.layer__title { font-family: var(--font-display); font-size: 1.08rem; font-weight: 700; line-height: 1.25; text-wrap: balance; }
.layer__text { padding: 16px 20px 22px; font-size: var(--fs-sm); color: var(--text-2); line-height: 1.65; text-wrap: pretty; }
.layer:hover .icon-tile { transform: translateY(-2px) rotate(-4deg); }
@media (min-width: 600px) {
  .layers { grid-template-columns: repeat(2, 1fr); }
  .layer:last-child { grid-column: 1 / -1; }
}
@media (min-width: 1100px) {
  .layers { grid-template-columns: repeat(5, 1fr); gap: 14px; padding-top: 30px; }
  .layer:last-child { grid-column: auto; }
  .layers::before {
    content: ''; position: absolute; top: 0; left: 10%; right: 10%; height: 2px; border-radius: 2px;
    background: linear-gradient(90deg, color-mix(in srgb, var(--gold) 25%, transparent), var(--gold) 20%, var(--gold) 80%, color-mix(in srgb, var(--gold) 25%, transparent));
    opacity: 0.6;
  }
  .layer::before { content: ''; position: absolute; left: 50%; top: -31px; width: 2px; height: 30px; transform: translateX(-50%); background: color-mix(in srgb, var(--gold) 60%, transparent); }
  .layer::after { content: ''; position: absolute; left: 50%; top: -36px; width: 10px; height: 10px; border-radius: 50%; transform: translateX(-50%); background: var(--d1); border: 2px solid var(--gold); }
  .layer__head { flex-direction: column; text-align: center; gap: 10px; padding: 22px 16px 18px; min-height: 168px; }
  .layer__num { order: 0; margin-left: 0; }
  .layer__text { text-align: center; padding: 18px 18px 24px; }
}

/* Platform */
.platform { display: grid; gap: 40px; align-items: center; }
.platform__phone { display: flex; justify-content: center; }
/* App screenshot slideshow (js/app-shots.js): a phone-shaped frame with a fixed 9:20 ratio, so changing
   screens (or tabs) never moves anything; the images are stacked and cross-fade. */
.shots { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.shots__frame {
  position: relative; width: min(300px, 76vw); aspect-ratio: 720 / 1600; border-radius: 38px; overflow: hidden;
  background: #0b0f14; border: 8px solid #1a2330; box-shadow: 0 0 0 1px var(--line-2), 0 30px 60px rgba(0, 0, 0, 0.5);
}
.shots__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.6s var(--ease); }
.shots__img.is-active { opacity: 1; }
.shots__controls { display: flex; align-items: center; gap: 10px; }
.shots__dots { display: flex; align-items: center; gap: 2px; }
/* 28px hit area, 10px visible dot */
.shots__dot { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; }
.shots__dot::before { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--subtle); opacity: 0.55; transition: background-color var(--tr), opacity var(--tr), transform var(--tr); }
.shots__dot:hover::before { opacity: 1; }
.shots__dot[aria-current='true']::before { background: var(--gold); opacity: 1; transform: scale(1.25); }
.shots__dot:focus-visible, .shots__toggle:focus-visible { outline: 2px solid var(--gold); outline-offset: 1px; }
.shots__toggle { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; color: var(--text-2); border: 1px solid var(--line-2); transition: color var(--tr), border-color var(--tr); }
.shots__toggle:hover { color: var(--gold); border-color: var(--gold); }
.platform__figure { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.platform__caption { font-size: var(--fs-xs); color: var(--muted); text-align: center; max-width: 34ch; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 20px; }
.tabs__tab {
  min-height: 40px; padding: 8px 18px; border-radius: 50px; font-size: 0.88rem; font-weight: 600; color: var(--text-2);
  background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line-2); transition: background-color var(--tr), color var(--tr);
}
.tabs__tab:hover { color: var(--text); border-color: var(--gold); }
.tabs__tab[aria-selected='true'] { background: var(--gold); color: var(--d1); border-color: var(--gold); }
.tabs__panel { animation: fade 0.45s ease; border-radius: var(--r-sm); }
/* All panels share one grid cell: the block keeps the height of the tallest tab, so switching tabs never
   moves the heading or resizes the section. visibility: hidden keeps inactive panels out of view, out of
   the tab order and out of the accessibility tree. */
.tabs__panels { display: grid; }
.tabs__panels > .tabs__panel { grid-area: 1 / 1; }
.tabs__panels > .tabs__panel.is-inactive { visibility: hidden; animation: none; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.feature-list li { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.05); }
.feature-list li::before { content: '→'; color: var(--gold); font-weight: 700; grid-row: span 2; }
.feature-list strong { font-weight: 700; }
.feature-list span { color: var(--text-2); font-size: 0.92rem; }

/* Use cases */
.compare {
  display: grid; gap: 16px; align-items: center; text-align: center; margin: 32px 0 40px; padding: 26px 18px;
  background: linear-gradient(145deg, var(--card), var(--card-2)); border: 1px solid var(--line); border-radius: var(--r-lg);
}
.compare__route { display: flex; flex-direction: column; font-size: 1.15rem; font-weight: 700; margin-bottom: 12px; }
.compare__dir { font-size: 0.75rem; font-weight: 500; color: var(--muted); text-transform: uppercase; letter-spacing: 0.1em; }
.compare__card { border-radius: var(--r-sm); padding: 18px; }
.compare__card--old { background: color-mix(in srgb, var(--red) 8%, transparent); border: 1px solid color-mix(in srgb, var(--red) 20%, transparent); }
.compare__card--new { background: color-mix(in srgb, var(--green) 8%, transparent); border: 1px solid color-mix(in srgb, var(--green) 20%, transparent); }
.compare__who { font-size: 0.85rem; color: var(--text-2); }
.compare__price { font-size: 1.7rem; font-weight: 800; }
.compare__time { font-size: 0.9rem; color: var(--text-2); }
.compare__vs { display: flex; justify-content: center; }
.compare__vs span { width: 48px; height: 48px; border-radius: 50%; background: rgba(255, 255, 255, 0.08); display: grid; place-items: center; font-weight: 800; font-size: 0.82rem; color: var(--text-2); text-transform: uppercase; }
.compare__caption { grid-column: 1 / -1; font-size: 0.78rem; color: var(--muted); }
.case-list h3 { font-size: 1.15rem; font-weight: 700; color: var(--gold); margin-bottom: 12px; }
.case-list__item { padding: 12px 16px; margin-bottom: 8px; border-radius: var(--r-sm); background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.06); font-size: 0.94rem; transition: border-color var(--tr); }
.case-list__item:hover { border-color: color-mix(in srgb, var(--gold) 60%, transparent); }

/* Ecosystem */
.eco { grid-template-columns: repeat(2, 1fr); }
.eco__tile {
  text-align: center; padding: 24px 12px; border-radius: var(--r); border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(18, 30, 43, 0.85), rgba(11, 18, 25, 0.6)); transition: transform var(--tr), border-color var(--tr);
}
.eco__tile:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--gold) 45%, transparent); }
.eco__tile .icon-tile { margin-bottom: var(--sp-3); }
.eco__tile h3 { font-size: 0.98rem; font-weight: 700; }

/* Tokenomics */
.stats { display: grid; gap: 14px; margin-bottom: 36px; }
.tokenomics__more { margin-top: var(--sp-5); }
.tokenomics__more .btn { text-transform: uppercase; letter-spacing: 0.06em; }
.stat { text-align: center; padding: 24px; border-radius: var(--r); border: 1px solid var(--line); background: linear-gradient(145deg, var(--card), var(--card-2)); }
.stat dt { font-size: 0.82rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 6px; }
.stat dd { display: flex; flex-direction: column; align-items: center; }
.stat__value { font-family: var(--font-display); font-size: 2.2rem; font-weight: 800; font-variant-numeric: tabular-nums; color: var(--gold); line-height: 1.1; }
.stat__value.green { color: var(--green); }
.stat__value.blue { color: var(--blue-l); }
.stat__unit, .stat__note { font-size: 0.85rem; color: var(--text-2); margin-top: 4px; }

.allocation { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; align-items: center; }
.allocation > * { min-width: 0; }
.allocation__chart { display: flex; justify-content: center; }
.donut { width: min(320px, 82vw); height: auto; overflow: visible; }
.donut__seg { transition: opacity 0.25s, stroke-width 0.25s; }
.donut--focus .donut__seg { opacity: 0.25; }
.donut--focus .donut__seg.is-active { opacity: 1; stroke-width: 36; }
.donut__center-label { fill: var(--muted); font-size: 11px; font-family: var(--font); text-transform: uppercase; letter-spacing: 0.08em; }
.donut__center-value { fill: var(--text); font-size: 24px; font-weight: 800; font-family: var(--font-display); }

.table-wrap { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--r); background: rgba(255, 255, 255, 0.02); }
.data-table { width: 100%; min-width: 560px; font-size: 0.88rem; }
.data-table th, .data-table td { padding: 11px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
.data-table thead th { font-size: 0.74rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; white-space: nowrap; }
.data-table tbody th { font-weight: 600; white-space: nowrap; }
.data-table td { color: var(--text-2); }
.data-table .num { text-align: right; font-family: var(--mono); white-space: nowrap; color: var(--text); }
.data-table tfoot th, .data-table tfoot td { font-weight: 700; border-bottom: 0; color: var(--text); }
.data-table tbody tr { transition: background-color 0.2s; }
.data-table tbody tr.is-active, .data-table tbody tr:hover { background: color-mix(in srgb, var(--gold) 7%, transparent); }
.data-table tbody tr.is-current { background: color-mix(in srgb, var(--green) 7%, transparent); box-shadow: inset 3px 0 0 var(--green); }
.round-now { margin-left: 10px; vertical-align: 1px; }
.swatch { display: inline-block; width: 10px; height: 10px; border-radius: 3px; background: var(--c, var(--gold)); margin-right: 10px; vertical-align: 1px; }

/* Tables become labelled rows on narrow screens (no sideways scrolling needed) */
@media (max-width: 599px) {
  .table-wrap { overflow-x: visible; }
  .data-table--stack { min-width: 0; display: block; }
  .data-table--stack tbody, .data-table--stack tfoot { display: block; width: 100%; }
  .data-table--stack th, .data-table--stack td { min-width: 0; overflow-wrap: anywhere; }
  .data-table--stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .data-table--stack tr { display: block; padding: 12px 14px; border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
  .data-table--stack th, .data-table--stack td { display: flex; justify-content: space-between; gap: 16px; padding: 3px 0; border: 0; white-space: normal; }
  .data-table--stack tbody th, .data-table--stack tfoot th { justify-content: flex-start; align-items: center; gap: 0; padding-bottom: 6px; }
  .data-table--stack td::before { content: attr(data-label); color: var(--muted); font-family: var(--font); font-size: 0.78rem; text-align: left; flex-shrink: 0; max-width: 45%; }
  .data-table--stack td:not(.num) { text-align: right; }
  .data-table--stack td.empty { display: none; }
}

/* Roadmap */
/* Reached periods (--done) are gold, upcoming ones (--next) grey. Each item draws the line segment to the
   next item; it is gold only between two reached periods (--lead). Vertical on phones, one row from 900px. */
.roadmap { --rm-line: rgba(122, 147, 168, 0.32); --rm-next: #7A93A8; position: relative; display: grid; gap: 0; padding-left: 28px; }
.roadmap__item { position: relative; padding: 0 0 26px; }
.roadmap__item:not(:last-child)::before { content: ''; position: absolute; left: -19px; top: 13px; bottom: -13px; width: 2px; background: var(--rm-line); }
.roadmap__item--lead:not(:last-child)::before { background: color-mix(in srgb, var(--gold) 70%, transparent); }
.roadmap__dot { position: absolute; z-index: 1; left: -26px; top: 5px; width: 16px; height: 16px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px color-mix(in srgb, var(--gold) 16%, transparent); }
.roadmap__item--next .roadmap__dot { background: var(--rm-next); box-shadow: none; }
.roadmap__when { font-family: var(--mono); font-size: 0.85rem; font-weight: 500; letter-spacing: 0.08em; color: var(--gold); margin-bottom: 6px; }
.roadmap__item--next .roadmap__when { color: var(--rm-next); }
.roadmap__list { display: grid; gap: 6px; }
.roadmap__text { color: var(--text-2); font-size: 0.92rem; line-height: 1.45; }
.roadmap__item--next .roadmap__text { color: var(--muted); }

/* Team */
.team__card { border-radius: var(--r); overflow: hidden; text-align: center; border: 1px solid var(--line); background: linear-gradient(145deg, var(--card), var(--card-2)); transition: transform var(--tr), border-color var(--tr); }
.team__card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--gold) 60%, transparent); }
.team__photo { width: 100%; aspect-ratio: 480 / 470; object-fit: cover; object-position: top; filter: grayscale(15%); transition: filter var(--tr); }
.team__card:hover .team__photo { filter: none; }
.team__info { padding: 18px; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.team__info h3 { font-size: 1.08rem; font-weight: 700; }
.team { grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (max-width: 599px) { .team__info { padding: 12px 8px; } .team__info h3 { font-size: 0.95rem; } .team__role { font-size: 0.8rem; } }
.team__role { color: var(--gold); font-size: 0.9rem; font-weight: 500; }
.team__link { display: inline-grid; place-items: center; width: 40px; height: 40px; margin-top: 6px; border-radius: 50%; color: var(--text-2); border: 1px solid var(--line-2); transition: color var(--tr), border-color var(--tr); }
.team__link:hover { color: var(--gold); border-color: var(--gold); }
.team__bio { margin-top: 6px; color: var(--muted); font-size: 0.86rem; line-height: 1.55; }
@media (max-width: 599px) { .team__bio { font-size: 0.78rem; } }
.team__group-title { margin: var(--sp-7) 0 var(--sp-5); text-align: center; font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }

/* Press grid */
/* Flex instead of grid so an incomplete last row stays centred whatever the number of outlets. */
.press-grid { --cols: 2; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 28px; }
.press-grid > li { flex: 0 0 calc((100% - (var(--cols) - 1) * 14px) / var(--cols)); min-width: 0; }
.press-grid .press-card { height: 100%; }
.press-card { display: flex; align-items: center; justify-content: center; min-height: 84px; padding: 20px; border-radius: var(--r-sm); border: 1px solid var(--line); background: rgba(255, 255, 255, 0.04); transition: border-color var(--tr), transform var(--tr), background-color var(--tr); }
a.press-card:hover { border-color: var(--gold); background: color-mix(in srgb, var(--gold) 6%, transparent); transform: translateY(-4px); }
.press-card img { max-height: calc(30px * var(--logo-scale, 1)); max-width: 100%; width: auto; filter: brightness(0) invert(0.78); transition: filter var(--tr); }
a.press-card:hover img { filter: brightness(0) invert(1); }

/* FAQ */
.faq { margin-top: var(--sp-6); display: grid; gap: var(--sp-7); }
.faq__group-title { font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: var(--sp-3); }
.faq__list { display: grid; gap: 10px; }
.faq__item { border: 1px solid var(--line); border-radius: var(--r-sm); background: rgba(255, 255, 255, 0.02); transition: border-color var(--tr), background-color var(--tr); }
.faq__item:hover { border-color: var(--line-2); }
.faq__item[open] { border-color: color-mix(in srgb, var(--gold) 40%, transparent); background: color-mix(in srgb, var(--gold) 4%, transparent); }
.faq__item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 20px; font-weight: 600; font-size: var(--fs-base); border-radius: var(--r-sm); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--gold); }
.faq__chev { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: rgba(255, 255, 255, 0.05); color: var(--gold); transition: transform 0.3s var(--ease), background-color var(--tr); flex-shrink: 0; }
.faq__item[open] .faq__chev { transform: rotate(180deg); background: color-mix(in srgb, var(--gold) 14%, transparent); }
.faq__answer { padding: 0 20px 20px; color: var(--text-2); font-size: var(--fs-sm); line-height: 1.75; max-width: 70ch; }
.faq__item[open] .faq__answer { animation: fade 0.35s var(--ease); }

/* CTA */
.cta { position: relative; overflow: hidden; }
.cta::before { content: ''; position: absolute; top: 50%; left: 50%; width: 600px; height: 600px; transform: translate(-50%, -50%); background: radial-gradient(circle, color-mix(in srgb, var(--gold) 9%, transparent), transparent 70%); pointer-events: none; }
.cta .section__lead { margin-inline: auto; }
.cta__buttons { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }

/* ═══════════ FOOTER ═══════════ */
.site-footer { padding: 48px 0 40px; border-top: 1px solid var(--line); font-size: 0.9rem; }
body.has-sticky .site-footer { padding-bottom: 120px; }
.site-footer__grid { display: grid; gap: 32px; margin-bottom: 32px; }
.site-footer__brand img { height: 30px; width: auto; margin-bottom: 12px; }
.site-footer__brand p { color: var(--text-2); max-width: 420px; }
.site-footer__cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.site-footer__h { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); margin-bottom: 10px; font-weight: 700; }
.site-footer__cols li { margin-bottom: 6px; }
.site-footer__cols a { color: var(--text-2); display: inline-block; padding: 4px 0; }
.site-footer__cols a:hover { color: var(--gold); }
.site-footer__notice, .site-footer__disclaimer { font-size: 0.8rem; color: var(--muted); line-height: 1.6; border-top: 1px solid var(--line); padding-top: 18px; margin-top: 18px; }
.site-footer__copy { font-size: 0.8rem; color: var(--muted); margin-top: 16px; }

.noscript { padding: 24px var(--gutter); text-align: center; color: var(--text-2); }
.noscript a { color: var(--gold); text-decoration: underline; }

/* ═══════════ BREAKPOINTS ═══════════ */
@media (min-width: 600px) {
  :root { --gutter: 24px; }
  .site-header__actions > .btn { padding-inline: 18px; }
  .lang { display: block; }
  .socials { display: flex; }
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .widget { padding: 28px; }
  .stats { grid-template-columns: repeat(3, 1fr); }
  .press-grid { --cols: 3; }
  .compare { grid-template-columns: 1fr auto 1fr; padding: 36px; }
  .eco { grid-template-columns: repeat(3, 1fr); }
  .site-footer__cols { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 1140px) {
  .main-nav { display: block; }
  .menu-toggle { display: none; }
}
/* Narrow desktops: longer nav labels (ru, fr, es) still fit next to the logo and actions. */
@media (min-width: 1140px) and (max-width: 1319px) {
  .main-nav ul { gap: 16px; }
  .main-nav a { font-size: 0.85rem; }
}

@media (min-width: 900px) {
  :root { --header-h: 72px; }
  .hero { padding: 56px 0 64px; min-height: calc(100vh - var(--header-h)); display: flex; align-items: center; }
  .hero__inner { grid-template-columns: minmax(0, 1fr) 460px; gap: 56px; align-items: start; width: 100%; }
  /* No top offset: the title starts on the same line as the sale widget. */
  .hero__copy { position: sticky; top: calc(var(--header-h) + 24px); }
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
  .platform { grid-template-columns: 0.9fr 1.1fr; gap: 60px; }
  .shots__frame { width: 340px; }
  .allocation { grid-template-columns: minmax(280px, 0.8fr) 1.2fr; }
  .press-grid { --cols: 5; }
  .site-footer__grid { grid-template-columns: 1fr 2fr; }
  .roadmap { grid-auto-flow: column; grid-auto-columns: 1fr; padding-left: 0; padding-top: 34px; gap: 12px; }
  .roadmap__item { padding: 0; text-align: center; }
  .roadmap__item:not(:last-child)::before { left: 50%; top: -27px; bottom: auto; width: calc(100% + 12px); height: 2px; }
  .roadmap__dot { left: 50%; top: -34px; transform: translateX(-50%); }
  .roadmap__text { font-size: 0.86rem; }
}

@media (min-width: 1200px) {
  .team { grid-template-columns: repeat(3, 1fr); }
}
/* Two advisors on the three-column team grid: same card width as the core team, centred. */
@media (min-width: 900px) {
  .team.team--advisors { grid-template-columns: repeat(2, calc((100% - 24px) / 3)); justify-content: center; }
}

/* ═══════════ 404 (404.html, static, no JS) ═══════════ */
.not-found { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px; padding: 48px var(--gutter); text-align: center; }
.not-found__logo { height: 34px; width: auto; }
.not-found__code { font-family: var(--font-display); font-size: clamp(3.5rem, 14vw, 6rem); font-weight: 800; line-height: 1; color: var(--gold); }
.not-found__title { font-size: 1.4rem; font-weight: 700; }
.not-found__alt { color: var(--muted); font-size: 0.9rem; line-height: 1.7; max-width: 520px; }

/* ═══════════ REDUCED MOTION ═══════════ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .press-strip__track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; row-gap: 4px; }
  .press-strip__track li[aria-hidden='true'] { display: none; }
  .js-reveal .reveal { opacity: 1; transform: none; }
}

/* ═══════════ PRINT ═══════════ */
@media print {
  .hero__bg, .sticky-bar, .menu-toggle, .press-strip { display: none !important; }
  .js-reveal .reveal { opacity: 1 !important; transform: none !important; }
}
