/* LaoLong · public site — design system, layout, home.
   Pages are rendered by the API (api/app/site/pages.py); fonts.css = self-hosted faces,
   pages.css = results / learn / prose. Same product as the app (deploy/app-stub):
   graphite dark, monochrome chrome (white primary button), green for wins, P&L and the
   brand glow, tabular numerals of the text face. Dark only.
   Home (31.10.2026 studio redesign): hero with a CSS phone around real app screenshots,
   trust strip (exchange, coins, deposit networks), bento tiles with 3D icons, steps with
   visuals, the live record, security, FAQ, closing phone. Images: assets/img (CREDITS.txt). */

/* ---------- tokens (contract shared with fonts.css / pages.css / charts) ---------- */
:root {
  color-scheme: dark;
  --bg: #08090B; --bg-2: #0E0F12;
  --surface: rgba(255, 255, 255, .04); --surface-2: rgba(255, 255, 255, .07);
  --line: rgba(255, 255, 255, .075); --line-2: rgba(255, 255, 255, .14);
  --text: #F5F6F8; --text-2: #A7ADB7; --text-3: #7E8590;
  --accent: #22C382; --accent-2: rgba(34, 195, 130, .16);
  --danger: #F5566C; --warn: #F2B33D;
  --radius-s: 10px; --radius: 16px; --radius-l: 24px;
  --shadow: 0 1px 0 rgba(255, 255, 255, .06) inset, 0 0 0 1px var(--line) inset, 0 24px 60px -24px rgba(0, 0, 0, .7);
  /* «LL Names» (/vendor/fonts/names.css) — 龙 и 简体中文 / ไทย / العربية в меню языков на устройстве без этих шрифтов;
     «LL CJK» / «LL Arabic» / «LL Thai» — полный запасной шрифт только на своих страницах (12.11.2026: «квадратики») */
  --font-sans: "LL Sans", "LL Devanagari", "LL Sans Fallback", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "LL Names", sans-serif;
  --font-num: var(--font-sans);
  /* Chinese: system CJK fonts only (no multi-MB web font); Latin and digits stay Inter */
  --font-cjk: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Source Han Sans SC", "Noto Sans CJK SC", "LL Names", "LL CJK", sans-serif;
  /* Arabic and Thai: system fonts only, the same way (stacks applied under :lang(ar) / :lang(th)) */
  --font-arabic: "SF Arabic", "Geeza Pro", "Noto Sans Arabic", "Segoe UI", Tahoma, "LL Names", "LL Arabic", sans-serif;
  --font-thai: "Thonburi", "Noto Sans Thai", "Leelawadee UI", Tahoma, "LL Names", "LL Thai", sans-serif;
  --container: 1200px; --gutter: 16px;
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px;
  --glass: linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .018));
  --ease: cubic-bezier(.22, .61, .36, 1);
  --head-h: 60px;
}
@media (min-width: 900px) { :root { --gutter: 32px; --head-h: 64px; } }


/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h) + 16px); background: var(--bg); }
body { position: relative; min-height: 100vh; background: var(--bg); color: var(--text); font-family: var(--font-sans); font-size: 16px; line-height: 1.6; font-optical-sizing: auto; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden; overflow-x: clip; text-rendering: optimizeLegibility; }
/* light from above, like the app's graphite glass — no colour blobs */
body::before { content: ""; position: absolute; z-index: -1; top: 0; left: 0; right: 0; height: 1100px; pointer-events: none;
  background: radial-gradient(80% 60% at 50% -18%, rgba(255, 255, 255, .11), transparent 70%), radial-gradient(40% 40% at 88% 4%, rgba(255, 255, 255, .045), transparent 70%); }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
