/* ============================================================
   CyberRate — light institutional rating theme
   Bloomberg data clarity + Credit Karma friendliness + Stripe layout
   ============================================================ */
:root {
  --navy:       #0D1F3C;   /* primary text / wordmark */
  --navy-2:     #1c3358;   /* secondary headings */
  --canvas:     #F7F8FA;   /* page background */
  --surface:    #FFFFFF;   /* cards */
  --line:       #E6E9EF;   /* hairlines */
  --line-2:     #D5DAE3;   /* stronger borders */
  --text:       #0D1F3C;
  --muted:      #5A6678;   /* body secondary */
  --muted-2:    #8A94A6;   /* fine print */

  --green:      #16A34A;
  --green-bg:   #E7F6EC;
  --amber:      #D97706;
  --amber-bg:   #FBF0E0;
  --red:        #DC2626;
  --red-bg:     #FBE9E9;
  --unknown:    #8A94A6;
  --unknown-bg: #EEF1F5;

  --cta:        #2563EB;   /* electric blue — CTA / accent */
  --cta-hover:  #1D4ED8;
  --cta-bg:     #EAF0FE;

  --radius:     14px;
  --radius-sm:  10px;
  --shadow:     0 1px 2px rgba(13,31,60,0.04), 0 4px 16px rgba(13,31,60,0.06);
  --shadow-lg:  0 8px 30px rgba(13,31,60,0.10);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--canvas);
  color: var(--text);
  font-family: "Inter", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  line-height: 1.55;
}
a { color: inherit; text-decoration: none; }

h1, h2, h3, .display { font-family: "DM Sans", "Inter", sans-serif; }

.tick { color: var(--green); font-weight: 700; }
.tabnum { font-variant-numeric: tabular-nums; font-feature-settings: "tnum" 1; }

/* ---------------- wordmark ---------------- */
/* "Cyber" regular + "Rate" bold, with a subtle upward tick integrated. */
.logo { display: flex; align-items: center; gap: 12px; }
.logo-mark {
  display: inline-flex; align-items: baseline; gap: 1px;
  font-family: "DM Sans", sans-serif; letter-spacing: -0.4px; color: var(--navy);
  position: relative;
}
.logo-cyber { font-size: 1.4rem; font-weight: 400; }
.logo-rate  { font-size: 1.4rem; font-weight: 700; }
/* upward tick mark ↗ integrated after the wordmark */
.logo-tick {
  display: inline-block; width: 0.62em; height: 0.62em; margin-left: 3px;
  align-self: center; color: var(--cta);
}
.logo-mark.small .logo-cyber, .logo-mark.small .logo-rate { font-size: 1.05rem; }
.logo-by { font-size: 0.72rem; color: var(--muted); font-weight: 500; letter-spacing: 0.2px; }

