/* =========================================================
   Pax Capitals — Design System
   Dark premium fintech · glassmorphism · emerald gradient
   ========================================================= */

:root {
  --bg: #070b16;
  --bg-2: #0a1020;
  --bg-3: #0d1428;
  --surface: rgba(22, 32, 58, .55);
  --surface-2: rgba(255, 255, 255, .035);
  --surface-3: rgba(255, 255, 255, .06);
  --border: rgba(148, 163, 214, .14);
  --border-strong: rgba(148, 163, 214, .28);
  --text: #eef2ff;
  --muted: #93a0c4;
  --muted-2: #6b7699;
  --accent: #2ce3a5;
  --accent-2: #21b8c9;
  --accent-3: #38c8ff;
  --grad: linear-gradient(100deg, #3af0b6 0%, #2ce3a5 45%, #2fc4ff 120%);
  --grad-soft: linear-gradient(100deg, rgba(58, 240, 182, .16), rgba(47, 196, 255, .16));
  --danger: #ff5e7a;
  --font-head: 'Space Grotesk', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Inter', 'Segoe UI', system-ui, sans-serif;
  --radius: 18px;
  --radius-lg: 26px;
  --radius-sm: 12px;
  --shadow-lg: 0 30px 80px -30px rgba(0, 0, 0, .75);
  --shadow-md: 0 18px 50px -24px rgba(0, 0, 0, .6);
  --ease: cubic-bezier(.22, .8, .3, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -.02em;
  margin: 0 0 .5em;
}

p { margin: 0 0 1em; }
a { color: var(--accent); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: #7df5cf; }
img { max-width: 100%; }
ul { margin: 0; padding: 0; list-style: none; }

::selection { background: rgba(44, 227, 165, .3); }

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #1d2a4e, #16213c);
  border-radius: 20px;
  border: 3px solid var(--bg);
}
::-webkit-scrollbar-thumb:hover { background: #24345f; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: 1220px; margin-inline: auto; padding-inline: 22px; }

.section { position: relative; padding: clamp(72px, 9vw, 120px) 0; }

.section--tight { padding: clamp(56px, 7vw, 90px) 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border: 1px solid var(--border-strong);
  border-radius: 100px;
  background: var(--surface-2);
  backdrop-filter: blur(10px);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--grad);
  box-shadow: 0 0 12px var(--accent);
}

.section-head { max-width: 640px; margin: 0 auto clamp(44px, 6vw, 64px); text-align: center; }

.section-head .eyebrow { margin-bottom: 18px; }

.section-head h2 {
  font-size: clamp(30px, 4.2vw, 46px);
  letter-spacing: -.03em;
}

.section-head p { color: var(--muted); font-size: 17px; margin: 14px 0 0; }

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.text-muted { color: var(--muted) !important; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 28px;
  border-radius: 14px;
  border: 1px solid transparent;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
  transition: all .25s var(--ease);
  text-align: center;
  white-space: nowrap;
}

.btn svg { width: 17px; height: 17px; }

.btn--primary {
  color: #04130c;
  background: var(--grad);
  background-size: 160% 100%;
  box-shadow: 0 10px 34px -12px rgba(44, 227, 165, .55);
}
.btn--primary:hover {
  color: #04130c;
  background-position: 100% 0;
  box-shadow: 0 14px 42px -10px rgba(44, 227, 165, .65);
  transform: translateY(-2px);
}

.btn--ghost {
  color: var(--text);
  background: var(--surface-3);
  border-color: var(--border-strong);
  backdrop-filter: blur(10px);
}
.btn--ghost:hover {
  color: #fff;
  border-color: rgba(44, 227, 165, .55);
  background: rgba(44, 227, 165, .09);
  transform: translateY(-2px);
}

.btn--block { display: flex; width: 100%; }

.btn--lg { padding: 16px 34px; font-size: 16px; }

.btn--sm { padding: 10px 20px; font-size: 14px; border-radius: 12px; }

/* ---------- Brand / logo ---------- */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
}
.brand:hover { color: var(--text); }

.brand__mark {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border-radius: 13px;
  background: var(--grad);
  box-shadow: 0 8px 24px -8px rgba(44, 227, 165, .6), inset 0 1px 0 rgba(255, 255, 255, .35);
}
.brand__mark svg { width: 24px; height: 24px; }

.brand__name {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -.02em;
  color: #fff;
  line-height: 1;
}
.brand__name b {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand--footer .brand__mark { width: 46px; height: 46px; border-radius: 14px; }
.brand--footer .brand__name { font-size: 22px; }

/* ---------- Navbar ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  padding: 18px 0;
  transition: all .35s var(--ease);
}
.nav::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(7, 11, 22, .55);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid var(--border);
  opacity: 0;
  transition: opacity .35s var(--ease);
  pointer-events: none;
}
.nav.scrolled { padding: 12px 0; }
.nav.scrolled::before { opacity: 1; }

.nav__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav__links { display: flex; align-items: center; gap: 6px; }

.nav__link {
  position: relative;
  padding: 10px 16px;
  border-radius: 10px;
  color: #c4cdE4;
  font-weight: 500;
  font-size: 15px;
  transition: all .2s var(--ease);
}
.nav__link:hover { color: #fff; background: var(--surface-2); }
.nav__link.active { color: var(--accent); }

.nav__actions { display: flex; align-items: center; gap: 12px; }

.nav__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px; height: 46px;
  padding: 12px;
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  background: var(--surface-2);
  cursor: pointer;
}
.nav__burger span {
  display: block;
  height: 2px;
  width: 100%;
  border-radius: 2px;
  background: #fff;
  transition: all .3s var(--ease);
}
.nav__burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.open span:nth-child(2) { opacity: 0; }
.nav__burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav__links {
    position: fixed;
    top: 0; right: -100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    width: min(78vw, 330px);
    height: 100dvh;
    padding: 96px 26px 32px;
    background: rgba(9, 14, 28, .92);
    backdrop-filter: blur(24px) saturate(160%);
    border-left: 1px solid var(--border-strong);
    transition: right .45s var(--ease);
    overflow-y: auto;
  }
  .nav__links.open { right: 0; }
  .nav__link { width: 100%; font-size: 17px; padding: 13px 14px; }
  .nav__burger { display: flex; }
  .nav__auth--desktop { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(150px, 20vw, 190px) 0 clamp(70px, 10vw, 110px);
  overflow: hidden;
  isolation: isolate;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(45% 55% at 12% 12%, rgba(44, 227, 165, .14), transparent 60%),
    radial-gradient(42% 50% at 88% 8%, rgba(56, 200, 255, .12), transparent 60%),
    radial-gradient(60% 70% at 50% 110%, rgba(33, 184, 201, .12), transparent 60%),
    linear-gradient(180deg, #070b16 0%, #0a1020 100%);
}

.hero__grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(148, 163, 214, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 214, .06) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(70% 60% at 50% 30%, #000 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(70% 60% at 50% 30%, #000 30%, transparent 100%);
}

.hero__orbs { position: absolute; inset: 0; z-index: -1; }
.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .5;
  animation: float 14s ease-in-out infinite;
}
.hero__orb--1 { width: 480px; height: 480px; top: -140px; left: -120px; background: rgba(44, 227, 165, .28); }
.hero__orb--2 { width: 420px; height: 420px; top: 10%; right: -140px; background: rgba(56, 200, 255, .22); animation-delay: -5s; }
.hero__orb--3 { width: 360px; height: 360px; bottom: -160px; left: 35%; background: rgba(123, 72, 255, .14); animation-delay: -9s; }

@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-40px) scale(1.06); }
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 26px;
  padding: 8px 8px 8px 16px;
  border: 1px solid var(--border-strong);
  border-radius: 100px;
  background: var(--surface-2);
  backdrop-filter: blur(10px);
  font-size: 13px;
  color: var(--muted);
}
.hero__badge b {
  padding: 4px 10px;
  border-radius: 100px;
  background: var(--grad-soft);
  color: var(--accent);
  font-weight: 600;
}

.hero h1 {
  font-size: clamp(40px, 5.6vw, 66px);
  letter-spacing: -.035em;
  line-height: 1.04;
  margin-bottom: 22px;
}

.hero__sub { font-size: clamp(16px, 1.7vw, 19px); color: var(--muted); max-width: 460px; margin-bottom: 34px; }

.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }

.hero__proof { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.hero__proof-avatars { display: flex; }
.hero__proof-avatars img {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 2px solid var(--bg);
  margin-left: -10px;
  object-fit: cover;
  background: var(--bg-3);
}
.hero__proof-avatars img:first-child { margin-left: 0; }
.hero__proof-meta { font-size: 13px; color: var(--muted); }
.hero__proof-meta b { color: var(--text); }
.hero__stars { color: #f6c344; letter-spacing: 2px; font-size: 13px; }

/* ---------- Hero mock dashboard ---------- */
.mock {
  position: relative;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(25, 36, 64, .85), rgba(12, 18, 36, .9));
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(20px);
  padding: 24px;
  overflow: hidden;
}
.mock::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(44, 227, 165, .7), transparent);
}
.mock::after {
  content: "";
  position: absolute;
  top: -120px; right: -80px;
  width: 260px; height: 260px;
  background: radial-gradient(circle, rgba(44, 227, 165, .18), transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}

.mock__top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 18px; }
.mock__label { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .12em; }
.mock__balance {
  font-family: var(--font-head);
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -.02em;
  margin-top: 4px;
}
.mock__change {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 100px;
  background: rgba(44, 227, 165, .12);
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
}
.mock__change.down { background: rgba(255, 94, 122, .12); color: var(--danger); }

