/* ===== Design tokens ===== */
:root {
  --bg: #06070b;
  --bg-soft: #0b0d14;
  --panel: #10131c;
  --panel-2: #141827;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #eef1f7;
  --text-muted: #99a1b5;
  --text-faint: #6b7386;
  --green: #2fd675;
  --green-soft: rgba(47, 214, 117, 0.14);
  --gold: #f5c451;
  --gold-soft: rgba(245, 196, 81, 0.14);
  --red: #ff6b6b;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --font-display: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --shadow-glow: 0 0 0 1px var(--border), 0 20px 60px rgba(0, 0, 0, 0.45);
  --brand-accent: #2fd675;
  --brand-accent-soft: rgba(47, 214, 117, 0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.6em;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2rem, 4.2vw, 3.4rem); }
h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
h3 { font-size: 1.15rem; }

p { margin: 0 0 1em; color: var(--text-muted); }
a { color: inherit; text-decoration: none; }
ul { padding-left: 0; margin: 0; list-style: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.muted { color: var(--text-faint); }
.small { font-size: 0.85rem; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 13px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}
.btn--primary {
  background: linear-gradient(135deg, var(--green), #21b862);
  color: #05130b;
  box-shadow: 0 8px 24px rgba(47, 214, 117, 0.25);
}
.btn--primary:hover { transform: translateY(-1px); box-shadow: 0 12px 30px rgba(47, 214, 117, 0.35); }
.btn--outline {
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--border-strong);
  color: var(--text);
}
.btn--outline:hover { border-color: var(--green); color: var(--green); }
.btn--ghost {
  background: transparent;
  color: var(--text-muted);
  border-color: transparent;
}
.btn--ghost:hover { color: var(--text); }
.btn--sm { padding: 9px 16px; font-size: 0.82rem; }
.btn--lg { padding: 16px 30px; font-size: 1rem; }
.btn--block { width: 100%; margin-top: 10px; }

/* ===== Top strip ===== */
.top-strip {
  background: #05130c;
  border-bottom: 1px solid var(--border);
}
.top-strip__inner {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 24px;
  font-size: 0.78rem;
  color: var(--text-faint);
  flex-wrap: wrap;
}
.top-strip__responsible { color: var(--text-faint); }

.age-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(245, 196, 81, 0.4);
  background: var(--gold-soft);
  color: var(--gold);
  padding: 3px 10px 3px 3px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
}
.age-chip__num {
  background: var(--gold);
  color: #23180a;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.72rem;
  padding: 2px 8px;
  border-radius: 999px;
}
.age-chip--footer { margin-top: 14px; }
.age-chip--inline { padding: 2px; margin-right: 6px; vertical-align: middle; }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(6, 7, 11, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 24px;
}
.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
}
.brand-logo__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--green), var(--gold));
  color: #06070b;
  font-size: 0.82rem;
  font-weight: 700;
}
.brand-logo--footer { margin-bottom: 14px; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
}
.main-nav a { transition: color 0.15s ease; }
.main-nav a:hover, .main-nav a.is-active { color: var(--text); }
.main-nav a.is-active { color: var(--green); }
.main-nav__dropdown { position: relative; }
.main-nav__dropdown-menu {
  position: absolute;
  top: 26px;
  left: 0;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 8px;
  min-width: 150px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: all 0.15s ease;
  box-shadow: var(--shadow-glow);
}
.main-nav__dropdown:hover .main-nav__dropdown-menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.main-nav__dropdown-menu a {
  display: block;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 0.88rem;
}
.main-nav__dropdown-menu a:hover { background: rgba(255,255,255,0.05); color: var(--green); }

.header-actions { display: flex; align-items: center; gap: 16px; }
.lang-switch {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--text-faint);
}
.lang-switch a { padding: 4px 6px; border-radius: 6px; }
.lang-switch a.is-active { color: var(--green); }
.lang-switch__sep { color: var(--border-strong); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  padding: 6px;
}
.nav-toggle span { width: 20px; height: 2px; background: var(--text); border-radius: 2px; }

.mobile-nav {
  display: none;
  flex-direction: column;
  padding: 10px 24px 18px;
  border-top: 1px solid var(--border);
}
.mobile-nav a { padding: 10px 0; font-size: 0.95rem; color: var(--text-muted); }
.mobile-nav.is-open { display: flex; }

/* ===== Hero ===== */
.hero, .brand-hero, .simple-hero {
  position: relative;
  overflow: hidden;
  padding: 90px 0 70px;
  border-bottom: 1px solid var(--border);
}
.simple-hero { padding: 70px 0 50px; }
.hero__glow {
  position: absolute;
  width: 640px;
  height: 640px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.28;
  pointer-events: none;
  z-index: 0;
}
.hero__glow--a { background: var(--green); top: -220px; left: -160px; }
.hero__glow--b { background: var(--gold); bottom: -260px; right: -160px; opacity: 0.2; }
.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 20%, black 40%, transparent 90%);
  z-index: 0;
}
.hero__inner, .brand-hero__inner { position: relative; z-index: 1; }
.hero__inner {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green);
  background: var(--green-soft);
  border: 1px solid rgba(47,214,117,0.3);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.kicker__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); }

