/* Rahat Relief: charcoal, signal orange and off-white, styled like a field report. Archivo for headings, IBM Plex Sans
   for text. Change the colours and fonts here; base.css reads these variables. */
:root {
  --bg: #121417;
  --surface: #1B1F24;
  --soft: #171A1E;
  --ink: #F2EFEA;
  --muted: #A9AEB6;
  --line: #2E343C;
  --line-strong: #444C57;
  --brand: #FF7A1A;
  --brand-hover: #FF8F3D;
  --brand-ink: #121417;
  --brand-text: #FF9A4D;
  --focus: #FFD23F;
  --eyebrow: #FF9A4D;
  --head: "Archivo", system-ui, sans-serif;
  --body: "IBM Plex Sans", system-ui, sans-serif;
  --radius: 4px;
  --radius-lg: 8px;
  --btn-radius: 4px;
  --wrap: 1200px;
  --gap: 18px;
  --input-bg: #121417;
  --menu-bg: #121417;
  --out-bg: #F2EFEA;
  --out-ink: #121417;
  --out-btn: #FF7A1A;
  --out-btn-ink: #121417;
  --bar-bg: #2E343C;
  --bar2: #FFD23F;
  --stat-bg: #1B1F24;
}
h1, h2, h3 { font-weight: 800; letter-spacing: -.02em; }
.btn { font-weight: 700; text-transform: uppercase; letter-spacing: .04em; font-size: .92rem; }
.btn-ghost { color: var(--ink); }
.eyebrow { font-family: var(--head); }

/* header */
.header { background: rgba(18,20,23,.96); border-bottom: 1px solid var(--line); }
.logo b { font: 900 1.45rem/1 var(--head); letter-spacing: .08em; color: var(--ink); }
.logo small { font-size: .7rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.nav a { font-weight: 600; color: var(--muted); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); background: var(--surface); }
.nav-toggle { color: var(--ink); border-color: var(--line-strong); }

/* hero */
.hero { padding-block: clamp(32px, 5vw, 64px) clamp(44px, 6vw, 84px); background: linear-gradient(180deg, #1A1D21, var(--bg)); border-bottom: 4px solid var(--brand); }
.status { display: inline-flex; align-items: center; gap: 10px; padding: 6px 12px; border: 1px solid var(--line-strong); font: 700 .8rem var(--head); letter-spacing: .1em; text-transform: uppercase; color: var(--ink); }
.blink { width: 10px; height: 10px; border-radius: 50%; background: #FF3B30; animation: blink 1.4s infinite; }
@keyframes blink { 50% { opacity: .25; } }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 60px); align-items: end; margin-top: 22px; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } }
.hero h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); line-height: 1; text-transform: uppercase; }
.hero h1 span { color: var(--brand); }
.hero .lede { margin-top: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.appeal-card { display: grid; gap: 14px; padding: 24px; background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--brand); }
.ac-label { font: 700 .8rem var(--head); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.ac-raised { color: var(--muted); }
.ac-raised b { display: block; font: 800 clamp(2rem, 4vw, 2.8rem)/1.05 var(--head); color: var(--ink); }
.ac-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin: 0; background: var(--line); }
.ac-facts div { padding: 10px; background: var(--surface); }
.ac-facts dt { font-size: .74rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.ac-facts dd { margin: 2px 0 0; font: 800 1.2rem var(--head); }
.bar { --bar-bg: #2E343C; }
.kits-band { background: var(--brand); color: var(--bg); }
.kits-band .text-link { color: var(--bg); }
.kit-cards { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 2px; background: var(--bg); border: 2px solid var(--bg); }
.kit-cards li { display: grid; gap: 6px; align-content: start; padding: 20px; background: var(--brand); }
.kit-cards b { font: 900 1.6rem var(--head); }
.kit-cards h3 { font-size: 1.1rem; }
.kit-cards p { font-size: .92rem; }
.appeals { list-style: none; display: grid; gap: var(--gap); }
.appeals li { display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 1fr); gap: 24px; align-items: center; padding: 18px; background: var(--surface); border: 1px solid var(--line); }
@media (max-width: 720px) { .appeals li { grid-template-columns: minmax(0, 1fr); } }
.appeals figure { margin: 0; }
.appeals h3 { font-size: 1.5rem; margin: 6px 0 8px; }
.appeals p { color: var(--muted); }
.appeals .bar { margin-top: 14px; }
.ap-meta { margin-top: 8px; font-weight: 600; color: var(--ink) !important; font-variant-numeric: tabular-nums; }
.stats-sec { padding-bottom: 0; }
.stats b { color: var(--brand); font-weight: 900; }

/* appeal page */
.ap-tabs { margin-bottom: 24px; }
.chips button { background: var(--surface); color: var(--ink); border-color: var(--line-strong); border-radius: var(--radius); }
.chips button[aria-pressed="true"] { background: var(--brand); color: var(--bg); border-color: var(--brand); }
.ap-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: clamp(20px, 4vw, 40px); align-items: center; margin-bottom: clamp(28px, 4vw, 44px); }
@media (max-width: 820px) { .ap-head { grid-template-columns: minmax(0, 1fr); } }
.ap-art { margin: 0; border: 1px solid var(--line); }
.ap-head h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin: 14px 0 10px; text-transform: uppercase; }
.ap-head p { color: var(--muted); }
.ap-place { margin-top: 6px; font-weight: 600; color: var(--brand-text) !important; }
.bar-lg { height: 22px; margin-top: 18px; border-radius: 3px; }
.kit-pick { list-style: none; display: grid; gap: 10px; }
.kit-pick li { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 14px; border: 1px solid var(--line); background: var(--bg); }
.kit-pick li > div:first-child { display: grid; gap: 2px; min-width: 0; }
.kit-pick span { color: var(--muted); font-size: .9rem; }
.qty { flex: none; border-color: var(--line-strong); }
.qty button { color: var(--ink); }
.tool-out { border-top: 6px solid var(--brand); }
.tool-out .upi { background: rgba(0,0,0,.04); }
.tool-out .btn-ghost { color: var(--bg); }
@media (prefers-reduced-motion: reduce) { .blink { animation: none; } }

/* inner pages */
.page-head { background: var(--soft); border-bottom: 4px solid var(--brand); margin-bottom: clamp(24px, 4vw, 40px); }
.page-head h1 { text-transform: uppercase; }
.cta-band { background: var(--brand); color: var(--bg); }
.cta-band .btn-primary { background: var(--bg); color: var(--ink); }
.cta-band .btn-ghost { color: var(--bg); border-color: var(--bg); }
.footer { background: #0B0C0E; color: var(--muted); --footer-line: var(--line); }
.footer h2 { color: var(--ink); }
.footer .credit a { color: var(--ink); }
details summary::after { color: var(--brand); }