/* reversed (white-on-dark) variant, if ever placed on navy */
.on-dark .logo-mark { color: #fff; }
.on-dark .logo-tick { color: #fff; }

/* ---------------- top bar ---------------- */
.topbar {
  position: sticky; top: 0; z-index: 30;
  background: rgba(247,248,250,0.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.topbar-inner {
  max-width: 1100px; margin: 0 auto; padding: 14px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.topsearch { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.topsearch-label { font-size: 0.72rem; font-weight: 600; color: var(--muted); letter-spacing: 0.2px; }
.topsearch-field {
  display: flex; align-items: center; gap: 6px;
  background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--radius-sm);
  padding: 4px 4px 4px 12px;
}
.topsearch-field:focus-within { border-color: var(--cta); box-shadow: 0 0 0 3px var(--cta-bg); }
.topsearch-field input {
  background: transparent; border: none; outline: none; color: var(--text);
  font: inherit; font-size: 0.9rem; width: 230px; max-width: 46vw;
}
.topsearch-field input::placeholder { color: var(--muted-2); }
.topsearch-field button {
  display: grid; place-items: center; width: 34px; height: 32px; border: none; cursor: pointer;
  background: var(--cta); color: #fff; border-radius: 8px; transition: background .15s;
}
.topsearch-field button:hover { background: var(--cta-hover); }

/* ---------------- buttons ---------------- */
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--cta); color: #fff; border: none; cursor: pointer;
  font: inherit; font-weight: 600; font-size: 0.95rem; padding: 13px 22px; border-radius: var(--radius-sm);
  transition: background .15s, transform .05s;
}
.btn-primary:hover { background: var(--cta-hover); }
.btn-primary:active { transform: translateY(1px); }
.btn-primary:disabled { opacity: 0.55; cursor: default; }
.btn-primary.block { width: 100%; }
.btn-primary.big { padding: 16px 30px; font-size: 1.02rem; }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  background: var(--surface); color: var(--muted); border: 1px solid var(--line-2);
  font: inherit; font-weight: 600; font-size: 0.86rem; padding: 9px 16px; border-radius: var(--radius-sm);
  transition: color .15s, border-color .15s;
}
.btn-ghost:hover { color: var(--navy); border-color: var(--muted-2); }

/* ---------------- landing ---------------- */
#landing { max-width: 820px; margin: 0 auto; padding: 80px 24px 80px; text-align: center; }
.hero { position: relative; }
.eyebrow {
  display: inline-block; font-size: 0.74rem; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--cta);
  background: var(--cta-bg); border: 1px solid #D4E0FC;
  padding: 6px 13px; border-radius: 999px; margin-bottom: 22px;
}
.hero-title { font-size: clamp(2rem, 5vw, 3rem); line-height: 1.1; font-weight: 700; letter-spacing: -1px; margin: 0 0 18px; color: var(--navy); }
.hero-sub { font-size: 1.08rem; color: var(--muted); max-width: 640px; margin: 0 auto 30px; }
.hero-form { display: flex; gap: 10px; max-width: 560px; margin: 0 auto; }
.hero-form input {
  flex: 1; min-width: 0; background: var(--surface); border: 1px solid var(--line-2); border-radius: 12px;
  padding: 16px 18px; color: var(--text); font: inherit; font-size: 1rem; outline: none;
}
.hero-form input:focus { border-color: var(--cta); box-shadow: 0 0 0 3px var(--cta-bg); }
.hero-form input::placeholder { color: var(--muted-2); }
.hero-form button {
  background: var(--cta); color: #fff; border: none; cursor: pointer; white-space: nowrap;
  font: inherit; font-weight: 600; font-size: 1rem; padding: 0 24px; border-radius: 12px; transition: background .15s;
}
.hero-form button:hover { background: var(--cta-hover); }
.hero-fine { font-size: 0.85rem; color: var(--muted-2); margin: 16px auto 0; max-width: 560px; }

.hero-checks { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 40px; }
.hc { display: inline-flex; align-items: center; gap: 9px; background: var(--surface); border: 1px solid var(--line);
  padding: 10px 15px; border-radius: 12px; font-size: 0.9rem; color: var(--muted); box-shadow: var(--shadow); }
.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; flex: none; }
.dot.ok { background: var(--green); }
.dot.fail { background: var(--red); }
.dot.warn { background: var(--amber); }
.dot.unknown { background: var(--unknown); }

/* ---------------- results board ---------------- */
#results { max-width: 960px; margin: 0 auto; padding: 28px 24px 70px; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }

/* ---- score gauge (the centerpiece) ---- */
.score-card { text-align: center; padding: 38px 28px 32px; margin-bottom: 18px; }
.score-domain { font-size: 0.85rem; font-weight: 600; color: var(--muted); letter-spacing: 0.02em; margin-bottom: 18px; }
.score-domain .dn { color: var(--navy); }
.gauge-wrap { position: relative; width: 240px; max-width: 80vw; margin: 0 auto; }
.gauge-svg { display: block; width: 100%; height: auto; }
.gauge-center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; padding-bottom: 8%; }
.gauge-score { font-family: "DM Sans", sans-serif; font-weight: 700; font-size: 3.6rem; line-height: 1; font-variant-numeric: tabular-nums; }
.gauge-of { font-size: 0.9rem; font-weight: 600; color: var(--muted); margin-top: 2px; font-variant-numeric: tabular-nums; }
.gauge-score.band-red   { color: var(--red); }
.gauge-score.band-amber { color: var(--amber); }
.gauge-score.band-blue  { color: var(--cta); }
.gauge-score.band-green { color: var(--green); }
.gauge-scale { display: flex; justify-content: space-between; width: 100%; max-width: 240px; margin: 4px auto 0; font-size: 0.7rem; color: var(--muted-2); font-variant-numeric: tabular-nums; }
.score-label { font-family: "DM Sans", sans-serif; font-size: 1.15rem; font-weight: 700; margin: 18px 0 0; color: var(--navy); }
.score-sub { font-size: 0.92rem; color: var(--muted); margin: 6px 0 0; }

