/* HuntGrade MVP — shared styles.
   Brand: Blaze · Monochrome pop (light). Fraunces + Inter, ink-on-paper,
   blaze (#DA5318) as the only brand accent, and a fixed green→amber→red GRADE
   ramp that is kept separate from the brand color.
   NOTE: variable names are kept stable so the pages didn't have to be rewired;
   --ink/--deep are now light surfaces and --bone is the dark text color. */
:root{
  --ink:#FFFFFF;        /* page background (white) */
  --deep:#EAE3D1;       /* nav / footer / tray surface (warm tan chrome) */
  --mid:#ECECE8;
  --line:#E7E6E2; --line-soft:#F0EFEC;
  --paper:#FFFFFF; --panel:#FFFFFF; --panel-2:#F6F6F3; --chip:#F1F1EE;
  --bone:#1A1A17;       /* primary text / foreground */
  --muted:#6F6B62;
  --blaze:#1A1A17; --teal:#1A1A17; --teal-solid:#1A1A17; /* brand accent — ink / monochrome */
  --brass:#B5791E;      /* warm secondary, for value cues only */
  --red:#B0392B;
  /* Heading serif switched to Source Serif 4 (June 2026): Fraunces' signature
     swashy descending lowercase 'f' reads as a rendering bug in headings and no
     axis/feature removes it. Fraunces stays for the wordmark + grade badges
     (--brand-serif) — neither contains a lowercase f. */
  --display:"Source Serif 4",Georgia,serif; --brand-serif:"Fraunces",Georgia,serif; --score:"Inter",system-ui,sans-serif;
  --body:"Inter",system-ui,sans-serif; --mono:"Inter",system-ui,sans-serif;
  --radius:10px;
}
*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{background:var(--paper);color:var(--bone);font-family:var(--body);font-size:14px;line-height:1.55;-webkit-font-smoothing:antialiased;font-variant-numeric:lining-nums}
/* Fraunces defaults to old-style figures (digits with descenders); force lining
   figures everywhere, and tabular (equal-width) figures on numeric columns so
   prices and indexes line up cleanly. */
.price,.grade,.spec{font-variant-numeric:lining-nums tabular-nums;font-feature-settings:"lnum" 1,"tnum" 1}
a{color:var(--blaze);text-decoration:none} a:hover{text-decoration:underline}
.wrap{max-width:1240px;margin:0 auto;padding:0 22px}
h1,h2,h3,h4{font-family:var(--display);font-weight:600;letter-spacing:-0.2px}