.mock__chart { width: 100%; height: 210px; display: block; margin-bottom: 16px; overflow: hidden; border-radius: var(--radius-sm); background: rgba(255,255,255,.015); }
.mock__chart svg { width: 100%; height: 100%; display: block; }

.mock__row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 18px;
}
.mock__cell {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px 14px;
}
.mock__cell-sym { display: flex; align-items: center; gap: 9px; }
.mock__cell-sym i {
  width: 30px; height: 30px;
  border-radius: 8px;
  display: grid; place-items: center;
  font-style: normal;
  font-weight: 700;
  font-size: 11px;
  color: #04130c;
  background: var(--grad);
}
.mock__cell-sym b { font-size: 13px; font-weight: 600; }
.mock__cell-sym span { display: block; font-size: 11px; color: var(--muted); }
.mock__cell-price { font-family: var(--font-head); font-weight: 700; font-size: 15px; margin-top: 8px; }
.mock__cell-chg { font-size: 12px; font-weight: 600; color: var(--accent); }
.mock__cell-chg.down { color: var(--danger); }

.mock__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mock__actions .btn { padding: 12px 0; }

.mock__glow {
  position: absolute;
  inset: 8% 6% auto;
  height: 40%;
  background: var(--grad);
  filter: blur(80px);
  opacity: .14;
  z-index: -1;
}

