/* ==========================================================================
   Ringo Spin Italia – ringospincasino-italy.com
   Theme "Ember": deep burnt-orange canvas, white as the second colour.
   White header and cards, sticky side index, diagonal ribbon accents.
   Fonts: Bricolage Grotesque (headings) + Manrope (text), self-hosted woff2.
   ========================================================================== */

/* ---------- Fonts ---------- */
@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/bricolage-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/bricolage-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/manrope-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/manrope-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Tokens ---------- */
:root {
  --e-950: #250a01;
  --e-900: #3d1204;
  --e-850: #571a06;
  --e-800: #6e230a;
  --e-750: #802a0c;
  --e-700: #93310e;
  --e-600: #c2410c;
  --e-500: #ea580c;
  --e-400: #fb8a3c;
  --e-300: #fdba74;
  --e-200: #fed7aa;
  --e-100: #ffedd5;
  --e-50: #fff7ed;

  --white: #ffffff;
  --on-dark: #fff4ea;
  --on-dark-soft: #ffd9bd;
  --ink: #2a0d03;
  --text: #4b2312;
  --muted: #86563c;
  --line: #f3dccb;

  --display: "Bricolage Grotesque", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --sans: "Manrope", "Segoe UI", "Helvetica Neue", Arial, sans-serif;

  --container: 1280px;
  --gutter: 24px;
  --header-h: 74px;
  --r-lg: 28px;
  --r: 20px;
  --r-sm: 12px;

  --ease: cubic-bezier(.22, .8, .24, 1);
  --stripes: repeating-linear-gradient(-45deg, rgba(255, 255, 255, .045) 0 14px, transparent 14px 28px);
  --glow: radial-gradient(60% 70% at 100% 0%, rgba(251, 138, 60, .38), transparent 62%), radial-gradient(50% 60% at 0% 100%, rgba(37, 10, 1, .5), transparent 70%);
  --shadow: 0 28px 60px -32px rgba(25, 6, 0, .85);
  --shadow-sm: 0 12px 28px -18px rgba(25, 6, 0, .8);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 20px); background: var(--e-700); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
  margin: 0;
  background: var(--e-700);
  color: var(--on-dark);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
