.section {
  padding-block: var(--space-9);
  border-top: 1px solid var(--c-border);
}
.section__title {
  font-size: var(--fs-2xl);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-top: var(--space-3);
}
/* ---------- Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: 100vh;
  min-height: 100svh;
  /* Slide under the sticky glass nav so the scene fills the first screen. */
  margin-top: calc(-1 * var(--nav-h));
  padding-top: calc(var(--nav-h) + var(--space-7));
  padding-bottom: var(--space-8);
  background:
    radial-gradient(48% 55% at 74% 50%, rgba(0, 184, 196, 0.17), transparent 70%),
    radial-gradient(60% 45% at 8% -5%, rgba(0, 184, 196, 0.10), transparent 70%),
    radial-gradient(90% 60% at 50% 115%, #08202A, transparent 65%),
    var(--c-bg);
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 18%;
  background: linear-gradient(to bottom, transparent, var(--c-bg));
  pointer-events: none;
}
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.hero__canvas { width: 100%; height: 100%; opacity: 0; transition: opacity 1.1s ease; }
.hero[data-gl="on"][data-arcs="drawn"] .hero__canvas { opacity: 1; }
.hero[data-gl="off"] .hero__canvas { display: none; }

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: var(--space-5);
  align-items: center;
}
@media (min-width: 1024px) {
  .hero__inner { grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: var(--space-6); }
}

.hero__title {
  margin-top: var(--space-4);
  max-width: 12ch;
  font-size: clamp(2.6rem, 1.2rem + 5.2vw, 5.6rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.045em;
  text-wrap: balance;
}
.hero__accent,
[data-split-done] .hero__accent .hero__word {
  background: linear-gradient(100deg, #E9FEFF 0%, #7FF4FA 35%, var(--c-accent) 75%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
/* Once split, paint the gradient on the moving words only (never a ghost copy behind them). */
[data-split-done] .hero__accent:has(.hero__word) { background: none; color: inherit; }
/* Word masks: extra room for descenders without changing the line box. */
.hero__word-mask { padding-block: 0.04em 0.12em; margin-block: -0.04em -0.12em; }

.hero__sub {
  margin-top: var(--space-5);
  max-width: 46ch;
  font-size: clamp(1.03rem, 0.95rem + 0.35vw, 1.22rem);
  line-height: 1.55;
  color: var(--c-muted);
}
.hero__ctas { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-6); }
@media (max-width: 479px) {
  .hero { padding-bottom: var(--space-6); }
  .hero__ctas .btn { flex: 1 1 auto; justify-content: center; }
}

/* Stage: square, scales everything inside with container units. */
.hero__stage {
  position: relative;
  width: 100%;
  max-width: 620px;
  aspect-ratio: 1;
  margin-inline: auto;
  container-type: inline-size;
}
@media (max-width: 1023px) {
  .hero__stage { max-width: 460px; }
}
.hero__arcs {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  filter: drop-shadow(0 0 1.1cqw rgba(0, 184, 196, 0.6));
  transition: opacity 1.1s ease;
}
.hero__arcs path { stroke-dasharray: 1; stroke-dashoffset: 0; }
.hero[data-gl="on"][data-arcs="drawn"] .hero__arcs { opacity: 0; }

.hero__layer { position: absolute; will-change: transform; }
.hero__glow { inset: 12%; }
.hero__glow-blob {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 184, 196, 0.30), rgba(0, 184, 196, 0.07) 45%, transparent 70%);
}

/* Glass invoice card */
.hero__invoice { left: 0; top: 57%; width: 60cqw; }
@container (max-width: 420px) { .hero__invoice { width: 72cqw; top: 59%; } }
.invoice-card {
  --gx: 50;
  position: relative;
  overflow: hidden;
  padding: 4.4cqw 4.8cqw 4.8cqw;
  border-radius: 3.6cqw;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.025) 60%), rgba(8, 16, 24, 0.45);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(0, 184, 196, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.10);
}
.invoice-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(70% 90% at calc(var(--gx) * 1%) -10%, rgba(255, 255, 255, 0.16), transparent 60%);
  pointer-events: none;
}
.invoice-card__top { display: flex; align-items: center; justify-content: space-between; gap: 2cqw; white-space: nowrap; }
.invoice-card__id {
  font-family: var(--font-mono);
  font-size: max(10px, 2.3cqw);
  letter-spacing: 0.04em;
  color: var(--c-muted);
}
.invoice-card__status {
  display: inline-flex;
  align-items: center;
  gap: 1.2cqw;
  padding: 0.7cqw 1.8cqw;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: max(10px, 2.2cqw);
  color: var(--c-up);
  background: rgba(34, 197, 94, 0.12);
}
.invoice-card__pulse {
  position: relative;
  width: 1.3cqw;
  height: 1.3cqw;
  min-width: 6px;
  min-height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.invoice-card__pulse::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid currentColor;
  animation: hero-ping 2.4s cubic-bezier(0.2, 0.6, 0.3, 1) infinite;
}
.invoice-card__amount {
  display: flex;
  align-items: center;
  gap: 2cqw;
  margin-top: 2.8cqw;
  font-family: var(--font-mono);
  font-size: 6.2cqw;
  font-weight: 500;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}
