/* The Source Finance — site styles.
   Layout, type scale and motion measured from the licensed template. */


:root {
  --bg: #000;
  --fg: #fff;
  --muted: #c2c2c2;
  --muted-2: #8a8a8a;
  --muted-3: #5c5c5c;
  --surface: #0d0d0d;
  --surface-2: #0f0f0f;
  --glass: rgba(255, 255, 255, .06);
  --line: rgba(255, 255, 255, .12);
  --hl: rgba(255, 255, 255, .2);
  --ring: #222;
  /* gold, champagne metallic (2026-11-08): replaces the orange one to one */
  --gold-100: #F6EBC9;
  --gold-300: #E3C77E;
  --gold-500: #C9A54E;
  --gold-700: #9A7A2E;
  --gold-900: #5C4716;
  --gold-grad: linear-gradient(135deg, #F6EBC9 0%, #E3C77E 22%, #C9A54E 50%, #9A7A2E 74%, #E3C77E 100%);
  --accent: var(--gold-500);
  --accent-soft: rgba(201, 165, 78, .16);
  --accent-glow: rgba(201, 165, 78, .45);
  --up: #6ee7a0;
  --down: #ff9a9a;

  --f-display: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --f-num: "Geist Mono", ui-monospace, Menlo, monospace;

  --container: 1080px;
  --gutter: 16px;
  --section-y: 80px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-template: cubic-bezier(.12, .23, .17, .99);
  --ease-text: cubic-bezier(.12, .23, .17, .98);
  --ease-spring: cubic-bezier(.3, 1.25, .5, 1);   /* spring, bounce .2, .4 s */
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.4;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
p, h1, h2, h3, h4, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Page wrapper + film grain (behind content, above the black background) */
.page { position: relative; isolation: isolate; min-height: 100vh; overflow-x: clip; }
.page::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: url("../img/noise.png") repeat; background-size: 153.5px; opacity: .15;   /* v6.1: grain .19 → .15 */
}

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Type ---------- */
.display { font-family: var(--f-display); font-variation-settings: "opsz" 32; font-weight: 400; }
.h1 { font-size: clamp(44px, 4.7vw, 68px); line-height: 1; letter-spacing: -.045em; }
.h2 { font-size: clamp(32px, 3.1vw, 44px); line-height: 1.06; letter-spacing: -.035em; text-wrap: balance; }
.dim { color: var(--muted-2); }
.lead { font-size: 20px; line-height: 1.3; letter-spacing: -.02em; }
.body { font-size: 16px; line-height: 1.4; color: var(--muted); }
.small { font-size: 14px; line-height: 1.3; color: var(--muted); }
.strong { font-weight: 500; line-height: 1.2; color: var(--fg); }
.mono { font-family: var(--f-mono); font-size: 14px; line-height: 1.2; letter-spacing: -.02em; text-transform: uppercase; }
.num { font-family: var(--f-num); font-weight: 300; font-size: 40px; line-height: 1.1; letter-spacing: -.02em; }
.muted { color: var(--muted); }

/* Section label: accent dot + mono caption */
.label { display: inline-flex; align-items: center; gap: 10px; }
.mono.label { font-size: 12px; letter-spacing: .06em; color: var(--muted); }
.label::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold-grad); box-shadow: 0 0 0 3px var(--accent-soft), 0 0 12px var(--accent-glow); flex: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 40px; padding: 0 16px; border-radius: 48px; border: 0; cursor: pointer;
  background: var(--glass); box-shadow: inset 0 1.5px 0 0 var(--hl);
  -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px);
  font-weight: 500; font-size: 16px; line-height: 1.2; color: var(--fg); white-space: nowrap;
  transition: background-color .4s var(--ease-spring), box-shadow .4s var(--ease-spring), translate .5s var(--ease-spring);
}
.btn:hover { background: rgba(255, 255, 255, .2); }
.btn--ghost { height: 32px; padding: 8px; background: transparent; box-shadow: none; }
.btn--ghost:hover { background: var(--glass); }
.btn--line { background: transparent; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2); }
.btn--line:hover { background: var(--glass); }
/* primary: the one action per view */
.btn--primary { background: #fff; color: #0a0a0a; box-shadow: 0 0 0 1px rgba(255, 255, 255, .5), 0 10px 32px -10px var(--accent-glow); -webkit-backdrop-filter: none; backdrop-filter: none; }
.btn--primary:hover { background: #ececec; }
.btn--sm { height: 36px; padding: 0 14px; font-size: 14px; }
.btn .icon { width: 15px; height: 15px; transition: transform .45s var(--ease-spring); }
.btn:hover .icon--go { transform: translateX(3px); }

/* ---------- Glass surfaces ---------- */
.glass {
  background: var(--glass); border-radius: 16px; box-shadow: inset 0 1px 0 0 var(--hl);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}

/* ---------- Glyphs: the stones' engravings, as small marks on the page (v5.16) ---------- */
.glyph { width: 24px; height: 24px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.1; stroke-linecap: round; stroke-linejoin: round; color: var(--gold-500); opacity: .9; filter: drop-shadow(0 0 10px rgba(201, 165, 78, .25)); }
.head .glyph { width: 26px; height: 26px; margin-bottom: 2px; }
.head:not(.head--center) .glyph { align-self: flex-start; }
.glyph--sm { width: 15px; height: 15px; stroke-width: 1.3; color: var(--gold-700); filter: none; opacity: 1; }
/* a tick rule at the top of every section: the dial carved in the stone */
.section::before { content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: min(560px, 76%); height: 9px; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .14) 18%, rgba(255, 255, 255, .14) 82%, transparent) 50% 4px / 100% 1px no-repeat,
              repeating-linear-gradient(90deg, rgba(201, 165, 78, .42) 0 1px, transparent 1px 14px) 50% 0 / 62% 100% no-repeat; }
.cta__icon .mark { color: var(--gold-300); }

/* ---------- Icons ---------- */
.icon { width: 16px; height: 16px; flex: none; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.feature { display: grid; grid-template-columns: 16px 1fr; column-gap: 8px; row-gap: 4px; align-items: start; }
.feature .icon { margin-top: 1.5px; color: var(--fg); }
.feature__title { font-weight: 500; line-height: 1.2; }
.feature__text { grid-column: 2; color: var(--muted); }

/* ---------- Brand mark ---------- */
.mark { width: 20px; height: 20px; flex: none; overflow: visible; }
.brand .mark { width: 24px; height: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--fg); }
.brand__name { font-family: var(--f-display); font-variation-settings: "opsz" 32; font-weight: 500; font-size: 20px; line-height: 1.2; letter-spacing: -.02em; white-space: nowrap; }

/* ---------- Navigation (v5): floating glass bar, hides going down, active pill ---------- */
.skip { position: fixed; left: 16px; top: 12px; z-index: 90; padding: 10px 14px; border-radius: 10px; background: #fff; color: #000; font-size: 14px; font-weight: 500; transform: translateY(-180%); transition: transform .3s var(--ease-out); }
.skip:focus { transform: none; }
/* at rest the bar floats well below the edge; once the page scrolls it sticks near the top and stays visible */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; padding: 32px 16px 0; pointer-events: none; transition: padding .5s var(--ease-template); }
.nav.is-scrolled { padding-top: 10px; }
.nav__bar { position: relative; pointer-events: auto; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; max-width: calc(var(--container) + 32px); height: 56px; margin-inline: auto; padding: 0 10px 0 18px; border-radius: 56px; background: rgba(14, 14, 14, 0); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0); transition: background-color .5s var(--ease-template), box-shadow .5s var(--ease-template), max-width .8s var(--ease-template), transform .6s var(--ease-template); view-transition-name: site-nav; }
.nav__bar::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4); opacity: 0; transition: opacity .5s var(--ease-template); }
.nav.is-scrolled .nav__bar, .nav.is-open .nav__bar { max-width: 960px; background: rgba(14, 14, 14, .66); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .09), inset 0 0 0 1px rgba(255, 255, 255, .07), 0 18px 50px -18px rgba(0, 0, 0, .9); }
.nav.is-scrolled .nav__bar::before { opacity: 1; }
.nav__links { position: relative; display: flex; gap: 2px; }
.nav__links a { position: relative; z-index: 1; padding: 7px 12px; border-radius: 40px; font-size: 14px; color: var(--muted); transition: color .3s; white-space: nowrap; }
.nav__links a:hover, .nav__links a.is-active, .nav__links a[aria-current="page"] { color: var(--fg); }
.nav__pill { position: absolute; top: 0; left: 0; height: 100%; width: var(--pw, 0px); transform: translateX(var(--px, 0px)); border-radius: 40px; background: rgba(255, 255, 255, .08); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1); opacity: 0; transition: transform .55s var(--ease-spring), width .55s var(--ease-spring), opacity .35s; }
.nav__links.has-pill .nav__pill { opacity: 1; }
.nav__end { justify-self: end; display: flex; align-items: center; gap: 8px; }
.nav__toggle { display: none; position: relative; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 40px; background: var(--glass); box-shadow: inset 0 1px 0 var(--hl); cursor: pointer; }
.nav__toggle span { position: absolute; left: 13px; width: 14px; height: 1.5px; border-radius: 2px; background: var(--fg); transition: transform .45s var(--ease-spring), top .45s var(--ease-spring); }
.nav__toggle span:nth-child(1) { top: 16px; }
.nav__toggle span:nth-child(2) { top: 22px; }
.nav.is-open .nav__toggle span:nth-child(1) { top: 19px; transform: rotate(45deg); }
.nav.is-open .nav__toggle span:nth-child(2) { top: 19px; transform: rotate(-45deg); }
.nav__menu { position: fixed; inset: 0; z-index: -1; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; padding: 96px 24px 28px; background: rgba(6, 6, 6, .94); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); pointer-events: auto; opacity: 0; overflow-y: auto; transition: opacity .45s var(--ease-template); }
.nav__menu[hidden] { display: none; }
.nav.is-open .nav__menu { opacity: 1; }
.nav__menu-links { display: flex; flex-direction: column; }
.nav__menu-links a { display: flex; align-items: baseline; gap: 14px; padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, .07); font-family: var(--f-display); font-size: 32px; line-height: 1.1; letter-spacing: -.03em; opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease-template), transform .6s var(--ease-template); }
.nav__menu-links .mono { font-size: 11px; letter-spacing: .04em; color: var(--muted-2); }
.nav.is-open .nav__menu-links a { opacity: 1; transform: none; }
.nav.is-open .nav__menu-links a:nth-child(2) { transition-delay: .04s; }
.nav.is-open .nav__menu-links a:nth-child(3) { transition-delay: .08s; }
.nav.is-open .nav__menu-links a:nth-child(4) { transition-delay: .12s; }
.nav.is-open .nav__menu-links a:nth-child(5) { transition-delay: .16s; }
.nav.is-open .nav__menu-links a:nth-child(6) { transition-delay: .2s; }
.nav__doors { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease-template) .24s, transform .6s var(--ease-template) .24s; }
.nav.is-open .nav__doors { opacity: 1; transform: none; }
html.menu-open { overflow: hidden; }
@media (max-width: 1079px) {
  .nav__bar { grid-template-columns: 1fr auto; padding: 0 8px 0 16px; }
  .nav__links { display: none; }
  .nav__toggle { display: block; }
}
@media (max-width: 480px) {
  .nav { padding: 20px 8px 0; }
  .nav.is-scrolled { padding-top: 8px; }
  .nav__bar { height: 52px; }
  .nav__cta { display: none; }
}