@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(44, 227, 165, .35); }
  70% { box-shadow: 0 0 0 16px rgba(44, 227, 165, 0); }
  100% { box-shadow: 0 0 0 0 rgba(44, 227, 165, 0); }
}
.live-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse-ring 2s infinite;
}

/* ---------- Ticker marquee ---------- */
.ticker {
  position: relative;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(13, 20, 40, .6);
  overflow: hidden;
  padding: 14px 0;
}
.ticker__track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: marquee 40s linear infinite;
}
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 34px;
  font-family: var(--font-head);
  font-size: 14px;
  border-right: 1px solid var(--border);
  white-space: nowrap;
}
.ticker__item b { font-weight: 600; }
.ticker__item .up { color: var(--accent); font-weight: 600; }
.ticker__item .down { color: var(--danger); font-weight: 600; }

@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ---------- Stats ---------- */
.stats { position: relative; }
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  background: var(--surface);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-md);
}
.stat {
  position: relative;
  padding: clamp(26px, 3.4vw, 44px) 24px;
  text-align: center;
  background: rgba(255, 255, 255, .02);
}
.stat + .stat::before {
  content: "";
  position: absolute;
  left: 0; top: 15%;
  height: 70%;
  width: 1px;
  background: var(--border);
}
.stat__num {
  font-family: var(--font-head);
  font-size: clamp(28px, 3.6vw, 42px);
  font-weight: 700;
  letter-spacing: -.03em;
  margin-bottom: 4px;
}
.stat__label { color: var(--muted); font-size: 13.5px; }

@media (max-width: 760px) {
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .stat + .stat::before { display: none; }
}

/* ---------- Cards ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }

.card {
  position: relative;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  backdrop-filter: blur(14px);
  padding: 28px;
  transition: all .35s var(--ease);
  overflow: hidden;
}
.card:hover {
  transform: translateY(-6px);
  border-color: rgba(44, 227, 165, .45);
  box-shadow: 0 22px 60px -26px rgba(44, 227, 165, .35);
  background: linear-gradient(160deg, rgba(26, 38, 66, .85), rgba(13, 20, 40, .8));
}
.card__icon {
  width: 58px; height: 58px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  margin-bottom: 20px;
  background: var(--grad-soft);
  border: 1px solid var(--border-strong);
  color: var(--accent);
  transition: all .35s var(--ease);
}
.card__icon svg { width: 27px; height: 27px; }
.card:hover .card__icon { background: var(--grad); color: #04130c; box-shadow: 0 12px 30px -10px rgba(44, 227, 165, .6); }
.card h3 { font-size: 20px; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 15px; margin: 0; }
.card__link {
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 600;
  font-size: 14px;
}
.card__link svg { width: 15px; height: 15px; transition: transform .25s var(--ease); }
.card__link:hover svg { transform: translateX(4px); }

@media (max-width: 960px) {
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

/* ---------- Split feature ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.split__visual { position: relative; }

.feature-list { display: flex; flex-direction: column; gap: 22px; }
.feature {
  display: flex;
  gap: 18px;
  padding: 22px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: all .3s var(--ease);
}
.feature:hover { border-color: rgba(44, 227, 165, .4); transform: translateX(6px); }
.feature__icon {
  flex: 0 0 50px;
  width: 50px; height: 50px;
  border-radius: 14px;
  display: grid; place-items: center;
  background: var(--grad-soft);
  border: 1px solid var(--border-strong);
  color: var(--accent);
}
.feature__icon svg { width: 24px; height: 24px; }
.feature h3 { font-size: 18px; margin-bottom: 6px; }
.feature p { color: var(--muted); font-size: 14.5px; margin: 0; }

/* ---------- Steps ---------- */
.step {
  position: relative;
  text-align: center;
  padding: 34px 26px;
}
.step__num {
  width: 68px; height: 68px;
  margin: 0 auto 22px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 700;
  color: #04130c;
  background: var(--grad);
  box-shadow: 0 0 0 8px rgba(44, 227, 165, .08), 0 14px 34px -12px rgba(44, 227, 165, .5);
}
.step__icon {
  display: grid; place-items: center;
  width: 56px; height: 56px;
  margin: 0 auto 20px;
  border-radius: 16px;
  background: var(--grad-soft);
  border: 1px solid var(--border-strong);
  color: var(--accent);
}
.step__icon svg { width: 26px; height: 26px; }
.step h3 { font-size: 19px; }
.step p { color: var(--muted); font-size: 15px; margin: 0; }