.invoice-card__amount img { width: 5.4cqw; height: 5.4cqw; border-radius: 50%; }
.invoice-card__bar { height: 3px; margin-top: 3.6cqw; border-radius: 3px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.invoice-card__bar span { display: block; height: 100%; background: linear-gradient(90deg, rgba(0, 184, 196, 0.3), var(--c-accent) 70%, #9DF7FB); box-shadow: 0 0 12px var(--c-accent-glow); }
.invoice-card__lines { display: grid; gap: 1.6cqw; margin-top: 3cqw; }
.invoice-card__lines span { height: 1.3cqw; max-height: 8px; border-radius: 4px; background: rgba(255, 255, 255, 0.06); }
.invoice-card__lines span:first-child { width: 72%; }
.invoice-card__lines span:last-child { width: 46%; }
@keyframes hero-ping { 0% { transform: scale(1); opacity: 0.9; } 80%, 100% { transform: scale(3.2); opacity: 0; } }

/* CSS 3D coin tokens */
.hero__coin--btc { left: 9%; top: 7%; --size: 19cqw; }
.hero__coin--usdt { right: 0; top: 29%; --size: 23cqw; }
.hero__coin--trx { right: 19%; bottom: 3%; --size: 14cqw; }
.hero__coin .hero__float { perspective: 700px; filter: drop-shadow(0 2.4cqw 2.6cqw rgba(0, 0, 0, 0.55)); }
.coin3d {
  position: relative;
  width: var(--size);
  height: var(--size);
  transform-style: preserve-3d;
  transform: rotateY(-24deg) rotateX(12deg);
}
.coin3d::before {
  /* front rim: brushed, teal-tinted metal */
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 210deg, #1C3A44, #A6EEF2 10%, #2A4C56 26%, #0E1D25 48%, #4A8D96 70%, #16303A 86%, #1C3A44);
  box-shadow: 0 0 3cqw rgba(0, 184, 196, 0.25);
}
.coin3d__face {
  position: absolute;
  inset: 7%;
  width: 86%;
  height: 86%;
  border-radius: 50%;
  transform: translateZ(0.3px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
}
.coin3d__edge {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: hsl(188 38% calc(20% - var(--i) * 1.2%));
  transform: translateZ(calc(var(--i) * -0.14cqw));
}

/* Intro start state (full motion only). A CSS fail-safe reveals everything if JS never runs;
   playIntro adds .is-intro to hand control to GSAP. Only opacity/transform/dashoffset animate. */
.js[data-motion="full"] .hero [data-intro],
.js[data-motion="full"] .hero [data-intro-label],
.js[data-motion="full"] .hero [data-hero-title],
.js[data-motion="full"] .hero [data-depth] {
  opacity: 0;
  animation: hero-failsafe 0.01s 2.6s forwards;
}
.js[data-motion="full"] .hero__arcs path {
  stroke-dashoffset: 1;
  animation: hero-failsafe-arc 0.01s 2.6s forwards;
}
.js[data-motion="full"] .hero.is-intro [data-intro],
.js[data-motion="full"] .hero.is-intro [data-intro-label],
.js[data-motion="full"] .hero.is-intro [data-hero-title],
.js[data-motion="full"] .hero.is-intro [data-depth],
.js[data-motion="full"] .hero.is-intro .hero__arcs path { animation: none; }
/* Phones / touch: headline visible from first paint (no split intro), so LCP never waits on JS.
   Keep in sync with PLAIN_TITLE_MQ in hero3d.js. */
@media (max-width: 767px), (pointer: coarse) {
  .js[data-motion="full"] .hero [data-hero-title] { opacity: 1; animation: none; }
}
@keyframes hero-failsafe { to { opacity: 1; } }
@keyframes hero-failsafe-arc { to { stroke-dashoffset: 0; } }

/* Fallback (no WebGL / reduced motion): static gradient + crisp SVG arcs, layers at rest. */
.hero[data-gl="off"] .hero__arcs { opacity: 0.9; }
[data-motion="reduced"] .hero__layer { will-change: auto; }

/* ---------- Shared bits for market widgets ---------- */
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.pct {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-variant-numeric: tabular-nums;
  line-height: 1.5;
  color: var(--c-muted);
  background: rgba(255, 255, 255, 0.05);
}
.pct[data-dir="up"] { color: var(--c-up); background: rgba(34, 197, 94, 0.12); }
.pct[data-dir="down"] { color: var(--c-down); background: rgba(244, 63, 94, 0.12); }
.pct--bare, .pct--bare[data-dir] { padding: 0; background: none; }

.coin-icon {
  position: relative;
  flex: none;
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  overflow: hidden;
  background: radial-gradient(circle at 30% 25%, rgba(0, 184, 196, 0.45), rgba(0, 184, 196, 0.08));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.10);
}
.coin-icon::before {
  content: attr(data-letter);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--c-text);
}
.coin-icon img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* Skeletons: same DOM as the loaded state, so nothing shifts when data lands. */
[data-state="loading"] [data-skel] {
  color: transparent !important;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.05) 30%, rgba(255, 255, 255, 0.13) 50%, rgba(255, 255, 255, 0.05) 70%) !important;
  background-size: 300% 100% !important;
  animation: mk-shimmer 1.5s ease-in-out infinite;
  border-radius: 6px;
  display: inline-block;
  min-width: var(--skel-w, 4.5em);
  min-height: 1em;
  vertical-align: middle;
}
[data-state="loading"] .coin-icon[data-skel] { min-width: 28px; border-radius: 50%; }
[data-state="loading"] .coin-icon::before { content: none; }
@keyframes mk-shimmer { from { background-position: 100% 0; } to { background-position: 0 0; } }

/* Price flashes on update */
.ticker__price, .mk-price { transition: color 0.45s ease, text-shadow 0.45s ease, background-color 0.45s ease; border-radius: 6px; }
.ticker__price.is-up, .mk-price.is-up { color: var(--c-up); text-shadow: 0 0 14px rgba(34, 197, 94, 0.55); transition-duration: 0.08s; }
.ticker__price.is-down, .mk-price.is-down { color: var(--c-down); text-shadow: 0 0 14px rgba(244, 63, 94, 0.55); transition-duration: 0.08s; }
.mk-price.is-up { background-color: rgba(34, 197, 94, 0.10); }
.mk-price.is-down { background-color: rgba(244, 63, 94, 0.10); }
[data-motion="reduced"] .ticker__price, [data-motion="reduced"] .mk-price { transition: none; text-shadow: none !important; }

.live-dot, .status-pill__dot {
  position: relative;
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-warn);
}
[data-live="true"] .live-dot, [data-live="true"] .status-pill__dot { background: var(--c-up); }
[data-live="true"] .live-dot::after, [data-live="true"] .status-pill__dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: inherit;
  animation: mk-ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}
@keyframes mk-ping { 75%, 100% { transform: scale(2.6); opacity: 0; } }
[data-motion="reduced"] .live-dot::after, [data-motion="reduced"] .status-pill__dot::after { display: none; }

/* ---------- Ticker (under the hero) ---------- */
.ticker {
  position: relative;
  display: flex;
  align-items: stretch;
  border-block: 1px solid var(--c-border);
  background: linear-gradient(180deg, rgba(10, 16, 25, 0.85), rgba(5, 8, 15, 0.85));
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  overflow: hidden;
}
.ticker__label {
  position: relative;
  z-index: 1;
  flex: none;
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding-inline: 16px var(--space-4);
  color: var(--c-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-right: 1px solid var(--c-border);
  background: var(--c-bg);
}
@media (min-width: 768px) { .ticker__label { padding-inline: 32px var(--space-5); } }
@media (max-width: 479px) { .ticker__label-long { display: none; } }
.ticker__viewport {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.ticker__track { display: flex; width: max-content; }
/* Marquee runs on the compositor; JS only eases playbackRate (hover / focus) and toggles pause. */
.ticker.is-running .ticker__track { animation: ticker var(--ticker-dur, 40s) linear infinite; will-change: transform; }
.ticker.is-paused .ticker__track, .ticker.is-offscreen .ticker__track { animation-play-state: paused; }
@keyframes ticker { to { transform: translateX(-50%); } }
.ticker__list { display: flex; flex: none; }
.ticker__item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  height: 52px;
  padding-inline: var(--space-5);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  border-right: 1px solid rgba(255, 255, 255, 0.05);
}
.ticker__item .coin-icon { width: 20px; height: 20px; }
.ticker__item .coin-icon::before { font-size: 0.625rem; }
[data-state="loading"] .ticker__item .coin-icon[data-skel] { min-width: 20px; }
.ticker__sym { color: var(--c-text); font-weight: 500; --skel-w: 2.5em; }
.ticker__price { color: var(--c-text); padding: 2px 4px; --skel-w: 5.5em; }
.ticker__item .pct { --skel-w: 3.5em; }
/* Static, scrollable row when motion is reduced (or GSAP is unavailable). */
.ticker.is-static .ticker__viewport { overflow-x: auto; scrollbar-width: none; -webkit-mask-image: none; mask-image: none; }
.ticker.is-static .ticker__viewport::-webkit-scrollbar { display: none; }
.ticker.is-static .ticker__list[aria-hidden="true"] { display: none; }
.ticker.is-static .ticker__viewport:focus-visible { outline-offset: -2px; }
.ticker__toggle { position: relative; z-index: 1; align-self: center; margin-inline: var(--space-3) 16px; }
@media (min-width: 768px) { .ticker__toggle { margin-right: 32px; } }

/* ---------- Live markets section ---------- */
#markets {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
#markets::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 10% -20% auto;
  height: 70%;
  background:
    radial-gradient(40% 50% at 30% 40%, rgba(0, 184, 196, 0.16), transparent 70%),
    radial-gradient(30% 40% at 80% 60%, rgba(0, 184, 196, 0.08), transparent 70%);
  filter: blur(20px);
  pointer-events: none;
}
.markets__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-5);
  margin-bottom: var(--space-7);
}
.markets__lede { margin-top: var(--space-4); max-width: 46ch; color: var(--c-muted); }
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  border: 1px solid var(--c-border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-variant-numeric: tabular-nums;
  color: var(--c-muted);
  white-space: nowrap;
}
.status-pill[data-live="true"] { color: var(--c-text); border-color: rgba(34, 197, 94, 0.35); }
.status-pill [data-status-time]:empty { display: none; }
/* Narrow screens: the "· updated HH:MM" part may drop to a second line instead of overflowing. */
@media (max-width: 479px) { .status-pill { max-width: 100%; flex-wrap: wrap; row-gap: 0; border-radius: var(--radius-l); } .status-pill > * { white-space: nowrap; } }

