/* ==========================================================================
   Nine Casino Polska – ninecasino-logowanie.com
   "Biało-czerwona" theme inspired by the Polish flag: clean white surfaces,
   crimson (#DC143C) accents, flag ribbons (white over red) as separators,
   a crimson hero with a waving white band and a white bonus card.
   Fonts: Unbounded (display, logo, numbers) + Manrope (headings & text),
   self-hosted woff2 with latin + latin-ext subsets (ą ć ę ł ń ó ś ź ż).
   ========================================================================== */

/* ---------- Fonts ---------- */
@font-face {
  font-family: "Unbounded";
  font-style: normal;
  font-weight: 500 900;
  font-display: swap;
  src: url("/assets/fonts/unbounded-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Unbounded";
  font-style: normal;
  font-weight: 500 900;
  font-display: swap;
  src: url("/assets/fonts/unbounded-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: 400 800;
  font-display: swap;
  src: url("/assets/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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/assets/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;
}

/* ---------- Tokens ---------- */
:root {
  color-scheme: light;

  --red: #dc143c;          /* flag crimson */
  --red-600: #c01134;
  --red-700: #a30e2c;
  --red-800: #7d0a21;
  --red-50: #fff1f3;
  --red-100: #ffe1e6;
  --red-200: #fbc5cf;

  --white: #ffffff;
  --snow: #fbf7f7;
  --mist: #f4eded;
  --line: #ecdfe2;
  --line-hi: #f2b9c4;

  --ink: #1d1316;          /* headings */
  --text: #2c2226;
  --text-dim: #54474b;
  --text-mute: #85777b;

  --flag: linear-gradient(180deg, var(--white) 0 50%, var(--red) 50% 100%);
  --grad-red: linear-gradient(135deg, #e8274c 0%, var(--red) 45%, var(--red-700) 100%);
  --shadow-sm: 0 1px 2px rgba(60, 10, 20, .06), 0 4px 14px -6px rgba(60, 10, 20, .12);
  --shadow: 0 2px 4px rgba(60, 10, 20, .05), 0 18px 40px -18px rgba(120, 12, 36, .28);
  --shadow-red: 0 10px 28px -10px rgba(220, 20, 60, .55);

  --font-display: "Unbounded", "Manrope", "Segoe UI", Arial, sans-serif;
  --font-body: "Manrope", "Segoe UI", Roboto, Arial, sans-serif;

  --radius: 18px;
  --radius-sm: 12px;
  --container: 1200px;
  --header-h: 74px;
}

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

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

body {
  margin: 0;
  min-height: 100vh;
  background: var(--white);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.72;
  overflow-x: hidden;
}

img, svg { max-width: 100%; }
a { color: var(--red-600); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--red-800); }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3, h4 { margin: 0 0 .6em; line-height: 1.22; color: var(--ink); font-weight: 800; }
h1 { font-family: var(--font-display); font-weight: 700; letter-spacing: -.01em; }
h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.45rem, 1.1rem + 1.4vw, 2.1rem); letter-spacing: -.01em; }
h3 { font-size: clamp(1.18rem, 1.05rem + .5vw, 1.4rem); }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0 0 1.2em; padding-left: 1.3em; }
li { margin-bottom: .45em; }
strong { color: var(--ink); font-weight: 800; }
small, .small { font-size: .85em; }
.muted { color: var(--text-mute); }
code { padding: 1px 6px; border-radius: 6px; background: var(--mist); font-size: .9em; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  padding: 10px 16px; border-radius: 10px;
  background: var(--red); color: var(--white); font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; color: var(--white); }

/* Flag ribbon: white band over red band */
.strap {
  display: block; height: 8px; width: 100%;
  background: var(--flag);
  border-top: 1px solid var(--line);
}
.strap--thin { height: 6px; }

/* ---------- Buttons ---------- */
.btn {
  --btn-pad: 11px 20px;
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: var(--btn-pad);
  border: 2px solid transparent; border-radius: 12px;
  font-family: var(--font-body); font-size: .92rem; font-weight: 800;
  letter-spacing: .02em; text-decoration: none;
  line-height: 1.2; white-space: nowrap; cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--red); color: var(--white); box-shadow: var(--shadow-red); }
