/* Credit Score Clinic: pale mint, deep green and amber, like a clean report card. Manrope for headings, Public Sans
   for text. Change the colours and fonts here; base.css reads these variables. */
:root {
  --bg: #F7FCFA;
  --surface: #FFFFFF;
  --soft: #E4F5EE;
  --ink: #10231C;
  --muted: #4F6A60;
  --line: #D7EBE2;
  --line-strong: #A9D3C2;
  --brand: #0B7A5B;
  --brand-hover: #086248;
  --brand-ink: #FFFFFF;
  --brand-text: #0B7A5B;
  --eyebrow: #0B7A5B;
  --c1: #0B7A5B; --c2: #F2A93B; --c3: #7C9A8E;
  --out-bg: #FFFFFF; --out-ink: #10231C; --out-accent: #0B7A5B; --out-btn: #0B7A5B; --out-btn-ink: #FFFFFF;
  --badge-bg: #F2A93B; --badge-ink: #10231C;
  --head: "Manrope", system-ui, sans-serif;
  --body: "Public Sans", system-ui, sans-serif;
  --radius: 10px; --radius-lg: 16px; --btn-radius: 10px;
  --wrap: 1180px; --gap: 22px;
}
h1, h2, h3 { font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.btn { font-weight: 700; }
.ic { color: var(--brand); }
.header { background: #fff; border-bottom: 1px solid var(--line); }
.header > .wrap { min-height: 74px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-mark { width: 42px; height: 42px; }
.logo span { display: grid; line-height: 1.1; }
.logo b { font: 800 1.2rem var(--head); }
.logo small { font-size: .75rem; color: var(--muted); letter-spacing: .06em; }
.nav a { font-weight: 600; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--soft); color: var(--brand); }
.hero { padding-block: clamp(32px, 6vw, 80px); background: linear-gradient(180deg, #EAF8F2, #F7FCFA); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(24px, 5vw, 64px); align-items: center; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } }
.hero h1 { font-size: clamp(2.2rem, 5.2vw, 3.7rem); margin: 12px 0 16px; }
.hero .t-actions { margin-top: 24px; }
.report-card { padding: clamp(18px, 3vw, 28px); background: #fff; border: 1px solid var(--line-strong); border-radius: 20px; box-shadow: 0 24px 50px -30px rgba(11, 122, 91, .5); }
.rc-h { display: flex; justify-content: space-between; font-weight: 700; padding-bottom: 12px; border-bottom: 1px dashed var(--line-strong); }
.rc-h span { font-weight: 600; font-size: .78rem; color: var(--muted); }
.rc-score { display: flex; align-items: baseline; gap: 12px; padding-block: 14px; }
.rc-score b { font: 800 4rem/1 var(--head); color: var(--brand); }
.rc-score span { padding: 3px 12px; border-radius: 99px; background: #DDF3E8; color: #086248; font-weight: 700; }
.ledger { list-style: none; display: grid; gap: 12px; }
.ledger li { display: grid; grid-template-columns: 120px minmax(0, 1fr) 54px; gap: 10px; align-items: center; font-size: .92rem; }
.ledger em { font-style: normal; font-weight: 700; font-size: .8rem; text-align: right; color: var(--muted); }
.meter { height: 10px; border-radius: 99px; background: #E4F0EA; overflow: hidden; }
.meter i { display: block; height: 100%; background: var(--brand); border-radius: inherit; }
.ledger li:nth-child(2) .meter i { background: #F2A93B; }
@media (max-width: 480px) { .ledger li { grid-template-columns: 96px minmax(0, 1fr) 48px; } }
.factors-band { background: var(--soft); }
.factors { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); gap: 14px; }
.factors li { display: grid; gap: 4px; padding: 18px; background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--line); }
.factors b { font: 800 2.2rem/1 var(--head); color: var(--brand); }
.factors span { color: var(--muted); font-weight: 600; }
.note { margin-top: 14px; color: var(--muted); font-size: .9rem; }
.c-card { border-radius: 16px; }
.c-filters button[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: #fff; }
.page-head { background: linear-gradient(180deg, #E4F5EE, #F7FCFA); }
.tool-out { border: 1px solid var(--line-strong); box-shadow: 0 20px 40px -32px rgba(11, 122, 91, .6); }
.out-total { font-size: clamp(1.6rem, 4vw, 2.2rem); }
.gauge { max-width: 300px; color: #10231C; }
.gauge svg { width: 100%; height: auto; }
.mini-h { font-size: 1.1rem; margin-bottom: 10px; }
.quiz .field { padding: 16px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; }
.numbers-band { background: var(--brand); color: #fff; } .numbers b { color: #fff; } .numbers span { color: #CDEBDD; }
.cta-band { padding-block: clamp(44px, 6vw, 76px); background: #10231C; color: #fff; }
.cta-band .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 22px; }
.cta-band h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.cta-band p { margin-top: 6px; color: #B9D6CA; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-band .btn-primary { background: #F2A93B; color: #10231C; }
.cta-band .btn-ghost { color: #fff; border-color: rgba(255,255,255,.5); }
.footer { background: #0A1A14; color: #A9C7BB; --footer-line: rgba(255,255,255,.14); }
.footer .logo b, .footer h2 { color: #fff; } .footer .logo small { color: #A9C7BB; }
.f-about { margin-top: 12px; max-width: 34ch; }
.footer .credit a { color: #F2A93B; }
