:root {
  --navy: #0b1f3a;
  --navy-2: #12325c;
  --gold: #f2b705;
  --gold-deep: #d99e00;
  --ink: #16202e;
  --muted: #5b6a7d;
  --line: #e5e9f0;
  --bg: #f6f8fb;
  --card: #ffffff;
  --tp: #00b67a;
  --bbb: #005a9c;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(11, 31, 58, 0.08);
  --shadow-sm: 0 4px 14px rgba(11, 31, 58, 0.06);
  --max: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { line-height: 1.2; letter-spacing: -0.01em; }

a { color: var(--navy-2); }

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

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--navy);
  color: #fff;
  padding: 10px 16px;
  z-index: 100;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* Buttons */
.btn {
  display: inline-block;
  font-weight: 600;
  text-decoration: none;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  cursor: pointer;
  font-size: 1rem;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--gold); color: var(--navy); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--gold-deep); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn-sm { padding: 8px 16px; font-size: .9rem; background: var(--navy); color: #fff; }
.btn-sm:hover { background: var(--navy-2); }
.btn-lg { padding: 15px 30px; font-size: 1.05rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 700; }
.brand-mark {
  background: var(--navy); color: var(--gold);
  font-weight: 800; font-size: .8rem; letter-spacing: .04em;
  padding: 8px 9px; border-radius: 9px;
}
.brand-text { font-size: 1rem; }
.brand-text em { font-style: normal; color: var(--muted); font-weight: 600; }
.site-nav { display: flex; align-items: center; gap: 22px; }
.site-nav a { text-decoration: none; color: var(--ink); font-weight: 500; font-size: .95rem; }
.site-nav a:hover { color: var(--navy-2); }

/* Stars */
.stars { position: relative; display: inline-block; font-size: 1rem; line-height: 1; white-space: nowrap; }
.stars .star-empty { color: #d7dde6; letter-spacing: 2px; }
.stars .star-fill {
  position: absolute; top: 0; left: 0; overflow: hidden;
  color: var(--gold); letter-spacing: 2px;
}
.stars-lg { font-size: 1.7rem; }

/* Hero */
.hero {
  background: radial-gradient(1200px 500px at 80% -10%, #1c4a86 0%, var(--navy) 55%);
  color: #fff;
  padding: 64px 0 72px;
}
.hero-inner { max-width: 780px; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; color: var(--gold); font-weight: 700; margin: 0 0 10px; }
.hero h1 { font-size: clamp(2rem, 5vw, 3.1rem); margin: 0 0 16px; }
.lede { font-size: 1.12rem; color: #d7e2f2; margin: 0 0 28px; }
.lede strong { color: #fff; }

.rating-summary {
  display: flex; align-items: center; gap: 18px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.14);
  padding: 18px 22px; border-radius: var(--radius);
  width: fit-content; margin-bottom: 28px;
}
.rating-score { font-size: 3rem; font-weight: 800; color: var(--gold); line-height: 1; }
.rating-detail p { margin: 8px 0 0; color: #cdd9ea; font-size: .95rem; }
.rating-detail strong { color: #fff; }

.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* Platforms */
.platforms { margin-top: -40px; position: relative; z-index: 2; }
.platform-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.platform-card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow);
}
.platform-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.platform-name { font-weight: 700; }
.badge { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; padding: 4px 9px; border-radius: 999px; background: #eef1f6; color: var(--muted); }
.badge-verified { background: #e6f8f1; color: #058a5e; }
.platform-score { font-size: 2.2rem; font-weight: 800; color: var(--ink); line-height: 1; }
.platform-score span { font-size: 1rem; color: var(--muted); font-weight: 600; }
.platform-score--muted { color: var(--muted); font-size: 1.6rem; }
.platform-card .stars { margin: 8px 0 6px; }
.platform-count { color: var(--muted); font-size: .9rem; margin: 0 0 14px; }
.platform-link { font-weight: 600; text-decoration: none; font-size: .92rem; }
.platform-link:hover { text-decoration: underline; }
.platform-card--pending { border-style: dashed; }

/* Reviews */
.reviews { padding: 64px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 30px; }
.section-head h2 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); margin: 0 0 10px; }
.section-head p { color: var(--muted); margin: 0; }

.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 30px; }
.filter {
  border: 1.5px solid var(--line); background: #fff; color: var(--ink);
  padding: 9px 18px; border-radius: 999px; font-weight: 600; cursor: pointer;
  font-size: .92rem; transition: all .15s ease;
}
.filter span { color: var(--muted); font-weight: 500; }
.filter:hover { border-color: var(--navy-2); }
.filter.is-active { background: var(--navy); color: #fff; border-color: var(--navy); }
.filter.is-active span { color: #b9c8dd; }

.review-grid { columns: 3; column-gap: 20px; }
.review-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; margin: 0 0 20px; box-shadow: var(--shadow-sm);
  break-inside: avoid; display: inline-block; width: 100%;
}
.review-card--critical { border-left: 3px solid #e0a800; }
.review-card--rating-only { border-left: 3px solid #4285f4; }
.review-body--rating-only { color: var(--muted); font-style: italic; font-size: .92rem; }
.review-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.source-tag { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; padding: 4px 9px; border-radius: 6px; color: #fff; }
.source-tag.tp { background: var(--tp); }
.source-tag.bbb { background: var(--bbb); }
.source-tag.g { background: #4285f4; }
.review-title { font-size: 1.05rem; margin: 0 0 8px; }
.review-body { margin: 0 0 14px; color: #38465a; font-size: .96rem; }
.review-response {
  background: #f4f7fb; border: 1px solid var(--line); border-radius: 10px;
  padding: 12px 14px; margin: 0 0 14px;
}
.review-response-label { font-weight: 700; font-size: .82rem; color: var(--navy-2); margin: 0 0 6px; }
.review-response p { margin: 0; font-size: .88rem; color: var(--muted); }
.review-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; border-top: 1px solid var(--line); padding-top: 12px; font-size: .84rem; }
.review-author { font-weight: 600; color: var(--ink); }
.review-meta time { color: var(--muted); }
.no-results { text-align: center; color: var(--muted); padding: 30px 0; }

/* About */
.about { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 60px 0; }
.about-inner { max-width: 820px; }
.about h2 { font-size: clamp(1.6rem, 3.4vw, 2.1rem); margin: 0 0 16px; }
.about p { color: #38465a; margin: 0 0 16px; }
.fact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 24px 0 0; }
.fact-grid div { background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 14px; margin: 0; }
.fact-grid dt { font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 700; }
.fact-grid dd { margin: 6px 0 0; font-weight: 700; }
.fact-grid a { text-decoration: none; }

/* FAQ */
.faq { padding: 60px 0; }
.faq h2 { text-align: center; font-size: clamp(1.6rem, 3.4vw, 2.1rem); margin: 0 0 26px; }
.faq-list { max-width: 780px; margin: 0 auto; }
.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 4px 20px; margin-bottom: 12px;
}
.faq summary { cursor: pointer; font-weight: 600; padding: 14px 0; list-style: none; position: relative; padding-right: 30px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font-size: 1.4rem; color: var(--gold-deep); }
.faq details[open] summary::after { content: "\2013"; }
.faq details p { margin: 0 0 16px; color: #38465a; }

/* CTA */
.cta { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%); color: #fff; padding: 60px 0; text-align: center; }
.cta h2 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); margin: 0 0 10px; }
.cta p { color: #cdd9ea; margin: 0 0 24px; }

/* Footer */
.site-footer { background: #081627; color: #b9c8dd; padding: 48px 0 30px; font-size: .9rem; }
.footer-inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; }
.footer-brand { color: #fff; font-weight: 700; font-size: 1.05rem; margin: 0 0 8px; }
.site-footer address { font-style: normal; line-height: 1.7; }
.site-footer a { color: var(--gold); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-links { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.disclaimer { grid-column: 1 / -1; color: #6c8099; font-size: .78rem; line-height: 1.6; border-top: 1px solid rgba(255,255,255,.1); padding-top: 20px; margin: 8px 0 0; }
.copyright { grid-column: 1 / -1; color: #52657d; margin: 0; font-size: .8rem; }

/* Responsive */
@media (max-width: 900px) {
  .platform-grid { grid-template-columns: 1fr; }
  .review-grid { columns: 2; }
  .fact-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .site-nav { gap: 14px; }
  .site-nav a:not(.btn) { display: none; }
  .review-grid { columns: 1; }
  .footer-inner { grid-template-columns: 1fr; }
  .rating-summary { width: 100%; }
  .hero { padding: 48px 0 60px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
