/* Best In The — theme-02 bright UK consumer guide */
:root {
  --blue: #1d4ed8;
  --blue-dark: #1e3a8a;
  --blue-tint: #eff4ff;
  --teal: #0d9488;
  --teal-tint: #ecfdf8;
  --ink: #0f172a;
  --muted: #47556b;
  --band: #f1f5f9;
  --border: #dbe2ec;
  --cross: #dc2626;
  --amber: #b45309;
  --radius: 12px;
  --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Ubuntu, Calibri, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: #fff;
}

img, svg { max-width: 100%; }

a { color: var(--blue); }
a:hover { color: var(--blue-dark); }

h1, h2, h3, h4 {
  line-height: 1.25;
  font-weight: 700;
  color: var(--ink);
}
h1 { font-size: clamp(1.75rem, 4vw, 2.5rem); margin: 0 0 0.5em; }
h2 { font-size: clamp(1.35rem, 3vw, 1.75rem); margin: 2em 0 0.6em; }
h3 { font-size: 1.2rem; margin: 1.6em 0 0.5em; }

p, ul, ol { margin: 0 0 1.1em; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--blue);
  color: #fff;
  padding: 0.6rem 1rem;
  z-index: 100;
  border-radius: 0 0 var(--radius) 0;
}
.skip-link:focus { left: 0; color: #fff; }

/* Header */
.site-header {
  border-bottom: 3px solid var(--blue);
  background: #fff;
}
.header-inner {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0.9rem 1.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.5rem;
}
.brand {
  font-size: 1.35rem;
  font-weight: 800;
  text-decoration: none;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.brand svg { width: 1.6rem; height: 1.6rem; flex: none; }
.brand .brand-the { color: var(--teal); }
.site-nav { margin-left: auto; }
.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.1rem;
}
.site-nav a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--muted);
  padding: 0.25rem 0;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover, .site-nav a[aria-current="page"] {
  color: var(--blue);
  border-bottom-color: var(--teal);
}

/* Layout */
main { display: block; }
.wrap {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}
.prose { max-width: 46rem; }
.prose > p, .prose > ul, .prose > ol { max-width: 70ch; }

.band { background: var(--band); padding: 2.5rem 0; }
.band-teal { background: var(--teal-tint); }
.section-pad { padding: 2.5rem 0; }

