:root {
  color-scheme: light;
  --bg: #f6f5f1;
  --surface: #fcfcfb;
  --surface-2: #f0efec;
  --line: #e3e1db;
  --line-strong: #cfccc4;
  --text: #0b0b0b;
  --text-2: #52514e;
  --muted: #77756f;
  --eu-blue: #003399;
  --eu-yellow: #ffcc00;
  --accent: #003399;
  --up: #0f7a4f;
  --buy-bg: #003399;
  --buy-ink: #ffffff;
  --ink-inv: #ffffff;
  --banner-bg: #fff4d6;
  --banner-text: #5a4300;

  --s-crypto: #2a78d6;
  --s-stocks: #eb6834;
  --s-etfs: #1baf7a;
  --s-metals: #eda100;
  --s-indices: #e87ba4;
  --s-commodities: #008300;

  --seq-lo: #cde2fb;
  --seq-hi: #003399;
  --div-pos: #1c5cab;
  --div-neg: #c93a3a;
  --div-mid: #f0efec;
  --seq-ink-lo: #0b0b0b;
  --seq-ink-hi: #ffffff;

  --radius: 14px;
  --shadow: 0 1px 2px rgba(20, 20, 10, .04), 0 4px 18px rgba(20, 20, 10, .05);
  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #111110;
    --surface: #1a1a19;
    --surface-2: #232321;
    --line: #2f2f2c;
    --line-strong: #44443f;
    --text: #f0efec;
    --text-2: #c3c2b7;
    --muted: #9a998f;
    --accent: #ffcc00;
    --up: #3ccf8e;
    --buy-bg: #ffcc00;
    --buy-ink: #0b0b0b;
    --ink-inv: #111110;
    --banner-bg: #2c2410;
    --banner-text: #f3d891;
    --s-crypto: #3987e5;
    --s-stocks: #d95926;
    --s-etfs: #199e70;
    --s-metals: #c98500;
    --s-indices: #d55181;
    --s-commodities: #008300;
    --seq-lo: #1d2a3a;
    --seq-hi: #86b6ef;
    --div-pos: #5598e7;
    --div-neg: #e66767;
    --div-mid: #383835;
    --seq-ink-lo: #f0efec;
    --seq-ink-hi: #0b0b0b;
    --shadow: none;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #111110;
  --surface: #1a1a19;
  --surface-2: #232321;
  --line: #2f2f2c;
  --line-strong: #44443f;
  --text: #f0efec;
  --text-2: #c3c2b7;
  --muted: #9a998f;
  --accent: #ffcc00;
  --up: #3ccf8e;
  --buy-bg: #ffcc00;
  --buy-ink: #0b0b0b;
  --ink-inv: #111110;
  --banner-bg: #2c2410;
  --banner-text: #f3d891;
  --s-crypto: #3987e5;
  --s-stocks: #d95926;
  --s-etfs: #199e70;
  --s-metals: #c98500;
  --s-indices: #d55181;
  --s-commodities: #008300;
  --seq-lo: #1d2a3a;
  --seq-hi: #86b6ef;
  --div-pos: #5598e7;
  --div-neg: #e66767;
  --div-mid: #383835;
  --seq-ink-lo: #f0efec;
  --seq-ink-hi: #0b0b0b;
  --shadow: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 16px/1.55 var(--sans); -webkit-font-smoothing: antialiased;
  font-feature-settings: "tnum" 1, "cv11" 1;
}
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 28px; } }
h1, h2, h3 { margin: 0; letter-spacing: -.015em; }
h2 { font: 650 clamp(26px, 3.4vw, 38px)/1.1 var(--serif); }
h3 { font: 600 17px/1.3 var(--sans); }
a { color: inherit; }
.muted { color: var(--text-2); }
.small { font-size: 13px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.proto-banner {
  background: var(--banner-bg); color: var(--banner-text);
  font-size: 13px; text-align: center; padding: 8px 16px;
}

/* header */
.site-head {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.head-row { display: flex; align-items: center; gap: 20px; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.eu-flag { width: 30px; height: 20px; flex: none; display: block; border-radius: 2px; }
.brand-text { font: 650 18px/1 var(--serif); white-space: nowrap; }
.brand-text small { font: 500 12px var(--sans); color: var(--muted); margin-left: 4px; }
.nav { display: none; gap: 4px; margin-left: auto; }
.nav a { text-decoration: none; font-size: 14px; color: var(--text-2); padding: 6px 10px; border-radius: 8px; }
.nav a:hover { background: var(--surface-2); color: var(--text); }
@media (min-width: 900px) { .nav { display: flex; } }
.theme-btn {
  margin-left: auto; width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--line);
  background: var(--surface); color: var(--text-2); cursor: pointer; display: grid; place-items: center;
}
@media (min-width: 900px) { .theme-btn { margin-left: 4px; } }

/* hero */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background: radial-gradient(120% 140% at 85% 30%, #0a46c2 0%, #003399 45%, #00256e 100%);
  padding: 56px 0 44px;
}
.hero-ring {
  position: absolute; top: 36px; right: max(16px, calc((100vw - 1160px) / 2 + 28px));
  width: 360px; height: auto; pointer-events: none;
}
.hero-inner { position: relative; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); margin: 0 0 14px; }
.hero .eyebrow { color: #ffcc00; }
.hero h1 { font: 650 clamp(36px, 6vw, 68px)/1.02 var(--serif); max-width: 15ch; letter-spacing: -.025em; }
.hero h1 em { font-style: normal; color: #ffcc00; }
.lede { font-size: clamp(17px, 1.6vw, 20px); color: rgba(255,255,255,.82); max-width: 58ch; margin: 18px 0 0; }
.lede b { color: #fff; }
@media (max-width: 1080px) { .hero-ring { width: 220px; top: 24px; opacity: .35; } }
@media (max-width: 720px) { .hero-ring { width: 150px; right: -40px; top: 12px; opacity: .25; } }
.tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 36px; }
@media (min-width: 820px) { .tiles { grid-template-columns: repeat(4, 1fr); } }
.tile { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius); padding: 18px; backdrop-filter: blur(6px); }
.tile .v { font: 650 clamp(30px, 4vw, 44px)/1 var(--serif); letter-spacing: -.02em; }
.tile .v small { font-size: .5em; font-weight: 500; margin-left: 2px; }
.tile .l { font-size: 14px; color: rgba(255,255,255,.85); margin-top: 8px; }
.tile .d { font-size: 12px; color: #ffcc00; margin-top: 6px; }

/* blocks */
.block { padding-top: 64px; }
.block-head h2::before {
  content: ""; display: inline-block; width: .55em; height: .55em; margin-right: .3em; vertical-align: .08em;
  background: var(--eu-yellow); clip-path: polygon(50% 0, 61.2% 34.5%, 97.6% 34.5%, 68.2% 55.9%, 79.4% 90.5%, 50% 69.1%, 20.6% 90.5%, 31.8% 55.9%, 2.4% 34.5%, 38.8% 34.5%);
}
.block-head { margin-bottom: 20px; max-width: 70ch; }
.block-head p { color: var(--text-2); margin: 10px 0 0; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px; box-shadow: var(--shadow); min-width: 0;
}
@media (min-width: 720px) { .card { padding: 24px; } }
.card + .card { margin-top: 16px; }
.card-head { margin-bottom: 16px; }
.card-head p { margin: 4px 0 0; color: var(--text-2); font-size: 14px; }
.two-col { display: grid; gap: 16px; }
.two-col + .card { margin-top: 16px; }
@media (min-width: 860px) { .two-col { grid-template-columns: 1fr 1fr; } }
.two-col .card + .card { margin-top: 0; }

/* legend */
.legend { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13px; color: var(--text-2); margin-bottom: 14px; }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }

/* stacked index bar */
.stackbar { display: flex; gap: 2px; height: 64px; border-radius: 8px; overflow: hidden; }
.stackbar .seg { position: relative; min-width: 3px; cursor: default; transition: filter .15s; }
.stackbar .seg:hover { filter: brightness(1.08); }
.stackbar .seg span {
  position: absolute; left: 10px; top: 50%; transform: translateY(-50%);
  font: 650 18px var(--serif); color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,.25); white-space: nowrap;
}
.class-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin-top: 20px; background: var(--line); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
@media (min-width: 820px) { .class-grid { grid-template-columns: repeat(6, 1fr); } }
.class-cell { background: var(--surface); padding: 14px; }
.class-cell .n { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--text-2); }
.class-cell .n i { width: 10px; height: 10px; border-radius: 3px; }
.class-cell .v { font: 650 26px/1.1 var(--serif); margin-top: 6px; }
.class-cell .c { font-size: 12px; color: var(--muted); margin-top: 4px; }
.delta-up { color: var(--up); }
.delta-down { color: var(--div-neg); }

