:root {
  --navy: #071b33;
  --navy-2: #0d2745;
  --emerald: #14a66a;
  --emerald-dark: #0c7f51;
  --orange: #f59a23;
  --white: #ffffff;
  --gray: #f4f6f8;
  --gray-2: #e8edf2;
  --ink: #172033;
  --muted: #5d6878;
  --line: #dbe3ea;
  --shadow: 0 18px 42px rgba(7, 27, 51, .12);
  --radius: 8px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, Manrope, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  letter-spacing: 0;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--emerald-dark); }
p { margin: 0 0 1rem; }
h1, h2, h3 { margin: 0 0 .75rem; line-height: 1.12; letter-spacing: 0; color: var(--navy); }
h1 { font-family: Manrope, Inter, sans-serif; font-size: clamp(1.95rem, 4.6vw, 3.3rem); max-width: 980px; }
h2 { font-family: Manrope, Inter, sans-serif; font-size: clamp(1.65rem, 4vw, 2.55rem); }
h3 { font-size: 1.12rem; }
ul { margin-top: 0; padding-left: 1.1rem; }
button, input, select, textarea { font: inherit; }
caption { text-align: left; padding: 0 0 1rem; font-weight: 800; color: var(--navy); }

.container { width: min(100% - 32px, var(--container)); margin-inline: auto; }
.skip-link {
  position: absolute;
  left: -999px;
  top: 10px;
  background: var(--white);
  color: var(--navy);
  padding: .75rem 1rem;
  border: 2px solid var(--emerald);
  z-index: 50;
}
.skip-link:focus { left: 10px; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.responsible-bar {
  background: var(--navy);
  color: var(--white);
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: .45rem 1rem;
  text-align: center;
  font-size: .92rem;
}
.age-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 28px;
  border-radius: 999px;
  background: var(--orange);
  color: var(--navy);
  font-weight: 900;
}
.rg-icon {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(20, 166, 106, .18);
  border: 1px solid rgba(255, 255, 255, .35);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .2s ease;
}
.site-header.is-scrolled { box-shadow: 0 10px 26px rgba(7, 27, 51, .09); }
.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
.brand img { width: 212px; }
.primary-nav {
  display: flex;
  align-items: center;
  gap: .3rem;
}
.primary-nav a {
  padding: .7rem .82rem;
  border-radius: var(--radius);
  font-weight: 800;
  color: var(--navy);
  font-size: .94rem;
}
.primary-nav a:hover,
.primary-nav a[aria-current="page"] {
  background: var(--gray);
  color: var(--emerald-dark);
}
.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: var(--radius);
  align-items: center;
  justify-content: center;
  color: var(--navy);
}
.menu-lines,
.menu-lines::before,
.menu-lines::after {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  content: "";
}
.menu-lines::before { transform: translateY(-7px); }
.menu-lines::after { transform: translateY(5px); }

.hero {
  position: relative;
  min-height: min(560px, 66vh);
  display: grid;
  align-items: center;
  overflow: hidden;
  background: var(--navy);
}
.hero-media {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(90deg, rgba(7, 27, 51, .96) 0%, rgba(7, 27, 51, .88) 35%, rgba(7, 27, 51, .25) 72%, rgba(7, 27, 51, .18) 100%), url("../images/hero-guide.jpg");
  background-size: cover;
  background-position: center right;
}
.hero-content {
  position: relative;
  z-index: 2;
  padding-block: 2.7rem;
  color: var(--white);
}
.hero h1 { color: var(--white); }
.hero p { max-width: 760px; font-size: 1.13rem; color: rgba(255, 255, 255, .9); }
.kicker {
  margin: 0 0 .8rem;
  color: var(--emerald-dark);
  font-weight: 900;
  text-transform: uppercase;
  font-size: .78rem;
}
.hero .kicker { color: #7be0b2; }
.trust-row,
.hero-meta,
.pill-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .7rem;
  margin: 1.35rem 0;
}
.trust-row span,
.hero-meta span,
.pill-row span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: .42rem .72rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .22);
  color: inherit;
  font-weight: 800;
  font-size: .9rem;
}
.hero-meta span { white-space: nowrap; }
.page-hero .hero-meta span,
.pill-row span {
  background: var(--gray);
  border-color: var(--line);
  color: var(--navy);
}
.hero-actions,
.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
  align-items: center;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: .76rem 1rem;
  border-radius: var(--radius);
  font-weight: 900;
  border: 1px solid transparent;
  cursor: pointer;
  text-align: center;
}
.button.primary {
  background: var(--emerald);
  color: var(--white);
  box-shadow: 0 12px 20px rgba(20, 166, 106, .24);
}
.button.primary:hover { background: var(--emerald-dark); color: var(--white); }
.button.secondary {
  background: var(--white);
  color: var(--navy);
  border-color: var(--line);
}
.button.secondary:hover { border-color: var(--emerald); color: var(--emerald-dark); }
.button.light {
  background: rgba(255, 255, 255, .14);
  color: var(--white);
  border-color: rgba(255, 255, 255, .3);
}
.button.light:hover { background: var(--white); color: var(--navy); }

