/* ============================================================
   Glyde — "Mercury" clean light fintech theme.
   Rebrand fast: change --indigo and the font imports.
   ============================================================ */

:root {
  --bg:        #ffffff;
  --bg-soft:   #f7f8fa;
  --bg-softer: #f1f3f7;
  --surface:   #ffffff;
  --line:      #e7e9ee;
  --line-2:    #dfe2e9;
  --ink:       #0b1020;   /* primary text */
  --ink-2:     #3a4256;   /* strong secondary */
  --muted:     #6b7280;   /* muted text */
  --faint:     #9aa1ad;

  --indigo:    #4f46e5;
  --indigo-d:  #4338ca;
  --indigo-50: #eef0fe;
  --indigo-100:#e2e4fd;
  --gold:      #f5b942;

  --radius:    16px;
  --radius-sm: 12px;
  --maxw:      1160px;
  --font:      "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --display:   "Space Grotesk", var(--font);

  --shadow-sm: 0 1px 2px rgba(16,24,40,.05), 0 1px 3px rgba(16,24,40,.08);
  --shadow-md: 0 6px 20px rgba(16,24,40,.07);
  --shadow-lg: 0 24px 60px rgba(16,24,40,.12);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 760px; }

a { color: var(--indigo); text-decoration: none; }
a:hover { color: var(--indigo-d); }

h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; letter-spacing: -.02em; color: var(--ink); }

/* lucide icon defaults */
[data-lucide] { width: 1em; height: 1em; stroke-width: 2; vertical-align: -.125em; }