.gauge-track { stroke: var(--line); }
.gauge-band-red   { stroke: var(--red); }
.gauge-band-amber { stroke: var(--amber); }
.gauge-band-blue  { stroke: var(--cta); }
.gauge-band-green { stroke: var(--green); }
.gauge-needle circle { fill: var(--surface); stroke-width: 4; }
.gauge-needle.band-red circle   { stroke: var(--red); }
.gauge-needle.band-amber circle { stroke: var(--amber); }
.gauge-needle.band-blue circle  { stroke: var(--cta); }
.gauge-needle.band-green circle { stroke: var(--green); }

/* skeleton state for gauge while scanning */
.gauge-loading .gauge-score { color: var(--muted-2); }

/* ---- findings board ---- */
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 0 4px 14px; }
.section-title { font-size: 1.1rem; font-weight: 700; color: var(--navy); margin: 0; }
.section-meta { font-size: 0.85rem; color: var(--muted); }

.findings { display: grid; gap: 14px; margin-bottom: 26px; }
.finding {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 18px 20px;
  display: flex; align-items: flex-start; gap: 14px;
}
.finding-dot { margin-top: 6px; width: 11px; height: 11px; border-radius: 50%; flex: none; }
.finding-dot.passed { background: var(--green); }
.finding-dot.warning { background: var(--amber); }
.finding-dot.failed { background: var(--red); }
.finding-dot.unknown { background: var(--unknown); }
.finding-dot.loading { background: var(--line-2); }
.finding-main { flex: 1; min-width: 0; }
.finding-label { font-weight: 600; font-size: 1rem; color: var(--navy); }
.finding-detail { font-size: 0.9rem; color: var(--muted); margin-top: 3px; }
.finding-status {
  flex: none; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.03em;
  padding: 5px 11px; border-radius: 999px; display: inline-flex; align-items: center; gap: 6px;
}
.finding-status.passed { background: var(--green-bg); color: var(--green); }
.finding-status.warning { background: var(--amber-bg); color: var(--amber); }
.finding-status.failed { background: var(--red-bg); color: var(--red); }
.finding-status.unknown { background: var(--unknown-bg); color: var(--unknown); }
.finding-status.loading { background: var(--unknown-bg); color: var(--muted); }

.finding-story {
  margin-top: 12px; grid-column: 1 / -1;
  border-left: 3px solid var(--amber);
  background: var(--amber-bg);
  padding: 10px 14px; border-radius: 0 8px 8px 0; font-size: 0.875rem; color: var(--navy-2);
}
.finding-story-label {
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--amber); margin-bottom: 5px;
}
.finding-story p { margin: 0 0 6px; }
.finding-story p:last-child { margin-bottom: 0; }

.board-foot { display: flex; justify-content: center; margin-bottom: 28px; }