.featured-strip {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
}
.featured-grid article {
  background: var(--white);
  padding: 1.2rem;
  min-height: 128px;
}
.featured-grid span {
  color: var(--orange);
  font-weight: 900;
}
.featured-grid strong {
  display: block;
  color: var(--navy);
  font-size: 1.18rem;
}
.featured-grid p { margin: .35rem 0 0; color: var(--muted); font-size: .95rem; }

.section-head {
  padding-top: 4rem;
  padding-bottom: 1.3rem;
}
.section-head p { max-width: 760px; color: var(--muted); }
.operator-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding-bottom: 4rem;
}
.operator-card,
.info-card,
.review-summary,
.score-card,
.notice-box,
.contact-form {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 12px 28px rgba(7, 27, 51, .06);
}
.operator-card {
  position: relative;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: .8rem;
}
.operator-rank,
.summary-rank {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 34px;
  border-radius: var(--radius);
  background: var(--orange);
  color: var(--navy);
  font-weight: 900;
}
.operator-head {
  display: flex;
  align-items: center;
  gap: .8rem;
}
.operator-head h3 { margin-bottom: .2rem; }
.operator-head p { margin: 0; color: var(--muted); font-size: .92rem; }
.operator-logo {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: var(--radius);
  background: var(--navy);
  color: var(--white);
  font-weight: 900;
  border: 3px solid rgba(20, 166, 106, .3);
}
.score-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--line);
  padding-top: .65rem;
  color: var(--muted);
}
.score-row strong { color: var(--navy); }
.compact { font-size: .94rem; }
.check-list,
.minus-list {
  list-style: none;
  padding-left: 0;
}
.check-list li,
.minus-list li {
  position: relative;
  padding-left: 1.55rem;
  margin-bottom: .45rem;
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--emerald);
  font-weight: 900;
}
.minus-list li::before {
  content: "!";
  position: absolute;
  left: 0;
  color: var(--orange);
  font-weight: 900;
}

.content-band {
  padding: 4.4rem 0;
  border-top: 1px solid var(--line);
}
.content-band.soft { background: var(--gray); }
.editorial-grid {
  display: grid;
  grid-template-columns: minmax(240px, 360px) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 4rem);
}
.prose {
  max-width: 860px;
  color: #2d3848;
}
.prose p { font-size: 1.03rem; }
.split {
  display: grid;
  grid-template-columns: minmax(240px, 380px) minmax(0, 1fr);
  gap: clamp(1.4rem, 4vw, 4rem);
  align-items: start;
}
.page-hero {
  background: linear-gradient(180deg, #f8fafb 0%, #ffffff 100%);
  border-bottom: 1px solid var(--line);
  padding: 4.4rem 0;
}
.page-hero-inner p { max-width: 820px; color: var(--muted); font-size: 1.08rem; }
.breadcrumb {
  display: flex;
  gap: .5rem;
  align-items: center;
  padding-top: 1rem;
  color: var(--muted);
  font-size: .92rem;
}
.breadcrumb a { color: var(--emerald-dark); font-weight: 800; }

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 820px;
}
.comparison-table th,
.comparison-table td {
  padding: 1rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.comparison-table thead th {
  background: var(--navy);
  color: var(--white);
}
.comparison-table tbody tr:nth-child(even) { background: #fbfcfd; }
.comparison-table a { color: var(--emerald-dark); font-weight: 900; }

.card-grid {
  display: grid;
  gap: 1rem;
  padding: 1.5rem 0 4rem;
}
.two-col { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.info-card { padding: 1.35rem; }
.info-card p { color: var(--muted); }
.check-panel {
  border-left: 5px solid var(--emerald);
  background: var(--white);
  padding: 1.2rem;
  border-radius: var(--radius);
}

.ranking-list {
  display: grid;
  gap: 1rem;
  padding-bottom: 4rem;
}
.review-summary {
  display: grid;
  grid-template-columns: 58px 70px minmax(0, 1fr);
  gap: 1rem;
  padding: 1.2rem;
  align-items: start;
}
.pros-cons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 1rem 0;
}

.faq-list { display: grid; gap: .75rem; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq-item h3 { margin: 0; }
.faq-question {
  width: 100%;
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border: 0;
  background: var(--white);
  color: var(--navy);
  padding: 1rem;
  font-weight: 900;
  text-align: left;
  cursor: pointer;
}
.faq-icon {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--gray);
  color: var(--emerald-dark);
}
.faq-question[aria-expanded="true"] .faq-icon { background: var(--emerald); color: var(--white); }
.faq-answer { padding: 0 1rem 1rem; color: var(--muted); }
[hidden] { display: none !important; }

.operator-review-hero {
  padding: 3rem 0;
  background: var(--gray);
  border-bottom: 1px solid var(--line);
}
.review-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 1rem;
  align-items: stretch;
}
.review-hero-grid > div:first-child {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.3rem;
}
.review-hero-grid .operator-logo { margin-bottom: 1rem; }
.score-card {
  padding: 1.3rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
}
.score-card span { color: var(--muted); font-weight: 800; }
.score-card strong { font-size: 1.35rem; color: var(--navy); }

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 460px);
  gap: clamp(1.4rem, 4vw, 4rem);
}
.notice-box { padding: 1rem; margin-top: 1rem; background: var(--gray); }
.contact-form {
  padding: 1.2rem;
  display: grid;
  gap: .65rem;
}
.contact-form label { font-weight: 900; color: var(--navy); }
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: .78rem .9rem;
  background: var(--white);
  color: var(--ink);
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus,
.faq-question:focus,
.button:focus,
.menu-toggle:focus {
  outline: 3px solid rgba(245, 154, 35, .35);
  outline-offset: 2px;
}
.checkbox-row {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: .6rem;
  align-items: start;
  font-weight: 600;
}
.checkbox-row input { width: 18px; margin-top: .35rem; }
.form-status { color: var(--emerald-dark); font-weight: 800; min-height: 1.5rem; }
.resource-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, .82);
  padding: 3.5rem 0 1.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 1.6rem;
}
.footer-grid h2 {
  color: var(--white);
  font-size: 1rem;
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: .45rem; }
.footer-grid a,
.footer-bottom a { color: #8de4bb; font-weight: 800; }
.footer-brand img {
  width: 210px;
  padding: .35rem;
  background: var(--white);
  border-radius: var(--radius);
  margin-bottom: 1rem;
}
.disclaimer { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .18);
  margin-top: 2rem;
  padding-top: 1rem;
  font-size: .9rem;
}
.back-to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  border: 0;
  background: var(--orange);
  color: var(--navy);
  font-weight: 900;
  box-shadow: var(--shadow);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease;
}
.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 60;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 5px solid var(--emerald);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
}
.cookie-banner p { margin: 0; color: var(--muted); }
.cookie-actions { display: flex; gap: .6rem; flex-wrap: wrap; }

