/* ClubCryptos — "icy clay" theme
   Layout: pale-blue sky with soft 3D clay shapes floating at the edges; content sits on frosted white cards.
   One bright blue for actions, gold only for stars and the key rupee figure. */
@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=IBM+Plex+Mono:wght@400;500&display=swap");

:root {
  --sky: #e8f1f8;
  --sky-2: #f6fafd;
  --glass: rgba(255, 255, 255, 0.78);
  --glass-solid: #ffffff;
  --glass-line: rgba(255, 255, 255, 0.9);
  --line: #dbe6f0;
  --ink: #0f2137;
  --muted: #627891;
  --blue: #1590d8;
  --blue-deep: #0d6fae;
  --blue-soft: #e3f1fb;
  --on-blue: #ffffff;
  --gold: #f4b528;
  --gold-soft: #fff3cf;
  --gold-ink: #6b4a00;
  --clay-hi: #dcebf6;
  --clay-mid: #9fc4df;
  --clay-lo: #5f8fb4;
  --warn: #b4441a;
  --warn-bg: #fff2ea;
  --ok: #1b7a46;
  --shadow: 0 18px 40px -18px rgba(37, 88, 132, 0.28), 0 2px 6px rgba(37, 88, 132, 0.06);
  --shadow-sm: 0 8px 22px -12px rgba(37, 88, 132, 0.28);
  --font: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --r-lg: 24px;
  --r-md: 18px;
  --r-sm: 12px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --sky: #0b1624; --sky-2: #0f1d2f; --glass: rgba(22, 37, 58, 0.78); --glass-solid: #16253a;
    --glass-line: rgba(120, 165, 205, 0.16); --line: #22364f; --ink: #e8f1fa; --muted: #93a9c2;
    --blue: #4cb3f0; --blue-deep: #79c8f5; --blue-soft: #133049; --on-blue: #04203a;
    --gold: #f6c24a; --gold-soft: #3a2d0c; --gold-ink: #ffe7a8;
    --clay-hi: #4a7193; --clay-mid: #2e5577; --clay-lo: #183652;
    --warn: #ffad86; --warn-bg: #2d1a12; --ok: #7fe0a8;
    --shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.6); --shadow-sm: 0 8px 22px -12px rgba(0, 0, 0, 0.6);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --sky: #0b1624; --sky-2: #0f1d2f; --glass: rgba(22, 37, 58, 0.78); --glass-solid: #16253a;
  --glass-line: rgba(120, 165, 205, 0.16); --line: #22364f; --ink: #e8f1fa; --muted: #93a9c2;
  --blue: #4cb3f0; --blue-deep: #79c8f5; --blue-soft: #133049; --on-blue: #04203a;
  --gold: #f6c24a; --gold-soft: #3a2d0c; --gold-ink: #ffe7a8;
  --clay-hi: #4a7193; --clay-mid: #2e5577; --clay-lo: #183652;
  --warn: #ffad86; --warn-bg: #2d1a12; --ok: #7fe0a8;
  --shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.6); --shadow-sm: 0 8px 22px -12px rgba(0, 0, 0, 0.6);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; color: var(--ink); background: var(--sky);
  background-image: radial-gradient(1200px 600px at 50% -10%, var(--sky-2), transparent 70%);
  font: 400 16.5px/1.65 var(--font);
  overflow-x: hidden;
}
a { color: var(--blue-deep); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible {
  outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 8px;
}
img { max-width: 100%; }
.num { font-family: var(--mono); font-variant-numeric: tabular-nums; }
mark { background: var(--gold-soft); color: var(--gold-ink); padding: 1px 6px; border-radius: 6px; font-weight: 600; }

.wrap {
  position: relative; max-width: 1120px; margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.page { position: relative; overflow: hidden; }

/* ---------- Floating clay shapes ---------- */
.decor { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.blob, .ring, .coin, .star { position: absolute; }
.blob {
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, var(--clay-hi) 0%, var(--clay-mid) 45%, var(--clay-lo) 100%);
  box-shadow: inset -10px -14px 26px rgba(10, 40, 70, 0.22), 0 24px 40px -18px rgba(37, 88, 132, 0.45);
}
.blob.pebble { border-radius: 58% 42% 55% 45% / 48% 60% 40% 52%; }
.ring {
  border-radius: 50%;
  border: 26px solid var(--clay-mid);
  box-shadow: inset 6px 8px 12px rgba(255, 255, 255, 0.45), inset -8px -10px 16px rgba(10, 40, 70, 0.25), 0 26px 40px -20px rgba(37, 88, 132, 0.5);
}
.coin {
  border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(circle at 35% 30%, #ffe7a0, var(--gold) 55%, #c98a06);
  color: #7a5200; font: 800 28px/1 var(--font);
  box-shadow: inset -6px -8px 14px rgba(120, 70, 0, 0.35), 0 18px 30px -14px rgba(160, 110, 0, 0.55);
}
.star svg { width: 100%; height: 100%; display: block; filter: drop-shadow(0 10px 14px rgba(170, 120, 0, 0.35)); }
.float { animation: float 9s ease-in-out infinite; }
.float.slow { animation-duration: 13s; }
.float.delay { animation-delay: -4s; }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-14px) rotate(4deg); } }