.btn--primary:hover { background: var(--red-700); color: var(--white); box-shadow: 0 14px 32px -10px rgba(220, 20, 60, .7); }
.btn--outline { border-color: var(--red-200); color: var(--red-600); background: var(--white); }
.btn--outline:hover { border-color: var(--red); color: var(--red-700); background: var(--red-50); }
.btn--light { background: var(--white); color: var(--red-700); box-shadow: 0 10px 26px -12px rgba(0, 0, 0, .45); }
.btn--light:hover { color: var(--red-800); background: var(--red-50); }
.btn--ghost-light { border-color: rgba(255, 255, 255, .7); color: var(--white); background: rgba(255, 255, 255, .06); }
.btn--ghost-light:hover { color: var(--white); border-color: var(--white); background: rgba(255, 255, 255, .16); }
.btn--ghost { border-color: var(--line-hi); color: var(--red-700); background: transparent; }
.btn--ghost:hover { color: var(--red-800); border-color: var(--red); background: var(--red-50); }
.btn--lg { --btn-pad: 15px 26px; font-size: 1rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Top bar ---------- */
.topbar { background: var(--red-700); color: rgba(255, 255, 255, .9); text-align: center; font-size: .84rem; font-weight: 600; }
.topbar p { margin: 0; padding: 7px 16px; }
.topbar a { color: var(--white); font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.topbar a:hover { color: var(--red-100); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .94);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  backdrop-filter: blur(14px) saturate(160%);
  transition: box-shadow .25s ease;
}
.site-header.is-scrolled { box-shadow: 0 10px 30px -18px rgba(60, 10, 20, .45); }

.header-inner {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
  min-height: var(--header-h);
}
.header-left { display: flex; align-items: center; gap: 20px; }
.header-left__link { color: var(--text-dim); text-decoration: none; font-size: .92rem; font-weight: 700; }
.header-left__link:hover, .header-left__link[aria-current="page"] { color: var(--red-600); }
.header-actions { display: flex; justify-content: flex-end; gap: 10px; }

.burger {
  display: none; width: 44px; height: 44px; padding: 0;
  border: 1px solid var(--line); border-radius: 12px; background: var(--white);
  color: var(--ink); cursor: pointer;
}
.burger__lines, .burger__lines::before, .burger__lines::after {
  display: block; width: 20px; height: 2px; margin: 0 auto; border-radius: 2px;
  background: currentColor; position: relative;
}
.burger__lines::before, .burger__lines::after { content: ""; position: absolute; left: 0; }
.burger__lines::before { top: -6px; }
.burger__lines::after { top: 6px; background: var(--red); }

/* Logo */
.logo { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; }
.logo:hover { color: var(--ink); }
.logo__mark { width: 46px; height: 46px; filter: drop-shadow(0 6px 10px rgba(220, 20, 60, .25)); transition: transform .4s ease; }
.logo:hover .logo__mark { transform: rotate(-6deg) scale(1.04); }
.logo__text { display: flex; flex-direction: column; line-height: 1.05; }
.logo__text > span { font-family: var(--font-display); font-weight: 800; font-size: 1.08rem; letter-spacing: .04em; text-transform: uppercase; }
.logo__text small {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 5px;
  font-family: var(--font-display); font-size: .6rem; font-weight: 600; letter-spacing: .42em; text-transform: uppercase; color: var(--red);
}
.logo__text small::before { content: ""; width: 14px; height: 9px; border-radius: 2px; background: var(--flag); box-shadow: 0 0 0 1px var(--line); }
.logo--light, .logo--light:hover { color: var(--white); }
.logo--light .logo__text small { color: var(--red-200); }
.logo--light .logo__text small::before { box-shadow: none; }

/* Main nav */
.main-nav { border-top: 1px solid var(--line); }
.main-nav ul { display: flex; justify-content: center; flex-wrap: wrap; gap: 2px; margin: 0; padding: 6px 0; list-style: none; }
.main-nav li { margin: 0; }
.main-nav a {
  position: relative; display: block; padding: 8px 13px; border-radius: 10px;
  color: var(--text-dim); font-size: .9rem; font-weight: 700; text-decoration: none;
  transition: color .2s ease, background-color .2s ease;
}
.main-nav a:hover { color: var(--red-700); background: var(--red-50); }
.main-nav a::after {
  content: ""; position: absolute; left: 50%; bottom: 3px; width: 0; height: 3px; border-radius: 3px;
  background: var(--red); transform: translateX(-50%); transition: width .25s ease;
}
.main-nav a:hover::after { width: 40%; }

/* ---------- Mobile menu ---------- */
.mobile-menu { position: fixed; inset: 0; z-index: 100; visibility: hidden; }
.mobile-menu.is-open { visibility: visible; }
.mobile-menu__backdrop {
  position: absolute; inset: 0; background: rgba(29, 19, 22, .55);
  -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
  opacity: 0; transition: opacity .3s ease;
}
.mobile-menu.is-open .mobile-menu__backdrop { opacity: 1; }
.mobile-menu__panel {
  position: absolute; top: 0; left: 0; bottom: 0; width: min(360px, 88vw);
  display: flex; flex-direction: column; gap: 18px; padding: 18px 18px 24px; overflow-y: auto;
  background: var(--white);
  border-top: 8px solid var(--red);
  box-shadow: 20px 0 60px -20px rgba(60, 10, 20, .45);
  transform: translateX(-102%); transition: transform .35s cubic-bezier(.2, .8, .2, 1);
}
.mobile-menu.is-open .mobile-menu__panel { transform: none; }
.mobile-menu__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.mobile-menu__close {
  width: 42px; height: 42px; display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: 12px; background: var(--white); color: var(--ink); cursor: pointer;
}
.mobile-menu__nav ul { list-style: none; margin: 0; padding: 0; }
.mobile-menu__nav li { margin: 0; border-bottom: 1px solid var(--line); }
.mobile-menu__nav a { display: flex; align-items: center; justify-content: space-between; padding: 12px 4px; color: var(--ink); text-decoration: none; font-weight: 700; }
.mobile-menu__nav a::after { content: "›"; color: var(--red); font-size: 1.3em; line-height: 1; }
.mobile-menu__nav a[aria-current="page"] { color: var(--red); }
.mobile-menu__cta { display: grid; gap: 10px; }
.mobile-menu__cta .btn--ghost { justify-content: center; }
.mobile-menu__note { display: flex; align-items: center; gap: 10px; margin: 0; font-size: .85rem; color: var(--text-dim); }
body.menu-open { overflow: hidden; }

/* ---------- Age badge ---------- */
.age-badge {
  display: inline-grid; place-items: center; flex: none; width: 52px; height: 52px; border-radius: 50%;
  border: 3px solid var(--red); background: var(--white); color: var(--red-700);
  font-family: var(--font-display); font-weight: 800; font-size: .9rem;
}
.age-badge--sm { width: 36px; height: 36px; font-size: .66rem; border-width: 2px; }

/* ---------- Author (right side, start of content) ---------- */
.author-bar { padding: 16px 0; background: var(--white); }
.author-bar__inner { display: flex; justify-content: flex-end; }
.author {
  display: inline-flex; align-items: center; gap: 14px; margin: 0;
  padding: 7px 7px 7px 18px; border-radius: 999px;
  background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.author__meta { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.25; text-align: right; }
.author__role { font-size: .66rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--red); }
.author__name { font-weight: 800; color: var(--ink); }
.author__date { font-size: .78rem; color: var(--text-mute); }
.author__avatar {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  background: var(--flag); box-shadow: 0 0 0 1px var(--line-hi);
}
.author__avatar span {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: var(--white); box-shadow: 0 2px 6px rgba(0, 0, 0, .18);
  font-family: var(--font-display); font-size: .66rem; font-weight: 800; color: var(--red-700);
}

/* ---------- Hero ---------- */
.hero {
  position: relative; padding: 56px 0 96px; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(60% 80% at 100% 0, rgba(255, 255, 255, .12), transparent 60%),
    radial-gradient(50% 70% at 0 100%, rgba(0, 0, 0, .18), transparent 60%),
    linear-gradient(160deg, #e5234a 0%, var(--red) 40%, var(--red-700) 100%);
  color: var(--white);
}
/* White flag band waving across the top-left */
.hero::before {
  content: ""; position: absolute; z-index: -1; left: -10%; right: -10%; top: -48%; height: 70%;
  background: var(--white); opacity: .07; border-radius: 0 0 50% 50% / 0 0 40% 40%; transform: rotate(-4deg);
}
/* Wave edge at the bottom of the hero */
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 56px; z-index: 0;
  background: var(--white);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 56' preserveAspectRatio='none'%3E%3Cpath d='M0 30c180-26 360-26 540 0s360 26 540 0 270-24 360-10v36H0z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 56' preserveAspectRatio='none'%3E%3Cpath d='M0 30c180-26 360-26 540 0s360 26 540 0 270-24 360-10v36H0z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
.hero__link { position: absolute; inset: 0; z-index: 1; }
.hero__grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; pointer-events: none; }
.hero__grid a, .hero__grid button { pointer-events: auto; }
.hero__wave {
  position: absolute; z-index: -1; right: -140px; top: -80px; width: 560px; height: 560px; border-radius: 50%;
  border: 70px solid rgba(255, 255, 255, .07);
  pointer-events: none;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px;
  padding: 6px 14px 6px 8px; border-radius: 999px; background: var(--white); color: var(--red-700);
  font-family: var(--font-display); font-size: .68rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  box-shadow: 0 8px 20px -10px rgba(0, 0, 0, .45);
}
.eyebrow::before { content: ""; width: 20px; height: 13px; border-radius: 3px; background: var(--flag); box-shadow: 0 0 0 1px var(--line); }
.hero__title { font-size: clamp(1.7rem, 1.05rem + 2.5vw, 3rem); line-height: 1.16; margin-bottom: .55em; color: var(--white); }
.hero__title em { font-style: normal; display: inline; padding: 0 .18em; border-radius: 8px; background: var(--white); color: var(--red-700); -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.hero__lead { color: rgba(255, 255, 255, .9); font-size: 1.06rem; max-width: 62ch; }
.hero__lead strong { color: var(--white); }
.hero .btn-row { margin-top: 26px; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 32px 0 0; padding: 0; list-style: none; }
.stats li { margin: 0; padding: 14px 10px; border-radius: var(--radius-sm); background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .28); text-align: center; }
.stats b { display: block; font-family: var(--font-display); font-size: 1.2rem; font-weight: 800; color: var(--white); }
.stats span { font-size: .76rem; font-weight: 700; color: rgba(255, 255, 255, .8); letter-spacing: .06em; text-transform: uppercase; }

/* Bonus card (white "flag" ticket) */
.holo {
  position: relative; padding: 0 26px 24px; border-radius: 22px; overflow: hidden;
  background: var(--white); color: var(--text);
  box-shadow: 0 30px 70px -28px rgba(40, 0, 10, .75);
}
.holo__flag { display: block; height: 14px; margin: 0 -26px 22px; background: linear-gradient(180deg, var(--mist) 0 50%, var(--red) 50% 100%); }
.holo__label { margin: 0 0 6px; font-family: var(--font-display); font-size: .66rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--red); }
.holo__amount { margin: 0; font-family: var(--font-display); font-size: clamp(2.2rem, 1.7rem + 2.2vw, 3.1rem); font-weight: 800; line-height: 1.05; color: var(--ink); white-space: nowrap; }
.holo__plus { display: inline-block; margin: 10px 0 18px; padding: 4px 12px; border-radius: 999px; background: var(--red-50); color: var(--red-700); font-size: 1.02rem; font-weight: 800; }
.holo__list { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 0; }
.holo__list li { display: flex; justify-content: space-between; gap: 12px; margin: 0; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: .95rem; color: var(--text-dim); }
.holo__list li b { color: var(--ink); font-weight: 800; text-align: right; }
.holo__fine { margin: 12px 0 0; font-size: .75rem; color: var(--text-mute); text-align: center; }
.holo__seal {
  position: absolute; right: 20px; top: 34px; width: 64px; height: 64px; border-radius: 50%;
  display: grid; place-items: center; text-align: center; line-height: 1.05;
  background: var(--red); color: var(--white); transform: rotate(10deg);
  font-family: var(--font-display); font-size: .62rem; font-weight: 700; letter-spacing: .04em;
  box-shadow: 0 0 0 4px var(--white), 0 0 0 5px var(--red-200);
}