/* ---------- Doors: the two ways in (hero, menu, CTA) ---------- */
.door { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 16px 46px 16px 16px; border-radius: 16px; background: rgba(255, 255, 255, .06); box-shadow: inset 0 1px 0 var(--hl), inset 0 0 0 1px rgba(255, 255, 255, .06); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); text-align: left; transition: background-color .45s var(--ease-template), box-shadow .45s var(--ease-template), translate .6s var(--ease-spring); }
.door:hover { background: rgba(255, 255, 255, .1); box-shadow: inset 0 1px 0 var(--hl), inset 0 0 0 1px rgba(201, 165, 78, .4), 0 18px 40px -20px var(--accent-glow); }
.door__tag { font-size: 11px; letter-spacing: .06em; color: var(--muted-2); }
.door__title { font-size: 18px; font-weight: 500; line-height: 1.2; letter-spacing: -.02em; }
.door__text { font-size: 13px; line-height: 1.35; color: var(--muted); }
.door__go { position: absolute; right: 16px; top: 16px; width: 18px; height: 18px; color: var(--muted); transition: transform .45s var(--ease-spring), color .3s; }
.door:hover .door__go { transform: translateX(3px); color: var(--accent); }
.door--sm { padding: 14px 40px 14px 14px; }
.door--sm .door__title { font-size: 16px; }

/* ---------- Page transitions (cross-document, progressive) ---------- */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: .28s var(--ease-template) both vt-out; }
::view-transition-new(root) { animation: .55s var(--ease-template) both vt-in; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; transform: translateY(14px); } }

/* ---------- Hero ---------- */
/* Hero (v5.12): a layered scene. The hero stays pinned for 160vh of scroll. The plate (background, no stones) holds still and
   pushes in a little; the two cut-out stones, each with its own reflection, part and come towards the camera; the copy sits
   BEHIND the stones and is uncovered by their movement; gold light grows in the gap. Progress in --open (0 closed -> 1 open). */
