/* ══════════════════════════════════════════════════════════════════
   LANDING v5 — "AI Robot", light mint (layouts/landing: home and the policy pages)

   Built from the approved mockup (mockup/landing-alpai-v5, gitignored) after the
   owner's reference template: a robot in front of a trading desk framed by a
   ribbon swoosh, thin-outlined plan capsules, a wavy About band, a dark footer.
   Spec: core/docs/superpowers/specs/2026-10-29-landing-robot-v5-design.md.

   Righteous for display, Lora (serif) for labels, figures and buttons, Ubuntu
   for running text. Colour literals live only in :root. The sign-in pages
   (layouts/auth) load this file too, for its tokens, buttons, logo and
   language list, with css/auth.css on top.
   ══════════════════════════════════════════════════════════════════ */
:root {
  --bg: #F6FBFA;
  --bg-2: #EBF5F3;
  --white: #FFFFFF;
  --ink: #111417;
  --text: #2B3236;
  --muted: #737F83;
  --line: #D6E5E2;
  --line-2: #2E7D86;
  --teal: #2E8A95;
  --teal-2: #3DB7AA;
  --teal-soft: #A9DCD8;
  --green: #4A934E;
  --mint: #8CDE92;
  --mint-2: #7ED68A;
  --mint-soft: #C9EDC4;
  --lime: #DEF9B4;
  --lime-2: #C3EE8C;
  --cyan: #7AF3E3;
  --amber: #F5B451;
  --orange: #F08A3C;
  --red: #E25D4F;
  --slate: #2A2B36;
  --slate-2: #3A3442;
  --night: #161C1F;
  --night-2: #0C1012;
  --night-muted: #A3AEB0;
  --gray-soc: #8B969A;
  --shadow: rgba(46, 138, 149, .25);
  --shadow-2: rgba(17, 20, 23, .22);
  --veil: rgba(255, 255, 255, .72);
  --text-glow: rgba(0, 0, 0, .7);
  --desk-veil: rgba(10, 16, 22, .28);
  --grad: linear-gradient(90deg, var(--teal), var(--teal-2) 45%, var(--mint-2));
  /* Righteous has no Cyrillic: Russo One (fetched only for those letters, by unicode-range) draws Russian titles */
  --font-d: Righteous, 'Russo One', "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --font-s: Lora, Georgia, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", serif;
  --font: Ubuntu, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
  --wave: 90px;
  --shift: 0px;
  --scrim: rgba(12, 16, 18, .45);

  /* the names telegram.css and toast.css read */
  --brand: var(--teal);
  --on-brand: var(--white);
  --brand-wash: color-mix(in srgb, var(--teal) 12%, transparent);
  --glow: color-mix(in srgb, var(--teal-2) 40%, transparent);
  --down: var(--red);
  --t3: var(--muted);
  --surface: var(--white);
  --hairline: var(--line);
  --sans: var(--font);
  --sh-2: 0 20px 44px -14px rgba(17, 20, 23, .28);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.8 var(--font); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; color: var(--ink); font-weight: 400; line-height: 1.15; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--mint-2); outline-offset: 3px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ic { flex: none; width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* buttons: serif labels, gradient or mint outline pills */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 26px; border: 0; border-radius: 999px;
  font: 700 16px/1 var(--font-s); white-space: nowrap; cursor: pointer; transition: transform .2s, box-shadow .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-grad { background: var(--grad); color: var(--white); box-shadow: 0 10px 22px -12px var(--shadow); }
.btn-line { border: 2px solid var(--mint-2); background: var(--white); color: var(--ink); }
.btn-white { background: var(--white); color: var(--teal); }
.btn-ghost { border: 2px solid var(--veil); color: var(--white); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 15px; }

/* logo */
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--ink); font: 400 24px var(--font-d); letter-spacing: .04em; }
.mark { width: 38px; height: 38px; color: var(--ink); }

/* titles: display caps, accent word in green, the kicker right-aligned under the title */
.ttl { display: inline-grid; margin: 0; }
.ttl h2 { font: 400 clamp(28px, 3vw, 38px)/1.1 var(--font-d); letter-spacing: .02em; text-transform: uppercase; }
.g { color: var(--green); }
.kick { justify-self: end; margin-top: 2px; color: var(--ink); font: 500 15px/1.4 var(--font); }
.head { max-width: 700px; margin: 0 auto 52px; text-align: center; }
.head .ttl + p { margin-top: 18px; color: var(--muted); }

/* header: a plain bar (phones, and pages without a hero); on a desktop with a
   hero it floats over the hero's dark desk, with the logo in the hero below */