/* ---------- Testimonials ---------- */
.slider { position: relative; overflow: hidden; }
.slider__track {
  display: flex;
  transition: transform .55s var(--ease);
}
.slide {
  flex: 0 0 100%;
  padding: 4px;
}
.slide__card {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  padding: clamp(30px, 5vw, 52px);
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  backdrop-filter: blur(14px);
}
.slide__stars { color: #f6c344; letter-spacing: 3px; margin-bottom: 20px; font-size: 15px; }
.slide__text { font-size: clamp(17px, 2vw, 21px); color: #dbe4f7; line-height: 1.65; margin-bottom: 26px; font-family: var(--font-head); }
.slide__who { display: flex; align-items: center; justify-content: center; gap: 14px; }
.slide__who img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(44, 227, 165, .5); }
.slide__who b { display: block; font-size: 15px; letter-spacing: 0; }
.slide__who span { font-size: 13px; color: var(--muted); }

.slider__nav { display: flex; justify-content: center; gap: 10px; margin-top: 26px; }
.slider__dot {
  width: 9px; height: 9px;
  border-radius: 100px;
  border: none;
  background: #2a375c;
  cursor: pointer;
  transition: all .3s var(--ease);
  padding: 0;
}
.slider__dot.on { width: 30px; background: var(--grad); }

/* ---------- Logo / trust strip ---------- */
.trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px 48px; opacity: .8; }
.trust span {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: .04em;
  color: #6f7ba0;
  display: inline-flex; align-items: center; gap: 10px;
}
.trust span::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--grad);
  opacity: .6;
}

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(44, 227, 165, .3);
  background:
    radial-gradient(60% 120% at 20% 20%, rgba(44, 227, 165, .18), transparent 60%),
    radial-gradient(50% 120% at 90% 10%, rgba(56, 200, 255, .16), transparent 60%),
    linear-gradient(140deg, rgba(20, 32, 58, .9), rgba(11, 17, 34, .95));
  padding: clamp(44px, 6vw, 74px);
  text-align: center;
}
.cta-band h2 { font-size: clamp(28px, 4vw, 44px); }
.cta-band p { color: var(--muted); max-width: 520px; margin: 14px auto 30px; font-size: 17px; }
.cta-band .btn { margin: 0 6px; }

