/* ============================================================
   RA Sahayak — bold compliance hub for SEBI Research Analysts
   Simple · bold · trader-dante inspired · near-black + blue + gold
   Display: Space Grotesk  ·  Body: Inter
   ============================================================ */

:root {
  --bg:        #05080f;
  --bg-2:      #0a0f1a;
  --bg-3:      #0f1626;
  --panel:     rgba(255,255,255,0.028);
  --panel-2:   rgba(255,255,255,0.05);
  --line:      rgba(255,255,255,0.08);
  --line-2:    rgba(255,255,255,0.16);

  --gold:      #eab646;
  --gold-2:    #ffd571;
  --gold-soft: rgba(234,182,70,0.14);

  --blue:      #5b8fe0;
  --blue-2:    #8fb4f2;

  --text:      #f3f5fa;
  --muted:     #9aa6bd;
  --muted-2:   #7f8ba6;

  --radius:    16px;
  --radius-sm: 12px;
  --maxw:      1160px;
  --shadow:    0 30px 70px -30px rgba(0,0,0,0.85);

  --disp: 'Space Grotesk', system-ui, sans-serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

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

/* very subtle top wash — restraint over flash */
body::before {
  content: ''; position: fixed; inset: 0; z-index: -2;
  background:
    radial-gradient(1100px 520px at 50% -10%, rgba(234,182,70,0.08), transparent 60%),
    radial-gradient(900px 500px at 15% 8%, rgba(60,100,180,0.08), transparent 55%),
    var(--bg);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 26px; }

.gold { color: var(--gold-2); }
.grad-text {
  background: linear-gradient(100deg, var(--gold-2), var(--gold) 60%, #c98f2c);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--sans); font-size: 12px; font-weight: 700; letter-spacing: 3px;
  text-transform: uppercase; color: var(--gold-2);
}
.eyebrow::before { content: ''; width: 30px; height: 2px; background: var(--gold); }
.sec-head.center .eyebrow::before { display: none; }

/* ============================================================
   NAV — minimal
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 200;
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  background: rgba(5,8,15,0.7); border-bottom: 1px solid var(--line);
}
.nav-inner { max-width: var(--maxw); margin: 0 auto; padding: 15px 26px; display: flex; align-items: center; gap: 22px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand svg { width: 34px; height: 34px; flex: none; }
.brand .name { font-family: var(--disp); font-size: 19px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; }
.brand .name b { color: var(--gold-2); font-weight: 700; }
.brand .sah { display: none; }

.nav-links { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav-links a { font-size: 13px; font-weight: 600; letter-spacing: .3px; color: var(--muted); padding: 9px 15px; border-radius: 8px; transition: .18s; }
.nav-links a:hover { color: var(--text); }
.nav-links a.active { color: var(--gold-2); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--sans); font-weight: 700; font-size: 13.5px; letter-spacing: .4px;
  padding: 12px 22px; border-radius: 10px; cursor: pointer; border: 1.5px solid transparent;
  transition: .2s; white-space: nowrap; text-transform: uppercase;
}
.btn-gold { background: var(--gold); color: #1a1204; box-shadow: 0 12px 30px -12px rgba(234,182,70,.6); }
.btn-gold:hover { background: var(--gold-2); transform: translateY(-2px); }
.btn-ghost { background: transparent; border-color: var(--line-2); color: var(--text); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-2); }
.btn-tg { background: #2aabe2 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2304121a'%3E%3Cpath d='M21.9 4.3 18.7 19.8c-.24 1.06-.87 1.32-1.76.82l-4.86-3.58-2.35 2.26c-.26.26-.48.48-.98.48l.35-4.94 9-8.13c.39-.35-.08-.54-.6-.19L6.4 13.6l-4.8-1.5c-1.04-.33-1.06-1.04.22-1.54L20.6 2.9c.87-.32 1.63.2 1.3 1.4z'/%3E%3C/svg%3E") no-repeat 13px center; background-size: 15px; padding-left: 37px; color: #04121a; }
.btn-tg:hover { transform: translateY(-2px); filter: brightness(1.08); }
/* .nav-links a has higher specificity than .btn-tg alone and would otherwise
   override its text colour with the muted grey nav-link colour, crushing
   contrast on the blue Telegram button — force it back explicitly. */
.nav-links a.btn-tg,
.nav-links a.btn-tg:hover { color: #04121a; }
.btn-lg { padding: 16px 30px; font-size: 14.5px; }

.nav-cta { margin-left: 8px; }
.hamburger { display: none; background: none; border: 0; color: var(--text); cursor: pointer; padding: 6px; }
.hamburger svg { width: 26px; height: 26px; }

/* ============================================================
   HERO — centered, bold, emblem
   ============================================================ */
.hero { position: relative; padding: 100px 0 84px; text-align: center; overflow: hidden; }
.hero .orb {
  position: absolute; left: 50%; top: 40px; transform: translateX(-50%);
  width: 520px; height: 520px; border-radius: 50%; z-index: -1; opacity: .55;
  background: radial-gradient(circle, rgba(234,182,70,.28), rgba(60,100,180,.10) 45%, transparent 68%);
  filter: blur(20px); pointer-events: none;
}
.hero .orb.b { display: none; }

.emblem { width: 108px; height: 108px; margin: 0 auto 30px; position: relative; }
.emblem svg { width: 100%; height: 100%; filter: drop-shadow(0 0 26px rgba(234,182,70,.45)); }

.hero-badge {
  display: inline-flex; align-items: center; gap: 9px; background: var(--panel-2);
  border: 1px solid var(--line-2); padding: 7px 16px 7px 9px; border-radius: 999px;
  font-size: 12px; color: var(--muted); margin-bottom: 30px; letter-spacing: .3px;
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: #35d374; box-shadow: 0 0 0 4px rgba(53,211,116,.18); }
.hero-badge b { color: var(--text); font-weight: 700; }

.wordmark {
  font-family: var(--disp); font-weight: 700; text-transform: uppercase;
  font-size: clamp(44px, 9vw, 104px); line-height: .95; letter-spacing: clamp(2px, 1vw, 10px);
  margin: 0 0 20px;
  background: linear-gradient(180deg, #ffe490 0%, var(--gold-2) 42%, var(--gold) 78%, #c68a2b 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 6px 30px rgba(234,182,70,.25));
}
.wordmark .wm-white { color: #ffffff; -webkit-text-fill-color: #ffffff; }
.wordmark .sub { display: block; font-size: clamp(13px, 2.3vw, 21px); letter-spacing: 4px; color: var(--muted); margin-top: 16px; font-weight: 500; -webkit-text-fill-color: var(--muted); }

.hero h1 {
  font-family: var(--disp); font-weight: 700; letter-spacing: -0.5px;
  font-size: clamp(30px, 5.4vw, 58px); line-height: 1.05; margin: 0 auto 22px; max-width: 16ch;
}
.hero .lead { font-size: clamp(15px, 1.9vw, 18px); color: var(--muted); max-width: 620px; margin: 0 auto 36px; }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.trust {
  display: flex; gap: 46px; justify-content: center; flex-wrap: wrap;
  margin: 60px auto 0; padding-top: 40px; border-top: 1px solid var(--line); max-width: 760px;
}
.trust .t b { display: block; font-family: var(--disp); font-weight: 700; font-size: 40px; color: var(--gold-2); line-height: 1; }
.trust .t span { font-size: 11.5px; color: var(--muted); letter-spacing: 1.5px; text-transform: uppercase; font-weight: 600; }

/* ============================================================
   LANDING — trader-dante style single screen (heading + links)
   ============================================================ */
.landing { min-height: calc(100vh - 67px); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 56px 26px 40px; position: relative; overflow: hidden; }
.landing .orb { position: absolute; left: 50%; top: 12%; transform: translateX(-50%); width: 560px; height: 560px; border-radius: 50%; z-index: -1; opacity: .6; background: radial-gradient(circle, rgba(234,182,70,.26), rgba(60,100,180,.10) 45%, transparent 68%); filter: blur(22px); pointer-events: none; }

.link-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: stretch; gap: 12px; margin: 42px auto 34px; max-width: 760px; }
.link-row a {
  font-family: var(--disp); font-size: 13px; font-weight: 600; letter-spacing: 1.4px; text-transform: uppercase;
  color: var(--text); padding: 14px 24px; border-radius: 12px; border: 1px solid var(--line-2);
  background: linear-gradient(180deg, rgba(255,255,255,0.085), rgba(255,255,255,0.015));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.16), 0 10px 26px -16px rgba(0,0,0,0.8);
  position: relative; overflow: hidden; transition: .22s; white-space: nowrap;
}
.link-row a::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(115deg, transparent 32%, rgba(255,255,255,0.18) 48%, transparent 64%);
  transform: translateX(-130%); transition: transform .6s ease;
}
.link-row a:hover { border-color: var(--gold); color: var(--gold-2); transform: translateY(-3px); box-shadow: inset 0 1px 0 rgba(255,255,255,0.2), 0 14px 30px -14px rgba(234,182,70,0.4); }
.link-row a:hover::before { transform: translateX(130%); }
@media (max-width: 480px) { .link-row { flex-direction: column; } .link-row a { text-align: center; } }

.social-row { display: flex; gap: 14px; justify-content: center; align-items: center; margin-bottom: 8px; }
.social-row a { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); color: var(--muted); transition: .2s; }
.social-row a:hover { color: var(--gold-2); border-color: var(--gold); transform: translateY(-3px); }
.social-row a svg { width: 22px; height: 22px; }
.social-row a.tg-badge { background: linear-gradient(160deg, #2AABEE, #229ED9); border-color: transparent; color: #fff; box-shadow: 0 10px 22px -10px rgba(34,158,217,.75); }
.social-row a.tg-badge:hover { color: #fff; border-color: transparent; transform: translateY(-3px); filter: brightness(1.08); }
.quick-portals { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; margin: 22px auto 0; max-width: 700px; }
.quick-portals .qp-label { font-family: var(--disp); font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--muted-2); margin-right: 4px; }
.quick-portals a { font-size: 12px; font-weight: 600; letter-spacing: .3px; color: var(--muted); padding: 6px 13px; border: 1px solid var(--line); border-radius: 999px; transition: .18s; white-space: nowrap; }
.quick-portals a:hover { color: var(--gold-2); border-color: var(--gold); transform: translateY(-1px); }
.quick-portals a.qp-all { color: var(--gold-2); border-color: rgba(234,182,70,.4); }

.landing .fineprint { font-size: 12px; color: var(--muted-2); letter-spacing: .5px; margin-top: 28px; }
.landing .fineprint a { color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }
.landing .fineprint a:hover { color: var(--gold-2); }

/* ============================================================
   SECTIONS
   ============================================================ */
section { position: relative; padding: 90px 0; }
.sec-head { max-width: 680px; margin: 0 0 54px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head h2 { font-family: var(--disp); font-weight: 700; font-size: clamp(30px, 4.4vw, 52px); line-height: 1.05; letter-spacing: -0.6px; margin: 18px 0 16px; }
.sec-head p { color: var(--muted); font-size: 16.5px; }

/* feature cards — flat, bold */
.grid { display: grid; gap: 18px; }
.grid.g3 { grid-template-columns: repeat(3, 1fr); }
.grid.g2 { grid-template-columns: repeat(2, 1fr); }

.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; transition: .22s; position: relative; }
.card:hover { border-color: var(--gold); background: var(--panel-2); transform: translateY(-4px); }
.card .ico { width: 54px; height: 54px; border-radius: 13px; display: grid; place-items: center; background: var(--gold-soft); border: 1px solid rgba(234,182,70,.3); margin-bottom: 20px; font-size: 24px; }
.card h3 { font-family: var(--disp); font-weight: 700; font-size: 20px; margin-bottom: 10px; letter-spacing: -.2px; }
.card p { color: var(--muted); font-size: 14.5px; }
.card .more { margin-top: 18px; font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold-2); display: inline-flex; align-items: center; gap: 7px; }
.card:hover .more { gap: 11px; }

/* roadmap */
.roadmap { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.step { display: flex; gap: 18px; align-items: flex-start; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 20px 22px; transition: .2s; }
.step:hover { border-color: var(--line-2); background: var(--panel-2); }
.step .n { flex: none; width: 42px; height: 42px; border-radius: 10px; display: grid; place-items: center; font-family: var(--disp); font-weight: 700; font-size: 17px; color: #1a1204; background: var(--gold); }
.step h4 { font-size: 15px; font-weight: 700; margin-bottom: 3px; }
.step p { font-size: 13px; color: var(--muted); }

/* CTA band — bold */
.band { background: var(--bg-2); border: 1px solid var(--line); border-radius: 22px; padding: 64px 40px; text-align: center; position: relative; overflow: hidden; }
.band::before { content: ''; position: absolute; inset: 0; background: radial-gradient(600px 240px at 50% 0%, rgba(234,182,70,.12), transparent 70%); }
.band h2 { font-family: var(--disp); font-weight: 700; font-size: clamp(28px, 4.4vw, 46px); margin-bottom: 16px; position: relative; letter-spacing: -.5px; }
.band p { color: var(--muted); max-width: 580px; margin: 0 auto 30px; position: relative; }
.band .hero-cta { position: relative; }

/* support / UPI */
.support { display: grid; grid-template-columns: 1.25fr 1fr; gap: 34px; align-items: center; background: var(--panel); border: 1px solid var(--line); border-radius: 22px; padding: 46px; }
.support h2 { font-family: var(--disp); font-weight: 700; font-size: 32px; margin-bottom: 14px; letter-spacing: -.4px; }
.support p { color: var(--muted); font-size: 15px; margin-bottom: 10px; }
.upi-box { background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 16px; padding: 26px; text-align: center; }
.upi-box .qr { width: 152px; height: 152px; margin: 0 auto 14px; border-radius: 12px; background: #fff; padding: 8px; }
.upi-id { font-family: ui-monospace, Menlo, monospace; font-size: 15px; color: var(--gold-2); background: var(--gold-soft); border: 1px dashed rgba(234,182,70,.45); padding: 8px 14px; border-radius: 8px; display: inline-block; margin-top: 6px; }
.upi-apps { font-size: 12px; color: var(--muted-2); margin-top: 10px; letter-spacing: .5px; }

/* ============================================================
   COMPLIANCE PAGE
   ============================================================ */
.subnav { position: sticky; top: 66px; z-index: 150; background: rgba(5,8,15,0.85); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); margin-bottom: 46px; }
.subnav-inner { max-width: var(--maxw); margin: 0 auto; padding: 0 26px; display: flex; gap: 2px; overflow-x: auto; }
.subnav-inner::-webkit-scrollbar { height: 3px; }
.subnav-inner::-webkit-scrollbar-thumb { background: var(--gold); }
.tab-btn { font-family: var(--sans); font-size: 13px; font-weight: 700; letter-spacing: .4px; color: var(--muted); background: none; border: 0; border-bottom: 2px solid transparent; padding: 16px 18px; cursor: pointer; white-space: nowrap; transition: .18s; text-transform: uppercase; }
.tab-btn:hover { color: var(--text); }
.tab-btn.active { color: var(--gold-2); border-bottom-color: var(--gold); }

.panel-sec { display: none; }
.panel-sec.active { display: block; animation: fade .4s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.page-head { padding: 76px 0 14px; text-align: center; }
.page-head .eyebrow { justify-content: center; }
.page-head .eyebrow::before { display: none; }
.page-head h1 { font-family: var(--disp); font-weight: 700; font-size: clamp(34px, 5.6vw, 66px); line-height: 1.02; margin: 18px 0 16px; letter-spacing: -.8px; text-transform: uppercase; }
.page-head p { color: var(--muted); max-width: 640px; margin: 0 auto; font-size: 16.5px; }

/* accordion */
.acc { display: flex; flex-direction: column; gap: 12px; }
.acc-item { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; transition: .2s; }
.acc-item:hover { border-color: var(--line-2); }
.acc-item.open { border-color: var(--gold); background: var(--panel-2); }
.acc-head {
  display: flex; align-items: center; gap: 18px; padding: 20px 24px; cursor: pointer; user-select: none;
  width: 100%; background: none; border: 0; font: inherit; color: inherit; text-align: left;
}
.acc-num { flex: none; width: 38px; height: 38px; border-radius: 9px; display: grid; place-items: center; font-family: var(--disp); font-weight: 700; font-size: 15px; color: #1a1204; background: var(--gold); }
.acc-title { flex: 1; font-weight: 700; font-size: 16px; letter-spacing: -.2px; }
.acc-arrow { color: var(--muted); transition: transform .25s; flex: none; }
.acc-item.open .acc-arrow { transform: rotate(180deg); color: var(--gold-2); }
.acc-body { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.acc-body-inner { padding: 4px 24px 24px; border-top: 1px solid var(--line); }
.acc-body-inner p { color: #cdd4e4; font-size: 14.5px; margin: 16px 0 0; }
.acc-body-inner ul { margin: 12px 0 0 18px; color: #cdd4e4; font-size: 14px; }
.acc-body-inner ul li { margin: 5px 0; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chip { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; padding: 6px 13px; border-radius: 999px; border: 1px solid var(--line-2); transition: .18s; }
.chip:hover { transform: translateY(-1px); }
.chip-mail { background: rgba(224,106,91,.1); color: #f0a99e; border-color: rgba(224,106,91,.3); }
.chip-link { background: rgba(122,162,227,.12); color: #aecbf5; border-color: rgba(122,162,227,.32); }
.chip-phone { background: rgba(53,211,116,.1); color: #7ee6a4; border-color: rgba(53,211,116,.3); }
.chip-info { background: var(--panel-2); color: var(--muted); font-style: italic; }

/* circulars */
.clabel { font-family: var(--disp); font-size: 13px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--gold-2); margin: 44px 0 18px; display: flex; align-items: center; gap: 12px; }
.clabel::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.clabel:first-child { margin-top: 0; }
.circ { background: var(--panel); border: 1px solid var(--line); border-left: 3px solid var(--gold); border-radius: 10px; padding: 18px 22px; margin-bottom: 10px; transition: .2s; }
.circ:hover { border-color: var(--line-2); border-left-color: var(--gold-2); background: var(--panel-2); }
.circ h3 { font-size: 14.5px; font-weight: 700; margin-bottom: 9px; }
.circ a.view { font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--gold-2); display: inline-flex; align-items: center; gap: 6px; }
.circ a.view:hover { gap: 9px; }

.policy-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; }
.policy { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; font-size: 13.5px; font-weight: 500; display: flex; align-items: center; gap: 10px; transition: .2s; }
.policy:hover { border-color: var(--gold); }
.policy::before { content: '📋'; }

/* tables */
.tbl-title { font-family: var(--disp); font-size: 12.5px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold-2); background: var(--bg-3); border: 1px solid var(--line-2); padding: 9px 16px; border-radius: 8px; display: inline-block; margin: 34px 0 14px; }
.tbl-title:first-child { margin-top: 0; }
.tbl-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; }
table.dt { width: 100%; border-collapse: collapse; font-size: 13.5px; min-width: 520px; }
table.dt th { background: var(--bg-2); color: var(--gold-2); text-align: left; padding: 13px 16px; font-size: 11px; text-transform: uppercase; letter-spacing: .8px; font-weight: 700; }
table.dt td { padding: 13px 16px; border-top: 1px solid var(--line); color: #cdd4e4; vertical-align: top; }
table.dt tr:hover td { background: var(--panel); }
table.dt a { color: var(--blue-2); }
table.dt a:hover { color: var(--gold-2); }

.search-wrap { position: relative; margin-bottom: 20px; }
.search-wrap svg { position: absolute; left: 17px; top: 50%; transform: translateY(-50%); color: var(--muted-2); }
.search { width: 100%; padding: 15px 16px 15px 48px; border-radius: 11px; background: var(--panel); border: 1.5px solid var(--line-2); color: var(--text); font-family: var(--sans); font-size: 15px; outline: none; transition: .2s; }
.search:focus { border-color: var(--gold); }
.search::placeholder { color: var(--muted-2); }

.notice { background: rgba(224,106,91,.08); border: 1px solid rgba(224,106,91,.25); border-left: 3px solid #e06a5b; border-radius: 10px; padding: 15px 18px; font-size: 13.5px; color: #d9c3bf; margin-bottom: 20px; line-height: 1.6; }
.notice strong { color: #f0a99e; }
.notice a { color: var(--gold-2); font-weight: 700; }

/* ============================================================
   ACCESSIBILITY PAGE
   ============================================================ */
.tool-demo { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.tool-demo .t { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 18px; text-align: center; font-size: 13px; font-weight: 600; transition: .2s; }
.tool-demo .t:hover { border-color: var(--gold); transform: translateY(-2px); }
.tool-demo .t .e { font-size: 24px; display: block; margin-bottom: 9px; }
.platform-list { list-style: none; }
.platform-list li { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; color: var(--muted); }
.platform-list li b { color: var(--text); }
.platform-list li:last-child { border-bottom: 0; }
.codebox { background: #02040a; border: 1px solid var(--line-2); border-radius: 12px; padding: 18px; font-family: ui-monospace, Menlo, monospace; font-size: 12.5px; color: #9fb0cc; overflow-x: auto; }
code { font-family: ui-monospace, Menlo, monospace; font-size: .92em; color: var(--gold-2); }

/* ============================================================
   FOOTER / DISCLAIMER
   ============================================================ */
.disclaimer { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; margin-top: 20px; }
.disclaimer h3 { font-family: var(--disp); font-weight: 700; font-size: 20px; margin-bottom: 16px; color: var(--gold-2); text-transform: uppercase; letter-spacing: 1px; }
.disclaimer p { color: var(--muted); font-size: 13px; margin-bottom: 12px; line-height: 1.7; }

footer.site { border-top: 1px solid var(--line); margin-top: 80px; padding: 52px 0 38px; }
.foot-grid { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; margin-bottom: 34px; }
.foot-brand { max-width: 340px; }
.foot-brand .brand { margin-bottom: 14px; }
.foot-brand p { color: var(--muted); font-size: 13.5px; }
.foot-cols { display: flex; gap: 60px; flex-wrap: wrap; }
.foot-col h5 { font-family: var(--disp); font-size: 12px; text-transform: uppercase; letter-spacing: 1.5px; color: var(--muted-2); margin-bottom: 16px; font-weight: 700; }
.foot-col a { display: block; color: var(--muted); font-size: 14px; padding: 6px 0; transition: .18s; }
.foot-col a:hover { color: var(--gold-2); }
.foot-bottom { border-top: 1px solid var(--line); padding-top: 24px; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: 12.5px; color: var(--muted-2); }
.foot-bottom a { color: var(--muted); }

/* ============================================================
   FLOATING
   ============================================================ */
.a11y-fab, .top-fab { position: fixed; z-index: 300; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; border: 1px solid var(--line-2); background: var(--bg-2); color: var(--gold-2); box-shadow: var(--shadow); transition: .2s; }
.a11y-fab { left: 22px; bottom: 22px; font-size: 20px; }
.a11y-fab:hover, .top-fab:hover { transform: scale(1.08); border-color: var(--gold); }
.top-fab { right: 22px; bottom: 22px; opacity: 0; pointer-events: none; }
.top-fab.show { opacity: 1; pointer-events: auto; }

.a11y-panel { position: fixed; left: 22px; bottom: 86px; z-index: 300; width: 262px; background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 16px; padding: 20px; box-shadow: var(--shadow); display: none; }
.a11y-panel.open { display: block; }
.a11y-panel h4 { font-family: var(--disp); font-size: 13px; margin-bottom: 14px; color: var(--gold-2); text-transform: uppercase; letter-spacing: 1px; }
.a11y-row { display: flex; gap: 8px; margin-bottom: 10px; }
.a11y-row button { flex: 1; font-family: var(--sans); font-size: 12.5px; font-weight: 700; background: var(--panel-2); border: 1px solid var(--line); color: var(--text); padding: 9px; border-radius: 8px; cursor: pointer; transition: .15s; }
.a11y-row button:hover, .a11y-row button.on { border-color: var(--gold); color: var(--gold-2); }

body.a11y-contrast { filter: contrast(1.28) brightness(1.06); }
body.a11y-readable, body.a11y-readable * { font-family: Verdana, Tahoma, sans-serif !important; letter-spacing: .01em; }
body.a11y-links a { text-decoration: underline !important; }

/* reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   ACCESSIBILITY UTILITIES
   ============================================================ */
/* skip link */
.skip-link {
  position: absolute; left: 14px; top: -70px; z-index: 999;
  background: var(--gold); color: #1a1204; padding: 12px 22px; border-radius: 10px;
  font-family: var(--disp); font-weight: 700; font-size: 13px; text-transform: uppercase;
  letter-spacing: .5px; transition: top .2s ease; box-shadow: var(--shadow);
}
.skip-link:focus { top: 14px; }

/* visually-hidden but accessible-name-bearing content */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* visible keyboard focus on a dark background */
a:focus-visible, button:focus-visible, input:focus-visible,
.acc-head:focus-visible, .tab-btn:focus-visible {
  outline: 2px solid var(--gold-2); outline-offset: 3px; border-radius: 4px;
}

/* inline links embedded in running text/prose must not rely on colour alone */
.disclaimer p a, .foot-bottom a {
  text-decoration: underline; text-underline-offset: 2px;
}

/* reduced motion: disable/soften scroll reveal, shine sweeps, hover transforms */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important; animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important; scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .grid.g3, .grid.g2, .roadmap, .support { grid-template-columns: 1fr; }
  .nav-links { position: fixed; inset: 66px 0 auto 0; flex-direction: column; align-items: stretch; background: rgba(5,8,15,.98); backdrop-filter: blur(20px); border-bottom: 1px solid var(--line); padding: 16px 22px 24px; gap: 4px; transform: translateY(-140%); transition: .3s; z-index: 199; }
  .nav-links.open { transform: none; }
  .nav-links a { padding: 13px 14px; font-size: 15px; }
  .nav-cta { margin: 10px 0 0; width: 100%; }
  .hamburger { display: block; margin-left: auto; }
  .support { padding: 30px; }
  .band { padding: 46px 26px; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 18px; }
  .hero { padding: 64px 0 56px; }
  .trust { gap: 28px; }
  section { padding: 62px 0; }
  .disclaimer, .card { padding: 24px; }
}