.hd, .hero { --shift: clamp(30px, calc((1440px - 100vw) * 1.1 + 30px), 220px); }
.hd { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--white) 92%, transparent); border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.hd-in { display: flex; align-items: center; gap: 10px; max-width: 1200px; height: 68px; margin: 0 auto; padding: 0 24px; }
.hd-r { display: flex; align-items: center; gap: 18px; margin-left: auto; }
.hd-soc { display: flex; gap: 10px; margin: 0; padding: 0; list-style: none; }
.hd-soc a, .ft-soc a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--gray-soc); color: var(--white); }
.hd-soc a.on, .ft-soc a.on { background: var(--grad); }
.hd-soc svg, .ft-soc svg { width: 18px; height: 18px; fill: currentColor; }
.hd-contact, .hd-login { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--ink); font: 500 16px var(--font-s); }
.hd-contact .ic { width: 22px; height: 22px; }
.hd-login { justify-content: center; min-width: 44px; font-size: 17px; }
.hd-sign { min-width: 140px; }
.burger { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: var(--white); color: var(--ink); cursor: pointer; }
.burger .ic { width: 22px; height: 22px; }
@media (min-width: 961px) {
  .has-hero .hd { position: absolute; right: 0; left: 0; background: none; border: 0; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .has-hero .hd-in { display: block; position: relative; max-width: none; height: 92px; padding: 0; }
  .has-hero .hd .brand, .has-hero .hd .burger { display: none; }
  .has-hero .hd-r { position: absolute; top: 22px; right: max(24px, calc(150px - var(--shift))); gap: 30px; margin: 0; }
  .has-hero .hd-soc { margin-right: 40px; }
  .has-hero .hd-contact, .has-hero .hd-login, .has-hero .lang-btn { color: var(--white); text-shadow: 0 1px 8px var(--text-glow); }
}

/* the language switcher: a flag that opens the list */
.lang-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 44px; min-height: 44px; padding: 0 4px; border: 0; background: none; color: var(--ink); font: 700 14px var(--font); cursor: pointer; }
.lang-menu { position: fixed; inset: 76px 16px auto auto; margin: 0; width: min(280px, calc(100vw - 32px)); max-height: calc(100vh - 96px); padding: 8px; overflow: auto;
  border: 1px solid var(--line); border-radius: 18px; background: var(--white); color: var(--ink); box-shadow: var(--sh-2); }
.menu-link { display: flex; align-items: center; gap: 12px; height: 44px; padding: 0 12px; border-radius: 12px; color: var(--text); font: 600 15px var(--font-s); }
.menu-link:hover { background: var(--bg); }
.lang-link[aria-current] { color: var(--teal); background: var(--brand-wash); }
.flag { width: 20px; height: 20px; border-radius: 50%; object-fit: cover; flex: none; }

.sheet { width: min(360px, 88vw); height: 100dvh; max-height: none; margin: 0 0 0 auto; padding: 20px; border: 0; background: var(--white); color: var(--ink); box-shadow: -20px 0 60px -20px var(--shadow-2); }
.sheet::backdrop { background: color-mix(in srgb, var(--night) 45%, transparent); backdrop-filter: blur(4px); }
.sheet[open] { display: flex; flex-direction: column; gap: 16px; animation: slide-in .3s ease; }
@keyframes slide-in { from { opacity: 0; transform: translateX(40px); } }
.sheet-hd { display: flex; align-items: center; justify-content: space-between; }
.sheet .burger { display: grid; }
.sheet ul { display: grid; gap: 4px; margin: 8px 0; padding: 0; list-style: none; }
.sheet ul a { display: block; padding: 12px 16px; border-radius: 14px; font: 600 18px var(--font-s); }
.sheet ul a:hover { background: var(--bg); }
.sheet-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: auto; }
.sheet-langs { display: grid; gap: 2px; padding-top: 12px; border-top: 1px solid var(--line); }

/* hero: text left; the swoosh and the robot hang from the right edge, so the desk stays behind the header */
.hero { position: relative; min-height: 720px; padding: 118px 0 110px; overflow: hidden; background: var(--white);
  -webkit-mask: url(../images/landing/wave-bottom.svg) bottom / 100% 60px no-repeat, linear-gradient(#000 0 0) top / 100% calc(100% - 57px) no-repeat;
  mask: url(../images/landing/wave-bottom.svg) bottom / 100% 60px no-repeat, linear-gradient(#000 0 0) top / 100% calc(100% - 57px) no-repeat; }
.hero-in { max-width: 1200px; }
.hero-in > :not(.hero-art, .bubble) { position: relative; z-index: 2; }
.hero-logo { gap: 14px; font-size: 44px; letter-spacing: .05em; }
.hero-logo .mark { width: 56px; height: 56px; }
.sub { margin-top: 54px; color: var(--ink); font: 500 28px var(--font-s); }
.hero h1 { margin-top: 12px; font: 400 clamp(40px, 4vw, 58px)/1.22 var(--font-d); letter-spacing: .02em; text-transform: uppercase; }
.hero h1 { max-width: 8.4em; }
.hero h1 span { display: block; }
.hero h1 .t { color: var(--teal); }
.lede { max-width: 400px; margin-top: 22px; color: var(--text); font-size: 16px; }
.ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.hero .ctas { margin-top: 30px; }
.hero-art { position: absolute; top: 0; bottom: 0; right: calc(-1 * var(--shift)); z-index: 1; width: 1300px; }
.swoosh { position: absolute; top: 0; left: 0; width: 1300px; height: 700px; }
.swoosh > img { width: 100%; height: 100%; max-width: none; }
/* the trading-desk photo fills the swoosh's dark disc (centre 780,150, r 390 in the 1300×700 art) */
.desk { position: absolute; top: -34.2857%; left: 30%; width: 60%; aspect-ratio: 1; overflow: hidden; border-radius: 50%; box-shadow: inset 0 0 0 3px var(--line-2); }
.desk img { position: absolute; top: 22%; left: -22%; width: 150%; max-width: none; }
.desk::after { content: ''; position: absolute; inset: 0; border-radius: inherit; background: var(--desk-veil); box-shadow: inherit; }
.robot { position: absolute; bottom: 0; left: 60%; width: auto; height: 690px; max-width: none; transform: translateX(-50%); filter: drop-shadow(0 30px 40px var(--shadow-2)); }
.hero-art::after { content: ''; position: absolute; right: 0; bottom: 0; left: 0; height: 230px; background: linear-gradient(transparent, var(--white) 80%); }
.bubble { position: absolute; z-index: 3; pointer-events: none; animation: float 7s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-14px); } }
.b1 { top: 46px; left: calc(50% - 470px); width: 58px; }
.b2 { top: 352px; left: max(300px, calc(50% - 330px)); width: 92px; animation-delay: -2s; }
.b3 { top: 492px; right: 24px; width: 40px; animation-delay: -4s; }

/* we accept */
.coins { padding: 8px 0 0; }
.coins-in { display: flex; align-items: center; gap: 20px; }
.coins-lbl { flex: none; color: var(--teal); font: 400 15px var(--font-d); letter-spacing: .06em; text-transform: uppercase; }
.marquee { flex: 1; min-width: 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.track { display: flex; gap: 12px; width: max-content; margin: 0; padding: 6px 0; list-style: none; animation: marquee 30s linear infinite; }
.track li { display: flex; align-items: center; gap: 10px; padding: 6px 18px 6px 6px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); white-space: nowrap; }
.track img { width: 30px; height: 30px; }
.track b { color: var(--ink); font: 700 15px var(--font-s); }
.track small { color: var(--muted); font-size: 13px; }
.ci { display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--c, var(--teal)); color: var(--white); font: 700 14px/1 var(--font); font-style: normal; }
@keyframes marquee { to { transform: translateX(calc(-50% - 6px)); } }

