:root {
  --bg: #FFF3E4;
  --ink: #103536;
  --turquoise: #21B8AA;
  --apricot: #FF9A73;
  --lavender: #9B84E6;
  --surface: #E7F4EF;
  --footer: #071B1C;

  --card-radius: 22px;
  --panel-radius: 18px;
  --shadow: 0 10px 24px rgba(16, 53, 54, 0.12);
  --shadow-soft: 0 6px 14px rgba(16, 53, 54, 0.10);
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Liberation Sans", sans-serif;
  line-height: 1.5;
}

a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--lavender); outline-offset: 2px; }

.container { width: min(1060px, calc(100% - 40px)); margin: 0 auto; }

.warning {
  background: rgba(16, 53, 54, 0.09);
  border-bottom: 1px solid rgba(16, 53, 54, 0.12);
}
.warning p { margin: 0; padding: 10px 0; font-size: 14px; }

.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255, 243, 228, 0.88); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(16, 53, 54, 0.10); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; }
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand-logo { display: block; }

.burger {
  appearance: none;
  border: 0;
  background: transparent;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.burger:hover { background: rgba(16, 53, 54, 0.06); }
.burger-lines {
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  position: relative;
}
.burger-lines::before,
.burger-lines::after {
  content: "";
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}
.burger-lines::before { top: -7px; }
.burger-lines::after { top: 7px; }

.mobile-menu { display: none; }
.mobile-menu.is-open { display: block !important; }
.mobile-menu { border-top: 1px solid rgba(16, 53, 54, 0.10); background: rgba(255, 243, 228, 0.96); }
.mobile-menu-list { list-style: none; padding: 12px 0 18px; margin: 0; display: grid; gap: 10px; }
.mobile-menu a {
  display: block;
  padding: 12px 14px;
  border-radius: 14px;
  text-decoration: none;
  background: rgba(231, 244, 239, 0.78);
  border: 1px solid rgba(16, 53, 54, 0.10);
}
.mobile-menu a.is-active { border-color: rgba(155, 132, 230, 0.45); box-shadow: var(--shadow-soft); }

.site-main { padding: 28px 0 52px; }

.hero {
  display: grid;
  gap: 18px;
  padding: 28px 0 8px;
}
.hero h1 {
  margin: 0;
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: -0.02em;
}
.hero p { margin: 0; font-size: 16px; max-width: 72ch; }

.badges { display: flex; flex-wrap: wrap; gap: 10px; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(231, 244, 239, 0.90);
  border: 1px solid rgba(16, 53, 54, 0.10);
  font-size: 13px;
}

.info-panel {
  margin-top: 10px;
  background: var(--surface);
  border-radius: var(--panel-radius);
  border: 1px solid rgba(16, 53, 54, 0.10);
  box-shadow: var(--shadow-soft);
  padding: 18px;
  position: relative;
}
.info-panel::after {
  content: "";
  position: absolute;
  inset: auto 18px -10px auto;
  width: 110px;
  height: 34px;
  border-radius: 999px;
  background: rgba(255, 154, 115, 0.55);
  transform: rotate(-6deg);
  filter: blur(0.2px);
}
.info-panel p { margin: 0; position: relative; z-index: 1; }
.info-panel p + p { margin-top: 10px; }

.cards { margin-top: 22px; display: grid; gap: 14px; }
.card {
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(16, 53, 54, 0.10);
  border-radius: var(--card-radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.card-inner {
  display: grid;
  grid-template-columns: 0.3fr 1fr;
  gap: 14px;
  padding: 16px;
}
.logo-wrap {
  border-radius: 18px;
  display: grid;
  place-items: center;
  padding: 12px;
  min-height: 86px;
}
.logo-wrap img { max-width: 100%; height: auto; display: block; }

.card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.num {
  font-size: 34px;
  font-weight: 750;
  letter-spacing: -0.04em;
}
.anj {
  font-size: 13px;
  opacity: 0.9;
  background: rgba(255, 243, 228, 0.75);
  border: 1px solid rgba(16, 53, 54, 0.10);
  border-radius: 999px;
  padding: 8px 10px;
}
.category { margin-top: 8px; font-size: 15px; }

.points { margin: 12px 0 0; padding-left: 18px; }
.points li { margin: 4px 0; }

.card-bottom { margin-top: 14px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; justify-content: space-between; }
.score {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(231, 244, 239, 0.92);
  border: 1px solid rgba(16, 53, 54, 0.10);
}
.score strong { font-size: 18px; }
.score span { font-size: 12px; opacity: 0.85; }

.btn {
  border: 1px solid rgba(16, 53, 54, 0.18);
  background: rgba(255, 255, 255, 0.70);
  color: var(--ink);
  border-radius: 999px;
  padding: 10px 14px;
  cursor: pointer;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
}
.btn:hover { box-shadow: var(--shadow-soft); }
.btn-primary { background: var(--turquoise); border-color: rgba(16, 53, 54, 0.12); }
.btn-ghost { background: transparent; }

.page {
  background: rgba(255, 255, 255, 0.50);
  border: 1px solid rgba(16, 53, 54, 0.10);
  border-radius: 22px;
  padding: 18px;
  box-shadow: var(--shadow-soft);
}
.page h1 { margin: 0 0 10px; font-size: 26px; letter-spacing: -0.02em; }
.page h2 { margin: 18px 0 8px; font-size: 18px; }
.page p { margin: 0; }
.page p + p { margin-top: 10px; }
.page ul { margin: 10px 0 0; }

.site-footer { background: var(--footer); color: rgba(255, 255, 255, 0.92); padding: 30px 0 22px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 14px; }
.footer-links a { color: rgba(255, 255, 255, 0.90); text-decoration: none; padding: 6px 0; }
.footer-links a:hover { text-decoration: underline; }
.footer-text { margin-top: 14px; opacity: 0.95; }
.footer-text p { margin: 0; }
.footer-text p + p { margin-top: 10px; }
.footer-heading { margin: 20px 0 10px; font-size: 16px; letter-spacing: 0.01em; }
.footer-resources { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.footer-resources a {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255, 243, 228, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.footer-resources img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}
.footer-mandatory { margin: 16px 0 0; font-size: 13px; opacity: 0.9; }

.age-popup {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(7, 27, 28, 0.62);
  z-index: 60;
}
.age-popup[hidden] { display: none; }
.age-popup-inner {
  width: min(520px, 100%);
  background: rgba(255, 243, 228, 0.98);
  border: 1px solid rgba(16, 53, 54, 0.12);
  border-radius: 22px;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.22);
  padding: 18px;
}
.age-title { margin: 0; font-size: 18px; font-weight: 750; }
.age-subtitle { margin: 10px 0 0; }
.age-actions { margin-top: 14px; display: flex; gap: 10px; flex-wrap: wrap; }

.cookie-banner {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 50;
  padding: 14px 0;
  background: rgba(16, 53, 54, 0.95);
  color: rgba(255, 255, 255, 0.95);
}
.cookie-banner[hidden] { display: none; }
.cookie-inner { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.cookie-text { margin: 0; font-size: 14px; max-width: 78ch; }
.cookie-actions { display: flex; gap: 10px; }

@media (min-width: 1024px) {
  .burger { display: none; }
  .mobile-menu { display: none !important; }
}

@media (max-width: 520px) {
  .card-inner { grid-template-columns: 1fr; }
  .card-bottom { justify-content: center; }
  .logo-wrap { width: 100%; max-width: 220px; margin: 0 auto; }
  .num { font-size: 30px; }
  .footer-resources { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