/* ---------- Key facts (under the hero) ---------- */
.facts { padding: 8px 0 0; }

/* ---------- Sections ---------- */
.section { position: relative; padding: 64px 0; }
.section--alt { background: var(--snow); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 24px; }
.section-head h2 { margin: 0; }
.sec-num {
  flex: none; display: grid; place-items: center; width: 44px; height: 44px; margin-top: -2px; border-radius: 12px;
  background: var(--red); box-shadow: inset 0 5px 0 var(--white), inset 0 0 0 1px var(--red-600), var(--shadow-red);
  padding-top: 4px;
  font-family: var(--font-display); font-size: .78rem; font-weight: 700; color: var(--white);
}

.prose { max-width: 840px; }
.prose > p, .prose li { color: var(--text-dim); }
.prose h3 { position: relative; margin-top: 1.9em; padding-left: 18px; }
.prose h3::before {
  content: ""; position: absolute; left: 0; top: .15em; bottom: .15em; width: 6px; border-radius: 3px;
  background: linear-gradient(180deg, var(--line) 0 50%, var(--red) 50% 100%);
}

/* Card panel */
.panel { position: relative; padding: 26px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.panel > :last-child { margin-bottom: 0; }

/* Numbered steps */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0 0 1.4em; display: grid; gap: 10px; }
.steps li {
  counter-increment: step; position: relative; margin: 0; padding: 14px 16px 14px 64px;
  border-radius: var(--radius-sm); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm); color: var(--text);
}
.steps li::before {
  content: counter(step);
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px;
  background: var(--red); color: var(--white);
  font-family: var(--font-display); font-size: .8rem; font-weight: 700;
}