.sec { position: relative; padding: 90px 0; }

/* features */
.feats-sec { overflow: hidden; }
.feats-sec::before { content: ''; position: absolute; top: -520px; left: -300px; width: 1000px; height: 1000px; border-radius: 50%; background: var(--bg-2); opacity: .6; }
.feats-sec .wrap { position: relative; }
.feats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px; }
.feat { text-align: center; }
.blob { display: grid; place-items: center; width: 96px; height: 96px; margin: 0 auto 20px; background: url(../images/landing/blob-a.svg) center / contain no-repeat; color: var(--ink); }
.blob.b { background-image: url(../images/landing/blob-b.svg); }
.blob .ic { width: 46px; height: 46px; stroke-width: 1.4; }
.feat h3, .steps h3 { color: var(--ink); font: 500 18px/1.4 var(--font); }
.feat p, .steps p { margin-top: 12px; color: var(--muted); font-size: 15px; }

/* plans: thin-outlined capsules, the name written up the side, no buttons; calculator alongside */
.plans-sec { padding-top: 120px; }
.plans-grid { display: grid; grid-template-columns: minmax(0, 1fr) 330px; align-items: center; gap: 60px; }
.plans { display: grid; grid-template-columns: repeat(3, 235px); gap: 18px; align-items: start; }
.pc { --c: var(--teal); --tag: var(--teal-soft); position: relative; min-height: 420px; padding: 42px 50px 40px 26px; border: 1px solid var(--line-2); border-radius: 999px; }
.pc:nth-child(3n):not(.is-featured) { --c: var(--teal-2); }
.pc.is-featured { --c: var(--mint-2); --tag: var(--mint-soft); margin-top: -60px; }
.pc-tag { display: table; margin: 0 auto; padding: 2px 14px; border-radius: 999px; background: var(--tag); color: var(--ink); font: 500 13px var(--font-s); text-transform: uppercase; letter-spacing: .04em; }
.pc-rate { margin: 14px 0 0; color: var(--c); font: 500 40px/1 var(--font); text-align: center; transform: translateX(12px); }
.pc-rate b { font-weight: 500; }
.pc-rate small { margin-left: 2px; font-size: 18px; }
.pc-list { display: grid; gap: 14px; margin: 26px 0 0; padding: 0; list-style: none; }
.pc-list li { display: flex; align-items: flex-start; gap: 10px; }
.pc-list .ic { width: 22px; height: 22px; margin-top: 2px; color: var(--teal-2); }
.pc-list b { display: block; color: var(--ink); font: 700 16px/1.3 var(--font-s); white-space: nowrap; }
.pc-list small { display: block; color: var(--muted); font: 400 13.5px/1.4 var(--font-s); }
.pc-name { position: absolute; right: 12px; bottom: 24%; color: transparent; -webkit-text-stroke: 1.6px var(--c); font: 400 clamp(20px, calc(240px / var(--nl, 6)), 36px)/1 var(--font-d); letter-spacing: .04em; text-transform: uppercase;
  writing-mode: vertical-rl; transform: rotate(180deg); pointer-events: none; }
.pc.is-featured .pc-name { bottom: 30%; }
.pc-link { position: absolute; inset: 0; border-radius: inherit; }
.pc:hover { border-color: var(--c); box-shadow: 0 24px 50px -36px var(--shadow); }
/* no plan the calculator can work out: the plans' own title goes over the cards */
.no-calc .plans-grid { grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 0; }

