/* ==========================================================================
   BGD88 Bangladesh — design system
   ========================================================================== */

:root {
  --navy-950: #070f22;
  --navy-900: #0b1730;
  --navy-800: #11214a;
  --navy-700: #1a2f63;
  --navy-600: #284384;
  --navy-100: #e7ecf6;
  --navy-50: #f2f5fb;

  --gold-600: #a8822f;
  --gold-500: #c9a24a;
  --gold-400: #dcb964;
  --gold-200: #f1e1b4;
  --gold-50: #fbf6e8;

  --ink: #1c2333;
  --ink-soft: #3a4357;
  --muted: #646d82;
  --line: #e1e5ee;
  --bg: #f6f7fa;
  --card: #ffffff;

  --ok: #1d8a5a;
  --ok-bg: #e9f6ef;
  --warn: #b5471f;
  --warn-bg: #fdf0ea;
  --info-bg: #eef3fc;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(11, 23, 48, .06), 0 2px 8px rgba(11, 23, 48, .05);
  --shadow: 0 6px 24px rgba(11, 23, 48, .08), 0 2px 6px rgba(11, 23, 48, .05);
  --shadow-lg: 0 18px 50px rgba(11, 23, 48, .16);

  --font-body: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, "Noto Sans Bengali", sans-serif;
  --font-head: Georgia, "Times New Roman", "Noto Serif", serif;

  --wrap: 1200px;
  --header-h: 72px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17.5px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img { max-width: 100%; height: auto; display: block; }
img[width="512"] { background: linear-gradient(135deg, var(--navy-100), var(--gold-50)); color: transparent; }

a { color: var(--navy-600); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--gold-600); }