/* filters */
.filters { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 16px; }
.filters label { display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: var(--muted); font-weight: 500; }
select {
  font: 500 14px var(--sans); color: var(--text); background: var(--surface-2);
  border: 1px solid var(--line); border-radius: 8px; padding: 7px 30px 7px 10px; appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: calc(100% - 15px) 52%, calc(100% - 10px) 52%; background-size: 5px 5px; background-repeat: no-repeat;
}

/* country layout */
.country-layout { display: grid; gap: 16px; }
@media (min-width: 960px) { .country-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: start; } }
.country-layout .card + .card { margin-top: 0; }
.tilemap { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; max-width: 520px; margin: 0 auto; }
.tilemap button {
  aspect-ratio: 1; border: 0; border-radius: 8px; cursor: pointer; padding: 0;
  font: 650 clamp(11px, 2.4vw, 15px) var(--sans); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px;
  outline-offset: 2px; transition: transform .12s;
}
.tilemap button small { font-weight: 500; font-size: clamp(9px, 1.8vw, 11px); opacity: .85; }
.tilemap button:hover { transform: scale(1.06); }
.tilemap button[aria-pressed="true"] { outline: 3px solid var(--eu-yellow); box-shadow: 0 0 0 6px var(--eu-blue); position: relative; z-index: 1; }
.ramp { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); margin: 16px auto 0; max-width: 520px; }
.ramp .bar { flex: 1; height: 8px; border-radius: 4px; }