.calc { display: grid; gap: 14px; }
.calc .ttl { justify-self: start; }
.calc .ttl h2 { font-size: 30px; }
.cur { margin-right: 4px; color: var(--ink); font: 700 15px var(--font-s); }
.c-sub { margin: 4px 0 6px; color: var(--teal-2); font: 500 18px var(--font); letter-spacing: .02em; }
.pill { position: relative; display: flex; align-items: center; min-height: 50px; padding: 0 22px; border-radius: 999px; box-shadow: inset 0 -3px 0 color-mix(in srgb, var(--green) 18%, transparent); }
/* the plans: a mint capsule of choices, the picked one white */
.pill.seg { flex-wrap: wrap; gap: 4px; min-width: 0; margin: 0; padding: 5px; border: 0; background: linear-gradient(90deg, var(--mint-2), var(--mint)); }
.pill.seg:focus-within { outline: 0; }
.seg label { position: relative; display: grid; flex: 1 1 0; place-items: center; min-width: 88px; min-height: 48px; padding: 4px 10px; border-radius: 999px; color: var(--ink); font: 500 12.5px/1.25 var(--font-s); text-align: center; cursor: pointer; transition: background .2s, box-shadow .2s; }
.seg label b { font: 700 15px/1.2 var(--font-s); }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label:hover { background: color-mix(in srgb, var(--white) 35%, transparent); }
.seg label:has(input:checked) { background: var(--white); box-shadow: 0 6px 14px -8px var(--shadow); }
.seg label:has(input:focus-visible) { outline: 2px solid var(--teal); outline-offset: 2px; }
.pill.amt { background: linear-gradient(90deg, var(--lime), var(--lime-2)); }
.pill:focus-within { outline: 3px solid var(--teal); outline-offset: 2px; }
.pill input { flex: 1; min-width: 0; height: 50px; border: 0; outline: 0; background: none; color: var(--ink); font: 500 15px var(--font-s); -webkit-appearance: none; appearance: none; }
.pill input { -moz-appearance: textfield; }
.pill.amt input, .pill.amt .cur { font-size: 18px; font-weight: 600; }
.pill input::-webkit-inner-spin-button, .pill input::-webkit-outer-spin-button { margin: 0; -webkit-appearance: none; }
.hint { color: var(--teal); font: 600 13px var(--font-s); }
.hint:empty { display: none; }
.c-out { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 8px 0 0; }
.c-out > div { display: flex; align-items: center; gap: 12px; }
.c-out .ic { width: 30px; height: 30px; color: var(--ink); }
.c-out dt { color: var(--text); font: 500 14px var(--font-s); }
.c-out dd { margin: 0; color: var(--ink); font: 700 21px/1.2 var(--font-s); }
.c-note { color: var(--muted); font-size: 13px; line-height: 1.5; text-wrap: pretty; }
.c-note b { color: var(--ink); font-family: var(--font-s); }
.c-btn { justify-self: start; min-width: 160px; }