ul, ol { list-style: none; }
b, strong { font-weight: 600; }
:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; border-radius: 6px; }
::selection { background: rgba(255, 255, 255, .18); }
.num { font-family: var(--font-num); font-variant-numeric: tabular-nums; }
.wrap { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: calc(760px + 2 * var(--gutter)); }
.skip { position: absolute; inset-inline-start: 12px; top: -80px; z-index: 90; background: var(--text); color: var(--bg); padding: 10px 14px; border-radius: var(--radius-s); font-weight: 600; }
.skip:focus { top: 12px; }
.up { color: var(--accent); } .dn { color: var(--danger); } .mut { color: var(--text-3); }
.p2 { color: var(--text-2); }
.i { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.mark { width: 28px; height: 28px; flex: none; }
.mk-bg { fill: var(--text); } .mk-g { fill: var(--bg); }

/* ---------- type ---------- */
h1 { font-size: clamp(40px, 5.4vw, 74px); line-height: 1; letter-spacing: -.045em; font-weight: 650; text-wrap: balance; }
h2 { font-size: clamp(32px, 4.4vw, 56px); line-height: 1.04; letter-spacing: -.04em; font-weight: 650; text-wrap: balance; }
h2 .mut, h1 em { color: var(--text-3); font-style: normal; }
h3 { font-size: 18px; line-height: 1.3; letter-spacing: -.02em; font-weight: 600; }
.h-sm { font-size: 13px; line-height: 1.4; font-weight: 500; letter-spacing: .01em; color: var(--text-3); }
.lead { font-size: clamp(17px, 1.45vw, 19px); line-height: 1.6; color: var(--text-2); max-width: 600px; text-wrap: pretty; }
.lead b { color: var(--text); font-weight: 600; }
/* Devanagari and Vietnamese: no negative tracking (it breaks conjuncts and stacked marks), taller lines */
:lang(hi) h1, :lang(hi) h2, :lang(hi) h3, :lang(hi) .track-n, :lang(hi) .big { letter-spacing: 0; }
:lang(hi) h1 { line-height: 1.22; } :lang(hi) h2 { line-height: 1.25; }
:lang(vi) h1 { line-height: 1.1; } :lang(vi) h2 { line-height: 1.14; }
:lang(el) h1, :lang(ro) h1 { line-height: 1.06; } :lang(el) h2, :lang(ro) h2 { line-height: 1.1; }   /* accents above, ș ț below */
/* Simplified Chinese: Inter for Latin and digits, then the system CJK font (PingFang SC, YaHei, Noto
   Sans SC…); taller lines for Han; no tracking at all — negative letter-spacing makes Han glyphs
   collide — and no synthetic italics (CJK fonts have none) */
:root:lang(zh) { --font-sans: "LL Sans", "LL Sans Fallback", var(--font-cjk); }
:lang(zh) body { line-height: 1.75; line-break: strict; }
:lang(zh) body, :lang(zh) body * { letter-spacing: 0 !important; }
:lang(zh) h1 { line-height: 1.22; } :lang(zh) h2, :lang(zh) .pg-h2 { line-height: 1.28; } :lang(zh) h3 { line-height: 1.45; }
:lang(zh) em, :lang(zh) i, :lang(zh) .prose em { font-style: normal; }
/* Arabic and Thai: Inter for Latin and digits, then the system font of the script (no web font).
   Arabic leaves out "LL Sans Fallback" (local Arial has Arabic glyphs and would win over the
   system Arabic face). No tracking at all — letter-spacing breaks Arabic joining and Thai stacked
   marks — except on the Latin-only figures; taller lines (Arabic dots, Thai marks above and below);
   no synthetic italics (neither script has a real italic). */
:root:lang(ar) { --font-sans: "LL Sans", var(--font-arabic); }
:root:lang(th) { --font-sans: "LL Sans", "LL Sans Fallback", var(--font-thai); }
:is(:lang(ar), :lang(th)) body, :is(:lang(ar), :lang(th)) body * { letter-spacing: 0 !important; }
:is(:lang(ar), :lang(th)) body :is(.track-n, .rs-v, .big, .nf-code) { letter-spacing: -.04em !important; }
:is(:lang(ar), :lang(th)) em, :is(:lang(ar), :lang(th)) i, :is(:lang(ar), :lang(th)) .prose em { font-style: normal; }
:lang(ar) body { line-height: 1.75; }
:lang(ar) h1, :lang(ar) .pg-hero h1 { line-height: 1.3; } :lang(ar) h2, :lang(ar) .pg-h2 { line-height: 1.35; }
:lang(ar) h3, :lang(ar) .tile-big { line-height: 1.5; }
:lang(th) body { line-height: 1.8; }
:lang(th) h1, :lang(th) .pg-hero h1 { line-height: 1.25; } :lang(th) h2, :lang(th) .pg-h2 { line-height: 1.3; }
:lang(th) h3, :lang(th) .tile-big { line-height: 1.55; }

/* ---------- buttons, links ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; height: 48px; padding: 0 22px; border-radius: 12px; font-size: 15.5px; font-weight: 600; letter-spacing: -.01em; white-space: nowrap; cursor: pointer; transition: background-color .2s, box-shadow .2s, transform .2s var(--ease); }
.btn.pri { background: var(--text); color: #0A0B0D; box-shadow: inset 0 1px 0 #fff, 0 10px 30px -10px rgba(255, 255, 255, .28); }
.btn.pri:hover { background: #fff; transform: translateY(-1px); }
.btn.ghost { background: var(--surface); color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn.ghost:hover { background: var(--surface-2); }
.btn.sm { height: 36px; padding: 0 14px; border-radius: var(--radius-s); font-size: 14px; }
.btn:active { transform: scale(.98); }
.i-go { transition: transform .2s var(--ease); }
a:hover > .i-go { transform: translateX(3px); }
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.cta-row .btn { flex: 1 1 220px; }
/* a label longer than the row (th, tr, "See every closed AI trade call…" on a phone) wraps inside the
   button instead of running off the screen; one line keeps the 48 px height */
.cta-row .btn { max-width: 100%; height: auto; min-height: 48px; padding-block: 6px; white-space: normal; text-align: center; }
@media (min-width: 560px) { .cta-row .btn { flex: 0 0 auto; } }
.more { display: inline-flex; align-items: center; gap: 6px; font-size: 14.5px; font-weight: 600; color: var(--text); }
.more .i { width: 16px; height: 16px; color: var(--text-2); }
.more:hover { color: #fff; }

/* ---------- header ---------- */
.head { position: sticky; top: 0; z-index: 50; background: rgba(8, 9, 11, .78); border-bottom: 1px solid var(--line); }
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .head { background: rgba(8, 9, 11, .62); -webkit-backdrop-filter: saturate(1.6) blur(18px); backdrop-filter: saturate(1.6) blur(18px); }
}
.head-row { display: flex; align-items: center; gap: 8px; height: var(--head-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 16.5px; font-weight: 650; letter-spacing: -.02em; white-space: nowrap; }
.nav { display: none; }
.nav a { padding: 7px 12px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--text-2); white-space: nowrap; transition: color .15s, background-color .15s; }
.nav a:hover { color: var(--text); background: var(--surface); }
.head-end { margin-inline-start: auto; display: flex; align-items: center; gap: 8px; }
@media (max-width: 559px) { .head-end > .btn.sm { display: none; } }
@media (min-width: 1200px) {   /* below this the longest navs (ru, fr, uk, es, de) push the header out */
  .nav { display: flex; gap: 2px; margin-inline-start: 28px; }
  .menu { display: none; }
}

/* language menu (details/summary — works without JS) */
.lang-menu { position: relative; }
.lang-menu > summary { list-style: none; display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 10px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--text-2); cursor: pointer; user-select: none; transition: color .15s, background-color .15s; }
.lang-menu > summary::-webkit-details-marker { display: none; }
.lang-menu > summary:hover, .lang-menu[open] > summary { color: var(--text); background: var(--surface-2); }
.lang-menu .chev { width: 14px; height: 14px; transition: transform .2s var(--ease); }
.lang-menu[open] .chev { transform: rotate(180deg); }
.lang-cur { display: none; }
@media (min-width: 760px) and (max-width: 1199px) { .lang-cur { display: inline; } .lang-code { display: none; } }
/* from 1200px the nav takes the row: the switcher shows the code ("EL", "PT-PT") — long names such as
   "Español (Latinoamérica)" would push the CTA out of the header */
