/* Baltimore Fire Alerts — shared "cream" theme (Redesign B).
   Used by support/, privacy/, and the store shell. The home page (index.html)
   carries its own inline styles for its bespoke sections but matches these tokens. */

:root {
  --cream: #f6e7c8;
  --cream-hi: #fdf4dd;   /* hero radial highlight / card fill */
  --red: #7d1c12;        /* primary red */
  --red-lt: #b32a1b;     /* hover / eyebrow red */
  --gold: #f6a01a;       /* accent / offset shadow */
  --ink: #2b2118;        /* body text */
  --brown: #5c4a35;      /* muted body */
  --brown-2: #8a5a2b;
  --dark: #3a1108;       /* footer bg / text-on-gold */
  --line: #d9c294;       /* hairline on cream */
  --maxw: 820px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: 'Barlow', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
}
img { max-width: 100%; }
a { color: var(--red); }
a:hover { color: var(--red-lt); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; gap: 14px;
  padding: 13px clamp(20px, 5vw, 48px);
  background: rgba(246, 231, 200, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--red);
}
.site-header .logo { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; }
.site-header .logo img { width: 52px; height: 52px; object-fit: contain; display: block; flex: none; }
.site-header .wordmark { font: 700 17px 'Oswald', sans-serif; letter-spacing: .02em; text-transform: uppercase; color: var(--red); line-height: 1.05; }
.site-header nav { margin-left: auto; display: flex; align-items: center; gap: clamp(14px, 3vw, 26px); font: 600 13px 'Barlow', sans-serif; letter-spacing: .05em; text-transform: uppercase; }
.site-header nav a { color: var(--red); text-decoration: none; }
.site-header nav a:hover { color: var(--red-lt); }
.site-header nav a.cta { color: var(--cream); background: var(--red); font: 700 12.5px 'Oswald', sans-serif; letter-spacing: .08em; padding: 10px 18px; border-radius: 8px; }
.site-header nav a.cta:hover { background: var(--red-lt); color: var(--cream); }

/* ---------- Page hero ---------- */
.page-hero {
  padding: clamp(44px, 6vw, 76px) clamp(20px, 5vw, 48px) clamp(36px, 5vw, 56px);
  background: radial-gradient(75% 90% at 80% 10%, var(--cream-hi) 0%, var(--cream) 60%);
  border-bottom: 2px solid var(--red);
}
.page-hero .wrap { max-width: var(--maxw); margin: 0 auto; }
.page-hero .eyebrow { font: 700 13px 'Barlow', sans-serif; letter-spacing: .16em; text-transform: uppercase; color: var(--red-lt); margin: 0 0 12px; }
.page-hero h1 { font: 600 clamp(44px, 6vw, 76px)/0.98 'Oswald', sans-serif; text-transform: uppercase; color: var(--red); margin: 0 0 14px; text-wrap: balance; }
.page-hero p { font-size: clamp(17px, 1.5vw, 19px); max-width: 560px; color: var(--brown); margin: 0; text-wrap: pretty; }

/* ---------- Content ---------- */
main { max-width: var(--maxw); margin: 0 auto; padding: clamp(40px, 6vw, 64px) clamp(20px, 5vw, 48px) clamp(56px, 8vw, 80px); }

.updated { font: 500 12.5px 'Barlow', sans-serif; color: var(--brown-2); margin: 0 0 26px; }
.lead { font-size: 17.5px; color: var(--ink); }

h2 { font: 600 clamp(28px, 3.5vw, 40px) 'Oswald', sans-serif; text-transform: uppercase; color: var(--red); margin: 40px 0 18px; }
h2:first-of-type { margin-top: 0; }
h3 { font: 600 18px 'Oswald', sans-serif; text-transform: uppercase; color: var(--ink); margin: 24px 0 6px; letter-spacing: .01em; }
p, li { color: var(--brown); }
main p { color: var(--brown); }
ul { padding-left: 20px; }
li { margin: 6px 0; }
strong { color: var(--dark); }

/* Signature card: cream fill, red border, gold offset shadow */
.card {
  background: var(--cream-hi);
  border: 2px solid var(--red);
  border-radius: 14px;
  box-shadow: 5px 5px 0 var(--gold);
  padding: 20px 22px;
  margin: 18px 0;
}
.card .q { font: 600 20px 'Oswald', sans-serif; text-transform: uppercase; color: var(--ink); margin: 0 0 6px; }
.card .a { margin: 0; color: var(--brown); }

/* Contact option cards grid */
.options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 8px 0 4px; }
.option {
  background: var(--cream-hi);
  border: 2px solid var(--red);
  border-radius: 14px;
  box-shadow: 5px 5px 0 var(--gold);
  padding: 22px;
}
.option h3 { font: 600 19px 'Oswald', sans-serif; text-transform: uppercase; color: var(--red); margin: 0 0 6px; }
.option p { margin: 0 0 14px; font-size: 14.5px; color: var(--brown); }

/* Buttons */
.btn {
  display: inline-block;
  background: var(--red); color: var(--cream);
  font: 700 12px 'Oswald', sans-serif; letter-spacing: .08em; text-transform: uppercase;
  text-decoration: none; padding: 12px 20px; border-radius: 8px;
}
.btn:hover { background: var(--red-lt); color: var(--cream); }
.btn-gold { background: var(--gold); color: var(--dark); }
.btn-gold:hover { background: #ffbd4d; color: var(--dark); }

/* Notice / callout */
.notice {
  font: 500 14.5px/1.6 'Barlow', sans-serif;
  color: var(--brown-2);
  background: var(--cream-hi);
  border: 1.5px dashed #c9a870;
  border-radius: 12px;
  padding: 16px 20px;
  margin: 18px 0;
}
.notice code, code.k {
  background: var(--cream); border: 1px solid var(--line); border-radius: 5px;
  padding: 1px 6px; font: 600 13px 'Barlow', sans-serif; white-space: nowrap; color: var(--dark);
}

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: var(--cream); padding: 32px clamp(20px, 5vw, 48px); }
.site-footer .wrap { max-width: 1060px; margin: 0 auto; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.site-footer .fbadge { width: 34px; height: 34px; object-fit: contain; }
.site-footer .copy { font: 500 12.5px 'Barlow', sans-serif; opacity: .8; line-height: 1.6; }
.site-footer .copy a { color: var(--cream); }
.site-footer .links { margin-left: auto; display: flex; align-items: center; gap: 16px; font: 600 12px 'Barlow', sans-serif; letter-spacing: .06em; text-transform: uppercase; }
.site-footer .links a { color: var(--cream); text-decoration: none; }
.site-footer .links a:hover { color: var(--gold); }
.site-footer .links a.ficon { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; background: var(--cream); border-radius: 50%; }
.site-footer .links a.ficon:hover { background: var(--gold); }
.site-footer .links a.ficon img { width: 20px; height: 20px; display: block; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: translateY(0); }

@media (max-width: 620px) { .site-header .wordmark { display: none; } }
@media (max-width: 560px) {
  .site-header { gap: 10px; padding: 10px 16px; }
  .site-header .logo img { width: 44px; height: 44px; }
  .site-header nav { gap: 12px; font-size: 11.5px; letter-spacing: .03em; }
  .site-header nav a.cta { padding: 8px 12px; font-size: 11px; }
  .options { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}