.hero__subtitle { font-size: 1.08rem; max-width: 620px; }
.hero__cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin: 26px 0 22px; }
.hero__disclaimer {
  display: flex;
  align-items: center;
  font-size: 0.82rem;
  color: var(--text-faint);
  max-width: 560px;
}

.hero__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.stat-card {
  background: linear-gradient(160deg, var(--panel), var(--panel-2));
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px;
  text-align: center;
}
.stat-card--accent { grid-column: span 2; border-color: rgba(47,214,117,0.35); background: linear-gradient(160deg, rgba(47,214,117,0.1), var(--panel)); }
.stat-card__num { display: block; font-family: var(--font-display); font-size: 1.9rem; font-weight: 700; color: var(--text); }
.stat-card__label { font-size: 0.78rem; color: var(--text-faint); text-transform: uppercase; letter-spacing: 0.04em; }

/* ===== Sections ===== */
.section { padding: 70px 0; }
.section--alt { background: var(--bg-soft); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-heading { max-width: 640px; margin-bottom: 40px; }
.section-heading p { font-size: 1rem; }
.content-narrow { max-width: 760px; margin: 0 auto; }
.center-cta { text-align: center; margin-top: 30px; }

/* ===== Brand cards ===== */
.brand-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}
.brand-card {
  background: linear-gradient(165deg, var(--panel), var(--panel-2));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.brand-card::before {
  content: "";
  position: absolute;
  top: -40%; right: -30%;
  width: 260px; height: 260px;
  background: var(--brand-accent-soft);
  filter: blur(60px);
  border-radius: 50%;
}
.brand-card:hover { border-color: var(--border-strong); transform: translateY(-3px); }
.brand-card__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; position: relative; z-index: 1; }
.brand-card h3 { margin-bottom: 4px; position: relative; z-index: 1; }
.brand-card__tagline { font-size: 0.92rem; margin-bottom: 18px; position: relative; z-index: 1; }

.brand-wordmark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 6px 14px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid color-mix(in srgb, var(--brand-accent) 40%, transparent);
}
.brand-wordmark img { height: 100%; width: auto; max-width: 120px; object-fit: contain; display: block; }
.brand-wordmark--sm { height: 28px; padding: 4px 10px; }
.brand-wordmark--sm img { max-width: 90px; }
.brand-wordmark--lg { height: 56px; padding: 10px 20px; }
.brand-wordmark--lg img { max-width: 170px; }

.brand-rating { text-align: right; position: relative; z-index: 1; }
.brand-rating__num { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: var(--gold); }
.brand-rating__label { display: block; font-size: 0.7rem; color: var(--text-faint); }
.brand-rating--lg .brand-rating__num { font-size: 2.1rem; }

.brand-card__license {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-muted);
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  margin-bottom: 18px;
  position: relative; z-index: 1;
  flex-wrap: wrap;
}
.brand-card__license svg { color: var(--green); flex-shrink: 0; }
.brand-card__license a { margin-left: auto; color: var(--green); font-weight: 600; }
.brand-card__license a:hover { text-decoration: underline; }

.brand-card__features { margin-bottom: 22px; position: relative; z-index: 1; }
.brand-card__features li {
  font-size: 0.86rem;
  color: var(--text-muted);
  padding-left: 20px;
  position: relative;
  margin-bottom: 8px;
}
.brand-card__features li::before {
  content: "";
  position: absolute;
  left: 0; top: 7px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--brand-accent);
}
.brand-card__actions { display: flex; gap: 10px; position: relative; z-index: 1; }
.brand-card__actions .btn { margin-top: 0; }

/* ===== Criteria ===== */
.criteria-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.criteria-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
}
.criteria-card__index {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--bg);
  background: var(--green);
  padding: 3px 9px;
  border-radius: 6px;
  margin-bottom: 14px;
}
.criteria-card p { font-size: 0.9rem; margin: 0; }

/* ===== Table ===== */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius-md); }
.comparison-table { width: 100%; border-collapse: collapse; min-width: 640px; }
.comparison-table th, .comparison-table td {
  text-align: left;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}
.comparison-table th {
  background: var(--bg-soft);
  color: var(--text-faint);
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  font-weight: 600;
}
.comparison-table tr:last-child td { border-bottom: none; }
.comparison-table td a { color: var(--green); font-weight: 600; }
.table-link:hover { text-decoration: underline; }

/* ===== Responsible section ===== */
.responsible-section__inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}
.responsible-section__art svg { width: 100%; height: auto; opacity: 0.9; }
.footer-helpline { font-size: 0.92rem; color: var(--text); margin-bottom: 16px; }
.regulator-badges { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; margin-top: 6px; }
.regulator-badges img { opacity: 0.92; transition: opacity 0.15s ease; }
.regulator-badges a:hover img { opacity: 1; }
.regulator-badges--side { gap: 12px; }