/* nav */
.nav{border-bottom:1px solid var(--line);background:var(--deep);position:sticky;top:0;z-index:30}
.nav-in{display:flex;align-items:center;justify-content:space-between;padding:13px 22px;max-width:1240px;margin:0 auto;gap:14px;flex-wrap:wrap}
.brand-lock{display:flex;flex-direction:column;text-decoration:none}
.wordmark{font-family:var(--brand-serif);font-size:22px;letter-spacing:-0.3px}
.wordmark .a{font-weight:500;color:var(--bone)} .wordmark .b{font-weight:700;color:var(--blaze)}
.kicker{font-family:var(--body);font-size:10px;letter-spacing:.6px;color:var(--muted);margin-top:1px}
.nav-links{display:flex;gap:4px;align-items:center}
.nav-links a{font-family:var(--body);font-size:12px;font-weight:500;letter-spacing:.2px;color:var(--muted);padding:7px 12px;border-radius:7px}
.nav-links a:hover{color:var(--bone);background:var(--panel-2);text-decoration:none}
.nav-links a.active{color:var(--blaze);background:#EFEEEA}

/* grade badges — letter grades, serif, on a fixed green→amber→red ramp */
.grade{font-family:var(--brand-serif);font-weight:700;display:inline-flex;align-items:center;justify-content:center;border-radius:6px;line-height:1}
.grade.lg{width:64px;height:64px;font-size:34px;border-radius:10px}
.grade.md{width:34px;height:30px;font-size:17px}
.grade.gu{width:38px;height:34px;font-size:19px}
.grade.sm{width:26px;height:22px;font-size:13px}
.g-A{background:#3B6D11;color:#EAF3DE;border:1px solid #2E500A}
.g-B{background:#97C459;color:#173404;border:1px solid #7BA942}
.g-C{background:#FAC775;color:#412402;border:1px solid #E8B255}
.g-D{background:#F09595;color:#501313;border:1px solid #DE7676}
.g-NA{background:#ECEBE6;color:#8A857B;border:1px solid #E0DFDA}

/* reliability tier — same semantic ramp */
.tier{font-family:var(--body);font-weight:500;font-size:11px;padding:3px 8px;border-radius:5px;letter-spacing:.2px;white-space:nowrap;display:inline-block}
.t-Elite{background:#E0F0E5;color:#15703A;border:1px solid #A9D6B8}
.t-Strong{background:#E6F2E8;color:#2E8A47;border:1px solid #B6DCC0}
.t-Solid{background:#EEF4E5;color:#557F2C;border:1px solid #CDE0B0}
.t-Mixed{background:#FBEED0;color:#946307;border:1px solid #EDCE89}
.t-Weak{background:#FCE3DD;color:#C0382A;border:1px solid #F0BAB0}
.t-Laggard{background:#F8D6CF;color:#A5281A;border:1px solid #EBA08F}
.t-Provisional{background:#EFEDE7;color:#8A857B;border:1px solid #E4E2DB}

.mono{font-family:var(--body)} .muted{color:var(--muted)} .dim{color:#A7A296}
.price{font-family:var(--score);color:var(--bone)}
.pill{display:inline-block;font-family:var(--body);font-weight:500;font-size:11px;padding:3px 10px;border-radius:20px;border:1px solid var(--blaze);color:var(--blaze);margin:2px 4px 2px 0}
.pill.brass{border-color:var(--brass);color:var(--brass)}
.bic{display:inline-block;font-family:var(--body);font-weight:600;font-size:9px;background:#F3EAD6;color:#876412;border:1px solid #E3CF9E;padding:1px 6px;border-radius:4px;letter-spacing:.4px}

/* generic card */
.card{background:var(--panel);border:1px solid var(--line);border-radius:var(--radius)}
.kick{font-family:var(--body);font-weight:600;font-size:11px;letter-spacing:.4px;text-transform:uppercase;color:var(--blaze)}

footer{border-top:1px solid var(--line);background:var(--deep);margin-top:46px;padding:26px 0 64px}
footer .cols{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:24px}
footer h4{font-family:var(--body);font-size:11px;font-weight:600;letter-spacing:.4px;text-transform:uppercase;color:var(--blaze);margin:0 0 8px}
footer p,footer li{color:var(--muted);font-size:12px;line-height:1.65}
footer ul{margin:0;padding-left:16px}
.disc{font-size:11px;color:#A7A296;margin-top:18px;line-height:1.6}

/* product thumbnail (self-hosted image; silhouette fallback) */
.thumb{display:inline-flex;align-items:center;justify-content:center;background:#fff;border:1px solid var(--line);border-radius:8px;overflow:hidden;color:#A6A095;flex-shrink:0;box-sizing:border-box;padding:3px}
.thumb img{width:100%;height:100%;object-fit:contain;display:block}
.thumb .silh{width:64%;height:62%;fill:currentColor}
.thumb.noimg{color:#A6A095}

/* reliability meter — MONOCHROME (never the grade ramp). See methodology doc. */
.rel{display:inline-flex;flex-direction:column;gap:6px;line-height:1.1}
.rel .rl{font-size:12.5px;color:var(--muted)}
.dots{display:inline-flex;gap:3px}
.dot{width:7px;height:7px;border-radius:50%;border:1px solid #C2BEB4;background:transparent}
.dot.on{background:var(--muted);border-color:var(--muted)}

/* letter grade + score on one line (Image/Handling/Ownership) */
.gradeunit{display:inline-flex;align-items:center;gap:8px;white-space:nowrap}
.gnum{display:flex;flex-direction:column;line-height:1.2}
.gnum .gtop .lab{font-family:var(--body);font-size:10px;color:var(--muted);margin-right:3px}
.gnum .gtop b{font-family:var(--score);font-size:15px;font-weight:600;color:var(--bone)}
.gnum .gtop b.term{font-family:var(--body);font-size:13px;font-weight:400}
.gnum .grk{font-family:var(--body);font-size:10px;color:var(--muted)}
.gnum .gline{line-height:1.25}
.gnum .gline .term{font-family:var(--body);font-size:12px;font-weight:400;color:var(--bone)}
.gnum .gline .glab{font-family:var(--body);font-size:10px;color:var(--muted);margin-left:2px}
