/* DerilBTC. Brand per master build doc: deep navy, electric blue + gold,
   futuristic-premium trustworthy fintech (Wise/Remitly, not a casino).
   Gold = money/trust (primary CTAs). Blue = tech (links, details).
   Radius rule: cards 14px, interactive pills. */

@font-face {
  font-family: "Space Grotesk";
  src: url("/assets/fonts/space-grotesk-var-latin.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #0a1330;
  --bg-2: #0f1b40;
  --bg-3: #14224e;
  --line: rgba(148, 176, 255, 0.14);
  --text: #eef1fb;
  --muted: #9aa6cc;
  --gold: #e8b84b;
  --gold-ink: #1d1503;
  --blue: #4a8df0;
  --r-card: 14px;
  --font: "Space Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--gold); color: var(--gold-ink); }
a { color: inherit; text-decoration: none; }

/* ── nav ─────────────────────────────────────────────── */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; gap: clamp(14px, 2.5vw, 30px);
  height: 66px; padding: 0 clamp(18px, 4vw, 44px);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-name { display: flex; align-items: center; }
.nav-name img { display: block; height: 34px; width: auto; }
.nav-links { display: flex; gap: clamp(12px, 2vw, 24px); font-size: 14.5px; flex: 1; }
.nav-links a { color: var(--muted); transition: color .25s ease; white-space: nowrap; }
.nav-links a:hover { color: var(--text); }
.nav-side { display: flex; align-items: center; gap: 14px; }
.nav-lang { font-size: 13.5px; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 6px 13px; transition: color .2s, border-color .2s; }
.nav-lang:hover { color: var(--blue); border-color: var(--blue); }
.nav-cta { background: var(--gold); color: var(--gold-ink); font-weight: 700; font-size: 14px; padding: 10px 20px; border-radius: 999px; white-space: nowrap; transition: filter .2s, transform .2s; }
.nav-cta:hover { filter: brightness(1.1); }
.nav-cta:active { transform: translateY(1px) scale(.98); }

/* ── buttons ─────────────────────────────────────────── */
.btn {
  display: inline-block; background: var(--gold); color: var(--gold-ink);
  font-weight: 700; font-size: 15px; padding: 14px 28px; border-radius: 999px;
  box-shadow: 0 10px 34px rgba(232, 184, 75, 0.22);
  transition: filter .2s ease, transform .2s ease;
  white-space: nowrap;
}
.btn:hover { filter: brightness(1.1); }
.btn:active { transform: translateY(1px) scale(.98); }
.btn-lg { font-size: 16px; padding: 16px 34px; }

/* ── hero with light ribbons (brand prompt 8 aesthetic) ── */
.hero {
  position: relative; overflow: hidden;
  min-height: 100dvh; display: grid; align-items: center;
  padding: 100px clamp(18px, 4vw, 44px) 60px;
}
.hero::before, .hero::after {
  content: ""; position: absolute; pointer-events: none; filter: blur(70px);
}
.hero::before {
  width: 62vw; height: 42vw; right: -18vw; top: -12vw; opacity: .5;
  background:
    radial-gradient(closest-side, rgba(74, 141, 240, 0.55), transparent 70%),
    conic-gradient(from 210deg at 60% 40%, rgba(74, 141, 240, 0.5), rgba(232, 184, 75, 0.35), transparent 70%);
}
.hero::after {
  width: 48vw; height: 34vw; left: -16vw; bottom: -14vw; opacity: .38;
  background: radial-gradient(closest-side, rgba(232, 184, 75, 0.5), transparent 70%);
}
.hero-inner { position: relative; z-index: 1; max-width: 1200px; margin: 0 auto; width: 100%; }
.hero-split { display: grid; grid-template-columns: minmax(0, 11fr) minmax(0, 9fr); gap: clamp(28px, 4vw, 60px); align-items: center; }
.hero-media img {
  display: block; width: 100%; height: auto;
  border-radius: var(--r-card); border: 1px solid var(--line);
  box-shadow: 0 30px 90px rgba(3, 8, 30, 0.65);
  transform: rotate(1.4deg);
}
.ticker {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13.5px; color: var(--muted); margin-bottom: 26px; letter-spacing: 0.02em;
  border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px;
  background: color-mix(in srgb, var(--bg-2) 72%, transparent);
}
.ticker img { width: 15px; height: 15px; display: inline-block; vertical-align: -2px; }
.ticker span { color: var(--gold); font-weight: 500; font-variant-numeric: tabular-nums; }
.ticker .up { color: #22c55e; }
.hero h1 {
  font-size: clamp(2.3rem, 6vw, 5rem); line-height: 1.04; letter-spacing: -0.03em; font-weight: 700;
  max-width: 15ch;
}
.hero h1 .line { display: block; overflow: hidden; padding-bottom: 0.10em; margin-bottom: -0.06em; }
.hero h1 .line > span { display: inline-block; }
.hero-sub { margin-top: 24px; color: var(--muted); font-size: clamp(1rem, 1.4vw, 1.15rem); max-width: 52ch; }
.rotator { margin-top: 30px; height: 30px; overflow: hidden; position: relative; font-size: 18px; font-weight: 500; color: var(--blue); }
.rot-item { position: absolute; inset: 0 auto auto 0; opacity: 0; transform: translateY(16px); white-space: nowrap; }
.rot-item.on { opacity: 1; transform: translateY(0); transition: opacity .5s ease, transform .5s cubic-bezier(.16,1,.3,1); }
.hero .btn-lg { margin-top: 34px; }

/* ── live coin marquee (moves left to right, pauses on hover) ── */
.coin-ticker {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: rgba(4, 9, 28, 0.5); overflow: hidden;
}
.coin-track { display: flex; gap: 46px; white-space: nowrap; width: max-content; padding: 13px 0; }
.coin-track.run { animation: coinmarq 40s linear infinite; }
.coin-ticker:hover .coin-track.run { animation-play-state: paused; }
@keyframes coinmarq { from { transform: translateX(-50%); } to { transform: translateX(0); } }
.ci { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.ci b { color: var(--text); font-weight: 600; }
.ci .up { font-style: normal; color: #22c55e; }
.ci .dn { font-style: normal; color: #ef6b6b; }
@media (prefers-reduced-motion: reduce) { .coin-track.run { animation: none; } }

/* ── the desk's own rates card ───────────────────────── */
.our-rates { max-width: 1200px; margin: 0 auto; padding: clamp(56px, 8vw, 96px) clamp(18px, 4vw, 44px) 0; }
.rates-card {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 4vw, 44px); align-items: center;
  background: linear-gradient(135deg, rgba(232, 184, 75, 0.10), rgba(15, 27, 64, 0.7));
  border: 1px solid rgba(232, 184, 75, 0.30); border-radius: 22px;
  padding: clamp(28px, 4vw, 46px);
}
.rates-card::after {
  content: ""; position: absolute; width: 340px; height: 340px; right: -90px; top: -90px;
  background: radial-gradient(closest-side, rgba(232, 184, 75, 0.35), transparent);
  filter: blur(30px); pointer-events: none;
}
.rates-lead { color: var(--muted); margin: 14px 0 24px; max-width: 44ch; }
.rates-tiles { display: flex; gap: 14px; flex-wrap: wrap; position: relative; z-index: 1; }
.rate-tile {
  flex: 1; min-width: 150px; background: rgba(5, 10, 30, 0.6);
  border: 1px solid var(--line); border-radius: var(--r-card); padding: 22px;
}
.rate-tile span { display: block; color: var(--muted); font-size: 13.5px; margin-bottom: 6px; }
.rate-tile b { display: block; font-size: clamp(24px, 2.6vw, 32px); font-weight: 700; letter-spacing: -0.02em; }
.rate-tile b em { font-style: normal; color: var(--gold); font-variant-numeric: tabular-nums; }
.rate-tile small { color: var(--muted); font-size: 12.5px; }

/* ── newsletter ──────────────────────────────────────── */
.newsletter {
  max-width: 720px; margin: 0 auto; text-align: center;
  padding: clamp(56px, 8vw, 96px) clamp(18px, 4vw, 44px) 0;
}
.newsletter p { color: var(--muted); margin: 14px auto 26px; max-width: 46ch; }
.newsletter form { display: flex; gap: 12px; max-width: 460px; margin: 0 auto; }
.newsletter input[type="email"] {
  flex: 1; min-width: 0; padding: 14px 18px; font-size: 15px; font-family: var(--font);
  border-radius: 999px; border: 1px solid var(--line);
  background: rgba(5, 10, 30, 0.6); color: var(--text);
}
.newsletter input[type="email"]::placeholder { color: var(--muted); }
.newsletter input[type="email"]:focus { outline: 2px solid var(--blue); outline-offset: 1px; }
.newsletter .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.newsletter .btn { padding: 14px 26px; }
#nl-msg { min-height: 24px; margin-top: 14px; font-size: 14px; }
#nl-msg.ok { color: #22c55e; }
#nl-msg.err { color: #ef6b6b; }

/* ── nav login ───────────────────────────────────────── */
.nav-login { font-size: 13.5px; color: var(--muted); transition: color .2s; }
.nav-login:hover { color: var(--gold); }

/* ── sections shared ─────────────────────────────────── */
main section h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); letter-spacing: -0.02em; line-height: 1.12; font-weight: 700; }

/* ── services grid ───────────────────────────────────── */
.services { max-width: 1200px; margin: 0 auto; padding: clamp(64px, 9vw, 110px) clamp(18px, 4vw, 44px); }
.services h2 { margin-bottom: clamp(24px, 4vw, 42px); }
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 1.6vw, 20px); }
.svc {
  position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: var(--r-card);
  background: linear-gradient(160deg, var(--bg-3), var(--bg-2) 55%);
  transition: border-color .25s ease, transform .25s cubic-bezier(.16,1,.3,1), box-shadow .25s ease;
}
.svc:hover { border-color: var(--gold); transform: translateY(-3px); box-shadow: 0 18px 44px rgba(4, 10, 34, 0.5); }
.svc-img {
  display: block; width: 100%; height: 130px; object-fit: cover;
  border-bottom: 1px solid var(--line);
  filter: saturate(.95);
  transition: transform .45s cubic-bezier(.16,1,.3,1);
}
.svc:hover .svc-img { transform: scale(1.04); }
.svc-body { position: relative; padding: 20px 22px 24px; }
.svc-ic {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; margin-bottom: 14px;
  border-radius: 12px; font-size: 22px; color: var(--gold);
  background: rgba(232, 184, 75, 0.10);
  border: 1px solid rgba(232, 184, 75, 0.28);
}
.svc h3 { font-size: 17px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 8px; }
.svc p { color: var(--muted); font-size: 14px; line-height: 1.5; }
.svc-go { position: absolute; top: 20px; right: 18px; color: var(--muted); font-size: 15px; transition: color .25s; }
.svc:hover .svc-go { color: var(--gold); }

/* ── trust / refer bands ─────────────────────────────── */
.trust, .refer {
  position: relative; overflow: hidden;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: var(--bg-2); padding: clamp(56px, 8vw, 96px) clamp(18px, 4vw, 44px);
}
.trust::after {
  content: ""; position: absolute; right: -10vw; top: -16vw; width: 34vw; height: 34vw;
  background: radial-gradient(closest-side, rgba(74, 141, 240, 0.16), transparent 70%);
  pointer-events: none;
}
.trust h2, .trust p, .refer h2, .refer p { max-width: 62ch; margin-left: auto; margin-right: auto; position: relative; z-index: 1; }
.trust h2, .refer h2 { margin-bottom: 18px; }
.trust p, .refer p { color: var(--muted); font-size: clamp(1rem, 1.3vw, 1.12rem); }
.refer { border-top: none; }
.refer a { color: var(--blue); border-bottom: 1px solid transparent; }
.refer a:hover { border-color: var(--blue); }

/* ── steps ───────────────────────────────────────────── */
.steps-wrap { max-width: 1200px; margin: 0 auto; padding: clamp(64px, 9vw, 110px) clamp(18px, 4vw, 44px); }
.steps-wrap h2 { margin-bottom: clamp(24px, 4vw, 42px); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 26px); }
.step { border-top: 2px solid var(--gold); padding-top: 18px; }
.step .n { color: var(--blue); font-size: 14px; font-weight: 700; letter-spacing: 0.04em; }
.step h3 { font-size: 18px; margin: 6px 0 8px; }
.step p { color: var(--muted); font-size: 15px; }