/* ---------- Footer ---------- */
.footer { position: relative; background: #05080f; border-top: 1px solid var(--border); padding: clamp(60px, 8vw, 96px) 0 36px; overflow: hidden; }
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 30px;
}
.footer__about p { color: var(--muted); margin: 20px 0 0; max-width: 320px; font-size: 15px; }
.footer h5 { font-size: 15px; letter-spacing: .1em; text-transform: uppercase; color: #fff; margin-bottom: 20px; }
.footer__links li { margin-bottom: 12px; }
.footer__links a { color: var(--muted); font-size: 14.5px; }
.footer__links a:hover { color: var(--accent); padding-left: 3px; }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer__bottom p { color: var(--muted); font-size: 13.5px; margin: 0; }
.footer__badges { display: flex; gap: 8px; }
.footer__badges span {
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 100px;
  border: 1px solid var(--border-strong);
  color: var(--muted);
}
.footer__ops {
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 280px;
  background: radial-gradient(closest-side, rgba(44, 227, 165, .14), transparent);
  filter: blur(60px);
  pointer-events: none;
}

@media (max-width: 960px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer__grid { grid-template-columns: 1fr; }
}

/* ---------- Reveal animations ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
  transition-delay: var(--reveal-delay, 0s);
}
[data-reveal].in { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative;
  padding: clamp(150px, 19vw, 178px) 0 clamp(48px, 6vw, 64px);
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}
.page-hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(50% 60% at 50% 0%, rgba(44, 227, 165, .13), transparent 65%),
    linear-gradient(180deg, #070b16, #0a1020);
}
.page-hero__grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(148, 163, 214, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 214, .05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(60% 80% at 50% 0%, #000 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(60% 80% at 50% 0%, #000 40%, transparent 100%);
}
.page-hero h1 { font-size: clamp(34px, 5vw, 52px); margin-bottom: 14px; }
.page-hero .crumbs { color: var(--muted); font-size: 14px; }
.page-hero .crumbs a { color: var(--muted); }
.page-hero .crumbs a:hover { color: var(--accent); }
.page-hero .crumbs span { color: var(--accent); }

/* ---------- Auth pages ---------- */
.auth {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 130px 0 70px;
  overflow: hidden;
  isolation: isolate;
}
body.navless .auth { padding-top: 76px; }
.auth__logo {
  justify-content: center;
  margin: 0 auto 26px;
  position: relative;
  z-index: 1;
}
.auth__logo .brand__name { font-size: 23px; }
.auth__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(50% 60% at 85% 10%, rgba(44, 227, 165, .12), transparent 60%),
    radial-gradient(45% 55% at 10% 85%, rgba(56, 200, 255, .1), transparent 60%),
    linear-gradient(180deg, #070b16, #090f1d);
}
.auth__grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(148, 163, 214, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 214, .05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(70% 70% at 50% 30%, #000 20%, transparent 100%);
  -webkit-mask-image: radial-gradient(70% 70% at 50% 30%, #000 20%, transparent 100%);
}
.auth__card {
  position: relative;
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  max-width: 980px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-strong);
  overflow: hidden;
  background: rgba(13, 20, 40, .72);
  backdrop-filter: blur(22px);
  box-shadow: var(--shadow-lg);
}
.auth__panel {
  position: relative;
  padding: clamp(34px, 4vw, 54px);
  background:
    radial-gradient(80% 80% at 20% 0%, rgba(44, 227, 165, .15), transparent 60%),
    linear-gradient(180deg, rgba(22, 34, 62, .6), rgba(11, 17, 32, .4));
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
}
.auth__panel h2 { font-size: clamp(24px, 2.6vw, 32px); margin-bottom: 12px; }
.auth__panel > p { color: var(--muted); }
.auth__points { display: flex; flex-direction: column; gap: 16px; margin-top: 8px; }
.auth__point { display: flex; gap: 13px; align-items: flex-start; }
.auth__point i {
  flex: 0 0 34px;
  width: 34px; height: 34px;
  border-radius: 10px;
  display: grid; place-items: center;
  background: var(--grad-soft);
  border: 1px solid var(--border-strong);
  color: var(--accent);
}
.auth__point i svg { width: 17px; height: 17px; }
.auth__point b { display: block; font-size: 14.5px; }
.auth__point span { font-size: 13px; color: var(--muted); }
.auth__quote { border-top: 1px solid var(--border); padding-top: 18px; font-size: 13px; color: var(--muted); }

.auth__form-wrap { padding: clamp(30px, 4vw, 52px); }
.auth__head { margin-bottom: 28px; }
.auth__head h2 { font-size: clamp(24px, 2.6vw, 30px); margin-bottom: 8px; }
.auth__head p { color: var(--muted); margin: 0; }

.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .02em;
  margin-bottom: 8px;
  color: #c3cce4;
}
.field .input-wrap { position: relative; }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: 12px;
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, .04);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  transition: all .25s var(--ease);
  outline: none;
}
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' stroke='%2393a0c4' stroke-width='2'><path d='M3 5l4 4 4-4'/></svg>"); background-repeat: no-repeat; background-position: right 16px center; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: rgba(44, 227, 165, .6);
  background: rgba(44, 227, 165, .05);
  box-shadow: 0 0 0 4px rgba(44, 227, 165, .12);
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted-2); }
.field textarea { resize: vertical; min-height: 130px; }
.field .input-wrap button {
  position: absolute;
  top: 50%; right: 10px;
  transform: translateY(-50%);
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border: none;
  border-radius: 10px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}
.field .input-wrap button:hover { color: var(--accent); }