.markets__grid { display: grid; gap: var(--space-4); }
@media (min-width: 1024px) { .markets__grid { grid-template-columns: minmax(0, 1fr) 340px; gap: var(--space-5); } }

.mk-panel {
  position: relative;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-l);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.015));
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 40px 80px -40px rgba(0, 0, 0, 0.7);
}
/* Thin teal gradient edge */
.mk-panel::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(140deg, rgba(0, 184, 196, 0.5), transparent 35%, transparent 70%, rgba(0, 184, 196, 0.2));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  pointer-events: none;
}

.mk-table-wrap { padding-block: var(--space-2); overflow: hidden; }
.mk-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-variant-numeric: tabular-nums;
}
.mk-table th, .mk-table td { padding: 0 12px; text-align: left; white-space: nowrap; }
.mk-table thead th {
  height: 44px;
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-muted);
  border-bottom: 1px solid var(--c-border);
}
.mk-table .mk-num { text-align: right; }
.mk-th-price { width: 7.25rem; }
.mk-th-pct { width: 5.75rem; }
.mk-th-spark { width: 168px; }
.mk-table tbody tr { height: 64px; transition: background-color 0.2s; }
.mk-table tbody tr + tr > * { border-top: 1px solid rgba(255, 255, 255, 0.05); }
.mk-table tbody tr:hover { background: rgba(0, 184, 196, 0.05); }
.mk-table th:first-child, .mk-table td:first-child { padding-left: 16px; }
.mk-table th:last-child, .mk-table td:last-child { padding-right: 16px; }
@media (min-width: 768px) {
  .mk-table th:first-child, .mk-table td:first-child { padding-left: 24px; }
  .mk-table th:last-child, .mk-table td:last-child { padding-right: 24px; }
  .mk-th-price { width: 10rem; }
  .mk-th-pct { width: 7.5rem; }
}

.mk-asset { font-weight: 400; overflow: hidden; }
.mk-asset__inner { display: flex; align-items: center; gap: var(--space-3); min-width: 0; }
.mk-asset__names { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.mk-asset__sym { font-weight: 600; letter-spacing: 0.01em; --skel-w: 3em; }
.mk-asset__name { font-size: var(--fs-xs); color: var(--c-muted); overflow: hidden; text-overflow: ellipsis; margin-top: 2px; --skel-w: 6em; }
.mk-price {
  display: inline-block;
  padding: 3px 6px;
  margin-right: -6px;
  font-family: var(--font-mono);
  font-size: var(--fs-s);
  --skel-w: 5.5em;
}
.mk-table td .pct { --skel-w: 4em; }

.mk-spark-cell { display: none; }
@media (min-width: 640px) { .mk-table .mk-spark-cell { display: table-cell; } }
.spark { width: 120px; height: 36px; margin-left: auto; overflow: visible; }
.spark__line { fill: none; stroke: var(--c-accent); stroke-width: 1.5; stroke-linejoin: round; stroke-linecap: round; stroke-dasharray: 1; }
.spark__area { fill: url(#mk-spark-flat); }
.spark[data-dir="up"] .spark__line { stroke: var(--c-up); }
.spark[data-dir="up"] .spark__area { fill: url(#mk-spark-up); }
.spark[data-dir="down"] .spark__line { stroke: var(--c-down); }
.spark[data-dir="down"] .spark__area { fill: url(#mk-spark-down); }
[data-state="loading"] .spark { opacity: 0; }

.markets__side { display: grid; gap: var(--space-4); align-content: start; }
@media (min-width: 640px) and (max-width: 1023px) {
  .markets__side { grid-template-columns: 1fr 1fr; }
  .mk-fng { grid-column: 1 / -1; }
}
.mk-stat { padding: var(--space-5); }
.mk-stat__label {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-muted);
}
.mk-stat__value {
  margin-top: var(--space-3);
  font-size: var(--fs-xl);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.mk-stat__value [data-skel] { --skel-w: 5em; }
.mk-stat__meta { margin-top: var(--space-3); display: flex; align-items: center; gap: var(--space-2); font-size: var(--fs-xs); color: var(--c-muted); }
.mk-bar { margin-top: var(--space-4); height: 6px; border-radius: 999px; background: rgba(255, 255, 255, 0.07); overflow: hidden; }
.mk-bar__fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--c-accent-glow), var(--c-accent));
  box-shadow: 0 0 12px var(--c-accent-glow);
  transform-origin: left;
  transform: scaleX(0);
}

.mk-gauge { margin-top: var(--space-3); }
.mk-gauge__svg { width: 100%; max-width: 280px; margin-inline: auto; overflow: visible; }
.mk-gauge__track, .mk-gauge__fill { fill: none; stroke: url(#mk-fng-grad); stroke-width: 12; stroke-linecap: round; }
.mk-gauge__track { opacity: 0.16; }
.mk-gauge__fill { stroke-dasharray: 0 100; filter: drop-shadow(0 0 6px rgba(0, 184, 196, 0.35)); }
.mk-gauge__ticks line { stroke: rgba(255, 255, 255, 0.22); stroke-width: 1.5; stroke-linecap: round; }
.mk-gauge__needle line { stroke: var(--c-text); stroke-width: 2.5; stroke-linecap: round; }
.mk-gauge__needle circle { fill: var(--c-text); }
.mk-gauge__hub { fill: var(--c-bg); stroke: var(--c-text); stroke-width: 2.5; }
.mk-gauge__readout { display: flex; flex-direction: column; align-items: center; margin-top: var(--space-2); line-height: 1.1; }
.mk-gauge__value { font-size: var(--fs-xl); font-weight: 600; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; --skel-w: 2em; }
.mk-gauge__label { margin-top: var(--space-2); font-family: var(--font-mono); font-size: var(--fs-xs); letter-spacing: 0.08em; text-transform: uppercase; color: var(--c-muted); --skel-w: 6em; }
.mk-fng[data-zone="extreme-fear"] .mk-gauge__label, .mk-fng[data-zone="fear"] .mk-gauge__label { color: var(--c-down); }
.mk-fng[data-zone="neutral"] .mk-gauge__label { color: var(--c-warn); }
.mk-fng[data-zone="greed"] .mk-gauge__label, .mk-fng[data-zone="extreme-greed"] .mk-gauge__label { color: var(--c-up); }
.mk-gauge__scale {
  display: flex;
  justify-content: space-between;
  max-width: 280px;
  margin: var(--space-2) auto 0;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-muted);
}

.markets__note { margin-top: var(--space-5); font-size: var(--fs-xs); color: var(--c-muted); }

/* Data too old to show (> 30 days): values keep their boxes (visibility, no layout shift) and an
   absolutely positioned note takes their place. */
.mk-unavailable { display: none; }
[data-state="unavailable"] .mk-unavailable {
  display: flex;
  align-items: center;
  position: absolute;
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--c-muted);
  white-space: nowrap;
  pointer-events: none;
}
.mk-unavailable--ticker, .mk-unavailable--table, .mk-unavailable--gauge { inset: 0; justify-content: center; }
.mk-unavailable--gauge { bottom: 40%; } /* inside the arc, clear of the hub */
.mk-unavailable--stat { inset: 0 auto 0 0; }
.ticker__viewport, .mk-stat__value, .mk-gauge { position: relative; }
.ticker[data-state="unavailable"] .ticker__track,
[data-state="unavailable"] [data-mk-rows],
[data-state="unavailable"] .mk-stat__value > [data-mcap],
[data-state="unavailable"] .mk-stat__value > [data-btcdom],
[data-state="unavailable"] .mk-stat__meta,
[data-state="unavailable"] .mk-bar,
[data-state="unavailable"] .mk-gauge__fill,
[data-state="unavailable"] .mk-gauge__needle,
[data-state="unavailable"] .mk-gauge__readout { visibility: hidden; }

/* ---------- Networks marquee ---------- */
.section__title--s { font-size: var(--fs-xl); }
.networks { padding-block: var(--space-8); overflow: hidden; }
.networks__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-4) var(--space-6);
  margin-bottom: var(--space-6);
}
.networks__lede { max-width: 38ch; color: var(--c-muted); }
.networks__aside { display: flex; align-items: flex-end; gap: var(--space-4); }
.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track { display: flex; width: max-content; animation: marquee 42s linear infinite; }
.marquee:hover .marquee__track, .marquee.is-paused .marquee__track { animation-play-state: paused; }
.marquee__list { display: flex; flex: none; gap: var(--space-4); padding-right: var(--space-4); }
@keyframes marquee { to { transform: translateX(-25%); } }
.net {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: 14px 26px 14px 14px;
  border: 1px solid var(--c-border);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  white-space: nowrap;
}
.net img { width: 44px; height: 44px; border-radius: 50%; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12), 0 8px 24px -8px rgba(0, 0, 0, 0.6); }
.net__name { font-size: var(--fs-l); font-weight: 500; letter-spacing: -0.02em; }
.net__sym { font-family: var(--font-mono); font-size: var(--fs-xs); letter-spacing: 0.08em; color: var(--c-muted); }
/* Reduced motion: one static, wrapped row with every network visible. */
[data-motion="reduced"] .marquee { -webkit-mask-image: none; mask-image: none; }
[data-motion="reduced"] .marquee__track { width: auto; justify-content: center; padding-inline: 16px; }
[data-motion="reduced"] .marquee__list { flex-wrap: wrap; justify-content: center; padding-right: 0; flex: 1; }
[data-motion="reduced"] .marquee__list[aria-hidden="true"] { display: none; }
@media (max-width: 479px) {
  .net { padding: 10px 20px 10px 10px; }
  .net img { width: 36px; height: 36px; }
}

/* ---------- How it works ---------- */
.how { position: relative; overflow: clip; }
.how::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 20% -10% auto 40%;
  height: 70%;
  background: radial-gradient(45% 50% at 60% 50%, rgba(0, 184, 196, 0.13), transparent 70%);
  pointer-events: none;
}
.how__steps { display: grid; gap: var(--space-4); }
@media (min-width: 768px) { .how__steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.how-step {
  position: relative;
  display: grid;
  gap: var(--space-4);
  align-content: start;
  padding: var(--space-6);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-l);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.012));
}
.how-step__num { font-family: var(--font-mono); font-size: var(--fs-s); color: var(--c-accent); letter-spacing: 0.06em; }
.how-step__title { font-size: var(--fs-l); font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; }
.how-step__text { margin-top: var(--space-3); color: var(--c-muted); }
.how-step__state {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin-top: var(--space-5);
  padding: 4px 12px;
  border-radius: 999px;
  background: color-mix(in srgb, currentColor 12%, transparent);
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
}
.how__mock { display: none; }