/* ---------- Header ---------- */
.site-head { position: relative; z-index: 5; padding-top: 18px; }
.head-bar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px;
  padding: 12px 14px 12px 20px; background: var(--glass); border: 1px solid var(--glass-line);
  border-radius: 999px; box-shadow: var(--shadow-sm);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand-mark {
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(circle at 35% 30%, #ffe7a0, var(--gold) 60%, #c98a06); color: #6b4700;
  font: 800 17px/1 var(--font); box-shadow: inset -3px -4px 6px rgba(120, 70, 0, 0.3);
}
.brand-name { font: 800 21px/1 var(--font); letter-spacing: -0.02em; }
.brand-name b { color: var(--blue); font-weight: 800; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 22px; font-size: 15px; font-weight: 600; }
.nav a { color: var(--ink); text-decoration: none; padding: 6px 0; opacity: 0.78; }
.nav a:hover { opacity: 1; }
.nav a[aria-current="page"] { color: var(--blue); opacity: 1; }
.head-cta { display: inline-flex; }

/* ---------- Buttons & chips ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: 999px;
  font: 700 15px/1 var(--font); text-decoration: none; border: 1px solid transparent; cursor: pointer; white-space: nowrap;
}
.btn-primary { background: var(--blue); color: var(--on-blue); box-shadow: 0 10px 22px -10px rgba(21, 144, 216, 0.7); }
.btn-primary:hover { background: var(--blue-deep); }
.btn-ghost { background: var(--glass-solid); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue-deep); }
.pill-tag { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: var(--glass); border: 1px solid var(--glass-line); font: 600 13px/1 var(--font); color: var(--blue-deep); box-shadow: var(--shadow-sm); }
.pill-tag i { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }

/* ---------- Hero ---------- */
.hero { position: relative; z-index: 10; text-align: center; padding-block: 64px 36px; }
.hero h1 {
  margin: 18px auto 14px; max-width: 16ch; font: 800 clamp(38px, 6.4vw, 68px)/1.05 var(--font);
  letter-spacing: -0.035em; text-wrap: balance;
}
.hero h1 span { color: var(--blue); }
.hero .lede { margin: 0 auto; max-width: 58ch; color: var(--muted); font-size: 18px; }

.search {
  position: relative; margin: 30px auto 0; max-width: 620px; display: flex; align-items: center; gap: 8px;
  padding: 8px 8px 8px 20px; background: var(--glass-solid); border-radius: 999px; box-shadow: var(--shadow);
  border: 1px solid var(--glass-line); text-align: left;
}
.search svg { flex: none; width: 20px; height: 20px; color: var(--muted); }
.search input { flex: 1; min-width: 0; border: 0; background: transparent; color: var(--ink); font: 500 16px var(--font); padding: 10px 4px; }
.search input:focus { outline: none; }
.search:focus-within { box-shadow: var(--shadow), 0 0 0 3px var(--blue-soft); }
.suggest {
  position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 20; list-style: none; margin: 0; padding: 8px;
  background: var(--glass-solid); border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow);
}
.suggest a { display: flex; flex-direction: column; padding: 10px 12px; border-radius: 10px; text-decoration: none; color: var(--ink); }
.suggest a small { color: var(--muted); font-size: 13px; }
.suggest a:hover, .suggest a.active { background: var(--blue-soft); }
.popular { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 16px; font-size: 14px; color: var(--muted); }
.popular a { padding: 5px 12px; border-radius: 999px; background: var(--glass); border: 1px solid var(--glass-line); text-decoration: none; color: var(--ink); font-weight: 500; }
.popular a:hover { color: var(--blue-deep); }