.auth__row { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin: 4px 0 8px; font-size: 14px; color: var(--muted); }
.auth__row .check { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.auth__row input[type="checkbox"], .auth__row input[type="radio"] { accent-color: var(--accent); width: 16px; height: 16px; }

.auth__switch { text-align: center; margin-top: 22px; color: var(--muted); font-size: 14.5px; }
.auth__switch a { font-weight: 600; }

.alert-msg {
  display: none;
  margin: 14px 0 4px;
  padding: 13px 16px;
  border-radius: 12px;
  font-size: 13.5px;
  border: 1px solid rgba(44, 227, 165, .35);
  background: rgba(44, 227, 165, .08);
  color: var(--accent);
  line-height: 1.5;
}
.alert-msg.error { border-color: rgba(255, 94, 122, .35); background: rgba(255, 94, 122, .08); color: var(--danger); }
.alert-msg.show { display: block; animation: fade-in .3s var(--ease); }

@keyframes fade-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

@media (max-width: 860px) {
  .auth__card { grid-template-columns: 1fr; }
  .auth__panel { border-right: none; border-bottom: 1px solid var(--border); }
}

/* ---------- Content pages ---------- */
.content { position: relative; padding: 30px 0 90px; }
.panel-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-strong);
  background: var(--surface);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-md);
  padding: clamp(24px, 3vw, 40px);
}

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 26px; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 16px; }
.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
}
.contact-item i {
  flex: 0 0 48px;
  width: 48px; height: 48px;
  border-radius: 14px;
  display: grid; place-items: center;
  background: var(--grad-soft);
  border: 1px solid var(--border-strong);
  color: var(--accent);
}
.contact-item i svg { width: 22px; height: 22px; }
.contact-item b { display: block; font-size: 14px; }
.contact-item span { font-size: 13.5px; color: var(--muted); word-break: break-all; }

@media (max-width: 760px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* ---------- Error / verify ---------- */
.center-v {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 0 90px;
}
.error-code {
  font-family: var(--font-head);
  font-size: clamp(80px, 16vw, 160px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.04em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 18px 40px rgba(44, 227, 165, .25));
}

/* ---------- Scroll top ---------- */
.scroll-top {
  position: fixed;
  right: 24px; bottom: 24px;
  z-index: 90;
  width: 48px; height: 48px;
  border-radius: 14px;
  display: grid; place-items: center;
  border: 1px solid var(--border-strong);
  background: rgba(14, 20, 40, .85);
  backdrop-filter: blur(12px);
  color: var(--accent);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all .3s var(--ease);
}
.scroll-top svg { width: 20px; height: 20px; }
.scroll-top.on { opacity: 1; visibility: visible; transform: none; }
.scroll-top:hover { background: var(--grad); color: #04130c; box-shadow: 0 12px 30px -10px rgba(44, 227, 165, .6); }

/* ---------- Blog ---------- */
.blog-listing { position: relative; padding: clamp(44px, 6vw, 72px) 0 0; }

.blog-toolbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 22px;
  flex-wrap: wrap;
  margin-bottom: clamp(28px, 4vw, 46px);
}
.blog-toolbar__title { font-size: clamp(26px, 3.4vw, 38px); letter-spacing: -.03em; margin: 14px 0 0; }
.blog-toolbar__cats { display: flex; flex-wrap: wrap; gap: 10px; }

.chip {
  padding: 9px 18px;
  border-radius: 100px;
  cursor: pointer;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  transition: all .25s var(--ease);
}
.chip:hover { color: var(--text); border-color: rgba(44, 227, 165, .55); }
.chip.is-active {
  color: #04130c;
  background: var(--grad);
  border-color: transparent;
  box-shadow: 0 10px 26px -12px rgba(44, 227, 165, .55);
}

.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.blog-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 3vw, 32px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-md);
  transition: all .3s var(--ease);
}
.blog-card:hover { transform: translateY(-5px); border-color: var(--border-strong); box-shadow: var(--shadow-lg); }
.blog-card__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.blog-card__badge {
  display: inline-flex;
  padding: 5px 12px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--grad-soft);
  border: 1px solid rgba(44, 227, 165, .25);
}
.blog-card__meta { font-size: 12.5px; color: var(--muted-2); white-space: nowrap; }
.blog-card__title { font-size: 21px; line-height: 1.3; margin: 0 0 12px; }
.blog-card__title a { color: var(--text); }
.blog-card__title a:hover { color: var(--accent); }
.blog-card__excerpt { color: var(--muted); font-size: 14.5px; flex: 1; margin: 0; }
.blog-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 14px;
  color: var(--accent);
}
.blog-card__link svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.blog-card__link:hover svg { transform: translateX(4px); }

.blog-empty { text-align: center; color: var(--muted); padding: 40px 0; }