/* about / security band: bright chart scene left, dark panel with an S-curved edge right */
.band { position: relative; display: grid; grid-template-columns: 58% 42%; min-height: 620px; overflow: hidden; color: var(--white);
  -webkit-mask: url(../images/landing/wave-top.svg) top / 100% var(--wave) no-repeat, linear-gradient(#000 0 0) 0 calc(var(--wave) - 3px) / 100% calc(100% - 2 * var(--wave) + 6px) no-repeat, url(../images/landing/wave-bottom.svg) bottom / 100% var(--wave) no-repeat;
  mask: url(../images/landing/wave-top.svg) top / 100% var(--wave) no-repeat, linear-gradient(#000 0 0) 0 calc(var(--wave) - 3px) / 100% calc(100% - 2 * var(--wave) + 6px) no-repeat, url(../images/landing/wave-bottom.svg) bottom / 100% var(--wave) no-repeat; }
.band-scene { position: absolute; inset: 0; background: url(../images/landing/about-scene.webp) 20% center / cover, var(--slate); }
.band-art { position: relative; min-height: 100%; }
.band-bot { position: absolute; z-index: 2; left: 5%; bottom: calc(var(--wave) - 6px); width: 210px; filter: drop-shadow(0 24px 30px var(--shadow-2)); }
.hang { position: absolute; top: 18px; left: calc(54% - 150px); width: 300px; transform-origin: 50% 0; animation: swing 6s ease-in-out infinite; }
@keyframes swing { 0%, 100% { transform: rotate(-1.2deg); } 50% { transform: rotate(1.2deg); } }
.rope { display: block; width: 220px; height: 150px; margin: 0 auto -6px; }
.rope path { fill: none; stroke: var(--white); stroke-width: 2.5; }
.rope circle { fill: var(--white); }
.trust { display: grid; justify-items: center; gap: 2px; padding: 24px 22px 18px; border-radius: 10px; background: var(--white); color: var(--ink); text-align: center;
  outline: 2px solid var(--white); outline-offset: 8px; box-shadow: 0 30px 60px -20px var(--shadow-2); }
.trust h3 { font: 500 18px var(--font); }
.t-cap { margin-top: 4px; color: var(--teal-2); font: 500 20px var(--font-s); }
.t-date { color: var(--teal-2); font: 500 34px/1.3 var(--font); }
.trust p { color: var(--muted); font: 400 13px/2 var(--font-s); }
.trust p b { color: var(--ink); }
.t-link { display: inline-flex; align-items: center; min-height: 40px; color: var(--teal-2); font: 500 16px var(--font-s); text-transform: uppercase; text-decoration: underline; text-underline-offset: 5px; }
.band-copy { position: relative; display: flex; align-items: center; padding: calc(var(--wave) + 40px) 60px calc(var(--wave) + 40px) 150px;
  background: repeating-linear-gradient(90deg, color-mix(in srgb, var(--white) 3%, transparent) 0 2px, transparent 2px 30px), radial-gradient(60% 50% at 80% 20%, color-mix(in srgb, var(--teal) 25%, transparent), transparent), var(--slate);
  -webkit-mask: url(../images/landing/wave-side.svg) left / 160px 100% no-repeat, linear-gradient(#000 0 0) right / calc(100% - 159px) 100% no-repeat;
  mask: url(../images/landing/wave-side.svg) left / 160px 100% no-repeat, linear-gradient(#000 0 0) right / calc(100% - 159px) 100% no-repeat; }
.band-emblem { position: absolute; top: calc(var(--wave) - 30px); right: 44px; width: 104px; opacity: .92; }
.band-txt { max-width: 440px; padding-top: 60px; }
.band .ttl h2 { color: var(--white); }
.band .kick { color: var(--white); }
.band-txt > p { margin-top: 16px; color: var(--white); text-align: justify; }
.band-txt .btn { margin-top: 30px; }

/* statistics + referral share the faded robot */
.ghost { position: relative; overflow: hidden; }
.ghost::before { content: ''; position: absolute; top: 10px; left: 50%; width: 760px; height: 912px; transform: translateX(-50%); background: url(../images/landing/hero-robot.webp) top center / contain no-repeat;
  opacity: .14; filter: grayscale(.7); pointer-events: none; -webkit-mask-image: linear-gradient(#000 55%, transparent 92%); mask-image: linear-gradient(#000 55%, transparent 92%); }
.ghost::after { content: ''; position: absolute; top: 520px; right: 0; bottom: 0; left: 0; background: linear-gradient(var(--veil) 45%, transparent); pointer-events: none;
  -webkit-mask: url(../images/landing/wave-top.svg) top / 100% 140px no-repeat, linear-gradient(#000 0 0) 0 139px / 100% calc(100% - 139px) no-repeat;
  mask: url(../images/landing/wave-top.svg) top / 100% 140px no-repeat, linear-gradient(#000 0 0) 0 139px / 100% calc(100% - 139px) no-repeat; }
.ghost > * { position: relative; z-index: 1; }
.stats-sec { padding-bottom: 30px; }
.stats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; }
.stats li { position: relative; display: grid; justify-items: center; gap: 2px; padding: 0 10px; text-align: center; }
.stats .ic { width: 70px; height: 70px; margin-bottom: 10px; color: var(--ink); stroke-width: 1.1; }
.stats b { color: var(--ink); font: 400 24px/1.3 var(--font-d); letter-spacing: .02em; }
.stats span { color: var(--muted); font: 400 19px var(--font-s); }
.stats li + li::before { content: ''; position: absolute; top: 34px; bottom: -14px; left: 0; width: 1.5px; background: color-mix(in srgb, var(--muted) 45%, transparent); }
.stats li + li::after { content: ''; position: absolute; top: 96px; left: -7px; width: 15px; height: 15px; border-radius: 50%; background: var(--slate-2);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--teal-2) 45%, transparent); }

.ref-sec { padding-top: 50px; }
.b4 { top: 0; right: 4%; width: 96px; }
.ref { display: grid; grid-template-columns: 200px minmax(0, 1fr) 200px; align-items: center; gap: 40px; }
.ref-side { display: flex; align-items: center; gap: 26px; }
.vtxt { color: var(--teal-soft); font: 500 22px/1 var(--font-s); letter-spacing: 6px; writing-mode: vertical-lr; text-orientation: upright; white-space: nowrap; }
.levels { display: grid; gap: 30px; margin: 0; padding: 0; list-style: none; }
.levels li { display: grid; grid-template-columns: 20px auto; grid-template-rows: auto auto; align-items: center; column-gap: 18px; }
.prism { grid-row: 1 / 3; align-self: center; width: 16px; height: var(--h, 80px); background: linear-gradient(90deg, var(--teal-2) 0 45%, var(--teal) 45%);
  clip-path: polygon(50% 0, 100% 7px, 100% calc(100% - 7px), 50% 100%, 0 calc(100% - 7px), 0 7px); }
.levels b { color: var(--teal); font: 500 40px/1 var(--font); }
.levels small { color: var(--muted); font: 400 18px var(--font-s); }
.levels .r2 { grid-column: 2; color: var(--muted); font: 400 13px var(--font-s); }
.ref.no-per { grid-template-columns: 220px minmax(0, 1fr); }
.ref-c { text-align: center; }
.ref-c > p { max-width: 480px; margin: 18px auto 0; color: var(--muted); }
.ref-c .btn { margin-top: 26px; min-width: 160px; }

/* how to start */
.steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px; margin: 0; padding: 0; list-style: none; }
.steps::before { content: ''; position: absolute; top: 48px; right: 12%; left: 12%; border-top: 1.5px dashed var(--line-2); opacity: .5; }
.steps li { position: relative; text-align: center; }
.num { display: block; margin-bottom: 6px; color: var(--teal-2); font: 400 22px var(--font-d); }

/* transactions: outlined like the plan cards */
.tx2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.tx { padding: 26px 28px; border: 1px solid var(--line-2); border-radius: 32px; }
.tx h3 { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; font: 400 22px var(--font-d); letter-spacing: .02em; text-transform: uppercase; }
.tx h3 .ic { width: 28px; height: 28px; color: var(--teal-2); }
.tx ul { margin: 0; padding: 0; overflow: hidden; list-style: none; }
.tx li { display: grid; grid-template-columns: 1fr 1fr 1fr auto; align-items: center; gap: 10px; padding: 12px 2px; border-top: 1px solid var(--line); font-size: 15px; }
.who { color: var(--ink); font: 600 15px var(--font-s); }
.who i { font-style: normal; }
.tx-note { margin-top: 14px; color: var(--muted); font-size: 14px; }
.tx li.none { display: block; color: var(--muted); font-size: 14px; }
.cn .ci { width: 22px; height: 22px; font-size: 11px; }
.cn { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font: 500 15px var(--font-s); }
.cn img { width: 22px; height: 22px; }
.tx li b { color: var(--ink); font: 700 15px var(--font-s); text-align: right; }
.tx li b.up { color: var(--green); }
.tx time { min-width: 60px; color: var(--muted); font-size: 13px; text-align: right; }
.tx li.new { animation: row-in .6s ease both; }
@keyframes row-in { from { opacity: 0; transform: translateY(-12px); background: var(--lime); } }

/* faq */
.faq { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: start; gap: 60px; }
.faq-l { position: sticky; top: 30px; }
.faq-l > p { max-width: 400px; margin-top: 16px; color: var(--muted); }
.faq-bot { width: 170px; margin: 22px 0 14px; }
.help { display: flex; flex-wrap: wrap; gap: 12px; }
.faq-r { display: grid; gap: 12px; }
details { border: 1px solid var(--line); border-radius: 18px; background: var(--white); }
details[open] { border-color: var(--line-2); }
summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; padding: 10px 14px 10px 22px; color: var(--ink); font: 600 17px var(--font-s); list-style: none; cursor: pointer; }
summary::-webkit-details-marker { display: none; }
.pm { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--bg-2); color: var(--teal); transition: transform .25s; }
details[open] .pm { background: var(--grad); color: var(--white); transform: rotate(45deg); }
details p { padding: 0 22px 20px; color: var(--muted); }

/* cta */
.cta-sec { padding: 30px 0 130px; }
.cta { position: relative; display: flex; align-items: center; min-height: 240px; padding: 44px 330px 44px 64px; border-radius: 140px; background: var(--grad); color: var(--white); box-shadow: 0 40px 80px -44px var(--shadow); }
.cta h2 { color: var(--white); font: 400 clamp(28px, 3vw, 38px) var(--font-d); letter-spacing: .02em; text-transform: uppercase; }
.cta-c p { max-width: 460px; margin: 12px 0 24px; }
.cta-bot { position: absolute; right: 80px; bottom: -10px; width: 196px; filter: drop-shadow(0 24px 30px var(--shadow-2)); }

/* footer: near-black chart, pale lime ribbon along the wave, big robots in the corners */
.ft { position: relative; padding: calc(var(--wave) + 70px) 0 24px; overflow: hidden; color: var(--night-muted); text-align: center;
  background: linear-gradient(color-mix(in srgb, var(--night) 65%, transparent), color-mix(in srgb, var(--night-2) 25%, transparent) 45%, color-mix(in srgb, var(--night-2) 82%, transparent) 88%), url(../images/landing/footer-chart.webp) center 70% / cover, var(--night);
  -webkit-mask: url(../images/landing/wave-top.svg) top / 100% var(--wave) no-repeat, linear-gradient(#000 0 0) 0 calc(var(--wave) - 3px) / 100% calc(100% - var(--wave) + 3px) no-repeat;
  mask: url(../images/landing/wave-top.svg) top / 100% var(--wave) no-repeat, linear-gradient(#000 0 0) 0 calc(var(--wave) - 3px) / 100% calc(100% - var(--wave) + 3px) no-repeat; }
.ft-line { position: absolute; top: 0; left: 0; z-index: 1; width: 100%; height: var(--wave); }
.ft-line path { fill: none; stroke: var(--lime); stroke-width: 44; vector-effect: non-scaling-stroke; }
.ft-bot { position: absolute; z-index: 1; width: 210px; }
.ft-bot.l { bottom: -10px; left: -10px; }
.ft-bot.r { top: 30px; right: 20px; width: 220px; }
.ft-in { position: relative; z-index: 2; display: grid; justify-items: center; gap: 18px; }
.ft h2 { color: var(--white); font: 400 clamp(28px, 3vw, 38px) var(--font-d); letter-spacing: .01em; }
.ft-in > p { max-width: 640px; color: var(--night-muted); }
.ft-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 18px; margin-top: 6px; }
.ft-nav a { display: inline-flex; align-items: center; gap: 10px; min-height: 42px; padding: 0 6px; color: var(--white); font: 500 17px var(--font-s); }
.ft-nav a.on { color: var(--teal-2); }
.ft-nav a.on::before { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--white); box-shadow: 0 0 0 4px color-mix(in srgb, var(--white) 25%, transparent); }
.ft-rule { position: relative; display: flex; justify-content: center; width: min(760px, 100%); }
.ft-rule::before { content: ''; position: absolute; top: 50%; right: 0; left: 0; border-top: 1.5px dashed color-mix(in srgb, var(--white) 35%, transparent);
  -webkit-mask-image: linear-gradient(90deg, #000 36%, transparent 36% 64%, #000 64%); mask-image: linear-gradient(90deg, #000 36%, transparent 36% 64%, #000 64%); }
.ft-soc { position: relative; display: flex; gap: 14px; margin: 0; padding: 0 16px; list-style: none; }
.ft-bot-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px 24px; width: 100%; margin-top: 10px; font: 400 14px var(--font-s); }
.ft .brand { justify-self: start; margin-left: 110px; color: var(--white); font-size: 30px; }
.ft .mark { width: 46px; height: 46px; color: var(--white); }
.ft-legal { display: flex; justify-self: end; gap: 0; }
.ft-legal a { display: inline-flex; align-items: center; min-height: 42px; padding: 0 16px; color: var(--white); font: 500 12.5px var(--font); letter-spacing: .04em; text-transform: uppercase; }
.ft-legal a + a { border-left: 1px solid color-mix(in srgb, var(--white) 30%, transparent); }
.risk { max-width: 700px; color: var(--night-muted); font-size: 12.5px; line-height: 1.6; }
.risk b { color: var(--white); }
.ft-clock { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; }
.ft-clock time { color: var(--white); font-variant-numeric: tabular-nums; }
.live { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--mint-2); flex: none; }
.live::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: var(--mint-2); animation: ping 2s ease-out infinite; }
@keyframes ping { to { transform: scale(2.6); opacity: 0; } }

/* the Telegram button (telegram.css draws it; the colours are ours) */
body:has(.tg-float) .ft { padding-bottom: 100px; }
.tg-float { position: fixed; right: 20px; bottom: 20px; z-index: 50; border: 1px solid var(--line); background: var(--white); box-shadow: var(--sh-2); }
.tg-float::before { background: linear-gradient(105deg, transparent, var(--brand-wash), transparent); }
.tg-go:focus-visible { outline-color: var(--teal); }
.tg-float-ic { color: var(--white); background: var(--grad); box-shadow: 0 0 14px var(--glow); }
.tg-float-txt { color: var(--ink); font-family: var(--font-s); font-weight: 700; }
.tg-float-txt small { color: var(--teal); }

/* the cookie card */
.lp-cookie { position: fixed; left: 20px; bottom: 20px; z-index: 55; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px 14px; width: min(360px, calc(100vw - 40px));
  padding: 18px; border: 1px solid var(--line); border-radius: 18px; background: var(--white); box-shadow: var(--sh-2);
  opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .34s, transform .34s cubic-bezier(.2, .7, .2, 1), visibility .34s; }
.lp-cookie.on { opacity: 1; visibility: visible; transform: none; }
.lp-cookie-ic { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--brand-wash); color: var(--teal); }
.lp-cookie p { color: var(--text); font-size: 13.5px; line-height: 1.55; }
.lp-cookie .btn { grid-column: 1 / -1; }

/* the policy pages: the admin's HTML in this theme's type */
.doc-sec { padding-top: 64px; }
.doc-head { max-width: 760px; margin-inline: auto; text-align: center; }
.doc-head .tag-l { display: inline-block; margin-bottom: 14px; padding: 4px 16px; border-radius: 999px; background: var(--lime); color: var(--green); font: 600 12px var(--font-s); letter-spacing: .12em; text-transform: uppercase; }
.doc-head h2 { font: 400 clamp(28px, 3vw, 38px)/1.15 var(--font-d); text-transform: uppercase; }
.doc-note { max-width: 760px; margin: 18px auto 0; padding: 10px 14px; border-left: 2px solid var(--teal-2); color: var(--muted); font-size: 13px; }
.doc { max-width: 760px; margin: 36px auto 0; padding: 40px 44px; border: 1px solid var(--line); border-radius: 26px; background: var(--white); color: var(--text); font-size: 15.5px; line-height: 1.75; }
.doc > * + * { margin-top: 16px; }
.doc h2, .doc h3 { margin-top: 36px; color: var(--ink); font: 700 22px/1.25 var(--font); text-transform: none; }
.doc h3 { font-size: 18px; }
.doc ul, .doc ol { padding-left: 22px; }
.doc li + li { margin-top: 8px; }
.doc strong, .doc b { color: var(--ink); }
.doc a { color: var(--teal); text-decoration: underline; text-underline-offset: 3px; }
.doc table { width: 100%; border-collapse: collapse; font-size: 14.5px; line-height: 1.5; }
.doc th, .doc td { padding: 10px 12px 10px 0; border-bottom: 1px solid var(--hairline); text-align: left; vertical-align: top; }
.doc th { color: var(--muted); font: 700 12px var(--font); letter-spacing: .06em; text-transform: uppercase; }
.doc td:first-child { color: var(--ink); font-weight: 700; }

/* reveal on scroll; loops pause off screen */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; transition-delay: calc(var(--d, 0) * 90ms); }
.js .reveal.in { opacity: 1; transform: none; }
.paused, .paused * { animation-play-state: paused !important; }

@media (max-width: 1200px) {
  .plans-grid { grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 70px; }
  .calc { width: 100%; max-width: 560px; }
  .calc .ttl { justify-self: center; }
  .c-sub { text-align: center; }
  .band { grid-template-columns: 50% 50%; }
  .band-copy { padding-left: 175px; padding-right: 36px; }
  .band-emblem { width: 90px; right: 30px; }
  .ref, .ref.no-per { grid-template-columns: 1fr 1fr; }
  .ref-c { grid-column: 1 / -1; order: -1; }
  .ref-side { justify-content: center; }
  .cta { padding-right: 280px; }
  .lede { max-width: 340px; }
  .cta-bot { right: 40px; width: 170px; }
  .ft-bot.l { width: 170px; }
  .ft-bot.r { width: 180px; }
}

/* phones and small tablets: a plain header bar, the robot under the H1 */
@media (max-width: 960px) {
  :root { --wave: 50px; }
  .hd-r { gap: 8px; }
  .hd-soc, .hd-contact, .hd-login { display: none; }
  .hd-sign { min-width: 0; min-height: 44px; padding: 0 20px; }
  .hero { min-height: 0; padding: 26px 0 70px; }
  .hero-logo { display: none; }
  .sub { margin-top: 0; font-size: 22px; }
  .hero h1 { font-size: clamp(36px, 8vw, 56px); }
  .hero-art { position: relative; top: auto; right: auto; width: auto; height: 460px; margin: 10px -24px 0; overflow: hidden;
    -webkit-mask-image: linear-gradient(transparent, #000 48px); mask-image: linear-gradient(transparent, #000 48px); }
  .swoosh { left: 50%; width: auto; height: 520px; aspect-ratio: 1300 / 700; transform: translateX(-60%); }
  .robot { left: 50%; bottom: 8px; height: 440px; filter: none; }
  .hero-art::after { bottom: -1px; height: 140px; }
  .lede { max-width: 560px; margin-top: 4px; }
  .b1 { top: auto; bottom: 360px; left: auto; right: 24px; width: 44px; }
  .b2 { top: 210px; left: auto; right: 24px; width: 64px; }
  .b3, .b4 { display: none; }
  .feats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .band { grid-template-columns: minmax(0, 1fr); }
  .band-art { min-height: 560px; }
  .band-bot { bottom: 10px; width: 150px; }
  .band-copy { padding: 70px 24px calc(var(--wave) + 50px); -webkit-mask: none; mask: none; border-radius: 50% 50% 0 0 / 50px 50px 0 0; }
  .band-emblem { top: 30px; right: 24px; width: 70px; }
  .band-txt { max-width: 640px; margin: 0 auto; }
  .band-txt > p { text-align: left; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; }
  .stats li::before, .stats li::after { display: none; }
  .stats li:last-child { grid-column: 1 / -1; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 44px; }
  .steps::before { display: none; }
  .tx2, .faq { grid-template-columns: minmax(0, 1fr); }
  .faq-l { position: static; }
  .cta { flex-direction: column; align-items: flex-start; padding: 44px 28px 280px; border-radius: 40px; }
  .cta-bot { right: 50%; width: 176px; transform: translateX(50%); }
  .ft-bot.r { display: none; }
  .ft-bot.l { position: static; width: 130px; margin: -30px auto 10px; }
  .ft-bot-row { grid-template-columns: minmax(0, 1fr); justify-items: center; }
  .ft .brand, .ft-legal { justify-self: center; }
  .ft .brand { margin-left: 0; }
  .band-txt { padding-top: 0; }
}

@media (max-width: 640px) {
  .wrap, .hd-in { padding: 0 16px; }
  .hd-in { gap: 8px; }
  .hd-sign { padding: 0 16px; }
  .sec { padding: 70px 0; }
  .head { margin-bottom: 40px; }
  .hero-art { height: 420px; margin: 10px -16px 0; }
  .swoosh { height: 340px; }
  .robot { height: 400px; }
  .coins-in { flex-direction: column; align-items: flex-start; gap: 6px; }
  .marquee { width: 100%; }
  .feats { gap: 32px 16px; }
  .blob { width: 80px; height: 80px; }
  .blob .ic { width: 38px; height: 38px; }
  .feat h3, .steps h3 { font-size: 16px; }
  .feat p, .steps p { font-size: 14px; }
  .plans-sec { padding-top: 70px; }
  .plans { grid-template-columns: minmax(0, 1fr); gap: 22px; width: 100%; }
  .pc { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "tag list" "rate list"; grid-template-rows: auto 1fr; column-gap: 16px;
    min-height: 0; padding: 26px 50px 26px 22px; border-radius: 44px; }
  .pc.is-featured { margin-top: 0; }
  .pc-tag { grid-area: tag; margin: 0; justify-self: start; }
  .pc-rate { grid-area: rate; margin-top: 12px; text-align: left; transform: none; font-size: 36px; }
  .pc-list { grid-area: list; gap: 10px; margin: 0; }
  .pc-list b { font-size: 15px; }
  .pc-name, .pc.is-featured .pc-name { top: 50%; bottom: auto; right: 10px; font-size: clamp(16px, calc(170px / var(--nl, 6)), 26px); transform: translateY(-50%) rotate(180deg); }
  .band-art { min-height: 520px; }
  .hang { width: 270px; left: calc(58% - 135px); }
  .band-bot { left: 0; width: 116px; }
  .ref { gap: 34px; }
  .ref, .ref.no-per, .ref-side { grid-template-columns: minmax(0, 1fr); }
  .ref-side { flex-direction: column; align-items: flex-start; gap: 14px; }
  .vtxt { color: var(--teal); font-size: 14px; letter-spacing: 2px; writing-mode: horizontal-tb; text-transform: uppercase; }
  .levels { width: 100%; }
  .levels { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .levels li { column-gap: 10px; }
  .levels b { font-size: 26px; }
  .levels small { font-size: 13px; }
  .tx { padding: 20px 16px; border-radius: 26px; }
  .tx li { grid-template-columns: minmax(0, 1fr) auto auto; }
  .tx time { display: none; }
  .faq-bot { width: 120px; }
  .band-scene { background-position: 15% center; }
  .lang-code { display: none; }
  .lang-menu { inset: auto 0 0 0; width: 100%; max-height: 84vh; border-width: 1px 0 0; border-radius: 18px 18px 0 0; }
  .lang-menu::backdrop { background: var(--scrim); }
  .tg-float { right: 14px; bottom: 14px; }
  .doc { padding: 26px 20px; }
  .doc table, .doc tbody, .doc tr, .doc td { display: block; }
  .doc tr:has(th) { display: none; }
  .doc tr { padding: 10px 0; border-bottom: 1px solid var(--hairline); }
  .doc td { display: flex; justify-content: space-between; gap: 16px; padding: 3px 0; border: 0; text-align: right; }
  .doc td::before { content: attr(data-label); color: var(--muted); text-align: left; }
  .doc td:first-child { padding-bottom: 6px; text-align: left; }
  .doc td:first-child::before { content: none; }
}

@media (max-width: 400px) {
  .hd .lang-btn { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