/* skeleton shimmer */
.skeleton { position: relative; overflow: hidden; background: var(--line); border-radius: 6px; color: transparent !important; }
.skeleton::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.8), transparent);
  animation: shimmer 1.3s infinite;
}
@keyframes shimmer { 100% { transform: translateX(100%); } }
.spin { animation: spin 0.9s linear infinite; transform-origin: center; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------------- breach panel ---------------- */
.breach-panel { margin-bottom: 18px; padding-bottom: 8px; }
.panel-head { display: flex; align-items: center; justify-content: space-between; padding: 22px 24px 6px; }
.panel-title { font-size: 1.1rem; font-weight: 700; margin: 0; color: var(--navy); }
.count-badge {
  font-size: 0.78rem; font-weight: 600; padding: 6px 12px; border-radius: 999px;
  background: var(--unknown-bg); color: var(--muted);
}
.count-badge.bad { background: var(--red-bg); color: var(--red); }
.count-badge.warn { background: var(--amber-bg); color: var(--amber); }
.count-badge.good { background: var(--green-bg); color: var(--green); }
#breach-body { padding: 6px 0 0; }

.breach-row { display: flex; align-items: center; gap: 14px; padding: 14px 24px; border-top: 1px solid var(--line); }
.breach-info { flex: 1; min-width: 0; }
.breach-acct { font-weight: 600; font-size: 0.94rem; color: var(--navy); word-break: break-all; }
.breach-meta { font-size: 0.82rem; color: var(--muted); margin-top: 2px; }
.breach-count { flex: none; text-align: right; }
.breach-count .num { font-size: 1.3rem; font-weight: 700; color: var(--navy); line-height: 1; font-variant-numeric: tabular-nums; }
.breach-count .lbl { font-size: 0.72rem; color: var(--muted); }
.breach-empty { padding: 18px 24px; color: var(--muted); font-size: 0.92rem; }

/* locked / blurred preview */
.locked-wrap { position: relative; }
.locked-rows { filter: blur(5px); pointer-events: none; user-select: none; opacity: 0.7; }
.locked-overlay { position: absolute; inset: 0; display: grid; place-items: center; }
.locked-pill {
  display: inline-flex; align-items: center; gap: 8px; background: var(--surface);
  border: 1px solid var(--line-2); box-shadow: var(--shadow); padding: 11px 18px; border-radius: 999px;
  font-weight: 600; font-size: 0.9rem; color: var(--cta); cursor: pointer;
}

/* ---------------- gate ---------------- */
.gate { margin-bottom: 18px; padding: 30px 32px; }
.gate-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 34px; align-items: center; }
.gate-badge { display: inline-flex; align-items: center; gap: 8px; font-size: 0.76rem; font-weight: 600;
  color: var(--cta); background: var(--cta-bg); border: 1px solid #D4E0FC;
  padding: 5px 12px; border-radius: 999px; margin-bottom: 14px; }
.gate-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cta); }
.gate-title { font-size: 1.55rem; font-weight: 700; margin: 0 0 10px; letter-spacing: -0.4px; color: var(--navy); }
.gate-sub { color: var(--muted); margin: 0 0 18px; }
.gate-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.gate-points li { display: flex; gap: 9px; align-items: flex-start; font-size: 0.92rem; color: var(--navy-2); }
.gate-card { background: var(--canvas); border: 1px solid var(--line-2); border-radius: var(--radius); padding: 22px; }
.gate-card label { display: block; font-size: 0.78rem; font-weight: 600; color: var(--muted); margin: 12px 0 6px; }
.gate-card label:first-child { margin-top: 0; }
.gate-card input {
  width: 100%; background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--radius-sm);
  padding: 12px 14px; color: var(--text); font: inherit; font-size: 0.95rem; outline: none;
}
.gate-card input:focus { border-color: var(--cta); box-shadow: 0 0 0 3px var(--cta-bg); }
.gate-card input::placeholder { color: var(--muted-2); }
.gate-error { color: var(--red); font-size: 0.85rem; margin: 12px 0 0; }
#gate-submit { margin-top: 18px; }
.gate-secure { text-align: center; font-size: 0.78rem; color: var(--muted-2); margin-top: 12px; }
.gate-success-title { font-size: 1.25rem; margin: 6px 0 8px; color: var(--navy); }
.gate-success-text { color: var(--muted); font-size: 0.92rem; margin: 0 0 16px; }

/* ---------------- close / booking ---------------- */
.close-card { text-align: center; padding: 40px 34px; }
.close-title { font-size: 1.4rem; font-weight: 700; margin: 0 0 12px; letter-spacing: -0.4px; color: var(--navy); }
.close-text { color: var(--muted); max-width: 620px; margin: 0 auto 24px; }
.close-fine { font-size: 0.82rem; color: var(--muted-2); margin-top: 14px; }

/* ---------------- topbar nav ---------------- */
.topnav { display: flex; align-items: center; gap: 22px; }
.topnav a {
  font-size: 0.9rem; font-weight: 600; color: var(--muted);
  padding: 6px 0; border-bottom: 2px solid transparent; transition: color .15s, border-color .15s;
}
.topnav a:hover { color: var(--navy); }
.topnav a.active { color: var(--navy); border-bottom-color: var(--cta); }
.topnav a.nav-cta { color: var(--cta); }
.topnav a.nav-cta:hover { color: var(--cta-hover); }

/* ============================================================
   Methodology page ("How the score is calculated")
   ============================================================ */
.method { max-width: 880px; margin: 0 auto; padding: 56px 24px 80px; }