.blog-cta {
  margin-top: clamp(44px, 6vw, 64px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding: clamp(28px, 4vw, 42px);
  border-radius: var(--radius-lg);
  background: var(--grad-soft);
  border: 1px solid var(--border-strong);
}
.blog-cta h3 { font-size: clamp(22px, 3vw, 30px); margin-bottom: 6px; }
.blog-cta p { color: var(--muted); margin: 0; max-width: 560px; }

.container--narrow { max-width: 820px; }

.post { position: relative; padding: 10px 0 90px; }
.blog-related { position: relative; padding: 0 0 clamp(64px, 8vw, 110px); }

.post__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 26px 0 34px;
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
}
.post__back svg { width: 17px; height: 17px; transition: transform .25s var(--ease); }
.post__back:hover { color: var(--accent); }
.post__back:hover svg { transform: translateX(-4px); }
.post__header { margin-bottom: 36px; }
.post__top { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.post__meta { font-size: 13px; color: var(--muted-2); }
.post__title { font-size: clamp(30px, 4.4vw, 46px); letter-spacing: -.03em; margin: 0 0 16px; }
.post__lead { font-size: 18px; color: var(--muted); line-height: 1.65; max-width: 700px; }
.post__author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
}
.post__avatar {
  flex: 0 0 46px;
  width: 46px; height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
  color: #04130c;
  background: var(--grad);
}
.post__author b { display: block; font-family: var(--font-head); font-size: 14px; }
.post__author span span { font-size: 13px; color: var(--muted-2); }

.post__content { font-size: 17px; line-height: 1.8; }
.post__content h3 { font-size: 24px; margin: 40px 0 14px; letter-spacing: -.02em; }
.post__content p { margin: 0 0 22px; }
.post__content ul { margin: 0 0 22px; }
.post__content ul li { position: relative; padding-left: 26px; margin-bottom: 10px; }
.post__content ul li::before {
  content: "";
  position: absolute;
  left: 2px; top: .72em;
  width: 8px; height: 8px;
  border-radius: 2px;
  background: var(--grad);
}
.post__note {
  display: flex;
  gap: 16px;
  margin: 32px 0;
  padding: 20px 22px;
  border-radius: var(--radius);
  border: 1px solid rgba(44, 227, 165, .28);
  background: var(--grad-soft);
}
.post__note svg { flex: 0 0 22px; width: 22px; height: 22px; color: var(--accent); margin-top: 3px; }
.post__note p { margin: 0; }

/* Hyperlinks & Related Link Cards */
.post__link-box {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin: 28px 0;
  padding: 20px 24px;
  border-radius: var(--radius);
  border: 1px solid rgba(44, 227, 165, .3);
  background: linear-gradient(135deg, rgba(44, 227, 165, .08) 0%, rgba(33, 184, 201, .05) 100%);
  backdrop-filter: blur(14px);
  transition: all .3s var(--ease);
}
.post__link-box:hover {
  border-color: rgba(44, 227, 165, .6);
  box-shadow: 0 12px 30px -10px rgba(44, 227, 165, .25);
  transform: translateY(-2px);
}
.post__link-icon {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--grad-soft);
  border: 1px solid rgba(44, 227, 165, .3);
  color: var(--accent);
}
.post__link-icon svg { width: 20px; height: 20px; }
.post__link-details { flex: 1; }
.post__link-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
  transition: color .2s var(--ease);
}
.post__link-title svg { width: 15px; height: 15px; transition: transform .2s var(--ease); }
.post__link-title:hover { color: #7df5cf; }
.post__link-title:hover svg { transform: translate(2px, -2px); }
.post__link-desc { margin: 6px 0 6px; font-size: 14.5px; color: var(--muted); line-height: 1.5; }
.post__link-url { font-family: monospace; font-size: 12px; color: var(--muted-2); word-break: break-all; }

/* Inline Anchor Links in Sentences & Paragraphs */
.post__content a,
.post__inline-link {
  color: var(--accent) !important;
  font-weight: 600;
  text-decoration: underline !important;
  text-decoration-color: rgba(44, 227, 165, .5) !important;
  text-underline-offset: 4px;
  transition: all .2s var(--ease);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.post__content a:hover,
.post__inline-link:hover {
  color: #7df5cf !important;
  text-decoration-color: var(--accent) !important;
  text-shadow: 0 0 10px rgba(44, 227, 165, .35);
}

/* Related URL links on Blog Cards */
.blog-card__link-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  color: #38c8ff;
  background: rgba(56, 200, 255, .1);
  border: 1px solid rgba(56, 200, 255, .25);
}
.blog-card__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed var(--border);
}
.blog-card__url-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 500;
  color: var(--accent);
  background: rgba(44, 227, 165, .08);
  border: 1px solid rgba(44, 227, 165, .2);
  transition: all .2s var(--ease);
  text-decoration: none;
}
.blog-card__url-chip svg { width: 12px; height: 12px; }
.blog-card__url-chip:hover {
  background: rgba(44, 227, 165, .18);
  color: #ffffff;
  border-color: rgba(44, 227, 165, .4);
}

.post__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 46px;
  padding-top: 26px;
  border-top: 1px solid var(--border);
}
.post__foot p { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 13.5px; color: var(--muted); }
.post__foot p svg { width: 18px; height: 18px; color: var(--accent); flex: 0 0 18px; }