/* Hero */
.hero {
  background: linear-gradient(160deg, var(--blue-tint) 0%, #fff 65%);
  padding: 3rem 0 2.5rem;
  border-bottom: 1px solid var(--border);
}
.hero h1 { max-width: 32ch; }
.hero .lede {
  font-size: 1.2rem;
  color: var(--muted);
  max-width: 58ch;
}

/* Pills and badges */
.pill {
  display: inline-block;
  padding: 0.2rem 0.75rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.pill-teal { background: var(--teal); color: #fff; }
.pill-blue { background: var(--blue); color: #fff; }
.pill-outline { background: #fff; color: var(--teal); border: 2px solid var(--teal); }
.pill-grey { background: var(--band); color: var(--muted); border: 1px solid var(--border); }

/* Buttons */
.btn {
  display: inline-block;
  background: var(--blue);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  padding: 0.65rem 1.4rem;
  border-radius: 999px;
}
.btn:hover { background: var(--blue-dark); color: #fff; }
.btn-teal { background: var(--teal); }
.btn-teal:hover { background: #0b7c72; }
.btn-ghost {
  background: #fff;
  color: var(--blue);
  border: 2px solid var(--blue);
}
.btn-ghost:hover { background: var(--blue-tint); color: var(--blue-dark); }

/* Cards */
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem;
}
.card-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  margin: 1.5rem 0;
}
.card h3 { margin-top: 0.2em; }
.card .card-meta {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 0.35rem;
}

/* Verdict card */
.verdict-card {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  background: var(--blue-tint);
  border: 2px solid var(--blue);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin: 1.5rem 0 2rem;
}
.verdict-score {
  flex: none;
  width: 5.2rem;
  height: 5.2rem;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  font-weight: 800;
}
.verdict-score span { font-size: 0.95rem; font-weight: 600; opacity: 0.85; margin-top: 0.55rem; }
.verdict-body { flex: 1; min-width: 15rem; }
.verdict-body > p { margin: 0.6rem 0 0.8rem; }
.verdict-facts {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  display: grid;
  gap: 0.3rem;
  font-size: 0.95rem;
}
.verdict-facts strong { color: var(--blue-dark); }

/* Comparison tables */
.table-scroll {
  overflow-x: auto;
  margin: 1.5rem 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.compare-table {
  border-collapse: collapse;
  width: 100%;
  min-width: 42rem;
  font-size: 0.95rem;
}
.compare-table th, .compare-table td {
  padding: 0.7rem 0.9rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.compare-table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: var(--blue);
  color: #fff;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.compare-table tbody tr:nth-child(even) { background: var(--band); }
.compare-table tbody tr:last-child td { border-bottom: none; }
.compare-table td.center, .compare-table th.center { text-align: center; }
.compare-table .row-title { font-weight: 700; white-space: nowrap; }

/* Tick / cross icons */
.icon {
  width: 1.15rem;
  height: 1.15rem;
  vertical-align: -0.18em;
}
.icon-tick { color: var(--teal); }
.icon-cross { color: var(--cross); }
.icon-part { color: var(--amber); }

/* Pros / cons pair */
.pros-cons {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  margin: 1.5rem 0;
}
.pros-card, .cons-card {
  border-radius: var(--radius);
  padding: 1.25rem 1.4rem;
}
.pros-card { background: var(--teal-tint); border: 1px solid #b9e8df; }
.cons-card { background: #fef2f2; border: 1px solid #f5c9c9; }
.pros-card h3, .cons-card h3 { margin-top: 0; font-size: 1.05rem; }
.pros-card ul, .cons-card ul { margin: 0; padding-left: 1.2rem; }
.pros-card li, .cons-card li { margin-bottom: 0.4rem; }

/* Ranked list on roundup */
.rank-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin: 1.5rem 0;
  background: #fff;
}
.rank-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 1rem;
  margin-bottom: 0.6rem;
}
.rank-num {
  flex: none;
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.rank-head h3 { margin: 0; font-size: 1.3rem; }
.rank-meta { font-size: 0.95rem; color: var(--muted); margin-bottom: 0.6rem; }

/* Disclaimer + notice boxes */
.disclaimer {
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: var(--radius);
  padding: 0.9rem 1.2rem;
  font-size: 0.92rem;
  color: #713f12;
  margin: 1.5rem 0;
}
.note-box {
  background: var(--teal-tint);
  border-left: 4px solid var(--teal);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 0.9rem 1.2rem;
  margin: 1.5rem 0;
}
.note-box p:last-child { margin-bottom: 0; }

/* Breadcrumbs */
.breadcrumbs {
  font-size: 0.88rem;
  color: var(--muted);
  padding: 1rem 0 0;
}
.breadcrumbs ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.breadcrumbs li + li::before { content: "›"; margin-right: 0.35rem; color: var(--border); }
.breadcrumbs a { color: var(--muted); }

/* FAQ */
.faq details {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.9rem 1.2rem;
  margin-bottom: 0.75rem;
  background: #fff;
}
.faq summary {
  font-weight: 700;
  cursor: pointer;
  color: var(--blue-dark);
}
.faq details[open] summary { margin-bottom: 0.5rem; }
.faq details p:last-child { margin-bottom: 0; }

/* Byline */
.byline {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.92rem;
  color: var(--muted);
  margin: 0.75rem 0 1.5rem;
}
.byline .avatar {
  flex: none;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

/* Trust strip */
.trust-strip {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
}
.trust-strip .trust-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}
.trust-strip svg { flex: none; width: 2rem; height: 2rem; color: var(--teal); margin-top: 0.2rem; }
.trust-strip h3 { margin: 0 0 0.25rem; font-size: 1.02rem; }
.trust-strip p { margin: 0; font-size: 0.93rem; color: var(--muted); }

/* Alternatives strip */
.alt-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1rem 0 2rem;
  padding: 0;
  list-style: none;
}
.alt-strip a {
  display: inline-block;
  background: #fff;
  border: 2px solid var(--blue);
  border-radius: 999px;
  padding: 0.4rem 1.1rem;
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
}
.alt-strip a:hover { background: var(--blue-tint); }

/* Footer */
.site-footer {
  margin-top: 3.5rem;
  background: var(--blue-dark);
  color: #cbd5f0;
  padding: 2.5rem 0 2rem;
  font-size: 0.92rem;
}
.site-footer a { color: #fff; }
.footer-cols {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  margin-bottom: 1.5rem;
}
.site-footer h2 {
  color: #fff;
  font-size: 1rem;
  margin: 0 0 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 0.4rem; }
.footer-legal {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 1.25rem;
  font-size: 0.85rem;
}

/* Utility */
.center-text { text-align: center; }
.mt-0 { margin-top: 0; }
.small { font-size: 0.9rem; color: var(--muted); }

@media (max-width: 40rem) {
  .verdict-card { flex-direction: column; }
  .site-nav { margin-left: 0; width: 100%; }
}
