/* ==========================================================================
   Coin Fusion Perú — design system
   Mobile first · tokens → base → layout → components → utilities
   ========================================================================== */

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("../fonts/bricolage-grotesque.woff2") format("woff2");
  font-weight: 600 800;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("../fonts/figtree.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --bg: #10051f;
  --bg-2: #170830;
  --surface: #1e0c3b;
  --surface-2: #281150;
  --glass: rgb(255 255 255 / .045);
  --line: rgb(255 255 255 / .09);
  --line-2: rgb(255 255 255 / .17);

  --text: #f7f2ff;
  --muted: #cdc2e8;
  --soft: #b8acd9;

  --gold: #ffc531;
  --gold-2: #ffe07a;
  --gold-3: #f29b00;
  --gold-ink: #2b1500;
  --green: #3be37a;
  --green-2: #19a94a;
  --green-ink: #032412;
  --red: #ff6b57;
  --violet: #7b2ff7;
  --magenta: #d25bff;

  --ff-display: "Bricolage Grotesque", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ff-text: "Figtree", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --step--1: clamp(.84rem, .82rem + .1vw, .9rem);
  --step-0: clamp(1rem, .97rem + .15vw, 1.075rem);
  --step-1: clamp(1.18rem, 1.08rem + .45vw, 1.42rem);
  --step-2: clamp(1.45rem, 1.22rem + 1vw, 2.05rem);
  --step-3: clamp(1.85rem, 1.45rem + 1.9vw, 3rem);
  --step-4: clamp(2.15rem, 1.55rem + 2.9vw, 3.85rem);

  --r-s: 10px;
  --r: 18px;
  --r-l: 28px;
  --container: 1200px;
  --gutter: clamp(16px, 4.2vw, 36px);
  --header-h: 64px;
  --shadow: 0 24px 60px -24px rgb(0 0 0 / .75);
  --ease: cubic-bezier(.22, .8, .24, 1);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  display: flex; flex-direction: column;
  margin: 0;
  min-height: 100vh;
  font: 400 var(--step-0)/1.68 var(--ff-text);
  color: var(--text);
  background: var(--bg);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg, picture { display: block; max-width: 100%; height: auto; }
a { color: var(--gold-2); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: #fff; }
h1, h2, h3 { font-family: var(--ff-display); line-height: 1.12; letter-spacing: -.02em; margin: 0; text-wrap: balance; }
p, li { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
table { border-collapse: collapse; width: 100%; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--gold); color: var(--gold-ink); }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link {
  position: fixed; left: 12px; top: -60px; z-index: 100;
  padding: 10px 16px; border-radius: var(--r-s);
  background: var(--gold); color: var(--gold-ink); font-weight: 700; text-decoration: none;
  transition: top .2s;
}
.skip-link:focus { top: 12px; }

/* ---------- buttons ---------- */
.btn {
  --btn-bg: var(--glass);
  --btn-fg: var(--text);
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: .8em 1.35em;
  border: 0; border-radius: 14px;
  background: var(--btn-bg); color: var(--btn-fg);
  font: 700 1rem/1.1 var(--ff-display); letter-spacing: .005em;
  text-decoration: none; white-space: nowrap;
  isolation: isolate; overflow: hidden;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s;
}
.btn svg { width: 1.15em; height: 1.15em; flex: none; transition: transform .25s var(--ease); }
.btn:hover { transform: translateY(-2px); color: var(--btn-fg); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: translateY(0); }
.btn--gold {
  --btn-fg: var(--gold-ink);
  background: linear-gradient(180deg, var(--gold-2), var(--gold) 45%, var(--gold-3));
  box-shadow: 0 1px 0 rgb(255 255 255 / .55) inset, 0 -2px 0 rgb(122 51 0 / .35) inset, 0 14px 30px -12px rgb(255 170 0 / .8);
}
.btn--gold::after {
  content: ""; position: absolute; inset: 0 auto 0 -60%; width: 45%; z-index: -1;
  background: linear-gradient(100deg, transparent, rgb(255 255 255 / .55), transparent);
  transform: skewX(-20deg); transition: left .6s var(--ease);
}
.btn--gold:hover::after { left: 120%; }
.btn--green {
  --btn-fg: var(--green-ink);
  background: linear-gradient(180deg, #7dffaa, var(--green) 50%, var(--green-2));
  box-shadow: 0 1px 0 rgb(255 255 255 / .5) inset, 0 14px 30px -14px rgb(59 227 122 / .8);
}
.btn--ghost { --btn-fg: var(--gold-2); background: transparent; box-shadow: inset 0 0 0 1.5px rgb(255 197 49 / .55); }
.btn--ghost:hover { background: rgb(255 197 49 / .08); }
.btn--sm { min-height: 40px; padding: .55em 1em; font-size: .92rem; border-radius: 12px; }
.btn--lg { min-height: 56px; padding: .95em 1.7em; font-size: 1.08rem; }
.btn--block { width: 100%; }

/* ---------- chips / eyebrow ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .5em;
  padding: .42em .9em; border-radius: 999px;
  font: 800 .76rem/1 var(--ff-display); letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold); background: rgb(255 197 49 / .1); box-shadow: inset 0 0 0 1px rgb(255 197 49 / .3);
}
.eyebrow--green { color: var(--green); background: rgb(59 227 122 / .1); box-shadow: inset 0 0 0 1px rgb(59 227 122 / .3); }
.eyebrow__dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 10px currentColor; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.chips li {
  padding: .45em .85em; border-radius: 999px;
  font: 700 .78rem/1 var(--ff-display); letter-spacing: .06em; text-transform: uppercase;
  color: var(--muted); background: var(--glass); box-shadow: inset 0 0 0 1px var(--line-2);
}

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgb(16 5 31 / .78);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid var(--line);
}
.site-header__in { display: flex; align-items: center; gap: 12px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; margin-right: auto; color: var(--text); text-decoration: none; }
.brand svg { width: 46px; height: 46px; transition: transform .3s var(--ease); }
.brand:hover svg { transform: rotate(-8deg) scale(1.05); }
.brand__name { font: 800 1.12rem/1 var(--ff-display); letter-spacing: -.02em; }
.brand__name span { color: var(--gold); }
.brand__tag { display: block; margin-top: 3px; font: 600 .75rem/1 var(--ff-text); letter-spacing: .16em; text-transform: uppercase; color: var(--soft); }
.nav-toggle {
  display: inline-grid; place-items: center; width: 44px; height: 44px;
  border: 0; border-radius: 12px; background: var(--glass); box-shadow: inset 0 0 0 1px var(--line-2);
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--text);
  transition: transform .3s var(--ease), opacity .2s;
}
.nav-toggle span { position: relative; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }
.site-nav {
  position: absolute; inset: 100% 0 auto; padding: 10px var(--gutter) 22px;
  background: #12051f; border-bottom: 1px solid var(--line); box-shadow: 0 30px 40px rgb(0 0 0 / .5);
  display: none;
}
.site-nav.is-open { display: block; animation: drop .3s var(--ease); }
.site-nav ul { list-style: none; display: grid; gap: 2px; }
.site-nav li > a {
  display: block; padding: .8em .9em; border-radius: 12px;
  color: var(--muted); font: 600 1rem/1.2 var(--ff-display); text-decoration: none;
}
.site-nav li > a:hover { color: var(--text); background: var(--glass); }
.site-nav li > a[aria-current="page"] { color: var(--gold); background: rgb(255 197 49 / .09); }
.site-header__cta { display: none; }
@keyframes drop { from { opacity: 0; transform: translateY(-8px); } }

.site-nav__cta { display: grid; gap: 10px; margin-top: 12px; padding-top: 16px; border-top: 1px solid var(--line); }
.site-nav__cta p { font-size: .9rem; text-align: center; color: var(--muted); }
.site-nav__cta strong { color: var(--gold-2); letter-spacing: .04em; }
@media (min-width: 1024px) { .site-nav__cta { display: none; } }

/* ---------- breadcrumbs ---------- */
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: var(--step--1); color: var(--soft); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: rgb(255 255 255 / .25); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--gold); }

/* ---------- hero ---------- */
.hero {
  position: relative; isolation: isolate;
  padding-block: 22px clamp(44px, 7vw, 88px);
  background:
    radial-gradient(900px 520px at 85% -8%, rgb(210 91 255 / .28), transparent 62%),
    radial-gradient(700px 480px at -5% 18%, rgb(123 47 247 / .35), transparent 60%),
    linear-gradient(180deg, #170735, var(--bg));
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(rgb(255 255 255 / .09) 1px, transparent 1.5px);
  background-size: 26px 26px;
  mask-image: linear-gradient(180deg, #000, transparent 80%);
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 80%);
}
.hero .crumbs { margin-bottom: clamp(18px, 3vw, 34px); }
.hero__grid { display: grid; gap: clamp(28px, 4vw, 56px); align-items: start; }
.hero__text { display: flex; flex-direction: column; gap: 18px; }
.hero__text > .eyebrow { align-self: flex-start; }
.hero__text > .hero__actions { order: 1; }
.hero__text > .hero__note, .hero__text > .cards, .hero__text > .quick { order: 2; }
.hero__text > .chips { order: 3; }
.hero__text > .byline, .hero__text > .updated { order: 4; }
.hero__title { font-size: var(--step-4); font-weight: 800; }
.hero__title--md { font-size: clamp(2rem, 1.45rem + 2.3vw, 3.25rem); }
.hero__title .hl {
  background: linear-gradient(180deg, var(--gold-2), var(--gold) 55%, var(--gold-3));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__title .hl--green { background-image: linear-gradient(180deg, #a6ffc6, var(--green)); }
.hero__lead { font-size: var(--step-1); line-height: 1.55; color: var(--muted); max-width: 62ch; }
.hero__note { color: var(--soft); max-width: 62ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 6px; }
.hero__media { position: relative; margin: 0; }
.hero__media img { width: 100%; border-radius: var(--r-l); box-shadow: var(--shadow), 0 0 0 1px var(--line-2); }
.hero__media--glow::before {
  content: ""; position: absolute; inset: 8% 6%; z-index: -1; border-radius: 50%;
  background: radial-gradient(closest-side, rgb(255 197 49 / .45), transparent);
  filter: blur(30px);
}

/* hero facts */
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 14px 0 0; }
.facts div { padding: 14px 14px 12px; border-radius: var(--r); background: var(--glass); box-shadow: inset 0 0 0 1px var(--line); }
.facts dt { font: 800 .75rem/1.2 var(--ff-display); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.facts dd { margin: 6px 0 0; font: 800 1.05rem/1.15 var(--ff-display); }

/* byline */
.byline { display: flex; align-items: center; gap: 12px; font-size: var(--step--1); color: var(--soft); }
.byline__avatar { width: 42px; height: 42px; flex: none; }
.byline a { color: var(--text); font-weight: 700; text-decoration: none; }
.byline a:hover { color: var(--gold); }
.byline time { color: var(--muted); }

/* ---------- trust strip ---------- */
.trust { border-block: 1px solid var(--line); background: rgb(255 255 255 / .02); }
.trust ul { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 18px; padding-block: 18px; }
.trust li { display: flex; align-items: center; gap: 10px; font-size: .88rem; line-height: 1.3; color: var(--muted); }
.trust svg { width: 26px; height: 26px; flex: none; color: var(--green); }
.trust strong { color: var(--text); font-weight: 700; display: block; }

/* ---------- layout ---------- */
.section { padding-block: clamp(48px, 7vw, 96px); }
.section--tight { padding-block: clamp(36px, 5vw, 64px); }
.section--alt { background: linear-gradient(180deg, var(--bg-2), var(--bg)); border-block: 1px solid var(--line); }
.section__head { max-width: 760px; margin-bottom: clamp(24px, 4vw, 40px); }
.section__head > * + * { margin-top: 14px; }
.section__head--center { margin-inline: auto; text-align: center; }
.section__title { font-size: var(--step-3); font-weight: 800; }
.section__intro { text-wrap: balance; color: var(--muted); font-size: var(--step-1); line-height: 1.55; }

.layout { display: grid; gap: 48px; padding-block: clamp(40px, 6vw, 80px); }
.side { display: none; }

/* ---------- prose ---------- */
.prose { min-width: 0; max-width: 760px; }
.prose > * + *, .prose .split > div > * + * { margin-top: 1.05em; }
.prose > .code { max-width: 420px; }
.nowrap { white-space: nowrap; }
main { flex: 1 0 auto; }
.prose h2 {
  font-size: var(--step-2); font-weight: 800; margin-top: 2.4em; padding-top: .2em;
  scroll-margin-top: calc(var(--header-h) + 20px);
}
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: var(--step-1); font-weight: 700; margin-top: 1.8em; color: #fff; }
.prose h2 + p, .prose h3 + p { margin-top: .7em; }
.prose p { color: #e9e2fa; }
.prose strong { color: #fff; font-weight: 700; }
.prose ul, .prose ol { padding-left: 0; list-style: none; display: grid; gap: .55em; }
.prose ul > li { position: relative; padding-left: 1.6em; }
.prose ul > li::before {
  content: ""; position: absolute; left: .2em; top: .62em; width: .58em; height: .58em; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, var(--gold-2), var(--gold) 45%, var(--gold-3));
  box-shadow: 0 0 0 2px rgb(255 197 49 / .18);
}
.prose ol { counter-reset: step; }
.prose ol > li { position: relative; padding: .1em 0 .1em 2.6em; counter-increment: step; min-height: 1.9em; }
.prose ol > li::before {
  content: counter(step); position: absolute; left: 0; top: .05em;
  display: grid; place-items: center; width: 1.85em; height: 1.85em; border-radius: 50%;
  font: 800 .86rem/1 var(--ff-display); color: var(--green-ink);
  background: linear-gradient(180deg, #8dffb5, var(--green));
}
.prose a:not(.btn) { color: var(--gold-2); font-weight: 600; }

/* tables */
.table-wrap {
  overflow-x: auto; border-radius: var(--r); background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line-2), var(--shadow);
  -webkit-overflow-scrolling: touch;
}
.table-wrap:focus-visible { outline-offset: 2px; }
.table-wrap table { min-width: 540px; font-size: .95rem; }
.table-wrap caption { padding: 16px 18px 12px; text-align: left; font: 700 .8rem/1.3 var(--ff-display); letter-spacing: .1em; text-transform: uppercase; color: var(--soft); caption-side: top; }
.table-wrap th, .table-wrap td { padding: 13px 18px; text-align: left; vertical-align: top; }
.table-wrap thead th {
  font: 800 .78rem/1.2 var(--ff-display); letter-spacing: .1em; text-transform: uppercase;
  color: var(--gold); background: linear-gradient(180deg, #3a1677, #2a0f58);
}
.table-wrap tbody tr { border-top: 1px solid var(--line); }
.table-wrap tbody tr:nth-child(even) { background: rgb(255 255 255 / .025); }
.table-wrap tbody th { min-width: 11em; font-weight: 700; color: #fff; }
.table-wrap td { color: var(--muted); }
.table-wrap .yes { color: var(--green); font-weight: 700; }
.table-wrap .no { color: var(--red); font-weight: 700; }
.table-wrap--compare thead th:nth-child(2) { color: var(--green); }

/* figures */
figure { margin: 0; }
.shot { margin-block: 2em; }
.shot--zoom a { display: block; cursor: zoom-in; }
.shot img { width: 100%; border-radius: var(--r-l); box-shadow: var(--shadow), 0 0 0 1px var(--line-2); background: var(--surface); }
.shot figcaption { text-wrap: pretty; margin-top: 12px; padding-left: 14px; border-left: 2px solid var(--gold); font-size: var(--step--1); color: var(--soft); }
.split { display: grid; gap: 22px; align-items: start; margin-block: 2em; }
.split .shot { margin: 0; }

/* callouts */
.callout {
  position: relative; display: grid; grid-template-columns: auto 1fr; gap: 14px;
  padding: 18px 20px; border-radius: var(--r);
  background: linear-gradient(90deg, rgb(255 197 49 / .1), rgb(255 197 49 / .02));
  box-shadow: inset 3px 0 0 var(--gold), inset 0 0 0 1px rgb(255 197 49 / .18);
}
.callout svg { width: 26px; height: 26px; color: var(--gold); }
.callout p { color: var(--muted); }
.callout strong { color: #fff; }
.callout--green { background: linear-gradient(90deg, rgb(59 227 122 / .1), rgb(59 227 122 / .02)); box-shadow: inset 3px 0 0 var(--green), inset 0 0 0 1px rgb(59 227 122 / .18); }
.callout--green svg { color: var(--green); }
.callout--red { background: linear-gradient(90deg, rgb(255 107 87 / .1), rgb(255 107 87 / .02)); box-shadow: inset 3px 0 0 var(--red), inset 0 0 0 1px rgb(255 107 87 / .2); }
.callout--red svg { color: var(--red); }

/* definition block (GEO) */
.define {
  padding: 20px 22px; border-radius: var(--r);
  background: var(--glass); box-shadow: inset 0 0 0 1px var(--line-2);
}
.define dt { font: 800 1.05rem/1.3 var(--ff-display); color: var(--gold-2); }
.define dd { margin: 6px 0 0; color: var(--muted); }
.define dd + dt { margin-top: 14px; }

/* symbol cards */
.symbols { display: grid; gap: 12px; list-style: none; padding: 0; }
.prose .symbols > li { padding: 16px 18px 16px 64px; border-radius: var(--r); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.prose .symbols > li::before {
  left: 18px; top: 18px; width: 30px; height: 30px; box-shadow: none;
  background: var(--sym, var(--gold));
  -webkit-mask: var(--icon) center / contain no-repeat; mask: var(--icon) center / contain no-repeat;
}

/* inline CTA strip */
.cta-strip {
  display: grid; gap: 16px; align-items: center;
  padding: 20px 22px; border-radius: var(--r-l);
  background:
    radial-gradient(400px 160px at 100% 0, rgb(59 227 122 / .22), transparent 70%),
    linear-gradient(135deg, #22104a, #170833);
  box-shadow: inset 0 0 0 1px rgb(59 227 122 / .28);
}
.cta-strip p { color: var(--muted); }
.cta-strip strong { display: block; color: #fff; font: 800 1.12rem/1.25 var(--ff-display); margin-bottom: 4px; }

/* CTA card with logo */
.cta-card {
  position: relative; display: grid; gap: 18px; justify-items: start;
  padding: 26px; border-radius: var(--r-l); overflow: hidden; isolation: isolate;
  background: linear-gradient(150deg, #3b0f86 0%, #24094f 55%, #13052a 100%);
  box-shadow: 0 0 0 1px rgb(255 197 49 / .35), var(--shadow);
}
.cta-card::before {
  content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; z-index: -1; border-radius: 50%;
  background: radial-gradient(closest-side, rgb(255 197 49 / .45), transparent);
}
.cta-card img { width: 110px; }
.cta-card .cta-card__title + p { margin-top: 8px; }
.cta-card h3, .cta-card .cta-card__title { font: 800 var(--step-1)/1.2 var(--ff-display); color: #fff; margin: 0; text-wrap: balance; }
.cta-card p { color: var(--muted); }

/* pros / cons */
.proscons { display: grid; gap: 16px; }
.proscons__col { padding: 24px; border-radius: var(--r-l); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.proscons__col h3 { display: flex; align-items: center; gap: 10px; font-size: var(--step-1); margin-bottom: 16px; }
.proscons__col h3 svg { width: 28px; height: 28px; }
.proscons__col--pro { box-shadow: inset 0 3px 0 var(--green), inset 0 0 0 1px var(--line); }
.proscons__col--pro h3 svg { color: var(--green); }
.proscons__col--con { box-shadow: inset 0 3px 0 var(--red), inset 0 0 0 1px var(--line); }
.proscons__col--con h3 svg { color: var(--red); }
.proscons ul { list-style: none; display: grid; gap: 12px; }
.proscons li { position: relative; padding-left: 30px; color: var(--muted); line-height: 1.5; }
.proscons li::before { content: ""; position: absolute; left: 0; top: .2em; width: 18px; height: 18px; border-radius: 6px; }
.proscons__col--pro li::before { background: rgb(59 227 122 / .16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%233be37a' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }
.proscons__col--con li::before { background: rgb(255 107 87 / .16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10h8' fill='none' stroke='%23ff6b57' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") center/14px no-repeat; }
.proscons strong { color: #fff; }

/* stats band */
.stats { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.stats li {
  position: relative; padding: 22px 18px 18px; border-radius: var(--r-l); overflow: hidden;
  background: var(--surface); box-shadow: inset 0 0 0 1px var(--line);
}
.stats li::after { content: ""; position: absolute; inset: auto -30% -60% auto; width: 140px; height: 140px; border-radius: 50%; background: radial-gradient(closest-side, var(--tint, rgb(255 197 49 / .25)), transparent); }
.stats__num { display: block; font: 800 clamp(1.9rem, 1.4rem + 2.2vw, 3rem)/1 var(--ff-display); letter-spacing: -.03em; color: var(--tone, var(--gold)); }
.stats__label { display: block; margin-top: 10px; font-size: .9rem; line-height: 1.35; color: var(--muted); }
.stats li:nth-child(2) { --tone: var(--green); --tint: rgb(59 227 122 / .22); }
.stats li:nth-child(3) { --tone: var(--magenta); --tint: rgb(210 91 255 / .22); }
.stats li:nth-child(4) { --tone: #8ec5ff; --tint: rgb(142 197 255 / .2); }
.stats li:first-child { background: linear-gradient(135deg, #3b1180, #1e0c3b 70%); }

/* reviews */
.reviews { display: grid; gap: 18px; }
.score {
  display: grid; gap: 10px; align-content: start;
  padding: 26px; border-radius: var(--r-l);
  background: linear-gradient(160deg, #2f0f6a, #1a0838);
  box-shadow: inset 0 0 0 1px rgb(255 197 49 / .3);
}
.score .score__value { font: 800 4rem/1 var(--ff-display); letter-spacing: -.04em; color: var(--gold); }
.score .eyebrow { justify-self: start; }
.score .score__value small { font-size: 1.2rem; color: var(--soft); letter-spacing: 0; }
.score p { color: var(--muted); font-size: .92rem; }
.stars { --pct: 90%; position: relative; display: inline-block; width: 120px; height: 22px; background: rgb(255 255 255 / .16); -webkit-mask: var(--star-mask); mask: var(--star-mask); }
.stars::before { content: ""; position: absolute; inset: 0; width: var(--pct); background: linear-gradient(180deg, var(--gold-2), var(--gold-3)); }
:root { --star-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 22'%3E%3Cg%3E%3Cpath id='s' d='M11 1l3 6.6 7 .7-5.3 4.8 1.6 7L11 16.4 4.7 20.1l1.6-7L1 8.3l7-.7z'/%3E%3Cuse href='%23s' x='24.5'/%3E%3Cuse href='%23s' x='49'/%3E%3Cuse href='%23s' x='73.5'/%3E%3Cuse href='%23s' x='98'/%3E%3C/g%3E%3C/svg%3E") left center / 120px 22px no-repeat; }
.review {
  display: flex; flex-direction: column; gap: 12px;
  padding: 24px; border-radius: var(--r-l);
  background: var(--surface); box-shadow: inset 0 0 0 1px var(--line);
  transition: transform .3s var(--ease), box-shadow .3s;
}
.review:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px var(--line-2), var(--shadow); }
.review__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.review__mark { font: 800 1.5rem/1 var(--ff-display); color: var(--gold); }
.review h3 { font-size: 1.15rem; }
.review p { color: var(--muted); font-size: .96rem; }
.review footer { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); font-size: .82rem; color: var(--soft); }

/* faq */
.faq { display: grid; gap: 10px; max-width: 860px; margin-inline: 0; }
.faq details { border-radius: var(--r); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .25s; }
.faq details[open] { box-shadow: inset 0 0 0 1px rgb(255 197 49 / .4); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 20px; list-style: none; cursor: pointer; border-radius: var(--r);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { font: 700 1.04rem/1.35 var(--ff-display); letter-spacing: -.01em; }
.faq summary::after {
  content: ""; flex: none; width: 30px; height: 30px; border-radius: 50%;
  background: rgb(255 197 49 / .12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 8l5 5 5-5' fill='none' stroke='%23ffc531' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat;
  transition: transform .3s var(--ease);
}
.faq details[open] summary::after { transform: rotate(180deg); }
.faq__a { padding: 0 20px 20px; color: var(--muted); }

/* author */
.author {
  display: grid; gap: 18px; padding: 26px; border-radius: var(--r-l);
  background: linear-gradient(135deg, rgb(255 255 255 / .05), rgb(255 255 255 / .015));
  box-shadow: inset 0 0 0 1px var(--line-2);
}
.author__head { display: flex; align-items: center; gap: 16px; }
.author__avatar { width: 72px; height: 72px; flex: none; }
.author__name { font: 800 1.25rem/1.2 var(--ff-display); }
.author__role { color: var(--gold); font-size: .9rem; font-weight: 600; }
.author p { color: var(--muted); }
.author__meta { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: .86rem; color: var(--soft); }
.author__meta b { color: var(--text); font-weight: 600; }

/* related bento */
.related { list-style: none; display: grid; gap: 12px; }
.related a {
  display: flex; flex-direction: column;
  position: relative; gap: 8px; height: 100%;
  padding: 22px; border-radius: var(--r-l); overflow: hidden;
  background: var(--surface); box-shadow: inset 0 0 0 1px var(--line);
  color: var(--text); text-decoration: none;
  transition: transform .3s var(--ease), box-shadow .3s, background .3s;
}
.related a:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px rgb(255 197 49 / .5), var(--shadow); background: var(--surface-2); }
.related__num { font: 800 .78rem/1 var(--ff-display); letter-spacing: .16em; color: var(--gold); }
.related__title { font: 800 1.2rem/1.2 var(--ff-display); }
.related__text { color: var(--muted); font-size: .92rem; line-height: 1.5; }
.related__go { margin-top: auto; padding-top: 6px; font: 700 .85rem/1 var(--ff-display); color: var(--gold-2); }

/* final CTA */
.final {
  position: relative; isolation: isolate; overflow: hidden;
  padding-block: clamp(56px, 8vw, 110px);
  text-align: center;
  background:
    radial-gradient(600px 300px at 50% 0, rgb(255 197 49 / .25), transparent 70%),
    radial-gradient(800px 400px at 50% 120%, rgb(59 227 122 / .18), transparent 70%),
    linear-gradient(180deg, #1d0a40, #10051f);
  border-top: 1px solid var(--line);
}
.final__logo { width: 150px; margin: 0 auto 18px; filter: drop-shadow(0 18px 30px rgb(0 0 0 / .55)); animation: float 6s ease-in-out infinite; }
.final h2 { font-size: var(--step-3); font-weight: 800; }
.final p { max-width: 56ch; margin: 14px auto 0; color: var(--muted); }
.final__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 26px; }
.final .final__legal { margin-top: 18px; font-size: .82rem; color: var(--soft); }
@keyframes float { 50% { transform: translateY(-8px) rotate(-2deg); } }

/* ---------- live simulator ---------- */
.live {
  padding: 18px; border-radius: var(--r-l);
  background: linear-gradient(160deg, #2a0d5f, #150630 70%);
  box-shadow: inset 0 0 0 1px var(--line-2), var(--shadow);
}
.live__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.live__status { display: inline-flex; align-items: center; gap: 8px; font: 800 .78rem/1 var(--ff-display); letter-spacing: .14em; text-transform: uppercase; color: var(--green); }
.live__status i { width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgb(59 227 122 / .6); animation: pulse 1.8s infinite; }
.live.is-paused .live__status { color: var(--soft); }
.live.is-paused .live__status i { background: var(--soft); animation: none; }
.live__board { display: grid; grid-template-columns: 1fr; gap: 16px; }
.live__grid {
  container-type: inline-size;
  margin-inline: auto;
  display: grid; grid-auto-flow: column; grid-template-rows: repeat(3, auto); grid-auto-columns: minmax(0, 1fr); gap: 6px;
  padding: 10px; border-radius: 16px; background: rgb(0 0 0 / .28);
  box-shadow: inset 0 0 0 1px rgb(255 197 49 / .35);
  max-width: calc(var(--cols, 3) * 92px + 20px);
}
.live__cell {
  aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%;
  font: 800 clamp(.82rem, calc(22cqi / var(--cols, 3)), 1.5rem)/1 var(--ff-display); color: #5a1d00;
  background: rgb(255 255 255 / .04); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .06);
}
.live__cell.is-coin { background: radial-gradient(circle at 35% 30%, #fff3b0, var(--gold) 45%, var(--gold-3)); box-shadow: 0 4px 10px rgb(0 0 0 / .35); animation: pop .4s var(--ease); }
.live__cell.is-double { color: #fff; background: radial-gradient(circle at 35% 30%, #8ec5ff, #2a6ae0 60%, #123a8f); animation: pop .4s var(--ease); }
.live__cell.is-collector { color: #fff; background: radial-gradient(circle at 35% 30%, #f1a6ff, var(--magenta) 55%, #6c1aa8); animation: pop .4s var(--ease); }
.live__cell.is-new { animation: slide .45s var(--ease); }
.live__meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.live__meta div { padding: 10px 12px; border-radius: 12px; background: rgb(255 255 255 / .05); }
.live__meta dt { font: 700 .76rem/1.2 var(--ff-display); letter-spacing: .12em; text-transform: uppercase; color: var(--soft); }
.live__meta dd { margin: 4px 0 0; font: 800 1.15rem/1 var(--ff-display); color: var(--gold-2); }
.live__log { list-style: none; display: grid; gap: 6px; max-height: 172px; overflow: hidden; font-size: .86rem; }
.prose .live__log > li { padding: 7px 10px 7px 28px; border-radius: 10px; background: rgb(255 255 255 / .04); color: var(--muted); animation: in .35s var(--ease); }
.prose .live__log > li::before { left: 10px; top: 13px; width: 8px; height: 8px; }
.live__foot { margin-top: 12px; font-size: .8rem; color: var(--soft); }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgb(59 227 122 / 0); } 100% { box-shadow: 0 0 0 0 rgb(59 227 122 / 0); } }
@keyframes pop { from { transform: scale(.4); opacity: 0; } }
@keyframes slide { from { transform: translateX(-12px); opacity: 0; } }
@keyframes in { from { transform: translateY(-6px); opacity: 0; } }

/* ---------- calculator ---------- */
.calc {
  padding: 24px; border-radius: var(--r-l);
  background: linear-gradient(160deg, rgb(255 255 255 / .08), rgb(255 255 255 / .02));
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: inset 0 0 0 1px var(--line-2), var(--shadow);
}
.calc__title { font: 800 1.2rem/1.2 var(--ff-display); }
.calc__row { display: grid; gap: 8px; margin-top: 18px; }
.calc label { font: 700 .82rem/1.2 var(--ff-display); letter-spacing: .06em; text-transform: uppercase; color: var(--soft); }
.calc select, .calc input[type="range"] { width: 100%; }
.calc select {
  min-height: 48px; padding: 0 14px; border: 0; border-radius: 12px;
  font: 700 1rem var(--ff-text); color: var(--text); background: var(--surface-2);
  box-shadow: inset 0 0 0 1px var(--line-2);
}
.calc input[type="range"] { -webkit-appearance: none; appearance: none; height: 32px; background: transparent; cursor: pointer; }
.calc input[type="range"]::-webkit-slider-runnable-track { height: 6px; border-radius: 99px; background: linear-gradient(90deg, var(--gold) var(--fill, 33%), rgb(255 255 255 / .16) var(--fill, 33%)); }
.calc input[type="range"]::-moz-range-track { height: 6px; border-radius: 99px; background: rgb(255 255 255 / .16); }
.calc input[type="range"]::-moz-range-progress { height: 6px; border-radius: 99px; background: var(--gold); }
.calc input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; margin-top: -11px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff3b0, var(--gold) 50%, var(--gold-3)); box-shadow: 0 0 0 4px rgb(255 197 49 / .25), 0 4px 10px rgb(0 0 0 / .4); }
.calc input[type="range"]::-moz-range-thumb { width: 28px; height: 28px; border: 0; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgb(255 197 49 / .25); }
.calc__spins { font: 800 1rem var(--ff-display); color: var(--gold-2); }
.calc__out {
  display: block; margin-top: 20px; padding: 16px 18px; border-radius: 16px;
  background: rgb(0 0 0 / .25); box-shadow: inset 0 0 0 1px rgb(255 197 49 / .3);
}
.calc__out b { display: block; font: 800 2rem/1.1 var(--ff-display); color: var(--gold); }
.calc__out span { display: block; color: var(--muted); font-size: .9rem; }
.calc__out .calc__per { margin-top: 4px; color: var(--gold-2); font-weight: 700; }
.calc__note { margin-top: 12px; font-size: .8rem; color: var(--soft); }

/* ---------- checklist ---------- */
.checklist { padding: 24px; border-radius: var(--r-l); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-2); }
.checklist fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 8px; }
.checklist legend { font: 800 1.15rem/1.2 var(--ff-display); margin-bottom: 12px; }
.checklist label {
  display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start;
  padding: 12px 14px; border-radius: 12px; cursor: pointer; color: var(--muted);
  background: rgb(255 255 255 / .03); transition: background .2s;
}
.checklist label:hover { background: rgb(255 255 255 / .06); }
.checklist input, .calc .calc__check input {
  appearance: none; -webkit-appearance: none; flex: none;
  width: 22px; height: 22px; margin: 1px 0 0; border-radius: 7px; cursor: pointer;
  background: rgb(0 0 0 / .3) center / 14px no-repeat; box-shadow: inset 0 0 0 2px rgb(255 255 255 / .38);
  transition: background-color .2s, box-shadow .2s;
}
.checklist input:checked, .calc .calc__check input:checked {
  background-color: var(--green); box-shadow: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%23032412' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.calc .calc__check input:checked { background-color: var(--gold); }
.checklist__meter { margin-top: 16px; }
.checklist__meter progress { width: 100%; height: 10px; border: 0; border-radius: 99px; overflow: hidden; background: rgb(255 255 255 / .1); accent-color: var(--green); }
.checklist__meter progress::-webkit-progress-bar { background: rgb(255 255 255 / .1); }
.checklist__meter progress::-webkit-progress-value { background: linear-gradient(90deg, var(--green-2), var(--green)); border-radius: 99px; }
.checklist__meter progress::-moz-progress-bar { background: var(--green); }
.checklist__meter output { display: block; margin-top: 8px; font-weight: 700; color: var(--text); }

.checklist label:has(input:checked) { color: var(--text); background: rgb(59 227 122 / .08); box-shadow: inset 0 0 0 1px rgb(59 227 122 / .35); }
.checklist--alert input:checked { background-color: var(--red); }
.checklist--alert label:has(input:checked) { background: rgb(255 107 87 / .09); box-shadow: inset 0 0 0 1px rgb(255 107 87 / .4); }
.checklist--alert .checklist__meter progress { accent-color: var(--red); }
.checklist--alert .checklist__meter progress::-webkit-progress-value { background: linear-gradient(90deg, #ff9a5c, var(--red)); }
.checklist--alert .checklist__meter progress::-moz-progress-bar { background: var(--red); }

/* ---------- platform / step cards ---------- */
.cards { list-style: none; display: grid; gap: 12px; }
.prose .cards > li { padding: 0; }
.prose .cards > li::before { content: none; }
.card {
  display: grid; gap: 8px; align-content: start; height: 100%; padding: 20px; border-radius: var(--r);
  background: var(--surface); box-shadow: inset 0 0 0 1px var(--line);
  color: var(--text); text-decoration: none;
  transition: transform .3s var(--ease), box-shadow .3s;
}
a.card b::after { content: " →"; color: var(--green); }
a.card:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px rgb(59 227 122 / .5); color: var(--text); }
.card svg { width: 34px; height: 34px; color: var(--green); }
.card b { font: 800 1.08rem/1.2 var(--ff-display); }
.card span { color: var(--muted); font-size: .92rem; font-weight: 400; line-height: 1.45; }

/* promo ticket */
.ticket {
  position: relative; padding: 26px 24px; border-radius: var(--r-l); overflow: hidden; isolation: isolate;
  background: linear-gradient(140deg, #ffe07a, #ffc531 40%, #f29b00);
  color: var(--gold-ink); box-shadow: 0 30px 60px -25px rgb(255 160 0 / .7);
}
.ticket::before, .ticket::after { content: ""; position: absolute; top: 50%; width: 30px; height: 30px; margin-top: -15px; border-radius: 50%; background: var(--bg); }
.ticket::before { left: -15px; }
.ticket::after { right: -15px; }
.ticket__kicker { font: 800 .76rem/1 var(--ff-display); letter-spacing: .16em; text-transform: uppercase; opacity: .75; }
.ticket__big { margin-top: 10px; font: 800 clamp(2.4rem, 2rem + 2vw, 3.4rem)/1 var(--ff-display); letter-spacing: -.04em; }
.ticket__text { margin-top: 10px; font-weight: 600; line-height: 1.45; }
.ticket hr { margin: 18px 0; border: 0; border-top: 2px dashed rgb(43 21 0 / .3); }
.ticket ul { list-style: none; display: grid; gap: 6px; font-size: .92rem; font-weight: 600; }
.ticket .btn { margin-top: 18px; --btn-fg: #fff; background: #2b1500; }

/* legend for annotated image */
.legend { list-style: none; display: grid; gap: 8px; counter-reset: pin; }
.prose .legend > li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; padding: 10px 12px; border-radius: 12px; background: var(--surface); counter-increment: pin; }
.prose .legend > li::before {
  content: counter(pin); position: static; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%;
  font: 800 .9rem/1 var(--ff-display); color: var(--gold-ink); background: linear-gradient(180deg, var(--gold-2), var(--gold-3)); box-shadow: none;
}

/* sticky mobile CTA */
.sticky-cta {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40;
  display: flex; align-items: center; gap: 12px;
  padding: 10px 10px 10px 16px; border-radius: 18px;
  background: rgb(22 8 44 / .9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: inset 0 0 0 1px var(--line-2), 0 20px 40px rgb(0 0 0 / .5);
  transform: translateY(150%); transition: transform .4s var(--ease);
}
.sticky-cta.is-visible { transform: none; }
.sticky-cta p { flex: 1; font-size: .82rem; line-height: 1.3; color: var(--muted); }
.sticky-cta b { display: block; color: #fff; font: 800 .95rem/1.2 var(--ff-display); }

/* ---------- aside ---------- */
.side__inner {
  position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 16px;
  max-height: calc(100vh - var(--header-h) - 48px); overflow-y: auto; overscroll-behavior: contain;
  padding: 2px 6px 2px 2px; margin: -2px -6px -2px -2px;
  scrollbar-width: thin; scrollbar-color: rgb(255 255 255 / .18) transparent;
}
.toc { padding: 20px; border-radius: var(--r-l); background: var(--glass); box-shadow: inset 0 0 0 1px var(--line); }
.toc__title { font: 800 .78rem/1 var(--ff-display); letter-spacing: .16em; text-transform: uppercase; color: var(--soft); margin-bottom: 12px; }
.toc ol { list-style: none; display: grid; gap: 2px; counter-reset: toc; }
.toc a {
  display: grid; grid-template-columns: 26px 1fr; gap: 6px; padding: 7px 8px; border-radius: 10px;
  font-size: .88rem; line-height: 1.35; color: var(--muted); text-decoration: none; counter-increment: toc;
}
.toc a::before { content: counter(toc, decimal-leading-zero); font: 800 .72rem/1.9 var(--ff-display); color: var(--soft); }
.toc a:hover { color: var(--text); background: var(--glass); }
.toc a.is-active { color: var(--gold); background: rgb(255 197 49 / .08); }
.toc a.is-active::before { color: var(--gold); }
.side-facts { padding: 20px; border-radius: var(--r-l); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.side-facts dl { display: grid; gap: 10px; margin: 0; }
.side-facts div { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 10px; border-bottom: 1px dashed var(--line-2); font-size: .9rem; }
.side-facts div:last-child { border: 0; padding: 0; }
.side-facts dt { color: var(--soft); }
.side-facts dd { margin: 0; font-weight: 700; text-align: right; }

/* ---------- footer ---------- */
.site-footer { padding-block: 56px; background: #0b0316; border-top: 1px solid var(--line); font-size: .92rem; color: var(--soft); }
.site-footer__grid { display: grid; gap: 32px; }
.site-footer h2 { font: 800 .78rem/1 var(--ff-display); letter-spacing: .16em; text-transform: uppercase; color: var(--text); margin-bottom: 14px; }
.site-footer ul { list-style: none; display: grid; gap: 8px; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer p a { color: var(--text); text-decoration: underline; text-underline-offset: .2em; }
body:has(.sticky-cta) .site-footer { padding-bottom: 110px; }
.site-footer a:hover { color: var(--gold); }
.site-footer p + p { margin-top: 10px; }
.age {
  display: inline-grid; place-items: center; width: 46px; height: 46px; margin-bottom: 12px; border-radius: 50%;
  font: 800 .95rem/1 var(--ff-display); color: #fff; box-shadow: inset 0 0 0 3px var(--red);
}
.site-footer__bottom { display: grid; gap: 8px; margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); font-size: .82rem; }

/* ---------- misc ---------- */
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
html:not(.js) .nav-toggle { display: none; }
html:not(.js) .site-nav { position: static; display: block; width: 100%; padding: 0 0 12px; background: none; border: 0; }
html:not(.js) .site-nav ul { display: flex; flex-wrap: wrap; }
html:not(.js) .site-header__in { flex-wrap: wrap; }
.stars[data-r="3.8"] { --pct: 76%; } .stars[data-r="3.9"] { --pct: 78%; } .stars[data-r="4.0"] { --pct: 80%; }
.stars[data-r="4.1"] { --pct: 82%; } .stars[data-r="4.2"] { --pct: 84%; } .stars[data-r="4.3"] { --pct: 86%; }
.stars[data-r="4.4"] { --pct: 88%; } .stars[data-r="4.5"] { --pct: 90%; } .stars[data-r="4.6"] { --pct: 92%; }
.stars[data-r="4.7"] { --pct: 94%; } .stars[data-r="4.8"] { --pct: 96%; } .stars[data-r="4.9"] { --pct: 98%; }
.stars[data-r="5.0"] { --pct: 100%; }
.author__avatar { border-radius: 50%; }
.prose .define { margin-top: 0; }
.post > .section:first-of-type { padding-top: clamp(40px, 6vw, 80px); }

/* hero variants */
.hero__visual { display: grid; gap: 0; }
.hero__visual .facts { margin-top: 14px; }
.hero--device .hero__media { max-width: 420px; justify-self: center; }
.hero--device .hero__media img { border-radius: 36px; }
.hero--cinema .hero__media { margin-top: clamp(28px, 4vw, 48px); }
.hero__panel { width: 100%; max-width: 460px; justify-self: center; }
.hero .cards { margin-top: 6px; }
.hero .card { padding: 16px; }
@media (max-width: 559px) {
  .hero .cards { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .hero .card { gap: 4px; padding: 12px 10px; text-align: center; justify-items: center; }
  .hero .card svg { width: 26px; height: 26px; }
  .hero .card span { font-size: .78rem; }
  .hero__actions .btn, .final__actions .btn { flex: 1 1 100%; }
  .cta-card .btn, .prose p > .btn { width: 100%; }
  .facts { grid-template-columns: 1fr; gap: 0; padding: 4px 16px; border-radius: var(--r); background: var(--glass); box-shadow: inset 0 0 0 1px var(--line); }
  .facts div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 12px 0; border-radius: 0; background: none; box-shadow: none; }
  .facts div + div { border-top: 1px dashed var(--line-2); }
  .facts dd { margin: 0; text-align: right; }
}
.hero--guide .quick { list-style: none; display: grid; gap: 8px; counter-reset: q; }
.hero--guide .quick li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: center; padding: 10px 14px; border-radius: 14px; background: var(--glass); box-shadow: inset 0 0 0 1px var(--line); counter-increment: q; color: var(--muted); }
.hero--guide .quick li::before { content: counter(q); display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; font: 800 .95rem/1 var(--ff-display); color: var(--green-ink); background: linear-gradient(180deg, #8dffb5, var(--green)); }
.hero--guide .quick b { color: #fff; }

.prose .errors > li::before {
  left: 0; top: .28em; width: 1.15em; height: 1.15em; border-radius: 6px; box-shadow: none;
  background: rgb(255 107 87 / .16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 6l8 8M14 6l-8 8' fill='none' stroke='%23ff6b57' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.calc .calc__check { display: flex; gap: 10px; align-items: center; font: 600 .95rem/1.3 var(--ff-text); letter-spacing: 0; text-transform: none; color: var(--muted); cursor: pointer; }
@media (min-width: 1024px) {
  .hero__grid--rev { grid-template-columns: .95fr 1.05fr; }
  .hero__grid--rev > .hero__text { order: 2; }
}

/* ---------- promo code ---------- */
.code {
  display: flex; align-items: stretch; width: 100%; border-radius: 14px; overflow: hidden;
  background: rgb(0 0 0 / .28); box-shadow: inset 0 0 0 2px rgb(255 197 49 / .7);
}
.code__value {
  flex: 1; display: flex; align-items: center; min-height: 50px; padding: 0 16px;
  font: 800 1.12rem/1 var(--ff-display); letter-spacing: .05em; color: var(--gold-2);
  border-right: 2px dashed rgb(255 197 49 / .5); user-select: all; white-space: nowrap;
}
.code__copy {
  min-width: 104px; padding: 0 16px; border: 0;
  font: 800 .9rem/1 var(--ff-display); color: var(--gold-ink); background: var(--gold);
  transition: background-color .2s, color .2s;
}
.code__copy:hover { background: var(--gold-2); }
.code__copy.is-done { background: var(--green); color: var(--green-ink); }
.promo {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; gap: 18px; align-items: center; padding: 24px; border-radius: var(--r-l);
  background:
    radial-gradient(420px 200px at 0 0, rgb(255 197 49 / .2), transparent 70%),
    radial-gradient(320px 200px at 100% 100%, rgb(59 227 122 / .14), transparent 70%),
    linear-gradient(135deg, #2c0f63, #170732);
  box-shadow: inset 0 0 0 1px rgb(255 197 49 / .42), var(--shadow);
}
.promo__title { margin-top: 12px; font: 800 var(--step-1)/1.2 var(--ff-display); color: #fff; text-wrap: balance; }
.promo__text > p:last-child { margin-top: 8px; color: var(--muted); }
.promo__action { display: grid; gap: 12px; }
.side-promo {
  display: grid; gap: 12px; padding: 18px; border-radius: var(--r-l);
  background: linear-gradient(160deg, #2c0f63, #170732); box-shadow: inset 0 0 0 1px rgb(255 197 49 / .35);
}
.side-promo__label { font: 800 .76rem/1 var(--ff-display); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.side-promo .code__value { font-size: 1rem; padding: 0 12px; }
.side-promo .code__copy { min-width: 84px; }
.final__code { max-width: 380px; margin: 24px auto 0; }
.final .final__code-label { margin: 0 0 10px; font: 800 .78rem/1 var(--ff-display); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.sticky-cta__code { color: var(--gold-2); font-weight: 800; letter-spacing: .03em; }
.site-footer__promo strong { color: var(--gold-2); letter-spacing: .04em; }
.site-footer section ul { margin-top: 14px; }

/* ---------- service pages ---------- */
.hero--page { padding-bottom: clamp(36px, 5vw, 64px); }
.hero--page .hero__text { max-width: 820px; }
.updated { font-size: var(--step--1); color: var(--soft); }
.prose .contact-mail { font: 800 var(--step-1)/1.2 var(--ff-display); }
.sitemap { display: grid; gap: 48px 28px; }
.sitemap__title { font-size: var(--step-1); margin-bottom: 14px; }
.sitemap ul { list-style: none; display: grid; gap: 8px; }
.sitemap li { display: grid; gap: 2px; padding: 14px 18px; border-radius: var(--r); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.sitemap a { font: 700 1.05rem/1.3 var(--ff-display); color: var(--text); text-decoration: none; }
.sitemap a:hover { color: var(--gold); }
.sitemap span { font-size: .9rem; color: var(--muted); }
.redirect { min-height: 100vh; display: grid; align-items: center; }
.redirect .container > * + * { margin-top: 16px; }
@media (min-width: 768px) {
  .promo { grid-template-columns: 1.25fr 1fr; padding: 28px; }
  .sitemap { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- tables on phones: one card per row ---------- */
@media (max-width: 639px) {
  .table-wrap { overflow: visible; background: none; box-shadow: none; }
  .table-wrap table { min-width: 0; }
  .table-wrap thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .table-wrap caption { display: block; padding: 0 0 12px; }
  .table-wrap tbody, .table-wrap tr, .table-wrap tbody th, .table-wrap td { display: block; }
  .table-wrap tbody { display: grid; gap: 10px; }
  .table-wrap tbody tr, .table-wrap tbody tr:nth-child(even) {
    padding: 14px 16px; border: 0; border-radius: var(--r);
    background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-2);
  }
  .table-wrap tbody th { padding: 0 0 10px; margin-bottom: 6px; border-bottom: 1px dashed var(--line-2); font: 800 1.04rem/1.3 var(--ff-display); }
  .table-wrap td { display: grid; grid-template-columns: minmax(0, 36%) 1fr; gap: 12px; padding: 6px 0; }
  .table-wrap td::before { content: attr(data-label); font: 800 .75rem/1.5 var(--ff-display); letter-spacing: .06em; text-transform: uppercase; color: var(--gold); }
}

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

/* ==========================================================================
   breakpoints
   ========================================================================== */
@media (min-width: 560px) {
  .trust ul { grid-template-columns: repeat(4, 1fr); }

  .cta-strip { grid-template-columns: 1fr auto; }
  .cards { grid-template-columns: repeat(3, 1fr); }
  .related { grid-template-columns: repeat(2, 1fr); }
  .related li:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .site-footer__grid { grid-template-columns: repeat(2, 1fr); }
  .live__board { grid-template-columns: 1.35fr 1fr; align-items: start; }
}

@media (min-width: 768px) {
  .proscons { grid-template-columns: 1fr 1fr; }
  .reviews { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr 1fr; gap: 32px; }
  .split--rev > :first-child { order: 2; }
  .cta-card { grid-template-columns: auto 1fr auto; align-items: center; }
  .stats li:first-child { grid-column: span 1; }
  .stats { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
}

@media (min-width: 1024px) {
  :root { --header-h: 74px; }
  .nav-toggle { display: none; }
  .site-nav { position: static; display: block; padding: 0; background: none; border: 0; }
  .site-nav ul { display: flex; gap: 2px; }
  .site-nav li > a { padding: .6em .75em; font-size: .93rem; }
  .site-header__cta { display: inline-flex; margin-left: 10px; }
  .brand { margin-right: auto; }
  .hero__grid { grid-template-columns: 1.08fr .92fr; }
  .hero--device .hero__grid { grid-template-columns: 1.2fr .8fr; }
  .hero--cinema .hero__grid { grid-template-columns: 1fr; }
  .hero:not(.hero--cinema) .hero__grid > :not(.hero__text) { margin-top: clamp(24px, 4vw, 72px); position: sticky; top: calc(var(--header-h) + 24px); }
  .hero--cinema .hero__text { max-width: 880px; }
  .layout { grid-template-columns: minmax(0, 1fr) 300px; gap: 64px; }
  .side { display: block; }
  .reviews { grid-template-columns: .9fr repeat(3, 1fr); }
  .related { grid-template-columns: repeat(6, 1fr); }
  .related li { grid-column: span 2; }
  .related li:nth-child(4) { grid-column: span 4; }
  .related li:nth-child(5), .related li:nth-child(6) { grid-column: span 3; }
  .related li:nth-child(7) { grid-column: 1 / -1; }
  .related li:first-child { grid-column: span 4; }
  .site-footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; }
  .sticky-cta { display: none; }
  body:has(.sticky-cta) .site-footer { padding-bottom: 56px; }
  .related li:first-child a, .related li:nth-child(4) a { background: linear-gradient(150deg, #3b1180, #1e0c3b 70%); }
}

@media (min-width: 1280px) {
  .site-nav li > a { padding: .6em .9em; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .sticky-cta, .final, .side, .live, .site-footer { display: none; }
  body { background: #fff; color: #000; }
}