.profile h3.pname { font: 650 32px/1.1 var(--serif); letter-spacing: -.02em; }
.profile .pflag { font-size: 13px; color: var(--muted); margin-top: 4px; }
.profile .headline { font-size: 16px; color: var(--text-2); margin: 14px 0 18px; }
.profile .headline b { color: var(--text); }
.compare { display: grid; gap: 10px; }
.cmp-row { display: grid; grid-template-columns: 112px 1fr 64px; gap: 10px; align-items: center; font-size: 13px; }
.cmp-row .nm { color: var(--text-2); display: flex; gap: 6px; align-items: center; }
.cmp-row .nm i { width: 10px; height: 10px; border-radius: 3px; flex: none; }
.cmp-bars { display: grid; gap: 3px; }
.cmp-bars div { height: 9px; border-radius: 0 4px 4px 0; min-width: 2px; }
.cmp-bars .eu { background: var(--line-strong); height: 5px; }
.cmp-row .pp { text-align: right; font-weight: 600; font-size: 12px; }
.mini-legend { display: flex; gap: 14px; font-size: 12px; color: var(--muted); margin: 0 0 10px; }
.mini-legend i { display: inline-block; width: 14px; height: 6px; border-radius: 2px; margin-right: 5px; vertical-align: middle; }
.profile-grid { display: grid; gap: 18px; margin-top: 22px; }
@media (min-width: 560px) { .profile-grid { grid-template-columns: 1fr 1fr; } }
.profile h4 { margin: 0 0 8px; font-size: 13px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.kv { list-style: none; padding: 0; margin: 0; font-size: 14px; }
.kv li { display: flex; justify-content: space-between; gap: 10px; padding: 5px 0; border-bottom: 1px solid var(--line); }
.kv li span:last-child { font-weight: 600; }
.kv .home { font-size: 11px; color: var(--accent); font-weight: 600; margin-left: 6px; }

/* heatmap */
.heat-card { margin-top: 16px; }
.heat-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.heat { border-collapse: separate; border-spacing: 2px; width: 100%; min-width: 520px; font-size: 13px; table-layout: fixed; }
.heat col.c-name { width: 130px; }
.heat th { font-weight: 500; color: var(--text-2); text-align: left; padding: 4px 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.heat thead th { font-size: 12px; text-align: center; }
.heat td { text-align: center; padding: 7px 4px; border-radius: 4px; font-weight: 600; font-size: 12px; cursor: default; }
.heat tr.sel th { color: var(--text); font-weight: 700; }
.heat tbody tr { cursor: pointer; }
.heat tr.eu-row td { background: var(--surface-2); color: var(--text); }
.heat tr.eu-row th { font-weight: 700; color: var(--text); }

/* bar lists */
.barlist { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; counter-reset: r; }
.barlist li { display: grid; grid-template-columns: 22px minmax(90px, 180px) 1fr 52px 64px; gap: 10px; align-items: center; font-size: 14px; counter-increment: r; }
.barlist li::before { content: counter(r); color: var(--muted); font-size: 12px; text-align: right; }
.barlist .nm { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.barlist .nm small { color: var(--muted); margin-left: 4px; }
.barlist .track { height: 10px; }
.barlist .fill { height: 100%; border-radius: 0 4px 4px 0; min-width: 2px; }
.barlist .val { text-align: right; font-weight: 600; }
.buy {
  display: inline-flex; align-items: center; justify-content: center; text-decoration: none;
  font: 600 12px var(--sans); background: var(--buy-bg); color: var(--buy-ink);
  border-radius: 999px; padding: 4px 12px; white-space: nowrap; transition: filter .15s;
}
.buy:hover { filter: brightness(1.15); }
.buy:focus-visible { outline: 2px solid var(--eu-yellow); outline-offset: 2px; }
.kv-r { display: inline-flex; align-items: center; gap: 10px; }
.kv .buy { padding: 2px 10px; font-size: 11px; }
.chip { display: inline-block; background: var(--eu-yellow); color: #0b0b0b; font-size: 11px; font-weight: 700; border-radius: 999px; padding: 1px 8px; margin-right: 8px; }
.tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.tabs button {
  font: 500 13px var(--sans); color: var(--text-2); background: var(--surface-2); border: 1px solid var(--line);
  border-radius: 999px; padding: 6px 12px; cursor: pointer; display: inline-flex; align-items: center; gap: 6px;
}
.tabs button i { width: 8px; height: 8px; border-radius: 2px; }
.tabs button[aria-selected="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }

/* press */
.cite {
  margin: 14px 0; padding: 14px 16px; border-left: 3px solid var(--accent); background: var(--surface-2);
  border-radius: 0 8px 8px 0; font-size: 15px; color: var(--text-2);
}
.btn {
  font: 600 14px var(--sans); background: var(--text); color: var(--bg); border: 1px solid var(--text);
  border-radius: 10px; padding: 10px 14px; cursor: pointer;
}
#press h3 { font: 650 22px var(--serif); }
.press-wrap { max-width: 760px; }

/* method */
.method p { margin: 0 0 12px; color: var(--text-2); max-width: 80ch; }
.method b { color: var(--text); }
.method .warn { background: var(--banner-bg); color: var(--banner-text); padding: 12px 14px; border-radius: 8px; margin: 16px 0 0; }
.method .warn b { color: inherit; }

.site-foot { margin-top: 72px; background: #003399; color: rgba(255,255,255,.8); padding: 28px 0 40px; font-size: 13px; }
.site-foot .wrap { display: flex; gap: 14px; align-items: flex-start; }
.site-foot p { margin: 0; }
.site-foot .eu-flag { outline: 1px solid rgba(255,255,255,.35); }

/* tooltip */
.tip {
  position: fixed; z-index: 50; pointer-events: none; background: var(--surface); color: var(--text);
  border: 1px solid var(--line-strong); border-radius: 10px; padding: 10px 12px; font-size: 13px;
  box-shadow: 0 6px 24px rgba(0,0,0,.14); min-width: 150px; max-width: 260px;
}
.tip .t { font-weight: 600; margin-bottom: 6px; }
.tip .r { display: flex; align-items: center; gap: 8px; justify-content: space-between; }
.tip .r span:first-child { display: inline-flex; align-items: center; gap: 6px; color: var(--text-2); }
.tip .r i { width: 8px; height: 8px; border-radius: 2px; }
.tip .r b { font-weight: 600; }

@media (max-width: 560px) {
  .cmp-row { grid-template-columns: 92px 1fr 54px; }
  .barlist li { grid-template-columns: 16px minmax(70px, 110px) 1fr 44px 56px; gap: 7px; font-size: 13px; }
  .stackbar { height: 52px; }
  .stackbar .seg span { font-size: 14px; left: 6px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

/* hero CTA */
.hero-cta {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 28px; text-decoration: none;
  background: #ffcc00; color: #0b0b0b; font-weight: 700; font-size: 16px; padding: 13px 20px; border-radius: 999px;
}
.hero-cta:hover { filter: brightness(1.05); }

/* investors like you */
.picker { display: flex; flex-wrap: wrap; gap: 18px 28px; align-items: flex-end; }
.pick { display: flex; flex-direction: column; gap: 6px; font-size: 12px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.pick select { font-size: 15px; padding: 9px 34px 9px 12px; text-transform: none; letter-spacing: 0; min-width: 190px; }
.seg-ctl { display: inline-flex; flex-wrap: wrap; background: var(--surface-2); border: 1px solid var(--line); border-radius: 10px; padding: 3px; gap: 2px; }
.seg-ctl button {
  font: 600 14px var(--sans); color: var(--text-2); background: transparent; border: 0; border-radius: 8px;
  padding: 7px 14px; cursor: pointer; text-transform: none; letter-spacing: 0;
}
.seg-ctl button[aria-checked="true"] { background: var(--eu-blue); color: #fff; }
.ly-grid { display: grid; gap: 16px; margin-top: 16px; }
@media (min-width: 960px) { .ly-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); } }
.ly-grid .card + .card, .ly-grid .card { margin-top: 0; }
.ly-two { margin-top: 16px; }
.persona {
  position: relative; overflow: hidden; border-radius: var(--radius); min-height: 460px; color: #fff;
  background-color: #003399; background-size: cover; background-position: center;
  display: flex; flex-direction: column; justify-content: flex-end;
}
.persona::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,20,70,.05) 20%, rgba(0,30,90,.55) 55%, rgba(0,25,80,.94) 100%); }
.persona.is-eu { background-image: radial-gradient(120% 120% at 70% 20%, #0a46c2, #003399 50%, #00256e) !important; }
.persona.is-eu::before { display: none; }
.persona-ring { position: absolute; top: 24px; right: 24px; width: 180px; opacity: .9; }
.persona-body { position: relative; padding: 24px; }
.avatar { width: 96px; height: 96px; border-radius: 50%; border: 4px solid #fff; overflow: hidden; box-shadow: 0 6px 20px rgba(0,0,0,.3); margin-bottom: 14px; }
.avatar svg { display: block; width: 100%; height: 100%; }
.persona-kicker { margin: 0; color: #ffcc00; font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; }
.persona-title { font: 650 clamp(28px, 3.4vw, 38px)/1.08 var(--serif); margin: 4px 0 0; color: #fff; }
.persona-sub { margin: 6px 0 0; color: rgba(255,255,255,.85); }
.persona-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 18px; }
.persona-stats div { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.18); border-radius: 12px; padding: 10px 12px; backdrop-filter: blur(6px); }
.persona-stats b { display: block; font: 650 20px/1.15 var(--serif); }
.persona-stats span { display: block; font-size: 12px; color: rgba(255,255,255,.85); margin-top: 3px; line-height: 1.35; }
@media (max-width: 560px) { .persona-stats { grid-template-columns: 1fr; } .persona { min-height: 420px; } }
.credit { position: absolute; top: 10px; left: 12px; right: 12px; font-size: 10px; color: rgba(255,255,255,.85); text-decoration: none; text-shadow: 0 1px 2px rgba(0,0,0,.6); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.credit:hover { text-decoration: underline; }
.card-head p b { color: var(--text); }
.plan-list li { grid-template-columns: 22px minmax(90px, 180px) 1fr 52px 84px; }
@media (max-width: 560px) { .plan-list li { grid-template-columns: 16px minmax(70px, 110px) 1fr 44px 76px; } }
.firsts { display: grid; gap: 8px; }
.first { display: grid; grid-template-columns: 26px 1fr auto 64px; gap: 10px; align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; font-size: 14px; }
.first .rk { width: 24px; height: 24px; border-radius: 50%; background: var(--surface-2); display: grid; place-items: center; font-size: 12px; font-weight: 700; color: var(--text-2); }
.first.is-top { border-color: var(--eu-blue); background: color-mix(in oklab, var(--eu-blue) 7%, var(--surface)); }
.first.is-top .rk { background: var(--eu-yellow); color: #0b0b0b; }
.first .buy { justify-self: end; }
.mix-row { display: grid; grid-template-columns: 74px 1fr; gap: 10px; align-items: center; font-size: 13px; color: var(--text-2); margin-top: 8px; }
.stackbar.mini { height: 30px; border-radius: 6px; }
.stackbar.mini .seg span { font: 600 12px var(--sans); left: 6px; }
.ag-grid { display: grid; grid-template-columns: 56px 1fr 1fr; gap: 8px 12px; align-items: center; }
.ag-h { font-size: 12px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.ag-age { font-size: 13px; color: var(--text-2); font-weight: 600; }
.ag-bar { display: flex; gap: 2px; height: 28px; border: 0; padding: 0; border-radius: 6px; overflow: hidden; cursor: pointer; background: none; outline-offset: 3px; }
.ag-bar i { display: block; min-width: 2px; }
.ag-bar.on { outline: 3px solid var(--eu-yellow); box-shadow: 0 0 0 6px var(--eu-blue); }
.risk-note { font-size: 13px; color: var(--muted); margin: 14px 0 0; max-width: 80ch; }

/* buy dialog */
.dlg { border: 0; padding: 0; border-radius: 20px; width: min(520px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); overflow: auto; background: var(--surface); color: var(--text); box-shadow: 0 30px 80px rgba(0,0,0,.35); }
.dlg::backdrop { background: rgba(0, 18, 60, .55); backdrop-filter: blur(3px); }
.dlg-x { position: absolute; top: 10px; right: 12px; z-index: 2; width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255,255,255,.16); color: #fff; font-size: 22px; line-height: 1; cursor: pointer; }
.dlg-hero { position: relative; overflow: hidden; background: radial-gradient(120% 140% at 85% 20%, #0a46c2, #003399 50%, #00256e); color: #fff; padding: 28px 24px 24px; }
.dlg-ring { position: absolute; right: -40px; top: -30px; width: 190px; opacity: .55; }
.dlg-brand { position: relative; margin: 0; font-weight: 800; letter-spacing: -.01em; color: #ffcc00; font-size: 15px; }
.dlg-hero h2 { position: relative; color: #fff; font-size: clamp(24px, 4.5vw, 30px); margin-top: 8px; max-width: 16ch; }
.dlg-sub { position: relative; margin: 10px 0 0; color: rgba(255,255,255,.85); font-size: 15px; }
.dlg-body { padding: 22px 24px 24px; }
.dlg-points { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 10px; font-size: 14px; color: var(--text-2); }
.dlg-points li { padding-left: 26px; position: relative; }
.dlg-points li::before { content: ""; position: absolute; left: 0; top: 3px; width: 15px; height: 15px; background: var(--eu-yellow);
  clip-path: polygon(50% 0, 61.2% 34.5%, 97.6% 34.5%, 68.2% 55.9%, 79.4% 90.5%, 50% 69.1%, 20.6% 90.5%, 31.8% 55.9%, 2.4% 34.5%, 38.8% 34.5%); }
.dlg-points b { color: var(--text); }
.promo { display: flex; align-items: center; justify-content: space-between; gap: 12px; border: 2px dashed var(--eu-blue); border-radius: 14px; padding: 12px 14px; background: color-mix(in oklab, var(--eu-blue) 6%, var(--surface)); }
.promo span { display: block; font-size: 12px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.promo code { font: 800 24px/1.2 ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: .08em; color: var(--text); }
.btn-primary { display: block; text-align: center; text-decoration: none; margin-top: 14px; background: #ffcc00; color: #0b0b0b; font-weight: 700; font-size: 16px; padding: 14px; border-radius: 12px; }
.btn-primary:hover { filter: brightness(1.05); }
.dlg-alt { display: block; text-align: center; margin-top: 10px; font-size: 14px; color: var(--text-2); }
.dlg-risk { font-size: 11px; color: var(--muted); margin: 16px 0 0; line-height: 1.45; }