.method-hero { text-align: center; margin-bottom: 40px; }
.method-back {
  display: inline-flex; align-items: center; gap: 7px; font-size: 0.86rem; font-weight: 600;
  color: var(--cta); margin-bottom: 22px;
}
.method-back:hover { color: var(--cta-hover); }
.method-eyebrow {
  display: inline-block; font-size: 0.74rem; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--cta); background: var(--cta-bg);
  border: 1px solid #D4E0FC; padding: 6px 13px; border-radius: 999px; margin-bottom: 20px;
}
.method-title {
  font-size: clamp(1.9rem, 4.5vw, 2.7rem); line-height: 1.1; font-weight: 700;
  letter-spacing: -1px; margin: 0 0 16px; color: var(--navy);
}
.method-lede { font-size: 1.06rem; color: var(--muted); max-width: 640px; margin: 0 auto; }

/* trust banner */
.trust-banner {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--cta-bg); border: 1px solid #D4E0FC; border-radius: var(--radius);
  padding: 20px 24px; margin-bottom: 48px;
}
.trust-banner svg { flex: none; width: 26px; height: 26px; color: var(--cta); margin-top: 2px; }
.trust-banner-title { font-weight: 700; color: var(--navy); margin: 0 0 4px; font-size: 1rem; }
.trust-banner p { margin: 0; font-size: 0.92rem; color: var(--navy-2); }

/* section headers on the methodology page */
.method-section { margin-bottom: 52px; }
.method-section-head { text-align: center; margin-bottom: 26px; }
.method-kicker {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--cta); margin-bottom: 8px;
}
.method-h2 { font-size: 1.5rem; font-weight: 700; letter-spacing: -0.4px; color: var(--navy); margin: 0 0 8px; }
.method-sub { font-size: 0.96rem; color: var(--muted); max-width: 600px; margin: 0 auto; }

/* the six checks */
.check-list { display: grid; gap: 16px; }
.check-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 22px 24px;
  display: grid; grid-template-columns: 64px 1fr; gap: 20px; align-items: start;
}
.check-points {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: var(--navy); color: #fff; border-radius: var(--radius-sm); padding: 12px 6px; min-height: 64px;
}
.check-points .num { font-family: "DM Sans", sans-serif; font-weight: 700; font-size: 1.5rem; line-height: 1; font-variant-numeric: tabular-nums; }
.check-points .lbl { font-size: 0.6rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.75; margin-top: 3px; }
.check-body-title { font-size: 1.08rem; font-weight: 700; color: var(--navy); margin: 0 0 7px; }
.check-body p { margin: 0 0 12px; font-size: 0.92rem; color: var(--muted); }
.check-source {
  display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap;
  font-size: 0.8rem; color: var(--muted-2);
  border-top: 1px solid var(--line); padding-top: 11px; width: 100%;
}
.check-source .src-tag {
  font-weight: 600; color: var(--navy-2); background: var(--unknown-bg);
  padding: 3px 9px; border-radius: 999px;
}
.check-source a { color: var(--cta); font-weight: 600; }
.check-source a:hover { color: var(--cta-hover); text-decoration: underline; }

.check-total {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 16px; padding: 16px 24px; background: var(--navy); color: #fff;
  border-radius: var(--radius); font-weight: 600;
}
.check-total .total-num { font-family: "DM Sans", sans-serif; font-size: 1.3rem; font-weight: 700; font-variant-numeric: tabular-nums; }

/* data tables */
.method-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.method-table { width: 100%; border-collapse: collapse; background: var(--surface); font-size: 0.92rem; }
.method-table thead th {
  text-align: left; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--muted); background: var(--canvas); padding: 13px 18px; border-bottom: 1px solid var(--line-2);
}
.method-table td { padding: 13px 18px; border-bottom: 1px solid var(--line); color: var(--navy-2); }
.method-table tbody tr:last-child td { border-bottom: none; }
.method-table td a { color: var(--cta); font-weight: 600; }
.method-table td a:hover { text-decoration: underline; }
.method-table .res { font-weight: 700; font-size: 0.72rem; letter-spacing: 0.03em; padding: 4px 10px; border-radius: 999px; }
.method-table .res.passed { background: var(--green-bg); color: var(--green); }
.method-table .res.warning { background: var(--amber-bg); color: var(--amber); }
.method-table .res.failed { background: var(--red-bg); color: var(--red); }
.method-table .res.unknown { background: var(--unknown-bg); color: var(--unknown); }
.method-table .pts { font-variant-numeric: tabular-nums; font-weight: 600; }