.lang-menu > summary { white-space: nowrap; }
.lang-list { position: absolute; inset-inline-end: 0; top: calc(100% + 8px); z-index: 60; min-width: 230px; padding: 6px; border-radius: 14px; background: #16171B; box-shadow: inset 0 0 0 1px var(--line-2), 0 24px 60px rgba(0, 0, 0, .55); animation: pop .18s var(--ease);
  /* 20 languages: never taller than the screen below the header — the list scrolls inside */
  max-height: calc(100vh - var(--head-h) - 16px); max-height: calc(100dvh - var(--head-h) - 16px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
@media (min-width: 560px) {   /* two columns from tablet width: 10 rows fit any laptop screen */
  .lang-list { width: 440px; }
  .lang-list ul { columns: 2; column-gap: 2px; }   /* filled down the first column, then the second */
  .lang-list li { break-inside: avoid; }
}
/* closed: really not rendered — Chromium lays out closed <details> content (content-visibility), which
   would fetch every menu font (Cyrillic, Vietnamese, the name subsets) on every page */
.lang-menu:not([open]) .lang-list { display: none; }
.lang-list a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 12px; border-radius: 9px; font-size: 14.5px; color: var(--text-2); }
.lang-list a:hover, .lang-list a:focus-visible { color: var(--text); background: var(--surface-2); outline: none; }
.lang-list a[aria-current] { color: var(--text); font-weight: 600; }
.lang-list a .i { width: 16px; height: 16px; color: var(--accent); }
.lang-list a[lang="hi"] { font-family: "LL Devanagari Name", "LL Sans", sans-serif; }
:lang(hi) .lang-list a[lang="hi"] { font-family: var(--font-sans); }
.lang-list a[lang="cs"] { font-family: "LL Czech Name", var(--font-sans); }
.lang-list a[lang="ro"] { font-family: "LL Romanian Name", var(--font-sans); }
.lang-list a[lang="el"] { font-family: "LL Greek Name", var(--font-sans); }
.lang-list a[lang="zh-Hans"] { font-family: var(--font-cjk); }   /* system fonts: nothing to download */
.lang-list a[lang="ar"] { font-family: var(--font-arabic); }
.lang-list a[lang="th"] { font-family: var(--font-thai); }
/* pages that already load the full file use it for their own (and their neighbours') item */
:is(:lang(cs), :lang(pl), :lang(hr), :lang(sr), :lang(ro)) .lang-list a[lang="cs"],
:is(:lang(ro), :lang(vi), :lang(hr), :lang(sr)) .lang-list a[lang="ro"],
:lang(el) .lang-list a[lang="el"] { font-family: var(--font-sans); }
@keyframes pop { from { opacity: 0; transform: translateY(-6px) scale(.98); } }

/* mobile menu */
.menu > summary { list-style: none; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; cursor: pointer; box-shadow: inset 0 0 0 1px var(--line-2); }
.menu > summary::-webkit-details-marker { display: none; }
.burger { display: grid; gap: 5px; width: 16px; }
.burger i { display: block; height: 1.5px; border-radius: 2px; background: var(--text); transition: transform .25s var(--ease); }
.menu[open] .burger i:first-child { transform: translateY(3.25px) rotate(45deg); }
.menu[open] .burger i:last-child { transform: translateY(-3.25px) rotate(-45deg); }
.menu-body { position: absolute; left: 0; right: 0; top: var(--head-h); height: calc(100vh - var(--head-h)); height: calc(100dvh - var(--head-h)); overflow-y: auto; padding: 8px var(--gutter) 32px; background: var(--bg); border-top: 1px solid var(--line); animation: pop .2s var(--ease); }
.menu-nav { display: flex; flex-direction: column; }
.menu-nav a { padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 22px; font-weight: 600; letter-spacing: -.02em; }
.menu-cta { display: grid; gap: 10px; margin-top: 28px; }
.menu-cta .btn { height: 52px; }

/* ---------- small parts ---------- */
.kicker { display: inline-flex; align-items: center; gap: 9px; min-height: 32px; padding: 4px 14px 4px 12px; padding-inline: 12px 14px; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-2); font-size: 13px; font-weight: 500; color: var(--text-2); }
.kicker a:hover { color: var(--text); }
.dot, .live-dot { position: relative; width: 7px; height: 7px; flex: none; border-radius: 50%; background: var(--accent); display: inline-block; }
.dot::after, .live-dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; background: var(--accent); opacity: .35; animation: ping 2.2s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(.5); opacity: .5; } 80%, 100% { transform: scale(1.6); opacity: 0; } }
.asof { display: flex; gap: 9px; align-items: center; font-size: 13px; line-height: 1.45; color: var(--text-3); }
.idx { display: flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 500; letter-spacing: .01em; color: var(--text-3); }
.idx b { font-weight: 600; color: var(--text); font-variant-numeric: tabular-nums; }
.idx b::after { content: ""; display: inline-block; width: 20px; height: 1px; margin-inline-start: 12px; vertical-align: middle; background: var(--line-2); }
.card, .panel { position: relative; min-width: 0; border-radius: var(--radius-l); background: var(--glass); box-shadow: var(--shadow); }
.crumbs { font-size: 13.5px; color: var(--text-3); }
.crumbs a { color: var(--text-2); } .crumbs a:hover { color: var(--text); }