.hero-pin { position: relative; height: calc(100vh + 160vh); }
/* v5.23: with the laser the first stretch of the pin is the engraving alone (stones shut), then the 160vh opening */
.hero-pin.has-laser { --engrave: 100; height: calc(100vh + var(--engrave) * 1vh + 160vh); }
.hero { position: sticky; top: 0; height: 100vh; min-height: 640px; max-height: 1100px; overflow: hidden; --open: 0; --mark: 0; --text: 0; --cards: 0; --shut: 0px; }
.hero__scene { position: absolute; inset: 0; will-change: transform; }
/* the whole photo, floor included, as on the brand book cover; only the last stretch melts into the next section */
.hero__stage, .hero__stones { position: absolute; inset: 0; overflow: hidden; -webkit-mask-image: linear-gradient(#000 88%, transparent 100%); mask-image: linear-gradient(#000 88%, transparent 100%); }
.hero__stage { background: #0b0a09; }
.hero__stones { z-index: 2; pointer-events: none; }
.hero__plate, .hero__stone { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 50%; }
.hero__plate { transform: scale(calc(1 + var(--open) * .06)); transform-origin: 50% 55%; }
/* a quiet pool of shadow behind the copy, deeper as the stones leave */
.hero__shade { position: absolute; inset: 0; pointer-events: none; opacity: calc(.35 + var(--open) * .45); background: radial-gradient(ellipse 30% 40% at 50% var(--cyp, 52%), rgba(0, 0, 0, .7) 0%, rgba(0, 0, 0, .35) 45%, rgba(0, 0, 0, 0) 72%); }
.hero__stone { will-change: transform; }
/* v5.22: the laser canvas lies on its stone (same box, same transform) and shows the smooth stone being engraved */
.hero__laser { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 50%; will-change: transform; pointer-events: none; visibility: hidden; }
.hero__stone--l, .hero__laser--l { transform-origin: 28.8% 86.8%; transform: translateX(calc(var(--shut) * (1 - var(--open)) - var(--open) * 31%)) scale(calc(.88 + var(--open) * .15)); }
.hero__stone--r, .hero__laser--r { transform-origin: 71.2% 86.8%; transform: translateX(calc(var(--shut) * (var(--open) - 1) + var(--open) * 31%)) scale(calc(.88 + var(--open) * .15)); }
/* light pouring out of the gap as it opens */
.hero__glow { position: absolute; inset: 0; pointer-events: none; mix-blend-mode: screen; opacity: calc(var(--open) * .8); transform: scaleX(calc(.55 + var(--open) * 1.1)); transform-origin: 50% var(--cyp, 52%);
  background: radial-gradient(ellipse 26% 42% at 50% var(--cyp, 52%), rgba(227, 199, 126, .34) 0%, rgba(201, 165, 78, .14) 45%, rgba(201, 165, 78, 0) 72%); }
.hero__vignette { position: absolute; inset: 0; z-index: 3; pointer-events: none; background: radial-gradient(ellipse 70% 62% at 50% 52%, transparent 55%, rgba(0, 0, 0, .55) 100%); }
/* the copy hangs from the diamond's centre (--cy, px from site.js) and sits between the plate and the stones */
.hero__anchor { position: absolute; left: 0; right: 0; top: var(--cy, 50%); transform: translateY(-50%); z-index: 1; display: flex; justify-content: center; }
.hero__content { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px; padding: 0 var(--gutter); max-width: 680px; will-change: transform, opacity; }
.hero__mark { width: 64px; height: 64px; margin-bottom: 4px; filter: drop-shadow(0 0 22px rgba(201, 165, 78, .35)); opacity: var(--mark); transform: translateY(calc((1 - var(--mark)) * 14px)) scale(calc(.78 + var(--mark) * .22)); }
.hero__kicker, .hero__title, .hero__sub { opacity: var(--text); transform: translateY(calc((1 - var(--text)) * 10px)) scale(calc(.965 + var(--text) * .035)); filter: blur(calc((1 - var(--text)) * 5px)); }
.hero__title { max-width: 640px; text-wrap: balance; }
.hero__sub { max-width: 380px; color: var(--muted); }
.hero__sub { max-width: 520px; }
.hero__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 32px; }
.hero__kicker { color: var(--muted); }

/* ---------- Intro + stats ---------- */
.intro { padding: 96px 0 104px; text-align: center; }
.intro__line { display: block; }
.intro__line + .intro__line { color: var(--muted); }
.stats { display: grid; grid-template-columns: repeat(4, 188px); justify-content: center; gap: 16px; margin-top: 48px; }
.stat { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.stat .small { text-align: center; }

/* ---------- Section scaffolding ---------- */
.section { position: relative; padding: var(--section-y) 0; }
.section__bg { position: absolute; inset: 0 0 auto; z-index: -1; pointer-events: none; }
.section__bg img { width: 100%; height: auto; }
.head { display: flex; flex-direction: column; gap: 12px; }
.head--center { align-items: center; text-align: center; }
.head--center .h2 { max-width: 600px; }
.head--center .body { max-width: 490px; }
.head .body { max-width: 490px; }

/* ---------- Services (three cards) ---------- */
.services__bg { top: 0; height: 817px; }
.services__bg img { height: 100%; object-fit: cover; }
.services__bg { -webkit-mask-image: linear-gradient(rgba(0,0,0,0) 0%, rgba(0,0,0,.99) 49.25%, rgba(0,0,0,0) 100%); mask-image: linear-gradient(rgba(0,0,0,0) 0%, rgba(0,0,0,.99) 49.25%, rgba(0,0,0,0) 100%); }
.cards3 { display: grid; grid-template-columns: repeat(3, 352px); gap: 12px; margin-top: 39px; }
.cards3 > * { will-change: transform; }
.svc { height: 460px; display: flex; flex-direction: column; overflow: hidden; }
.svc__visual { position: relative; height: 320px; flex: none; display: flex; align-items: center; justify-content: center; }
.svc__body { padding: 24px 24px 0; display: flex; flex-direction: column; gap: 8px; }
.svc__title { display: flex; align-items: center; gap: 8px; }

/* Card UIs (drawn in HTML, replace the template's bitmap mockups) */

/* Four service lines: same card, four columns */
.cards3--4 { grid-template-columns: repeat(4, 1fr); }
.cards3--6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards3--4 .svc, .cards3--6 .svc { height: auto; min-height: 500px; padding-bottom: 24px; }
.cards3--4 .svc__visual, .cards3--6 .svc__visual { height: 300px; padding: 0 16px; }
.svc__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.svc__tags span { font-family: var(--f-mono); font-size: 11px; line-height: 1; letter-spacing: .02em; text-transform: uppercase; padding: 6px 8px; border-radius: 20px; box-shadow: inset 0 0 0 1px var(--line); color: var(--muted); }

/* ---------- Markets ---------- */
.mkt__tag { display: inline-flex; align-items: center; gap: 6px; padding: 5px 9px; border-radius: 20px; box-shadow: inset 0 0 0 1px var(--line); font-family: var(--f-mono); font-size: 11px; line-height: 1; letter-spacing: .02em; text-transform: uppercase; }
.mkt__tag i { width: 6px; height: 6px; border-radius: 50%; background: var(--gold-grad); }
.markets__cta, .firms__cta, .traders__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 40px; }

/* ---------- Standard (radar) ---------- */
.split { display: grid; grid-template-columns: 376px 376px; gap: 48px; justify-content: center; align-items: center; margin-top: 40px; }
.radar { position: relative; height: 508px; border-radius: 16px; overflow: hidden; box-shadow: inset 0 1px 0 0 var(--hl), inset 0 0 0 1px rgba(255,255,255,.08); }
.radar__bg { position: absolute; inset: 0; opacity: .09; }
.radar__bg img { width: 100%; height: 100%; object-fit: cover; }
.radar__ring { position: absolute; left: 50%; top: 50%; width: 0; height: 0; border-radius: 50%; border: 2px solid var(--ring); background: radial-gradient(circle, var(--ring) 0%, transparent 80%); transform: translate(-50%, -50%); animation: pulsing-orb 4s linear infinite; }
.radar__ring:nth-child(3) { animation-delay: -.5s; }
.radar__ring:nth-child(4) { animation-delay: -1s; }
@keyframes pulsing-orb { 0% { width: 0; height: 0; opacity: 1; } 60% { opacity: .3; } 75%, 100% { width: 242px; height: 242px; opacity: 0; } }
.radar__core { position: absolute; left: 50%; top: 50%; width: 100px; height: 100px; transform: translate(-50%, -50%); border-radius: 128px; background: var(--glass); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; font-weight: 500; }
.radar__core .mark { width: 22px; height: 22px; }
.standard__copy { display: flex; flex-direction: column; gap: 32px; }
.standard__list { display: flex; flex-direction: column; gap: 24px; }

/* ---------- Steps (curve) ---------- */
.steps { position: relative; width: 920px; height: 682px; margin: 40px auto 0; }
.steps__line { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.steps__line path { fill: none; stroke-width: 1; vector-effect: non-scaling-stroke; }
.steps__line .base { stroke: var(--line); }
.steps__line .glow { stroke: var(--accent); stroke-dasharray: 1 1; stroke-dashoffset: 1; animation: steps-draw 4s infinite; }
/* template: 2 s draw, then 2 s erase from the start, cubic-bezier(.73,0,.35,1), looping from load */
@keyframes steps-draw { 0% { stroke-dashoffset: 1; animation-timing-function: cubic-bezier(.73, 0, .35, 1); } 50% { stroke-dashoffset: 0; animation-timing-function: cubic-bezier(.73, 0, .35, 1); } 100% { stroke-dashoffset: -1; } }
.step { position: absolute; width: 280px; padding: 0 0 0 12px; transform: translate(-50%, -50%); }
.step::before { content: ""; position: absolute; left: 0; top: 0; bottom: -18px; width: 1px; background: repeating-linear-gradient(to bottom, var(--accent) 0 3px, transparent 3px 6px); -webkit-mask-image: linear-gradient(#000, transparent); mask-image: linear-gradient(#000, transparent); opacity: .8; }
.step__title { font-weight: 500; line-height: 1.2; }
.step__text { margin-top: 8px; color: var(--muted); max-width: 230px; }
.step:nth-of-type(1) { left: 187px; top: 191px; }
.step:nth-of-type(2) { left: 325px; top: 327px; }
.step:nth-of-type(3) { left: 638px; top: 395px; }
.step:nth-of-type(4) { left: 904px; top: 463px; }

/* ---------- Everywhere (phone) ---------- */
.device { display: grid; grid-template-columns: 346px 230px; gap: 48px; justify-content: center; align-items: center; margin-top: 40px; }
.device__list { display: flex; flex-direction: column; gap: 24px; }

/* ---------- Firms: feature row under the client cards ---------- */
.cols3 { display: grid; grid-template-columns: repeat(3, 269px); gap: 16px; justify-content: center; margin-top: 46px; }

/* ---------- Record (six cards) ---------- */
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.rec { height: 360px; padding: 24px; display: flex; flex-direction: column; }
.rec__badge { width: 48px; height: 48px; border-radius: 64px; background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1px var(--line); display: flex; align-items: center; justify-content: center; color: var(--fg); }
.rec__badge .icon { width: 20px; height: 20px; stroke-width: 1.75; }
.rec__quote { margin-top: 24px; max-width: 272px; }
.rec__who { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; }
.rec__who b { font-weight: 500; line-height: 1.2; }
.record__cta { display: flex; justify-content: center; margin-top: 40px; }

/* ---------- Security (shield) ---------- */
.security__bg { top: 0; height: 617px; overflow: hidden; }
.security__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .47; }
.security__bg { -webkit-mask-image: linear-gradient(rgba(0,0,0,0) 0%, rgba(0,0,0,.89) 45%, rgba(0,0,0,0) 100%); mask-image: linear-gradient(rgba(0,0,0,0) 0%, rgba(0,0,0,.89) 45%, rgba(0,0,0,0) 100%); }
.shield { width: 256px; height: 256px; margin: 40px auto 16px; }   /* v5.20: the whole shield, tip included */
.shield svg { width: 256px; height: 256px; stroke: url(#shieldFade); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cols3--security { grid-template-columns: repeat(3, 243px); margin-top: 0; }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: 416px 624px; gap: 40px; justify-content: space-between; }
.faq .h2 { max-width: 416px; }
.acc { display: flex; flex-direction: column; gap: 16px; }
.acc__item { border-radius: 12px; background: var(--glass); box-shadow: inset 0 1px 0 0 var(--line); transition: background-color .4s var(--ease-template); }
.acc__item:hover, .acc__item.is-open { background: rgba(255, 255, 255, .12); }
.acc__q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px; border: 0; background: none; text-align: left; cursor: pointer; font-weight: 500; line-height: 1.2; }
.acc__q .icon { width: 20px; height: 20px; transition: transform .4s var(--ease-template); }
.acc__item.is-open .acc__q .icon { transform: rotate(45deg); }
.acc__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease-template); }
.acc__a > div { overflow: hidden; opacity: .001; transition: opacity .6s var(--ease-template); }
.acc__item.is-open .acc__a > div { opacity: 1; }
.acc__a p { padding: 0 16px 16px; color: var(--muted); max-width: 560px; }
.acc__item.is-open .acc__a { grid-template-rows: 1fr; }

/* ---------- CTA ---------- */
.cta { padding: 23px 0 80px; text-align: center; }
.cta__icon { width: 160px; height: 160px; margin: 0 auto -23px; border-radius: 40px; background: linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.02)); box-shadow: inset 0 1.5px 0 var(--hl); display: flex; align-items: center; justify-content: center; -webkit-mask-image: linear-gradient(#000 30%, transparent 85%); mask-image: linear-gradient(#000 30%, transparent 85%); }
.cta__icon .mark { width: 64px; height: 64px; }
.cta .h2 { position: relative; max-width: 400px; margin-inline: auto; }
.cta .body { max-width: 400px; margin: 12px auto 0; }
.cta__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 24px; }

/* ---------- Footer ---------- */
.footer { position: relative; background: #000; padding: 64px 0 0; border-top: 1px solid rgba(255,255,255,.06); overflow: hidden; }
.footer__top { display: grid; grid-template-columns: minmax(0, 1fr) 140px 140px 150px; column-gap: 48px; }
.footer__h4-gap { margin-top: 32px; }
.footer__about { display: flex; flex-direction: column; gap: 16px; max-width: 360px; }
.footer__about .small { max-width: 360px; }
.footer h4 { font-size: 14px; font-weight: 500; line-height: 1.3; margin-bottom: 16px; }
.footer__links { display: flex; flex-direction: column; gap: 16px; }
.footer__links a { font-size: 14px; line-height: 1.2; color: var(--muted); transition: color .25s; }
.footer__links a:hover { color: var(--fg); }
.footer__social { display: flex; gap: 12px; }
.footer__social a { width: 24px; height: 24px; color: var(--muted); display: flex; align-items: center; justify-content: center; transition: color .25s; }
.footer__social a:hover { color: var(--fg); }
.footer__social .icon { width: 20px; height: 20px; stroke-width: 1.75; }
.sub-form { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.sub-form label { font-size: 12px; font-weight: 500; line-height: 1.2; color: var(--muted); }
.sub-form__row { display: flex; gap: 8px; }
.sub-form input { width: 224px; height: 40px; border-radius: 10px; border: 1px solid var(--line); background: rgba(255,255,255,.02); padding: 0 12px; font-size: 14px; outline: none; transition: border-color .25s; }
.sub-form input::placeholder { color: var(--muted-3); }
.sub-form input:focus { border-color: rgba(255,255,255,.3); }
.sub-form .btn { width: 128px; border-radius: 64px; }
.form-note { font-size: 12px; color: var(--muted-2); min-height: 14px; }
.footer__bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.06); display: grid; gap: 14px; }
.footer__risk { font-size: 12px; line-height: 1.55; color: var(--muted-2); max-width: 880px; }
.footer__risk b { font-weight: 500; color: var(--muted); }
.footer__legal { display: flex; justify-content: space-between; gap: 16px; font-size: 12px; color: var(--muted-3); }
.footer__word { max-width: calc(var(--container) + var(--gutter) * 2); margin: 28px auto 0; padding-inline: var(--gutter); pointer-events: none; }
.footer__word svg { display: block; width: 100%; height: auto; overflow: visible; }
.footer__word text { font-family: var(--f-display); font-size: 168px; font-weight: 500; letter-spacing: -.05em; fill: url(#wordFade); }

/* ---------- Motion (states set by site.js; no-JS shows everything) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(var(--ry, 40px)); transition: opacity var(--rt, 1s) var(--ease-template), transform var(--rt, 1s) var(--ease-template); transition-delay: var(--rd, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.split-word { display: inline-block; white-space: pre; }
.split-line { display: block; }
.js [data-split] .split-word, .js [data-split] .split-line { opacity: 0; filter: blur(var(--sb, 4px)); transform: translateY(var(--sy, 12px)); transition: opacity var(--st, .8s) var(--ease-text), transform var(--st, .8s) var(--ease-text), filter var(--st, .8s) var(--ease-text); transition-delay: var(--d, 0s); }
.js [data-split].is-in .split-word, .js [data-split].is-in .split-line { opacity: 1; filter: blur(0); transform: none; }
.js [data-split="lines"] { --sb: 10px; --sy: 20px; --st: .7s; }
.js [data-split="lines"] .split-word { opacity: 1; filter: none; transform: none; transition: none; }
.js .hero__scene { opacity: 0; transition: opacity 1.8s var(--ease-template); }
.js .hero.is-in .hero__scene { opacity: 1; }
.js .hero__content .btn { opacity: 0; transform: translateY(24px); transition: opacity 1.5s var(--ease-template) .4s, transform 1.5s var(--ease-template) .4s, background-color .3s; }
.js .hero.is-in .hero__content .btn { opacity: 1; transform: none; }
.js .step { opacity: 0; margin-top: -20px; }
.js [data-reveal="soft"] { --ry: 24px; }

@media (prefers-reduced-motion: reduce) {
  .js [data-reveal], .js [data-split] .split-word, .js [data-split] .split-line, .js .hero__content .btn, .js .hero__kicker, .js .hero__plate { opacity: 1 !important; transform: none !important; filter: none !important; transition: none !important; }
  .hero-pin { height: auto; }
  .hero { position: relative; --open: 1; --mark: 1; --text: 1; --cards: 1; --shut: 0px; }
  .cta { --open: 1; --text: 1; --cards: 1; }
  .cta__title, .cta__sub { filter: none; }
  .js .hero__scene { opacity: 1; transition: none; }
  .hero__kicker, .hero__title, .hero__sub { filter: none; }
  .js .step { opacity: 1 !important; margin-top: 0 !important; }
  .radar__ring { animation: none; width: 242px; height: 242px; opacity: .3; }
  .steps__line .glow { animation: none; stroke-dashoffset: 0; }
}

/* ---------- Tablet ---------- */
@media (max-width: 1199px) {
  :root { --container: 944px; --gutter: 40px; }
  .cards3 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr 1fr; }
  .faq { grid-template-columns: 1fr; }
  .faq .acc { max-width: 624px; }
  .steps { width: auto; height: auto; margin: 40px auto 0; max-width: 560px; display: flex; flex-direction: column; gap: 12px; padding-left: 36px; }
  .steps::before, .steps::after { content: ""; position: absolute; left: 11px; top: 26px; bottom: 26px; width: 1px; }
  .steps::before { background: var(--line); }
  .steps::after { background: linear-gradient(var(--gold-300), var(--gold-700) 70%, rgba(201, 165, 78, .35)); transform-origin: 50% 0; transform: scaleY(var(--tp, 0)); box-shadow: 0 0 10px var(--accent-glow); }
  .steps__line { display: none; }
  .js .step { opacity: 1; margin-top: 0; }
  .step, .step:nth-of-type(n) { position: relative; left: auto; top: auto; width: auto; transform: none; padding: 20px; border-radius: 16px; background: var(--glass); box-shadow: inset 0 1px 0 var(--hl); }
  .step::before { left: -30px; top: 25px; bottom: auto; width: 11px; height: 11px; border-radius: 50%; background: #0b0b0b; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .3); -webkit-mask-image: none; mask-image: none; opacity: 1; transition: background-color .4s, box-shadow .4s; }
  .step.is-on::before { background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft), 0 0 14px var(--accent-glow); }
  .step__text { max-width: none; }
  .footer__top { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 40px; }
  .footer__about { grid-column: 1 / -1; }
}

/* ---------- Phone ---------- */
@media (max-width: 809px) {
  :root { --section-y: 72px; --gutter: 16px; }
  .brand__name { font-size: 18px; }
  .h1 { font-size: 40px; line-height: 1.2; letter-spacing: -.04em; }
  .h2 { font-size: 32px; line-height: 1.2; }
  .hero-pin { height: calc(100svh + 120vh); }
  .hero-pin.has-laser { --engrave: 40; height: calc(100svh + var(--engrave) * 1vh + 120vh); }
  .hero__mark { width: 48px; height: 48px; }
  .hero { height: 100svh; min-height: 600px; }
  .hero__title { max-width: 358px; }
  .hero__sub { max-width: 340px; }
  .intro { padding: 120px 0 96px; }
  .stats { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .services .head { align-items: flex-start; text-align: left; }
  .cards3 { grid-template-columns: 1fr; gap: 16px; margin-top: 48px; }
  .cards3--4 .svc, .cards3--6 .svc { min-height: 0; }
  .hero__kicker { font-size: 12px; }
  .svc { height: auto; padding-bottom: 24px; }
  .svc__visual { height: 260px; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .radar { height: 420px; }
  .standard__copy { order: -1; }
  .steps { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .device { grid-template-columns: 1fr; gap: 40px; justify-items: center; }
  .device__list { justify-self: stretch; padding-inline: 24px; }
  .cols3, .cols3--security { grid-template-columns: 1fr; gap: 24px; padding-inline: 24px; margin-top: 32px; }
  .grid3 { grid-template-columns: 1fr; }
  .rec { height: auto; min-height: 300px; }
  .shield { height: 256px; }   /* v5.20: room for the whole shield */
  .faq { gap: 32px; }
  .cta { padding: 160px 0 72px; }
  .footer { padding: 40px 0 0; }
  .footer__top { grid-template-columns: 1fr 1fr; column-gap: 24px; row-gap: 36px; }
  .footer__about { order: 3; }
  .footer__legal { flex-direction: column; gap: 4px; }
  .sub-form input { width: auto; flex: 1; min-width: 0; }
}

/* ---------- Service mockups, at the template's scale (its mockups: 352 x 320, 14/12 px type,
   56 px rows, 12 px radius, white round icons) ---------- */
.ui-list, .ui-flow, .ui-consult, .ui-signal { width: 100%; max-width: 252px; }
.ui-list { display: flex; flex-direction: column; gap: 12px; }
.ui-row { display: flex; align-items: center; gap: 10px; height: 54px; padding: 0 12px 0 10px; border-radius: 12px; background: #121212; box-shadow: inset 0 0 0 1px var(--line); }
.ui-row__ic { width: 34px; height: 34px; border-radius: 50%; background: #fff; color: #000; display: flex; align-items: center; justify-content: center; flex: none; }
.ui-row__ic .icon { width: 16px; height: 16px; }
.ui-row__main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ui-row__main b, .ui-row__side b { font-size: 14px; font-weight: 500; line-height: 1.2; white-space: nowrap; }
.ui-row__main span, .ui-row__side span { font-size: 12px; line-height: 1.2; color: var(--muted-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ui-row__side { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; font-variant-numeric: tabular-nums; }
.ui-row__side b.is-dim { color: var(--muted-2); transition: color .3s; }
.ui-flow { display: flex; flex-direction: column; }
.ui-flow__link { display: block; width: 1px; height: 14px; margin-left: 27px; background: repeating-linear-gradient(to bottom, rgba(255,255,255,.35) 0 3px, transparent 3px 6px); }
.ui-signal { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.ui-signal__pair { font-family: var(--f-display); font-size: 48px; line-height: 1; letter-spacing: -.04em; }
.ui-pill { display: inline-flex; align-items: center; gap: 7px; height: 30px; padding: 0 12px; border-radius: 30px; background: #121212; box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; color: var(--fg); white-space: nowrap; font-variant-numeric: tabular-nums; }
.ui-pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--fg); }
.ui-field { width: 100%; height: 42px; margin-top: 6px; border-radius: 10px; background: #121212; display: flex; align-items: center; justify-content: space-between; padding: 0 14px; font-size: 14px; color: var(--muted-2); font-variant-numeric: tabular-nums; }
.ui-button { width: 100%; height: 42px; border-radius: 42px; background: #0d0d0d; box-shadow: inset 0 0 0 1px rgba(255,255,255,.16); display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 500; }
.ui-consult { display: flex; flex-direction: column; gap: 12px; }
.ui-consult .ui-list { gap: 10px; }
.ui-seg { display: flex; height: 38px; padding: 4px; border-radius: 38px; background: #121212; box-shadow: inset 0 0 0 1px var(--line); }
.ui-seg span { flex: 1; display: flex; align-items: center; justify-content: center; border-radius: 38px; font-size: 13px; color: var(--muted-2); }
.ui-seg .is-on { background: #fff; color: #000; font-weight: 500; }

.phone-wrap { height: 440px; overflow: hidden; -webkit-mask-image: linear-gradient(#000 34%, transparent 100%); mask-image: linear-gradient(#000 34%, transparent 100%); }
/* ---------- Delivery phone, template build: thin titanium bezel, header, figure, area chart,
   range pills, list; the wrapper shows the top 440 px and fades from 34 % ---------- */
.phone { position: relative; width: 346px; height: 710px; border-radius: 58px; padding: 9px; background: linear-gradient(155deg, #5a5a5c 0%, #1d1d1f 22%, #2b2b2d 60%, #4d4d50 100%); box-shadow: inset 0 0 0 1px rgba(255,255,255,.22), inset 0 0 0 3px #0a0a0a; }
.phone__screen { position: relative; height: 100%; border-radius: 50px; background: #0f0f10; overflow: hidden; padding: 16px 20px; display: flex; flex-direction: column; }
.phone__island { position: absolute; left: 50%; top: 11px; width: 100px; height: 29px; border-radius: 20px; background: #000; transform: translateX(-50%); }
.phone__bar { display: flex; justify-content: space-between; align-items: center; height: 22px; padding: 0 12px 0 14px; font-size: 14px; font-weight: 600; letter-spacing: -.01em; }
.phone__status { display: inline-flex; align-items: flex-end; gap: 2px; height: 10px; }
.phone__status i { width: 3px; border-radius: 1px; background: #fff; }
.phone__status i:nth-child(1) { height: 5px; } .phone__status i:nth-child(2) { height: 7px; } .phone__status i:nth-child(3) { height: 10px; }
.phone__status b { width: 21px; height: 10px; margin-left: 5px; border-radius: 3px; background: #fff; box-shadow: 0 0 0 1px #0f0f10, 0 0 0 2px rgba(255,255,255,.5); }
.phone__head { display: flex; justify-content: space-between; align-items: center; margin-top: 24px; }
.phone__head b { font-family: var(--f-display); font-size: 21px; font-weight: 400; letter-spacing: -.02em; }
.phone__avatar { width: 34px; height: 34px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); background: #161617; font-size: 11px; display: flex; align-items: center; justify-content: center; color: var(--muted); }
.phone__label { margin-top: 18px; font-size: 13px; color: var(--muted); }
.phone__price { display: flex; align-items: center; gap: 10px; margin-top: 2px; font-family: var(--f-display); font-size: 34px; line-height: 1.15; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.phone__tag { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 9px; border-radius: 24px; background: rgba(255,255,255,.08); font-family: var(--f-body); font-size: 12px; letter-spacing: 0; color: var(--fg); }
.phone__tag i { width: 6px; height: 6px; border-radius: 50%; background: var(--fg); }
.phone__chart { display: block; width: 100%; height: 112px; margin-top: 16px; overflow: visible; }
.phone__area { fill: url(#phFill); }
.phone__line { fill: none; stroke: #fff; stroke-width: 1.5; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.phone__entry { stroke: rgba(255,255,255,.28); stroke-width: 1; stroke-dasharray: 3 4; vector-effect: non-scaling-stroke; }
.phone__range { display: flex; align-self: center; gap: 2px; margin-top: 18px; padding: 3px; border-radius: 30px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); }
.phone__range span { padding: 4px 11px; border-radius: 20px; font-size: 12px; color: var(--muted); }
.phone__range .is-on { background: #fff; color: #000; font-weight: 500; }
.phone__sub { margin-top: 18px; font-size: 16px; letter-spacing: -.01em; }
.phone__list { margin-top: 6px; display: flex; flex-direction: column; }
.sig { display: flex; align-items: center; gap: 10px; padding: 11px 0; border-bottom: 1px solid rgba(255,255,255,.07); }
.sig__ic { width: 30px; height: 30px; border-radius: 50%; flex: none; display: flex; align-items: center; justify-content: center; background: #1b1b1c; font-family: var(--f-mono); font-size: 8px; letter-spacing: .02em; color: var(--muted); }
.sig__main, .sig__side { display: flex; flex-direction: column; gap: 2px; }
.sig__main { flex: 1; min-width: 0; }
.sig__side { align-items: flex-end; font-variant-numeric: tabular-nums; }
.sig b { font-size: 14px; font-weight: 500; }
.sig span span, .sig__main span, .sig__side span { font-size: 11px; color: var(--muted-2); }
.sig__side .is-loss { color: #ff6b6b; }
.sig__side .is-win { color: #4ade80; }

/* ---------- Entrance timings read from the template (delays in s, durations via --rt) ---------- */
.js .stat[data-reveal] { --rt: .8s; }
.js .stat:nth-child(1) { --rd: .2s; } .js .stat:nth-child(2) { --rd: .4s; } .js .stat:nth-child(3) { --rd: .6s; } .js .stat:nth-child(4) { --rd: .8s; }
.js .feature[data-reveal] { --ry: 24px; --rt: 1.5s; }
.js .feature[data-reveal]:nth-child(1) { --rd: .2s; } .js .feature[data-reveal]:nth-child(2) { --rd: .4s; } .js .feature[data-reveal]:nth-child(3) { --rd: .6s; }
.js .standard__cta[data-reveal], .js .firms__cta[data-reveal] { --ry: 24px; --rt: 1.5s; --rd: 1s; }
.js .rec[data-reveal]:nth-child(1) { --rd: .1s; } .js .rec[data-reveal]:nth-child(2) { --rd: .2s; } .js .rec[data-reveal]:nth-child(3) { --rd: .3s; }
.js .rec[data-reveal]:nth-child(4) { --rd: .4s; } .js .rec[data-reveal]:nth-child(5) { --rd: .5s; } .js .rec[data-reveal]:nth-child(6) { --rd: .6s; }
.js .acc__item[data-reveal] { --rd: calc(.1s + var(--i, 0) * .07s); }
.js .acc__item:nth-child(2) { --i: 1; } .js .acc__item:nth-child(3) { --i: 2; } .js .acc__item:nth-child(4) { --i: 3; }
.js .acc__item:nth-child(5) { --i: 4; } .js .acc__item:nth-child(6) { --i: 5; } .js .acc__item:nth-child(7) { --i: 6; } .js .acc__item:nth-child(8) { --i: 7; }
/* scroll-linked elements start hidden; site.js drives them */
.js [data-scroll] { will-change: transform, opacity; }

/* =====================================================================
   Second pass (07/10): live client cards, markets bento, pinned scenes,
   pointer light + tilt, scrubbed text, section depth. Timings in site.js.
   ===================================================================== */

/* ---------- Pinned scenes (desktop >= 1200 x 740, JS adds .is-pinned) ---------- */
.scene__track, .scene__sticky { position: relative; }
.scene.is-pinned { padding-block: 0; }
.scene.is-pinned .scene__track { height: calc(100vh + var(--len, 120vh)); }
.scene.is-pinned .scene__sticky { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; justify-content: center; padding-top: 48px; overflow: clip; }
.scene.is-pinned > .container { padding-bottom: var(--section-y); }
#firms { --len: 110vh; } #start { --len: 150vh; } #platforms { --len: 140vh; }
.scene__bar { position: absolute; left: 50%; bottom: 28px; width: 120px; height: 2px; margin-left: -60px; border-radius: 2px; background: rgba(255,255,255,.1); overflow: hidden; opacity: 0; transition: opacity .4s; }
.scene__bar i { display: block; height: 100%; width: 100%; background: var(--fg); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }
.scene.is-pinned .scene__bar { opacity: 1; }

/* ---------- Pointer light + tilt on glass cards ---------- */
[data-tilt-group] { perspective: 1400px; }
[data-tilt] { position: relative; transition: rotate .7s var(--ease-template); }
.spot { position: absolute; inset: 0; z-index: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .45s var(--ease-template);
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.08), transparent 62%); }
.spot::after { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.5), transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
[data-tilt].is-lit .spot { opacity: 1; }

/* ---------- Live status dot ---------- */
.live-dot { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 9px; border-radius: 24px; box-shadow: inset 0 0 0 1px var(--line); font-size: 12px; color: var(--muted); white-space: nowrap; }
.live-dot i { position: relative; width: 6px; height: 6px; border-radius: 50%; background: #4ade80; }
.live-dot i::after { content: ""; position: absolute; inset: -3px; border-radius: 50%; border: 1px solid #4ade80; animation: live-ring 1.8s var(--ease-out) infinite; }
@keyframes live-ring { from { transform: scale(.6); opacity: .9; } to { transform: scale(2.2); opacity: 0; } }

/* ---------- For Firms: three live client cards ---------- */
.clients { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 40px; }
.client { display: flex; flex-direction: column; height: 392px; padding: 16px; overflow: hidden; transform-origin: 50% 100%; }
.client__bar { position: relative; z-index: 1; display: flex; align-items: center; gap: 10px; }
.client__logo { width: 34px; height: 34px; flex: none; border-radius: 10px; display: flex; align-items: center; justify-content: center; background: linear-gradient(140deg, #fff, #9a9a9a); color: #000; font-family: var(--f-mono); font-size: 11px; font-weight: 600; letter-spacing: .02em; }
.client__name { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.client__name b { font-size: 15px; font-weight: 500; line-height: 1.2; }
.client__name span { font-size: 12px; color: var(--muted-2); }
.client__bar .live-dot { margin-left: auto; }
.client__screen { position: relative; z-index: 1; flex: 1; min-height: 0; margin-top: 14px; padding: 10px; border-radius: 12px; background: #0a0a0a; box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.client__foot { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 14px; font-size: 12px; color: var(--muted-2); }
.client__foot .mono { font-family: var(--f-mono); font-size: 11px; letter-spacing: .03em; text-transform: uppercase; color: var(--fg); }
/* signal feed */
.feed { display: flex; flex-direction: column; gap: 8px; }
.feed__row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto 38px; align-items: center; gap: 10px; height: 48px; padding: 0 12px; border-radius: 10px; background: #141414; box-shadow: inset 0 0 0 1px var(--line); font-size: 13px; overflow: hidden; }
.feed__pair { font-weight: 500; }
.feed__px { color: var(--muted); font-variant-numeric: tabular-nums; }
.feed__row time { font-family: var(--f-mono); font-size: 11px; color: var(--muted-2); text-align: right; }
.pill { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 22px; font-size: 11px; font-weight: 500; white-space: nowrap; }
.pill--buy { background: rgba(74,222,128,.12); color: #6ee7a0; }
.pill--sell { background: rgba(255,107,107,.12); color: #ff9a9a; }
.feed__row.is-new { animation: feed-in .8s var(--ease-template) both; }
@keyframes feed-in {
  0% { height: 0; margin-bottom: -8px; opacity: 0; box-shadow: inset 0 0 0 1px rgba(201, 165, 78,.9); }
  45% { height: 48px; margin-bottom: 0; opacity: 1; }
  100% { box-shadow: inset 0 0 0 1px var(--line); }
}
.feed__row.is-out { transition: opacity .5s, transform .5s var(--ease-template); opacity: 0; transform: translateY(10px); }
/* terminal */
.term { display: flex; flex-direction: column; gap: 8px; }
.term__chart { position: relative; height: 130px; flex: none; }
.term__chart svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.term__candles line { stroke-width: 1; vector-effect: non-scaling-stroke; }
.term__candles .up { fill: #e8e8e8; stroke: #e8e8e8; } .term__candles .dn { fill: #3a3a3a; stroke: #6a6a6a; }
.term__candles g { transition: transform .5s var(--ease-template); }
.term__lvl { stroke-width: 1; stroke-dasharray: 3 4; vector-effect: non-scaling-stroke; }
.term__lvl--tp { stroke: rgba(110,231,160,.7); } .term__lvl--en { stroke: rgba(255,255,255,.55); } .term__lvl--sl { stroke: rgba(255,154,154,.7); }
.term__tag { position: absolute; right: 2px; transform: translateY(-50%); padding: 1px 6px; border-radius: 4px; background: #0a0a0a; font-family: var(--f-mono); font-size: 10px; color: var(--muted); }
.term__log { display: flex; flex-direction: column; }
.term__log li { display: flex; gap: 10px; padding: 7px 2px; border-top: 1px solid rgba(255,255,255,.06); font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.term__log time { font-family: var(--f-mono); font-size: 11px; color: var(--muted-2); }
.term__log li.is-new { animation: log-in .6s var(--ease-template) both; }
@keyframes log-in { from { opacity: 0; transform: translateY(8px); color: var(--fg); } }
/* prop firm risk */
.risk { display: flex; flex-direction: column; gap: 18px; padding: 16px 14px; }
.meter__top { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); }
.meter__top b { font-weight: 500; color: var(--fg); font-variant-numeric: tabular-nums; }
.meter__bar { height: 6px; margin-top: 9px; border-radius: 6px; background: rgba(255,255,255,.08); overflow: hidden; }
.meter__bar i { display: block; height: 100%; width: calc(var(--v) * 100%); border-radius: inherit; background: #fff; transition: width .7s var(--ease-template), background-color .3s; }
.meter.is-hit .meter__bar i { background: linear-gradient(90deg, var(--gold-700), var(--gold-300)); }
.meter.is-hit .meter__top b { color: var(--accent); }
.risk__toast { position: absolute; left: 10px; right: 10px; bottom: 10px; display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 10px; background: #171717; box-shadow: inset 0 0 0 1px rgba(201, 165, 78,.45), 0 10px 30px rgba(0,0,0,.5); opacity: 0; transform: translateY(24px) scale(.97); transition: opacity .5s var(--ease-template), transform .6s var(--ease-spring); }
.risk__toast .icon { color: var(--accent); width: 18px; height: 18px; }
.risk__toast span { display: flex; flex-direction: column; gap: 2px; font-size: 12px; color: var(--muted); }
.risk__toast b { font-size: 13px; font-weight: 500; color: var(--fg); }
.is-blocked .risk__toast { opacity: 1; transform: none; }
.risk__rules { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2px; transition: opacity .4s; }
.risk__rules li { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 26px; box-shadow: inset 0 0 0 1px var(--line); font-size: 11px; color: var(--muted); }
.risk__rules i { width: 5px; height: 5px; border-radius: 50%; background: #4ade80; }
.is-blocked .risk__rules { opacity: .25; }
/* entrance (one-shot, or scrubbed when the scene is pinned) */
.js .clients:not(.is-scrub) .client { opacity: 0; transform: translateY(90px) rotateX(24deg) scale(.94); filter: blur(8px); transition: opacity 1.2s var(--ease-template) var(--cd, 0s), transform 1.4s var(--ease-template) var(--cd, 0s), filter 1.2s var(--ease-template) var(--cd, 0s), rotate .7s var(--ease-template); }
.js .clients .client:nth-child(2) { --cd: .15s; } .js .clients .client:nth-child(3) { --cd: .3s; }
.js .clients.is-in:not(.is-scrub) .client { opacity: 1; transform: none; filter: none; }

/* ---------- Markets: bento with live charts ---------- */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; margin-top: 40px; }
.mk { grid-column: span 2; display: flex; flex-direction: column; gap: 14px; min-height: 270px; padding: 20px; overflow: hidden; }
.mk--core { grid-column: span 3; min-height: 380px; background: rgba(255,255,255,.08); }
.mk > * { position: relative; z-index: 1; }
.mk > .spot { position: absolute; z-index: 0; }
.mk__top { display: flex; align-items: center; gap: 8px; min-height: 24px; }
.mk__num { font-family: var(--f-num); font-size: 13px; color: var(--muted-2); }
.mk__rec { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .03em; text-transform: uppercase; color: var(--muted); }
.mk__rec i { width: 6px; height: 6px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 3px rgba(74,222,128,.15); }
.mk__title { display: flex; flex-direction: column; gap: 6px; }
.mk__name { font-size: 30px; line-height: 1.05; letter-spacing: -.03em; }
.mk--core .mk__name { font-size: 48px; }
.mk__chart { position: relative; flex: 1; min-height: 64px; margin: 0 -20px; }
.mk__chart--core { min-height: 150px; }
.mk__chart svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.mk__line { fill: none; stroke: rgba(255,255,255,.8); stroke-width: 1.5; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.mk__area { fill: url(#mkFill); }
.mk--core .mk__line { stroke: var(--accent); }
.mk--core .mk__area { fill: url(#mkFillCore); }
.mk__dot { position: absolute; left: 0; top: 0; width: 7px; height: 7px; margin: -3.5px 0 0 -3.5px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(255,255,255,.12); opacity: 0; transition: opacity .4s; }
.mk--core .mk__dot { background: var(--accent); box-shadow: 0 0 0 4px rgba(201, 165, 78,.2), 0 0 18px rgba(201, 165, 78,.8); }
.mk__chart.is-drawn .mk__dot { opacity: 1; }
.mk__meta, .mk__tape { display: flex; flex-wrap: wrap; gap: 6px; }
.mk__meta span, .mk__tape span { font-family: var(--f-mono); font-size: 11px; letter-spacing: .02em; padding: 5px 9px; border-radius: 20px; box-shadow: inset 0 0 0 1px var(--line); color: var(--muted); white-space: nowrap; }
.mk__ticker { margin: 0 -20px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.mk__tape { flex-wrap: nowrap; gap: 0; width: max-content; animation: tape 32s linear infinite; }
.mk__tape span { margin-right: 6px; }
@keyframes tape { to { transform: translateX(-50%); } }
.mk__note { margin-top: 16px; text-align: center; font-size: 12px; color: var(--muted-2); }
.js .bento:not(.is-scrub) .mk { opacity: 0; transform: translateY(60px) rotateX(14deg) scale(.96); filter: blur(6px); transform-origin: 50% 100%; transition: opacity 1.1s var(--ease-template) var(--cd, 0s), transform 1.3s var(--ease-template) var(--cd, 0s), filter 1.1s var(--ease-template) var(--cd, 0s), rotate .7s var(--ease-template); }
.js .bento .mk:nth-child(2) { --cd: .12s; } .js .bento .mk:nth-child(3) { --cd: .24s; } .js .bento .mk:nth-child(4) { --cd: .32s; } .js .bento .mk:nth-child(5) { --cd: .4s; }
.js .bento.is-in:not(.is-scrub) .mk { opacity: 1; transform: none; filter: none; }
.bento.is-scrub .mk, .clients.is-scrub .client { transform-origin: 50% 100%; }

/* ---------- Getting started: dot travelling the curve (pinned) ---------- */
.steps__dot { fill: #fff; opacity: 0; filter: drop-shadow(0 0 6px rgba(201, 165, 78,.9)); }
.scene.is-pinned .steps__dot { opacity: 1; }
.scene.is-pinned .steps__line .glow { animation: none; }
.scene.is-pinned .steps { transform: scale(var(--ss, 1)); transform-origin: 50% 0; margin-bottom: calc(682px * (var(--ss, 1) - 1)); }
.step { transition: opacity .5s var(--ease-template); }
.step__title { transition: color .5s; }
.scene.is-pinned .step.is-on .step__title { color: var(--fg); }
.scene.is-pinned .step:not(.is-on) .step__title { color: var(--muted-2); }

/* ---------- Delivery: phone states ---------- */
.phone { --skin: #fff; }
.phone__line { stroke: var(--skin); transition: stroke .8s var(--ease-template); }
.phone__tag i, .phone__range .is-on { background: var(--skin); transition: background-color .8s var(--ease-template); }
.phone__avatar { transition: box-shadow .8s; box-shadow: inset 0 0 0 1px var(--skin); }
.phone.skin-1 { --skin: #C9A54E; } .phone.skin-2 { --skin: #7dd3fc; } .phone.skin-3 { --skin: #c4b5fd; }
.ph-sheet { position: absolute; left: 10px; right: 10px; top: 188px; z-index: 2; padding: 16px 16px 6px; border-radius: 24px; background: rgba(30,30,32,.94); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: inset 0 1px 0 var(--hl), 0 -16px 40px rgba(0,0,0,.55); opacity: 0; transform: translateY(70px); transition: opacity .5s var(--ease-template), transform .8s var(--ease-template); }
.phone.state-1 .ph-sheet--ea, .phone.state-2 .ph-sheet--method, .phone.state-3 .ph-sheet--broker { opacity: 1; transform: none; }   /* v6: copy sheet before the account */
.ph-sheet__title { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 500; }
.ph-sheet__title .live-dot { margin-left: auto; height: 22px; font-size: 11px; }
.ph-sheet ul { margin-top: 8px; }
.ph-sheet li { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-top: 1px solid rgba(255,255,255,.07); font-size: 13px; }
.ph-sheet li span { color: var(--muted); }
.ph-sheet li b { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; }
.ph-sheet li .icon { width: 13px; height: 13px; color: var(--accent); }
.device__list .feature__title, .device__list .feature__text, .device__list .icon { transition: opacity .5s var(--ease-template), color .5s; }
.device__list.is-stepping li:not(.is-active) :is(.feature__title, .feature__text, .icon) { opacity: .32; }
.device__list.is-stepping li.is-active .icon { color: var(--accent); }

/* ---------- Services: live mockups ---------- */
.ui-row { transition: background-color .5s var(--ease-template), box-shadow .5s var(--ease-template); }
.ui-row.is-hot { background: #1b1b1b; box-shadow: inset 0 0 0 1px rgba(255,255,255,.22); }
.ui-row.is-hot .ui-row__ic { animation: ic-pop .6s var(--ease-spring); }
@keyframes ic-pop { 40% { transform: scale(1.14); } }
.ui-flow__link { position: relative; overflow: visible; }
.ui-flow__link::after { content: ""; position: absolute; left: -2.5px; top: 0; width: 6px; height: 6px; border-radius: 50%; background: var(--gold-grad); box-shadow: 0 0 10px var(--accent); opacity: 0; }
.ui-flow.is-live .ui-flow__link::after { animation: flow-dot 2.4s var(--ease-template) infinite; }
.ui-flow.is-live .ui-flow__link:nth-of-type(2)::after { animation-delay: .8s; }
@keyframes flow-dot { 0% { top: -4px; opacity: 0; } 15% { opacity: 1; } 45% { top: 12px; opacity: 1; } 55%, 100% { top: 12px; opacity: 0; } }
.ui-button { transition: background-color .4s var(--ease-template), color .4s, box-shadow .4s; }
.ui-button.is-done { background: #fff; color: #000; box-shadow: none; }
.ui-seg { position: relative; }
.ui-seg span { position: relative; z-index: 1; transition: color .45s var(--ease-template); }
.ui-seg .is-on { background: transparent; }
.ui-seg::before { content: ""; position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 38px; background: #fff; transition: transform .55s var(--ease-spring); }
.ui-seg.is-alt::before { transform: translateX(100%); }
.ui-consult .ui-row__main { transition: opacity .35s, transform .45s var(--ease-template); }
.ui-consult.is-swap .ui-row__main { opacity: 0; transform: translateY(6px); }

/* ---------- Record cards: flip up into place ---------- */
.js .rec[data-reveal] { transform: translateY(40px) rotateX(16deg); transform-origin: 50% 100%; filter: blur(6px); transition: opacity 1s var(--ease-template) var(--rd, 0s), transform 1.2s var(--ease-template) var(--rd, 0s), filter 1s var(--ease-template) var(--rd, 0s), rotate .7s var(--ease-template); }
.js .rec[data-reveal].is-in { transform: none; filter: none; }
.rec__badge .icon { transition: transform .6s var(--ease-spring); }
.rec:hover .rec__badge .icon { transform: scale(1.15) rotate(-6deg); }

/* ---------- Scrubbed words, shield draw, CTA glow, hero depth ---------- */
.scrub-w { transition: opacity .25s linear; }
.shield path { stroke-dasharray: 1 1; stroke-dashoffset: var(--draw, 0); }
.cta__icon { position: relative; }
.cta__icon::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 70px 4px rgba(201, 165, 78,.22); animation: cta-glow 3.6s ease-in-out infinite; pointer-events: none; }
@keyframes cta-glow { 50% { box-shadow: 0 0 110px 14px rgba(201, 165, 78,.32); } }
.hero__stage, .hero__stones { transition: translate 1.2s var(--ease-template); }
.hero__content { transition: translate 1.2s var(--ease-template); }
.intro__line[data-scrub] { color: var(--fg); }
.term__candles .is-new { transform-box: fill-box; transform-origin: 50% 100%; animation: candle-in .5s var(--ease-template) both; }
@keyframes candle-in { from { opacity: 0; transform: scaleY(.2); } }

/* ---------- Responsive ---------- */
@media (max-width: 1199px) {
  .clients { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .client { height: 400px; padding: 14px; }
  .feed__row { grid-template-columns: minmax(0, 1fr) auto 34px; } .feed__px { display: none; }
  .bento { grid-template-columns: 1fr 1fr; }
  .mk, .mk--core { grid-column: span 1; }
  .mk:last-child { grid-column: 1 / -1; }
}
@media (max-width: 809px) {
  .clients { grid-template-columns: 1fr; gap: 16px; }
  .client { height: 380px; }
  .feed__row { grid-template-columns: minmax(0, 1fr) auto auto 38px; } .feed__px { display: inline; }
  .bento { grid-template-columns: 1fr; }
  .mk, .mk--core, .mk:last-child { grid-column: auto; min-height: 250px; }
  .mk--core { min-height: 340px; }
  .mk--core .mk__name { font-size: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  .js .clients .client, .js .bento .mk, .js .rec[data-reveal] { opacity: 1 !important; transform: none !important; filter: none !important; transition: none !important; }
  .live-dot i::after, .mk__tape, .cta__icon::after, .ui-flow.is-live .ui-flow__link::after { animation: none; }
  [data-tilt] { rotate: none !important; }
}

/* ---------- Home preloader (timings in assets/js/preloader.js) ---------- */
.preloader, .no-intro .preloader { display: none !important; }
.js:not(.no-intro) .preloader { display: flex !important; }
.js .preloader {
  position: fixed; inset: 0; z-index: 70; display: flex; align-items: center; justify-content: center;
  background: var(--bg); pointer-events: none; user-select: none; will-change: transform, filter;
  animation: preloader-failsafe 0s 9s forwards;   /* never left covering the page if a script fails */
}
@keyframes preloader-failsafe { to { visibility: hidden; } }
.preloader__group { display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.preloader__name, .preloader__rot { font-family: var(--f-display); font-weight: 600; font-size: 22px; line-height: 1.3; letter-spacing: -.6px; color: #fff; }
.preloader__name:not(.is-split) { opacity: 0; }
.preloader__ch { display: inline-block; opacity: .001; transform: scale(10); }
.preloader__rot { position: relative; display: block; height: 1.3em; opacity: 0; }
.preloader__word { position: absolute; left: 0; top: 0; white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { .preloader__ch { opacity: 1; transform: none; } }


/* =====================================================================
   Third pass (06/11, v5): two doors, For Traders, live Standard and
   Record, crosshair on charts, timeline steps, CTA light. Timings in site.js.
   ===================================================================== */

/* ---------- Hero: two doors, motes in the beam ---------- */
.hero__content { max-width: 760px; gap: 18px; }
.hero__title { max-width: 720px; }
.hero__doors { display: grid; grid-template-columns: repeat(2, minmax(0, 300px)); justify-content: center; gap: 10px; margin-top: 24px; opacity: var(--cards); transform: translateY(calc((1 - var(--cards)) * 26px)); }
.js .hero__content .door { transition: background-color .4s var(--ease-spring), box-shadow .4s var(--ease-spring); }
.hero__motes { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; mix-blend-mode: screen; }

/* ---------- Intro: facts ---------- */
.intro__copy { max-width: 780px; margin-inline: auto; }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 64px; border-top: 1px solid var(--line); }
.fact { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 22px 16px 0; text-align: center; }
.fact + .fact { border-left: 1px solid var(--line); }
.fact__k { font-size: 13px; letter-spacing: .05em; color: var(--fg); }
.fact__v { max-width: 210px; font-size: 14px; line-height: 1.35; color: var(--muted); }
.js .fact[data-reveal] { --ry: 20px; --rt: 1.2s; }
.js .fact:nth-child(2) { --rd: .1s; } .js .fact:nth-child(3) { --rd: .2s; } .js .fact:nth-child(4) { --rd: .3s; }

/* ---------- For Traders: phone with push, EA, account, method ---------- */
.phone { --skin: var(--accent); }
.phone__avatar .mark { width: 34px; height: 34px; }
.ph-push { position: absolute; left: 10px; right: 10px; top: 44px; z-index: 3; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 18px; background: rgba(40, 40, 42, .94); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 14px 30px rgba(0, 0, 0, .55); opacity: 0; transform: translateY(-130%) scale(.96); transition: opacity .45s var(--ease-template), transform .7s var(--ease-spring); }
.phone.state-0 .ph-push { opacity: 1; transform: none; transition-delay: .3s; }
.ph-push__ic { width: 30px; height: 30px; flex: none; border-radius: 9px; display: flex; align-items: center; justify-content: center; background: #0b0b0b; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); }
.ph-push__ic .mark { width: 22px; height: 22px; }
.ph-push__txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ph-push__txt b { font-size: 12px; font-weight: 600; }
.ph-push__txt span { font-size: 11px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ph-push__t { align-self: flex-start; font-size: 10px; color: var(--muted-2); }
.ph-course { display: flex; align-items: center; gap: 10px; margin-top: 10px; font-size: 12px; color: var(--muted); }
.ph-course i { flex: 1; height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--gold-700) 0, var(--gold-300) 37.5%, rgba(255, 255, 255, .1) 37.5%); }
.ph-ok .icon { width: 14px; height: 14px; color: #4ade80; }
.ph-todo { width: 14px; height: 14px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .3); }
.device { grid-template-columns: 346px 260px; }

/* ---------- The Standard: live pre-trade check ---------- */
.check { position: relative; height: 508px; padding: 20px; border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; gap: 14px; background: rgba(255, 255, 255, .03); box-shadow: inset 0 1px 0 0 var(--hl), inset 0 0 0 1px rgba(255, 255, 255, .08); }
.check > :not(.check__bg) { position: relative; z-index: 1; }
.check__bg { position: absolute; inset: 0; opacity: .14; pointer-events: none; }
.check__bg img { width: 100%; height: 100%; object-fit: cover; }
.check__head { display: flex; justify-content: space-between; align-items: center; }
.check__head .mono { font-size: 11px; letter-spacing: .06em; color: var(--muted); }
.check__ticket { padding: 16px; border-radius: 14px; background: #0c0c0c; box-shadow: inset 0 0 0 1px var(--line); transition: opacity .35s, transform .5s var(--ease-template); }
.check.is-swap .check__ticket { opacity: 0; transform: translateY(8px); }
.check__pair { display: flex; align-items: center; justify-content: space-between; }
.check__pair b { font-size: 15px; font-weight: 500; }
.check__px { margin-top: 8px; font-family: var(--f-display); font-size: 34px; line-height: 1; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.check__lvls { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 12px; font-size: 12px; color: var(--muted); }
.check__lvls i { margin-right: 6px; font-style: normal; font-family: var(--f-mono); font-size: 10px; color: var(--muted-2); }
.check__lvls b { font-weight: 500; color: var(--fg); font-variant-numeric: tabular-nums; }
.check__rules { display: flex; flex-direction: column; gap: 6px; }
.check__rules li { display: grid; grid-template-columns: 16px minmax(0, 1fr) auto; align-items: center; gap: 10px; height: 42px; padding: 0 12px; border-radius: 10px; background: #111; box-shadow: inset 0 0 0 1px var(--line); font-size: 13px; transition: opacity .35s, box-shadow .4s, background-color .4s; }
.check__name { color: var(--muted); transition: color .3s; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.check__val { font-family: var(--f-mono); font-size: 11px; color: var(--muted-2); white-space: nowrap; transition: color .3s; }
.check__st { position: relative; width: 16px; height: 16px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .18); }
.check__rules li.is-wait .check__st { box-shadow: none; border: 1.5px solid rgba(255, 255, 255, .15); border-top-color: #fff; animation: spin .7s linear infinite; }
.check__rules li.is-ok .check__st { background: rgba(74, 222, 128, .16); box-shadow: inset 0 0 0 1.5px #4ade80; }
.check__rules li.is-ok .check__st::after { content: ""; position: absolute; left: 5.5px; top: 3.5px; width: 3.5px; height: 7px; border: solid #4ade80; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
.check__rules li.is-ok .check__name, .check__rules li.is-fail .check__name { color: var(--fg); }
.check__rules li.is-fail { background: rgba(201, 165, 78, .07); box-shadow: inset 0 0 0 1px rgba(201, 165, 78, .55); }
.check__rules li.is-fail .check__st { background: rgba(201, 165, 78, .16); box-shadow: inset 0 0 0 1.5px var(--accent); }
.check__rules li.is-fail .check__st::before, .check__rules li.is-fail .check__st::after { content: ""; position: absolute; left: 7.25px; top: 4px; width: 1.5px; height: 8px; border-radius: 1px; background: var(--accent); transform: rotate(45deg); }
.check__rules li.is-fail .check__st::after { transform: rotate(-45deg); }
.check__rules li.is-fail .check__val { color: var(--accent); }
.check__rules li.is-skip { opacity: .32; }
@keyframes spin { to { transform: rotate(360deg); } }
.check__result { margin-top: auto; display: flex; align-items: center; justify-content: center; gap: 8px; height: 44px; border-radius: 44px; background: #0d0d0d; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); font-size: 14px; font-weight: 500; color: var(--muted); transition: background-color .4s, color .4s, box-shadow .4s; }
.check__result .icon { width: 16px; height: 16px; opacity: 0; transition: opacity .3s; }
.check.is-pass .check__result { background: #fff; color: #000; box-shadow: none; }
.check.is-block .check__result { background: rgba(201, 165, 78, .12); color: var(--accent); box-shadow: inset 0 0 0 1px rgba(201, 165, 78, .5); }
.check.is-pass .check__result .icon, .check.is-block .check__result .icon { opacity: 1; }

/* ---------- The Record: six live proofs ---------- */
.recs .rec { height: auto; min-height: 440px; padding: 14px 14px 22px; }
.rec__vis { position: relative; z-index: 1; height: 170px; flex: none; padding: 12px; border-radius: 12px; background: #0a0a0a; box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.recs .rec__quote { margin-top: 22px; padding-inline: 10px; }
.recs .rec__who { margin-inline: 10px; }
.rv-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-family: var(--f-mono); font-size: 10px; letter-spacing: .05em; text-transform: uppercase; color: var(--muted-2); }
.rv-rec { display: inline-flex; align-items: center; gap: 6px; color: var(--fg); }
.rv-rec i { width: 6px; height: 6px; border-radius: 50%; background: #ff5d5d; }
.is-live .rv-rec i { animation: rec-blink 1.4s steps(2, jump-none) infinite; }
@keyframes rec-blink { 50% { opacity: .15; } }
.rv-log__rows { margin-top: 10px; display: flex; flex-direction: column; gap: 6px; }
.rv-log__rows li { display: grid; grid-template-columns: 56px 50px minmax(0, 1fr) auto; align-items: center; gap: 8px; height: 34px; padding: 0 10px; border-radius: 8px; background: #121212; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); font-size: 12px; transition: box-shadow 1.2s var(--ease-template); }
.rv-log__rows time, .rv-log__rows code { font-family: var(--f-mono); font-size: 10.5px; color: var(--muted-2); }
.rv-log__rows b { font-weight: 500; }
.rv-log__rows span { color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rv-log__rows li.is-new { box-shadow: inset 2px 0 0 var(--accent), inset 0 0 0 1px rgba(201, 165, 78, .35); animation: rv-in .7s var(--ease-template) both; }
.rv-log__rows li.is-out { opacity: 0; transition: opacity .4s; }
@keyframes rv-in { from { opacity: 0; transform: translateY(-10px); } }
.rv-bars { display: flex; flex-direction: column; }
.rv-lock { display: inline-flex; align-items: center; gap: 5px; }
.rv-lock .icon { width: 11px; height: 11px; }
.rv-bars__plot { position: relative; flex: 1; display: flex; gap: 4px; margin: 10px 0 8px; }
.rv-bars__plot::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(255, 255, 255, .14); }
.rv-bar { position: relative; flex: 1; }
.rv-bar i { position: absolute; left: 0; right: 0; height: calc(var(--h, .5) * 46%); border-radius: 2px; }
.rv-bar.is-up i { bottom: 50%; background: rgba(110, 231, 160, .85); transform-origin: 50% 100%; }
.rv-bar.is-dn i { top: 50%; background: rgba(255, 154, 154, .8); transform-origin: 50% 0; }
.rv-bar.is-new i { animation: bar-in .6s var(--ease-spring) both; }
@keyframes bar-in { from { transform: scaleY(0); } }
.rv-bars__key { display: flex; gap: 14px; font-size: 11px; color: var(--muted-2); }
.rv-bars__key i { display: inline-block; width: 8px; height: 8px; margin-right: 6px; border-radius: 2px; }
.rv-bars__key .is-up { background: var(--up); } .rv-bars__key .is-dn { background: var(--down); }
.rv-verify { display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: 16px 12px; }
.rv-node { width: 112px; flex: none; display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; }
.rv-node__ic { width: 46px; height: 46px; margin-bottom: 6px; border-radius: 14px; display: flex; align-items: center; justify-content: center; background: #151515; box-shadow: inset 0 0 0 1px var(--line); }
.rv-node__ic .icon { width: 20px; height: 20px; stroke-width: 1.75; }
.rv-node--v .rv-node__ic { color: var(--accent); box-shadow: inset 0 0 0 1px rgba(201, 165, 78, .5), 0 0 26px -6px var(--accent-glow); }
.rv-node b { font-size: 12px; font-weight: 500; line-height: 1.2; }
.rv-node span { font-size: 10.5px; line-height: 1.25; color: var(--muted-2); }
.rv-wire { position: relative; flex: 1; height: 1px; margin-top: -44px; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .3) 0 4px, transparent 4px 8px); }
.rv-wire i { position: absolute; top: -3px; left: 0; width: 100%; height: 7px; background: radial-gradient(circle at 3.5px 50%, var(--accent) 3px, transparent 3.6px) no-repeat; filter: drop-shadow(0 0 5px var(--accent)); opacity: 0; }
.is-live .rv-wire i { animation: wire 2.2s var(--ease-template) infinite; }
@keyframes wire { 0% { transform: translateX(0); opacity: 0; } 15%, 85% { opacity: 1; } 100% { transform: translateX(calc(100% - 7px)); opacity: 0; } }
.rv-anat { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; }
.rv-num { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.rv-num span { font-family: var(--f-mono); font-size: 10px; letter-spacing: .05em; text-transform: uppercase; color: var(--muted-2); }
.rv-num b { display: flex; gap: 4px; }
.rv-num b i { width: 22px; height: 30px; border-radius: 6px; background: linear-gradient(90deg, #191919, #2a2a2a, #191919); background-size: 200% 100%; }
.is-live .rv-num b i { animation: shimmer 1.8s linear infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }
.rv-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.rv-tags li { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 26px; box-shadow: inset 0 0 0 1px var(--line); font-size: 11px; white-space: nowrap; opacity: .28; transform: translateY(5px); transition: opacity .5s, transform .6s var(--ease-spring), box-shadow .5s; }
.rv-tags li i { font-style: normal; font-family: var(--f-mono); font-size: 9.5px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted-2); }
.rv-tags li.is-on { opacity: 1; transform: none; box-shadow: inset 0 0 0 1px rgba(201, 165, 78, .5); }
.rv-report { padding: 0; }
.rv-sheet { position: absolute; left: 18px; right: 18px; top: 16px; padding: 12px; border-radius: 10px; background: #161616; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), inset 0 0 0 1px rgba(255, 255, 255, .06), 0 10px 24px rgba(0, 0, 0, .45); transform-origin: 50% 0; transition: transform .8s var(--ease-template), opacity .6s var(--ease-template); }
.rv-sheet.p0 { z-index: 3; }
.rv-sheet.p1 { z-index: 2; transform: translateY(13px) scale(.94); opacity: .6; }
.rv-sheet.p2 { z-index: 1; transform: translateY(26px) scale(.88); opacity: .3; }
.rv-sheet.out { z-index: 4; transform: translateY(-26px) rotate(-3deg); opacity: 0; }
.rv-sheet__top { display: flex; justify-content: space-between; align-items: center; font-size: 12px; }
.rv-sheet__top b { font-weight: 500; }
.rv-sheet__top span { font-family: var(--f-mono); font-size: 10px; letter-spacing: .05em; text-transform: uppercase; color: var(--accent); }
.rv-sheet ul { margin-top: 12px; display: flex; flex-direction: column; gap: 9px; }
.rv-sheet li { display: grid; grid-template-columns: 62px 1fr; align-items: center; gap: 10px; font-size: 11px; color: var(--muted); }
.rv-sheet li i { height: 6px; border-radius: 6px; background: linear-gradient(90deg, rgba(255, 255, 255, .5) calc(var(--w, .5) * 100%), rgba(255, 255, 255, .08) 0); }
.rv-read { display: grid; grid-template-columns: minmax(0, 1fr) 92px; gap: 12px; }
.rv-page { position: relative; overflow: hidden; border-radius: 8px; background: #121212; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); -webkit-mask-image: linear-gradient(transparent, #000 16%, #000 84%, transparent); mask-image: linear-gradient(transparent, #000 16%, #000 84%, transparent); }
.rv-page__in { display: flex; flex-direction: column; gap: 9px; padding: 14px 12px; transform: translateY(calc(var(--rp, 0) * -60px)); transition: transform .2s linear; }
.rv-page__in i { height: 5px; border-radius: 5px; background: rgba(255, 255, 255, .13); }
.rv-page__in i:nth-child(4n + 1) { width: 54%; background: rgba(255, 255, 255, .26); }
.rv-page__in i:nth-child(4n + 3) { width: 82%; }
.rv-read__side { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; }
.rv-ring { width: 54px; height: 54px; transform: rotate(-90deg); }
.rv-ring circle { fill: none; stroke-width: 3; }
.rv-ring__base { stroke: rgba(255, 255, 255, .1); }
.rv-ring__fill { stroke: var(--accent); stroke-linecap: round; stroke-dasharray: 1 1; stroke-dashoffset: calc(1 - var(--rp, 0)); transition: stroke-dashoffset .2s linear; }
.rv-read__pct { font-family: var(--f-num); font-size: 13px; font-variant-numeric: tabular-nums; }
.rv-read__btn { padding: 6px 10px; border-radius: 20px; font-size: 11px; font-weight: 500; white-space: nowrap; color: var(--muted-2); box-shadow: inset 0 0 0 1px var(--line); transition: background-color .4s, color .4s, box-shadow .4s; }
.rv-read.is-done .rv-read__btn { background: #fff; color: #000; box-shadow: none; }
#record .mk__note { margin-top: 20px; }

/* ---------- Markets: crosshair on the charts (fine pointers) ---------- */
.mk__cross { position: absolute; top: 0; bottom: 0; left: 0; width: 1px; background: linear-gradient(transparent, rgba(255, 255, 255, .4) 18%, rgba(255, 255, 255, .4) 82%, transparent); opacity: 0; pointer-events: none; transition: opacity .25s; }
.mk__cross i { position: absolute; left: -4px; top: 0; width: 9px; height: 9px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(255, 255, 255, .14); }
.mk--core .mk__cross i { background: var(--accent); box-shadow: 0 0 0 4px rgba(201, 165, 78, .22); }
.mk__chart.is-hover .mk__cross { opacity: 1; }
.mk__chart.is-hover .mk__dot { opacity: .35; }

/* ---------- FAQ, CTA ---------- */
.faq__cta { margin-top: 12px; }
.cta { position: relative; isolation: isolate; overflow: hidden; padding: 120px 0 104px; }
.cta__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; -webkit-mask-image: radial-gradient(60% 70% at 50% 42%, #000 20%, transparent 76%); mask-image: radial-gradient(60% 70% at 50% 42%, #000 20%, transparent 76%); }
.cta__bg { opacity: .55; }
/* v5.17: the far monoliths part as the closing enters the screen, the claim comes into focus (same grammar as the hero) */
.cta { --open: 0; --text: 0; --cards: 0; }
.cta__plate, .cta__stone { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 50%; }
.cta__plate { transform: scale(calc(1 + var(--open) * .05)); transform-origin: 50% 60%; }
.cta__stone { will-change: transform; }
.cta__stone--l { transform-origin: 43.4% 59.9%; transform: translateX(calc(var(--open) * -11%)) scale(calc(.96 + var(--open) * .14)); }
.cta__stone--r { transform-origin: 56.5% 59.9%; transform: translateX(calc(var(--open) * 11%)) scale(calc(.96 + var(--open) * .14)); }
.cta__title, .cta__sub { opacity: var(--text); transform: translateY(calc((1 - var(--text)) * 12px)) scale(calc(.97 + var(--text) * .03)); filter: blur(calc((1 - var(--text)) * 5px)); }
.cta__doors { opacity: var(--cards); transform: translateY(calc((1 - var(--cards)) * 22px)); }
.head { position: relative; }
.footer__glyphs { display: flex; justify-content: center; gap: 22px; padding: 26px 0 6px; }
.footer__glyphs .glyph { width: 14px; height: 14px; color: var(--gold-700); opacity: .8; filter: none; stroke-width: 1.3; }
.cta .h2 { max-width: 660px; }
.cta .body { max-width: 460px; }
.cta__doors { display: grid; grid-template-columns: repeat(2, minmax(0, 280px)); justify-content: center; gap: 10px; margin-top: 32px; }

/* ---------- v5 responsive ---------- */
@media (max-width: 1199px) {
  .device { grid-template-columns: 346px 240px; }
}
@media (max-width: 809px) {
  .hero__doors { grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 18px; width: 100%; }
  .hero__doors .door { padding: 12px 34px 12px 12px; }
  .hero__doors .door__title { font-size: 15px; }
  .hero__doors .door__text { display: none; }
  .hero__doors .door__go { right: 12px; top: 13px; }
  .facts { grid-template-columns: 1fr 1fr; margin-top: 48px; }
  .fact { padding: 18px 10px; }
  .fact:nth-child(3) { border-left: 0; }
  .fact:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .device { grid-template-columns: 1fr; }
  .check { height: auto; min-height: 480px; }
  .recs .rec { min-height: 0; }
  .cta { padding: 96px 0 80px; }
  .cta__doors { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .js .hero__content .door { opacity: 1 !important; transform: none !important; transition: none !important; }
  .hero__motes { display: none; }
  .check__rules li.is-wait .check__st { animation: none; }
  .rv-bar.is-new i, .rv-log__rows li.is-new { animation: none; }
}

/* Fourth pass (06/11, v5 review) */
.ph-sheet { bottom: 10px; }
.fact__k { font-family: var(--f-display); font-size: 26px; line-height: 1.1; font-weight: 400; letter-spacing: -.03em; color: var(--fg); }
.check__rules { gap: 8px; }
.check__rules li { height: 46px; }
.recs .rec { min-height: 0; }
.recs .rec__quote { margin-bottom: 28px; }
@media (max-width: 809px) {
  .fact__k { font-size: 22px; }
  .standard__copy { order: 0; }
  .door__tag-x { display: none; }
}
.rv-sheet.p1 { transform: translateY(15px) scale(.95); }
.rv-sheet.p2 { transform: translateY(30px) scale(.9); }
.hero__kicker { color: rgba(255, 255, 255, .78); text-shadow: 0 1px 14px rgba(0, 0, 0, .85), 0 0 2px rgba(0, 0, 0, .6); }

/* ---------- v5.18: symbolic fields behind the middle sections ---------- */
.sym { position: absolute; pointer-events: none; z-index: -1; }
.sym--rings { left: 50%; top: 56%; width: min(84vh, 820px); height: min(84vh, 820px); margin: calc(min(84vh, 820px) / -2) 0 0 calc(min(84vh, 820px) / -2); fill: none; stroke: var(--gold-500); stroke-width: .35; opacity: .24; z-index: 0; }
.sym--rings .sym__rot { transform-origin: 50% 50%; transform: rotate(var(--rot, 0deg)); }
.services:not(.is-pinned) .sym--rings { display: none; }
.services.is-pinned .scene__sticky > .container { position: relative; z-index: 1; }
/* v5.21: no monoliths; the text sits above, the rings are centred on the card (--mc, set by site.js) and frame it, faded under the text */
.services.is-pinned .sym--rings { --ring: 1120px; top: var(--mc, 60%); width: var(--ring); height: var(--ring); margin: calc(var(--ring) / -2) 0 0 calc(var(--ring) / -2); stroke-width: .22; color: var(--gold-500);
  -webkit-mask-image: linear-gradient(180deg, transparent calc(50% - 260px), #000 calc(50% - 160px)); mask-image: linear-gradient(180deg, transparent calc(50% - 260px), #000 calc(50% - 160px)); }
@media (max-width: 1199px) { .sym--faq { display: none; } }   /* FAQ in one column: no empty column for the grid */

/* ---------- v5.18: Services as a pinned deck of six large cards ---------- */
.services { --len: 680vh; }   /* v5.26: about one screen of scroll per card (v5.23: 190vh, v5.25: 380vh) */
.services:not(.is-pinned) .svc__deck-n { display: none; }   /* the counter belongs to the deck only */
.services.is-pinned .head { align-items: center; text-align: center; margin: 0 auto; max-width: 720px; }
.services.is-pinned .head .glyph { align-self: center; }
.services.is-pinned .head .body { max-width: 560px; }
.services.is-pinned .cards3--6 { display: block; position: relative; height: 430px; margin-top: 30px; perspective: 1400px; }
.services.is-pinned .svc { position: absolute; left: 50%; top: 0; width: min(900px, calc(100vw - 64px)); margin-left: calc(min(900px, calc(100vw - 64px)) / -2); height: 400px; min-height: 0; padding: 0; display: grid; grid-template-columns: 400px minmax(0, 1fr); align-items: stretch; transform-origin: 50% 0; will-change: transform, opacity, filter; opacity: 0; box-shadow: inset 0 1px 0 0 var(--hl), 0 40px 80px -40px rgba(0, 0, 0, .9); }
/* v5.21: the six cards are opaque and carry the stone texture of the pre-trade check (.check__bg) */
.services .svc { position: relative; background: #080808; -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: inset 0 1px 0 0 var(--hl), inset 0 0 0 1px rgba(255, 255, 255, .08); }
.services.is-pinned .svc { box-shadow: inset 0 1px 0 0 var(--hl), inset 0 0 0 1px rgba(255, 255, 255, .08), 0 40px 80px -40px rgba(0, 0, 0, .9); }
.svc__bg { position: absolute; inset: 0; z-index: 0; opacity: .14; pointer-events: none; }
.svc__bg img { width: 100%; height: 100%; object-fit: cover; }
.services .svc > .svc__visual, .services .svc > .svc__body { position: relative; z-index: 1; }   /* only the content: the tilt spot stays absolute */
.services.is-pinned .svc__visual { height: 100%; padding: 0 24px; }
.services.is-pinned .svc__body { padding: 40px 40px 40px 12px; justify-content: center; gap: 14px; }
.services.is-pinned .svc__body .body { font-size: 18px; line-height: 1.5; }
.services.is-pinned .svc__title { font-size: 13px; }
.services.is-pinned .svc__deck-n { position: absolute; right: 24px; top: 20px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; color: var(--muted-2); }

/* ---------- v5.18: The Record as a pinned horizontal rail ---------- */
.record { --len: 120vh; }
.record.is-pinned .recs { display: flex; gap: 16px; width: max-content; margin-top: 34px; will-change: transform; }
.record.is-pinned .rec { width: 420px; height: 400px; flex: none; }
.record.is-pinned .rec__quote { max-width: 320px; }
.record.is-pinned .mk__note { margin-top: 18px; }
.js .record.is-pinned .rec[data-reveal] { opacity: 1; transform: none; filter: none; transition: none; }

/* ---------- v5.34: the light of the gap (made by site.js, home only) ----------
   the gap of light between the monoliths runs down the centre, behind the content (it hides behind text and pinned scenes);
   each passage between two blocks opens in a horizontal flare, on the ruler at the top of the block, as it crosses mid-screen */
.seam { position: absolute; top: 0; left: 0; width: 100%; z-index: -1; pointer-events: none; }
.seam__line { position: absolute; left: 50%; width: 1px; margin-left: -.5px;
  background: linear-gradient(180deg, transparent, rgba(246, 235, 201, .3) 56px, rgba(246, 235, 201, .3) calc(100% - 56px), transparent); }
.seam__line::before { content: ""; position: absolute; top: 0; bottom: 0; left: -6px; width: 13px;
  background: linear-gradient(90deg, transparent, rgba(201, 165, 78, .1), transparent);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 56px, #000 calc(100% - 56px), transparent);
  mask-image: linear-gradient(180deg, transparent, #000 56px, #000 calc(100% - 56px), transparent); }
.seam__flare { position: absolute; left: 50%; width: 0; height: 0; margin-top: 4px; opacity: var(--f, 0); }   /* on the ruler's line */
.seam__beam { position: absolute; left: 0; top: 0; width: min(960px, 92vw); height: 1px; transform: translateX(-50%) scaleX(var(--f, 0));
  background: linear-gradient(90deg, transparent, rgba(227, 199, 126, .5) 28%, rgba(246, 235, 201, .95) 50%, rgba(227, 199, 126, .5) 72%, transparent); }
.seam__beam::before { content: ""; position: absolute; left: 18%; right: 18%; top: -32px; height: 64px;
  background: radial-gradient(50% 50% at 50% 50%, rgba(201, 165, 78, .2), transparent); }
.seam__core { position: absolute; left: -2.5px; top: -2px; width: 5px; height: 5px; border-radius: 50%; background: var(--gold-100);
  box-shadow: 0 0 14px 4px rgba(227, 199, 126, .55); }

/* ==========================================================================
   v6 (10/11/2026): the new site texts. Only what the new structure needs:
   footer with four columns, button inside the menu door, detail line in the
   first fact, four market cards, «Coming soon», Partners / Traders paths.
   ========================================================================== */
.footer__top { grid-template-columns: minmax(0, 1fr) repeat(4, 132px); column-gap: 40px; }
.footer__disclosure a { color: var(--muted-2); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255, 255, 255, .2); transition: color .25s; }
.footer__disclosure a:hover { color: var(--fg); }
@media (max-width: 1199px) { .footer__top { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 809px) { .footer__top { grid-template-columns: 1fr 1fr; } }

.door__btn { align-self: flex-start; display: inline-flex; align-items: center; height: 28px; margin-top: 4px; padding: 0 12px; border-radius: 28px; background: #fff; color: #0a0a0a; font-size: 12px; font-weight: 500; white-space: nowrap; }

.fact__d { max-width: 220px; font-size: 12px; line-height: 1.4; color: var(--muted-2); }

.bento--4 .mk, .bento--4 .mk--core { grid-column: span 3; }
@media (max-width: 1199px) { .bento--4 .mk, .bento--4 .mk--core, .bento--4 .mk:last-child { grid-column: span 1; } }
@media (max-width: 809px) { .bento--4 .mk, .bento--4 .mk--core, .bento--4 .mk:last-child { grid-column: auto; } }
.mk__rec--soon i { background: var(--gold-grad); box-shadow: 0 0 0 3px rgba(201, 165, 78, .15); }
.mk--soon .mk__chart { opacity: .35; }

.path-switch { position: relative; display: inline-flex; margin-top: 22px; padding: 4px; border-radius: 40px; background: #121212; box-shadow: inset 0 0 0 1px var(--line); }
.path-switch::before { content: ""; position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 36px; background: #fff; transition: transform .55s var(--ease-spring); }
.path-switch.is-alt::before { transform: translateX(100%); }
.path-switch button { position: relative; z-index: 1; min-width: 116px; height: 36px; padding: 0 18px; border: 0; border-radius: 36px; background: none; color: var(--muted); font: inherit; font-size: 14px; font-weight: 500; cursor: pointer; transition: color .35s; }
.path-switch button.is-on { color: #0a0a0a; }
.path-switch button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.head--center .path-switch { align-self: center; }
.step { display: grid; }
.step__v { grid-area: 1 / 1; transition: opacity .45s var(--ease-template), translate .45s var(--ease-template); }
.js .step__v:not(.is-shown) { opacity: 0; translate: 0 8px; pointer-events: none; }
html:not(.js) .step__v[data-path="traders"] { display: none; }