img, svg { max-width: 100%; }
a { color: inherit; text-underline-offset: 4px; text-decoration-thickness: 1px; }
:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; }
p { margin: 0 0 1.1em; }
strong, b { font-weight: 800; color: var(--white); }
h1, h2, h3, h4 { margin: 0; font-family: var(--display); font-weight: 700; line-height: 1.12; letter-spacing: -.02em; color: var(--white); }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.75rem); font-weight: 800; }
h2 { font-size: clamp(1.65rem, 3vw, 2.5rem); font-weight: 800; }
h3 { font-size: clamp(1.18rem, 1.8vw, 1.45rem); }
ul, ol { margin: 0; padding: 0; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 1.1em; height: 1.1em; flex: none; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; vertical-align: -.15em; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.muted { color: var(--on-dark-soft); }
.small { font-size: 14px; }

.skip-link { position: absolute; left: 16px; top: -60px; z-index: 300; padding: 10px 18px; border-radius: var(--r-sm); background: var(--white); color: var(--e-800); font-weight: 800; text-decoration: none; }
.skip-link:focus { top: 12px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 12px 26px;
  border: 2px solid transparent; border-radius: 16px;
  background: var(--white); color: var(--e-800);
  font-family: var(--display); font-size: 16px; font-weight: 700; line-height: 1.2; letter-spacing: -.005em;
  text-decoration: none; text-align: center; cursor: pointer;
  box-shadow: 0 6px 0 0 var(--e-200), 0 18px 30px -18px rgba(25, 6, 0, .9);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s var(--ease), color .2s var(--ease);
}
.btn:hover { transform: translateY(2px); box-shadow: 0 4px 0 0 var(--e-200), 0 12px 22px -16px rgba(25, 6, 0, .9); }
.btn:active { transform: translateY(5px); box-shadow: 0 1px 0 0 var(--e-200); }
.btn .icon--arrow { transition: transform .25s var(--ease); }
.btn:hover .icon--arrow { transform: translateX(4px); }
.btn--fire { background: linear-gradient(135deg, var(--e-500), var(--e-600)); color: var(--white); box-shadow: 0 6px 0 0 var(--e-800), 0 18px 30px -18px rgba(25, 6, 0, .9); }
.btn--fire:hover { box-shadow: 0 4px 0 0 var(--e-800), 0 12px 22px -16px rgba(25, 6, 0, .9); }
.btn--fire:active { box-shadow: 0 1px 0 0 var(--e-800); }
.btn--line { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, .75); box-shadow: none; }
.btn--line:hover, .btn--line:active { background: rgba(255, 255, 255, .12); box-shadow: none; }
.btn--line-dark { background: transparent; color: var(--e-700); border-color: var(--e-600); box-shadow: none; }
.btn--line-dark:hover, .btn--line-dark:active { background: var(--e-50); box-shadow: none; }
.btn--lg { min-height: 60px; padding: 16px 32px; font-size: 17px; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

.age-badge { display: inline-grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 12px; border: 2px solid currentColor; font-family: var(--display); font-size: 13px; font-weight: 800; }
.age-badge--sm { width: 32px; height: 32px; border-radius: 9px; font-size: 11px; border-width: 1.5px; }

/* ---------- Top bar ---------- */
.topbar { background: var(--e-950); color: var(--on-dark-soft); font-size: 13px; font-weight: 600; text-align: center; }
.topbar p { margin: 0; padding: 8px 16px; }
.topbar a { color: var(--white); font-weight: 800; }

/* ---------- Header (white) ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--white); color: var(--ink); border-bottom: 4px solid var(--e-500); transition: box-shadow .3s var(--ease); }
.site-header.is-scrolled { box-shadow: 0 16px 34px -18px rgba(25, 6, 0, .7); }
.header-inner { display: flex; align-items: center; gap: 20px; min-height: var(--header-h); }
.logo { display: inline-flex; align-items: center; gap: 12px; flex: none; color: var(--e-800); text-decoration: none; }
.logo__mark { width: 46px; height: 46px; flex: none; border-radius: 13px; box-shadow: 0 8px 16px -8px rgba(124, 45, 18, .8); transition: transform .6s var(--ease); }
.logo:hover .logo__mark { transform: rotate(-12deg) scale(1.04); }
.logo__text { display: flex; flex-direction: column; line-height: 1; }
.logo__text > span { font-family: var(--display); font-size: 23px; font-weight: 800; letter-spacing: -.02em; white-space: nowrap; }
.logo__text small { margin-top: 5px; font-size: 9.5px; font-weight: 800; letter-spacing: .42em; text-transform: uppercase; color: var(--e-500); }
.logo--light { color: var(--white); }
.logo--light .logo__text small { color: var(--e-300); }

.main-nav { display: none; margin: 0 auto; }
.main-nav ul { display: flex; list-style: none; gap: 4px; }
.main-nav a { display: block; padding: 8px 12px; border-radius: 10px; font-size: 14.5px; font-weight: 700; text-decoration: none; color: var(--text); transition: background-color .2s var(--ease), color .2s var(--ease); }
.main-nav a:hover { background: var(--e-50); color: var(--e-600); }
.header-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.header-actions .btn { min-height: 44px; padding: 9px 18px; font-size: 14.5px; border-radius: 13px; }
.header-actions .btn--line-dark { padding: 7px 16px; }

.burger { display: inline-grid; place-items: center; width: 46px; height: 46px; padding: 0; border: 0; border-radius: 13px; background: var(--e-50); color: var(--e-700); cursor: pointer; }
.burger__lines, .burger__lines::before, .burger__lines::after { display: block; width: 20px; height: 2.5px; border-radius: 2px; background: currentColor; }
.burger__lines { position: relative; }
.burger__lines::before, .burger__lines::after { content: ""; position: absolute; left: 0; }
.burger__lines::before { top: -7px; }
.burger__lines::after { top: 7px; width: 13px; }

@media (min-width: 1160px) {
  .main-nav { display: block; }
  .burger { display: none; }
  .header-actions { margin-left: 0; }
}
@media (max-width: 859px) { .header-actions .btn--line-dark { display: none; } }
@media (max-width: 599px) {
  :root { --gutter: 16px; --header-h: 64px; }
  .header-inner { gap: 10px; }
  .logo__mark { width: 38px; height: 38px; border-radius: 11px; }
  .logo__text > span { font-size: 18px; }
  .logo__text small { font-size: 8px; letter-spacing: .3em; }
  .header-actions .btn { min-height: 40px; padding: 8px 14px; font-size: 13.5px; }
  .burger { width: 40px; height: 40px; }
  .topbar { font-size: 12px; }
}
@media (max-width: 379px) { .header-inner .logo__text { display: none; } }

/* ---------- Mobile menu ---------- */
.mobile-menu { position: fixed; inset: 0; z-index: 200; visibility: hidden; }
.mobile-menu.is-open { visibility: visible; }
.mobile-menu__backdrop { position: absolute; inset: 0; background: rgba(25, 6, 0, .6); opacity: 0; transition: opacity .3s var(--ease); }
.mobile-menu.is-open .mobile-menu__backdrop { opacity: 1; }
.mobile-menu__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(400px, 90vw);
  display: flex; flex-direction: column; gap: 22px; padding: 18px 22px 26px;
  background: var(--stripes), var(--glow), var(--e-800); color: var(--white); overflow-y: auto;
  transform: translateX(100%); transition: transform .38s var(--ease);
}
.mobile-menu.is-open .mobile-menu__panel { transform: none; }
.mobile-menu__top { display: flex; align-items: center; justify-content: space-between; padding-bottom: 14px; border-bottom: 1px solid rgba(255, 255, 255, .18); }
.mobile-menu__close { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 12px; background: rgba(255, 255, 255, .12); color: var(--white); cursor: pointer; }
.mobile-menu__nav ul { list-style: none; display: grid; gap: 6px; }
.mobile-menu__nav a { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; border-radius: 14px; background: rgba(255, 255, 255, .07); font-size: 16px; font-weight: 700; text-decoration: none; }
.mobile-menu__nav a::after { content: "↗"; color: var(--e-300); }
.mobile-menu__nav a:hover { background: var(--white); color: var(--e-700); }
.mobile-menu__cta { display: grid; gap: 12px; }
.mobile-menu__note { display: flex; align-items: center; gap: 12px; margin: auto 0 0; font-size: 13px; color: var(--on-dark-soft); }