/* Bullet list with crimson markers */
.checklist { list-style: none; padding: 0; margin: 0 0 1.4em; display: grid; gap: 8px; }
.checklist li { position: relative; margin: 0; padding-left: 30px; color: var(--text); }
.checklist li::before {
  content: ""; position: absolute; left: 2px; top: .42em; width: 16px; height: 16px; border-radius: 5px;
  background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 11px no-repeat;
}

/* Provider chips */
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 1.4em; padding: 0; }
.chips li { margin: 0; padding: 7px 14px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm); color: var(--ink); font-weight: 700; font-size: .92rem; }
.chips li::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: var(--red); vertical-align: 1px; }

/* Tables */
.table-wrap {
  position: relative; margin: 0 0 1.6em; overflow-x: auto; -webkit-overflow-scrolling: touch;
  border-radius: var(--radius); border: 1px solid var(--line); background: var(--white); box-shadow: var(--shadow-sm);
}
.table { width: 100%; border-collapse: collapse; font-size: .95rem; font-variant-numeric: tabular-nums; }
.table th, .table td { padding: 12px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.table thead th {
  background: var(--red); color: var(--white);
  font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap;
}
.table tbody tr:nth-child(even) { background: var(--snow); }
.table tbody tr { transition: background-color .15s ease; }
.table tbody tr:hover { background: var(--red-50); }
.table tbody tr:last-child td, .table tbody tr:last-child th { border-bottom: 0; }
.table tbody th { color: var(--ink); font-weight: 800; }
.table td { color: var(--text-dim); }
.table .hl td, .table .hl th { background: var(--red-50); color: var(--red-800); }
.table .hl th { box-shadow: inset 4px 0 0 var(--red); }
.table .stars { color: var(--red); letter-spacing: .12em; white-space: nowrap; }
.table .no { color: var(--text-mute); }
.table .yes { color: var(--red-700); font-weight: 700; }

/* CTA band */
.cta-band {
  position: relative; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 18px;
  margin: 8px 0 1.6em; padding: 22px 26px 22px 30px; border-radius: var(--radius); overflow: hidden;
  background: var(--grad-red); color: var(--white); box-shadow: var(--shadow-red);
}
.cta-band::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 8px; background: var(--white); opacity: .9; }
.cta-band::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -40%; width: 30%; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .18), transparent);
  animation: sweep 6s ease-in-out infinite;
}
@keyframes sweep { 0%, 60% { left: -40%; } 100% { left: 130%; } }
.cta-band p { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 1.08rem; color: var(--white); }
.cta-band small { display: block; margin-top: 4px; font-family: var(--font-body); font-weight: 600; font-size: .85rem; color: rgba(255, 255, 255, .85); }