/* ---------- Buttons ---------- */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px; font-family: var(--font); font-weight: 600;
  background: var(--indigo); color: #fff; padding: 13px 26px; border-radius: 12px;
  transition: transform .14s ease, box-shadow .14s ease, background .14s ease;
  box-shadow: 0 6px 18px rgba(79,70,229,.28);
}
.btn-primary:hover { background: var(--indigo-d); color: #fff; transform: translateY(-1px); box-shadow: 0 10px 26px rgba(79,70,229,.36); }
.btn-sm { padding: 9px 18px; font-size: .92rem; border-radius: 10px; }
.btn-white {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 600;
  background: #fff; color: var(--indigo); padding: 13px 26px; border-radius: 12px;
  transition: transform .14s ease, box-shadow .14s ease;
  box-shadow: 0 8px 24px rgba(0,0,0,.14);
}
.btn-white:hover { color: var(--indigo-d); transform: translateY(-1px); }

/* ---------- Header ---------- */
.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.8);
  position: sticky; top: 0; z-index: 30;
  backdrop-filter: blur(12px);
}
.header-inner { display: flex; align-items: center; gap: 18px; height: 70px; }
.logo { display: inline-flex; align-items: center; gap: 9px; font-family: var(--display); font-size: 1.3rem; font-weight: 700; color: var(--ink); }
.logo:hover { color: var(--ink); }
.logo-img { width: 34px; height: 34px; border-radius: 9px; display: block; object-fit: cover; }
.logo-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 9px; background: var(--indigo); color: #fff; font-size: 16px;
  box-shadow: 0 4px 12px rgba(79,70,229,.35);
}
.nav { margin-left: auto; }
.nav a { color: var(--muted); margin-left: 28px; font-weight: 500; font-size: .94rem; }
.nav a:hover { color: var(--ink); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 88px 0 88px; overflow: hidden; background: radial-gradient(130% 95% at 50% -12%, #2a2a66 0%, #1a1c47 40%, #101331 72%, #0a0b1f 100%); }
.hero > * { position: relative; z-index: 1; }
/* soft color wash (clearly visible + slow drift) */
.hero::before {
  content: ""; position: absolute; inset: -20% -12% 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(46% 40% at 50% -8%, rgba(99,102,241,.75), transparent 62%),
    radial-gradient(40% 46% at 88% 2%, rgba(67,56,202,.65), transparent 60%),
    radial-gradient(44% 48% at 6% 10%, rgba(124,58,237,.60), transparent 60%);
  animation: heroDrift 14s ease-in-out infinite alternate;
}
@keyframes heroDrift {
  from { transform: translate3d(0,0,0) scale(1); }
  to   { transform: translate3d(0,16px,0) scale(1.06); }
}
/* techy line grid */
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.10) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(85% 78% at 50% 26%, #000 0%, transparent 84%);
  mask-image: radial-gradient(85% 78% at 50% 26%, #000 0%, transparent 84%);
  opacity: 1;
  animation: gridPan 7s linear infinite;
}
@keyframes gridPan { to { background-position: 46px 46px, 46px 46px; } }
@media (prefers-reduced-motion: reduce) { .hero::after { animation: none; } }
.hero-grid { display: grid; grid-template-columns: 1fr minmax(420px, 560px); gap: 56px; align-items: center; }
.badge-pill {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--indigo-50); border: 1px solid var(--indigo-100); color: var(--indigo-d);
  padding: 7px 15px; border-radius: 999px; font-size: .82rem; font-weight: 600; margin-bottom: 22px;
}
.hero-title { font-size: 3.5rem; line-height: 1.07; margin-bottom: 18px; }
.accent { color: var(--indigo); }
.hero-lead { font-size: 1.15rem; color: var(--ink-2); max-width: 520px; margin-bottom: 26px; }
.hero-points { display: grid; gap: 12px; margin-bottom: 28px; }
.point { display: flex; align-items: center; gap: 12px; font-weight: 500; color: var(--ink-2); }
.tick { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; background: var(--indigo-50); color: var(--indigo); font-size: 13px; }
.rating { display: flex; align-items: center; gap: 12px; }
.stars { color: var(--gold); letter-spacing: 2px; font-size: 1.05rem; }
.stars.sm { font-size: .92rem; letter-spacing: 1px; }
.rating-text { color: var(--muted); font-size: .9rem; }

/* ---------- Swap card ---------- */
.hero-widget { display: flex; flex-direction: column; align-items: center; }
.swap-card {
  width: 100%; background: var(--surface); border: 1px solid var(--line);
  border-radius: 20px; padding: 16px; min-height: 440px; display: flex;
  box-shadow: var(--shadow-lg);
}
.swap-card iframe { width: 100% !important; border: 0; border-radius: 14px; min-height: 410px; }
.widget-foot { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); font-size: .82rem; margin-top: 14px; }

.widget-placeholder { width: 100%; border: 2px dashed var(--line-2); border-radius: 14px; background: var(--bg-soft); display: flex; align-items: center; justify-content: center; padding: 32px; text-align: center; }
.widget-placeholder-inner strong { display: block; color: var(--indigo); font-size: 1.1rem; margin-bottom: 10px; font-family: var(--display); }
.widget-placeholder-inner p { color: var(--muted); font-size: .92rem; }
.widget-placeholder-inner code { background: var(--bg-softer); padding: 2px 6px; border-radius: 5px; color: var(--ink); }

/* ---------- Coin marquee ---------- */
.marquee-wrap { margin-top: 54px; }
.marquee-label { text-align: center; color: var(--faint); font-size: .8rem; margin-bottom: 18px; text-transform: uppercase; letter-spacing: .14em; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: inline-flex; gap: 12px; white-space: nowrap; animation: scroll 38s linear infinite; }
.coin { display: inline-flex; align-items: center; gap: 9px; background: var(--surface); border: 1px solid var(--line); color: var(--ink-2); font-weight: 600; font-size: .88rem; padding: 10px 16px; border-radius: 12px; box-shadow: var(--shadow-sm); }
.coin img { width: 22px; height: 22px; }
@keyframes scroll { from { transform: translateX(0) } to { transform: translateX(-50%) } }