/* ---------- Author (right side at the start of the content) ---------- */
.author-bar { background: var(--e-800); border-bottom: 1px solid rgba(255, 255, 255, .08); }
.author-bar__inner { display: flex; justify-content: flex-end; padding-top: 12px; padding-bottom: 12px; }
.author { display: flex; align-items: center; gap: 14px; margin: 0; padding: 7px 7px 7px 20px; border-radius: 18px; background: var(--white); color: var(--text); text-align: right; box-shadow: var(--shadow-sm); }
.author__meta { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.3; }
.author__role { font-size: 10.5px; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; color: var(--e-500); }
.author__name { font-family: var(--display); font-size: 17px; font-weight: 800; color: var(--ink); }
.author__date { font-size: 12.5px; color: var(--muted); }
.author__avatar { display: grid; place-items: center; width: 52px; height: 52px; flex: none; border-radius: 14px; background: linear-gradient(135deg, var(--e-500), var(--e-800)); font-family: var(--display); font-size: 17px; font-weight: 800; color: var(--white); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 76px 0 120px; background: var(--stripes), var(--glow), linear-gradient(160deg, var(--e-600) 0%, var(--e-700) 48%, var(--e-850) 100%); }
.hero::after { /* white diagonal ribbon at the bottom */
  content: ""; position: absolute; left: -5%; right: -5%; bottom: -60px; height: 120px;
  background: var(--e-700); transform: skewY(-3deg); box-shadow: 0 -6px 0 0 var(--white);
}
.hero__link { position: absolute; inset: 0; z-index: 1; }
.hero__grid { position: relative; z-index: 2; display: grid; gap: 48px; align-items: center; pointer-events: none; }
.hero__grid a, .hero__grid button { pointer-events: auto; }
.hero__ring { position: absolute; left: -180px; top: -160px; z-index: 0; width: 520px; height: 520px; border-radius: 50%; border: 70px solid rgba(255, 255, 255, .05); pointer-events: none; }
.kicker { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 20px; padding: 6px 14px 6px 6px; border-radius: 999px; background: rgba(255, 255, 255, .14); font-size: 13.5px; font-weight: 800; letter-spacing: .02em; color: var(--white); }
.kicker__dot { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--white); color: var(--e-600); font-size: 12px; }
.hero__title { margin-bottom: 24px; }
.hero__title mark { padding: 0 .18em; border-radius: .18em; background: var(--white); color: var(--e-600); -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.hero__lead p { max-width: 620px; font-size: 18.5px; color: var(--on-dark); }
.hero .btn-row { margin: 30px 0 26px; }
.hero__checks { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; margin-bottom: 18px; font-size: 14.5px; font-weight: 700; }
.hero__checks li { display: flex; align-items: center; gap: 8px; }
.hero__checks .icon { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--white); color: var(--e-600); stroke-width: 3; }
.hero__terms { margin: 0; font-size: 13px; color: var(--on-dark-soft); }