/* ---------- Legal documents ---------- */
.legal { position: relative; padding: 10px 0 90px; }
.legal__meta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--muted-2);
}
.legal__intro {
  margin: 22px 0 8px;
  padding: 20px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border-strong);
  background: var(--surface);
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
}
.legal__body h3:first-of-type { margin-top: 26px; }
.legal__body h3 {
  margin-top: 38px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

@media (max-width: 991px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 44px;
    text-align: center;
  }
  .hero h1 {
    font-size: clamp(32px, 6.5vw, 48px);
  }
  .hero__sub {
    max-width: 100%;
    margin-inline: auto;
  }
  .hero__cta {
    justify-content: center;
  }
  .hero__proof {
    justify-content: center;
  }
  .split {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .blog-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 900px) {
  .nav__links {
    position: fixed;
    top: 0;
    right: -100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    width: min(85vw, 320px);
    height: 100dvh;
    padding: 88px 24px 36px;
    background: rgba(7, 11, 22, .96);
    backdrop-filter: blur(24px) saturate(160%);
    -webkit-backdrop-filter: blur(24px) saturate(160%);
    border-left: 1px solid var(--border-strong);
    transition: right .4s var(--ease);
    overflow-y: auto;
    z-index: 99;
  }
  .nav__links.open { right: 0; }
  .nav__link {
    width: 100%;
    font-size: 16px;
    padding: 12px 14px;
  }
  .nav__burger {
    display: flex;
    z-index: 101;
  }
  .nav__auth--desktop { display: none; }
  .nav__mobile-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
  }
}

@media (max-width: 768px) {
  .section { padding: clamp(48px, 8vw, 80px) 0; }
  .section-head { margin-bottom: 36px; }
  .section-head h2 { font-size: clamp(26px, 5vw, 36px); }
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .stat + .stat::before { display: none; }
  .stat { padding: 24px 16px; }
  .contact-grid { grid-template-columns: 1fr; }
  .mock { padding: 18px 16px; }
  .mock__balance { font-size: 24px; }
}

@media (max-width: 640px) {
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .blog-toolbar { flex-direction: column; align-items: flex-start; }
  .post__content { font-size: 16px; }
}

@media (max-width: 576px) {
  .container { padding-inline: 16px; }
  .nav { padding: 14px 0; }
  .nav.scrolled { padding: 10px 0; }
  .brand__mark { width: 36px; height: 36px; border-radius: 11px; }
  .brand__mark svg { width: 20px; height: 20px; }
  .brand__name { font-size: 17px; }
  .nav__actions .btn--sm { padding: 8px 14px; font-size: 13px; border-radius: 10px; }
  .nav__burger { width: 40px; height: 40px; padding: 10px; border-radius: 10px; }

  .hero { padding: 110px 0 44px; }
  .hero h1 { font-size: 32px; letter-spacing: -.02em; }
  .hero__sub { font-size: 15px; margin-bottom: 24px; }
  .hero__badge { padding: 6px 12px; font-size: 12px; margin-bottom: 20px; flex-wrap: wrap; }
  .hero__cta { flex-direction: column; width: 100%; gap: 10px; margin-bottom: 30px; }
  .hero__cta .btn { width: 100%; }

  .mock { padding: 14px 12px; border-radius: 18px; }
  .mock__top { margin-bottom: 12px; }
  .mock__balance { font-size: 22px; }
  .mock__chart { height: 150px; }
  .mock__row { grid-template-columns: 1fr; gap: 8px; }
  .mock__actions { grid-template-columns: 1fr; }

  .stats__grid { grid-template-columns: 1fr; border-radius: 18px; }
  .stat__num { font-size: 32px; }

  .card { padding: 20px 16px; border-radius: 16px; }
  .feature { padding: 16px 14px; flex-direction: column; gap: 12px; }
  .feature__icon { flex: 0 0 42px; width: 42px; height: 42px; border-radius: 11px; }
  .feature__icon svg { width: 20px; height: 20px; }

  .cta-band { padding: 32px 18px; border-radius: 20px; }
  .cta-band h2 { font-size: 26px; }
  .cta-band p { font-size: 15px; }
  .cta-band .btn { margin: 6px 0; width: 100%; display: flex; }

  .footer { padding: 48px 0 28px; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; padding-bottom: 32px; }
  .footer__bottom { flex-direction: column; align-items: center; text-align: center; gap: 14px; }
  .footer__badges { justify-content: center; flex-wrap: wrap; }

  .auth { padding: 86px 0 40px; }
  body.navless .auth { padding-top: 36px; }
  .auth__card { border-radius: 20px; grid-template-columns: 1fr; }
  .auth__panel { padding: 22px 16px; gap: 20px; }
  .auth__form-wrap { padding: 22px 16px; }
  .auth__head h2 { font-size: 24px; }
  .field input, .field select, .field textarea { padding: 11px 14px; font-size: 14px; border-radius: 10px; }
  .btn--lg { padding: 13px 22px; font-size: 15px; }

  .table-responsive { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
}