:root {
  --ink: #151829;
  --muted: #5f6577;
  --paper: #ffffff;
  --soft: #f4f6f8;
  --line: #dce1ea;
  --night: #101322;
  --blue: #2257c7;
  --teal: #087b83;
  --red: #b7384a;
  --gold: #c99a2e;
  --green: #187a54;
  --shadow: 0 18px 44px rgba(21, 24, 41, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.55;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 50;
  padding: 10px 14px;
  color: #fff;
  background: var(--night);
  border-radius: 6px;
}

.skip-link:focus {
  top: 16px;
}

.topbar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  min-height: 38px;
  padding: 8px 16px;
  color: #fff;
  background: var(--night);
  font-size: 0.86rem;
  font-weight: 800;
  text-align: center;
}

.topbar span + span::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-right: 14px;
  border-radius: 50%;
  background: var(--gold);
  vertical-align: middle;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.nav-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: min(1180px, calc(100% - 32px));
  min-height: 72px;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--red));
  font-weight: 900;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 0.74rem;
  text-transform: uppercase;
}

.site-menu {
  display: flex;
  gap: 4px;
  align-items: center;
}

.site-menu a {
  padding: 10px 12px;
  border-radius: 6px;
  color: var(--muted);
  font-weight: 800;
  text-decoration: none;
}

.site-menu a:hover,
.site-menu a:focus {
  color: var(--ink);
  background: var(--soft);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
}

.hero {
  background:
    linear-gradient(120deg, rgba(34, 87, 199, 0.12), rgba(24, 122, 84, 0.10) 50%, rgba(183, 56, 74, 0.09)),
    #f8fafc;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(310px, 0.55fr);
  gap: 42px;
  align-items: center;
  width: min(1180px, calc(100% - 32px));
  min-height: calc(100vh - 110px);
  margin: 0 auto;
  padding: 78px 0 44px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.08;
}

h1 {
  max-width: 780px;
  margin-bottom: 18px;
  font-size: clamp(2.35rem, 5vw, 4.9rem);
}

h2 {
  font-size: clamp(1.75rem, 3vw, 2.8rem);
}

h3 {
  font-size: 1.24rem;
}

.lead,
.section-head p,
.page-hero p,
.promo-card p,
.legal-layout p,
.contact-card p {
  color: var(--muted);
}

.lead {
  max-width: 690px;
  margin: 0 0 28px;
  font-size: 1.12rem;
}

.hero-actions,
.card-actions,
.age-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 16px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

.btn.primary {
  color: #fff;
  background: var(--blue);
}

.btn.primary:hover,
.btn.primary:focus {
  background: #17459e;
}

.btn.secondary,
.btn.muted {
  color: var(--ink);
  border-color: var(--line);
  background: #fff;
}

.btn.light {
  color: var(--ink);
  background: #fff;
}

.btn.small {
  min-height: 36px;
  padding: 8px 12px;
  color: #fff;
  background: var(--blue);
}

.hero-panel,
.legal-card,
.contact-card,
.contact-form,
.legal-layout article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.hero-panel {
  padding: 22px;
}

.panel-line {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.panel-line span {
  color: var(--muted);
}

.hero-panel p {
  margin: 18px 0 0;
  color: var(--muted);
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.trust-strip div {
  min-height: 112px;
  padding: 24px;
  background: #fff;
}

.trust-strip strong,
.trust-strip span {
  display: block;
}

.trust-strip strong {
  margin-bottom: 8px;
}

.trust-strip span {
  color: var(--muted);
}

.section,
.page-hero {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.section {
  padding: 72px 0;
}

.page-hero {
  padding: 72px 0 22px;
}

.section-head {
  max-width: 840px;
  margin-bottom: 28px;
}

.controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.segmented {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-weight: 800;
  cursor: pointer;
}

.chip.active,
.chip:hover {
  color: #fff;
  border-color: var(--teal);
  background: var(--teal);
}

.sort-label {
  display: grid;
  gap: 4px;
  min-width: 210px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.sort-label select,
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
}

.sort-label select {
  min-height: 42px;
  padding: 0 10px;
}

.promo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.promo-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(21, 24, 41, 0.08);
}

.promo-card[hidden] {
  display: none;
}

.promo-card.featured {
  border-top: 4px solid var(--gold);
}

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 64px;
  margin-bottom: 16px;
}

.rank {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: #fff;
  background: var(--night);
  font-weight: 900;
}

.status {
  padding: 6px 8px;
  border-radius: 999px;
  color: var(--green);
  background: #edf8f2;
  font-size: 0.78rem;
  font-weight: 900;
}

.offer {
  margin: 0 0 14px;
  color: var(--red) !important;
  font-size: 1.12rem;
  font-weight: 900;
  text-transform: uppercase;
}

.feature-list,
.plain-list {
  padding-left: 20px;
}

.feature-list {
  margin: 0 0 18px;
}

.feature-list li + li,
.plain-list li + li {
  margin-top: 8px;
}

.card-actions {
  margin-top: auto;
}

.text-link {
  color: var(--teal);
  font-weight: 900;
  text-decoration: none;
}

.comparison {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
}

table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  background: #fff;
}