/* Pinned mode (>= 768px, full motion): steps on the left, one live invoice on the right. */
.how.is-pinned .how__stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: var(--space-7);
  min-height: min(620px, calc(100vh - var(--nav-h) - 48px));
}
.how.is-pinned .how__steps { grid-template-columns: none; gap: 0; position: relative; padding-left: 28px; }
.how.is-pinned .how__steps::before,
.how.is-pinned .how__steps::after {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 2px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.08);
}
.how.is-pinned .how__steps::after {
  background: linear-gradient(180deg, #7FF4FA, var(--c-accent));
  box-shadow: 0 0 12px var(--c-accent-glow);
  transform-origin: top;
  transform: scaleY(var(--how-p, 0));
}
.how.is-pinned .how-step {
  grid-template-columns: 44px minmax(0, 1fr);
  padding: var(--space-5) 0;
  border: 0;
  border-radius: 0;
  background: none;
  transition: color 0.4s ease;
}
/* Inactive steps dim by colour, not opacity, so their text still meets WCAG AA (>= 4.5:1 on --c-bg). */
.how.is-pinned .how-step:not([data-active]) .how-step__title { color: #9AA7B5; }
.how.is-pinned .how-step:not([data-active]) .how-step__text { color: #7F8C9A; }
.how.is-pinned .how-step:not([data-active]) .how-step__num { color: #4FA3AB; }
.how.is-pinned .how-step__title, .how.is-pinned .how-step__text, .how.is-pinned .how-step__num { transition: color 0.4s ease; }
.how.is-pinned .how-step__num { padding-top: 4px; }
.how.is-pinned .how-step__state { display: none; }
.how.is-pinned .how-step__title { font-size: var(--fs-xl); }
.how.is-pinned .how__mock { display: block; }

.how-mock {
  position: relative;
  width: min(440px, 100%);
  margin-inline: auto;
  padding: 28px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.025) 60%), rgba(8, 16, 24, 0.55);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  box-shadow: 0 50px 90px -40px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(0, 184, 196, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.10);
}
.how-mock__top { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); }
.how-mock__id { font-family: var(--font-mono); font-size: var(--fs-xs); color: var(--c-muted); letter-spacing: 0.04em; }
.how-mock__chips, .how-mock__subs, .how-mock__foots { display: grid; }
.how-mock__chips > *, .how-mock__subs > *, .how-mock__foots > * { grid-area: 1 / 1; }
.how-mock__chips { justify-items: end; }
.how-mock__chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  border-radius: 999px;
  background: color-mix(in srgb, currentColor 13%, transparent);
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  white-space: nowrap;
}
.how-mock__amount { margin-top: var(--space-5); font-family: var(--font-mono); font-size: clamp(2rem, 1.4rem + 1.6vw, 2.75rem); font-weight: 500; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.how-mock__subs { margin-top: var(--space-2); color: var(--c-muted); font-size: var(--fs-s); }
.how-mock__visual { position: relative; display: grid; place-items: center; aspect-ratio: 1; width: min(232px, 70%); margin: var(--space-6) auto 0; }
.how-mock__visual > * { grid-area: 1 / 1; }
.how-mock__qr { width: 100%; height: auto; border-radius: 14px; box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.8); }
.how-mock__ring { position: absolute; inset: -14%; pointer-events: none; }
.how-mock__ring span { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(0, 184, 196, 0.5); opacity: 0; }
.how-mock__coin img { width: 88px; height: 88px; border-radius: 50%; box-shadow: 0 0 0 6px rgba(0, 184, 196, 0.12), 0 0 40px rgba(0, 184, 196, 0.45); }
.how-mock__done { position: relative; width: 62%; }
.how-mock__done svg { width: 100%; height: auto; fill: none; stroke: var(--c-up); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 12px rgba(34, 197, 94, 0.5)); }
.how-mock__done svg * { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 0.7s cubic-bezier(0.65, 0, 0.35, 1) 0.15s; }
.how-mock__usdt { position: absolute; right: -6%; bottom: -4%; width: 36%; height: auto; border-radius: 50%; box-shadow: 0 0 0 4px var(--c-bg); }
.how-mock__bar { height: 4px; margin-top: var(--space-6); border-radius: 4px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.how-mock__bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, rgba(0, 184, 196, 0.3), var(--c-accent) 70%, #9DF7FB);
  box-shadow: 0 0 12px var(--c-accent-glow);
  transform-origin: left;
  transform: scaleX(0.16);
  transition: transform 0.6s cubic-bezier(0.65, 0, 0.35, 1);
}
.how-mock__foots { margin-top: var(--space-3); font-family: var(--font-mono); font-size: var(--fs-xs); color: var(--c-muted); }

