/* Subdivision / community content page — SHARED STYLESHEET.
   Zero facts. The :root block below is REWRITTEN per agent by
   templates/tools/build-content-page.py using that agent's palette.

   Colour discipline (GUARDRAILS #10):
     --accent-gold  is a FILL / border / underline colour ONLY.
     --accent-text  is the darkened variant used for TEXT on light backgrounds.
     Dark panels use --hr-blue-primary as background with white text, because
     several agents' accents fail contrast on their own primary.
*/

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=Inter:wght@400;500;600&display=swap');

:root {
  --hr-text-dark: #0A0A0A;
  --hr-text-muted: #7A6E5F;
  --hr-blue-primary: #0A0A0A;
  --hr-blue-glow: #2A2A2A;
  --hr-border: rgba(10,10,10,0.18);
  --accent-gold: #C49968;
  --accent-text: #8A6A3E;

  --page-bg: #FFFFFF;
  --card-bg: #FFFFFF;
  --panel-bg: #F4F6F8;
  --radius: 14px;
  --shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
  --wrap: 1080px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--page-bg);
  color: var(--hr-text-dark);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--accent-text); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.section { padding: 42px 20px; }
.section h2 {
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}
.section h2::after {
  content: "";
  display: block;
  width: 46px;
  height: 3px;
  background: var(--accent-gold);
  border-radius: 2px;
  margin-top: 8px;
}
.section p { margin-bottom: 12px; }
.lead { font-size: 1.05rem; }

/* ---------- header ---------- */
.sh {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 12px 22px;
  background: #FFFFFF;
  border-bottom: 3px solid var(--accent-gold);
  position: sticky;
  top: 0;
  z-index: 20;
}
.sh-brand { display: flex; align-items: center; gap: 12px; color: var(--hr-text-dark); }
.sh-brand:hover { text-decoration: none; }
.sh-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--hr-blue-primary);
  color: #FFFFFF;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.sh-names { display: flex; flex-direction: column; line-height: 1.25; }
.sh-name { font-weight: 700; font-size: 1.02rem; color: var(--hr-text-dark); }
.sh-brandline { font-size: 0.82rem; color: var(--hr-text-muted); }
.sh-nav { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.sh-nav a { color: var(--hr-text-dark); font-weight: 600; font-size: 0.95rem; }
.sh-nav .sh-cta {
  background: var(--hr-blue-primary);
  color: #FFFFFF;
  padding: 9px 16px;
  border-radius: 999px;
}

/* ---------- hero ---------- */
.hero {
  background: var(--hr-blue-primary);
  color: #FFFFFF;
  padding: 54px 0 50px;
}
.hero .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.76rem;
  font-weight: 700;
  color: #FFFFFF;
  opacity: 0.92;
  margin-bottom: 10px;
}
.hero h1 {
  font-size: clamp(1.9rem, 4.4vw, 2.9rem);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #FFFFFF;
  margin-bottom: 14px;
}
.hero-sub { font-size: 1.06rem; color: #FFFFFF; max-width: 62ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }

.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.96rem;
  border: 2px solid transparent;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: #FFFFFF; color: var(--hr-blue-primary); }
.btn-ghost { border-color: #FFFFFF; color: #FFFFFF; }
.cta-card .btn-primary { background: var(--hr-blue-primary); color: #FFFFFF; }
.cta-card .btn-ghost { border-color: var(--hr-blue-primary); color: var(--hr-blue-primary); }

/* ---------- stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 14px;
  margin: 18px 0 14px;
}
.stat {
  background: var(--card-bg);
  border: 1px solid var(--hr-border);
  border-top: 4px solid var(--accent-gold);
  border-radius: var(--radius);
  padding: 16px 18px;
  box-shadow: var(--shadow);
}
.stat-label {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  color: var(--hr-text-dark);
}
.stat-value {
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--hr-blue-glow);
  margin-top: 4px;
}
.stat-note { font-size: 0.85rem; color: var(--hr-text-muted); }

.source-note {
  font-size: 0.85rem;
  color: var(--hr-text-muted);
  border-left: 3px solid var(--accent-gold);
  padding-left: 12px;
}

/* ---------- callout ---------- */
.callout {
  background: var(--panel-bg);
  border: 1px solid var(--hr-border);
  border-left: 5px solid var(--accent-gold);
  border-radius: var(--radius);
  padding: 22px 24px;
}
.callout h2 { margin-bottom: 8px; }
.callout h2::after { display: none; }
.fineprint { font-size: 0.86rem; color: var(--hr-text-muted); }

/* ---------- facts ---------- */
.factgrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 10px;
  margin-top: 12px;
}
.fact {
  background: var(--card-bg);
  border: 1px solid var(--hr-border);
  border-radius: 10px;
  padding: 12px 14px;
}
.fact dt {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-weight: 700;
  color: var(--hr-text-muted);
}
.fact dd { font-weight: 600; font-size: 1rem; color: var(--hr-text-dark); }
.maplink { margin-top: 14px; font-weight: 600; }

/* ---------- cta ---------- */
.cta-card {
  background: var(--panel-bg);
  border: 1px solid var(--hr-border);
  border-radius: var(--radius);
  padding: 26px 24px;
}
.cta-card h2::after { background: var(--accent-gold); }
.attribution {
  margin-top: 16px;
  font-size: 0.88rem;
  color: var(--hr-text-muted);
}

.linklist { list-style: none; display: grid; gap: 8px; margin-top: 10px; }
.linklist a { font-weight: 600; }

/* ---------- footer ---------- */
.ft {
  background: var(--hr-blue-primary);
  color: #FFFFFF;
  padding: 30px 0 34px;
  margin-top: 20px;
  text-align: center;
}
.ft p { color: #FFFFFF; margin-bottom: 8px; }
.ft a { color: #FFFFFF; text-decoration: underline; }
.ft-brokerage { font-weight: 700; }
.ft-line { font-size: 0.92rem; }
.ft-fine { font-size: 0.8rem; opacity: 0.9; max-width: 74ch; margin-left: auto; margin-right: auto; }

@media (max-width: 640px) {
  .sh { padding: 10px 14px; }
  .sh-nav { gap: 12px; }
  .hero { padding: 40px 0 38px; }
}
