/* Senim — crypto ⇄ tenge exchange. Stage 1 site (before the licence). */

/* ---------- Tokens ---------- */
@property --bg { syntax: '<color>'; inherits: true; initial-value: #06080c; }
@property --fg { syntax: '<color>'; inherits: true; initial-value: #eeeae1; }
@property --fg-2 { syntax: '<color>'; inherits: true; initial-value: #a3a7ae; }
@property --surface { syntax: '<color>'; inherits: true; initial-value: #0c1017; }
@property --coin { syntax: '<color>'; inherits: true; initial-value: #d8b46a; }
@property --angle { syntax: '<angle>'; inherits: false; initial-value: 0deg; }

:root {
  --bg: #06080c;
  --fg: #eeeae1;
  --fg-2: #a3a7ae;
  --surface: #0c1017;
  --fg-3: color-mix(in srgb, var(--fg) 46%, var(--bg));
  --line: color-mix(in srgb, var(--fg) 10%, transparent);
  --line-2: color-mix(in srgb, var(--fg) 18%, transparent);
  --tint: color-mix(in srgb, var(--fg) 4%, transparent);
  --gold: #d8b46a;
  --gold-hi: #f3dca2;
  --gold-lo: #a9813f;
  --up: #5fd4a0;
  --down: #f07a7a;
  --coin: #d8b46a;

  --font: 'Onest', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --serif: 'Noto Serif Display', 'Times New Roman', Georgia, serif;
  --mono: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;

  --gutter: clamp(16px, 4vw, 56px);
  --wrap: min(1360px, 100% - 2 * var(--gutter));
  --r: 24px;
  --hdr: 76px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);

  color-scheme: dark;
  transition: --bg .9s var(--ease-io), --fg .9s var(--ease-io), --fg-2 .9s var(--ease-io), --surface .9s var(--ease-io);
}
html.tone-light {
  --bg: #eeeae2;
  --fg: #0b0e13;
  --fg-2: #50555e;
  --surface: #f7f4ee;
  color-scheme: light;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: var(--hdr); }
html:not(.lenis) { scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, ol, ul, dl, dd { margin: 0; padding: 0; }
ol, ul { list-style: none; }
em { font-family: var(--serif); font-style: italic; font-weight: 300; letter-spacing: -.01em; }
::selection { background: var(--gold); color: #0b0e13; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.wrap { width: var(--wrap); margin-inline: auto; }
.mono { font-family: var(--mono); font-feature-settings: 'zero' 0; letter-spacing: .02em; }
.gold { color: var(--gold); }
.ico { width: 18px; height: 18px; flex: none; }

.skip {
  position: fixed; left: 16px; top: 12px; z-index: 200;
  padding: 10px 16px; border-radius: 10px; background: var(--gold); color: #0b0e13; font-weight: 600;
  transform: translateY(-160%); transition: transform .3s var(--ease);
}
.skip:focus { transform: none; }

/* ---------- Type ---------- */
.eyebrow {
  display: inline-flex; gap: .6em; align-items: center;
  font-size: 12px; text-transform: uppercase; letter-spacing: .14em; color: var(--fg-2);
}
.eyebrow span:first-child { color: var(--gold); }
.h2 {
  font-size: clamp(38px, 5.6vw, 92px);
  line-height: .98;
  letter-spacing: -.045em;
  font-weight: 400;
  margin-top: 22px;
  text-wrap: balance;
}
.h2 em, .hero__title em, .ftr__claim em {
  background: linear-gradient(100deg, var(--gold-hi), var(--gold) 45%, var(--gold-lo));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-right: .06em;
}
html.tone-light .h2 em { background: linear-gradient(100deg, #b98e43, #8a6a2e); -webkit-background-clip: text; background-clip: text; }

.head { margin-bottom: clamp(40px, 6vw, 80px); max-width: 980px; }
.head--row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; }
.head__lead { margin-top: 24px; max-width: 46ch; color: var(--fg-2); font-size: clamp(16px, 1.25vw, 18px); }
.head--row .head__lead { margin-top: 0; }

/* split text */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; padding-right: .04em; margin-right: -.04em; }
.wi { display: inline-block; will-change: transform; }
/* gradient sits on each word: background-clip:text on <em> does not reach transformed children */
.js-split em { background: none !important; color: inherit; padding-right: 0; }
.js-split em .wi {
  background: linear-gradient(100deg, var(--gold-hi), var(--gold) 45%, var(--gold-lo));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
html.tone-light .js-split em .wi { background-image: linear-gradient(100deg, #b98e43, #8a6a2e); }
.js-split em .w { padding-right: .14em; margin-right: -.14em; }
.js-words .w { overflow: visible; }
.js-words .wi { opacity: .14; will-change: opacity; }
html.rm .js-words .wi, html:not(.js) .js-words .wi { opacity: 1; }

/* ---------- Buttons ---------- */
.btn {
  --h: 56px;
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  height: var(--h); padding: 0 28px; border-radius: 999px;
  font-size: 15px; font-weight: 500; letter-spacing: -.005em; white-space: nowrap;
  transition: background-color .3s, border-color .3s, color .3s, box-shadow .4s;
}
.btn .ico { transition: transform .5s var(--ease); }
.btn:hover .ico { transform: translateX(4px); }
.btn--sm { --h: 42px; padding: 0 18px; font-size: 14px; gap: 8px; }
.btn--sm .ico { width: 16px; height: 16px; }
.btn--sm:hover .ico { transform: none; }
.btn--block { width: 100%; }
.btn--gold {
  color: #15110a;
  background: linear-gradient(135deg, var(--gold-hi) 0%, var(--gold) 46%, var(--gold-lo) 100%);
  box-shadow: 0 18px 50px -18px rgba(216, 180, 106, .7), inset 0 1px 0 rgba(255, 255, 255, .55), inset 0 -1px 0 rgba(0, 0, 0, .18);
}
.btn--gold::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .55) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .9s var(--ease);
}
.btn--gold:hover::after { transform: translateX(120%); }
.btn--gold:hover { box-shadow: 0 22px 60px -16px rgba(216, 180, 106, .85), inset 0 1px 0 rgba(255, 255, 255, .55); }
.btn--ghost { border: 1px solid var(--line-2); background: color-mix(in srgb, var(--fg) 3%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn--ghost:hover, .btn--line:hover { background: color-mix(in srgb, var(--fg) 8%, transparent); border-color: color-mix(in srgb, var(--fg) 30%, transparent); }
.btn--line { border: 1px solid var(--line-2); }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

/* ---------- Grain, cursor, progress ---------- */
.grain {
  position: fixed; inset: -100%; z-index: 90; pointer-events: none; opacity: .055;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1.2 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
html.tone-light .grain { opacity: .08; mix-blend-mode: multiply; filter: invert(1); }
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-6%, 4%); } 40% { transform: translate(5%, -7%); }
  60% { transform: translate(-3%, 8%); } 80% { transform: translate(7%, 2%); } 100% { transform: translate(0, 0); }
}

.cursor { display: none; }
html.has-cursor .cursor { display: block; position: fixed; inset: 0 auto auto 0; z-index: 150; pointer-events: none; opacity: 0; transition: opacity .3s; }
html.cursor-on .cursor { opacity: 1; }
.cursor__dot, .cursor__ring { position: fixed; left: 0; top: 0; border-radius: 50%; will-change: transform; }
.cursor__dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--fg); }
.cursor__ring {
  width: 40px; height: 40px; margin: -20px 0 0 -20px; border: 1px solid color-mix(in srgb, var(--fg) 35%, transparent);
  transition: width .45s var(--ease), height .45s var(--ease), margin .45s var(--ease), background-color .3s, border-color .3s, opacity .3s;
}
html.cursor-link .cursor__ring { width: 72px; height: 72px; margin: -36px 0 0 -36px; background: color-mix(in srgb, var(--gold) 14%, transparent); border-color: color-mix(in srgb, var(--gold) 60%, transparent); }
html.cursor-text .cursor__ring { width: 4px; height: 34px; margin: -17px 0 0 -2px; border-radius: 2px; border-color: transparent; background: var(--gold); }
html.cursor-hide .cursor__ring, html.cursor-hide .cursor__dot { opacity: 0; }
html.has-cursor, html.has-cursor a, html.has-cursor button { cursor: none; }
html.has-cursor input { cursor: none; }

.progress { position: fixed; left: 0; right: 0; top: 0; height: 2px; z-index: 120; pointer-events: none; }
.progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--gold-lo), var(--gold-hi)); transform-origin: 0 50%; transform: scaleX(0); }

/* ---------- Preloader ---------- */
.pre { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; background: #06080c; color: #eeeae1; }
html:not(.js) .pre, html.seen .pre, html.rm .pre { display: none; }
.pre__inner { display: grid; justify-items: center; gap: 22px; }
.pre__mark { width: 84px; height: 84px; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.pre__ring { stroke: rgba(238, 234, 225, .18); stroke-width: 1.5; }
.pre__arc { stroke-width: 3.2; stroke-dasharray: 60; stroke-dashoffset: 60; animation: draw 1s var(--ease) forwards; }
.pre__arc--a { stroke: #eeeae1; }
.pre__arc--b { stroke: var(--gold); animation-delay: .15s; }
.pre__tip { stroke: currentColor; stroke-width: 3.2; stroke-dasharray: 20; stroke-dashoffset: 20; animation: draw .5s var(--ease) .7s forwards; }
.pre__tip:last-child { stroke: var(--gold); }
@keyframes draw { to { stroke-dashoffset: 0; } }
.pre__count { font-size: 12px; letter-spacing: .2em; color: rgba(238, 234, 225, .55); min-width: 5ch; text-align: center; }
.pre__curtain { position: absolute; inset: 0; background: var(--gold); transform: scaleY(0); transform-origin: 50% 100%; z-index: -1; }

/* ---------- Header ---------- */
.hdr {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--hdr);
  transition: transform .6s var(--ease), background-color .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.hdr.is-solid {
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: var(--line);
}
.hdr.is-hidden { transform: translateY(-100%); }
.hdr__in { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 12px; }
.logo__mark { width: 34px; height: 34px; transition: transform .8s var(--ease); }
.logo:hover .logo__mark { transform: rotate(180deg); }
.logo__word { font-weight: 600; letter-spacing: .26em; font-size: 15px; }
.nav { display: flex; gap: 6px; }
.nav a {
  position: relative; padding: 8px 12px; border-radius: 999px; font-size: 14px; color: var(--fg-2);
  transition: color .3s, background-color .3s;
}
.nav a:hover { color: var(--fg); }
.nav a.is-active { color: var(--fg); background: var(--tint); }
.hdr__right { display: flex; align-items: center; gap: 14px; }
.lang { display: inline-flex; padding: 3px; border: 1px solid var(--line); border-radius: 999px; }
.lang button { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; padding: 6px 9px; border-radius: 999px; color: var(--fg-2); transition: color .3s, background-color .3s; }
.lang button[aria-pressed='true'] { color: var(--bg); background: var(--fg); }
.burger { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); position: relative; }
.burger i { position: absolute; left: 13px; right: 13px; height: 1.5px; background: currentColor; transition: transform .5s var(--ease), top .5s var(--ease); }
.burger i:first-child { top: 17px; }
.burger i:last-child { top: 25px; }
.burger[aria-expanded='true'] i:first-child { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded='true'] i:last-child { top: 21px; transform: rotate(-45deg); }

/* mobile menu */
.menu {
  position: fixed; inset: 0; z-index: 95; background: var(--bg);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(var(--hdr) + 24px) var(--gutter) calc(28px + env(safe-area-inset-bottom));
  clip-path: inset(0 0 100% 0); visibility: hidden;
  transition: clip-path .8s var(--ease), visibility 0s .8s;
}
.menu.is-open { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .8s var(--ease), visibility 0s; }
.menu__nav { display: grid; }
.menu__nav a { display: flex; align-items: baseline; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.menu__nav b { font-weight: 400; font-size: clamp(28px, 8vw, 44px); letter-spacing: -.035em; line-height: 1.1; }
.menu__nav span { font-size: 11px; color: var(--gold); }
.menu.is-open .menu__nav a { animation: menuIn .8s var(--ease) both; }
.menu.is-open .menu__nav a:nth-child(2) { animation-delay: .05s; }
.menu.is-open .menu__nav a:nth-child(3) { animation-delay: .1s; }
.menu.is-open .menu__nav a:nth-child(4) { animation-delay: .15s; }
.menu.is-open .menu__nav a:nth-child(5) { animation-delay: .2s; }
.menu.is-open .menu__nav a:nth-child(6) { animation-delay: .25s; }
@keyframes menuIn { from { opacity: 0; transform: translateY(30px); } }
.menu__foot { display: grid; gap: 16px; }
.lang--big { justify-self: start; }
.lang--big button { font-family: var(--font); font-size: 14px; letter-spacing: 0; padding: 8px 14px; }

/* ---------- Intro / reveal states ---------- */
html.js:not(.rm) [data-intro] { opacity: 0; transform: translateY(24px); }
html.js:not(.rm) [data-intro-stage] { opacity: 0; transform: scale(.92); }
html.js:not(.rm) [data-reveal] { opacity: 0; transform: translateY(36px); }
html.js:not(.rm) .js-split .wi { transform: translateY(110%); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; padding-top: var(--hdr); overflow: clip; }
.hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero__glow {
  position: absolute; inset: 0;
  background:
    radial-gradient(50% 55% at 74% 46%, color-mix(in srgb, var(--coin) 20%, transparent), transparent 70%),
    radial-gradient(40% 40% at 10% 100%, rgba(216, 180, 106, .07), transparent 70%);
  transition: --coin 1.2s var(--ease-io);
}
.hero__lines {
  position: absolute; inset: 0;
  background-image: linear-gradient(90deg, var(--line) 1px, transparent 1px), linear-gradient(0deg, var(--line) 1px, transparent 1px);
  background-size: calc(100% / 12) 100%, 100% 120px;
  background-position: 0 0, 0 calc(var(--hdr) - 1px);
  -webkit-mask-image: radial-gradient(70% 60% at 60% 45%, #000 0%, transparent 75%);
  mask-image: radial-gradient(70% 60% at 60% 45%, #000 0%, transparent 75%);
  opacity: .55;
}
.hero__in { flex: 1; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; gap: clamp(24px, 4vw, 72px); padding-block: clamp(24px, 5vh, 64px); }
.hero__copy { position: relative; z-index: 2; }
.status {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px 8px 12px; border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--gold) 34%, transparent);
  background: color-mix(in srgb, var(--gold) 7%, transparent);
  font-family: var(--mono); font-size: 12px; letter-spacing: .04em; color: var(--gold-hi);
}
.status__dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); flex: none; }
.status__dot::after { content: ''; position: absolute; inset: -5px; border-radius: 50%; border: 1px solid var(--gold); animation: ping 2.2s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(.4); opacity: 1; } 80%, 100% { transform: scale(1.6); opacity: 0; } }
.hero__title {
  margin-top: 28px;
  font-size: clamp(44px, 6.6vw, 108px);
  line-height: .96;
  letter-spacing: -.05em;
  font-weight: 400;
}
.hero__title em { font-weight: 300; }
.hero__lead { margin-top: 28px; max-width: 50ch; font-size: clamp(16px, 1.3vw, 19px); color: var(--fg-2); line-height: 1.6; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }

.stage { position: relative; aspect-ratio: 1; width: 100%; max-width: 640px; justify-self: end; }
.stage__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.stage__orbit { position: absolute; inset: 4%; perspective: 900px; pointer-events: none; }
.stage__orbit i {
  position: absolute; inset: 0; border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--fg) 9%, transparent);
  transform: rotateX(74deg) rotateZ(0deg);
  animation: orbit 26s linear infinite;
}
.stage__orbit i:last-child { inset: 12%; border-style: dashed; border-color: color-mix(in srgb, var(--coin) 30%, transparent); animation-duration: 40s; animation-direction: reverse; transform: rotateX(74deg) rotateY(10deg); }
@keyframes orbit { to { transform: rotateX(74deg) rotateZ(360deg); } }
.stage__cap {
  position: absolute; left: 0; bottom: 2%;
  display: grid; grid-template-columns: auto 1fr; column-gap: 14px; row-gap: 2px; align-items: baseline;
  padding: 14px 18px; border-radius: 16px;
  background: color-mix(in srgb, var(--bg) 55%, transparent); border: 1px solid var(--line);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  min-width: 230px;
}
.stage__sym { grid-row: span 2; align-self: center; font-size: 12px; padding: 6px 8px; border-radius: 8px; color: var(--coin); background: color-mix(in srgb, var(--coin) 12%, transparent); transition: color 1s, background-color 1s; }
.stage__name { font-size: 13px; color: var(--fg-2); }
.stage__rate { font-size: 17px; color: var(--fg); font-weight: 500; }
.stage__pick { position: absolute; right: 0; top: 50%; transform: translateY(-50%); display: grid; gap: 8px; }
.stage__pick button {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line); color: var(--fg-2); background: color-mix(in srgb, var(--bg) 50%, transparent);
  transition: color .3s, border-color .3s, background-color .3s, transform .4s var(--ease);
}
.stage__pick button svg { width: 18px; height: 18px; }
.stage__pick button:hover { color: var(--fg); transform: scale(1.08); }
.stage__pick button[aria-pressed='true'] { color: #0b0e13; background: var(--coin); border-color: transparent; }
.hero__foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-bottom: 28px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--fg-3); }
.hero__scroll { display: inline-flex; align-items: center; gap: 12px; }
.hero__scroll i { position: relative; width: 1px; height: 36px; background: var(--line-2); overflow: hidden; }
.hero__scroll i::after { content: ''; position: absolute; inset: 0; background: var(--gold); transform: translateY(-100%); animation: scrollLine 2.2s var(--ease-io) infinite; }
@keyframes scrollLine { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }

/* ---------- Ticker ---------- */
.ticker { position: relative; border-block: 1px solid var(--line); overflow: hidden; height: 64px; display: flex; align-items: center; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.ticker__track { display: flex; width: max-content; will-change: transform; }
.tk { display: inline-flex; align-items: center; gap: 12px; padding: 0 36px; font-family: var(--mono); font-size: 14px; white-space: nowrap; }
.tk svg { width: 18px; height: 18px; color: var(--fg-2); }
.tk__pair { color: var(--fg-2); }
.tk__px { color: var(--fg); font-weight: 500; }
.tk__ch { font-size: 12px; }
.tk__sep { width: 4px; height: 4px; border-radius: 50%; background: var(--gold); opacity: .6; }
.up { color: var(--up); }
.down { color: var(--down); }

/* ---------- About ---------- */
.about { padding-block: clamp(100px, 16vw, 220px) clamp(80px, 10vw, 140px); }
.about__text {
  margin-top: 36px;
  font-size: clamp(26px, 3.6vw, 58px);
  line-height: 1.12; letter-spacing: -.035em; font-weight: 400;
  max-width: 24ch; text-wrap: pretty;
}
.stats { margin-top: clamp(64px, 9vw, 120px); display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.stat { padding: 32px 32px 0 0; display: grid; gap: 14px; color: var(--fg-2); font-size: 15px; max-width: 34ch; }
.stat + .stat { padding-left: 32px; border-left: 1px solid var(--line); }
.stat__num { display: flex; align-items: flex-start; gap: .06em; font-weight: 300; font-size: clamp(56px, 7vw, 112px); line-height: 1; letter-spacing: -.06em; color: var(--fg); font-variant-numeric: tabular-nums; }
.stat__num small { font-size: .42em; line-height: 1; letter-spacing: -.02em; color: var(--gold); margin-top: .12em; }

/* ---------- Rates ---------- */
.rates { padding-block: clamp(80px, 10vw, 140px); }
.rates__grid { display: grid; grid-template-columns: minmax(0, 470px) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: start; }

.calc {
  position: relative; isolation: isolate;
  padding: 26px; border-radius: 30px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--fg) 5%, var(--surface)), var(--surface));
  box-shadow: 0 40px 120px -40px rgba(0, 0, 0, .7), inset 0 1px 0 color-mix(in srgb, var(--fg) 8%, transparent);
}
.calc::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1px; z-index: -1;
  background: conic-gradient(from var(--angle), transparent 0 55%, color-mix(in srgb, var(--gold) 80%, transparent) 70%, transparent 85%), var(--line-2);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  animation: spin 7s linear infinite;
}
@keyframes spin { to { --angle: 360deg; } }
.calc__glow {
  position: absolute; inset: 0; border-radius: inherit; z-index: -1; pointer-events: none; opacity: 0;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 0%), color-mix(in srgb, var(--gold) 12%, transparent), transparent 70%);
  transition: opacity .5s;
}
.calc:hover .calc__glow { opacity: 1; }
.calc__tabs { position: relative; display: grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 999px; background: color-mix(in srgb, var(--fg) 5%, transparent); border: 1px solid var(--line); }
.calc__tabs button { position: relative; z-index: 1; height: 44px; border-radius: 999px; font-weight: 500; color: var(--fg-2); transition: color .4s; }
.calc__tabs button[aria-selected='true'] { color: #15110a; }
.calc__pill {
  position: absolute; top: 4px; left: 4px; bottom: 4px; width: calc(50% - 4px); border-radius: 999px;
  background: linear-gradient(135deg, var(--gold-hi), var(--gold) 50%, var(--gold-lo));
  box-shadow: 0 8px 24px -8px rgba(216, 180, 106, .7);
  transition: transform .6s var(--ease);
}
.calc[data-mode='sell'] .calc__pill, .calc__tabs[data-mode='sell'] .calc__pill { transform: translateX(100%); }
.calc__assets { margin-top: 16px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.calc__assets button {
  display: flex; align-items: center; justify-content: center; gap: 7px; height: 44px; border-radius: 14px;
  border: 1px solid var(--line); font-family: var(--mono); font-size: 13px; color: var(--fg-2);
  transition: color .3s, border-color .3s, background-color .3s;
}
.calc__assets svg { width: 16px; height: 16px; }
.calc__assets button:hover { color: var(--fg); border-color: var(--line-2); }
.calc__assets button[aria-checked='true'] { color: var(--fg); border-color: color-mix(in srgb, var(--gold) 60%, transparent); background: color-mix(in srgb, var(--gold) 9%, transparent); }
.calc__assets button[aria-checked='true'] svg { color: var(--gold); }
.calc__fields { position: relative; margin-top: 16px; display: grid; gap: 8px; }
.field { display: grid; gap: 6px; padding: 16px 20px 18px; border-radius: 20px; border: 1px solid var(--line); background: color-mix(in srgb, var(--fg) 2.5%, transparent); transition: border-color .3s, background-color .3s; }
.field:focus-within { border-color: color-mix(in srgb, var(--gold) 55%, transparent); background: color-mix(in srgb, var(--gold) 4%, transparent); }
.field__label { font-size: 12px; color: var(--fg-2); }
.field__row { display: flex; align-items: center; gap: 12px; min-width: 0; }
.field__input {
  flex: 1; min-width: 0; font-family: var(--font); font-size: clamp(28px, 3vw, 38px); line-height: 1.15; font-weight: 400; letter-spacing: -.03em;
  color: var(--fg); background: none; border: 0; outline: 0; padding: 0; font-variant-numeric: tabular-nums;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.field--out .field__input { color: var(--gold-hi); }
html.tone-light .field--out .field__input { color: #8a6a2e; }
.field__cur { flex: none; font-size: 13px; padding: 7px 10px; border-radius: 10px; background: var(--tint); border: 1px solid var(--line); color: var(--fg); }
.calc__swap {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%; z-index: 2;
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: var(--surface); border: 1px solid var(--line-2); color: var(--gold);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .8);
  transition: transform .7s var(--ease), border-color .3s;
}
.calc__swap svg { width: 20px; height: 20px; }
.calc__swap:hover { border-color: var(--gold); }
.calc__chips { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 6px; }
.calc__chips button { font-family: var(--mono); font-size: 12px; padding: 7px 11px; border-radius: 999px; border: 1px solid var(--line); color: var(--fg-2); transition: color .3s, border-color .3s; }
.calc__chips button:hover { color: var(--fg); border-color: var(--line-2); }
.calc__meta { margin: 18px 0 20px; display: grid; gap: 8px; padding: 14px 0; border-block: 1px dashed var(--line-2); }
.calc__meta div { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; }
.calc__meta dt { color: var(--fg-2); }
.calc__meta dd { text-align: right; }
.calc__note {
  display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--fg-2); line-height: 1.45;
  margin-top: 14px; padding: 12px 14px; border-radius: 14px; background: var(--tint);
  transition: background-color .4s, color .4s;
}
.calc__note .ico { color: var(--gold); margin-top: 1px; }
.calc__note.is-flash { background: color-mix(in srgb, var(--gold) 14%, transparent); color: var(--fg); }

.assets { border-top: 1px solid var(--line); }
.asset {
  position: relative; display: grid; grid-template-columns: 48px minmax(0, 1fr) clamp(80px, 12vw, 160px) minmax(130px, auto); align-items: center; gap: 20px;
  padding: 22px 12px; border-bottom: 1px solid var(--line);
  transition: background-color .4s;
}
.asset::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--gold); transform: scaleY(0); transition: transform .5s var(--ease); }
.asset:hover { background: color-mix(in srgb, var(--fg) 2.5%, transparent); }
.asset:hover::before { transform: scaleY(1); }
.asset__ico { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; }
.asset__ico svg { width: 22px; height: 22px; }
.asset__ico--usdt { color: #3dd6a3; background: rgba(38, 161, 123, .14); }
.asset__ico--btc { color: #f7a440; background: rgba(247, 147, 26, .13); }
.asset__ico--eth { color: #9aa9ff; background: rgba(98, 126, 234, .16); }
.asset__ico--sol { color: #c39bff; background: linear-gradient(135deg, rgba(153, 69, 255, .2), rgba(20, 241, 149, .14)); }
.asset__name { display: grid; gap: 2px; min-width: 0; }
.asset__name b { font-weight: 500; font-size: 18px; letter-spacing: -.02em; }
.asset__name .mono { font-size: 12px; color: var(--fg-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.asset__spark { width: 100%; height: 40px; overflow: visible; }
.asset__spark path { fill: none; stroke: var(--fg-3); stroke-width: 1.5; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.asset.is-up .asset__spark path { stroke: var(--up); }
.asset.is-down .asset__spark path { stroke: var(--down); }
.asset__price { display: grid; justify-items: end; gap: 4px; }
.asset__price b { font-size: clamp(16px, 1.4vw, 19px); font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap; transition: color .6s; }
.asset__price b.flash-up { color: var(--up); transition: none; }
.asset__price b.flash-down { color: var(--down); transition: none; }
.asset__chg { font-size: 12px; padding: 3px 8px; border-radius: 999px; background: var(--tint); color: var(--fg-2); }
.asset.is-up .asset__chg { color: var(--up); background: color-mix(in srgb, var(--up) 12%, transparent); }
.asset.is-down .asset__chg { color: var(--down); background: color-mix(in srgb, var(--down) 12%, transparent); }
.assets__src { padding: 18px 12px 0; font-size: 11px; color: var(--fg-3); line-height: 1.6; letter-spacing: .03em; }

/* ---------- Services ---------- */
.services { position: relative; padding-block: clamp(80px, 10vw, 140px); }
.svc { border-top: 1px solid var(--line); }
.svc__row {
  position: relative; isolation: isolate;
  display: grid; grid-template-columns: 70px minmax(0, 1.25fr) minmax(0, 1fr) 150px 56px; gap: 24px; align-items: center;
  padding: clamp(26px, 3vw, 40px) 0; border-bottom: 1px solid var(--line);
  transition: opacity .5s var(--ease);
}
.svc__row::before { content: ''; position: absolute; inset: 0 calc(var(--gutter) * -1); z-index: -1; background: linear-gradient(90deg, color-mix(in srgb, var(--gold) 9%, transparent), transparent 70%); transform: scaleY(0); transform-origin: 50% 100%; transition: transform .6s var(--ease); }
.svc:hover .svc__row:not(:hover) { opacity: .38; }
.svc__row:hover::before { transform: scaleY(1); }
.svc__num { font-size: 12px; color: var(--gold); }
.svc__title { font-size: clamp(26px, 3.1vw, 48px); font-weight: 400; letter-spacing: -.04em; line-height: 1.04; transition: transform .6s var(--ease); }
.svc__row:hover .svc__title { transform: translateX(14px); }
.svc__text { color: var(--fg-2); font-size: 15px; max-width: 44ch; }
.svc__tags { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.svc__tags span { font-size: 11px; padding: 5px 10px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--fg-2); }
.svc__arrow { width: 56px; height: 56px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; transition: transform .6s var(--ease), background-color .4s, color .4s, border-color .4s; }
.svc__arrow svg { width: 20px; height: 20px; }
.svc__row:hover .svc__arrow { transform: rotate(45deg); background: var(--gold); color: #15110a; border-color: transparent; }

.pv { position: fixed; left: 0; top: 0; z-index: 40; pointer-events: none; display: none; }
html.has-cursor .pv { display: block; }
.pv__in { position: absolute; width: 300px; height: 200px; margin: -100px 0 0 -150px; opacity: 0; transform: scale(.6); transition: opacity .4s var(--ease), transform .6s var(--ease); }
.pv.is-on .pv__in { opacity: 1; transform: scale(1); }
.pv__card {
  position: absolute; inset: 0; border-radius: 22px; padding: 20px; display: grid; align-content: space-between;
  background: linear-gradient(150deg, #151b26, #0b0f16); border: 1px solid rgba(238, 234, 225, .14); color: #eeeae1;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .9);
  clip-path: inset(100% 0 0 0 round 22px); transition: clip-path .6s var(--ease);
}
.pv__card.is-on { clip-path: inset(0 0 0 0 round 22px); }
.pv__flow { display: flex; align-items: center; gap: 10px; font-size: 13px; color: rgba(238, 234, 225, .7); }
.pv__flow svg { width: 16px; height: 16px; color: var(--gold); }
.pv__flow .gold { color: var(--gold-hi); }
.pv__addr { display: flex; align-items: center; gap: 10px; font-size: 18px; padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, .05); border: 1px dashed rgba(238, 234, 225, .2); }
.pv__addr svg { width: 22px; height: 22px; color: #3dd6a3; }
.pv__big { font-size: 96px; line-height: 1; font-weight: 200; color: var(--gold); }
.pv__msg { font-size: 13px; padding: 10px 14px; border-radius: 16px; max-width: 85%; line-height: 1.35; }
.pv__msg--in { background: rgba(255, 255, 255, .07); border-bottom-left-radius: 4px; }
.pv__msg--out { justify-self: end; background: linear-gradient(135deg, var(--gold-hi), var(--gold)); color: #15110a; border-bottom-right-radius: 4px; }

.mini-card {
  position: relative; width: 200px; height: 118px; border-radius: 14px; padding: 14px;
  background: linear-gradient(135deg, #f3dca2 0%, #d8b46a 40%, #8f6a2e 100%); color: #15110a;
  display: grid; grid-template-rows: auto 1fr auto; overflow: hidden;
  box-shadow: 0 20px 40px -18px rgba(216, 180, 106, .6), inset 0 1px 0 rgba(255, 255, 255, .6);
}
.mini-card::after { content: ''; position: absolute; inset: 0; background: radial-gradient(120% 80% at 100% 0%, rgba(255, 255, 255, .45), transparent 50%); }
.mini-card__chip { width: 30px; height: 22px; border-radius: 5px; background: linear-gradient(135deg, #fff6dc, #c9a45a); border: 1px solid rgba(0, 0, 0, .15); }
.mini-card__num { align-self: end; font-size: 14px; letter-spacing: .12em; }
.mini-card__bank { font-size: 10px; letter-spacing: .14em; opacity: .7; }
.mini-card--wide { width: 240px; height: 140px; }

/* ---------- How (steps) ---------- */
.how { position: relative; padding-block: clamp(80px, 10vw, 120px); }
.how__pin { position: relative; }
.how__head { position: relative; }
.how__bar { margin-top: 40px; height: 1px; background: var(--line); overflow: hidden; }
.how__bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--gold-lo), var(--gold-hi)); transform-origin: 0 50%; transform: scaleX(0); }
.how__track { display: grid; gap: 16px; margin-top: 40px; width: var(--wrap); margin-inline: auto; }
.step {
  position: relative; overflow: hidden;
  display: grid; grid-template-rows: auto 1fr auto; gap: 24px;
  padding: clamp(24px, 3vw, 40px); border-radius: 28px; min-height: 420px;
  background: linear-gradient(160deg, color-mix(in srgb, var(--fg) 5%, var(--surface)), var(--surface) 60%);
  border: 1px solid var(--line);
}
.step::after { content: ''; position: absolute; inset: auto -20% -60% 30%; height: 80%; background: radial-gradient(closest-side, color-mix(in srgb, var(--gold) 16%, transparent), transparent); opacity: 0; transition: opacity 1s; pointer-events: none; }
.step.is-active::after { opacity: 1; }
.step__num { font-size: clamp(72px, 9vw, 150px); line-height: .8; letter-spacing: -.06em; font-family: var(--font); font-weight: 200; color: transparent; -webkit-text-stroke: 1px color-mix(in srgb, var(--fg) 30%, transparent); transition: -webkit-text-stroke-color .6s, color .6s; }
.step.is-active .step__num { -webkit-text-stroke-color: transparent; color: var(--gold); }
.step__title { font-size: clamp(24px, 2.4vw, 36px); font-weight: 400; letter-spacing: -.035em; line-height: 1.1; }
.step__body p { margin-top: 12px; color: var(--fg-2); max-width: 40ch; }
.step__vis { min-height: 130px; display: grid; align-content: end; justify-items: start; gap: 12px; }

.vis-rate__row { display: flex; align-items: center; gap: 12px; font-size: 15px; padding: 14px 16px; border-radius: 14px; background: var(--tint); border: 1px solid var(--line); }
.vis-rate__row svg { width: 16px; height: 16px; color: var(--gold); }
.vis-rate__row b { font-weight: 500; color: var(--gold-hi); }
.vis-rate__lock { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; color: var(--up); }
.vis-rate__lock svg { width: 15px; height: 15px; }
.vis-otp { grid-auto-flow: column; justify-content: start; gap: 8px; }
.vis-otp span { width: 44px; height: 56px; border-radius: 12px; border: 1px solid var(--line-2); display: grid; place-items: center; font-size: 22px; font-family: var(--mono); color: var(--fg); background: var(--tint); }
.step.is-active .vis-otp span { animation: otp .5s var(--ease) both; }
.step.is-active .vis-otp span:nth-child(2) { animation-delay: .08s; }
.step.is-active .vis-otp span:nth-child(3) { animation-delay: .16s; }
.step.is-active .vis-otp span:nth-child(4) { animation-delay: .24s; }
.step.is-active .vis-otp span:nth-child(5) { animation-delay: .32s; }
.step.is-active .vis-otp span:nth-child(6) { animation-delay: .4s; border-color: var(--gold); }
@keyframes otp { from { opacity: 0; transform: translateY(14px) scale(.9); } }
.vis-id { grid-auto-flow: column; align-items: end; justify-content: start; gap: 16px; }
.vis-id__card { position: relative; width: 210px; height: 128px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--tint); display: grid; grid-template-columns: 64px 1fr; gap: 14px; align-items: center; padding: 16px; overflow: hidden; }
.vis-id__face {
  width: 64px; height: 80px; border-radius: 10px; opacity: .8;
  background:
    radial-gradient(12px 13px at 50% 38%, var(--fg-3) 96%, transparent 100%),
    radial-gradient(26px 18px at 50% 100%, var(--fg-3) 96%, transparent 100%),
    color-mix(in srgb, var(--fg) 6%, transparent);
}
.vis-id__lines { display: grid; gap: 8px; }
.vis-id__lines i { height: 6px; border-radius: 3px; background: var(--line-2); }
.vis-id__lines i:nth-child(2) { width: 70%; }
.vis-id__lines i:nth-child(3) { width: 45%; }
.vis-id__scan { position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--gold); box-shadow: 0 0 18px 4px rgba(216, 180, 106, .5); animation: scan 2.4s var(--ease-io) infinite alternate; }
@keyframes scan { to { transform: translateY(126px); } }
.vis-id__ok, .vis-pay__ok svg, .vis-send__st svg { color: var(--up); }
.vis-id__ok { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--up) 14%, transparent); }
.vis-id__ok svg { width: 22px; height: 22px; }
.vis-pay__ok, .vis-send__st { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; color: var(--up); }
.vis-pay__ok svg, .vis-send__st svg { width: 15px; height: 15px; }
.vis-send { width: 100%; }
.vis-send__row { display: flex; align-items: center; gap: 12px; font-size: 14px; }
.vis-send__row svg { width: 16px; height: 16px; color: var(--gold); }
.vis-send__bar { width: min(100%, 320px); height: 4px; border-radius: 2px; background: var(--line); overflow: hidden; }
.vis-send__bar i { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--gold), var(--up)); transform-origin: 0 50%; transform: scaleX(.08); transition: transform 2.2s var(--ease); }
.step.is-active .vis-send__bar i { transform: scaleX(1); }

/* horizontal mode (desktop) */
html.how-x .how { padding-block: 0; }
html.how-x .how__pin { height: 100vh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
html.how-x .how__track { display: flex; width: max-content; gap: 20px; padding-inline: max(var(--gutter), (100vw - 1360px) / 2); margin: 48px 0 0; will-change: transform; }
html.how-x .step { width: clamp(380px, 36vw, 560px); height: clamp(440px, 58vh, 600px); min-height: 0; flex: none; }

/* ---------- Trust (light) ---------- */
.trust { position: relative; padding-block: clamp(100px, 12vw, 180px); }
.trust__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.trust__vis { position: sticky; top: calc(var(--hdr) + 40px); }
.orbit { position: relative; aspect-ratio: 1; width: 100%; max-width: 560px; perspective: 1000px; }
.orbit > svg { width: 100%; height: 100%; overflow: visible; transform-style: preserve-3d; transition: transform 1s var(--ease); }
.orbit__r { transform-origin: 200px 200px; }
.orbit__r--a { animation: rot 60s linear infinite; }
.orbit__r--b { animation: rot 40s linear infinite reverse; }
.orbit__r--c { animation: rot 14s linear infinite; }
@keyframes rot { to { transform: rotate(360deg); } }
.orbit__line { fill: none; stroke: var(--line-2); stroke-width: 1; }
.orbit__line--dash { stroke-dasharray: 2 6; stroke: color-mix(in srgb, var(--gold) 60%, transparent); }
.orbit__txt { font-family: var(--mono); font-size: 11.5px; letter-spacing: 3.6px; fill: var(--fg-2); }
.orbit__txt--sm { font-size: 10px; letter-spacing: 3px; fill: color-mix(in srgb, var(--gold) 85%, var(--fg)); }
.orbit__dot { fill: var(--gold); }
.orbit__core { position: absolute; inset: 37%; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 35% 30%, color-mix(in srgb, var(--fg) 6%, var(--surface)), var(--surface)); border: 1px solid var(--line-2); box-shadow: 0 30px 80px -30px rgba(10, 14, 20, .45), 0 0 0 12px color-mix(in srgb, var(--gold) 6%, transparent); }
.orbit__core svg { width: 52%; height: 52%; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.orbit__shield { stroke: var(--fg); stroke-width: 2.2; stroke-dasharray: 170; stroke-dashoffset: 170; transition: stroke-dashoffset 1.8s var(--ease); }
.orbit__check { stroke: var(--gold); stroke-width: 3.2; stroke-dasharray: 40; stroke-dashoffset: 40; transition: stroke-dashoffset 1s var(--ease) .9s; }
.orbit.is-in .orbit__shield, .orbit.is-in .orbit__check, html.rm .orbit__shield, html.rm .orbit__check, html:not(.js) .orbit__shield, html:not(.js) .orbit__check { stroke-dashoffset: 0; }
.rules { margin-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--line); }
.rule { display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.rule__n { font-size: 12px; color: var(--gold-lo); padding-top: 6px; }
html:not(.tone-light) .rule__n { color: var(--gold); }
.rule h3 { font-size: clamp(20px, 1.8vw, 26px); font-weight: 500; letter-spacing: -.025em; line-height: 1.2; }
.rule p { margin-top: 8px; color: var(--fg-2); max-width: 52ch; }

/* ---------- FAQ ---------- */
.faq { padding-block: clamp(80px, 10vw, 140px); }
.faq__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq__head { position: sticky; top: calc(var(--hdr) + 40px); }
.acc { border-top: 1px solid var(--line); }
.acc__item { border-bottom: 1px solid var(--line); }
.acc__item h3 { font: inherit; }
.acc__q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 26px 0; text-align: left; font-size: clamp(18px, 1.6vw, 23px); letter-spacing: -.02em; font-weight: 400; transition: color .3s; }
.acc__q:hover { color: var(--gold-hi); }
html.tone-light .acc__q:hover { color: var(--gold-lo); }
.acc__ico { width: 40px; height: 40px; padding: 10px; border-radius: 50%; border: 1px solid var(--line-2); flex: none; transition: transform .6s var(--ease), background-color .3s, color .3s; }
.acc__q[aria-expanded='true'] .acc__ico { transform: rotate(135deg); background: var(--gold); color: #15110a; border-color: transparent; }
.acc__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease); }
.acc__a > div { overflow: hidden; }
.acc__a p { padding: 0 64px 28px 0; color: var(--fg-2); max-width: 64ch; opacity: 0; transform: translateY(-8px); transition: opacity .5s, transform .6s var(--ease); }
.acc__item.is-open .acc__a { grid-template-rows: 1fr; }
.acc__item.is-open .acc__a p { opacity: 1; transform: none; }

.risk {
  margin-top: clamp(64px, 8vw, 110px);
  display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: start;
  padding: clamp(22px, 3vw, 36px); border-radius: var(--r);
  border: 1px solid color-mix(in srgb, var(--gold) 28%, transparent);
  background: linear-gradient(135deg, color-mix(in srgb, var(--gold) 7%, transparent), transparent 60%);
}
.risk__ico { width: 28px; height: 28px; color: var(--gold); }
.risk h3 { font-size: 18px; font-weight: 500; letter-spacing: -.01em; }
.risk p { margin-top: 8px; color: var(--fg-2); max-width: 90ch; }

/* ---------- Contacts ---------- */
.contacts { padding-block: clamp(80px, 10vw, 140px) clamp(60px, 8vw, 100px); }
.ct__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ct__card { padding: clamp(22px, 3vw, 36px); border-radius: 28px; border: 1px solid var(--line); background: linear-gradient(160deg, color-mix(in srgb, var(--fg) 4%, var(--surface)), var(--surface)); }
.ct__h { font-size: 12px; text-transform: uppercase; letter-spacing: .14em; color: var(--gold); font-weight: 400; }
.ct__list { margin-top: 18px; }
.ct__list div { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.ct__list div:last-child { border-bottom: 0; }
.ct__list dt { color: var(--fg-2); font-size: 15px; }
.ct__list dd { text-align: right; }
.tbd {
  position: relative; overflow: hidden; display: inline-block;
  font-family: var(--mono); font-size: 12px; letter-spacing: .03em; color: var(--fg-3);
  padding: 6px 12px; border-radius: 999px; border: 1px dashed var(--line-2);
}
.tbd::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--fg) 10%, transparent), transparent); transform: translateX(-100%); animation: shimmer 3s var(--ease-io) infinite; }
@keyframes shimmer { 60%, 100% { transform: translateX(100%); } }
.pending { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 12px; color: var(--gold-hi); }
.pending i { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.pending i::after { content: ''; position: absolute; inset: -5px; border-radius: 50%; border: 1px solid var(--gold); animation: ping 2.2s var(--ease) infinite; }

/* ---------- Footer ---------- */
.ftr { position: relative; padding-top: clamp(80px, 10vw, 140px); border-top: 1px solid var(--line); overflow: hidden; }
.ftr__top { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; }
.ftr__claim { font-size: clamp(36px, 5.4vw, 88px); line-height: 1; letter-spacing: -.045em; max-width: 14ch; }
.ftr__up { flex: none; width: 88px; height: 88px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; transition: background-color .4s, color .4s, border-color .4s; }
.ftr__up svg { width: 26px; height: 26px; transform: rotate(-90deg); }
.ftr__up:hover { background: var(--gold); color: #15110a; border-color: transparent; }
.ftr__cols { margin-top: clamp(56px, 7vw, 96px); display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; padding-top: 32px; border-top: 1px solid var(--line); }
.ftr__cols h4 { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--fg-3); font-weight: 400; margin-bottom: 16px; }
.ftr__cols a { display: block; width: fit-content; padding: 5px 0; color: var(--fg-2); background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: color .3s, background-size .5s var(--ease); }
.ftr__cols a:hover { color: var(--fg); background-size: 100% 1px; }
.ftr__word {
  display: flex; justify-content: space-between; margin-top: clamp(48px, 7vw, 96px);
  font-size: clamp(88px, 24.5vw, 420px); line-height: .78; letter-spacing: -.04em; font-weight: 300;
  user-select: none;
}
.ftr__word span {
  display: inline-block;
  background: linear-gradient(180deg, var(--fg) 30%, color-mix(in srgb, var(--fg) 0%, transparent) 105%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  will-change: font-variation-settings;
}
.ftr__bottom { display: flex; justify-content: space-between; align-items: center; gap: 12px 24px; flex-wrap: wrap; padding: 22px 0 calc(26px + env(safe-area-inset-bottom)); font-size: 11px; letter-spacing: .06em; color: var(--fg-3); border-top: 1px solid var(--line); margin-top: 8px; }
.ftr__studio { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--fg-2); transition: color .3s, border-color .3s, background-color .3s; }
.ftr__studio b { font-weight: 500; color: var(--fg); }
.ftr__studio .ico { width: 13px; height: 13px; transition: transform .4s var(--ease); }
.ftr__studio:hover { border-color: var(--gold); background: color-mix(in srgb, var(--gold) 8%, transparent); color: var(--fg); }
.ftr__studio:hover .ico { transform: translate(2px, -2px); }

/* ---------- Secondary pages (login, legal, 404) ---------- */
.page { min-height: 100vh; min-height: 100svh; padding-top: var(--hdr); display: flex; flex-direction: column; }
.page .hdr { position: absolute; }
.auth { flex: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.auth__art { position: sticky; top: 0; align-self: start; margin-top: calc(var(--hdr) * -1); height: 100vh; height: 100svh; overflow: hidden; border-right: 1px solid var(--line); display: grid; align-content: end; padding: clamp(28px, 4vw, 56px); min-height: 480px; }
.auth__art canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.auth__art .hero__glow { position: absolute; inset: 0; }
.auth__quote { position: relative; font-size: clamp(28px, 3.2vw, 48px); line-height: 1.05; letter-spacing: -.04em; max-width: 14ch; }
.auth__side { display: grid; place-items: center; padding: clamp(28px, 4vw, 56px) var(--gutter); }
.auth__box { width: 100%; max-width: 420px; }
.auth__stage { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.auth__title { margin-top: 18px; font-size: clamp(32px, 3vw, 44px); font-weight: 400; letter-spacing: -.04em; line-height: 1.05; }
.auth__lead { margin-top: 12px; color: var(--fg-2); }
.auth__form { margin-top: 32px; display: grid; gap: 12px; position: relative; }
.auth__form fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 12px; min-width: 0; }
.auth__form fieldset[disabled] { opacity: .45; filter: saturate(.6); }
.auth__form .field { padding: 14px 18px; }
.auth__form .field__input { font-size: 17px; letter-spacing: -.01em; }
.auth__form .field__input::placeholder { color: var(--fg-3); }
.auth__tabs { margin-top: 28px; }
.auth__lock { margin-top: 20px; display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: 18px; border: 1px solid color-mix(in srgb, var(--gold) 30%, transparent); background: color-mix(in srgb, var(--gold) 7%, transparent); font-size: 14px; color: var(--fg); }
.auth__lock .ico { color: var(--gold); margin-top: 2px; }
.auth__back { margin-top: 24px; display: inline-flex; gap: 10px; align-items: center; color: var(--fg-2); font-size: 14px; transition: color .3s; }
.auth__back:hover { color: var(--fg); }
.auth__back .ico { transform: rotate(180deg); }

.legal { flex: 1; padding-block: clamp(48px, 8vw, 100px); }
.legal__title { font-size: clamp(40px, 6vw, 88px); font-weight: 400; letter-spacing: -.045em; line-height: 1; margin-top: 18px; }
.legal__lead { margin-top: 20px; color: var(--fg-2); max-width: 60ch; }
.docs { margin-top: clamp(40px, 6vw, 72px); border-top: 1px solid var(--line); }
.doc { padding: 32px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 32px; scroll-margin-top: calc(var(--hdr) + 24px); }
.doc h2 { font-size: clamp(22px, 2.2vw, 32px); font-weight: 400; letter-spacing: -.03em; line-height: 1.15; }
.doc__body { color: var(--fg-2); display: grid; gap: 12px; }
.doc__body ul { display: grid; gap: 8px; }
.doc__body li { padding-left: 18px; position: relative; }
.doc__body li::before { content: ''; position: absolute; left: 0; top: .7em; width: 6px; height: 1px; background: var(--gold); }
.doc:target h2 { color: var(--gold-hi); }

.nf { flex: 1; display: grid; place-items: center; text-align: center; padding: 40px var(--gutter); }
.nf__code { font-size: clamp(120px, 26vw, 360px); font-weight: 200; letter-spacing: -.07em; line-height: .85; background: linear-gradient(180deg, var(--fg), transparent 110%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nf p { margin: 16px auto 32px; color: var(--fg-2); max-width: 40ch; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .nav { display: none; }
  .burger { display: block; }
  .svc__row { grid-template-columns: 56px minmax(0, 1fr) minmax(0, 1fr) 56px; }
  .svc__tags { display: none; }
}
@media (max-width: 960px) {
  :root { --hdr: 68px; }
  .hero__in { grid-template-columns: 1fr; gap: 8px; padding-top: 32px; }
  .stage { justify-self: center; max-width: 520px; margin-top: 8px; }
  .rates__grid { grid-template-columns: 1fr; }
  .calc { max-width: 560px; }
  .trust__grid, .faq__grid { grid-template-columns: 1fr; }
  .trust__vis, .faq__head { position: relative; top: 0; }
  .orbit { max-width: 420px; margin-inline: auto; }
  .ct__grid { grid-template-columns: 1fr; }
  .auth { grid-template-columns: 1fr; }
  .auth__art { position: relative; top: 0; margin-top: 0; height: auto; min-height: 300px; border-right: 0; border-bottom: 1px solid var(--line); }
  .doc { grid-template-columns: 1fr; gap: 12px; }
}
@media (max-width: 720px) {
  .hdr .btn--line span { display: none; }
  .hdr .btn--line { width: 42px; padding: 0; }
  .hdr .lang { display: none; }
  .hero__title { font-size: clamp(40px, 11.4vw, 64px); }
  .hero__cta .btn { flex: 1 1 auto; }
  .stage__pick { position: static; transform: none; display: flex; justify-content: center; gap: 8px; margin-top: 12px; }
  .stage { display: flex; flex-direction: column; aspect-ratio: auto; }
  .stage__canvas { position: relative; inset: auto; aspect-ratio: 1; height: auto; }
  .stage__orbit { inset: 4% 4% auto; aspect-ratio: 1; }
  .stage__cap { position: relative; left: auto; bottom: auto; margin-top: -24px; align-self: center; }
  .hero__foot > span:first-child, .hero__foot > span:last-child { display: none; }
  .hero__foot { justify-content: center; }
  .stats { grid-template-columns: 1fr; }
  .stat, .stat + .stat { padding: 24px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .asset { grid-template-columns: 40px minmax(0, 1fr) auto; gap: 14px; padding: 18px 4px; }
  .asset__ico { width: 40px; height: 40px; }
  .asset__spark { display: none; }
  .svc__row { grid-template-columns: 40px 1fr; gap: 10px 14px; }
  .svc__text { grid-column: 2; }
  .svc__arrow { display: none; }
  .svc__row:hover .svc__title { transform: none; }
  .step { min-height: 0; }
  .ftr__top { flex-direction: column; align-items: flex-start; }
  .ftr__up { width: 64px; height: 64px; }
  .ftr__cols { grid-template-columns: 1fr 1fr; }
  .ftr__cols > div:last-child { grid-column: span 2; }
  .calc { padding: 18px; border-radius: 26px; }
  .calc__assets button { font-size: 12px; gap: 5px; }
  .acc__a p { padding-right: 0; }
}
@media (max-width: 380px) {
  .calc__assets { grid-template-columns: repeat(2, 1fr); }
  .ct__list div { flex-direction: column; align-items: flex-start; gap: 8px; }
  .ct__list dd { text-align: left; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .grain { display: none; }
}