/* State switching: everything keyed off section[data-step]. */
.how-mock [data-for] { opacity: 0; transform: translateY(6px); transition: opacity 0.35s ease, transform 0.35s ease; }
.how-mock__visual [data-for] { transform: scale(0.92); }
.how[data-step="0"] .how-mock [data-for="0"],
.how[data-step="1"] .how-mock [data-for="1"],
.how[data-step="2"] .how-mock [data-for="2"] { opacity: 1; transform: none; }
.how[data-step="1"] .how-mock__bar span { transform: scaleX(0.62); }
.how[data-step="2"] .how-mock__bar span { transform: scaleX(1); background: linear-gradient(90deg, rgba(34, 197, 94, 0.4), var(--c-up)); box-shadow: 0 0 12px rgba(34, 197, 94, 0.5); }
.how[data-step="2"] .how-mock__done svg * { stroke-dashoffset: 0; }
.how[data-step="1"] .how-mock__ring span { animation: how-ring 2.4s cubic-bezier(0.2, 0.6, 0.3, 1) infinite; }
.how[data-step="1"] .how-mock__ring span:nth-child(2) { animation-delay: 0.8s; }
.how[data-step="1"] .how-mock__ring span:nth-child(3) { animation-delay: 1.6s; }
.how[data-step="2"] .how-mock__ring span { border-color: rgba(34, 197, 94, 0.55); animation: how-ring 1.4s cubic-bezier(0.2, 0.6, 0.3, 1) 1 both; }
.how[data-step="2"] .how-mock__ring span:nth-child(2) { animation-delay: 0.25s; }
.how[data-step="2"] .how-mock__ring span:nth-child(3) { animation-delay: 0.5s; }
@keyframes how-ring { 0% { transform: scale(0.55); opacity: 0.9; } 100% { transform: scale(1.15); opacity: 0; } }

/* ---------- Features bento ---------- */
.bento { display: grid; gap: var(--space-4); }
@media (min-width: 640px) { .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .bento { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-5); } }
.bento__card {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  min-height: 280px;
  padding: var(--space-6);
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1), border-color 0.3s, box-shadow 0.3s;
}
.bento__card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(80% 60% at 20% 0%, rgba(0, 184, 196, 0.16), transparent 70%);
  opacity: 0;
  transition: opacity 0.35s;
  pointer-events: none;
}
.bento__card:hover { transform: translateY(-4px); border-color: rgba(0, 184, 196, 0.35); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 40px 80px -40px rgba(0, 184, 196, 0.35); }
.bento__card:hover::after { opacity: 1; }
.bento__card .icon {
  box-sizing: content-box;
  width: 22px;
  height: 22px;
  padding: 11px;
  margin-bottom: var(--space-3);
  border-radius: 14px;
  color: #7FF4FA;
  background: rgba(0, 184, 196, 0.10);
  box-shadow: inset 0 0 0 1px rgba(0, 184, 196, 0.28);
}
.bento__title { font-size: var(--fs-l); font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; }
.bento__text { color: var(--c-muted); font-size: var(--fs-s); line-height: 1.6; }
.bento__viz { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2); margin-top: auto; padding-top: var(--space-4); }
.bento__viz--tags span {
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--c-border);
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  color: var(--c-muted);
}
.bento__viz--tags span:first-child { color: var(--c-text); border-color: rgba(0, 184, 196, 0.4); background: rgba(0, 184, 196, 0.08); }
.pill-coin {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px 5px 5px;
  border-radius: 999px;
  border: 1px solid var(--c-border);
  background: rgba(255, 255, 255, 0.04);
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
}
.pill-coin img { width: 22px; height: 22px; border-radius: 50%; }
.pill-coin--on { border-color: rgba(0, 184, 196, 0.45); box-shadow: 0 0 20px -4px var(--c-accent-glow); }
.bento__arrow { position: relative; flex: 1; min-width: 40px; max-width: 96px; height: 1px; background: linear-gradient(90deg, var(--c-border), var(--c-accent)); }
.bento__arrow::after { content: ""; position: absolute; top: -3px; left: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--c-accent); box-shadow: 0 0 10px var(--c-accent); animation: bento-travel 2.4s ease-in-out infinite; }
@keyframes bento-travel { 0% { left: 0; opacity: 0; } 15%, 85% { opacity: 1; } 100% { left: calc(100% - 7px); opacity: 0; } }
.bento__link { margin-top: auto; padding-top: var(--space-4); color: var(--c-accent); font-size: var(--fs-s); font-weight: 500; }
.bento__link:hover { color: #7FF4FA; }

/* ---------- Developers ---------- */
.devs { position: relative; overflow: clip; }
.devs::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 -20% 0 30%;
  background: radial-gradient(40% 45% at 65% 50%, rgba(0, 184, 196, 0.12), transparent 70%);
  pointer-events: none;
}
.devs__grid { display: grid; gap: var(--space-8); align-items: center; }
@media (min-width: 1024px) { .devs__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); gap: var(--space-9); } }
.devs__copy { display: grid; gap: var(--space-5); justify-items: start; }
.devs__copy .section__title { margin-top: 0; }
.devs__points { display: grid; gap: var(--space-3); color: var(--c-muted); }
.devs__points li { position: relative; padding-left: 26px; }
.devs__points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.4em;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid var(--c-accent);
  background: radial-gradient(circle, var(--c-accent) 0 2.5px, transparent 3px);
}
.devs__points strong { color: var(--c-text); font-weight: 500; }
.devs__cta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3) var(--space-5); margin-top: var(--space-2); }
.devs__note { font-size: var(--fs-s); color: var(--c-muted); }

.flow { padding: var(--space-6); }
@media (min-width: 768px) { .flow { padding: var(--space-7); } }
.flow__caption { margin-bottom: var(--space-5); color: var(--c-muted); }
.flow__list { display: grid; }
.flow__node { display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: var(--space-4); align-items: center; }
.flow__icon {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 0 0 1px var(--c-border);
}
.flow__icon svg { width: 22px; height: 22px; fill: none; stroke: var(--c-text); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.flow__icon img { width: 28px; height: 28px; object-fit: contain; }
.flow__node--brand .flow__icon { background: rgba(0, 184, 196, 0.12); box-shadow: inset 0 0 0 1px rgba(0, 184, 196, 0.5), 0 0 30px -6px var(--c-accent-glow); }
.flow__name { font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; }
.flow__desc { font-size: var(--fs-s); color: var(--c-muted); line-height: 1.4; }
.flow__link { display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: var(--space-4); align-items: center; height: 56px; }
.flow__line { position: relative; justify-self: center; width: 2px; height: 100%; background: repeating-linear-gradient(180deg, rgba(0, 184, 196, 0.45) 0 4px, transparent 4px 8px); }
.flow__dot {
  position: absolute;
  left: 50%;
  top: 0;
  width: 8px;
  height: 8px;
  margin-left: -4px;
  border-radius: 50%;
  background: #9DF7FB;
  box-shadow: 0 0 12px 2px var(--c-accent);
  opacity: 0;
  animation: flow-dot 3.6s ease-in-out infinite;
}
.flow__link:nth-child(4) .flow__dot { animation-delay: 1.2s; }
.flow__link:nth-child(6) .flow__dot { animation-delay: 2.4s; }
@keyframes flow-dot {
  0% { transform: translateY(0); opacity: 0; }
  5% { opacity: 1; }
  28% { transform: translateY(48px); opacity: 1; }
  33%, 100% { transform: translateY(48px); opacity: 0; }
}
.flow__tag { font-family: var(--font-mono); font-size: var(--fs-xs); letter-spacing: 0.04em; color: var(--c-accent); }

/* ---------- Insights ---------- */
.insights__grid { display: grid; gap: var(--space-4); }
@media (min-width: 640px) { .insights__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .insights__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-5); } }
.insight { display: flex; flex-direction: column; gap: var(--space-4); padding: var(--space-6); }
.insight__tag { font-family: var(--font-mono); font-size: var(--fs-xs); letter-spacing: 0.08em; text-transform: uppercase; color: var(--c-accent); }
.insight__title { font-size: var(--fs-l); font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; }
.insight__text { color: var(--c-muted); font-size: var(--fs-s); line-height: 1.6; }
.insight__why {
  padding: var(--space-4);
  border-radius: var(--radius-m);
  background: rgba(0, 184, 196, 0.06);
  box-shadow: inset 2px 0 0 var(--c-accent);
  font-size: var(--fs-s);
  line-height: 1.55;
}
.insight__why-label { margin-bottom: 4px; font-family: var(--font-mono); font-size: 0.6875rem; letter-spacing: 0.08em; text-transform: uppercase; color: #7FF4FA; }
.insight__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-2) var(--space-4); margin-top: auto; padding-top: var(--space-3); border-top: 1px solid rgba(255, 255, 255, 0.06); }
.insight__date { font-family: var(--font-mono); font-size: var(--fs-xs); color: var(--c-muted); }