/* Callout */
.callout {
  margin: 0 0 1.6em; padding: 18px 20px 18px 22px; border-radius: var(--radius-sm);
  background: var(--red-50); border: 1px solid var(--red-100); border-left: 5px solid var(--red);
  color: var(--text);
}
.callout > :last-child { margin-bottom: 0; }

/* FAQ */
.faq { display: grid; gap: 12px; max-width: 900px; }
.faq details { border-radius: var(--radius-sm); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: border-color .2s ease, box-shadow .2s ease; }
.faq details[open] { border-color: var(--line-hi); box-shadow: var(--shadow); }
.faq summary { position: relative; display: block; padding: 18px 60px 18px 20px; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { margin: 0; font-size: 1.06rem; }
.faq summary::after {
  content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
  width: 30px; height: 30px; display: grid; place-items: center; border-radius: 9px;
  background: var(--red-50); color: var(--red); font-weight: 800; font-size: 1.15rem;
}
.faq details[open] summary::after { content: "–"; background: var(--red); color: var(--white); }
.faq .faq__a { padding: 0 20px 18px; color: var(--text-dim); }
.faq .faq__a p:last-child { margin-bottom: 0; }

/* ---------- Page hero (legal pages) ---------- */
.page-hero { padding: 40px 0 28px; background: var(--snow); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(1.6rem, 1.15rem + 1.9vw, 2.4rem); }
.page-hero p { color: var(--text-dim); max-width: 70ch; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 16px; padding: 0; list-style: none; font-size: .85rem; color: var(--text-mute); }
.breadcrumbs li { margin: 0; }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; color: var(--red); }
.breadcrumbs a { color: var(--text-dim); text-decoration: none; }
.breadcrumbs a:hover { color: var(--red); }