/* Access card: white ticket */
.access-card { position: relative; border-radius: var(--r-lg); background: var(--white); color: var(--text); box-shadow: var(--shadow), 0 0 0 10px rgba(255, 255, 255, .1); }
.access-card__head { position: relative; overflow: hidden; padding: 24px 28px 22px; border-radius: var(--r-lg) var(--r-lg) 0 0; background: var(--stripes), linear-gradient(135deg, var(--e-500), var(--e-750)); color: var(--white); }
.access-card__label { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 6px; font-size: 12px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--e-100); }
.access-card__total { margin: 0; font-family: var(--display); font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 800; line-height: 1.05; color: var(--white); }
.access-card__body { padding: 22px 28px 26px; }
.access-card__body > p { margin: 0 0 14px; font-size: 14.5px; color: var(--muted); }
.tiers { list-style: none; display: grid; gap: 10px; margin-bottom: 20px; }
.tiers li { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; padding: 10px 12px; border-radius: 16px; background: var(--e-50); border: 1px solid var(--line); }
.tiers__n { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--e-600); font-family: var(--display); font-size: 16px; font-weight: 800; color: var(--white); }
.tiers__t { display: flex; flex-direction: column; line-height: 1.3; font-size: 12.5px; font-weight: 700; color: var(--muted); }
.tiers__t strong { font-family: var(--display); font-size: 17px; color: var(--ink); }
.tiers__fs { padding: 4px 10px; border-radius: 999px; background: var(--white); border: 1px solid var(--e-200); font-size: 12.5px; font-weight: 800; color: var(--e-600); white-space: nowrap; }
.access-card__foot { margin: 14px 0 0; font-size: 12.5px; font-weight: 600; text-align: center; color: var(--muted); }

@media (min-width: 980px) {
  .hero { padding: 96px 0 150px; }
  .hero__grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 64px; }
}
@media (max-width: 599px) {
  .hero { padding: 48px 0 96px; }
  .hero .btn-row .btn { width: 100%; }
  .access-card__head, .access-card__body { padding-left: 18px; padding-right: 18px; }
}

/* ---------- Stats ---------- */
.stats { position: relative; z-index: 3; margin-top: -48px; }
.stats__list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; list-style: none; }
.stats__item { display: flex; flex-direction: column; gap: 4px; padding: 22px 22px 20px; border-radius: var(--r); background: var(--white); color: var(--muted); box-shadow: var(--shadow-sm); }
.stats__value { font-family: var(--display); font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 800; line-height: 1; color: var(--e-600); }
.stats__label { font-size: 13.5px; font-weight: 700; }
@media (min-width: 768px) { .stats__list { grid-template-columns: repeat(4, 1fr); gap: 18px; } }