/* ---------- Glass panels, icon tiles ---------- */
.panel {
  position: relative; z-index: 1; background: var(--glass); border: 1px solid var(--glass-line); border-radius: var(--r-lg);
  box-shadow: var(--shadow); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
}
.tiles { display: grid; grid-template-columns: repeat(6, 1fr); padding: 14px; gap: 6px; }
.tiles a { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 16px 6px; border-radius: var(--r-md); text-decoration: none; color: var(--ink); font-weight: 600; font-size: 14px; text-align: center; }
.tiles a:hover { background: var(--glass-solid); }
.ico { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--blue-soft); color: var(--blue); }
.ico.solid { background: var(--blue); color: var(--on-blue); }
.ico svg { width: 24px; height: 24px; }

.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 18px; position: relative; z-index: 1; }
.fact { display: flex; align-items: center; gap: 14px; padding: 16px 18px; background: var(--glass); border: 1px solid var(--glass-line); border-radius: var(--r-md); box-shadow: var(--shadow-sm); min-width: 0; }
.fact .ico { width: 44px; height: 44px; flex: none; display: grid; place-items: center; }
.fact b { display: block; font: 800 22px/1.15 var(--font); color: var(--blue-deep); letter-spacing: -0.01em; }
.fact > div > span { display: block; font-size: 13px; color: var(--muted); line-height: 1.35; }