th,
td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

thead th {
  color: #fff;
  background: var(--night);
}

.legal-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}

.legal-card,
.contact-card,
.contact-form,
.legal-layout article {
  padding: 22px;
}

.legal-card ul {
  padding-left: 20px;
}

.responsible-band {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 44px max(16px, calc((100vw - 1180px) / 2));
  color: #fff;
  background: var(--teal);
}

.responsible-band div {
  max-width: 760px;
}

.responsible-band p,
.responsible-band .eyebrow {
  color: #eafcff;
}

.faq-list,
.legal-layout {
  display: grid;
  gap: 14px;
}

details {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

summary {
  cursor: pointer;
  font-weight: 900;
}

details p {
  color: var(--muted);
}

.resource-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.resource-list a {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
  color: var(--teal);
  font-weight: 900;
  text-decoration: none;
}

.contact-form {
  display: grid;
  gap: 14px;
}

.contact-form label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  padding: 11px 12px;
}

.mail {
  color: var(--blue);
  font-size: 1.18rem;
  font-weight: 900;
}

.small {
  font-size: 0.94rem;
}

.site-footer {
  padding: 48px max(16px, calc((100vw - 1180px) / 2)) 22px;
  color: #dfe6f2;
  background: var(--night);
}

.site-footer.compact {
  padding-top: 22px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr 0.85fr;
  gap: 30px;
}

.footer-brand {
  color: #fff;
}

.footer-grid p {
  color: #aeb7c9;
}

.footer-grid h2 {
  font-size: 1rem;
}

.footer-grid a,
.footer-bottom a {
  color: #fff;
  text-decoration: none;
}

.footer-grid a {
  display: block;
  margin-top: 8px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  color: #aeb7c9;
  font-size: 0.92rem;
}

.age-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(16, 19, 34, 0.72);
}

.age-modal[hidden] {
  display: none;
}

.age-card {
  width: min(480px, 100%);
  padding: 28px;
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.age-badge {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  color: #fff;
  background: var(--red);
  font-weight: 900;
}

.cookie-box {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 70;
  display: flex;
  align-items: center;
  gap: 12px;
  width: min(520px, calc(100% - 32px));
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.cookie-box p {
  margin: 0;
  color: var(--muted);
}

.blocked {
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: 20px;
  text-align: center;
}

@media (max-width: 980px) {
  .hero-inner,
  .legal-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    min-height: auto;
  }

  .promo-grid {
    grid-template-columns: 1fr;
  }

  .trust-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .topbar {
    flex-direction: column;
    gap: 4px;
  }

  .topbar span + span::before {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .site-menu {
    position: absolute;
    top: 72px;
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
  }

  .site-menu.open {
    display: flex;
  }

  .hero-inner {
    padding-top: 44px;
  }

  .controls,
  .responsible-band,
  .cookie-box,
  .footer-bottom {
    flex-direction: column;
    align-items: stretch;
  }

  .sort-label {
    min-width: 0;
  }

  .trust-strip {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .nav-wrap,
  .section,
  .page-hero,
  .hero-inner {
    width: min(100% - 24px, 1180px);
  }

  .brand-mark {
    width: 40px;
    height: 40px;
  }

  .promo-card,
  .legal-card,
  .contact-card,
  .contact-form,
  .legal-layout article {
    padding: 16px;
  }
}