/* ---------- Layout: sticky index + content ---------- */
.layout { display: grid; gap: 40px; padding-top: 56px; padding-bottom: 88px; }
.side-index { min-width: 0; }
.side-index__box { padding: 20px; border-radius: var(--r); background: var(--white); color: var(--text); box-shadow: var(--shadow-sm); }
.side-index__title { margin: 0 0 12px; font-family: var(--display); font-size: 15px; font-weight: 800; color: var(--e-700); }
.side-index__list { display: flex; gap: 8px; overflow-x: auto; list-style: none; padding-bottom: 4px; scrollbar-width: thin; counter-reset: idx; }
.side-index__list a { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 12px; background: var(--e-50); font-size: 14px; font-weight: 700; text-decoration: none; white-space: nowrap; color: var(--text); transition: background-color .2s var(--ease), color .2s var(--ease); }
.side-index__list li { counter-increment: idx; flex: none; }
.side-index__list a::before { content: counter(idx, decimal-leading-zero); font-family: var(--display); font-size: 12px; font-weight: 800; color: var(--e-500); }
.side-index__list a:hover { background: var(--e-600); color: var(--white); }
.side-index__list a:hover::before { color: var(--e-100); }
.side-index__cta { display: none; }
.content { min-width: 0; }
@media (min-width: 1080px) {
  .layout { grid-template-columns: 280px minmax(0, 1fr); gap: 56px; padding-top: 72px; }
  .side-index__box { position: sticky; top: calc(var(--header-h) + 24px); }
  .side-index__list { flex-direction: column; overflow: visible; gap: 2px; }
  .side-index__list a { background: transparent; white-space: normal; }
  .side-index__cta { display: block; margin-top: 16px; padding-top: 16px; border-top: 1px dashed var(--line); }
  .side-index__cta .btn { width: 100%; min-height: 48px; font-size: 15px; }
}

/* ---------- Content blocks ---------- */
.block { position: relative; padding: 0 0 64px; margin-bottom: 64px; border-bottom: 2px dashed rgba(255, 255, 255, .2); }
.block:last-child { margin-bottom: 0; border-bottom: 0; padding-bottom: 0; }
.block__head { position: relative; margin-bottom: 30px; }
.block__tag { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 14px; font-size: 13px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--e-200); }
.block__num { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--white); font-family: var(--display); font-size: 15px; letter-spacing: 0; color: var(--e-600); transform: rotate(-6deg); box-shadow: 4px 4px 0 0 var(--e-500); }
.block__head h2 { max-width: 860px; }

.prose { max-width: 880px; }
.prose > p { font-size: 17.5px; }
.prose h3 { display: flex; align-items: baseline; gap: 12px; margin: 48px 0 16px; }
.prose h3::before { content: ""; flex: none; width: 16px; height: 16px; border-radius: 5px; background: var(--white); transform: rotate(45deg) translateY(-2px); box-shadow: 3px -3px 0 0 var(--e-400); }
.prose h3 + p { margin-top: 0; }
.prose ul, .prose ol { list-style: none; margin: 0 0 1.4em; }
.prose ul { display: grid; gap: 4px; }
.prose ul li { position: relative; padding: 4px 0 4px 32px; }
.prose ul li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 18px; height: 18px; border-radius: 6px; background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ea580c' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 12px no-repeat; }
.prose ol { counter-reset: step; display: grid; gap: 10px; }
.prose ol li { counter-increment: step; display: grid; grid-template-columns: 42px 1fr; gap: 16px; align-items: center; padding: 12px 18px 12px 12px; border-radius: 16px; background: var(--white); color: var(--text); box-shadow: var(--shadow-sm); }
.prose ol li::before { content: counter(step); display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: linear-gradient(135deg, var(--e-500), var(--e-700)); font-family: var(--display); font-size: 17px; font-weight: 800; color: var(--white); }
.prose a { color: var(--white); font-weight: 800; text-decoration: underline; text-decoration-color: var(--e-300); text-decoration-thickness: 2px; }
.prose a:hover { text-decoration-color: var(--white); }

.note { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; margin: 8px 0 26px; padding: 18px 20px; border-radius: var(--r); border: 1px solid rgba(255, 255, 255, .28); background: rgba(255, 255, 255, .08); font-size: 15.5px; }
.note p { margin: 0; }
.note__i { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--white); font-family: var(--display); font-weight: 800; color: var(--e-600); }