/* ---------- home: hero ---------- */
.hero { position: relative; }   /* the 404 page */
.hx { position: relative; padding: 36px 0 56px; overflow: hidden; overflow: clip; isolation: isolate; }
.hx-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
/* film grain over the glow (an SVG noise tile, 1 KB inline) */
.hx-bg::after, .final-bg::before { content: ""; position: absolute; inset: 0; opacity: .05; mix-blend-mode: overlay; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E"); }
/* a fine grid fading out from the phone — light, no images */
.hx-grid { position: absolute; inset: -1px 0 0; background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px); background-size: 56px 56px; background-position: center top;
  -webkit-mask-image: radial-gradient(70% 60% at 70% 38%, #000 0%, transparent 75%); mask-image: radial-gradient(70% 60% at 70% 38%, #000 0%, transparent 75%); }
.hx-glow { position: absolute; inset: 0; background: radial-gradient(36% 42% at 74% 40%, rgba(34, 195, 130, .2), transparent 70%), radial-gradient(30% 30% at 88% 12%, rgba(80, 210, 193, .1), transparent 70%), radial-gradient(40% 50% at 10% 0%, rgba(255, 255, 255, .06), transparent 70%); }
.hx-in { display: grid; gap: 40px; align-items: center; }
.hx-copy { min-width: 0; }
.hx h1 { margin: 22px 0 22px; }
.hx h1 span, .hx h1 em { display: block; }
.hx h1 span { background: linear-gradient(180deg, #fff 30%, #C9CED6); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hx-proof { display: flex; align-items: center; gap: 18px; margin-top: 30px; padding: 16px 22px 16px 18px; padding-inline: 18px 22px; width: fit-content; max-width: 100%; border-radius: 20px; background: linear-gradient(100deg, rgba(34, 195, 130, .12), rgba(34, 195, 130, .02) 70%); box-shadow: inset 0 0 0 1px rgba(34, 195, 130, .22), inset 0 1px 0 rgba(255, 255, 255, .06); }
.hx-proof .track-n { font-size: clamp(42px, 4.6vw, 58px); }
.hx-proof .track-k { margin: 0; font-size: 14px; line-height: 1.4; color: var(--text-2); }
.hx .cta-row { margin-top: 28px; }
.hx-note { margin-top: 18px; max-width: 520px; font-size: 14px; line-height: 1.55; color: var(--text-3); }
.hx-vis { position: relative; display: grid; place-items: center; min-width: 0; padding: 8px 0 12px; }
.hx-halo { position: absolute; left: 50%; top: 50%; width: min(620px, 150vw); aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(34, 195, 130, .2), rgba(34, 195, 130, .05) 55%, transparent 72%); }
.hx-halo::before, .hx-halo::after { content: ""; position: absolute; inset: 14%; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .06); }
.hx-halo::after { inset: 0; border-color: rgba(255, 255, 255, .035); }
@media (min-width: 1040px) {
  .hx { padding: 56px 0 72px; }
  .hx-in { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 48px; }
}

/* floating facts next to the phone */
.fl { position: absolute; z-index: 2; display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px; padding-inline: 10px 14px; border-radius: 16px; background: rgba(22, 23, 27, .72); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1), inset 0 1px 0 rgba(255, 255, 255, .08), 0 20px 40px -12px rgba(0, 0, 0, .7); animation: bob 7s ease-in-out infinite; }
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .fl { background: rgba(28, 29, 34, .55); -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4); } }
.fl b { display: block; font-size: 15px; font-weight: 650; letter-spacing: -.01em; line-height: 1.2; }
.fl small { display: block; font-size: 12px; line-height: 1.3; color: var(--text-3); }
.fl .lg { border-radius: 9px; }
.fl-a { top: 15%; inset-inline-start: 0; }
.fl-b { bottom: 30%; inset-inline-end: 0; flex-direction: column; align-items: flex-start; gap: 2px; padding: 12px 16px; max-width: 170px; animation-delay: -3.5s; }
.fl-b b { font-size: 24px; letter-spacing: -.03em; color: var(--accent); }
@media (max-width: 459px) { .fl-a { inset-inline-start: -4px; top: 3%; } .fl-b { inset-inline-end: -4px; bottom: 10%; max-width: 140px; } .fl-b b { font-size: 20px; } }
@media (min-width: 1040px) { .fl-a { inset-inline-start: 2%; } .fl-b { inset-inline-end: 0; } }
@keyframes bob { 50% { transform: translateY(-8px); } }