/* ---------- Section heads & cards ---------- */
.section { position: relative; z-index: 1; padding-block: 48px 8px; }
.sec-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.sec-head h2 { margin: 0; font: 800 clamp(24px, 3vw, 30px)/1.2 var(--font); letter-spacing: -0.02em; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cards > * { min-width: 0; }
.card {
  display: flex; flex-direction: column; background: var(--glass-solid); border: 1px solid var(--glass-line); border-radius: var(--r-md);
  box-shadow: var(--shadow-sm); overflow: hidden; text-decoration: none; color: var(--ink); transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-art {
  position: relative; aspect-ratio: 16 / 10; max-width: 100%; margin: 10px 10px 0; border-radius: 14px; overflow: hidden;
  display: grid; place-items: center; text-align: center; padding: 16px;
}
.art-blue { background: linear-gradient(150deg, #d6ebfa, #9fcdee); color: #0b4f80; }
.art-gold { background: linear-gradient(150deg, #ffe9a8, #f4b528); color: #5e3f00; }
.art-sky { background: linear-gradient(150deg, #eef5fb, #c9dff0); color: #0f2137; }
.art-ink { background: linear-gradient(150deg, #1d3c5c, #0f2137); color: #e6f3ff; }
.card-art .big { font: 800 clamp(34px, 4vw, 46px)/1 var(--font); letter-spacing: -0.03em; }
.card-art .sub { font: 600 13px/1.3 var(--font); opacity: 0.8; margin-top: 6px; }
.card-art .mini-blob { position: absolute; width: 70px; height: 70px; right: -14px; bottom: -18px; opacity: 0.85; }
.badge { position: absolute; top: 10px; right: 10px; padding: 6px 10px; border-radius: 999px; background: rgba(255,255,255,0.92); color: #0f2137; font: 700 12px/1 var(--font); box-shadow: 0 4px 10px rgba(0,0,0,0.08); }
.card-body { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 18px; flex: 1; }
.card-kicker { display: flex; align-items: center; gap: 6px; font: 600 12px/1 var(--font); color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; }
.card-kicker .stars { color: var(--gold); letter-spacing: 1px; font-size: 13px; }
.card h3 { margin: 2px 0 0; font: 700 18px/1.3 var(--font); letter-spacing: -0.01em; }
.card p { margin: 0; color: var(--muted); font-size: 14.5px; }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 12px; font-size: 14px; }
.card-foot .price { display: inline-flex; align-items: center; gap: 6px; font: 700 15px var(--font); color: var(--ok); }
.card-foot .go { color: var(--blue-deep); font-weight: 700; }

/* Example ledger */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.split > * { min-width: 0; }
.ledger { padding: 22px 24px; }
.ledger-title { font: 700 12px/1 var(--font); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px; }
.ledger table { width: 100%; border-collapse: collapse; font-size: 15px; }
.ledger td { padding: 9px 0; border-bottom: 1px dashed var(--line); }
.ledger td:last-child { text-align: right; font-family: var(--mono); font-variant-numeric: tabular-nums; }
.ledger tr.total td { border-bottom: 0; border-top: 2px solid var(--ink); font-weight: 700; padding-top: 12px; }
.ledger .foot { font-size: 13px; color: var(--muted); margin: 10px 0 0; }
.promo { padding: 26px; display: flex; flex-direction: column; justify-content: center; gap: 12px; background: linear-gradient(150deg, var(--blue), var(--blue-deep)); color: var(--on-blue); border-radius: var(--r-lg); box-shadow: var(--shadow); position: relative; overflow: hidden; }
.promo h3 { margin: 0; font: 800 26px/1.2 var(--font); letter-spacing: -0.02em; }
.promo p { margin: 0; opacity: 0.9; }
.promo .btn { align-self: flex-start; background: var(--glass-solid); color: var(--ink); }
.promo small { opacity: 0.8; font-size: 12.5px; }
.promo .coin { width: 90px; height: 90px; right: -18px; top: -18px; font-size: 38px; }

/* ---------- News ---------- */
.news { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.news.grid { grid-template-columns: repeat(3, 1fr); gap: 18px; }
.news li { min-width: 0; display: flex; flex-direction: column; gap: 10px; padding: 18px; background: var(--glass-solid); border: 1px solid var(--glass-line); border-radius: var(--r-md); box-shadow: var(--shadow-sm); }
.news a { color: var(--ink); text-decoration: none; font-weight: 700; font-size: 16px; line-height: 1.4; }
.news a:hover { color: var(--blue-deep); text-decoration: underline; }
.news-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); margin-top: auto; }
.news-meta b { display: inline-flex; padding: 4px 9px; border-radius: 999px; background: var(--blue-soft); color: var(--blue-deep); font-weight: 700; font-size: 12px; }
.news-official { padding: 4px 9px; border-radius: 999px; background: var(--gold-soft); color: var(--gold-ink); font-weight: 700; font-size: 12px; }
.news-empty { color: var(--muted); }
#news-updated { font: 500 13px var(--font); color: var(--muted); }
.news-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font: 600 14px/1 var(--font); padding: 9px 16px; border-radius: 999px; border: 1px solid var(--glass-line); background: var(--glass); color: var(--ink); cursor: pointer; box-shadow: var(--shadow-sm); }
.chip[aria-pressed="true"] { background: var(--blue); color: var(--on-blue); border-color: var(--blue); }
.sources { font-size: 14px; color: var(--muted); margin-top: 16px; }

/* ---------- Inner pages ---------- */
.breadcrumb { position: relative; z-index: 1; font-size: 14px; color: var(--muted); padding-top: 28px; }
.breadcrumb a { color: var(--muted); }
.sheet { position: relative; z-index: 1; margin: 18px auto 56px; max-width: 820px; padding: clamp(22px, 4vw, 48px); }
.sheet.wide { max-width: 1120px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 700 12px/1 var(--font); letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue-deep); background: var(--blue-soft); padding: 7px 12px; border-radius: 999px; margin: 0 0 16px; }
.sheet h1 { font: 800 clamp(30px, 4.6vw, 46px)/1.1 var(--font); letter-spacing: -0.03em; margin: 0 0 14px; text-wrap: balance; }
.sheet h2 { font: 800 clamp(22px, 2.8vw, 27px)/1.25 var(--font); letter-spacing: -0.02em; margin: 40px 0 12px; text-wrap: balance; }
.sheet h3 { font: 700 19px/1.3 var(--font); margin: 26px 0 8px; }
.sheet p { margin: 0 0 16px; }
.sheet .lede { font-size: 18px; color: var(--muted); }
.sheet .meta { font: 500 13.5px/1.4 var(--font); color: var(--muted); margin-bottom: 24px; }
.sheet ul, .sheet ol { padding-left: 22px; margin: 0 0 16px; }
.sheet li { margin-bottom: 7px; }
.callout { border: 1px solid var(--line); background: var(--blue-soft); padding: 16px 18px; border-radius: var(--r-sm); margin: 24px 0; }
.callout.warn { background: var(--warn-bg); border-color: transparent; }
.callout p:last-child { margin-bottom: 0; }
.table-scroll { overflow-x: auto; margin: 20px 0; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--glass-solid); }
.table-scroll table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 520px; }
.table-scroll th, .table-scroll td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table-scroll th { font: 700 12.5px/1.3 var(--font); text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); background: var(--sky-2); }
.table-scroll tr:last-child td { border-bottom: 0; }
.partner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding: 18px 20px; border-radius: var(--r-md); margin: 28px 0; background: var(--blue-soft); }
.partner p { margin: 0; min-width: 0; flex: 1 1 260px; font-weight: 700; }
.partner small { display: block; color: var(--muted); font-size: 13px; margin-top: 4px; font-weight: 400; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }

/* ---------- Calculator ---------- */
.calc { background: var(--glass-solid); border: 1px solid var(--line); border-radius: var(--r-md); padding: 20px; }
.trades { width: 100%; border-collapse: collapse; min-width: 640px; }
.trades th { text-align: left; font: 700 12px/1.3 var(--font); text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); padding: 0 8px 8px 0; }
.trades td { padding: 4px 8px 4px 0; }
.trades input { width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--sky-2); color: var(--ink); font: 400 15px/1.2 var(--mono); }
.trades input.name { font-family: var(--font); font-weight: 600; }
.trades td.gain { font-family: var(--mono); text-align: right; white-space: nowrap; font-size: 15px; }
.gain.pos { color: var(--ok); } .gain.neg { color: var(--warn); }
.icon-btn { background: none; border: 1px solid var(--line); color: var(--muted); border-radius: 50%; width: 34px; height: 34px; cursor: pointer; font-size: 18px; line-height: 1; }
.icon-btn:hover { color: var(--warn); border-color: var(--warn); }
.calc-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; align-items: center; }
.calc-actions label { font-size: 14.5px; color: var(--muted); display: flex; gap: 8px; align-items: center; }
.result { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 22px; }
.result > * { min-width: 0; }
.result .ledger { background: var(--sky-2); border-radius: var(--r-md); }
.big-num { font: 800 clamp(32px, 5vw, 44px)/1.1 var(--font); letter-spacing: -0.02em; margin: 0 0 10px; }
.example-tag { display: inline-block; font: 700 12px/1 var(--font); letter-spacing: 0.04em; background: var(--gold-soft); color: var(--gold-ink); padding: 7px 10px; border-radius: 999px; margin: 0 0 12px; }
.tds-check { display: flex; flex-wrap: wrap; gap: 14px; align-items: end; }
.tds-check label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--muted); }
.tds-check input { padding: 11px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--sky-2); color: var(--ink); font: 400 15px var(--mono); min-width: 0; }
.small-note { font-size: 14px; color: var(--muted); margin: 12px 0 0; }

