:root {
  --bg: #f6fbff;
  --text: #10283a;
  --primary: #0077c8;
  --accent: #00c2a8;
  --surface: #ffffff;
  --line: #c6deef;
  --warn: #d43b6a;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  background:
    linear-gradient(rgba(245, 250, 255, 0.9), rgba(245, 250, 255, 0.9)),
    url("../../brand/bg/bg.png") center/cover fixed no-repeat,
    var(--bg);
  color: var(--text);
}
.container { width: min(1100px, 92%); margin: 0 auto; }
.topbar { background: linear-gradient(90deg, #0077c8, #00a8d8); color: #fff; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; padding: .9rem 0; gap: 1rem; flex-wrap: wrap; }
.logo { font-size: 1.25rem; font-weight: 700; }
.logo em { color: #ffec7a; font-style: normal; }
nav a { color: #fff; text-decoration: none; margin-right: .9rem; font-weight: 600; }
nav { display: flex; flex-wrap: wrap; gap: .7rem; }
.wave-header {
  background: linear-gradient(120deg, #0072bc, #00a7cf, #00c2a8);
  background-size: 200% 200%;
  animation: waveGradient 13s ease infinite;
}
.wave-head-shell {
  display: grid !important;
  grid-template-columns: 1fr auto auto;
  align-items: center;
}
.wave-nav { display: flex; align-items: center; gap: .9rem; flex-wrap: wrap; }
.wave-nav a {
  margin-right: 0;
  position: relative;
  padding-bottom: .2rem;
}
.wave-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, 0.9);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.wave-nav a:hover::after { transform: scaleX(1); }
.wave-brand { display: inline-flex; align-items: center; gap: .5rem; white-space: nowrap; }
.wave-mark {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.9);
  position: relative;
  display: inline-block;
}
.wave-mark::before {
  content: "";
  position: absolute;
  left: 2px;
  right: 2px;
  top: 9px;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, #7bf7ef, #fff);
}
.wave-side-badge {
  font-size: .73rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  padding: .35rem .55rem;
  background: rgba(0, 75, 120, 0.25);
}
.headline-disclaimer {
  margin-top: .8rem;
  background: linear-gradient(180deg, #f2fbff, #ffffff);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: .8rem 1rem;
}
.headline-disclaimer p {
  margin: 0;
  line-height: 1.45;
}
.headline-disclaimer p + p { margin-top: .25rem; }
.hero { background: var(--surface); margin-top: 1.1rem; padding: 1.2rem; border: 1px solid var(--line); border-radius: 14px; }
.kicker { color: var(--primary); text-transform: uppercase; letter-spacing: .08em; margin-bottom: .2rem; font-size: .84rem; }
.hero h1 { margin: 0 0 .8rem; font-size: clamp(1.5rem, 3.2vw, 2.5rem); }
.hero-meta { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.hero-meta p { margin: 0; background: #edf7ff; border-left: 4px solid var(--accent); padding: .75rem; border-radius: 8px; }
.selection-checklist, .myth-fact, .methodology, .editorial-policy { margin-top: 1rem; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: .9rem; }
.check-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.check-grid article { background: #f8fcff; border: 1px solid var(--line); border-radius: 10px; padding: .8rem; }
.check-grid ul { margin: 0; padding-left: 1.1rem; }
.operator-ribbon { margin-top: 1.3rem; }
.operator-ribbon h2 { margin-bottom: .7rem; }
.ribbon-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: .8rem; }
.ribbon-grid article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: .8rem;
  display: flex;
  flex-direction: column;
  gap: .35rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.ribbon-grid article::before {
  content: "";
  position: absolute;
  inset: -120% auto auto -30%;
  width: 60%;
  height: 220%;
  transform: rotate(17deg);
  background: linear-gradient(90deg, transparent, rgba(0, 119, 200, 0.12), transparent);
  pointer-events: none;
}
.ribbon-grid article:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 30px rgba(0, 90, 145, 0.18);
  border-color: #8cc8ea;
}
.ribbon-grid article:hover::before { animation: waveShine .9s ease; }
.ribbon-grid img { width: 130px; max-width: 100%; height: 40px; object-fit: contain; }
.ribbon-grid .card-logo-link { justify-content: center; }
.ribbon-grid h3 { margin: .5rem 0 0; font-size: 1rem; }
.ribbon-grid span { color: var(--warn); font-weight: 700; }
.card-logo-link { display: inline-flex; }
.wave-chips {
  display: flex;
  justify-content: center;
  gap: .35rem;
  flex-wrap: wrap;
  margin-bottom: .5rem;
}
.chip {
  font-size: .68rem;
  letter-spacing: .03em;
  padding: .2rem .42rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #f2fbff;
  color: #155273;
}
.chip-fast { border-color: #80d4c6; background: #e8fcf8; }
.chip-mobile { border-color: #7fbbe0; background: #ebf7ff; }
.segmented-score {
  margin: .45rem 0 .2rem;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: .25rem;
}
.segmented-score span {
  height: 8px;
  border-radius: 999px;
  background: #d4e6f3;
}
.segmented-score .on {
  background: linear-gradient(90deg, #00c2a8, #25d9bf);
  box-shadow: 0 0 9px rgba(0, 194, 168, 0.25);
}
.card-cta {
  display: inline-block;
  margin-top: auto;
  background: var(--primary);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  padding: .45rem .7rem;
  border-radius: 8px;
}
.split { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; margin-top: 1rem; }
.split article, .faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: .9rem; }
.split ul { margin: 0; padding-left: 1.1rem; }
.table-wrap { overflow-x: auto; margin-top: .7rem; border: 1px solid var(--line); border-radius: 10px; }
table { width: 100%; border-collapse: collapse; min-width: 500px; background: #fff; }
th, td { text-align: left; vertical-align: top; padding: .65rem; border-bottom: 1px solid var(--line); }
th { background: #eff8ff; }
.methodology ol { margin: 0; padding-left: 1.2rem; }
.faq { margin-top: 1rem; }
.faq details { margin-bottom: .65rem; }
.regulator-logos {
  display: flex;
  align-items: center;
  gap: .65rem;
  flex-wrap: wrap;
}
.regulator-logos a {
  display: inline-flex;
  background: #f8fcff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: .3rem .45rem;
}
.regulator-logos img { height: 32px; width: auto; display: block; object-fit: contain; }
.content-page { background: #fff; border: 1px solid var(--line); border-radius: 12px; margin-top: 1rem; padding: 1.2rem; }
footer { margin-top: 2rem; border-top: 1px solid var(--line); background: #eef7fd; }
.foot { padding: .9rem 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: .7rem; }
.wave-footer { background: linear-gradient(180deg, #e6f4ff, #f1fbff); }
.wave-foot-grid {
  display: grid !important;
  grid-template-columns: 1.5fr 1.3fr auto;
  align-items: start;
  gap: .9rem;
}
.wave-legal-top p { margin: 0 0 .25rem; }
.wave-foot-nav {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
}
.wave-foot-nav a { margin-right: 0; }
.wave-mini-brand {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  color: #0b4f78;
  font-weight: 700;
}
footer a { color: var(--primary); text-decoration: none; margin-right: .7rem; }

.overlay { position: fixed; inset: 0; display: none; place-items: center; background: rgba(7, 21, 35, .72); z-index: 1000; }
.overlay.show { display: grid; }
.overlay-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 1rem; width: min(420px, 92%); }
.overlay-actions { display: flex; gap: .7rem; }
button { border: 0; border-radius: 8px; cursor: pointer; font-weight: 700; background: var(--accent); color: #05322d; padding: .65rem .9rem; }
button.secondary { background: #dceaf5; color: #24435a; }
.cookie-banner { position: fixed; bottom: 1rem; left: 50%; transform: translateX(-50%); display: none; align-items: center; justify-content: space-between; gap: .9rem; width: min(780px, 95%); background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: .8rem; z-index: 990; }
.cookie-banner.show { display: flex; }
.cookie-banner p { margin: 0; }
@media (max-width: 760px) {
  .hero-meta, .split, .check-grid { grid-template-columns: 1fr; }
  .cookie-banner { flex-direction: column; align-items: flex-start; }
  .wave-head-shell, .wave-foot-grid { grid-template-columns: 1fr; }
  .wave-mini-brand { justify-self: start; }
  nav { justify-content: center; }
  .wave-side-badge { width: fit-content; }
  table { min-width: 460px; }
}

@keyframes waveGradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@keyframes waveShine {
  from { transform: translateX(-180%) rotate(17deg); }
  to { transform: translateX(380%) rotate(17deg); }
}
