/* ============================================================
   SEE TRANSPARENT — Shared Stylesheet
   Colors from the trans flag: blue #1a7fa8 / light blue #55CDFC
   Pink #c4607a / light pink #F7A8B8
   ============================================================ */

:root {
  --blue: #1a7fa8;
  --blue-light: #55CDFC;
  --pink: #c4607a;
  --pink-light: #F7A8B8;
  --white: #ffffff;
  --off-white: #f7f7f7;
  --text: #1a1a1a;
  --text-mid: #444;
  --text-muted: #777;
  --border: #e4e4e4;
  --card-bg: #fafafa;
  --font-serif: Georgia, 'Times New Roman', serif;
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --radius: 12px;
  --max-width: 1100px;
  --transition: 0.2s ease;
}

/* ---- RESET ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); }
a:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
  border-radius: 3px;
}

/* ---- SKIP LINK ---- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--blue);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 0 0 var(--radius) var(--radius);
  font-size: 0.9rem;
  z-index: 9999;
  text-decoration: none;
  transition: top var(--transition);
}
.skip-link:focus { top: 0; }

/* ---- NAVIGATION ---- */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
nav {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.875rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.logo {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}
.logo-trans { color: var(--blue); }
nav ul {
  display: flex;
  list-style: none;
  gap: 0.25rem;
  flex-wrap: wrap;
}
nav ul a {
  color: var(--text-mid);
  text-decoration: none;
  font-size: 0.9rem;
  padding: 0.4rem 0.75rem;
  border-radius: 6px;
  transition: background var(--transition), color var(--transition);
}
nav ul a:hover, nav ul a[aria-current="page"] {
  background: var(--off-white);
  color: var(--blue);
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 6px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-mid);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

/* ---- FLAG STRIPE ---- */
.flag-stripe {
  display: flex;
  height: 5px;
}
.flag-stripe span { flex: 1; }
.s-blue { background: var(--blue-light); }
.s-pink { background: var(--pink-light); }
.s-white { background: #e8e8e8; }

/* ---- HERO ---- */
.hero {
  padding: 5rem 1.5rem 4rem;
  background: var(--white);
}
.hero-inner {
  max-width: 720px;
  margin: 0 auto;
}
.eyebrow {
  font-size: 0.75rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}
h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: normal;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 1.25rem;
}
.highlight { color: var(--blue); }
.hero-sub {
  font-size: 1.1rem;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 600px;
}
.hero-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* ---- BUTTONS ---- */
.btn-primary {
  background: var(--blue);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 0.8rem 1.5rem;
  font-size: 1rem;
  font-family: var(--font-sans);
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: background var(--transition), transform var(--transition);
}
.btn-primary:hover { background: #166a8e; transform: translateY(-1px); color: #fff; }
.btn-secondary {
  background: transparent;
  color: var(--text-mid);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.8rem 1.5rem;
  font-size: 1rem;
  font-family: var(--font-sans);
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: border-color var(--transition), color var(--transition);
}
.btn-secondary:hover { border-color: var(--blue); color: var(--blue); }

/* ---- STATS BAND ---- */
.stats-band {
  background: var(--blue);
  padding: 3.5rem 1.5rem;
}
.stats-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}
.stat-card { color: #fff; }
.stat-num {
  font-family: var(--font-serif);
  font-size: 4.5rem;
  line-height: 1;
  display: block;
  margin-bottom: 0.5rem;
  color: rgba(255,255,255,0.95);
}
.stat-text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.85);
  margin-bottom: 0.75rem;
}
.stat-source {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.55);
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 0.6rem;
}

/* ---- PILLARS ---- */
.pillars { padding: 4rem 1.5rem; }
.pillars-inner { max-width: var(--max-width); margin: 0 auto; }
.section-label {
  font-size: 0.72rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1rem;
}
.pillar-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  text-decoration: none;
  color: inherit;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.pillar-card:hover {
  border-color: var(--blue-light);
  box-shadow: 0 4px 16px rgba(26,127,168,0.1);
  transform: translateY(-2px);
  color: inherit;
}
.pillar-icon { font-size: 1.4rem; flex-shrink: 0; margin-top: 2px; }
.pillar-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.35rem;
}
.pillar-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ---- QUOTE SECTION ---- */
.quote-section {
  background: var(--off-white);
  padding: 4rem 1.5rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.quote-inner {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}
blockquote {
  border-left: 4px solid var(--blue-light);
  margin: 0 0 1.5rem;
  padding: 1rem 1.5rem;
  text-align: left;
  background: var(--white);
  border-radius: 0 var(--radius) var(--radius) 0;
}
blockquote p {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--text);
  line-height: 1.6;
}
.about-text {
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 1.75rem;
}

/* ---- FOOTER ---- */
footer {
  padding: 2rem 1.5rem;
  border-top: 1px solid var(--border);
}
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
  justify-content: space-between;
}
.footer-logo {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--text-muted);
}
footer nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  list-style: none;
}
footer nav ul a {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-decoration: none;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
}
footer nav ul a:hover { color: var(--blue); }
.footer-made {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ---- PAGE HEADER (inner pages) ---- */
.page-header {
  padding: 3.5rem 1.5rem 2.5rem;
  border-bottom: 1px solid var(--border);
}
.page-header-inner { max-width: var(--max-width); margin: 0 auto; }
.page-header h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: normal;
  margin-bottom: 0.75rem;
}
.page-header p {
  font-size: 1rem;
  color: var(--text-mid);
  max-width: 600px;
  line-height: 1.7;
}