/* ---------- Stats ---------- */
.stats { padding: 44px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: 30px; }
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 22px; }
.stat { text-align: center; }
.stat-num { font-family: var(--display); font-size: 2.7rem; font-weight: 700; letter-spacing: -.03em; color: var(--indigo); }
.stat-label { color: var(--muted); font-size: .92rem; margin-top: 4px; }

/* ---------- Sections ---------- */
.section { padding: 84px 0; }
.section.alt { background: var(--bg-soft); }
.eyebrow { display: block; text-align: center; color: var(--indigo); font-weight: 600; font-size: .8rem; text-transform: uppercase; letter-spacing: .16em; margin-bottom: 12px; }
.section-title { font-size: 2.3rem; text-align: center; margin-bottom: 12px; }
.section-sub { text-align: center; color: var(--muted); margin-bottom: 46px; font-size: 1.05rem; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-sm); transition: transform .15s ease, box-shadow .15s ease; }
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.step-num { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 12px; background: var(--indigo); color: #fff; font-family: var(--display); font-weight: 700; margin-bottom: 16px; font-size: 1.1rem; }
.step h3 { font-size: 1.18rem; margin-bottom: 8px; }
.step p { color: var(--muted); }

/* features */
.features { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); transition: transform .15s ease, box-shadow .15s ease; }
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.feature-ic { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 12px; background: var(--indigo-50); color: var(--indigo); font-size: 22px; margin-bottom: 14px; }
.feature h3 { font-size: 1.1rem; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: .95rem; }

/* comparison */
.compare { max-width: 760px; margin: 0 auto; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.compare-table { width: 100%; border-collapse: collapse; background: var(--surface); }
.compare-table th, .compare-table td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); }
.compare-table thead th { font-family: var(--display); font-size: 1rem; color: var(--muted); }
.compare-table thead th.us { color: var(--indigo); }
.compare-table td { color: var(--muted); }
.compare-table td.us { color: var(--ink); font-weight: 600; }
.compare-table .us { background: var(--indigo-50); }
.compare-table tbody tr:last-child td { border-bottom: 0; }

/* testimonials */
.testimonials { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.tcard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); }
.tcard p { color: var(--ink-2); font-size: .98rem; margin: 12px 0 18px; }
.who { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: .9rem; }
.avatar { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: var(--indigo); color: #fff; font-weight: 700; font-size: .85rem; }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 4px 20px; box-shadow: var(--shadow-sm); transition: border-color .15s ease; }
.faq details[open] { border-color: var(--indigo-100); }
.faq summary { cursor: pointer; list-style: none; padding: 16px 0; font-family: var(--display); font-weight: 600; font-size: 1.02rem; display: flex; justify-content: space-between; align-items: center; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--indigo); font-size: 1.4rem; font-weight: 400; }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--muted); padding: 0 0 18px; }