/* Tables: white cards */
.table-wrap { margin: 8px 0 28px; overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--r); background: var(--white); color: var(--text); box-shadow: var(--shadow); }
.table { width: 100%; border-collapse: collapse; font-size: 15.5px; line-height: 1.5; }
.table th, .table td { padding: 14px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.table thead th { background: var(--e-50); border-bottom: 3px solid var(--e-500); font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; color: var(--e-700); }
.table tbody th { font-weight: 800; color: var(--ink); }
.table tbody tr:last-child th, .table tbody tr:last-child td { border-bottom: 0; }
.table tbody tr:hover { background: #fffaf5; }
.table--kv tbody th { width: 38%; }
.table--wide { min-width: 640px; }
.table tr.is-total th, .table tr.is-total td { background: var(--e-600); color: var(--white); font-weight: 800; }
@media (max-width: 599px) { .table th, .table td { padding: 12px 14px; } .table { font-size: 14.5px; } }

/* CTA ribbon */
.cta {
  position: relative; overflow: hidden; display: grid; gap: 22px; align-items: center;
  margin: 52px 0 40px; padding: 34px 32px; border-radius: var(--r-lg);
  background: var(--white); color: var(--text); box-shadow: var(--shadow);
}
.cta::before { content: ""; position: absolute; top: 0; right: 0; bottom: 0; width: 38%; background: repeating-linear-gradient(-45deg, var(--e-50) 0 12px, transparent 12px 24px); -webkit-mask: linear-gradient(90deg, transparent, #000); mask: linear-gradient(90deg, transparent, #000); pointer-events: none; }
.cta > * { position: relative; }
.cta__kicker { margin: 0 0 6px; font-size: 12px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--e-500); }
.cta__title { display: block; margin-bottom: 6px; font-family: var(--display); font-size: clamp(1.4rem, 2.4vw, 2rem); font-weight: 800; line-height: 1.15; color: var(--e-700); }
.cta p { margin: 0; font-size: 14.5px; color: var(--muted); }
@media (min-width: 760px) { .cta { grid-template-columns: 1fr auto; padding: 38px 42px; } }
@media (max-width: 599px) { .cta { padding: 28px 20px 24px; } .cta .btn { width: 100%; } }

/* FAQ */
.faq { max-width: 880px; display: grid; gap: 12px; }
.faq details { border-radius: var(--r); background: var(--white); color: var(--text); box-shadow: var(--shadow-sm); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 18px 20px; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { font-size: clamp(1.02rem, 1.5vw, 1.15rem); color: var(--ink); }
.faq summary::after { content: "+"; display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 10px; background: var(--e-50); font-family: var(--display); font-size: 22px; font-weight: 700; color: var(--e-600); transition: transform .3s var(--ease), background-color .3s var(--ease), color .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--e-600); color: var(--white); }
.faq summary:hover h3 { color: var(--e-600); }
.faq details > div { margin: 0 20px; padding: 14px 0 20px; border-top: 1px dashed var(--line); }
.faq details > div p { margin: 0; }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: var(--stripes), linear-gradient(180deg, var(--e-900), var(--e-950)); color: var(--on-dark-soft); font-size: 15px; border-top: 6px solid var(--white); }
.site-footer a { color: var(--white); text-decoration: none; }
.site-footer a:hover { color: var(--e-300); }
.footer-top { display: grid; gap: 36px; padding: 60px 0 44px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.footer-brand p { max-width: 420px; margin: 18px 0 0; }
.footer-brand .logo__mark { width: 54px; height: 54px; }
.footer-col h2 { margin-bottom: 16px; font-size: 13px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--white); }
.footer-col ul { list-style: none; display: grid; gap: 9px; }
.footer-col p { margin-bottom: 18px; }
.footer-col .btn-row .btn { min-height: 46px; font-size: 15px; }
@media (min-width: 760px) { .footer-top { grid-template-columns: 1.3fr 1fr 1fr; } .footer-col--cta { grid-column: 1 / -1; } }
@media (min-width: 1080px) { .footer-top { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } .footer-col--cta { grid-column: auto; } }

.rg { padding: 44px 0; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.rg__head { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; align-items: center; margin-bottom: 26px; }
.rg__head .age-badge { grid-row: span 2; width: 58px; height: 58px; border-radius: 16px; font-size: 16px; color: var(--white); }
.rg__head h2 { font-size: 1.45rem; }
.rg__head p { margin: 0; }
.rg__grid { display: grid; gap: 12px; list-style: none; }
@media (min-width: 640px) { .rg__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .rg__grid { grid-template-columns: repeat(3, 1fr); } }
.rg-link { display: flex; align-items: center; gap: 14px; height: 100%; padding: 14px 16px; border-radius: 16px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); transition: background-color .25s var(--ease), border-color .25s var(--ease); }
.rg-link:hover { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .4); }
.rg-link__logo { display: grid; place-items: center; width: 48px; height: 48px; flex: none; border-radius: 13px; background: var(--white); font-family: var(--display); font-size: 13px; font-weight: 800; color: var(--e-600); }
.rg-link__txt { display: flex; flex-direction: column; line-height: 1.35; }
.rg-link__txt strong { color: var(--white); }
.rg-link__txt span { font-size: 13px; color: var(--on-dark-soft); }
.rg__hotline { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin: 24px 0 0; }
.rg__hotline a { font-family: var(--display); font-size: 1.5rem; font-weight: 800; color: var(--white); }

.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 24px 0; font-size: 14px; }
.footer-bottom p { margin: 0; }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; font-weight: 700; }
.disclaimer { margin: 0; padding: 0 0 34px; font-size: 12.5px; line-height: 1.65; color: rgba(255, 217, 189, .72); }