/* callout note */
.method-note {
  margin-top: 16px; border-left: 3px solid var(--amber); background: var(--amber-bg);
  padding: 14px 18px; border-radius: 0 8px 8px 0; font-size: 0.9rem; color: var(--navy-2);
}
.method-note strong { color: var(--navy); }

/* override rule */
.override-card {
  background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--red);
  border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px 26px;
}
.override-flag {
  display: inline-flex; align-items: center; gap: 8px; font-size: 0.74rem; font-weight: 700;
  letter-spacing: 0.04em; text-transform: uppercase; color: var(--red);
  background: var(--red-bg); padding: 5px 12px; border-radius: 999px; margin-bottom: 14px;
}
.override-card h3 { font-size: 1.2rem; color: var(--navy); margin: 0 0 10px; }
.override-card p { margin: 0 0 10px; font-size: 0.94rem; color: var(--muted); }
.override-card p:last-child { margin-bottom: 0; }

/* score bands */
.band-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.band-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 22px 18px; text-align: center;
  border-top: 4px solid var(--line-2);
}
.band-card.b-green { border-top-color: var(--green); }
.band-card.b-blue  { border-top-color: var(--cta); }
.band-card.b-amber { border-top-color: var(--amber); }
.band-card.b-red   { border-top-color: var(--red); }
.band-range { font-size: 0.8rem; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }
.band-grade { font-family: "DM Sans", sans-serif; font-size: 2.4rem; font-weight: 700; line-height: 1; margin: 8px 0 6px; }
.band-card.b-green .band-grade { color: var(--green); }
.band-card.b-blue  .band-grade { color: var(--cta); }
.band-card.b-amber .band-grade { color: var(--amber); }
.band-card.b-red   .band-grade { color: var(--red); }
.band-name { font-weight: 700; color: var(--navy); font-size: 1rem; margin-bottom: 8px; }
.band-desc { font-size: 0.82rem; color: var(--muted); line-height: 1.45; }

/* honest limitations */
.limit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.limit-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm);
  box-shadow: var(--shadow); padding: 18px;
}
.limit-icon { font-size: 1.4rem; margin-bottom: 8px; }
.limit-card h4 { font-size: 0.96rem; color: var(--navy); margin: 0 0 5px; }
.limit-card p { font-size: 0.85rem; color: var(--muted); margin: 0; line-height: 1.45; }
.limit-foot { margin-top: 16px; text-align: center; font-size: 0.92rem; color: var(--navy-2); }

/* privacy */
.privacy-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 26px 28px;
}
.privacy-card p { color: var(--muted); font-size: 0.94rem; }
.privacy-list { list-style: none; margin: 18px 0; padding: 0; display: grid; gap: 11px; }
.privacy-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.92rem; color: var(--navy-2); }
.privacy-note { font-size: 0.9rem; color: var(--muted); margin: 0; }

/* methodology CTA */
.method-cta {
  text-align: center; background: var(--navy); color: #fff;
  border-radius: var(--radius); padding: 40px 34px; box-shadow: var(--shadow-lg);
}
.method-cta h2 { font-size: 1.5rem; font-weight: 700; margin: 0 0 12px; color: #fff; }
.method-cta p { color: rgba(255,255,255,0.78); max-width: 560px; margin: 0 auto 24px; font-size: 0.96rem; }
.method-cta .btn-primary { background: var(--cta); }
.method-cta .btn-primary:hover { background: var(--cta-hover); }

@media (max-width: 720px) {
  .band-grid { grid-template-columns: repeat(2, 1fr); }
  .limit-grid { grid-template-columns: 1fr; }
  .topnav { gap: 14px; }
}
@media (max-width: 480px) {
  .band-grid { grid-template-columns: 1fr; }
  .check-card { grid-template-columns: 56px 1fr; gap: 14px; }
}

/* ---------------- footer ---------------- */
.site-footer {
  border-top: 1px solid var(--line); padding: 26px 24px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.footer-fine { font-size: 0.8rem; color: var(--muted-2); }

/* ---------------- responsive (mobile-first stacking) ---------------- */
@media (max-width: 820px) {
  .topsearch { display: none; }
  .gate-grid { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 560px) {
  .hero-form { flex-direction: column; }
  .hero-form button { padding: 14px; }
  .finding { flex-wrap: wrap; }
  .finding-detail { font-size: 0.86rem; }
  .gauge-score { font-size: 3rem; }
}