.legal { max-width: 860px; }
.legal h2 { font-size: clamp(1.15rem, 1.05rem + .5vw, 1.4rem); margin-top: 1.8em; padding-top: .9em; border-top: 1px solid var(--line); }
.legal h3 { font-size: 1.08rem; margin-top: 1.4em; }
.legal p, .legal li { color: var(--text-dim); }
.legal address { margin: 0 0 1.1em; padding: 14px 18px; border-radius: var(--radius-sm); background: var(--snow); border: 1px solid var(--line); font-style: normal; color: var(--text-dim); }

.toc { margin: 0 0 2em; padding: 22px 24px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm); border-top: 6px solid var(--red); }
.toc h2 { margin: 0 0 12px; padding: 0; border: 0; font-family: var(--font-display); font-size: .74rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--red); }
.toc ol { margin: 0; padding-left: 1.5em; columns: 2; column-gap: 32px; }
.toc li { margin-bottom: .3em; break-inside: avoid; color: var(--red); font-weight: 700; }
.toc a { color: var(--text-dim); text-decoration: none; font-size: .94rem; font-weight: 600; }
.toc a:hover { color: var(--red); }

/* ---------- Footer ---------- */
.site-footer { position: relative; margin-top: 40px; padding-bottom: 30px; background: #1d0f13; color: #d9cdd0; }
.site-footer .container { padding-top: 46px; }
.footer-brand { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 28px; padding-bottom: 30px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.footer-brand p { margin: 0; color: #bfb0b4; font-size: .95rem; }
.footer-brand p a, .footer-bottom p a, .disclaimer a { color: var(--white); font-weight: 700; }
.footer-top { display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: 32px; padding: 32px 0; }
.footer-col h2 { margin: 0 0 14px; font-family: var(--font-display); font-size: .74rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: #ff8aa1; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.footer-col li { margin: 0; }
.footer-col a { color: #cdbfc3; text-decoration: none; font-size: .95rem; }
.footer-col a:hover { color: var(--white); }
.footer-col p { color: #bfb0b4; font-size: .95rem; }
.footer-col .btn { font-size: .85rem; }
.footer-col a.btn--primary, .footer-col a.btn--primary:hover { color: var(--white); }
.footer-col a.btn--light, .footer-col a.btn--light:hover { color: var(--red-700); }

.rg { padding: 26px; border-radius: var(--radius); background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); }
.rg .age-badge { background: transparent; color: var(--white); }
.rg__head { display: grid; grid-template-columns: auto 1fr; column-gap: 18px; align-items: center; margin-bottom: 20px; }
.rg__head h2 { margin: 0; font-size: 1.2rem; color: var(--white); }
.rg__head p { grid-column: 1 / -1; margin: 14px 0 0; color: #bfb0b4; font-size: .95rem; }
.rg__grid { list-style: none; margin: 0 0 18px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.rg__grid li { margin: 0; }
.rg-link {
  display: flex; align-items: center; gap: 12px; height: 100%; padding: 12px 14px; border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, .03); border: 1px solid rgba(255, 255, 255, .1); color: #e8dde0; text-decoration: none;
  transition: border-color .2s ease, background-color .2s ease;
}
.rg-link:hover { color: var(--white); border-color: rgba(255, 138, 161, .6); background: rgba(220, 20, 60, .12); }
.rg-link__logo {
  flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px;
  background: var(--flag); color: var(--ink);
  font-family: var(--font-display); font-size: .62rem; font-weight: 800;
  position: relative; overflow: hidden;
}
.rg-link__logo::before { content: ""; position: absolute; inset: 9px; border-radius: 8px; background: var(--white); }
.rg-link__logo b { position: relative; color: var(--red-700); font-weight: 800; }
.rg-link__txt { display: flex; flex-direction: column; line-height: 1.3; font-size: .85rem; color: #a9999d; }
.rg-link__txt strong { font-size: .92rem; color: var(--white); }
.rg__hotline { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; margin: 0; color: #bfb0b4; font-size: .95rem; }
.rg__hotline a { font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; color: #ff8aa1; text-decoration: none; }

.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; padding: 24px 0 12px; font-size: .9rem; color: #a9999d; }
.footer-bottom p { margin: 0; }
.footer-bottom ul { display: flex; gap: 18px; list-style: none; margin: 0; padding: 0; }
.footer-bottom li { margin: 0; }
.footer-bottom a { color: #cdbfc3; text-decoration: none; }
.footer-bottom a:hover { color: var(--white); }
.disclaimer { margin: 0; font-size: .8rem; line-height: 1.6; color: #a9999d; }

/* ---------- Responsive ---------- */
@media (max-width: 1099px) {
  .burger { display: inline-flex; align-items: center; justify-content: center; }
  .header-left__link { display: none; }
  .main-nav { display: none; }
}
@media (max-width: 900px) {
  .hero { padding: 40px 0 88px; }
  .hero__grid { grid-template-columns: 1fr; gap: 32px; }
  .hero__wave { width: 380px; height: 380px; right: -200px; top: -60px; border-width: 50px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-top .footer-col:last-child { grid-column: 1 / -1; }
  .rg__grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-template-columns: 1fr; gap: 14px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  :root { --header-h: 64px; }
  .container { padding: 0 16px; }
  .header-actions .btn--outline { display: none; }
  .header-actions .btn { --btn-pad: 10px 14px; font-size: .82rem; }
  .logo__mark { width: 38px; height: 38px; }
  .logo__text > span { font-size: .86rem; }
  .logo__text small { letter-spacing: .3em; }
  .header-inner { grid-template-columns: auto 1fr auto; }
  .header-inner > .logo { justify-self: center; }
  .section { padding: 48px 0; }
  .section-head { gap: 12px; }
  .sec-num { width: 38px; height: 38px; font-size: .7rem; }
  .stats { grid-template-columns: 1fr 1fr; }
  .steps li { padding-left: 60px; }
  .panel { padding: 22px 18px; }
  .holo { padding: 0 18px 20px; }
  .holo__flag { margin: 0 -18px 20px; }
  .holo__seal { width: 56px; height: 56px; right: 14px; font-size: .56rem; }
  .toc ol { columns: 1; }
  .rg__grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .cta-band { padding: 20px 20px 20px 26px; }
  .cta-band .btn { width: 100%; }
  .hero .btn-row .btn { flex: 1 1 100%; }
}
@media (max-width: 380px) {
  .logo__text { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

@media print {
  body { background: #fff; color: #000; }
  .site-header, .topbar, .mobile-menu, .hero__wave, .cta-band { display: none !important; }
  .hero { background: #fff; color: #000; }
  .hero__title, .hero__lead { color: #000; }
}