/* ---------- phone mock-up (pure CSS; 1em = 10 px of a 418 px wide phone) ---------- */
.phone { --pw: 280px; position: relative; z-index: 1; width: var(--pw); flex: none; font-size: calc(var(--pw) / 41.8); padding: 1.25em; border-radius: 6.9em;
  background: linear-gradient(140deg, #5a5d63 0%, #24262a 18%, #121316 45%, #2b2d32 78%, #6a6d73 100%);
  box-shadow: inset 0 0 0 .12em rgba(255, 255, 255, .22), 0 0 0 .08em rgba(0, 0, 0, .8), 0 4em 8em -2em rgba(0, 0, 0, .85), 0 1em 3em -1em rgba(0, 0, 0, .6); }
.phone::before, .phone::after { content: ""; position: absolute; width: .45em; border-radius: .3em; background: linear-gradient(90deg, #2a2c30, #6d7076 60%, #2a2c30); }
.phone::before { right: -.32em; top: 21em; height: 10em; }                 /* side button */
.phone::after { left: -.32em; top: 17em; height: 6.4em; box-shadow: 0 8.6em 0 #4a4d52; }   /* volume */
.phone-scr { position: relative; overflow: hidden; border-radius: 5.65em; background: #1d1f23; box-shadow: 0 0 0 .95em #050506; aspect-ratio: 390 / 844; transform: translateZ(0); }
.phone-bar { display: flex; align-items: center; justify-content: space-between; height: 4.7em; padding: .4em 2.6em 0 3.6em; background: linear-gradient(100deg, #3c3e43, #24262a 70%); color: #fff; }
.phone-bar .num { font-size: 1.62em; font-weight: 600; letter-spacing: -.01em; }
.phone-ic { display: flex; align-items: center; gap: .55em; }
.phone-ic svg { width: auto; height: 1.2em; fill: currentColor; }
.phone-ic svg:last-child { height: 1.3em; }
.phone-scr picture, .phone-scr img { display: block; width: 100%; height: auto; }
.phone-island { position: absolute; top: 1.05em; left: 50%; width: 12.2em; height: 3.55em; transform: translateX(-50%); border-radius: 2em; background: #000; }
.phone-home { position: absolute; bottom: .85em; left: 50%; width: 13.4em; height: .5em; transform: translateX(-50%); border-radius: 1em; background: rgba(255, 255, 255, .78); }
.phone-hero { --pw: min(300px, 74vw); }
@media (min-width: 1040px) { .phone-hero { --pw: 330px; } }

/* ---------- trust strip ---------- */
.strip { position: relative; padding: 26px 0; border-block: 1px solid var(--line); background: linear-gradient(180deg, rgba(255, 255, 255, .02), rgba(255, 255, 255, .008)); }
.strip-in { display: grid; gap: 22px; }
.sg { display: grid; gap: 10px; min-width: 0; }
.sk { font-size: 12.5px; font-weight: 500; line-height: 1.4; letter-spacing: .01em; color: var(--text-3); }
.sv-ex { display: flex; align-items: center; gap: 10px; font-size: 21px; font-weight: 650; letter-spacing: -.03em; }
.sv-ex .lg { border-radius: 9px; }
.logos { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.logos li { line-height: 0; transition: transform .2s var(--ease); }
.logos li:hover { transform: translateY(-3px); position: relative; z-index: 1; }
.logos .lg { border-radius: 50%; box-shadow: 0 0 0 1px rgba(255, 255, 255, .1); }
.logos .lg-networks { border-radius: 9px; }
.lg { display: block; flex: none; }
.mono { display: inline-grid; place-items: center; width: var(--s); height: var(--s); flex: none; border-radius: 50%; background: var(--surface-2); color: var(--text-2); font-size: calc(var(--s) * .45); font-weight: 600; box-shadow: 0 0 0 2.5px var(--bg); }
@media (min-width: 900px) {
  .strip-in { grid-template-columns: auto auto auto; justify-content: space-between; align-items: center; gap: 0; }
  .sg { padding: 0 32px; border-inline-start: 1px solid var(--line); }
  .sg:first-child { padding-inline-start: 0; border-inline-start: 0; }
  .sg:last-child { padding-inline-end: 0; }
}

/* ---------- sections ---------- */
.sec { position: relative; padding: 88px 0; }
.sec::before { content: ""; position: absolute; top: 0; left: 50%; width: min(var(--container), calc(100% - 2 * var(--gutter))); height: 1px; transform: translateX(-50%); background: linear-gradient(90deg, transparent, var(--line-2) 20%, var(--line-2) 80%, transparent); }
#product::before { display: none; }
.sec-tight { padding: 56px 0; }
@media (min-width: 900px) { .sec { padding: 120px 0; } .sec-tight { padding: 72px 0; } }
.sec-head { display: grid; gap: 18px; max-width: 780px; margin-bottom: 44px; }
.sec-head .p2 { font-size: 17px; line-height: 1.6; max-width: 620px; }
@media (min-width: 900px) { .sec-head { margin-bottom: 60px; } }
.sec-head-art { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; max-width: none; }
.sec-head-art > div { display: grid; gap: 18px; max-width: 780px; }

/* signal record cards */
.cards { display: grid; gap: 16px; }
@media (min-width: 860px) { .cards { grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 20px; } }
.card { display: flex; flex-direction: column; padding: 24px; }
@media (min-width: 900px) { .card { padding: 32px; } }
.card .since { margin-top: 6px; font-size: 13px; color: var(--text-3); }
.card .big { margin-top: 32px; font-size: clamp(48px, 5.4vw, 64px); font-weight: 600; line-height: 1; letter-spacing: -.05em; }
.card .big-k { margin-top: 10px; font-size: 14px; color: var(--text-2); }
.meter { height: 6px; margin-top: 20px; border-radius: 99px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.meter i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, rgba(34, 195, 130, .55), var(--accent)); transform-origin: left; animation: grow .8s var(--ease) both .1s; }
@keyframes grow { from { transform: scaleX(0); } }
.card .ll-chart, .card .spark { margin-top: 20px; }
.kv { margin-top: 24px; }
.kv > div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 14.5px; }
.kv dt { color: var(--text-2); }
.kv dd { text-align: end; font-weight: 600; font-variant-numeric: tabular-nums; }
.card .note { margin-top: 16px; font-size: 13.5px; line-height: 1.55; color: var(--text-3); }
.card-link { margin-top: auto; padding-top: 24px; }


/* ---------- home: tiles (bento) ---------- */
.tile, .hstep, .track, .nets-box, .safe > li { position: relative; min-width: 0; border-radius: 28px;
  background: radial-gradient(120% 90% at 0% 0%, rgba(255, 255, 255, .055), transparent 55%), linear-gradient(180deg, #121317, #0C0D10);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), inset 0 0 0 1px rgba(255, 255, 255, .07), 0 30px 60px -32px rgba(0, 0, 0, .85); }
.bento { display: grid; gap: 14px; }
.tile { display: flex; flex-direction: column; overflow: hidden; padding: 26px; }
.tile h3 { margin-top: 18px; font-size: 21px; line-height: 1.25; letter-spacing: -.025em; font-weight: 650; text-wrap: balance; }
.tile p { margin-top: 10px; font-size: 15px; line-height: 1.6; color: var(--text-2); text-wrap: pretty; }
.tile-copy { position: relative; z-index: 1; min-width: 0; }
.tile-k { display: flex; align-items: center; gap: 10px; margin: 0 !important; font-size: 13.5px !important; font-weight: 600; color: var(--text) !important; }
.tile-big { display: block; font-size: clamp(34px, 3.4vw, 44px); line-height: 1.05; letter-spacing: -.045em; font-weight: 650; }
.tile-lab { display: block; margin-top: 8px; font-size: 15px; font-weight: 500; letter-spacing: -.01em; color: var(--text-2); }
.tile-more { margin-top: auto !important; padding-top: 18px; }
.i3d { display: block; width: 84px; height: 84px; flex: none; filter: drop-shadow(0 16px 22px rgba(0, 0, 0, .55)); }
.i3d img { width: 100%; height: 100%; }
.i3d-sm { width: 32px; height: 32px; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .5)); }
.i3d-xl { width: 132px; height: 132px; }
@media (max-width: 699px) { .i3d-xl { width: 92px; height: 92px; } }
.tile-shot { position: relative; margin: 24px 0 0; }
.tile-shot img { width: 100%; height: auto; border-radius: 18px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 30px 60px -20px rgba(0, 0, 0, .9); }
.shot-fade { -webkit-mask-image: linear-gradient(180deg, #000 45%, transparent 98%); mask-image: linear-gradient(180deg, #000 45%, transparent 98%); }

/* the engine: copy + a live screenshot running off the corner */
.t-find { background: radial-gradient(70% 70% at 100% 100%, rgba(34, 195, 130, .14), transparent 70%), radial-gradient(120% 90% at 0% 0%, rgba(255, 255, 255, .055), transparent 55%), linear-gradient(180deg, #121317, #0C0D10); }
.t-find .tile-shot { margin-inline-end: -26px; margin-bottom: -26px; }
.t-find .tile-shot img { border-radius: 0; border-start-start-radius: 18px; }
/* the risk officer */
.t-risk { background: radial-gradient(80% 50% at 100% 0%, rgba(34, 195, 130, .13), transparent 70%), radial-gradient(120% 90% at 0% 0%, rgba(255, 255, 255, .05), transparent 55%), linear-gradient(180deg, #121317, #0C0D10); }
.t-risk .tile-shot { margin-bottom: -26px; }
.gauge { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 22px; padding: 4px; border-radius: 14px; background: rgba(0, 0, 0, .35); box-shadow: inset 0 0 0 1px var(--line); }
.gauge li { display: flex; align-items: center; justify-content: center; gap: 8px; min-width: 0; flex: 1 1 auto; height: 40px; padding: 0 12px; border-radius: 10px; font-size: 13.5px; font-weight: 600; color: var(--text-3); white-space: nowrap; }
.gauge li::before { content: ""; width: 7px; height: 7px; flex: none; border-radius: 50%; background: currentColor; }
.gauge .s0 { color: #04110B; background: var(--accent); box-shadow: 0 6px 18px -4px rgba(34, 195, 130, .55), inset 0 1px 0 rgba(255, 255, 255, .35); }
.gauge .s0::before { background: #04110B; }
.gauge .s1::before { background: var(--warn); } .gauge .s2::before { background: var(--danger); }
.acts { display: grid; gap: 12px; margin-top: 20px; }
.acts li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; align-items: start; font-size: 14.5px; line-height: 1.5; color: var(--text-2); }
.acts .i { width: 22px; height: 22px; padding: 4.5px; border-radius: 50%; color: var(--accent); background: var(--accent-2); stroke-width: 2.6; }
/* small tiles: a 3D object in the corner */
.t-min, .t-wd, .t-clock, .t-key { padding-top: 22px; }
.t-min .i3d, .t-wd .i3d, .t-clock .i3d, .t-key .i3d { margin: -4px 0 4px; margin-inline: -6px 0; }
@media (max-width: 719px) {   /* phones: the 3D object sits in the top-right corner, the tile stays compact */
  .t-min .i3d, .t-wd .i3d, .t-clock .i3d, .t-key .i3d { position: absolute; top: 18px; inset-inline-end: 18px; width: 72px; height: 72px; margin: 0; }
  .t-min h3, .t-wd h3, .t-clock h3, .t-key h3 { margin-top: 4px; padding-inline-end: 84px; }
  .tile-big { font-size: clamp(30px, 8.6vw, 40px); overflow-wrap: break-word; hyphens: auto; }
}
@media (max-width: 379px) {   /* 360 px phones: long words (el «Οποτεδήποτε») still fit */
  .t-min .i3d, .t-wd .i3d, .t-clock .i3d, .t-key .i3d { width: 60px; height: 60px; top: 16px; inset-inline-end: 14px; }
  .t-min h3, .t-wd h3, .t-clock h3, .t-key h3 { padding-inline-end: 66px; }
}
@media (min-width: 720px) { .t-min h3, .t-wd h3 { margin-top: auto; padding-top: 28px; } }
.t-min::after, .t-wd::after, .t-clock::after, .t-key::after { content: ""; position: absolute; inset-inline-start: -10%; top: -30%; width: 70%; height: 80%; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 255, 255, .06), transparent); pointer-events: none; }
@media (min-width: 720px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .t-find, .t-risk { grid-column: span 2; }
  .t-find { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 28px; align-items: end; }
  .t-find .tile-copy { align-self: start; }
}
@media (min-width: 1080px) {
  .bento { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
  .tile { padding: 30px; }
  .t-find { grid-column: 1 / 5; grid-row: 1; }
  .t-find .tile-shot { margin-inline-end: -30px; margin-bottom: -30px; }
  .t-risk { grid-column: 5 / 7; grid-row: 1 / 3; }
  .t-risk .tile-shot { margin-bottom: -30px; }
  .t-min { grid-column: 1 / 3; } .t-wd { grid-column: 3 / 5; }
  .t-clock { grid-column: 1 / 4; } .t-key { grid-column: 4 / 7; }
  .t-clock, .t-key { display: grid; grid-template-columns: 96px minmax(0, 1fr); column-gap: 20px; align-content: start; }
  .t-clock > *, .t-key > * { grid-column: 2; }
  .t-clock .i3d, .t-key .i3d { grid-column: 1; grid-row: 1 / 5; width: 96px; height: 96px; margin: 0; }
  .t-clock h3, .t-key h3 { margin-top: 2px; }
}

/* ---------- home: how to start ---------- */
.hsteps { display: grid; gap: 14px; }
@media (min-width: 860px) { .hsteps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
.hstep { display: flex; flex-direction: column; overflow: hidden; }
.hstep-copy { padding: 4px 26px 28px; }
.hstep .n { display: inline-grid; place-items: center; height: 26px; padding: 0 9px; border-radius: 99px; font-size: 12.5px; font-weight: 650; color: var(--text); background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line-2); }
.hstep .t { margin-top: 16px; font-size: 20px; font-weight: 650; letter-spacing: -.02em; line-height: 1.3; }
.hstep .d { margin-top: 10px; font-size: 15px; line-height: 1.6; color: var(--text-2); }
.sv { position: relative; height: 236px; overflow: hidden; margin-bottom: 18px; border-bottom: 1px solid var(--line); background: radial-gradient(60% 80% at 50% 100%, rgba(34, 195, 130, .12), transparent 70%), repeating-linear-gradient(90deg, rgba(255, 255, 255, .03) 0 1px, transparent 1px 28px); }
.sv-open { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; }
.sv-glow { position: absolute; left: 50%; top: 42%; width: 220px; height: 220px; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 255, 255, .12), transparent); }
.sv-app { position: relative; width: 76px; height: 76px; border-radius: 21px; box-shadow: 0 18px 40px -8px rgba(255, 255, 255, .25), 0 0 0 1px rgba(255, 255, 255, .2); }
.sv-btn { position: relative; display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 18px; border-radius: 12px; background: var(--text); color: #0A0B0D; font-size: 14px; font-weight: 600; white-space: nowrap; box-shadow: 0 10px 30px -10px rgba(255, 255, 255, .35); }
.sv-btn .i { width: 16px; height: 16px; }
.sv-tap { position: absolute; inset-inline-end: 6px; top: 50%; margin-top: -17px; width: 34px; height: 34px; border-radius: 50%; background: rgba(255, 255, 255, .35); box-shadow: 0 0 0 1px rgba(255, 255, 255, .5); animation: tap 2.4s var(--ease) infinite; }
@keyframes tap { 0% { transform: scale(.4); opacity: 0; } 20% { opacity: 1; } 70%, 100% { transform: scale(1.6); opacity: 0; } }
.sv-shot { display: flex; justify-content: center; align-items: flex-start; padding-top: 26px; }
.sv-shot picture { width: min(78%, 300px); }
.sv-shot img { width: 100%; height: auto; border-radius: 20px 20px 0 0; box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), 0 24px 50px -10px rgba(0, 0, 0, .9); }
.sv-card img { border-radius: 18px; }

/* deposit networks */
.nets-box { display: grid; gap: 16px; margin-top: 16px; padding: 22px 24px; border-radius: 22px; }
@media (min-width: 900px) { .nets-box { grid-template-columns: 180px minmax(0, 1fr); align-items: center; padding: 22px 28px; } }
.nets { display: flex; flex-wrap: wrap; gap: 8px; }
.nets li { display: inline-flex; align-items: center; gap: 9px; padding: 6px 12px 6px 6px; padding-inline: 6px 12px; border-radius: 12px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; }
.nets li > .lg { border-radius: 7px; }
.nets b { font-weight: 600; }
.nets span { display: inline-flex; align-items: center; padding-inline-start: 4px; }
.nets span .lg { margin-inline-start: -4px; border-radius: 50%; box-shadow: 0 0 0 2px #15161A; }
.nets em { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- home: live record ---------- */
.track { display: grid; gap: 24px; padding: 26px; overflow: hidden; background: radial-gradient(60% 60% at 0% 0%, rgba(34, 195, 130, .1), transparent 70%), radial-gradient(120% 90% at 0% 0%, rgba(255, 255, 255, .05), transparent 55%), linear-gradient(180deg, #121317, #0C0D10); }
.track-side { display: flex; flex-direction: column; min-width: 0; }
.track-title { display: flex; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 500; color: var(--text-2); }
.track-big { margin-top: 18px; }
.track-n { font-size: clamp(52px, 6vw, 72px); font-weight: 650; line-height: 1; letter-spacing: -.05em; }
.track-n.up { color: var(--accent); background: linear-gradient(180deg, #7BF5C0, var(--accent) 70%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; filter: drop-shadow(0 0 28px rgba(34, 195, 130, .35)); }
.track-n.dn { color: var(--danger); }
.track-k { margin-top: 10px; font-size: 15px; color: var(--text-2); }
.track-chart { min-width: 0; --ll-chart-h: clamp(190px, 26vw, 300px); }
.track-chart:empty { display: none; }
.track-legend { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 22px; font-size: 13px; color: var(--text-2); }
.track-legend span { display: inline-flex; align-items: center; gap: 9px; }
.track-legend .sw { display: inline-block; width: 8px; height: 8px; }
.sw { width: 10px; height: 10px; border-radius: 3px; }
.sw-channel { background: var(--accent); box-shadow: 0 0 0 3px var(--accent-2); }
.sw-personal { background: var(--text-2); box-shadow: 0 0 0 3px rgba(255, 255, 255, .08); }
.track-foot { display: grid; gap: 12px; margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line); }
@media (min-width: 960px) {
  .track { grid-template-columns: minmax(0, 330px) minmax(0, 1fr); gap: 48px; padding: 36px 36px 30px; align-items: stretch; }
  .track-foot { margin-top: auto; }
  .track-chart { align-self: center; }
}

/* ---------- home: security ---------- */
.safe { display: grid; gap: 12px; }
@media (min-width: 700px) { .safe { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1080px) { .safe { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
.safe > li { display: flex; flex-direction: column; gap: 8px; padding: 24px; border-radius: 24px; }
@media (min-width: 900px) { .safe > li { padding: 28px; } }
.safe .ico { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 16px; border-radius: 13px; color: var(--accent); background: linear-gradient(180deg, rgba(34, 195, 130, .2), rgba(34, 195, 130, .06)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), inset 0 0 0 1px rgba(34, 195, 130, .28); }
.safe .ico .i { width: 20px; height: 20px; }
.safe .t { font-size: 17.5px; font-weight: 600; letter-spacing: -.015em; line-height: 1.35; }
.safe .d { font-size: 15px; line-height: 1.6; color: var(--text-2); }

/* ---------- home: FAQ ---------- */
.faq-grid { display: grid; gap: 40px; }
.faq-side { display: grid; gap: 18px; align-content: start; }
.faq-side .cta-row { margin-top: 8px; }
@media (min-width: 1040px) {
  .faq-grid { grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); gap: 80px; }
  .faq-side { position: sticky; top: calc(var(--head-h) + 40px); align-self: start; }
}
.faq { display: grid; gap: 10px; }
.faq details { border-radius: 18px; background: rgba(255, 255, 255, .025); box-shadow: inset 0 0 0 1px var(--line); transition: background-color .2s, box-shadow .2s; }
.faq details[open] { background: rgba(255, 255, 255, .045); box-shadow: inset 0 0 0 1px var(--line-2); }
.faq summary { list-style: none; display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 20px 22px; cursor: pointer; font-size: 17px; font-weight: 550; line-height: 1.4; letter-spacing: -.01em; transition: color .15s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover .q { color: #fff; }
.faq .pm { position: relative; flex: none; width: 28px; height: 28px; margin-top: -2px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line-2); color: var(--text-2); transition: background-color .2s, transform .3s var(--ease); }
.faq .pm::before, .faq .pm::after { content: ""; position: absolute; left: 9px; right: 9px; top: 13.25px; height: 1.5px; border-radius: 2px; background: currentColor; }
.faq .pm::after { transform: rotate(90deg); transition: transform .3s var(--ease); }
.faq details[open] .pm { background: var(--text); color: var(--bg); box-shadow: none; }
.faq details[open] .pm::after { transform: rotate(0); }
.faq .a { padding: 0 64px 22px 22px; padding-inline: 22px 64px; font-size: 15.5px; line-height: 1.7; color: var(--text-2); }
@media (max-width: 559px) { .faq .a { padding-inline-end: 22px; } }
@supports selector(::details-content) {
  :root { interpolate-size: allow-keywords; }
  .faq details::details-content { height: 0; overflow: clip; transition: height .35s var(--ease), content-visibility .35s allow-discrete; }
  .faq details[open]::details-content { height: auto; }
}

/* ---------- home: closing call to action ---------- */
.final { position: relative; padding: 88px 0 0; overflow: hidden; overflow: clip; isolation: isolate; }
.final::before { content: ""; position: absolute; top: 0; left: 50%; width: min(var(--container), calc(100% - 2 * var(--gutter))); height: 1px; transform: translateX(-50%); background: linear-gradient(90deg, transparent, var(--line-2) 20%, var(--line-2) 80%, transparent); }
.final-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(50% 60% at 50% 100%, rgba(34, 195, 130, .22), transparent 70%), radial-gradient(30% 40% at 80% 90%, rgba(80, 210, 193, .1), transparent 70%); }
.final-bg::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(60% 70% at 50% 100%, #000, transparent 75%); mask-image: radial-gradient(60% 70% at 50% 100%, #000, transparent 75%); }
.final-in { display: grid; gap: 48px; justify-items: center; text-align: center; }
.final-copy { display: flex; flex-direction: column; align-items: center; }
.mark-lg { width: 64px; height: 64px; margin-bottom: 28px; border-radius: 18px; box-shadow: 0 20px 60px -10px rgba(255, 255, 255, .25); }
.final h2 { max-width: 760px; font-size: clamp(36px, 5.2vw, 68px); }
.final h2 .mut { display: block; }
.final .cta-row { justify-content: center; margin-top: 36px; }
.final-vis { height: 400px; overflow: hidden; display: flex; justify-content: center; align-items: flex-start; width: 100%; padding-top: 4px; }
.phone-final { --pw: 290px; }
@media (min-width: 960px) {
  .final { padding-top: 96px; }
  .final-in { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center; justify-items: stretch; text-align: start; gap: 40px; }

  .final-copy { align-items: flex-start; padding-bottom: 72px; }
  .final .cta-row { justify-content: flex-start; }
  .final-vis { height: 560px; }
  .phone-final { --pw: 330px; }
}

/* ---------- 404 ---------- */
.nf { padding: 80px 0 120px; }
.nf-code { font-size: clamp(96px, 18vw, 200px); font-weight: 650; line-height: .9; letter-spacing: -.06em; color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .2); }
.nf h1 { margin: 24px 0 18px; font-size: clamp(36px, 5vw, 60px); }

/* ---------- footer ---------- */
.foot { padding: 64px 0 calc(40px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); font-size: 14px; color: var(--text-2); background: linear-gradient(180deg, rgba(255, 255, 255, .015), transparent 60%); }
.foot-top { display: grid; gap: 40px; }
.foot .brand { color: var(--text); }
.foot-about { margin-top: 16px; max-width: 340px; font-size: 14px; line-height: 1.6; color: var(--text-3); }
.foot-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; }
.foot-col { display: grid; gap: 12px; align-content: start; }
.foot-col a { width: fit-content; transition: color .15s; }
.foot-col a:hover { color: var(--text); }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; color: var(--text-3); }
@media (min-width: 640px) { .foot-links { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 960px) { .foot-top { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 64px; } }

/* ---------- motion: tiles rise into view (CSS only, Chrome/Edge/Safari 26+) ---------- */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .tile, .hstep, .safe > li, .track, .nets-box, .faq details, .final-vis .phone {
      animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 25%;
    }
  }
}
/* 10.11.2026 (владелец: «блоки на сайте тормозят при открытии»): плитка видна сразу, как вошла в экран
   (раньше — от нуля, пока не покажется больше половины высоты), hero собирается за ~0,5 с, а не 1,2 с;
   картинка телефона (самый крупный элемент первого экрана) не прячется прозрачностью — только сдвиг */
@keyframes rise { from { opacity: .5; transform: translateY(20px); } }
.hx-copy > * { animation: lift .45s var(--ease) both; }
.hx-copy > :nth-child(2) { animation-delay: .03s; } .hx-copy > :nth-child(3) { animation-delay: .05s; }
.hx-copy > :nth-child(4) { animation-delay: .07s; } .hx-copy > :nth-child(n+5) { animation-delay: .08s; }
.phone-hero { animation: slide .5s var(--ease) both .04s; }
@keyframes lift { from { opacity: 0; transform: translateY(14px); } }
@keyframes slide { from { transform: translateY(14px); } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .dot::after, .live-dot::after, .sv-tap { display: none; }
}
html.menu-open { overflow: hidden; }

/* ---------- right-to-left (Arabic): logical properties above mirror the layout; here the rest ---------- */
/* forward arrows point the reading way (the individual `scale` composes with the hover translateX) */
[dir="rtl"] :is(.i-go, .i-out, .sv-btn .i, .c-proof .i) { scale: -1 1; }
/* figures stay left-to-right so a sign never jumps to the other side ("+4.50%", "−$17.15") */
[dir="rtl"] :is(.chip, .kv dd.up, .kv dd.dn) { direction: ltr; unicode-bidi: isolate; }
[dir="rtl"] :is(.track-n, .rs-v, .big) { direction: ltr; text-align: right; }
/* code is left-to-right; an article table cell takes its direction from its own text, so an amount
   cell ("+$1,234.50") reads left to right and an Arabic cell right to left */
[dir="rtl"] :is(.prose code, .prose pre) { direction: ltr; unicode-bidi: isolate; text-align: left; }
[dir="rtl"] .prose :is(th, td) { unicode-bidi: plaintext; text-align: right; }
/* the phone mock-up is a picture of the app: never mirrored */
[dir="rtl"] .phone { direction: ltr; }
/* glows that belong to a side of the layout follow it */
[dir="rtl"] .hx-grid { -webkit-mask-image: radial-gradient(70% 60% at 30% 38%, #000 0%, transparent 75%); mask-image: radial-gradient(70% 60% at 30% 38%, #000 0%, transparent 75%); }
[dir="rtl"] .hx-glow { background: radial-gradient(36% 42% at 26% 40%, rgba(34, 195, 130, .2), transparent 70%), radial-gradient(30% 30% at 12% 12%, rgba(80, 210, 193, .1), transparent 70%), radial-gradient(40% 50% at 90% 0%, rgba(255, 255, 255, .06), transparent 70%); }
[dir="rtl"] .hx-proof { background: linear-gradient(260deg, rgba(34, 195, 130, .12), rgba(34, 195, 130, .02) 70%); }
[dir="rtl"] .t-find { background: radial-gradient(70% 70% at 0% 100%, rgba(34, 195, 130, .14), transparent 70%), radial-gradient(120% 90% at 0% 0%, rgba(255, 255, 255, .055), transparent 55%), linear-gradient(180deg, #121317, #0C0D10); }
[dir="rtl"] .t-risk { background: radial-gradient(80% 50% at 0% 0%, rgba(34, 195, 130, .13), transparent 70%), radial-gradient(120% 90% at 0% 0%, rgba(255, 255, 255, .05), transparent 55%), linear-gradient(180deg, #121317, #0C0D10); }
[dir="rtl"] .track { background: radial-gradient(60% 60% at 100% 0%, rgba(34, 195, 130, .1), transparent 70%), radial-gradient(120% 90% at 0% 0%, rgba(255, 255, 255, .05), transparent 55%), linear-gradient(180deg, #121317, #0C0D10); }
[dir="rtl"] .final-bg { background: radial-gradient(50% 60% at 50% 100%, rgba(34, 195, 130, .22), transparent 70%), radial-gradient(30% 40% at 20% 90%, rgba(80, 210, 193, .1), transparent 70%); }