@media (max-width: 1040px) {
  .operator-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .review-hero-grid { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  .menu-toggle { display: inline-flex; }
  .primary-nav {
    position: absolute;
    top: 100%;
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: .5rem;
    box-shadow: var(--shadow);
  }
  .primary-nav.is-open { display: flex; }
  .primary-nav a { padding: .95rem; }
  .hero {
    min-height: auto;
    align-items: end;
  }
  .hero-media {
    background-image: linear-gradient(180deg, rgba(7, 27, 51, .58) 0%, rgba(7, 27, 51, .95) 58%, rgba(7, 27, 51, .98) 100%), url("../images/hero-guide.jpg");
    background-position: center top;
  }
  .hero-content { padding-top: 11rem; padding-bottom: 2.4rem; }
  .featured-grid,
  .editorial-grid,
  .split,
  .two-col,
  .pros-cons,
  .contact-grid,
  .resource-grid {
    grid-template-columns: 1fr;
  }
  .review-summary {
    grid-template-columns: 50px minmax(0, 1fr);
  }
  .review-summary .operator-logo {
    grid-column: 1 / -1;
  }
  .cookie-banner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 580px) {
  .container { width: min(100% - 24px, var(--container)); }
  .brand img { width: 178px; }
  .header-inner { min-height: 68px; }
  .operator-grid { grid-template-columns: 1fr; }
  .content-band { padding: 3rem 0; }
  .page-hero { padding: 3rem 0; }
  .hero-content { padding-top: 6.5rem; padding-bottom: 1.6rem; }
  .hero p { font-size: .98rem; }
  .trust-row,
  .hero-meta { gap: .45rem; margin: .8rem 0; }
  .trust-row span,
  .hero-meta span {
    min-height: 30px;
    padding: .28rem .48rem;
    font-size: .78rem;
  }
  .button { width: 100%; }
  .card-actions .button,
  .hero-actions .button,
  .cookie-actions .button { width: auto; flex: 1 1 160px; }
  .pill-row span { width: 100%; justify-content: center; }
  .footer-grid { grid-template-columns: 1fr; }
}

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

.operator-logo {
  width: 120px;
  height: 60px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.operator-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.operator-head {
  display: flex;
  align-items: center;
  gap: 16px;
}

@media (max-width: 980px) {
  .operator-grid {
    grid-template-columns: 1fr;
  }
}

.footer-logos {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,.12);
}

.footer-logos-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  align-items: center;
}

.footer-logos-grid a,
.footer-logos-grid img {
  display: block;
}

.footer-logos-grid img {
  height: 40px;
  width: auto;
  opacity: .75;
  transition: opacity .2s ease;
}

.footer-logos-grid a:hover img {
  opacity: 1;
}