/* ---------- Why merchants switch ---------- */
.stats { display: grid; gap: var(--space-4); }
@media (min-width: 560px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-5); } }
.stat { display: flex; flex-direction: column; gap: var(--space-3); padding: var(--space-6); }
.stat__value {
  font-size: clamp(2.6rem, 1.8rem + 2.4vw, 3.75rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(100deg, #E9FEFF 0%, #7FF4FA 45%, var(--c-accent) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat__label { font-weight: 500; line-height: 1.4; }
.stat__text { color: var(--c-muted); font-size: var(--fs-s); }
.stat .source-link { margin-top: auto; padding-top: var(--space-3); }

/* ---------- About / video ---------- */
.about__grid { display: grid; gap: var(--space-7); align-items: center; }
@media (min-width: 1024px) { .about__grid { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: var(--space-8); } }
.about__copy { display: grid; gap: var(--space-5); }
.about__copy .section__title { margin-top: 0; }
.about__facts { display: grid; border-top: 1px solid var(--c-border); }
.about__facts li { display: grid; grid-template-columns: 4.5rem minmax(0, 1fr); align-items: baseline; gap: var(--space-4); padding-block: var(--space-4); border-bottom: 1px solid var(--c-border); color: var(--c-muted); }
.about__fact-k { font-family: var(--font-mono); font-size: var(--fs-l); color: var(--c-text); letter-spacing: -0.02em; }
.video-frame { position: relative; }
.video-frame::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 8% 4%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(0, 184, 196, 0.32), transparent);
  filter: blur(40px);
  pointer-events: none;
}
.video-frame__inner {
  padding: 8px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.02) 60%), rgba(8, 16, 24, 0.6);
  box-shadow: 0 50px 100px -50px rgba(0, 0, 0, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.10);
}
.video-frame__video { width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 20px; background: radial-gradient(60% 80% at 50% 40%, #0B2A33, var(--c-bg)); object-fit: cover; }
.video-frame__cap { display: flex; align-items: center; gap: var(--space-3); margin-top: var(--space-4); font-size: var(--fs-s); color: var(--c-muted); }

/* ---------- FAQ ---------- */
.faq__grid { display: grid; gap: var(--space-7); }
@media (min-width: 1024px) {
  .faq__grid { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: var(--space-8); align-items: start; }
  .faq__head { position: sticky; top: calc(var(--nav-h) + var(--space-6)); }
}
.faq__head { display: grid; gap: var(--space-4); align-content: start; }
.faq__head .section__title { margin-top: 0; }
.faq__list { border-top: 1px solid var(--c-border); }
.faq-item { border-bottom: 1px solid var(--c-border); interpolate-size: allow-keywords; }
.faq-item__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-5) var(--space-2) var(--space-5) 0;
  font-size: var(--fs-m);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.35;
  cursor: pointer;
  list-style: none;
  transition: color 0.2s;
}
.faq-item__q::-webkit-details-marker { display: none; }
.faq-item__q::after {
  content: "";
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--c-border);
  background:
    linear-gradient(var(--c-accent), var(--c-accent)) center / 11px 1.5px no-repeat,
    linear-gradient(var(--c-accent), var(--c-accent)) center / 1.5px 11px no-repeat;
  transition: transform 0.35s ease, border-color 0.2s, background-color 0.2s;
}
.faq-item__q:hover { color: #7FF4FA; }
.faq-item__q:hover::after { border-color: var(--c-accent); }
.faq-item[open] > .faq-item__q::after { transform: rotate(135deg); border-color: var(--c-accent); background-color: rgba(0, 184, 196, 0.10); }
.faq-item__a { display: grid; gap: var(--space-3); padding: 0 var(--space-7) var(--space-5) 0; color: var(--c-muted); line-height: 1.65; }
.faq-item__list { display: grid; gap: var(--space-2); }
.faq-item__list li { position: relative; padding-left: 18px; }
.faq-item__list li::before { content: ""; position: absolute; left: 0; top: 0.7em; width: 6px; height: 6px; border-radius: 50%; background: var(--c-accent); }
.faq-item__list strong { color: var(--c-text); font-weight: 500; }
/* Animated height where ::details-content is supported; elsewhere it simply toggles. Native keyboard toggling is untouched. */
.faq-item::details-content { block-size: 0; overflow: clip; transition: block-size 0.4s cubic-bezier(0.2, 0.7, 0.2, 1), content-visibility 0.4s allow-discrete; }
.faq-item[open]::details-content { block-size: auto; }
@media (max-width: 479px) { .faq-item__a { padding-right: 0; } }
.flow__icon .flow__arcs { width: 28px; height: 28px; stroke: none; filter: drop-shadow(0 0 4px rgba(0, 184, 196, 0.6)); }
/* Pinned stage must fit one screen: tighten it on tablets and short laptop screens. */
@media (max-width: 1099px), (max-height: 820px) {
  .how.is-pinned .how__stage { gap: var(--space-6); }
  .how.is-pinned .how-step { padding-block: var(--space-4); gap: var(--space-3); grid-template-columns: 36px minmax(0, 1fr); }
  .how.is-pinned .how-step__title { font-size: var(--fs-l); }
  .how.is-pinned .how-step__text { margin-top: var(--space-2); font-size: var(--fs-s); }
  .how-mock { padding: 22px; }
  .how-mock__amount { margin-top: var(--space-4); }
  .how-mock__visual { width: min(180px, 60%); margin-top: var(--space-5); }
  .how-mock__bar { margin-top: var(--space-5); }
}

/* ---------- Security vault ---------- */
/* Default (static: < 768px, reduced motion, no JS): the vault sits exploded above stacked cards.
   Pinned mode (.is-pinned) drives --v-tilt, --v-spread, --v-lock and per-layer --pop from scroll. */
.vault { position: relative; overflow: clip; --v-tilt: 1; --v-spread: 1; --v-lock: 0; }
.vault::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 25% 35% 0 -15%;
  background: radial-gradient(45% 45% at 45% 45%, rgba(0, 184, 196, 0.12), transparent 70%);
  pointer-events: none;
}
.vault__stage { display: grid; gap: var(--space-7); }