/* ===== FAQ ===== */
.faq-list { display: flex; flex-direction: column; gap: 12px; max-width: 760px; }
.faq-list--full { max-width: none; }
.faq-item {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 6px 22px;
}
.faq-item summary {
  cursor: pointer;
  padding: 16px 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  color: var(--green);
  font-size: 1.3rem;
  font-weight: 400;
  margin-left: 12px;
}
.faq-item[open] summary::after { content: "\2212"; }
.faq-item p { padding-bottom: 18px; margin: 0; }

/* ===== Footer ===== */
.site-footer { background: var(--bg-soft); border-top: 1px solid var(--border); padding-top: 60px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
  gap: 32px;
  padding-bottom: 40px;
}
.footer-col h4 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-faint);
  margin-bottom: 16px;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a { color: var(--text-muted); font-size: 0.9rem; }
.footer-col ul a:hover { color: var(--green); }
.footer-col--about p { font-size: 0.88rem; }
.footer-regulator-text { font-size: 0.8rem; }

.footer-legal-row {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  padding: 20px 24px;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
}
.footer-legal-row a { color: var(--text-muted); }
.footer-legal-row a:hover { color: var(--green); }
.footer-legal-row span { color: var(--border-strong); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 22px 24px 32px;
  font-size: 0.78rem;
  color: var(--text-faint);
}
.footer-disclaimer { max-width: 900px; }

/* ===== Cookie banner ===== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 100;
  padding: 18px;
  animation: rise 0.4s ease;
}
@keyframes rise { from { transform: translateY(100%); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.cookie-banner__inner {
  max-width: 980px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--panel);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  box-shadow: 0 24px 70px rgba(0,0,0,0.55);
  flex-wrap: wrap;
}
.cookie-banner__icon { color: var(--green); flex-shrink: 0; }
.cookie-banner__text { flex: 1; min-width: 240px; }
.cookie-banner__text strong { display: block; font-family: var(--font-display); margin-bottom: 4px; }
.cookie-banner__text p { margin: 0; font-size: 0.85rem; }
.cookie-banner__text a { color: var(--green); font-weight: 600; }
.cookie-banner__actions { display: flex; gap: 10px; flex-shrink: 0; }

/* ===== Brand detail page ===== */
.back-link { display: inline-block; font-size: 0.85rem; color: var(--text-faint); margin-bottom: 20px; }
.back-link:hover { color: var(--green); }
.brand-hero__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; flex-wrap: wrap; gap: 14px; }

.brand-detail-grid { display: grid; grid-template-columns: 1.6fr 0.9fr; gap: 40px; align-items: start; }
.detail-block { margin-bottom: 34px; }
.detail-block p:last-child { margin-bottom: 0; }
.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.pros-cons__col { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 20px 22px; }
.pros-cons__col--pros h3 { color: var(--green); }
.pros-cons__col--cons h3 { color: var(--red); }
.pros-cons__col li { font-size: 0.9rem; color: var(--text-muted); padding-left: 18px; position: relative; margin-bottom: 10px; }
.pros-cons__col--pros li::before { content: "+"; position: absolute; left: 0; color: var(--green); font-weight: 700; }
.pros-cons__col--cons li::before { content: "\2212"; position: absolute; left: 0; color: var(--red); font-weight: 700; }

.feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; }
.feature-list li { font-size: 0.92rem; color: var(--text-muted); padding-left: 20px; position: relative; }
.feature-list li::before { content: ""; position: absolute; left: 0; top: 8px; width: 6px; height: 6px; border-radius: 50%; background: var(--brand-accent); }

.offer-block, .verdict-block { background: linear-gradient(160deg, var(--panel), var(--panel-2)); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 24px; }

.side-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px;
  margin-bottom: 20px;
}
.side-card h3 { margin-bottom: 10px; }
.side-card p { font-size: 0.88rem; }

/* ===== Contact ===== */
.contact-grid { display: grid; grid-template-columns: 1.4fr 0.9fr; gap: 40px; align-items: start; }
.contact-form-card { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 30px; }
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.contact-form label { display: flex; flex-direction: column; gap: 6px; font-size: 0.85rem; color: var(--text-muted); }
.contact-form input, .contact-form textarea {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  resize: vertical;
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--green); }
.success-banner {
  background: var(--green-soft);
  border: 1px solid rgba(47,214,117,0.4);
  color: var(--green);
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  font-size: 0.9rem;
}

.not-found { text-align: center; }
.not-found .btn { margin-top: 10px; }

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__stats { grid-template-columns: 1fr 1fr; }
  .brand-detail-grid, .contact-grid { grid-template-columns: 1fr; }
  .responsible-section__inner { grid-template-columns: 1fr; }
  .responsible-section__art { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .header-actions .btn--sm { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .pros-cons, .feature-list { grid-template-columns: 1fr; }
  .cookie-banner__inner { flex-direction: column; align-items: stretch; text-align: left; }
  .cookie-banner__actions { justify-content: flex-end; }
}