h1, h2, h3, h4 { font-family: var(--font-head); color: var(--navy-900); line-height: 1.25; margin: 0 0 .6em; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
h2 { font-size: clamp(1.55rem, 2.8vw, 2.15rem); }
h3 { font-size: 1.28rem; }
h4 { font-size: 1.08rem; font-family: var(--font-body); }
p { margin: 0 0 1.1em; }
ul, ol { padding-left: 1.3em; margin: 0 0 1.1em; }
li { margin-bottom: .35em; }
strong { color: var(--navy-900); }

.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.wrap-narrow { width: min(100% - 40px, 820px); margin-inline: auto; }

.skip-link { position: absolute; left: -999px; top: 8px; background: var(--gold-500); color: var(--navy-950); padding: 8px 14px; border-radius: 8px; z-index: 999; }
.skip-link:focus { left: 12px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .78em 1.5em; border-radius: 999px; font-weight: 600; font-size: 1rem;
  text-decoration: none; border: 1.5px solid transparent; cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: linear-gradient(135deg, var(--gold-400), var(--gold-500) 55%, var(--gold-600)); color: var(--navy-950); box-shadow: 0 6px 18px rgba(201, 162, 74, .35); }
.btn-gold:hover { color: var(--navy-950); box-shadow: 0 10px 26px rgba(201, 162, 74, .45); }
.btn-ghost { border-color: rgba(255, 255, 255, .35); color: #fff; background: rgba(255, 255, 255, .04); }
.btn-ghost:hover { border-color: var(--gold-400); color: var(--gold-200); }
.btn-navy { background: var(--navy-800); color: #fff; }
.btn-navy:hover { background: var(--navy-700); color: #fff; }
.btn-outline { border-color: var(--navy-700); color: var(--navy-800); background: transparent; }
.btn-outline:hover { background: var(--navy-800); color: #fff; }
.btn-sm { padding: .5em 1.1em; font-size: .92rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- top bar + header ---------- */
.topbar { background: var(--navy-950); color: #aab4cc; font-size: .82rem; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 34px; }
.topbar a { color: #cfd6e6; text-decoration: none; }
.topbar a:hover { color: var(--gold-400); }
.topbar-links { display: flex; gap: 18px; }
.topbar-links .lang-switch { color: var(--gold-400); font-weight: 600; }
:lang(bn) { --font-body: "Noto Sans Bengali", "Hind Siliguri", "Nirmala UI", "Vrinda", "SolaimanLipi", system-ui, sans-serif; --font-head: "Noto Serif Bengali", "Noto Sans Bengali", "Hind Siliguri", "Nirmala UI", serif; }
html:lang(bn) body { line-height: 1.8; }
html:lang(bn) h1, html:lang(bn) h2, html:lang(bn) h3 { line-height: 1.4; letter-spacing: 0; }
.age-badge { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 18px; border: 1px solid var(--gold-500); color: var(--gold-400); border-radius: 4px; font-size: .7rem; font-weight: 700; margin-right: 8px; }

.site-header { position: sticky; top: 0; z-index: 100; background: rgba(11, 23, 48, .96); backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid rgba(201, 162, 74, .18); }
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { height: 42px; width: auto; max-width: 180px; background: transparent; color: var(--gold-400); font-weight: 700; }

.nav { margin-left: auto; }
.nav-list { list-style: none; display: flex; gap: 2px; margin: 0; padding: 0; }
.nav-list > li { position: relative; margin: 0; }
.nav-list > li > a { display: block; padding: 10px 13px; color: #dfe5f2; text-decoration: none; font-size: .95rem; font-weight: 500; border-radius: 8px; }
.nav-list > li > a:hover,
.nav-list > li > a[aria-current="page"] { color: var(--gold-400); background: rgba(255, 255, 255, .05); }
.sub-toggle { display: none; }
.sub {
  list-style: none; margin: 0; padding: 10px; position: absolute; top: calc(100% + 6px); left: 0; min-width: 240px;
  background: #fff; border-radius: 14px; box-shadow: var(--shadow-lg); border: 1px solid var(--line);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: .2s ease;
}
.sub::before { content: ""; position: absolute; inset: -10px 0 auto; height: 10px; }
.has-sub:hover > .sub,
.has-sub:focus-within > .sub { opacity: 1; visibility: visible; transform: none; }
.sub li { margin: 0; }
.sub a { display: block; padding: 8px 12px; border-radius: 8px; color: var(--ink); text-decoration: none; font-size: .93rem; }
.sub a:hover { background: var(--navy-50); color: var(--navy-700); }

.header-cta { display: flex; gap: 10px; flex-shrink: 0; }
.menu-btn { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .2); background: transparent; color: #fff; cursor: pointer; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 20px; height: 2px; background: currentColor; margin: auto; position: relative; transition: .25s; }
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; }
.menu-btn span::before { top: -6px; }
.menu-btn span::after { top: 6px; }
.menu-open .menu-btn span { background: transparent; }
.menu-open .menu-btn span::before { top: 0; transform: rotate(45deg); }
.menu-open .menu-btn span::after { top: 0; transform: rotate(-45deg); }

/* ---------- hero (home) ---------- */
.hero {
  position: relative; overflow: hidden; color: #d9e0ef;
  background:
    radial-gradient(900px 420px at 85% 10%, rgba(201, 162, 74, .20), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgba(40, 67, 132, .55), transparent 60%),
    linear-gradient(160deg, var(--navy-900), var(--navy-950));
  padding: 72px 0 88px;
}
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(201, 162, 74, .6), transparent); }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero h1 { color: #fff; }
.hero h1 em { font-style: normal; color: var(--gold-400); }
.hero .lead { font-size: 1.14rem; color: #c4cde0; max-width: 620px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .82rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-400); margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.hero-checks { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: .95rem; }
.hero-checks li { display: flex; align-items: center; gap: 8px; margin: 0; }
.hero-checks li::before { content: ""; width: 18px; height: 18px; border-radius: 50%; background: rgba(201, 162, 74, .18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23dcb964'%3E%3Cpath d='M8.2 13.6 4.6 10l-1.2 1.2 4.8 4.8L17 7.2 15.8 6z'/%3E%3C/svg%3E") center/12px no-repeat; }

.hero-visual { position: relative; justify-self: center; width: min(100%, 420px); }
.hero-visual .ring { position: absolute; inset: -18px; border-radius: 36px; border: 1px solid rgba(201, 162, 74, .35); }
.hero-visual .ring.r2 { inset: -36px; border-color: rgba(201, 162, 74, .14); }
.hero-visual img { border-radius: 28px; box-shadow: 0 30px 80px rgba(0, 0, 0, .45); position: relative; }
.hero-badge { position: absolute; background: #fff; color: var(--navy-900); border-radius: 14px; padding: 10px 14px; box-shadow: var(--shadow-lg); font-size: .85rem; line-height: 1.35; }
.hero-badge strong { display: block; font-size: 1.05rem; }
.hero-badge.b1 { left: -28px; bottom: 40px; }
.hero-badge.b2 { right: -20px; top: 30px; }

/* ---------- page hero (inner) ---------- */
.page-hero {
  color: #cdd5e6;
  background:
    radial-gradient(700px 300px at 90% 0%, rgba(201, 162, 74, .16), transparent 60%),
    linear-gradient(160deg, var(--navy-900), var(--navy-950));
  padding: 26px 0 60px;
}
.page-hero h1 { color: #fff; font-size: clamp(1.9rem, 3.8vw, 2.7rem); margin-top: 18px; }
.page-hero .lead { font-size: 1.1rem; max-width: 760px; color: #c1cadd; }
.page-hero-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: center; }
.meta-line { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: .88rem; color: #97a3bd; margin-top: 18px; }
.meta-line span { display: inline-flex; align-items: center; gap: 6px; }

.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; padding: 0; margin: 0; font-size: .86rem; }
.breadcrumb li { margin: 0; color: #8f9bb6; }
.breadcrumb li + li::before { content: "›"; margin: 0 8px 0 4px; color: #5e6a86; }
.breadcrumb a { color: #b9c3d9; text-decoration: none; }
.breadcrumb a:hover { color: var(--gold-400); }

/* ---------- sections ---------- */
.section { padding: 80px 0; }
.section-tight { padding: 56px 0; }
.section-white { background: #fff; }
.section-navy { background: linear-gradient(160deg, var(--navy-900), var(--navy-950)); color: #c9d1e3; }
.section-navy h2, .section-navy h3 { color: #fff; }
.section-navy strong { color: #fff; }
.section-navy a:not(.btn), .takeaways a, .mini-cta a:not(.btn), .page-hero .lead a { color: var(--gold-400); }
.section-navy a:not(.btn):hover, .takeaways a:hover { color: var(--gold-200); }
.section-navy a.card, .section-navy a.card:hover { color: #c3cce0; }
.section-head { max-width: 760px; margin-bottom: 40px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.05rem; }
.section-navy .section-head p { color: #a8b3cb; }
.kicker { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-600); margin-bottom: 10px; }
.section-navy .kicker { color: var(--gold-400); }

.overlap { margin-top: -40px; position: relative; z-index: 2; }

/* ---------- stats strip ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow); border: 1px solid var(--line); overflow: hidden; }
.stat { padding: 26px 24px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat b { display: block; font-family: var(--font-head); font-size: 1.7rem; color: var(--navy-800); line-height: 1.2; }
.stat span { font-size: .92rem; color: var(--muted); }

/* ---------- cards & grids ---------- */
.grid { display: grid; gap: 24px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }

.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease, border-color .25s; }
.card h3 { margin-bottom: .45em; }
.card p:last-child { margin-bottom: 0; }
a.card { display: block; text-decoration: none; color: inherit; }
a.card:hover, .card.lift:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--gold-200); }

.card.cat-card { display: flex; gap: 18px; align-items: center; padding: 18px; }
.cat-card img { width: 92px; height: 92px; border-radius: 14px; flex-shrink: 0; object-fit: cover; }
.cat-card h3 { font-size: 1.12rem; margin-bottom: .2em; }
.cat-card p { font-size: .93rem; color: var(--muted); margin: 0; line-height: 1.55; }
.cat-card .go { margin-left: auto; color: var(--gold-600); font-size: 1.3rem; flex-shrink: 0; transition: transform .2s; }
a.cat-card:hover .go { transform: translateX(4px); }

.tile { padding: 0; overflow: hidden; }
.tile img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.tile .tile-body { padding: 18px 20px 20px; }
.tile h3 { font-size: 1.1rem; margin-bottom: .25em; }
.tile p { font-size: .92rem; color: var(--muted); line-height: 1.55; }
.tag { display: inline-block; font-size: .74rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; padding: 3px 10px; border-radius: 999px; background: var(--gold-50); color: var(--gold-600); border: 1px solid var(--gold-200); }
.tag-navy { background: var(--navy-50); color: var(--navy-700); border-color: var(--navy-100); }

.icon-badge { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, var(--navy-800), var(--navy-600)); color: var(--gold-400); margin-bottom: 16px; }
.icon-badge svg { width: 24px; height: 24px; }
.section-navy .card { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .09); box-shadow: none; color: #c3cce0; }
.section-navy .card h3 { color: #fff; }
.section-navy .icon-badge { background: rgba(201, 162, 74, .14); }

/* ---------- split / media ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split.reverse > :first-child { order: 2; }
.media-frame { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); width: 100%; max-width: 460px; justify-self: center; }
.media-frame::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(201, 162, 74, .3); pointer-events: none; }

/* ---------- steps (numbered row) ---------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.steps.s4 { grid-template-columns: repeat(4, 1fr); }
.step { position: relative; padding: 30px 26px 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.step::before { counter-increment: step; content: counter(step, decimal-leading-zero); font-family: var(--font-head); font-size: 2.4rem; font-weight: 700; color: var(--gold-200); line-height: 1; display: block; margin-bottom: 14px; }
.step h3 { font-size: 1.15rem; }
.step p { color: var(--muted); font-size: .96rem; }

/* ---------- vertical timeline ---------- */
.timeline { list-style: none; padding: 0; margin: 0; position: relative; counter-reset: tl; }
.timeline::before { content: ""; position: absolute; left: 21px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--gold-400), var(--navy-100)); }
.timeline > li { position: relative; padding: 0 0 30px 68px; margin: 0; }
.timeline > li:last-child { padding-bottom: 0; }
.timeline > li::before {
  counter-increment: tl; content: counter(tl);
  position: absolute; left: 0; top: 0; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 700; color: var(--navy-950);
  background: linear-gradient(135deg, var(--gold-400), var(--gold-500)); box-shadow: 0 0 0 6px var(--bg);
}
.section-white .timeline > li::before { box-shadow: 0 0 0 6px #fff; }
.timeline h3 { font-size: 1.15rem; margin: 6px 0 .35em; }
.timeline p { color: var(--ink-soft); margin-bottom: .5em; }
.timeline .hint { font-size: .9rem; color: var(--muted); background: var(--navy-50); border-radius: 10px; padding: 8px 12px; display: inline-block; }
.section-navy .timeline p { color: #c3cce0; }
.section-navy .timeline > li::before { box-shadow: 0 0 0 6px var(--navy-900); }

/* ---------- horizontal flow (payments) ---------- */
.flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; position: relative; counter-reset: fl; }
.flow::before { content: ""; position: absolute; top: 27px; left: 10%; right: 10%; height: 2px; background: repeating-linear-gradient(90deg, var(--gold-400) 0 8px, transparent 8px 14px); }
.flow-step { text-align: center; padding: 0 10px; position: relative; }
.flow-step::before { counter-increment: fl; content: counter(fl); width: 56px; height: 56px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-head); font-size: 1.35rem; font-weight: 700; background: var(--navy-800); color: var(--gold-400); border: 4px solid #fff; box-shadow: var(--shadow); position: relative; }
.flow-step h3 { font-size: 1.02rem; margin-bottom: .3em; font-family: var(--font-body); }
.flow-step p { font-size: .9rem; color: var(--muted); line-height: 1.55; }

/* ---------- quick facts panel ---------- */
.facts { background: rgba(255, 255, 255, .05); border: 1px solid rgba(201, 162, 74, .3); border-radius: var(--radius-lg); padding: 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fact { background: rgba(255, 255, 255, .04); border-radius: 12px; padding: 14px 16px; }
.fact small { display: block; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: #8e9ab5; }
.fact b { display: block; font-size: 1.25rem; color: #fff; font-family: var(--font-head); }
.facts .facts-img { grid-column: 1 / -1; display: flex; gap: 16px; align-items: center; }
.facts .facts-img img { width: 84px; height: 84px; border-radius: 14px; }
.facts .facts-img p { margin: 0; font-size: .92rem; color: #b6c0d6; line-height: 1.5; }

/* ---------- tables ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-sm); margin-bottom: 1.4em; color: var(--ink); }
.section-navy :is(.stats, .step, .table-wrap, .faq details, .trouble details, .verdict, .vs-card, .spec-card, .toc, .author-box, .glossary, .rg-note, .kv, .callout) { color: var(--ink); }
.section-navy :is(.stats, .step, .table-wrap, .faq details, .trouble details, .verdict, .vs-card, .spec-card, .toc, .author-box, .glossary, .rg-note, .kv, .callout) :is(h2, h3, h4, strong, b, summary, dt) { color: var(--navy-900); }
.section-navy :is(.stats, .step, .table-wrap, .faq details, .trouble details, .verdict, .vs-card, .spec-card, .toc, .author-box, .glossary, .rg-note, .kv, .callout) a:not(.btn) { color: var(--gold-600); }
.section-navy .step p { color: var(--muted); }
table { width: 100%; border-collapse: collapse; font-size: .96rem; min-width: 560px; }
th, td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { background: var(--navy-900); color: #fff; font-weight: 600; font-size: .9rem; letter-spacing: .02em; }
thead th:first-child { border-top-left-radius: calc(var(--radius) - 1px); }
thead th:last-child { border-top-right-radius: calc(var(--radius) - 1px); }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:nth-child(even) td { background: #fafbfd; }
td.yes { color: var(--ok); font-weight: 600; }
td.no { color: var(--warn); font-weight: 600; }
.col-hl { background: var(--gold-50) !important; }
thead th.col-hl { background: var(--gold-500) !important; color: var(--navy-950); }

/* ---------- callouts ---------- */
.callout { border-radius: var(--radius); padding: 20px 22px 20px 58px; position: relative; margin: 0 0 1.5em; background: var(--info-bg); border: 1px solid #d6e1f5; color: var(--ink-soft); }
.section-navy .callout strong { color: var(--navy-900); }
.section-navy .callout a:not(.btn) { color: var(--gold-600); }
.callout::before { content: "i"; position: absolute; left: 18px; top: 20px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--navy-700); color: #fff; font-weight: 700; font-family: var(--font-head); font-size: .95rem; }
.callout p:last-child, .callout ul:last-child { margin-bottom: 0; }
.callout-title { font-weight: 700; color: var(--navy-900); margin-bottom: .3em; display: block; }
.callout.warn { background: var(--warn-bg); border-color: #f3d2c3; }
.callout.warn::before { content: "!"; background: var(--warn); }
.callout.ok { background: var(--ok-bg); border-color: #c7e8d6; }
.callout.ok::before { content: "✓"; background: var(--ok); }
.callout.gold { background: var(--gold-50); border-color: var(--gold-200); }
.callout.gold::before { content: "★"; background: var(--gold-500); color: var(--navy-950); }

.takeaways { background: linear-gradient(135deg, var(--navy-900), var(--navy-800)); color: #cbd3e4; border-radius: var(--radius-lg); padding: 28px 30px; margin-bottom: 2em; }
.takeaways h2, .takeaways h3 { color: var(--gold-400); font-size: 1.15rem; font-family: var(--font-body); letter-spacing: .04em; text-transform: uppercase; }
.takeaways ul { list-style: none; padding: 0; margin: 0; }
.takeaways li { padding-left: 28px; position: relative; margin-bottom: .6em; }
.takeaways li::before { content: ""; position: absolute; left: 0; top: .55em; width: 14px; height: 2px; background: var(--gold-400); }
.takeaways strong { color: #fff; }

/* ---------- check / cross lists ---------- */
.check-list, .cross-list { list-style: none; padding: 0; }
.check-list li, .cross-list li { position: relative; padding-left: 32px; margin-bottom: .7em; }
.check-list li::before, .cross-list li::before { position: absolute; left: 0; top: .2em; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: .75rem; font-weight: 700; }
.check-list li::before { content: "✓"; background: var(--ok-bg); color: var(--ok); }
.cross-list li::before { content: "✕"; background: var(--warn-bg); color: var(--warn); }

.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.pros-cons .card h3 { display: flex; align-items: center; gap: 10px; }
.pros-cons .pros { border-top: 4px solid var(--ok); }
.pros-cons .cons { border-top: 4px solid var(--warn); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-sm); transition: border-color .2s; }
.faq details[open] { border-color: var(--gold-200); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 56px 18px 22px; font-weight: 600; color: var(--navy-900); position: relative; font-size: 1.02rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--navy-50); color: var(--navy-700); font-size: 1.2rem; transition: .2s; }
.faq details[open] summary::after { content: "−"; background: var(--gold-500); color: var(--navy-950); }
.faq .faq-a { padding: 0 22px 18px; color: var(--ink-soft); }
.faq .faq-a p:last-child { margin-bottom: 0; }

/* ---------- trouble grid (login) ---------- */
.trouble { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.trouble details { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--navy-600); border-radius: 12px; }
.trouble summary { cursor: pointer; list-style: none; padding: 16px 20px; font-weight: 600; color: var(--navy-900); display: flex; justify-content: space-between; gap: 12px; }
.trouble summary::-webkit-details-marker { display: none; }
.trouble summary::after { content: "▾"; color: var(--gold-600); transition: transform .2s; }
.trouble details[open] summary::after { transform: rotate(180deg); }
.trouble .fix { padding: 0 20px 16px; color: var(--ink-soft); font-size: .96rem; }
.trouble .fix p:last-child, .trouble .fix ol:last-child { margin-bottom: 0; }

/* ---------- phone mockup ---------- */
.phone { width: min(100%, 300px); margin: 0 auto; border-radius: 42px; padding: 14px; background: linear-gradient(145deg, #2b3a5e, #0b1328); box-shadow: var(--shadow-lg), inset 0 0 0 1px rgba(255, 255, 255, .08); position: relative; }
.phone::before { content: ""; position: absolute; top: 22px; left: 50%; transform: translateX(-50%); width: 80px; height: 18px; border-radius: 20px; background: #050a16; z-index: 2; }
.phone-screen { border-radius: 30px; overflow: hidden; background: var(--navy-950); }
.phone-screen img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.phone-ui { padding: 18px 18px 24px; }
.phone-ui .field { height: 40px; border-radius: 10px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .1); margin-bottom: 10px; display: flex; align-items: center; padding: 0 12px; color: #7f8bab; font-size: .8rem; }
.phone-ui .pbtn { height: 42px; border-radius: 999px; background: linear-gradient(135deg, var(--gold-400), var(--gold-600)); display: grid; place-items: center; color: var(--navy-950); font-weight: 700; font-size: .85rem; margin-top: 14px; }

/* ---------- comparison ---------- */
.verdict { background: #fff; border-radius: var(--radius-lg); padding: 26px; box-shadow: var(--shadow-lg); color: var(--ink); }
.verdict-head { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.verdict-head img { width: 72px; height: 72px; border-radius: 16px; }
.verdict-head b { display: block; font-family: var(--font-head); font-size: 1.2rem; color: var(--navy-900); }
.verdict-head span { font-size: .88rem; color: var(--muted); }
.score-total { margin-left: auto; text-align: center; background: var(--navy-900); color: var(--gold-400); border-radius: 14px; padding: 8px 14px; font-family: var(--font-head); font-size: 1.6rem; font-weight: 700; line-height: 1.1; }
.score-total small { display: block; font-family: var(--font-body); font-size: .68rem; color: #a6b1c9; letter-spacing: .08em; text-transform: uppercase; font-weight: 500; }

.bars { display: grid; gap: 14px; }
.bar-row { display: grid; grid-template-columns: 140px 1fr 44px; gap: 12px; align-items: center; font-size: .92rem; }
.bar-row .track { height: 10px; border-radius: 999px; background: var(--navy-50); overflow: hidden; }
.bar-row .fill { height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--navy-600), var(--gold-500)); width: var(--w); }
.bar-row b { text-align: right; color: var(--navy-900); }
.bar-row.pair { grid-template-columns: 118px 1fr 74px; }
.bar-row.pair b { font-size: .86rem; white-space: nowrap; }
.bar-row.pair b span { color: var(--muted); font-weight: 500; }
.bar-pair { display: grid; gap: 4px; }
.bar-pair .fill.alt { background: #b7c0d3; }
.bar-legend { display: flex; gap: 18px; font-size: .85rem; color: var(--muted); margin-bottom: 16px; }
.bar-legend i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }

.winner { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--ok); background: var(--ok-bg); border-radius: 999px; padding: 3px 10px; margin-bottom: 10px; }
.winner.tie { color: var(--navy-700); background: var(--navy-50); }
.vs-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.vs-card { border-radius: var(--radius-lg); padding: 28px; border: 1px solid var(--line); background: #fff; }
.vs-card.primary { border: 2px solid var(--gold-500); box-shadow: 0 12px 36px rgba(201, 162, 74, .18); position: relative; }
.vs-card.primary::before { content: "Our pick"; position: absolute; top: -13px; left: 24px; background: var(--gold-500); color: var(--navy-950); font-size: .75rem; font-weight: 700; padding: 3px 12px; border-radius: 999px; letter-spacing: .06em; text-transform: uppercase; }

/* ---------- game spec ---------- */
.spec-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.spec-card img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.spec-card dl { margin: 0; padding: 8px 22px 22px; }
.spec-card dl div { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px dashed var(--line); font-size: .95rem; }
.spec-card dl div:last-child { border-bottom: 0; }
.spec-card dt { color: var(--muted); }
.spec-card dd { margin: 0; font-weight: 600; color: var(--navy-900); text-align: right; }
.spec-card .btn { margin: 0 22px 22px; width: calc(100% - 44px); }

.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.chip { display: inline-flex; flex-direction: column; padding: 8px 16px; border-radius: 12px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); font-size: .78rem; color: #97a3bd; line-height: 1.35; }
.chip b { font-size: 1.02rem; color: #fff; }

.ladder { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 10px 0 18px; }
.ladder div { text-align: center; padding: 16px 8px; border-radius: 14px; background: var(--navy-50); border: 1px solid var(--navy-100); }
.ladder b { display: block; font-family: var(--font-head); font-size: 1.6rem; color: var(--navy-800); line-height: 1.1; }
.ladder span { font-size: .8rem; color: var(--muted); }
.ladder.hot div { background: var(--gold-50); border-color: var(--gold-200); }
.ladder.hot b { color: var(--gold-600); }

/* ---------- layouts with sidebar ---------- */
.with-aside { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; align-items: start; }
.with-aside.toc-left { grid-template-columns: 260px minmax(0, 1fr); }
.aside-sticky { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 20px; }

.prose h2 { margin-top: 1.8em; padding-top: .2em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.4em; }
.prose > p, .prose > ul, .prose > ol { color: var(--ink-soft); }

.toc { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 18px; box-shadow: var(--shadow-sm); }
.toc b { display: block; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-600); margin-bottom: 10px; }
.toc ol { list-style: none; padding: 0; margin: 0; counter-reset: toc; }
.toc li { margin: 0; }
.toc a { display: flex; gap: 10px; padding: 7px 10px; border-radius: 8px; text-decoration: none; color: var(--ink-soft); font-size: .92rem; line-height: 1.45; border-left: 2px solid transparent; }
.toc a::before { counter-increment: toc; content: counter(toc, decimal-leading-zero); color: var(--muted); font-size: .8rem; padding-top: 1px; }
.toc a:hover, .toc a.active { background: var(--navy-50); color: var(--navy-800); border-left-color: var(--gold-500); }

.author-box { display: flex; gap: 18px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin-top: 2.5em; }
.author-box img { width: 76px; height: 76px; border-radius: 50%; flex-shrink: 0; }
.author-box b { color: var(--navy-900); font-size: 1.05rem; }
.author-box p { margin: .3em 0 0; font-size: .94rem; color: var(--muted); }

.mini-cta { background: linear-gradient(150deg, var(--navy-900), var(--navy-700)); color: #c9d1e3; border-radius: var(--radius); padding: 24px; }
.mini-cta b { display: block; color: #fff; font-family: var(--font-head); font-size: 1.2rem; margin-bottom: 6px; }
.mini-cta p { font-size: .93rem; }

/* ---------- related ---------- */
.related { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.related a { display: flex; gap: 12px; align-items: center; padding: 12px; background: #fff; border: 1px solid var(--line); border-radius: 14px; text-decoration: none; color: var(--navy-900); font-weight: 600; font-size: .95rem; line-height: 1.4; transition: .2s; }
.related a:hover { border-color: var(--gold-400); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.related img { width: 56px; height: 56px; border-radius: 10px; flex-shrink: 0; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: 48px; background: radial-gradient(600px 300px at 100% 0%, rgba(201, 162, 74, .25), transparent 60%), linear-gradient(140deg, var(--navy-800), var(--navy-950)); color: #c8d0e2; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band p { margin: 0; max-width: 620px; }

/* ---------- glossary ---------- */
.glossary { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; margin-bottom: 1.4em; }
.glossary div { padding: 16px 20px; border-bottom: 1px solid var(--line); }
.glossary div:nth-child(odd) { border-right: 1px solid var(--line); }
.glossary dt { font-weight: 700; color: var(--navy-900); }
.glossary dd { margin: 2px 0 0; font-size: .94rem; color: var(--muted); }

/* ---------- responsible note ---------- */
.rg-note { display: flex; gap: 20px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 26px; }
.rg-note .age { flex-shrink: 0; width: 60px; height: 60px; border-radius: 50%; border: 3px solid var(--warn); color: var(--warn); display: grid; place-items: center; font-weight: 800; font-size: 1.15rem; }
.rg-note p { margin: 0; color: var(--ink-soft); font-size: .96rem; }

/* ---------- key-value fact sheet ---------- */
.kv { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; }
.kv div { display: grid; grid-template-columns: 200px 1fr; gap: 16px; padding: 14px 24px; border-bottom: 1px solid var(--line); font-size: .97rem; }
.kv div:last-child { border-bottom: 0; }
.kv div:nth-child(even) { background: #fafbfd; }
.kv dt { font-weight: 600; color: var(--navy-900); }
.kv dd { margin: 0; color: var(--ink-soft); }

/* ---------- offers ---------- */
.offer { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.offer img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.offer .offer-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.offer .big { font-family: var(--font-head); font-size: 1.65rem; font-weight: 700; color: var(--gold-600); line-height: 1.15; margin: 6px 0 4px; }
.offer h3 { font-size: 1.08rem; margin-bottom: .35em; }
.offer p { font-size: .92rem; color: var(--muted); line-height: 1.55; }
.offer .terms { margin-top: auto; font-size: .82rem; color: var(--muted); border-top: 1px dashed var(--line); padding-top: 10px; }

/* ---------- link pills ---------- */
.pills { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 1.4em; padding: 0; list-style: none; }
.pills li { margin: 0; }
.pills a { display: inline-block; padding: 8px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--navy-800); text-decoration: none; font-size: .92rem; font-weight: 600; transition: .2s; }
.pills a:hover { border-color: var(--gold-400); color: var(--gold-600); }
.section-navy .pills a { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .14); color: #e3e8f3; }
.section-navy .pills a:hover { border-color: var(--gold-400); color: var(--gold-400); }

/* ---------- article cards ---------- */
.post { padding: 0; overflow: hidden; }
.post img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.post .post-body { padding: 20px 22px 22px; }
.post .post-meta { font-size: .8rem; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; }
.post h3 { font-size: 1.12rem; margin: 6px 0 .4em; }
.post p { font-size: .93rem; color: var(--muted); line-height: 1.6; margin: 0; }

/* ---------- footer ---------- */
.site-footer { background: var(--navy-950); color: #95a1bb; font-size: .93rem; padding: 64px 0 0; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 36px; }
.site-footer h4 { color: #fff; font-size: .9rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: #b3bdd2; text-decoration: none; }
.site-footer a:hover { color: var(--gold-400); }
.footer-brand img { height: 40px; width: auto; margin-bottom: 16px; background: transparent; }
.footer-brand p { line-height: 1.65; }
.pay-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.pay-row span { padding: 5px 12px; border-radius: 8px; border: 1px solid rgba(255, 255, 255, .12); font-size: .8rem; color: #c8d0e1; }
.footer-bottom { margin-top: 48px; border-top: 1px solid rgba(255, 255, 255, .08); padding: 22px 0 28px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .84rem; }
.footer-bottom p { margin: 0; }

.mobile-bar { display: none; }

/* ---------- reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  * { transition: none !important; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .nav-list > li > a { padding: 10px 9px; font-size: .9rem; }
  .header-cta .btn-ghost { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .related { grid-template-columns: repeat(2, 1fr); }
  .with-aside { grid-template-columns: minmax(0, 1fr) 300px; gap: 32px; }
  .with-aside.toc-left { grid-template-columns: 220px minmax(0, 1fr); }
}

@media (max-width: 960px) {
  :root { --header-h: 64px; }
  body { font-size: 17px; }
  .menu-btn { display: grid; place-items: center; }
  .header-cta { display: none; }
  .nav {
    position: fixed; inset: var(--header-h) 0 0; background: var(--navy-950); overflow-y: auto;
    padding: 16px 20px 120px; margin: 0;
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s ease, transform .25s ease, visibility .25s;
  }
  .menu-open .nav { opacity: 1; visibility: visible; transform: none; }
  .menu-open { overflow: hidden; }
  .nav-list { flex-direction: column; gap: 0; }
  .nav-list > li { border-bottom: 1px solid rgba(255, 255, 255, .07); display: flex; flex-wrap: wrap; align-items: center; }
  .nav-list > li > a { flex: 1; padding: 15px 4px; font-size: 1.05rem; }
  .sub-toggle { display: grid; place-items: center; width: 44px; height: 44px; background: transparent; border: 0; color: var(--gold-400); font-size: 1.2rem; cursor: pointer; transition: transform .2s; }
  .has-sub.open .sub-toggle { transform: rotate(180deg); }
  .sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; background: transparent; padding: 0 0 12px 8px; min-width: 0; width: 100%; display: none; }
  .has-sub.open > .sub { display: block; }
  .sub a { color: #b9c3d8; }
  .sub a:hover { background: rgba(255, 255, 255, .05); color: var(--gold-400); }

  .hero { padding: 48px 0 72px; }
  .hero-grid, .page-hero-grid, .split { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .split.reverse > :first-child { order: 0; }
  .hero-visual { width: min(100%, 340px); }
  .hero-badge.b1 { left: -8px; }
  .hero-badge.b2 { right: -8px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .g3, .g4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .steps.s4 { grid-template-columns: 1fr 1fr; }
  .flow { grid-template-columns: 1fr; gap: 18px; }
  .flow::before { top: 0; bottom: 0; left: 27px; right: auto; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--gold-400) 0 8px, transparent 8px 14px); }
  .flow-step { display: grid; grid-template-columns: 56px 1fr; gap: 0 18px; text-align: left; padding: 0; }
  .flow-step::before { grid-row: span 2; margin: 0; }
  .flow-step h3 { margin-top: 6px; }
  .with-aside, .with-aside.toc-left { grid-template-columns: minmax(0, 1fr); }
  .aside-sticky { position: static; }
  .toc-left .toc { display: none; }
  .trouble, .pros-cons, .vs-cards, .g2 { grid-template-columns: minmax(0, 1fr); }
  .cta-band { flex-direction: column; align-items: flex-start; padding: 36px 28px; }
  .section { padding: 60px 0; }

  .mobile-bar {
    display: grid; grid-template-columns: repeat(2, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    background: rgba(7, 15, 34, .97); border-top: 1px solid rgba(201, 162, 74, .25); padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
    gap: 8px;
  }
  .mobile-bar a { text-align: center; padding: 10px 6px; border-radius: 10px; font-size: .9rem; font-weight: 600; text-decoration: none; color: #dfe5f2; border: 1px solid rgba(255, 255, 255, .12); }
  .mobile-bar a.primary { background: linear-gradient(135deg, var(--gold-400), var(--gold-600)); color: var(--navy-950); border: 0; }
  body { padding-bottom: 68px; }
}

@media (max-width: 620px) {
  .wrap, .wrap-narrow { width: min(100% - 32px, var(--wrap)); }
  .topbar-links a:not(:first-child) { display: none; }
  .topbar .wrap > span { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .topbar-links { flex-shrink: 0; }
  .g3, .g4, .related, .glossary, .steps.s4 { grid-template-columns: 1fr; }
  .glossary div:nth-child(odd) { border-right: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .facts { grid-template-columns: 1fr 1fr; padding: 18px; }
  .bar-row { grid-template-columns: 100px 1fr 36px; font-size: .86rem; }
  .bar-row.pair { grid-template-columns: 92px 1fr 66px; }
  .ladder { grid-template-columns: repeat(2, 1fr); }
  .cat-card img { width: 72px; height: 72px; }
  .callout { padding: 18px 18px 18px 52px; }
  .callout::before { left: 14px; }
  .verdict-head { flex-wrap: wrap; }
  .timeline > li { padding-left: 60px; }
  .hero-badge { display: none; }
  .rg-note { flex-direction: column; align-items: flex-start; }
  .kv div { grid-template-columns: 1fr; gap: 2px; padding: 12px 18px; }
}