/* ---------- Footer ---------- */
.site-foot { position: relative; z-index: 1; margin-top: 56px; padding-bottom: 24px; }
.foot-panel { padding: 32px; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 24px; font-size: 14px; color: var(--muted); }
.foot-panel > * { min-width: 0; }
.foot-panel h4 { font: 700 12.5px/1 var(--font); text-transform: uppercase; letter-spacing: 0.07em; color: var(--ink); margin: 0 0 12px; }
.foot-panel ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 7px; }
.foot-panel a { color: var(--muted); text-decoration: none; }
.foot-panel a:hover { color: var(--blue-deep); }
.disclaimer-line { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 16px; font-size: 12.5px; margin: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .tiles { grid-template-columns: repeat(3, 1fr); }
  .facts { grid-template-columns: 1fr 1fr; }
  .cards, .news.grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  .head-bar { border-radius: var(--r-lg); padding: 12px 14px; }
  .nav { order: 3; width: 100%; gap: 2px 16px; font-size: 14px; }
  .hero { padding-block: 40px 24px; }
  .search { padding-left: 14px; }
  .search .btn { padding: 12px 16px; }
  .facts, .cards, .news.grid, .split, .result { grid-template-columns: 1fr; }
  .foot-panel { grid-template-columns: 1fr 1fr; padding: 24px; }
  .foot-panel > :first-child { grid-column: 1 / -1; }
  .hide-sm { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .float { animation: none; }
  .card { transition: none; }
}

/* Source lines under each data section */
.src { display: block; font-size: 13px; line-height: 1.5; color: var(--muted); margin: 10px 0 18px; }
.src span { display: inline-block; margin-right: 8px; vertical-align: 1px; font: 700 11px/1 var(--font); letter-spacing: 0.06em; text-transform: uppercase; color: var(--blue-deep); background: var(--blue-soft); padding: 5px 8px; border-radius: 999px; }
.src a { color: var(--muted); }
.src a:hover { color: var(--blue-deep); }
.ledger .src { margin-bottom: 0; }
.section .src { margin-top: 16px; }

/* FAQ accordion */
.faq { margin-top: 36px; }
.faq h2 { margin-top: 0; }
.faq-item { border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--glass-solid); margin-bottom: 10px; }
.faq-item summary { cursor: pointer; list-style: none; padding: 16px 48px 16px 18px; font-weight: 700; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--blue-soft); color: var(--blue-deep); font-weight: 700; }
.faq-item[open] summary::after { content: "−"; }
.faq-item > div { padding: 0 18px 4px; color: var(--muted); }
.panel.sheet.wide .faq { margin-top: 0; }