.vault__scene {
  --S: 168px;       /* plate size */
  --gap-rest: 10px; /* layer spacing when locked */
  --gap-open: 46px; /* layer spacing when exploded */
  --lift: 18px;     /* extra lift of the active layer */
  --slide: 34px;    /* how far the active layer slides out */
  position: relative;
  display: grid;
  place-items: center;
  height: 330px;
  perspective: 1500px;
  perspective-origin: 50% 30%;
  contain: layout;
}
@media (min-width: 768px) { .vault__scene { --S: 220px; --gap-open: 62px; --lift: 22px; --slide: 48px; height: 420px; } }
.vault__halo {
  position: absolute;
  inset: 8% 10%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(0, 184, 196, calc(0.10 + var(--v-lock) * 0.14)), transparent 75%);
  pointer-events: none;
}
.vault__body {
  position: relative;
  width: var(--S);
  height: var(--S);
  transform-style: preserve-3d;
  /* Shift down by about half the stack's height so the exploded vault stays centred in the scene. */
  transform:
    translateY(calc(var(--v-tilt) * (var(--gap-open) * 0.95)))
    rotateX(calc(var(--v-tilt) * 58deg))
    rotateZ(calc(var(--v-tilt) * -45deg));
}
.vault__layer {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  /* The active layer lifts and slides out toward the cards, like a drawer pulled from the stack. */
  transform: translate3d(
    calc(var(--pop, 0) * var(--slide)),
    calc(var(--pop, 0) * var(--slide)),
    calc(var(--i) * (var(--gap-rest) + var(--v-spread) * (var(--gap-open) - var(--gap-rest))) + var(--pop, 0) * var(--lift))
  );
}
.vault__plate {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border-radius: 18px;
  border: 1px solid rgba(0, 184, 196, 0.32);
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px) 0 0 / 20px 20px,
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px) 0 0 / 20px 20px,
    linear-gradient(135deg, rgba(20, 34, 48, 0.96), rgba(8, 14, 23, 0.97));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04), inset 0 0 40px rgba(0, 184, 196, 0.08);
  transition: border-color 0.35s ease, box-shadow 0.35s ease;
}
.vault__icon { width: 34%; height: 34%; color: #7FF4FA; stroke-width: 1.3; transition: color 0.35s ease, filter 0.35s ease; filter: drop-shadow(0 0 6px rgba(0, 184, 196, 0.45)); }
.vault__tag {
  position: absolute;
  left: 14px;
  bottom: 12px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-muted);
}
.vault__edge { position: absolute; background: linear-gradient(90deg, rgba(0, 184, 196, 0.30), rgba(0, 120, 130, 0.18)); }
.vault__edge--b { left: 18px; right: 18px; top: 100%; height: 8px; transform-origin: top; transform: rotateX(-90deg); }
.vault__edge--l { top: 18px; bottom: 18px; right: 100%; width: 8px; transform-origin: right; transform: rotateY(-90deg); background: linear-gradient(180deg, rgba(0, 184, 196, 0.22), rgba(0, 120, 130, 0.12)); }
.vault__shadow {
  position: absolute;
  inset: -12%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(0, 0, 0, 0.7), transparent);
  transform: translateZ(-34px);
}
.vault__ring { position: absolute; inset: -8%; transform: translateZ(-20px); transform-style: preserve-3d; pointer-events: none; }
.vault__ring span { position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid rgba(0, 184, 196, 0.6); opacity: 0; }
.vault__status {
  position: absolute;
  left: 50%;
  bottom: 0;
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 5px 14px;
  border-radius: 999px;
  border: 1px solid rgba(0, 184, 196, 0.35);
  background: rgba(0, 184, 196, 0.10);
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.04em;
  white-space: nowrap;
  transform: translateX(-50%);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

/* Cards: static mode shows every card in full. */
.vault__cards { display: grid; gap: var(--space-4); }
@media (min-width: 768px) { .vault__cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.vault-card {
  position: relative;
  display: grid;
  align-content: start;
  padding: var(--space-5) var(--space-6);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-l);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.012));
  transition: border-color 0.35s ease, background-color 0.35s ease, box-shadow 0.35s ease;
}
.vault-card__head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: var(--space-4); }
.vault-card__num { font-family: var(--font-mono); font-size: var(--fs-s); color: var(--c-accent); letter-spacing: 0.06em; }
.vault-card__title { font-size: var(--fs-l); font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; transition: color 0.35s ease; }
.vault-card__icon {
  box-sizing: content-box;
  width: 20px;
  height: 20px;
  padding: 9px;
  border-radius: 12px;
  color: #7FF4FA;
  background: rgba(0, 184, 196, 0.10);
  box-shadow: inset 0 0 0 1px rgba(0, 184, 196, 0.28);
  transition: color 0.35s ease, background-color 0.35s ease, box-shadow 0.35s ease;
}
.vault-card__body { display: grid; grid-template-rows: 1fr; transition: grid-template-rows 0.45s cubic-bezier(0.2, 0.7, 0.2, 1); }
.vault-card__inner { min-height: 0; overflow: hidden; }
.vault-card__text { margin-top: var(--space-3); color: var(--c-muted); font-size: var(--fs-s); line-height: 1.6; }
.vault-card__points { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-4); }
.vault-card__points li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 11px;
  border-radius: 999px;
  border: 1px solid var(--c-border);
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  color: var(--c-text);
}
.vault-card__points li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--c-accent); }
@media (max-width: 479px) { .vault-card { padding: var(--space-5); } .vault-card__head { gap: var(--space-3); } }