/* ── cta band ────────────────────────────────────────── */
.cta-band {
  position: relative; overflow: hidden; text-align: center;
  padding: clamp(72px, 10vw, 130px) clamp(18px, 4vw, 44px);
}
.cta-band::before {
  content: ""; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 70vw; height: 34vw; filter: blur(80px); pointer-events: none; opacity: .35;
  background:
    radial-gradient(closest-side, rgba(232, 184, 75, 0.45), transparent 70%),
    radial-gradient(closest-side at 30% 60%, rgba(74, 141, 240, 0.4), transparent 70%);
}
.cta-band h2, .cta-band .btn { position: relative; z-index: 1; }
.cta-band h2 { max-width: 22ch; margin: 0 auto 30px; }

/* ── content pages ───────────────────────────────────── */
.page-hero {
  position: relative; overflow: hidden;
  padding: 150px clamp(18px, 4vw, 44px) 44px;
}
.page-hero::before {
  content: ""; position: absolute; right: -14vw; top: -18vw; width: 46vw; height: 40vw;
  filter: blur(70px); opacity: .42; pointer-events: none;
  background:
    radial-gradient(closest-side, rgba(74, 141, 240, 0.5), transparent 70%),
    radial-gradient(closest-side at 30% 70%, rgba(232, 184, 75, 0.35), transparent 70%);
}
.page-hero-img { background-size: cover; background-position: center; border-bottom: 1px solid var(--line); }
.founder-strip { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 26px 0 10px; }
.founder-strip img { width: 100%; height: auto; border-radius: var(--r-card); border: 1px solid var(--line); }
.founder-cap { color: var(--muted); font-size: 14px; text-align: center; margin-bottom: 26px; }
.page-hero h1 { position: relative; z-index: 1; font-size: clamp(1.9rem, 4.4vw, 3.4rem); line-height: 1.1; letter-spacing: -0.025em; font-weight: 700; max-width: 24ch; margin: 0 auto; }
.page-hero h1, .prose { max-width: 760px; }
.prose { margin: 0 auto; padding: 10px clamp(18px, 4vw, 44px) clamp(70px, 9vw, 110px); }
.prose h2 { font-size: clamp(1.3rem, 2.4vw, 1.75rem); margin: 44px 0 14px; }
.prose h3 { font-size: 1.15rem; margin: 32px 0 10px; }
.prose h4 { font-size: 1rem; margin: 26px 0 8px; color: var(--muted); }
.prose p { color: #c6cde8; margin: 0 0 16px; }
.prose li { color: #c6cde8; margin: 0 0 8px; }
.prose ul, .prose ol { padding-left: 22px; margin: 0 0 18px; }
.prose blockquote { border-left: 2px solid var(--gold); padding: 4px 0 4px 18px; color: var(--muted); margin: 22px 0; }
.prose a { color: var(--blue); }
.prose .btn { margin: 14px 0 26px; }

/* ── footer ──────────────────────────────────────────── */
.footer { border-top: 1px solid var(--line); background: var(--bg-2); padding: 50px clamp(18px, 4vw, 44px) 96px; color: var(--muted); font-size: 14px; }
.footer-grid { max-width: 1200px; margin: 0 auto 34px; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(18px, 3vw, 40px); }
.footer-grid h3 { color: var(--text); font-size: 14px; font-weight: 700; letter-spacing: 0.01em; margin-bottom: 12px; }
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 8px; }
.footer-grid a { color: var(--muted); transition: color .2s; }
.footer-grid a:hover { color: var(--gold); }
.footer-base { max-width: 1200px; margin: 0 auto; border-top: 1px solid var(--line); padding-top: 22px; text-align: center; }
.footer-base p { margin-bottom: 6px; }
.footer-base a { color: var(--text); }
.footer-base a:hover { color: var(--gold); }

/* ── sticky ──────────────────────────────────────────── */
.sticky-cta {
  position: fixed; left: 50%; bottom: calc(16px + env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 40;
  background: var(--gold); color: var(--gold-ink); font-weight: 700; font-size: 15px;
  padding: 13px 26px; border-radius: 999px; box-shadow: 0 12px 34px rgba(3, 8, 28, 0.6);
  transition: transform .2s ease, filter .2s ease;
}
.sticky-cta { transition: transform .25s ease, filter .2s ease, opacity .25s ease; }
.sticky-cta:hover { filter: brightness(1.1); }
.sticky-cta:active { transform: translateX(-50%) translateY(1px) scale(.98); }
/* hidden while an order form is on screen so it never covers form fields */
.sticky-cta.hide { opacity: 0; pointer-events: none; transform: translateX(-50%) translateY(30px); }

/* ── mobile ──────────────────────────────────────────── */
@media (max-width: 960px) {
  .nav-links { display: none; }
  .nav { justify-content: space-between; }
  /* keep the floating WhatsApp button from covering the last of the footer */
  .footer { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
  .hero-split { grid-template-columns: 1fr; gap: 36px; }
  .hero-media img { transform: rotate(0deg); max-width: 560px; }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .svc-grid { grid-template-columns: 1fr; }
  .page-hero { padding-top: 120px; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .rates-card { grid-template-columns: 1fr; }
  .newsletter form { flex-direction: column; }
}

/* ── scroll cue (animated mouse, from the original) ── */
.scrollcue { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 1; }
.scrollcue .mouse {
  display: block; width: 24px; height: 38px; border: 2px solid var(--muted);
  border-radius: 14px; position: relative; opacity: .75;
}
.scrollcue .mouse::after {
  content: ""; position: absolute; top: 7px; left: 50%; transform: translateX(-50%);
  width: 3px; height: 7px; border-radius: 2px; background: var(--gold);
  animation: cuewheel 1.6s infinite;
}
@keyframes cuewheel {
  0% { opacity: 0; transform: translate(-50%, 0); }
  30% { opacity: 1; } 60% { opacity: 1; transform: translate(-50%, 9px); }
  100% { opacity: 0; transform: translate(-50%, 12px); }
}
@media (prefers-reduced-motion: reduce) { .scrollcue .mouse::after { animation: none; } }

/* ── hero ctas ── */
.hero-ctas { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 34px; }
.hero-ctas .btn-lg { margin-top: 0; }
.btn-ghost { color: var(--blue); font-size: 15.5px; font-weight: 500; border-bottom: 1px solid transparent; transition: border-color .2s; }
.btn-ghost:hover { border-color: var(--blue); }

/* ── WWD pinned stage (1-1 from the original) ── */
.wwd { position: relative; }
.wwd-stage { position: relative; min-height: 100svh; display: grid; align-content: center; overflow: hidden; padding: 80px clamp(18px, 4vw, 44px) 60px; }
.wwd-head h2 { margin-bottom: clamp(22px, 3vw, 38px); }
.wwd-head, .wwd-panel, .wwd-prog { max-width: 1200px; margin-left: auto; margin-right: auto; width: 100%; }
.wwd-panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
/* Default (no JS / GSAP blocked): panels stack in flow and stay readable. */
.wwd-panel + .wwd-panel { margin-top: clamp(46px, 7vw, 80px); }
/* Only once JS confirms GSAP and pins the stage do panels overlay + hide. */
.wwd-stage.js-pin .wwd-panel + .wwd-panel { position: absolute; inset: 0; padding: inherit; margin-top: 0; opacity: 0; pointer-events: none; }
.wwd-num { color: var(--blue); font-weight: 700; font-size: 15px; letter-spacing: .06em; margin-bottom: 10px; }
.wwd-num b { color: var(--gold); font-size: 22px; }
.wwd-kick { display: inline-block; color: var(--muted); font-size: 13px; text-transform: uppercase; letter-spacing: .14em; margin-bottom: 12px; }
.wwd-content h3 { font-size: clamp(1.7rem, 3.4vw, 2.7rem); letter-spacing: -0.02em; line-height: 1.1; margin-bottom: 14px; }
.wwd-content p { color: var(--muted); max-width: 46ch; margin-bottom: 24px; }
.wwd-media img { display: block; width: 100%; height: auto; border-radius: var(--r-card); border: 1px solid var(--line); box-shadow: 0 26px 70px rgba(3, 8, 30, .6); }
.wwd-prog { height: 3px; background: rgba(148, 176, 255, .14); border-radius: 3px; margin-top: clamp(26px, 3vw, 40px); overflow: hidden; }
.wwd-prog i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--blue), var(--gold)); }

/* mobile: panels stack, no pin */
@media (max-width: 960px) {
  .wwd-stage { min-height: 0; }
  .wwd-panel { grid-template-columns: 1fr; gap: 18px; margin-bottom: 46px; }
  .wwd-panel + .wwd-panel { position: static; opacity: 1; pointer-events: auto; }
  .wwd-prog { display: none; }
}

/* ── stats band (count-up tiles) ── */
.stats { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); padding: clamp(56px, 8vw, 96px) clamp(18px, 4vw, 44px); }
.stats h2 { max-width: 1200px; margin: 0 auto clamp(24px, 3vw, 38px); }
.stats-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat { background: rgba(10, 19, 48, .55); border: 1px solid var(--line); border-radius: 18px; padding: 28px 24px; backdrop-filter: blur(8px); }
.stat b { display: block; font-size: clamp(30px, 3.6vw, 48px); font-weight: 700; letter-spacing: -0.03em; color: var(--gold); font-variant-numeric: tabular-nums; }
.stat span { color: var(--muted); font-size: 14px; }
@media (max-width: 960px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }

/* ── lead / order capture form (service-specific) ── */
.lead { max-width: 780px; margin: 0 auto; padding: clamp(40px, 7vw, 80px) clamp(18px, 4vw, 44px); }
.lead-card {
  position: relative; overflow: hidden;
  background: linear-gradient(150deg, rgba(232, 184, 75, .08), rgba(74, 141, 240, .05)), var(--bg-2);
  border: 1px solid rgba(232, 184, 75, .32); border-radius: 22px; padding: clamp(26px, 4vw, 44px);
  box-shadow: 0 24px 70px rgba(3, 8, 30, .45);
}
.lead-card::before {
  content: ""; position: absolute; right: -80px; top: -80px; width: 240px; height: 240px;
  background: radial-gradient(closest-side, rgba(232, 184, 75, .18), transparent 70%);
  filter: blur(20px); pointer-events: none;
}
.lead-card > * { position: relative; z-index: 1; }
.lead-kick { display: inline-block; color: var(--gold); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; margin-bottom: 10px; }
.lead-card h2 { margin: 0 0 8px; }
.lead-lead { color: var(--muted); max-width: 60ch; margin-bottom: 26px; }
.lead-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.lead-grid .lead-full { grid-column: 1 / -1; }
.lead-form label { display: flex; flex-direction: column; gap: 7px; font-size: 12.5px; letter-spacing: .04em; text-transform: uppercase; color: rgba(233, 238, 252, .62); }
.lead-note { margin-top: 16px; }
.lead-form input, .lead-form textarea, .lead-form select {
  background: rgba(10, 19, 48, .75); border: 1px solid rgba(74, 141, 240, .3); color: #e9eefc;
  border-radius: 12px; padding: 13px 14px; font: inherit; font-size: 16px; width: 100%; box-sizing: border-box;
  text-transform: none; letter-spacing: normal;
}
.lead-form select {
  -webkit-appearance: none; appearance: none; padding-right: 40px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' stroke='%234a8df0' stroke-width='1.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 12px;
}
.lead-form option { color: #0a1330; }
.lead-form input[type="date"] { color-scheme: dark; }
.lead-form textarea { resize: vertical; min-height: 58px; }
.lead-form input:focus, .lead-form textarea:focus, .lead-form select:focus { outline: 2px solid var(--gold); border-color: transparent; }
.lead-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.lead-sep { display: flex; align-items: center; gap: 12px; margin: 24px 0 4px; color: var(--muted); font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; }
.lead-sep::before, .lead-sep::after { content: ""; height: 1px; background: var(--line); flex: 1; }
.lead-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 22px; }
.lead-or { color: var(--muted); font-size: 14.5px; }
.lead-or a { color: var(--blue); border-bottom: 1px solid transparent; transition: border-color .2s; }
.lead-or a:hover { border-color: var(--blue); }
.lead-trust { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 18px; }
.lead-trust-i { color: var(--muted); font-size: 13px; display: inline-flex; align-items: center; gap: 7px; }
.lead-trust-i::before {
  content: ""; width: 15px; height: 15px; flex: 0 0 auto;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.4l3.2 3.2L13 4.8' stroke='%23e8b84b' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
}
.lead-msg { min-height: 22px; margin-top: 14px; font-size: 14.5px; font-weight: 600; }
.lead-msg.ok { color: #22c55e; }
.lead-msg.err { color: #ef6b6b; }
.lead-form.busy button { opacity: .6; pointer-events: none; }
@media (max-width: 620px) { .lead-grid { grid-template-columns: 1fr; } }

/* ── inline content images (mentorship founder photos) ── */
.prose-img { margin: 24px 0; }
.prose-img img { width: 100%; height: auto; border-radius: var(--r-card); border: 1px solid var(--line); }

/* ── comparison tables (restored from the source) ── */
.cmp-wrap { overflow-x: auto; margin: 22px 0 28px; border: 1px solid var(--line); border-radius: var(--r-card); }
table.cmp { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 440px; }
table.cmp th, table.cmp td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line); }
table.cmp thead th { color: var(--text); font-weight: 700; background: rgba(232, 184, 75, .08); border-bottom: 1px solid rgba(232, 184, 75, .3); }
table.cmp tbody td:first-child, table.cmp thead th:first-child { color: var(--text); font-weight: 600; }
table.cmp tbody tr:last-child td { border-bottom: 0; }
table.cmp tbody tr:nth-child(even) { background: rgba(148, 176, 255, .03); }