/* ---------- Legal pages ---------- */
.page-hero { position: relative; overflow: hidden; padding: 60px 0 64px; background: var(--stripes), var(--glow), linear-gradient(160deg, var(--e-600), var(--e-800)); text-align: center; }
.page-hero h1 { margin-bottom: 16px; font-size: clamp(2rem, 4vw, 3.2rem); }
.page-hero p { max-width: 680px; margin: 0 auto 10px; }
.page-hero .muted { font-size: 13.5px; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 10px; list-style: none; margin-bottom: 20px; font-size: 13px; font-weight: 700; color: var(--e-100); }
.breadcrumbs li + li::before { content: "›"; margin-right: 10px; color: var(--e-300); }
.breadcrumbs a { color: var(--white); text-decoration: none; }
.section { padding: 72px 0 88px; }
.legal { max-width: 860px; margin: 0 auto; }
.legal a { color: var(--white); text-decoration-color: var(--e-300); }
.toc { margin-bottom: 44px; padding: 26px 30px; border-radius: var(--r); background: var(--white); color: var(--text); box-shadow: var(--shadow-sm); }
.legal .toc h2 { margin: 0 0 12px; font-size: 15px; color: var(--e-700); }
.toc ol { columns: 2 220px; column-gap: 32px; padding-left: 20px; font-size: 15px; }
.toc li { padding: 3px 0; }
.toc a { color: var(--e-700); }
.legal h2 { margin: 44px 0 14px; font-size: clamp(1.3rem, 2.2vw, 1.7rem); }
.legal ul { list-style: none; margin: 0 0 1.2em; }
.legal ul li { position: relative; padding: 4px 0 4px 26px; }
.legal ul li::before { content: ""; position: absolute; left: 3px; top: .85em; width: 10px; height: 10px; border-radius: 3px; background: var(--white); transform: rotate(45deg); }
.legal address { margin: 0 0 1.2em; padding: 18px 22px; border-left: 4px solid var(--white); border-radius: 0 var(--r-sm) var(--r-sm) 0; background: rgba(255, 255, 255, .08); font-style: normal; }
.legal code { padding: 1px 6px; border-radius: 6px; background: rgba(255, 255, 255, .14); font-size: .92em; }
.callout { margin: 0 0 1.2em; padding: 18px 22px; border: 1px solid rgba(255, 255, 255, .25); border-radius: var(--r-sm); background: rgba(255, 255, 255, .08); }
.callout p { margin: 0; }

/* ---------- Fixes ---------- */
.hero__grid, .layout { grid-template-columns: minmax(0, 1fr); }
.prose a.btn { text-decoration: none; font-weight: 700; color: var(--e-800); }
.prose a.btn--fire, .prose a.btn--line { color: var(--white); }
.access-card .btn--block { margin-bottom: 6px; }
@media (min-width: 980px) { .hero__grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); } }
@media (min-width: 1080px) { .layout { grid-template-columns: 280px minmax(0, 1fr); } }