/* ---------- Security vault: pinned mode ---------- */
.vault.is-pinned .vault__stage {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: center;
  gap: var(--space-7);
  min-height: min(640px, calc(100vh - var(--nav-h) - 48px));
}
.vault.is-pinned .vault__scene { height: min(500px, calc(100vh - var(--nav-h) - 96px)); }
@media (min-width: 1100px) and (min-height: 821px) { .vault.is-pinned .vault__scene { --S: 250px; --gap-open: 70px; --lift: 26px; --slide: 58px; } }
.vault.is-pinned .vault__cards { grid-template-columns: none; gap: var(--space-3); }
/* Inactive: title row only, still full-contrast text; the active card opens and lights up. */
.vault.is-pinned .vault-card { padding: var(--space-4) var(--space-5); background: rgba(255, 255, 255, 0.015); }
.vault.is-pinned .vault-card__title { font-size: var(--fs-m); color: #C3CDD8; }
.vault.is-pinned .vault-card__icon { color: var(--c-muted); background: rgba(255, 255, 255, 0.04); box-shadow: inset 0 0 0 1px var(--c-border); }
.vault.is-pinned .vault-card__body { grid-template-rows: 0fr; }
.vault.is-pinned .vault-card[data-active] {
  border-color: rgba(0, 184, 196, 0.45);
  background: linear-gradient(180deg, rgba(0, 184, 196, 0.09), rgba(255, 255, 255, 0.015));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 30px 70px -40px rgba(0, 184, 196, 0.45);
}
.vault.is-pinned .vault-card[data-active] .vault-card__title { font-size: var(--fs-l); color: var(--c-text); }
.vault.is-pinned .vault-card[data-active] .vault-card__icon { color: #7FF4FA; background: rgba(0, 184, 196, 0.12); box-shadow: inset 0 0 0 1px rgba(0, 184, 196, 0.4), 0 0 18px rgba(0, 184, 196, 0.3); }
.vault.is-pinned .vault-card[data-active] .vault-card__body { grid-template-rows: 1fr; }

/* Plates: dim the stack, light the active layer; all light up again once secured. */
.vault.is-pinned .vault__plate { border-color: rgba(255, 255, 255, 0.12); }
.vault.is-pinned .vault__icon { color: #5E6B78; filter: none; }
.vault.is-pinned .vault__layer[data-on] .vault__plate,
.vault.is-pinned[data-secured] .vault__plate {
  border-color: rgba(0, 184, 196, 0.75);
  box-shadow: inset 0 0 0 1px rgba(0, 184, 196, 0.25), inset 0 0 50px rgba(0, 184, 196, 0.18), 0 0 46px rgba(0, 184, 196, 0.32);
}
.vault.is-pinned .vault__layer[data-on] .vault__icon,
.vault.is-pinned[data-secured] .vault__icon { color: #7FF4FA; filter: drop-shadow(0 0 8px rgba(0, 184, 196, 0.7)); }
.vault.is-pinned .vault__layer[data-on] .vault__tag { color: #7FF4FA; }
.vault.is-pinned .vault__status { opacity: 0; transform: translate(-50%, 8px); }
.vault.is-pinned[data-secured] .vault__status { opacity: 1; transform: translateX(-50%); }
.vault.is-pinned[data-secured] .vault__ring span { animation: vault-ring 1.6s cubic-bezier(0.2, 0.6, 0.3, 1) 1 both; }
.vault.is-pinned[data-secured] .vault__ring span:nth-child(2) { animation-delay: 0.25s; }
.vault.is-pinned[data-secured] .vault__ring span:nth-child(3) { animation-delay: 0.5s; }
@keyframes vault-ring { 0% { transform: scale(0.7); opacity: 0.95; } 100% { transform: scale(1.5); opacity: 0; } }
.vault.is-pinned[data-secured] .vault__status .dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid currentColor;
  animation: vault-dot 1.6s ease-out infinite;
}
@keyframes vault-dot { 0% { transform: scale(0.6); opacity: 1; } 100% { transform: scale(1.8); opacity: 0; } }
@media (max-width: 1099px), (max-height: 820px) {
  .vault.is-pinned .vault__stage { gap: var(--space-6); }
  .vault.is-pinned .vault-card { padding: var(--space-3) var(--space-4); }
  .vault.is-pinned .vault-card__text { margin-top: var(--space-2); }
  .vault.is-pinned .vault-card__points { margin-top: var(--space-3); }
}

/* ---------- Contact ---------- */
.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: var(--space-6);
  align-items: stretch;
}
.contact-tg {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-4);
  padding: var(--space-7);
  border: 1px solid rgba(0, 184, 196, 0.35);
  border-radius: var(--radius-l);
  background: radial-gradient(120% 90% at 0% 0%, rgba(0, 184, 196, 0.16), rgba(255, 255, 255, 0.02) 60%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 30px 70px -40px rgba(0, 184, 196, 0.5);
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}
.contact-tg:hover { border-color: var(--c-accent); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 30px 80px -30px var(--c-accent-glow); }
.contact-tg:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 3px; }
.contact-tg__icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: var(--radius-m);
  color: #7FF4FA;
  background: rgba(0, 184, 196, 0.12);
  box-shadow: inset 0 0 0 1px rgba(0, 184, 196, 0.4), 0 0 24px rgba(0, 184, 196, 0.25);
}
.contact-tg__title { font-size: var(--fs-xl); font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; }
.contact-tg__text { color: var(--c-muted); font-size: var(--fs-m); max-width: 42ch; }
.contact-tg__cta { margin-top: auto; }
.contact-tg:hover .contact-tg__cta { background: #19CBD6; box-shadow: 0 0 24px var(--c-accent-glow); }

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-4) var(--space-4);
  padding: var(--space-6);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-l);
  background: var(--c-surface);
}
.cf-field { display: grid; gap: var(--space-2); align-content: start; min-width: 0; }
.cf-field--wide { grid-column: 1 / -1; }
.cf-field label { font-size: var(--fs-s); font-weight: 500; }
.cf-opt { font-family: var(--font-mono); font-size: var(--fs-xs); color: var(--c-muted); margin-left: var(--space-2); text-transform: uppercase; letter-spacing: 0.06em; }
.cf-field input,
.cf-field select,
.cf-field textarea {
  width: 100%;
  min-width: 0;
  padding: 12px 14px;
  font: inherit;
  font-size: var(--fs-s);
  color: var(--c-text);
  background: rgba(5, 8, 15, 0.6);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-s);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.cf-field textarea { resize: vertical; min-height: 120px; }
.cf-field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--c-muted) 50%), linear-gradient(135deg, var(--c-muted) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 36px; }
.cf-field select option { background: var(--c-bg-2); color: var(--c-text); }
.cf-field input:hover, .cf-field select:hover, .cf-field textarea:hover { border-color: rgba(255, 255, 255, 0.22); }
.cf-field input:focus-visible, .cf-field select:focus-visible, .cf-field textarea:focus-visible {
  outline: none;
  border-color: var(--c-accent);
  box-shadow: 0 0 0 3px rgba(0, 184, 196, 0.25);
}
.cf-field [aria-invalid="true"] { border-color: var(--c-down); }
.cf-field [aria-invalid="true"]:focus-visible { box-shadow: 0 0 0 3px rgba(244, 63, 94, 0.25); }
.cf-error { min-height: 0; color: var(--c-down); font-size: var(--fs-xs); }
.cf-error:empty { display: none; }

/* Honeypot: off-screen but still rendered, so bots fill it. */
.cf-hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

.cf-actions { display: flex; align-items: center; flex-wrap: wrap; gap: var(--space-4); }
.cf-actions .btn { cursor: pointer; }
.cf-actions .btn:disabled { opacity: 0.7; cursor: progress; box-shadow: none; }
.cf-actions .btn[data-sending="1"] span::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-right: var(--space-2);
  vertical-align: -2px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: cf-spin 0.7s linear infinite;
}
@keyframes cf-spin { to { transform: rotate(360deg); } }
.cf-note { color: var(--c-muted); font-size: var(--fs-xs); }
.cf-status:empty { display: none; }
.cf-status { padding: var(--space-3) var(--space-4); border-radius: var(--radius-s); border: 1px solid var(--c-border); font-size: var(--fs-s); }
.cf-status[data-state="ok"] { color: var(--c-up); border-color: rgba(34, 197, 94, 0.4); background: rgba(34, 197, 94, 0.08); }
.cf-status[data-state="error"] { color: #FFC2CD; border-color: rgba(244, 63, 94, 0.45); background: rgba(244, 63, 94, 0.08); }
.cf-status a { color: var(--c-accent); text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 959px) {
  .contact__grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 599px) {
  .contact-form { grid-template-columns: minmax(0, 1fr); padding: var(--space-5); }
  .contact-tg { padding: var(--space-5); }
}
@media (prefers-reduced-motion: reduce) {
  .cf-actions .btn[data-sending="1"] span::before { animation: none; }
}

/* ---------- Phones / touch: no backdrop-filter (costly to paint on mobile GPUs) ----------
   Glass surfaces fall back to opaque fills that match how they looked over --c-bg. Desktop keeps the blur. */
@media (max-width: 899px), (hover: none) {
  .site-nav, .site-nav.is-scrolled, .mnav, .panel, .mk-panel, .invoice-card, .how-mock, .status-pill {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  .site-nav { background: rgba(5, 8, 15, 0.95); }
  .site-nav.is-scrolled { background: rgba(5, 8, 15, 0.98); }
  .mnav { background: var(--c-bg); }
  .panel, .mk-panel { background: linear-gradient(180deg, #12151C, #090C13); }
  .invoice-card, .how-mock { background: linear-gradient(160deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.025) 60%), #0B131C; }
  .status-pill { background: #0E1219; }
}