/* ── FAQ accordions (restored from <details>/<summary>) ── */
.prose .faq-item { border: 1px solid var(--line); border-radius: 12px; margin: 10px 0; background: rgba(15, 27, 64, .5); overflow: hidden; }
.prose .faq-item summary { cursor: pointer; padding: 16px 46px 16px 18px; font-weight: 600; color: var(--text); list-style: none; position: relative; }
.prose .faq-item summary::-webkit-details-marker { display: none; }
.prose .faq-item summary::after { content: "+"; position: absolute; right: 18px; top: 14px; color: var(--gold); font-size: 22px; line-height: 1; }
.prose .faq-item[open] summary::after { content: "\2212"; }
.prose .faq-item .faq-a { padding: 0 18px 16px; color: #c6cde8; }

/* ── Blog ─────────────────────────────────────────────────────────────── */
.post-kick { position: relative; z-index: 1; margin: 0 0 10px; letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.78rem; }
.post-kick a { color: var(--gold); text-decoration: none; }
.post-kick a:hover { text-decoration: underline; }
.post-meta { position: relative; z-index: 1; color: var(--muted); font-size: 0.9rem; margin: 14px auto 0; max-width: 60ch; }
.blog-intro p { color: var(--muted); font-size: 1.05rem; text-align: center; margin: 0; }
.blog-intro { padding-bottom: 34px; }
.blog-wrap, .related { max-width: 1120px; margin: 0 auto; padding: 0 clamp(18px, 4vw, 44px) clamp(70px, 9vw, 110px); }
.related { padding-top: 0; }
.related h2 { font-size: clamp(1.3rem, 2.4vw, 1.75rem); margin: 0 0 18px; }
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.post-card { display: flex; flex-direction: column; gap: 10px; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-card); padding: 24px 22px; text-decoration: none; color: var(--text); transition: transform 0.25s ease, border-color 0.25s ease; }
.post-card:hover { transform: translateY(-4px); border-color: rgba(232, 184, 75, 0.45); }
.post-card h3 { font-size: 1.12rem; line-height: 1.3; margin: 0; }
.post-date { color: var(--gold); font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; margin: 0; }
.post-desc { color: var(--muted); font-size: 0.92rem; margin: 0; flex: 1; }
.post-more { color: var(--blue); font-size: 0.9rem; font-weight: 600; }
.toc { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-card); padding: 20px 24px; margin: 26px 0 10px; }
.toc > p { color: var(--gold); font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; margin: 0 0 10px; }
.toc ol { margin: 0; padding-left: 20px; }
.toc li { margin: 4px 0; }
.toc a { color: #c6cde8; text-decoration: none; }
.toc a:hover { color: var(--blue); }
.author-box { background: var(--bg-2); border: 1px solid var(--line); border-left: 3px solid var(--gold); border-radius: var(--r-card); padding: 20px 24px; margin-top: 44px; }
.author-box p { margin: 0; color: #c6cde8; font-size: 0.95rem; }

/* ── Blog v2: bilingual + reading experience ─────────────────────────── */
.read-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 60; background: transparent; pointer-events: none; }
.read-progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--gold), var(--blue)); transition: width 0.08s linear; }
.post-hero { padding-top: clamp(90px, 12vw, 140px); padding-bottom: clamp(46px, 6vw, 70px); }
.post-hero h1 { max-width: 21ch; }
.post-meta { display: inline-block; background: rgba(10, 19, 48, 0.55); border: 1px solid var(--line); border-radius: 999px; padding: 8px 18px; backdrop-filter: blur(4px); }
.post-lang { margin: 18px 0 4px; }
.post-lang a { display: inline-flex; align-items: center; gap: 8px; border: 1px solid rgba(232, 184, 75, 0.5); color: var(--gold); border-radius: 999px; padding: 8px 18px; font-size: 0.92rem; font-weight: 600; text-decoration: none; transition: background 0.2s ease, transform 0.2s ease; }
.post-lang a:hover { background: rgba(232, 184, 75, 0.12); transform: translateY(-1px); }
.index-lang { text-align: center; margin-top: 20px; }
/* comfortable long-form type: phones first, wider on desktop */
.post-body { font-size: 1.05rem; line-height: 1.78; }
.post-body p { color: #d2d8ee; margin: 0 0 20px; }
.post-body li { color: #d2d8ee; margin: 0 0 10px; line-height: 1.7; }
@media (min-width: 720px) { .post-body { font-size: 1.13rem; } }
.post-body h2 { scroll-margin-top: 90px; margin: 54px 0 16px; padding-bottom: 10px; position: relative; }
.post-body h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 56px; height: 3px; border-radius: 2px; background: linear-gradient(90deg, var(--gold), rgba(232, 184, 75, 0)); }
.post-body h3 { scroll-margin-top: 90px; }
.post-body > p:first-child::first-letter,
.post-body > .post-lang + p::first-letter,
.post-body > .toc + p::first-letter { float: left; font-size: 3.1em; line-height: 0.85; font-weight: 700; color: var(--gold); padding: 4px 10px 0 0; }
.post-body blockquote { background: var(--bg-2); border: 1px solid var(--line); border-left: 3px solid var(--gold); border-radius: var(--r-card); padding: 16px 20px; color: #d2d8ee; font-size: 1.02em; }
.post-body a { text-decoration-color: rgba(74, 141, 240, 0.45); text-underline-offset: 3px; }
.post-body a:hover { color: #7cabf5; }
.post-body .cmp tbody tr:nth-child(even) { background: rgba(255, 255, 255, 0.03); }
details.toc { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-card); padding: 0; margin: 26px 0 14px; overflow: hidden; }
details.toc summary { cursor: pointer; list-style: none; padding: 16px 22px; color: var(--gold); font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; position: relative; }
details.toc summary::-webkit-details-marker { display: none; }
details.toc summary::after { content: "+"; position: absolute; right: 20px; top: 12px; font-size: 20px; }
details.toc[open] summary::after { content: "\2212"; }
details.toc ol { margin: 0; padding: 0 22px 18px 40px; }
details.toc li { margin: 6px 0; color: var(--muted); }
details.toc a { color: #c6cde8; text-decoration: none; }
details.toc a:hover { color: var(--blue); }
@media (min-width: 720px) { details.toc ol { column-count: 2; column-gap: 34px; } }
/* index cards: featured lead + hover polish */
.post-card { position: relative; overflow: hidden; }
.post-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: linear-gradient(90deg, var(--gold), var(--blue)); opacity: 0; transition: opacity 0.25s ease; }
.post-card:hover::before { opacity: 1; }
.post-card.featured { grid-column: 1 / -1; padding: 34px 30px; background: linear-gradient(135deg, var(--bg-2), var(--bg-3)); }
.post-card.featured h3 { font-size: clamp(1.35rem, 2.6vw, 1.9rem); max-width: 26ch; }
.post-card.featured .post-desc { font-size: 1.02rem; max-width: 62ch; }
.post-hero { text-align: center; }
.post-hero .post-kick { letter-spacing: 0.16em; }
.post-body .post-lang { text-align: center; }