/* final CTA */
.cta-final { padding: 40px 0 90px; }
.cta-box-lg { text-align: center; padding: 60px 30px; background: var(--indigo); border-radius: 24px; box-shadow: 0 24px 60px rgba(79,70,229,.3); }
.cta-box-lg h2 { color: #fff; font-size: 2.3rem; margin-bottom: 10px; }
.cta-box-lg p { color: rgba(255,255,255,.85); margin-bottom: 26px; }

/* footer */
.site-footer { border-top: 1px solid var(--line); padding: 56px 0 36px; background: var(--bg-soft); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 30px; margin-bottom: 40px; }
.footer-brand p { color: var(--muted); font-size: .92rem; margin-top: 12px; max-width: 240px; }
.footer-col h4 { font-size: .95rem; margin-bottom: 14px; color: var(--ink); }
.footer-col a { display: block; color: var(--muted); font-size: .92rem; margin-bottom: 10px; }
.footer-col a:hover { color: var(--indigo); }
.disclosure { color: var(--faint); font-size: .82rem; max-width: 820px; margin: 0 auto 14px; text-align: center; padding-top: 24px; border-top: 1px solid var(--line); }
.copyright { color: var(--muted); font-size: .85rem; text-align: center; }

/* ---------- Blog article ---------- */
.article { padding: 60px 0; }
.article h1 { font-size: 2.3rem; margin-bottom: 8px; }
.article .meta { color: var(--muted); font-size: .9rem; margin-bottom: 30px; }
.article h2 { text-align: left; font-size: 1.45rem; margin: 34px 0 12px; }
.article p, .article li { color: var(--ink-2); margin-bottom: 14px; }
.article ul, .article ol { padding-left: 22px; }
.article .cta-box { background: var(--indigo-50); border: 1px solid var(--indigo-100); border-radius: var(--radius); padding: 26px; margin: 32px 0; text-align: center; }

/* ---------- Centered hero + custom swap box ---------- */
.hero-center { display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero-center .hero-title { font-size: 3.6rem; line-height: 1.02; letter-spacing: -.04em; margin-bottom: 16px; }
.hero-center .hero-lead { margin-bottom: 30px; }

.swap-wrap { position: relative; width: 100%; max-width: 480px; display: flex; flex-direction: column; align-items: center; }
.swap-wrap::before {
  content: ""; position: absolute; z-index: -1; left: 50%; top: 46%;
  width: 124%; height: 80%; transform: translate(-50%, -50%);
  width: 132%; height: 92%;
  background: radial-gradient(closest-side, rgba(99,102,241,.55), rgba(139,92,246,.34) 50%, rgba(59,130,246,.18) 70%, transparent 80%);
  filter: blur(40px); pointer-events: none;
}

.swap-box {
  width: 100%; background: var(--surface); border: 1px solid var(--line);
  border-radius: 22px; padding: 18px; box-shadow: var(--shadow-lg); text-align: left;
}
.swap-row { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; }
.swap-row-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.swap-label { font-size: .82rem; color: var(--muted); font-weight: 500; }
.swap-min, .swap-rate { font-size: .78rem; color: var(--faint); }
.swap-min.warn { color: #e0533b; }

.swap-field { display: flex; align-items: center; gap: 10px; }
.swap-amount { flex: 1; min-width: 0; border: 0; background: transparent; font-family: var(--display); font-size: 1.5rem; font-weight: 600; color: var(--ink); outline: none; }
.swap-amount::placeholder { color: var(--faint); }

.cur-select { display: inline-flex; align-items: center; gap: 7px; background: var(--surface); border: 1px solid var(--line-2); border-radius: 999px; padding: 7px 12px; font-weight: 600; font-size: .95rem; color: var(--ink); cursor: pointer; transition: border-color .14s ease; white-space: nowrap; }
.cur-select:hover { border-color: var(--indigo); }
.cur-select [data-lucide] { color: var(--muted); font-size: 16px; }
.cur-ic { width: 22px; height: 22px; border-radius: 50%; }

.swap-switch { display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; margin: -10px auto; position: relative; z-index: 2; border: 4px solid var(--surface); border-radius: 12px; background: var(--indigo); color: #fff; cursor: pointer; font-size: 18px; transition: transform .2s ease; }
.swap-switch:hover { transform: rotate(180deg); }

.address-row { margin-top: 12px; }
.address-row .swap-label { display: block; margin-bottom: 8px; }
.swap-address { width: 100%; border: 1px solid var(--line); background: var(--bg-soft); border-radius: 12px; padding: 12px 14px; font-family: "JetBrains Mono", ui-monospace, monospace; font-size: .9rem; color: var(--ink); outline: none; }
.swap-address:focus { border-color: var(--indigo); }

.swap-cta { width: 100%; justify-content: center; margin-top: 14px; font-size: 1.05rem; padding: 15px; }
.swap-cta:disabled { opacity: .5; cursor: not-allowed; box-shadow: none; }
.swap-note { text-align: center; font-size: .82rem; color: var(--muted); margin-top: 10px; min-height: 1em; }
.swap-note.err { color: #e0533b; }

.swap-foot { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); font-size: .8rem; margin-top: 14px; }
.swap-foot [data-lucide] { color: var(--indigo); }

/* result panel */
.swap-result { margin-top: 4px; }
.swap-result h3 { font-size: 1.15rem; margin-bottom: 4px; }
.swap-result .sub { color: var(--muted); font-size: .9rem; margin-bottom: 16px; }
.deposit-box { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 14px; padding: 14px; margin-bottom: 12px; }
.deposit-box .dl { font-size: .78rem; color: var(--muted); margin-bottom: 6px; }
.deposit-addr { display: flex; align-items: center; gap: 8px; }
.deposit-addr code { flex: 1; min-width: 0; overflow-wrap: anywhere; font-family: "JetBrains Mono", ui-monospace, monospace; font-size: .85rem; color: var(--ink); }
.copy-btn { border: 1px solid var(--line-2); background: var(--surface); border-radius: 8px; padding: 6px 10px; cursor: pointer; color: var(--indigo); font-size: 13px; }
.status-pill { display: inline-flex; align-items: center; gap: 7px; padding: 7px 14px; border-radius: 999px; font-size: .85rem; font-weight: 600; background: var(--indigo-50); color: var(--indigo-d); }
.status-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--indigo); animation: pulse 1.4s ease-in-out infinite; }
@keyframes pulse { 0%,100%{opacity:.4} 50%{opacity:1} }
.link-btn { background: none; border: 0; color: var(--muted); font-size: .85rem; cursor: pointer; margin-top: 14px; text-decoration: underline; }

/* chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 26px; }
.chip { display: inline-flex; align-items: center; gap: 7px; background: var(--surface); border: 1px solid var(--line); color: var(--muted); padding: 8px 14px; border-radius: 999px; font-size: .85rem; font-weight: 500; box-shadow: var(--shadow-sm); }
.chip [data-lucide] { color: var(--indigo); font-size: 15px; }

/* currency picker modal */
.cur-modal { position: fixed; inset: 0; z-index: 50; background: rgba(11,16,32,.45); display: flex; align-items: flex-start; justify-content: center; padding: 80px 20px; backdrop-filter: blur(3px); }
.cur-modal[hidden] { display: none; }
.cur-panel { width: 100%; max-width: 420px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-lg); overflow: hidden; }
.cur-head { display: flex; gap: 8px; padding: 14px; border-bottom: 1px solid var(--line); }
.cur-search { flex: 1; border: 1px solid var(--line); border-radius: 10px; padding: 11px 13px; font-size: .95rem; outline: none; color: var(--ink); }
.cur-search:focus { border-color: var(--indigo); }
.cur-close { border: 0; background: var(--bg-soft); border-radius: 10px; width: 42px; cursor: pointer; color: var(--muted); font-size: 18px; display: flex; align-items: center; justify-content: center; }
.cur-list { max-height: 50vh; overflow-y: auto; padding: 6px; }
.cur-item { display: flex; align-items: center; gap: 11px; width: 100%; padding: 11px 12px; border: 0; background: none; border-radius: 10px; cursor: pointer; text-align: left; }
.cur-item:hover { background: var(--bg-soft); }
.cur-item img { width: 28px; height: 28px; border-radius: 50%; }
.cur-item .ci-tk { font-weight: 600; color: var(--ink); }
.cur-item .ci-nm { font-size: .82rem; color: var(--muted); }
.cur-item .ci-net { margin-left: auto; font-size: .72rem; color: var(--faint); text-transform: uppercase; }

/* slim footer */
.site-footer.slim { padding: 30px 0; margin-top: 30px; }
.site-footer.slim .disclosure { border-top: 0; padding-top: 0; }

/* ---------- Hamburger + slide-out drawer ---------- */
.hamburger { display: inline-flex; align-items: center; gap: 7px; margin-left: 18px; border: 1px solid var(--line-2); background: var(--surface); color: var(--ink); border-radius: 999px; padding: 8px 15px; font-weight: 600; font-size: .9rem; cursor: pointer; transition: border-color .14s ease; }
.hamburger:hover { border-color: var(--indigo); }
.hamburger [data-lucide] { font-size: 17px; color: var(--indigo); }

.drawer-overlay { position: fixed; inset: 0; z-index: 60; background: rgba(11,16,32,.45); opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility .25s ease; backdrop-filter: blur(2px); }
.drawer-overlay.open { opacity: 1; visibility: visible; }

.drawer { position: fixed; top: 0; right: 0; z-index: 61; width: 320px; max-width: 86vw; height: 100%; background: var(--surface); border-left: 1px solid var(--line); box-shadow: -20px 0 60px rgba(16,24,40,.18); transform: translateX(100%); transition: transform .28s cubic-bezier(.4,0,.2,1); display: flex; flex-direction: column; overflow-y: auto; }
.drawer.open { transform: translateX(0); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 20px; border-bottom: 1px solid var(--line); }
.drawer-close { border: 0; background: var(--bg-soft); border-radius: 10px; width: 40px; height: 40px; cursor: pointer; color: var(--muted); font-size: 18px; display: flex; align-items: center; justify-content: center; }
.drawer-body { padding: 14px 20px; flex: 1; }
.drawer-group { margin-bottom: 22px; }
.drawer-gt { font-size: .72rem; text-transform: uppercase; letter-spacing: .14em; color: var(--faint); font-weight: 600; margin-bottom: 8px; }
.drawer-group a { display: block; color: var(--ink-2); font-weight: 500; padding: 9px 0; border-bottom: 1px solid var(--line); }
.drawer-group a:hover { color: var(--indigo); }
.drawer-social { display: flex; gap: 12px; padding: 18px 20px; border-top: 1px solid var(--line); }
.drawer-social a, .social-row a { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 10px; background: var(--bg-soft); color: var(--muted); font-size: 17px; }
.drawer-social a:hover, .social-row a:hover { background: var(--indigo-50); color: var(--indigo); }

/* ---------- Rich footer ---------- */
.footer-rich { display: grid; grid-template-columns: 1.8fr 1fr 1fr 1fr 1fr; gap: 30px; padding-bottom: 36px; border-bottom: 1px solid var(--line); }
.footer-rich .footer-brand p { color: var(--muted); font-size: .9rem; margin: 12px 0 16px; max-width: 260px; }
.social-row { display: flex; gap: 10px; }
.footer-bottom { padding-top: 24px; }
.footer-bottom .disclosure { border-top: 0; padding-top: 0; margin: 0 0 18px; text-align: left; max-width: none; }
.footer-legal-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; color: var(--muted); font-size: .85rem; }
.fl-links a { margin-left: 18px; color: var(--muted); }
.fl-links a:first-child { margin-left: 0; }
.fl-links a:hover { color: var(--indigo); }

/* ---------- Dark hero overrides ---------- */
.hero-center .hero-title { color: #fff; }
.hero .hero-lead { color: rgba(255,255,255,.74); }
.hero .badge-pill { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.18); color: #c7d2fe; }
.hero .chip { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.16); color: rgba(255,255,255,.82); box-shadow: none; }
.hero .chip [data-lucide] { color: #a5b4fc; }
.hero .swap-foot { color: rgba(255,255,255,.66); }
.hero .swap-foot [data-lucide] { color: #a5b4fc; }
.hero .marquee-label { color: rgba(255,255,255,.5); }
.hero .coin { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); color: rgba(255,255,255,.85); box-shadow: none; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-widget { order: -1; }
  .hero-title { font-size: 2.5rem; }
  .stats-grid { grid-template-columns: repeat(2,1fr); gap: 28px; }
  .steps, .features, .testimonials { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav { display: none; }
}