/* ---- CONTENT SECTION ---- */
.content-section {
  padding: 3rem 1.5rem;
  max-width: var(--max-width);
  margin: 0 auto;
}
.content-section + .content-section {
  border-top: 1px solid var(--border);
}

/* ---- FACT CARDS ---- */
.fact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}
.fact-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.fact-card .fact-num {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  color: var(--blue);
  line-height: 1;
  margin-bottom: 0.5rem;
  display: block;
}
.fact-card .fact-text {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text);
  margin-bottom: 0.75rem;
}
.fact-card .fact-source {
  font-size: 0.75rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  padding-top: 0.6rem;
}
.fact-card .fact-source a {
  color: var(--text-muted);
}

/* ---- MYTH CARDS ---- */
.myth-list { margin-top: 1.5rem; display: flex; flex-direction: column; gap: 1.25rem; }
.myth-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.myth-label {
  font-size: 0.7rem;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 0.5rem 1rem;
  font-weight: 600;
}
.myth-label.myth { background: #fff0f3; color: var(--pink); border-bottom: 1px solid var(--border); }
.myth-label.reality { background: #f0f7fb; color: var(--blue); border-bottom: 1px solid var(--border); }
.myth-content { padding: 1rem 1.25rem; font-size: 0.95rem; line-height: 1.65; }
.myth-content.myth-text { background: #fff8fa; color: var(--text-mid); font-style: italic; }
.myth-content.reality-text { background: var(--white); color: var(--text); }

/* ---- STATE CARDS ---- */
.state-risk-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.state-chip {
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
}
.state-chip .state-name { font-weight: 600; display: block; margin-bottom: 0.2rem; }
.state-chip .state-risk { font-size: 0.75rem; }
.risk-dnt { background: #fde8e8; border: 1px solid #f5a5a5; color: #8b0000; }
.risk-worst { background: #fef0e6; border: 1px solid #f5c096; color: #7a3500; }
.risk-high { background: #fef9e6; border: 1px solid #f0d88a; color: #6b4c00; }
.risk-mod { background: #e8f4f8; border: 1px solid #9dd0e8; color: #0d4f6b; }
.risk-low { background: #e8f5ed; border: 1px solid #8ecfa8; color: #0a4d22; }
.risk-protected { background: #f0f0ff; border: 1px solid #a8a8f0; color: #1a1a6b; }

/* ---- JOY BAND ---- */
.joy-band {
  background: linear-gradient(135deg, var(--pink) 0%, #d4607a 50%, #c4607a 100%);
  padding: 4rem 1.5rem;
}
.joy-inner {
  max-width: 720px;
  margin: 0 auto;
}
.joy-band h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: normal;
  color: #fff;
  margin-bottom: 1.25rem;
  line-height: 1.2;
}
.joy-text {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.9);
  line-height: 1.75;
  margin-bottom: 1rem;
}
.btn-joy {
  display: inline-block;
  margin-top: 1rem;
  background: rgba(255,255,255,0.15);
  border: 1.5px solid rgba(255,255,255,0.6);
  color: #fff;
  padding: 0.8rem 1.5rem;
  border-radius: 8px;
  font-size: 1rem;
  text-decoration: none;
  transition: background var(--transition);
}
.btn-joy:hover { background: rgba(255,255,255,0.25); color: #fff; }

.pillar-card-joy {
  border-color: var(--pink-light);
  background: #fff5f7;
}
.pillar-card-joy:hover {
  border-color: var(--pink);
  box-shadow: 0 4px 16px rgba(196,96,122,0.12);
}

/* ---- JOY PAGE ---- */
.joy-header {
  background: linear-gradient(135deg, var(--pink) 0%, #d4607a 100%);
  padding: 3.5rem 1.5rem 2.5rem;
}
.joy-header .eyebrow { color: rgba(255,255,255,0.7); }
.joy-header h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: normal;
  color: #fff;
  margin-bottom: 0.75rem;
}
.joy-header p { color: rgba(255,255,255,0.88); max-width: 600px; line-height: 1.7; }

.joy-card {
  background: #fff5f7;
  border: 1px solid var(--pink-light);
  border-radius: var(--radius);
  padding: 1.75rem;
  margin-bottom: 1.25rem;
}
.joy-card h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: normal;
  color: var(--pink);
  margin-bottom: 0.75rem;
}
.joy-card p {
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.75;
}
.joy-card p + p { margin-top: 0.75rem; }
.joy-card .joy-source {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
  border-top: 1px solid var(--pink-light);
  padding-top: 0.6rem;
}

/* ---- REDUCE MOTION ---- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
}

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  nav ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 1rem 1.5rem;
    gap: 0;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  }
  nav ul.open { display: flex; }
  nav ul a { padding: 0.7rem 0.5rem; border-bottom: 1px solid var(--border); border-radius: 0; }
  nav ul li:last-child a { border-bottom: none; }
  header { position: relative; }
  .hero { padding: 3rem 1.25rem 2.5rem; }
  .stats-inner { grid-template-columns: 1fr; }
  .pillar-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 1rem; }
}
