/* =========================================================
   ZAURIX Partner Thailand — styles
   Brand tokens: ZAURIX Brand Guideline (colour p.16–18, typeface p.13–14)
   Component feel (glass cards, 24px radius, red gradient borders): zaurix.com
   ========================================================= */
:root {
  /* Brand colours */
  --red: #ED1C24;                 /* Bright Red — primary */
  --red-hi: #D82424;
  --red-lo: #940000;
  --red-deep: #3A0A0A;
  --charcoal: #121212;            /* Deep Charcoal — secondary */
  --white: #FFFFFF;

  /* Gradients */
  --grad-red: linear-gradient(45deg, #ED1C24, #3A0A0A);          /* guideline: Primary Red */
  --grad-light-red: linear-gradient(45deg, #E08A87, #ED1C24);    /* guideline: Light Red */
  --grad-btn: linear-gradient(90deg, var(--red-hi) -14%, var(--red-lo) 112%);
  --grad-text: linear-gradient(90deg, #ff3b42 0%, #ED1C24 45%, #b30f15 100%);
  --grad-border: linear-gradient(135deg, rgba(237, 28, 36, .9), rgba(255, 255, 255, .08) 40%, rgba(255, 255, 255, .04) 60%, rgba(237, 28, 36, .7));
  --glass: radial-gradient(100% 100% at 0% 0%, rgba(33, 33, 33, .92), rgba(58, 58, 58, .22));

  /* Surfaces */
  --bg: #0b0b0b;
  --surface: var(--charcoal);
  --line: rgba(255, 255, 255, .09);
  --line-strong: rgba(255, 255, 255, .16);
  --text: #f5f5f5;
  --muted: #a6a6a6;
  --muted-2: #8a8a8a;              /* 4.5:1+ on the darkest backgrounds */

  /* Type — Avenir Next / Sukhumvit Set per guideline, with free web fallbacks */
  --font: "Sukhumvit Set", "SukhumvitSet", "Anuphan", system-ui, sans-serif;
  --font-en: "Avenir Next", "Figtree", "Sukhumvit Set", "Anuphan", system-ui, sans-serif;

  --container: 1240px;
  --gutter: 24px;
  --r-sm: 12px;
  --r: 24px;                      /* cards — matches zaurix.com */
  --r-lg: 32px;
  --header-h: 80px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.28; font-weight: 700; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input { font: inherit; color: inherit; }
table { border-collapse: collapse; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.text-red-grad { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Gradient hairline border for any rounded element: add .gb */
.gb { position: relative; }
.gb::before {
  content: ""; position: absolute; inset: 0; padding: 1.5px; border-radius: inherit; pointer-events: none;
  background: var(--grad-border);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.glass { background: var(--glass); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }

/* ---------- Preloader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 100;
  display: grid; place-items: center; align-content: center; gap: 28px;
  background: var(--charcoal);
  transition: opacity .6s var(--ease), visibility .6s;
}
.loader.is-done { opacity: 0; visibility: hidden; }
.loader__glow { position: absolute; width: 340px; height: 340px; border-radius: 50%; background: radial-gradient(circle, rgba(237, 28, 36, .55), transparent 65%); animation: pulse 1.6s ease-in-out infinite; }
.loader__mark { position: relative; width: 104px; filter: drop-shadow(0 0 24px rgba(237, 28, 36, .8)); }
.loader__word { position: relative; font-family: var(--font-en); font-size: 13px; letter-spacing: .5em; color: #9a9a9a; }
@keyframes pulse { 0%, 100% { transform: scale(.75); opacity: .55; } 50% { transform: scale(1.1); opacity: 1; } }

/* ---------- Pills, eyebrows, buttons ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 18px;
  border: 1px solid rgba(237, 28, 36, .6);
  border-radius: 999px;
  background: rgba(237, 28, 36, .08);
  box-shadow: 0 0 24px rgba(237, 28, 36, .18), inset 0 0 12px rgba(237, 28, 36, .12);
  color: #f3d9da;
  font-size: 14px; font-weight: 500;
}
.pill__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red); box-shadow: 0 0 10px var(--red); animation: blink 2s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .35; } }
.pill--light { background: #fff; color: var(--red); box-shadow: 0 6px 20px rgba(237, 28, 36, .12); }

.eyebrow { font-family: var(--font-en); font-size: 13px; font-weight: 600; letter-spacing: .24em; color: var(--red); }

.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 28px;
  border: 1px solid transparent; border-radius: 999px;
  font-weight: 600; font-size: 16px; white-space: nowrap;
  cursor: pointer;
  transition: background .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--red { background: var(--grad-btn); color: #fff; box-shadow: 0 10px 30px -8px rgba(237, 28, 36, .65), inset 0 1px 0 rgba(255, 255, 255, .25); }
.btn--red:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -8px rgba(237, 28, 36, .85), inset 0 1px 0 rgba(255, 255, 255, .25); }
.btn--shine::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .35), transparent);
  transform: skewX(-20deg); animation: shine 4.5s ease-in-out infinite;
}
@keyframes shine { 0%, 60% { left: -60%; } 100% { left: 130%; } }
.btn--ghost { border-color: var(--line-strong); color: var(--text); background: rgba(255, 255, 255, .03); backdrop-filter: blur(6px); }
.btn--ghost:hover { border-color: rgba(237, 28, 36, .7); background: rgba(237, 28, 36, .08); }
.btn--white { background: #fff; color: var(--charcoal); }
.btn--white:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(0, 0, 0, .35); }
.btn--outline-white { border-color: rgba(255, 255, 255, .6); color: #fff; }
.btn--outline-white:hover { background: rgba(255, 255, 255, .12); }
.btn--sm { min-height: 42px; padding: 0 22px; font-size: 15px; }
.btn--lg { min-height: 56px; padding: 0 34px; font-size: 17px; }
.btn--block { width: 100%; }

.corner-mark { position: absolute; top: 24px; right: 24px; width: 34px; height: auto; pointer-events: none; }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--header-h);
  transition: background .3s var(--ease), border-color .3s var(--ease);
  border-bottom: 1px solid transparent;
}
.header.is-scrolled { background: rgba(11, 11, 11, .78); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-color: var(--line); }
.header__inner { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand__logo { height: 26px; width: auto; }
.brand__tag {
  font-family: var(--font-en); font-size: 10px; font-weight: 700; letter-spacing: .16em;
  padding: 3px 9px; border: 1px solid rgba(237, 28, 36, .5); border-radius: 999px; color: #e7b3b5;
}
.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav__link { position: relative; padding: 8px 13px; border-radius: 999px; font-size: 15px; color: #d6d6d6; transition: color .2s, background .2s; }
.nav__link:hover { color: #fff; }
.nav__link.is-active { color: #fff; background: radial-gradient(60% 120% at 50% 120%, rgba(237, 28, 36, .55), transparent 70%); }
.nav__link.is-active::after {
  content: ""; position: absolute; left: 30%; right: 30%; bottom: -2px; height: 2px; border-radius: 2px; background: var(--red);
  box-shadow: 0 0 12px 2px rgba(237, 28, 36, .9);
}
.nav__mobile-cta { display: none; }
.header__actions { display: flex; align-items: center; gap: 18px; }
.header__login { font-size: 15px; color: #cfcfcf; }
.header__login:hover { color: #fff; }
.burger { display: none; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line-strong); border-radius: 50%; background: transparent; cursor: pointer; }
.burger span { display: block; width: 18px; height: 2px; margin: 4px auto; border-radius: 2px; background: #fff; transition: transform .3s var(--ease), opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; padding: calc(var(--header-h) + 48px) 0 48px; display: flex; flex-direction: column; justify-content: center; overflow: hidden; isolation: isolate; }
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__video { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); opacity: .3; }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 11, 11, .4) 0%, rgba(11, 11, 11, .15) 45%, var(--bg) 100%); }

/* drifting red light, like the original's hero glow */
.aurora { position: absolute; inset: 0; overflow: hidden; }
.aurora span { position: absolute; border-radius: 50%; filter: blur(80px); mix-blend-mode: screen; }
.aurora span:nth-child(1) { width: 60vw; height: 60vw; left: -18vw; top: -30vw; background: rgba(170, 12, 18, .7); animation: drift1 16s ease-in-out infinite; }
.aurora span:nth-child(2) { width: 40vw; height: 40vw; right: -8vw; top: 10vh; background: rgba(237, 28, 36, .32); animation: drift2 20s ease-in-out infinite; }
.aurora span:nth-child(3) { width: 30vw; height: 30vw; left: 30vw; bottom: -14vw; background: rgba(120, 8, 12, .5); animation: drift1 24s ease-in-out -6s infinite reverse; }
@keyframes drift1 { 50% { transform: translate(8vw, 6vh) scale(1.12); } }
@keyframes drift2 { 50% { transform: translate(-6vw, 10vh) scale(.9); } }

.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 48px; }
.hero__content > * + * { margin-top: 26px; }
.hero__title { font-size: clamp(40px, 4.8vw, 68px); line-height: 1.16; letter-spacing: -.015em; }
.hero__title .text-red-grad { display: block; padding-bottom: .08em; }
@media (min-width: 601px) { .hero__title .text-red-grad { white-space: nowrap; } }
.hero__lead { max-width: 580px; color: #cdcdcd; font-size: 19px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; padding-top: 6px; }

.hero__visual { position: relative; height: 640px; display: grid; place-items: center; }
.hero__rings { position: absolute; width: 74%; right: -14%; bottom: -4%; opacity: .85; animation: float 10s ease-in-out infinite; filter: drop-shadow(0 30px 60px rgba(0, 0, 0, .6)); }
.float-z { position: absolute; filter: drop-shadow(0 12px 30px rgba(237, 28, 36, .5)); }
.float-z--1 { width: 96px; left: 4%; top: 6%; transform: rotate(-18deg); animation: floatR 8s ease-in-out infinite; }
.float-z--2 { width: 58px; right: 6%; top: 18%; transform: rotate(22deg); animation: floatR 9s ease-in-out -3s infinite reverse; }
.float-z--3 { width: 64px; left: 10%; bottom: 10%; animation: float 7s ease-in-out -1s infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }
@keyframes floatR { 0%, 100% { translate: 0 0; } 50% { translate: 0 -18px; } }

/* Phone mockup */
.phone {
  position: relative; z-index: 2;
  width: 300px; height: 612px; padding: 11px;
  border-radius: 48px;
  background: linear-gradient(145deg, #3a3a3a, #121212 40%, #2a2a2a);
  box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .12), 0 50px 100px -20px rgba(0, 0, 0, .9), 0 0 90px -10px rgba(237, 28, 36, .45);
  transform: rotate(-4deg);
  animation: phone 9s ease-in-out infinite;
}
@keyframes phone { 0%, 100% { transform: rotate(-4deg) translateY(0); } 50% { transform: rotate(-3deg) translateY(-12px); } }
.phone__notch { position: absolute; top: 20px; left: 50%; z-index: 3; width: 96px; height: 26px; margin-left: -48px; border-radius: 20px; background: #050505; }
.phone__screen { position: relative; height: 100%; overflow: hidden; border-radius: 38px; background: linear-gradient(180deg, #161616, #0d0d0d); padding: 16px 16px 0; display: flex; flex-direction: column; }
.phone__status { display: flex; justify-content: space-between; align-items: center; padding: 2px 10px 0; font-family: var(--font-en); font-size: 12px; font-weight: 700; }
.phone__icons { display: flex; gap: 3px; }
.phone__icons i { width: 13px; height: 8px; border-radius: 2px; background: #ddd; }
.phone__icons i:nth-child(1) { width: 4px; }
.phone__icons i:nth-child(2) { width: 8px; }
.phone__top { display: flex; align-items: center; gap: 8px; margin: 22px 2px 12px; font-family: var(--font-en); font-weight: 700; font-size: 15px; }
.phone__logo { width: 20px; }
.wallet { position: relative; overflow: hidden; padding: 16px 16px 0; border-radius: 20px; background: linear-gradient(135deg, #f0262d, #8d0a0f); box-shadow: 0 14px 30px -10px rgba(237, 28, 36, .7); }
.wallet__label { display: block; font-size: 12px; opacity: .85; }
.wallet__value { display: block; font-family: var(--font-en); font-size: 30px; font-weight: 800; line-height: 1.2; }
.wallet__delta { display: inline-block; margin-top: 4px; padding: 1px 8px; border-radius: 999px; background: rgba(255, 255, 255, .2); font-size: 11.5px; }
.wallet__chart { display: block; width: calc(100% + 32px); height: 58px; margin: 6px -16px 0; }
.wallet__line { stroke-dasharray: 400; stroke-dashoffset: 400; animation: draw 2.4s var(--ease) .8s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.phone__list-head { display: flex; justify-content: space-between; margin: 16px 4px 6px; font-size: 12px; color: var(--muted); }
.phone__list li { display: grid; grid-template-columns: 30px 1fr auto auto; align-items: center; gap: 10px; padding: 9px 4px; border-bottom: 1px solid rgba(255, 255, 255, .06); font-family: var(--font-en); font-size: 13px; }
.sym { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #262626; font-weight: 800; font-size: 13px; }
.sym--gold { background: linear-gradient(135deg, #f5d27a, #b88a1e); color: #2a1d00; font-size: 11px; }
.sym--btc { background: #f7931a; color: #fff; }
.phone__pair { display: flex; flex-direction: column; line-height: 1.25; font-weight: 700; }
.phone__pair small { font-weight: 500; font-size: 10.5px; color: var(--muted); }
.phone__lots { color: var(--muted); font-size: 12px; }
.phone__amt { color: #4ade80; font-weight: 700; }
.phone__amt--down { color: #ff5a60; }
.phone__nav { margin-top: auto; display: flex; justify-content: space-around; padding: 14px 0 18px; border-top: 1px solid rgba(255, 255, 255, .06); }
.phone__nav i { width: 22px; height: 22px; border-radius: 7px; background: #2b2b2b; }
.phone__nav i.is-active { background: var(--red); box-shadow: 0 0 12px rgba(237, 28, 36, .8); }

.toast {
  position: absolute; z-index: 3;
  display: flex; align-items: center; gap: 12px;
  padding: 12px 18px 12px 12px; border-radius: 18px;
  background: rgba(24, 24, 24, .8); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--line-strong);
  box-shadow: 0 20px 40px -12px rgba(0, 0, 0, .7);
  font-size: 14px; line-height: 1.3;
}
.toast b { display: block; font-family: var(--font-en); }
.toast small { color: var(--muted); font-size: 12px; }
.toast__icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 12px; background: var(--grad-btn); font-weight: 800; }
.toast__icon--ok { background: #16a34a; }
.toast--1 { left: -2%; top: 36%; animation: toastIn .8s var(--ease) 1.4s both, float 6s ease-in-out 2.2s infinite; }
.toast--2 { right: -2%; bottom: 5%; animation: toastIn .8s var(--ease) 2s both, float 7s ease-in-out 2.8s infinite reverse; }
@keyframes toastIn { from { opacity: 0; transform: translateY(20px) scale(.9); } }

.stats { margin-top: 48px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.stat {
  position: relative; padding: 22px 22px 20px; border-radius: 20px;
  background: rgba(20, 20, 20, .6); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  transition: border-color .3s, transform .3s var(--ease);
}
.stat:hover { border-color: rgba(237, 28, 36, .55); transform: translateY(-3px); }
.stat__value { display: block; font-family: var(--font-en); font-size: clamp(24px, 2.6vw, 34px); font-weight: 800; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.stat__label { display: block; margin-top: 2px; font-size: 14.5px; color: var(--muted); }

/* ---------- Ticker & values ---------- */
.ticker { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg); min-height: 46px; }
.values { overflow: hidden; background: var(--grad-btn); }
.values__track { display: flex; align-items: center; gap: 44px; width: max-content; padding: 18px 0; animation: marquee 36s linear infinite; }
.values__track span { font-family: var(--font-en); font-weight: 800; font-size: 16px; letter-spacing: .32em; color: #fff; }
.values__track img { width: 20px; height: auto; filter: brightness(0) invert(1); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { position: relative; padding: 120px 0; }
.section--tight { padding: 80px 0; }
.section--glow::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(50% 40% at 50% 55%, rgba(237, 28, 36, .2), transparent 70%);
  animation: breathe 8s ease-in-out infinite;
}
@keyframes breathe { 50% { opacity: .55; } }
.section--light { background: #f2f2f2; color: var(--charcoal); overflow: hidden; }
.section--light .section__lead { color: #555; }
.section__head { max-width: 760px; margin-bottom: 64px; position: relative; }
.section__head > * + * { margin-top: 20px; }
.section__head--center { max-width: 920px; margin-inline: auto; text-align: center; }
.section__head--center .section__lead { max-width: 720px; margin-inline: auto; }
.section__title { font-size: clamp(34px, 4.6vw, 58px); letter-spacing: -.01em; }
.section__lead { color: var(--muted); font-size: 19px; }

/* ---------- Why (light cards) ---------- */
.why__deco { position: absolute; right: -10%; top: -6%; width: 46%; max-width: 760px; opacity: .14; pointer-events: none; filter: grayscale(1); }
.why { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.feature {
  position: relative; padding: 36px 28px 34px;
  border-radius: var(--r); background: #fff; text-align: center;
  box-shadow: 0 2px 17px rgba(0, 0, 0, .08), 0 0 4px rgba(0, 0, 0, .06);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.feature::before {
  content: ""; position: absolute; inset: 0; padding: 1.5px; border-radius: inherit; pointer-events: none;
  background: linear-gradient(160deg, rgba(237, 28, 36, .9), rgba(237, 28, 36, 0) 45%, rgba(237, 28, 36, 0) 60%, rgba(237, 28, 36, .7));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .35s;
}
.feature:hover { transform: translateY(-10px); box-shadow: 0 30px 50px -20px rgba(237, 28, 36, .35); }
.feature:hover::before { opacity: 1; }
.feature__icon {
  display: grid; place-items: center; width: 84px; height: 84px; margin: 0 auto;
  border-radius: 50%; background: radial-gradient(circle at 30% 25%, #ff4a50, #b5121a 55%, #5a0508);
  box-shadow: 0 16px 30px -10px rgba(237, 28, 36, .7), inset 0 2px 0 rgba(255, 255, 255, .35);
}
.feature__icon svg { width: 38px; height: 38px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.feature h3 { margin-top: 24px; font-size: 21px; color: var(--red); }
.feature p { margin-top: 10px; color: #555; font-size: 16px; }

/* ---------- Markets ---------- */
.markets { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.market {
  position: relative; overflow: hidden; display: flex; flex-direction: column; min-height: 250px; padding: 32px 28px 28px;
  border-radius: var(--r); background: var(--glass); border: 1px solid var(--line);
  transition: transform .35s var(--ease), border-color .35s, box-shadow .35s;
}
.market::after { content: ""; position: absolute; right: -40px; bottom: -40px; width: 160px; height: 160px; border-radius: 50%; background: radial-gradient(closest-side, rgba(237, 28, 36, .35), transparent); opacity: 0; transition: opacity .4s; }
.market:hover { transform: translateY(-8px); border-color: rgba(237, 28, 36, .55); box-shadow: 0 30px 60px -30px rgba(237, 28, 36, .6); }
.market:hover::after { opacity: 1; }
.market__name { font-family: var(--font-en); font-size: 26px; font-weight: 800; line-height: 1.2; }
.market p { margin-top: 12px; color: var(--muted); font-size: 16px; }
.market__symbols { margin-top: auto; padding-top: 22px; font-family: var(--font-en); font-size: 13px; font-weight: 600; letter-spacing: .08em; color: #ff6a70; }

/* ---------- Accounts (original-style cards) ---------- */
.accounts { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; align-items: stretch; }
.account {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 44px 30px 32px; border-radius: var(--r);
  background: var(--glass);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.account::before {
  content: ""; position: absolute; inset: 0; padding: 2px; border-radius: inherit; pointer-events: none;
  background: linear-gradient(180deg, rgba(237, 28, 36, .85), rgba(237, 28, 36, .15) 50%, rgba(255, 255, 255, .14));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
.account::after { content: ""; position: absolute; left: 10%; right: 10%; top: -60px; height: 140px; border-radius: 50%; background: radial-gradient(closest-side, rgba(237, 28, 36, .35), transparent); pointer-events: none; }
.account:hover { transform: translateY(-14px); box-shadow: 0 40px 80px -30px rgba(237, 28, 36, .55); }
.account--featured { background: radial-gradient(100% 100% at 0% 0%, rgba(60, 14, 16, .95), rgba(30, 10, 10, .5)); box-shadow: 0 40px 90px -30px rgba(237, 28, 36, .6); }
.account--featured::before { padding: 2.5px; background: linear-gradient(180deg, #ff3b42, rgba(237, 28, 36, .4) 55%, #ED1C24); }
.account__badge {
  position: absolute; top: 0; right: 0; z-index: 2;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 16px 7px 14px; border-radius: 0 var(--r) 0 16px;
  background: #fff; font-family: var(--font-en); font-size: 12.5px; font-weight: 700;
}
.account__badge span { background: var(--grad-btn); -webkit-background-clip: text; background-clip: text; color: transparent; }
.account__badge svg { width: 14px; height: 14px; fill: var(--red); }
.account__mark {
  position: relative; display: grid; place-items: center; width: 66px; height: 66px; border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, #3a3a3a, #141414);
  box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .14), 0 10px 24px rgba(0, 0, 0, .5), 0 0 30px rgba(237, 28, 36, .25);
}
.account__mark img { width: 30px; }
.account__name { margin-top: 22px; font-family: var(--font-en); font-size: 30px; font-weight: 700; }
.account__desc { margin-top: 4px; color: #d0d0d0; font-size: 16px; min-height: 3.2em; }
.divider { width: 100%; height: 1px; margin: 24px 0; background: linear-gradient(90deg, transparent, rgba(237, 28, 36, .8), transparent); }
.account__specs { width: 100%; margin: 0; text-align: left; }
.account__specs div { display: flex; align-items: center; gap: 10px; padding: 7px 0; font-size: 15.5px; }
.account__specs dt { flex: 1; display: flex; align-items: center; gap: 10px; color: #e6e6e6; }
.account__specs dd { margin: 0; font-weight: 600; text-align: right; }
.tick, .cross { flex-shrink: 0; width: 16px; height: 16px; fill: none; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.tick { stroke: var(--red); }
.cross { stroke: var(--red); }
.account__features { width: 100%; margin-bottom: 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 14px; text-align: left; }
.account__features li { display: flex; align-items: flex-start; gap: 9px; font-size: 14.5px; line-height: 1.45; color: #dcdcdc; }
.account__features li::before {
  content: ""; flex-shrink: 0; width: 20px; height: 20px; margin-top: -1px; border-radius: 50%;
  background: rgba(255, 255, 255, .07) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ED1C24' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center/11px no-repeat;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1);
}
.account .btn { margin-top: auto; }

/* Comparison table */
.compare { position: relative; margin-top: 72px; }
.compare__title { margin-bottom: 20px; font-size: 26px; text-align: center; }
.compare__scroll { overflow-x: auto; border-radius: var(--r); border: 1px solid var(--line); background: rgba(18, 18, 18, .75); backdrop-filter: blur(10px); }
.compare__table { width: 100%; min-width: 640px; font-size: 15.5px; }
.compare__table th, .compare__table td { padding: 16px 22px; text-align: center; border-bottom: 1px solid var(--line); }
.compare__table tr:last-child td, .compare__table tr:last-child th { border-bottom: 0; }
.compare__table thead th { font-family: var(--font-en); font-size: 18px; font-weight: 700; padding-top: 22px; padding-bottom: 22px; }
.compare__table tbody th { text-align: left; font-weight: 500; color: var(--muted); white-space: nowrap; }
.compare__table td { font-weight: 600; }
.compare__table .is-featured { background: rgba(237, 28, 36, .08); }
.compare__table thead .is-featured { color: #ff5a60; box-shadow: inset 0 3px 0 var(--red); }
.compare__table .yes { color: #4ade80; font-size: 18px; }
.compare__table .no { color: var(--muted-2); }
.note { margin-top: 22px; text-align: center; font-size: 14px; color: var(--muted-2); }

.checklist li { position: relative; padding-left: 32px; font-size: 16.5px; }
.checklist li + li { margin-top: 12px; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .3em; width: 20px; height: 20px; border-radius: 50%;
  background: rgba(237, 28, 36, .16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ED1C24' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center/12px no-repeat;
}

/* ---------- Steps (timeline) ---------- */
.timeline { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; --progress: 0; }
.timeline::before, .timeline::after { content: ""; position: absolute; top: 34px; left: 12.5%; right: 12.5%; height: 2px; border-radius: 2px; }
.timeline::before { background: var(--line-strong); }
.timeline::after { background: linear-gradient(90deg, var(--red-lo), var(--red)); box-shadow: 0 0 14px rgba(237, 28, 36, .8); transform-origin: left; transform: scaleX(var(--progress)); transition: transform 1.6s var(--ease); }
.timeline.is-drawn { --progress: 1; }
.timeline__item { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center; }
.timeline__node {
  display: grid; place-items: center; width: 70px; height: 70px; border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, #2e2e2e, #111);
  border: 2px solid rgba(237, 28, 36, .7);
  box-shadow: 0 0 0 8px var(--bg), 0 0 30px rgba(237, 28, 36, .45);
  font-family: var(--font-en); font-size: 22px; font-weight: 800;
  transition: transform .35s var(--ease), background .35s;
}
.timeline__item:hover .timeline__node { transform: scale(1.08); background: var(--grad-btn); }
.timeline__node--final { background: var(--grad-btn); border-color: #ff5a60; }
.timeline__node--final img { width: 32px; }
.timeline__card {
  position: relative; margin-top: 28px; padding: 28px 24px; width: 100%; flex: 1;
  border-radius: var(--r); background: var(--glass); border: 1px solid var(--line);
  transition: border-color .35s, transform .35s var(--ease);
}
.timeline__item:hover .timeline__card { border-color: rgba(237, 28, 36, .55); transform: translateY(-6px); }
.timeline__card h3 { font-size: 21px; }
.timeline__card p { margin-top: 10px; color: var(--muted); font-size: 16px; }
.timeline__cta { margin-top: 56px; text-align: center; }

/* ---------- Video band ---------- */
.band { position: relative; min-height: 80vh; display: flex; align-items: center; overflow: hidden; isolation: isolate; }
.band__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(11, 11, 11, .92) 0%, rgba(11, 11, 11, .55) 45%, rgba(11, 11, 11, .1) 100%), linear-gradient(0deg, var(--bg), transparent 30%), linear-gradient(180deg, var(--bg), transparent 20%); }
.band__content > * + * { margin-top: 20px; }
.band__content h2 { font-size: clamp(38px, 5.4vw, 68px); max-width: 680px; }
.band__content p { max-width: 500px; color: #d2d2d2; font-size: 19px; }

/* ---------- Reviews ---------- */
.reviews { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review {
  position: relative; display: flex; flex-direction: column; margin: 0; padding: 34px 30px 28px;
  border-radius: var(--r); background: var(--glass); border: 1px solid var(--line);
  transition: transform .35s var(--ease), border-color .35s;
}
.review:hover { transform: translateY(-8px); border-color: rgba(237, 28, 36, .5); }
.review__quote { width: 40px; height: 40px; fill: var(--red); opacity: .9; filter: drop-shadow(0 0 12px rgba(237, 28, 36, .6)); }
.review__stars { margin-top: 18px; color: #fbbf24; letter-spacing: 3px; font-size: 16px; }
.review__text { margin: 12px 0 0; color: #dedede; font-size: 17px; flex: 1; }
.review__person { display: flex; align-items: center; gap: 14px; margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); }
.review__avatar { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--grad-btn); font-weight: 700; font-size: 18px; flex-shrink: 0; overflow: hidden; }
.review__avatar img { width: 100%; height: 100%; object-fit: cover; }
.review__name { display: block; font-weight: 700; }
.review__meta { display: block; font-size: 14px; color: var(--muted); }
.review--placeholder { border-style: dashed; border-color: rgba(255, 255, 255, .2); }
.review--placeholder .review__text, .review--placeholder .review__name, .review--placeholder .review__meta { color: var(--muted-2); }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; align-items: start; }
.faq__head { position: sticky; top: calc(var(--header-h) + 32px); }
.faq__head > * + * { margin-top: 20px; }
.faq__head .btn { margin-top: 30px; }
.faq__list { display: grid; gap: 14px; }
.qa { border-radius: 20px; background: var(--glass); border: 1px solid var(--line); transition: border-color .3s, background .3s; }
.qa[open] { border-color: rgba(237, 28, 36, .5); background: radial-gradient(100% 100% at 0% 0%, rgba(50, 14, 16, .9), rgba(30, 30, 30, .3)); }
.qa summary { position: relative; padding: 22px 64px 22px 26px; font-size: 18.5px; font-weight: 600; cursor: pointer; list-style: none; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: "+"; position: absolute; right: 18px; top: 50%; width: 32px; height: 32px; margin-top: -16px;
  display: grid; place-items: center; border-radius: 50%;
  background: rgba(237, 28, 36, .15); color: var(--red); font-size: 22px; font-weight: 400; line-height: 1;
  transition: transform .3s var(--ease), background .3s, color .3s;
}
.qa[open] summary::after { transform: rotate(45deg); background: var(--red); color: #fff; }
.qa p { padding: 0 26px 24px; color: #c4c4c4; font-size: 16.5px; }

/* ---------- CTA ---------- */
.cta { position: relative; overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; align-items: center; min-height: 440px; border-radius: var(--r-lg); background: var(--grad-red); box-shadow: 0 50px 120px -40px rgba(237, 28, 36, .7); }
.cta::after { content: ""; position: absolute; inset: 0; background: radial-gradient(40% 60% at 80% 0%, rgba(255, 255, 255, .18), transparent 70%); pointer-events: none; }
.cta__img { position: absolute; left: -6%; top: 50%; width: 62%; max-width: none; transform: translateY(-50%); mix-blend-mode: screen; opacity: .9; animation: float 10s ease-in-out infinite; }
.cta__body { grid-column: 2; position: relative; z-index: 1; padding: 60px 60px 60px 0; }
.cta__body > * + * { margin-top: 20px; }
.cta h2 { font-size: clamp(34px, 4.4vw, 54px); }
.cta__accent { display: block; }
.cta p { color: rgba(255, 255, 255, .88); font-size: 18px; max-width: 470px; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 14px; padding-top: 8px; }
.cta__contact { display: flex; gap: 24px; padding-top: 6px; }
.cta__contact a { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: rgba(255, 255, 255, .9); border-bottom: 1px solid rgba(255, 255, 255, .35); padding-bottom: 2px; }
.cta__contact a:hover { color: #fff; border-color: #fff; }
.cta__contact svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Footer ---------- */
.footer { padding: 72px 0 32px; border-top: 1px solid var(--line); background: #080808; color: var(--muted); font-size: 15px; }
.footer__top { display: grid; grid-template-columns: 1fr 1.6fr; gap: 48px; padding-bottom: 48px; border-bottom: 1px solid var(--line); }
.footer__brand img { height: 30px; width: auto; }
.footer__brand p { margin-top: 18px; max-width: 320px; }
.footer__nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.footer__nav h4, .footer__h { margin: 0 0 14px; color: var(--text); font-size: 16px; font-weight: 700; }
.footer__nav a { display: block; padding: 4px 0; transition: color .2s; }
.footer__nav a:hover { color: #fff; }
.footer__legal { padding: 32px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; line-height: 1.8; color: var(--muted-2); }
.footer__legal p + p { margin-top: 14px; }
.footer__legal strong { color: var(--muted); }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; padding-top: 24px; font-size: 13.5px; }

.float-chat {
  position: fixed; right: 22px; bottom: 22px; z-index: 40;
  width: 58px; height: 58px; display: grid; place-items: center;
  border-radius: 50%; background: var(--grad-btn); box-shadow: 0 12px 30px rgba(237, 28, 36, .5);
  transition: transform .25s var(--ease);
}
.float-chat::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--red); animation: ring 2.4s ease-out infinite; }
@keyframes ring { from { transform: scale(1); opacity: .8; } to { transform: scale(1.6); opacity: 0; } }
.float-chat:hover { transform: translateY(-3px); }
.float-chat svg { width: 26px; height: 26px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(32px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .timeline { --progress: 1; }
  .loader { display: none; }
  .wallet__line { stroke-dashoffset: 0; }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1180px) {
  .nav__link { padding: 8px 10px; font-size: 14.5px; }
  .header__login { display: none; }
  .why, .markets { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 980px) {
  :root { --header-h: 70px; }
  .burger { display: block; }
  .header__actions .btn { display: none; }
  .nav {
    position: fixed; inset: var(--header-h) 0 0; z-index: 49;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 16px var(--gutter) 32px; margin: 0;
    background: rgba(11, 11, 11, .97); backdrop-filter: blur(14px);
    transform: translateX(100%); transition: transform .35s var(--ease);
    overflow-y: auto;
  }
  .nav.is-open { transform: none; }
  .nav__link { padding: 16px 4px; font-size: 18px; border-radius: 0; border-bottom: 1px solid var(--line); }
  .nav__link.is-active { background: none; color: var(--red); }
  .nav__link.is-active::after { display: none; }
  .nav__mobile-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 28px; }
  body.nav-open { overflow: hidden; }
  .header.nav-open { background: rgba(11, 11, 11, .97); }

  .hero__grid { grid-template-columns: 1fr; gap: 24px; }
  .hero__content { text-align: center; }
  .hero__content .pill { margin-inline: auto; }
  .hero__lead { margin-inline: auto; }
  .hero__cta { justify-content: center; }
  .hero__visual { height: 600px; }
  .stats { grid-template-columns: repeat(3, 1fr); }

  .faq { grid-template-columns: 1fr; gap: 48px; }
  .faq__head { position: static; }
  .accounts { grid-template-columns: 1fr; max-width: 540px; margin: 0 auto; gap: 32px; }
  .account__desc { min-height: 0; }
  .reviews { grid-template-columns: 1fr; max-width: 600px; margin: 0 auto; }

  /* vertical timeline */
  .timeline { grid-template-columns: 1fr; gap: 20px; max-width: 600px; margin: 0 auto; }
  .timeline::before, .timeline::after { top: 35px; bottom: 35px; left: 34px; right: auto; width: 2px; height: auto; }
  .timeline::after { transform-origin: top; transform: scaleY(var(--progress)); }
  .timeline__item { flex-direction: row; align-items: flex-start; gap: 20px; text-align: left; }
  .timeline__node { flex-shrink: 0; }
  .timeline__card { margin-top: 0; }

  .cta { grid-template-columns: 1fr; }
  .cta__img { left: auto; right: -20%; top: -10%; width: 90%; transform: none; opacity: .45; }
  .cta__body { grid-column: 1; padding: 52px 40px; }
  .footer__top { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  :root { --gutter: 16px; }
  body { font-size: 16px; }
  .section { padding: 84px 0; }
  .section--tight { padding: 56px 0; }
  .section__head { margin-bottom: 44px; }
  .section__lead { font-size: 17px; }
  .brand__logo { height: 22px; }
  .brand__tag { font-size: 9px; padding: 2px 7px; }
  .hero { padding-top: calc(var(--header-h) + 36px); }
  .hero__lead { font-size: 17px; }
  .hero__cta .btn { flex: 1 1 100%; }
  .hero__visual { height: 520px; margin-inline: calc(var(--gutter) * -1); overflow: hidden; }
  .phone { width: 250px; height: 510px; border-radius: 42px; }
  .phone__screen { border-radius: 33px; padding: 14px 13px 0; }
  .wallet__value { font-size: 25px; }
  .phone__list li { font-size: 12px; gap: 8px; padding: 7px 2px; }
  .phone__list li:nth-child(4) { display: none; }
  .float-z--1 { width: 64px; }
  .float-z--2 { width: 42px; }
  .toast { padding: 9px 14px 9px 9px; font-size: 12.5px; }
  .toast__icon { width: 30px; height: 30px; border-radius: 10px; }
  .toast--1 { display: none; }
  .toast--2 { right: 2%; bottom: 14%; }
  .stats { grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 32px; }
  .stat { padding: 16px; border-radius: 16px; }
  .stat:last-child { grid-column: 1 / -1; }
  .why, .markets { grid-template-columns: 1fr; }
  .market { min-height: 0; }
  .why__deco { width: 90%; }
  .account { padding: 40px 20px 26px; }
  .account__features { grid-template-columns: 1fr; }
  .compare__table th, .compare__table td { padding: 14px 14px; }
  .timeline__node { width: 56px; height: 56px; font-size: 18px; box-shadow: 0 0 0 6px var(--bg), 0 0 24px rgba(237, 28, 36, .45); }
  .timeline::before, .timeline::after { left: 27px; top: 28px; bottom: 28px; }
  .timeline__item { gap: 14px; }
  .timeline__card { padding: 22px 20px; }
  .band { min-height: 70vh; }
  .band__content p { font-size: 17px; }
  .cta { border-radius: var(--r); }
  .cta__body { padding: 44px 24px; }
  .cta__actions .btn { flex: 1 1 100%; }
  .footer__nav { grid-template-columns: 1fr 1fr; }
  .footer__bottom { flex-direction: column-reverse; gap: 14px; align-items: flex-start; }
  .qa summary { font-size: 16.5px; padding: 18px 56px 18px 20px; }
  .qa p { padding: 0 20px 20px; }
  .float-chat { right: 16px; bottom: 16px; width: 52px; height: 52px; }
}

/* =========================================================
   Performance & SEO additions
   ========================================================= */
/* Loader only when JS runs, and only on the first visit of a session */
html:not(.js) .loader, .no-loader .loader { display: none; }

/* Hero entrance: transform only (no opacity), so the headline counts for LCP immediately */
.hero__in { animation: heroIn .9s var(--ease) both; }
.hero__content > .hero__in:nth-child(2) { animation-delay: .06s; }
.hero__content > .hero__in:nth-child(3) { animation-delay: .12s; }
.hero__content > .hero__in:nth-child(4) { animation-delay: .18s; }
.hero__visual.hero__in { animation-delay: .1s; }
@keyframes heroIn { from { transform: translateY(22px); } }

/* ---------- Sub-pages (legal, 404) ---------- */
.page-hero { position: relative; padding: calc(var(--header-h) + 72px) 0 56px; overflow: hidden; border-bottom: 1px solid var(--line);
  background: radial-gradient(50% 120% at 12% 0%, rgba(170, 12, 18, .45), transparent 70%), var(--bg); }
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; font-size: 14px; color: var(--muted); }
.crumbs a:hover { color: #fff; }
.page-hero__title { margin-top: 18px; font-size: clamp(32px, 4.4vw, 52px); }
.page-hero__meta { margin-top: 12px; color: var(--muted); font-size: 15px; }

.legal { max-width: 860px; color: #d4d4d4; }
.legal > * + * { margin-top: 18px; }
.legal h2 { margin-top: 44px; color: #fff; font-size: 22px; }
.legal ul { padding-left: 0; }
.legal li { position: relative; padding-left: 22px; }
.legal li + li { margin-top: 10px; }
.legal li::before { content: ""; position: absolute; left: 4px; top: .75em; width: 7px; height: 7px; border-radius: 50%; background: var(--red); box-shadow: 0 0 8px rgba(237, 28, 36, .7); }
.legal a { color: #ff6a70; text-decoration: underline; text-underline-offset: 3px; }
.legal__lead { font-size: 19px; color: #fff; }
.todo { padding: 1px 6px; border-radius: 6px; border: 1px dashed rgba(255, 255, 255, .35); color: #fbbf24; font-size: .92em; }
.footer__legal a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }

.notfound { position: relative; min-height: 100vh; min-height: 100svh; display: grid; place-items: center; overflow: hidden; isolation: isolate; text-align: center; padding: calc(var(--header-h) + 40px) 0 60px; }
.notfound .aurora { z-index: -1; }
.notfound__inner > * + * { margin-top: 18px; }
.notfound__mark { margin: 0 auto; width: 96px; height: auto; filter: drop-shadow(0 0 24px rgba(237, 28, 36, .7)); }
.notfound__code { font-family: var(--font-en); font-size: clamp(90px, 16vw, 180px); font-weight: 800; line-height: 1; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.notfound__title { font-size: clamp(26px, 3.6vw, 40px); }
.notfound__text { color: var(--muted); font-size: 18px; }
.notfound__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; padding-top: 10px; }

/* ---------- Rendering cost (Lighthouse: style/layout/paint on mobile) ---------- */
img { height: auto; }

/* Soft light from radial gradients instead of a huge blur filter + blend mode: same look, far cheaper to paint */
.aurora span { filter: none; mix-blend-mode: normal; will-change: transform; }
.aurora span:nth-child(1) { background: radial-gradient(closest-side, rgba(170, 12, 18, .7), rgba(170, 12, 18, 0)); }
.aurora span:nth-child(2) { background: radial-gradient(closest-side, rgba(237, 28, 36, .32), rgba(237, 28, 36, 0)); }
.aurora span:nth-child(3) { background: radial-gradient(closest-side, rgba(120, 8, 12, .5), rgba(120, 8, 12, 0)); }

@media (max-width: 768px) {
  /* backdrop blur is expensive on phones: use solid translucent fills instead */
  .glass, .stat, .toast, .compare__scroll, .platform__badge { backdrop-filter: none; -webkit-backdrop-filter: none; }
  .header.is-scrolled, .nav { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(11, 11, 11, .96); }
  .stat { background: rgba(20, 20, 20, .9); }
  .section--glow::before { animation: none; }
  .aurora span:nth-child(3) { display: none; }
}
