/* ==========================================================================
   SafeMyChild - Classy Institutional Organization Theme
   Palette: Heritage Forest Green (#1B3B2B) & Emblem Golden Ochre (#C1953B)
   Typography: Lora (Editorial Serif) + Plus Jakarta Sans (Humanist Sans)
   Aesthetic: Established Research Foundation / Educational Council
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Plus+Jakarta+Sans:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&display=swap');

:root {
  /* Classy Heritage Color Palette */
  --color-forest-dark: #12281D;    /* Deepest Forest - Footer & Heavy Contrast */
  --color-forest: #1B3B2B;         /* Primary Forest Green - Headings & Identity */
  --color-forest-light: #2D5A42;   /* Medium Sage Forest */
  --color-forest-subtle: #F0F5F2;  /* Gentle Sage Background Tint */
  --color-forest-tint: #E5EFE9;

  /* Logo Golden Heritage Palette (Matched to Circular Emblem Leaves) */
  --color-gold: #C1953B;            /* Primary Signature Golden from Logo */
  --color-gold-hover: #A67C2E;      /* Rich Lustrous Gold for Hover */
  --color-gold-light: #ECC06A;      /* Light Luminous Gold for Dark Backgrounds */
  --color-gold-soft: #FDF9EE;       /* Subtle Soft Warm Gold Tint */
  --color-gold-border: #ECD8A8;     /* Elegant Gold Border */

  /* Compatibility Aliases ensuring 100% theme-wide sync */
  --color-terracotta: var(--color-gold);
  --color-terracotta-hover: var(--color-gold-hover);
  --color-terracotta-soft: var(--color-gold-soft);
  --color-terracotta-border: var(--color-gold-border);

  /* Secondary Natural Tones */
  --color-amber-alert: #B45309;    /* Muted Amber for Advisories */
  --color-crimson-urgent: #9F1239; /* Deep Crimson for Crisis Help */
  --color-crimson-bg: #FFF1F2;

  /* Sophisticated Canvas & Neutrals */
  --color-bg-canvas: #FAF9F6;      /* Warm Alabaster Canvas (not harsh cold white) */
  --color-bg-surface: #FFFFFF;     /* Clean Surface White */
  --color-bg-muted: #F3F4F1;       /* Light Muted Neutral */
  --color-border: #E3E7E3;         /* Subtle Organic Border */
  --color-border-subtle: #ECEFEA;
  --color-text-main: #182B20;      /* Deep Forest-Charcoal for Body */
  --color-text-muted: #485A50;     /* Readable Muted Olive-Slate */
  --color-text-light: #6E7E74;     /* Secondary Subtitles & Metadata */

  /* Typography Pairing */
  --font-serif: 'Lora', Georgia, 'Times New Roman', serif;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;

  /* Spatial Scale - Spacious & Uncongested */
  --max-width: 1180px;
  --header-height: 84px;
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  /* Restrained, Authentic Shadows (No garish neon glows) */
  --shadow-subtle: 0 1px 3px rgba(27, 59, 43, 0.05);
  --shadow-card: 0 4px 14px rgba(27, 59, 43, 0.05);
  --shadow-hover: 0 8px 24px rgba(27, 59, 43, 0.08);

  /* Transitions */
  --transition-fast: 0.18s ease;
  --transition-normal: 0.25s ease;
}

/* ==========================================================================
   Base & Reset
   ========================================================================== */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  color: var(--color-text-main);
  background-color: var(--color-bg-canvas);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  overflow-x: hidden;
  background-color: var(--color-bg-canvas);
  color: var(--color-text-muted);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  color: var(--color-forest);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.015em;
}

p {
  margin-bottom: 1.4rem;
  line-height: 1.75;
}

p:last-child {
  margin-bottom: 0;
}

img, svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--color-terracotta);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-terracotta-hover);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  outline: none;
  background: none;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}

/* ==========================================================================
   Header & Institutional Navigation
   ========================================================================== */

/* Top Organization Bar */
.org-top-bar {
  background: var(--color-forest-dark);
  color: #D3E0D8;
  font-size: 0.82rem;
  padding: 9px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.org-top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.org-tagline {
  font-weight: 500;
  letter-spacing: 0.3px;
  color: #E2ECE5;
}

.org-top-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.org-top-link {
  color: #B2C4B9;
  font-size: 0.82rem;
  transition: color var(--transition-fast);
}

.org-top-link:hover {
  color: #FFFFFF;
}

.emergency-quick-link {
  color: #FFC9B3;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.emergency-quick-link:hover {
  color: #FFE5D9;
}

/* Main Site Header */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #FFFFFF;
  border-bottom: 1px solid var(--color-border);
  transition: box-shadow var(--transition-normal);
}

.site-header.scrolled {
  box-shadow: 0 4px 16px rgba(18, 40, 29, 0.06);
}

.site-header .container {
  max-width: 1380px;
  padding: 0 24px;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-height);
  height: auto;
  gap: 16px;
  padding: 8px 0;
}

/* Brand Logo & WordPress Custom Logo Fit */
.site-branding {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.custom-logo-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  line-height: 0;
  transition: opacity var(--transition-fast), transform var(--transition-fast);
}

.custom-logo-link:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.custom-logo {
  display: block;
  height: 48px;
  width: auto;
  max-width: 260px;
  max-height: 52px;
  object-fit: contain;
  vertical-align: middle;
}

.site-brand-logo {
  display: block;
  height: 48px;
  width: auto;
  max-width: 260px;
  max-height: 52px;
  object-fit: contain;
  vertical-align: middle;
  transition: opacity var(--transition-fast), transform var(--transition-fast);
}

.site-brand-logo:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.mobile-drawer-logo {
  display: block;
  height: 38px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
}

.footer-brand-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  transition: opacity var(--transition-fast);
}

.footer-brand-logo {
  display: block;
  height: 44px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  vertical-align: middle;
  transition: opacity var(--transition-fast), transform var(--transition-fast);
}

.footer-brand-logo:hover {
  opacity: 0.94;
  transform: translateY(-1px);
}

.brand-icon-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.site-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-icon-wrap {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: var(--color-forest);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  box-shadow: 0 3px 8px rgba(27, 59, 43, 0.15);
  flex-shrink: 0;
  overflow: hidden;
}

.brand-icon-wrap svg {
  color: #E5EFE9;
}

.brand-text-wrap {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-forest);
  line-height: 1.1;
  white-space: nowrap;
}

.brand-name span {
  color: var(--color-terracotta);
}

.brand-tagline {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--color-text-light);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-top: 2px;
  white-space: nowrap;
}

/* Primary Navigation */
.primary-nav {
  display: flex;
  align-items: center;
  flex: 1 1 auto;
  justify-content: center;
  min-width: 0;
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 4px;
  margin: 0;
  padding: 0;
  flex-wrap: nowrap;
}

.nav-link,
.nav-menu > li > a {
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-forest);
  padding: 8px 11px;
  border-radius: var(--radius-xs);
  transition: all var(--transition-fast);
  display: inline-block;
  white-space: nowrap;
  line-height: 1.3;
}

.nav-link:hover,
.nav-menu > li > a:hover,
.current-menu-item > a {
  color: var(--color-terracotta);
  background: var(--color-terracotta-soft);
}

/* Action Buttons */
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.header-actions .btn {
  padding: 8px 16px;
  font-size: 0.86rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 10px 22px;
  border-radius: var(--radius-xs);
  transition: all var(--transition-fast);
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-terracotta);
  color: #FFFFFF;
  border: 1px solid var(--color-terracotta);
}

.btn-primary:hover {
  background: var(--color-terracotta-hover);
  color: #FFFFFF;
}

.btn-secondary {
  background: #FFFFFF;
  color: var(--color-forest);
  border: 1px solid var(--color-border);
}

.btn-secondary:hover {
  background: var(--color-forest-subtle);
  border-color: #CBD5CD;
  color: var(--color-forest);
}

.btn-forest {
  background: var(--color-forest);
  color: #FFFFFF;
  border: 1px solid var(--color-forest);
}

.btn-forest:hover {
  background: var(--color-forest-light);
  color: #FFFFFF;
}

.btn-outline-terracotta {
  background: transparent;
  color: var(--color-terracotta);
  border: 1.5px solid var(--color-terracotta);
}

.btn-outline-terracotta:hover {
  background: var(--color-terracotta-soft);
  color: var(--color-terracotta-hover);
}

.btn-urgent {
  background: #FFF5F5;
  color: var(--color-crimson-urgent);
  border: 1px solid #FED7D7;
}

.btn-urgent:hover {
  background: #FFE8E8;
}

.btn-lg {
  padding: 13px 28px;
  font-size: 1rem;
}

/* Mobile Toggle */
.mobile-nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 40px;
  height: 40px;
  padding: 10px 8px;
  border-radius: var(--radius-xs);
  background: var(--color-forest-subtle);
  border: 1px solid var(--color-border);
  cursor: pointer;
}

.mobile-nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--color-forest);
  border-radius: 1px;
  transition: all var(--transition-fast);
}

.mobile-nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.mobile-nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 85%;
  max-width: 360px;
  height: 100vh;
  background: #FFFFFF;
  box-shadow: -10px 0 30px rgba(18, 40, 29, 0.12);
  z-index: 1050;
  padding: 85px 28px 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: right var(--transition-normal);
  overflow-y: auto;
}

.mobile-drawer.open {
  right: 0;
}

.mobile-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(18, 40, 29, 0.45);
  backdrop-filter: blur(4px);
  z-index: 1040;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-normal);
}

.mobile-drawer-overlay.open {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mobile-nav-list a {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-forest);
  display: block;
  padding: 10px 14px;
  border-radius: var(--radius-xs);
  transition: all var(--transition-fast);
}

.mobile-nav-list a:hover {
  background: var(--color-terracotta-soft);
  color: var(--color-terracotta);
}

.mobile-drawer-footer {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ==========================================================================
   Section Headers (Uncongested, Refined Editorial)
   ========================================================================== */

.section-header {
  text-align: center;
  max-width: 740px;
  margin: 0 auto 64px;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-terracotta);
  background: var(--color-terracotta-soft);
  border: 1px solid var(--color-terracotta-border);
  padding: 5px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(2rem, 3.4vw, 2.6rem);
  font-weight: 600;
  line-height: 1.25;
  color: var(--color-forest);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.08rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ==========================================================================
   1. Homepage Hero (Classy, Warm & Spacious)
   ========================================================================== */

.org-hero {
  position: relative;
  padding: 85px 0 95px;
  background: #FFFFFF;
  border-bottom: 1px solid var(--color-border);
}

.org-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 64px;
}

.hero-mission-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--color-forest-subtle);
  border: 1px solid #D6E4DB;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--color-forest);
  margin-bottom: 24px;
}

.hero-mission-badge span.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-terracotta);
}

.hero-title {
  font-size: clamp(2.4rem, 4.4vw, 3.4rem);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--color-forest);
  margin-bottom: 22px;
}

.hero-title .highlight {
  color: var(--color-terracotta);
  font-style: italic;
  font-weight: 400;
}

.hero-subtitle {
  font-size: 1.14rem;
  line-height: 1.75;
  color: var(--color-text-muted);
  margin-bottom: 36px;
  max-width: 580px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-bottom: 42px;
}

.hero-trust-indicators {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--color-border);
  font-size: 0.88rem;
  color: var(--color-text-light);
}

.trust-pill-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.trust-pill-item svg {
  color: var(--color-forest);
}

/* Hero Right: Starting Hub Card */
.hero-hub-card {
  background: var(--color-bg-canvas);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 36px;
  box-shadow: var(--shadow-card);
}

.hero-hub-header {
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--color-border);
}

.hero-hub-header h3 {
  font-size: 1.35rem;
  margin-bottom: 6px;
}

.hero-hub-header p {
  font-size: 0.88rem;
  color: var(--color-text-light);
}

.hub-quick-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.hub-quick-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xs);
  transition: all var(--transition-fast);
}

.hub-quick-item:hover {
  border-color: var(--color-terracotta);
  transform: translateX(3px);
  box-shadow: var(--shadow-subtle);
}

.hub-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-xs);
  background: var(--color-forest-subtle);
  color: var(--color-forest);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.hub-item-info h4 {
  font-family: var(--font-sans);
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--color-forest);
  margin-bottom: 2px;
}

.hub-item-info p {
  font-size: 0.82rem;
  color: var(--color-text-light);
  line-height: 1.4;
  margin: 0;
}

/* ==========================================================================
   2. Audience Portals (Parents vs Teachers)
   ========================================================================== */

.audience-section {
  padding: 90px 0;
  background: var(--color-bg-canvas);
}

.audience-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.audience-card {
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 44px;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  position: relative;
}

.audience-card:hover {
  border-color: var(--color-forest);
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}

.audience-tag {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-terracotta);
  margin-bottom: 14px;
}

.audience-card h3 {
  font-size: 1.75rem;
  margin-bottom: 16px;
}

.audience-card p {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--color-text-muted);
  margin-bottom: 28px;
}

.audience-link-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
  flex-grow: 1;
}

.audience-link-list li a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-forest);
  transition: all var(--transition-fast);
}

.audience-link-list li a:hover {
  color: var(--color-terracotta);
  transform: translateX(4px);
}

/* ==========================================================================
   3. Core Safety Topics
   ========================================================================== */

.topics-section {
  padding: 95px 0;
  background: #FFFFFF;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.topics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.topic-card {
  background: var(--color-bg-canvas);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 32px 26px;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
}

.topic-card:hover {
  background: #FFFFFF;
  border-color: var(--color-forest);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.topic-icon-wrap {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-xs);
  background: var(--color-forest-subtle);
  color: var(--color-forest);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 22px;
}

.topic-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.topic-card p {
  font-size: 0.92rem;
  color: var(--color-text-muted);
  line-height: 1.65;
  margin-bottom: 22px;
  flex-grow: 1;
}

.topic-card-link {
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--color-terracotta);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.topic-card-link:hover {
  gap: 10px;
}

/* ==========================================================================
   4. Featured Flagship Guides
   ========================================================================== */

.guides-section {
  padding: 95px 0;
  background: var(--color-bg-canvas);
}

.guides-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.guide-card {
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
}

.guide-card:hover {
  border-color: var(--color-terracotta);
  box-shadow: var(--shadow-card);
  transform: translateY(-4px);
}

.guide-meta {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-terracotta);
  margin-bottom: 14px;
}

.guide-card h3 {
  font-size: 1.35rem;
  margin-bottom: 14px;
  line-height: 1.35;
}

.guide-card h3 a {
  color: var(--color-forest);
}

.guide-card h3 a:hover {
  color: var(--color-terracotta);
}

.guide-card p {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
  flex-grow: 1;
}

.guide-footer-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  color: var(--color-text-light);
  padding-top: 18px;
  border-top: 1px solid var(--color-border-subtle);
}

/* ==========================================================================
   5. Interactive Safety Tools Preview
   ========================================================================== */

.tools-preview-section {
  padding: 95px 0;
  background: #FFFFFF;
  border-top: 1px solid var(--color-border);
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.tool-preview-card {
  background: var(--color-bg-canvas);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 34px 28px;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
}

.tool-preview-card:hover {
  background: #FFFFFF;
  border-color: var(--color-forest);
  box-shadow: var(--shadow-card);
  transform: translateY(-3px);
}

.tool-pill {
  display: inline-block;
  align-self: flex-start;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: var(--color-forest-subtle);
  color: var(--color-forest);
  margin-bottom: 16px;
}

.tool-preview-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.tool-preview-card p {
  font-size: 0.92rem;
  color: var(--color-text-muted);
  line-height: 1.65;
  margin-bottom: 24px;
  flex-grow: 1;
}

/* ==========================================================================
   6. Teacher Resources Preview
   ========================================================================== */

.teachers-preview-section {
  padding: 95px 0;
  background: var(--color-bg-canvas);
  border-top: 1px solid var(--color-border);
}

.teacher-split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.teacher-benefits-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 28px 0 36px;
}

.teacher-benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 1rem;
  color: var(--color-text-main);
  line-height: 1.65;
}

.teacher-benefit-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--color-forest-subtle);
  color: var(--color-forest);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 3px;
}

.classroom-downloads-box {
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 40px;
  box-shadow: var(--shadow-card);
}

.downloads-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.download-item-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--color-bg-canvas);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xs);
  padding: 18px 22px;
  transition: all var(--transition-fast);
}

.download-item-card:hover {
  border-color: var(--color-terracotta);
  background: #FFFFFF;
  transform: translateX(4px);
}

.download-item-info h4 {
  font-family: var(--font-sans);
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--color-forest);
  margin-bottom: 3px;
}

.download-item-info p {
  font-size: 0.82rem;
  color: var(--color-text-light);
  margin: 0;
}

/* ==========================================================================
   7. Emergency Response Banner
   ========================================================================== */

.urgent-help-banner {
  background: #FDF7F5;
  border-top: 1px solid var(--color-terracotta-border);
  border-bottom: 1px solid var(--color-terracotta-border);
  padding: 50px 0;
}

.urgent-help-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}

.urgent-help-text h3 {
  color: var(--color-terracotta);
  font-size: 1.45rem;
  margin-bottom: 8px;
}

.urgent-help-text p {
  color: var(--color-text-muted);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 700px;
  margin: 0;
}

/* ==========================================================================
   8. Trust Strip
   ========================================================================== */

.trust-editorial-strip {
  padding: 70px 0;
  background: #FFFFFF;
  border-top: 1px solid var(--color-border);
  font-size: 0.92rem;
  color: var(--color-text-muted);
}

.trust-editorial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.trust-pillar-item h4 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--color-forest);
}

.trust-pillar-item p {
  line-height: 1.7;
  margin-bottom: 12px;
}

/* ==========================================================================
   Footer (Forest Green Dignified Institutional Layout)
   ========================================================================== */

.site-footer {
  background: var(--color-forest-dark);
  color: #B5C7BC;
  padding-top: 80px;
  font-size: 0.92rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand .brand-name {
  color: #FFFFFF;
  margin-bottom: 14px;
}

.footer-brand .brand-name span {
  color: var(--color-gold-light); /* Luminous Logo Gold */
}

.footer-desc {
  line-height: 1.7;
  margin-bottom: 22px;
  max-width: 320px;
  color: #D3E0D8;
}

.footer-tagline-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #E2ECE5;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-xs);
}

.footer-heading {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: 22px;
  letter-spacing: -0.01em;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: #B5C7BC;
  transition: all var(--transition-fast);
  display: inline-block;
}

.footer-links a:hover {
  color: #FFFFFF;
  transform: translateX(3px);
}

/* Disclaimer & Educational Notice in Footer */
.footer-disclaimer-box {
  background: rgba(0, 0, 0, 0.22);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
  margin: 36px 0 0;
  font-size: 0.84rem;
  line-height: 1.7;
  color: #CBD5CE;
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.footer-bottom {
  padding: 30px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.85rem;
  color: #8D9E93;
}

.footer-bottom-links {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.footer-bottom-links a {
  color: #B5C7BC;
}

.footer-bottom-links a:hover {
  color: #FFFFFF;
}

/* Back to top button */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-forest);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.15);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
  z-index: 990;
  cursor: pointer;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--color-terracotta);
  transform: translateY(-3px);
}

/* ==========================================================================
   Page Templates & Prose Typography (Spacious Editorial Style)
   ========================================================================== */

.page-header-banner {
  background: var(--color-forest);
  color: #FFFFFF;
  padding: 68px 0;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-header-banner h1 {
  font-size: clamp(2.2rem, 3.8vw, 3rem);
  font-weight: 600;
  margin-bottom: 12px;
  color: #FFFFFF;
}

.page-header-banner p {
  color: #D3E0D8;
  font-size: 1.12rem;
  max-width: 680px;
  margin: 0 auto;
}

.page-content-wrapper {
  padding: 75px 0 90px;
  background: #FFFFFF;
}

.prose-content {
  max-width: 820px;
  margin: 0 auto;
  font-size: 1.08rem;
  line-height: 1.85;
  color: var(--color-text-main);
}

.prose-content h2 {
  margin: 48px 0 20px;
  font-size: 1.85rem;
  color: var(--color-forest);
  border-bottom: 1px solid var(--color-border-subtle);
  padding-bottom: 10px;
}

.prose-content h3 {
  margin: 36px 0 16px;
  font-size: 1.4rem;
  color: var(--color-forest);
}

.prose-content p {
  margin-bottom: 24px;
  color: var(--color-text-muted);
}

.prose-content ul,
.prose-content ol {
  margin-bottom: 28px;
  padding-left: 26px;
  color: var(--color-text-muted);
}

.prose-content li {
  margin-bottom: 10px;
  line-height: 1.75;
}

/* Blueprint Specific Blocks */
.blueprint-section {
  margin-bottom: 48px;
}

/* Contact Page Responsive Elements */
.contact-purpose-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 24px 0 36px;
}

.contact-purpose-card {
  background: var(--color-bg-canvas);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 22px 18px;
  text-align: center;
  transition: all var(--transition-fast);
}

.contact-purpose-card:hover {
  background: #FFFFFF;
  border-color: var(--color-terracotta);
  transform: translateY(-2px);
}

.contact-form-box {
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 36px;
  box-shadow: var(--shadow-card);
  margin-bottom: 40px;
}

/* Universal Media & Text Responsiveness */
img, video, iframe, embed, object {
  max-width: 100%;
  height: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  display: block;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

table th, table td {
  padding: 12px 16px;
  border: 1px solid var(--color-border);
  text-align: left;
}

/* Form input touch optimization (avoids iOS auto-zoom) */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="search"],
select,
textarea {
  font-size: 16px !important;
  max-width: 100%;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xs);
  transition: border-color var(--transition-fast);
  color: var(--color-text-main);
  background-color: #FFFFFF;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--color-terracotta);
  box-shadow: 0 0 0 3px var(--color-terracotta-soft);
}

/* Breadcrumb wrapping */
.breadcrumb-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 6px;
  align-items: center;
  word-break: break-word;
}

/* Header Responsive Adjustments */
@media (max-width: 1220px) {
  .brand-tagline {
    display: none;
  }
}

@media (max-width: 1120px) {
  .header-actions .btn-secondary {
    display: none;
  }
}

/* Tablet (Large to Small Tablets / Laptops <= 1024px) */
@media (max-width: 1024px) {
  :root {
    --header-height: 72px;
  }

  .container {
    padding: 0 24px;
  }

  .primary-nav,
  .header-actions .btn-secondary {
    display: none;
  }

  .mobile-nav-toggle {
    display: flex;
  }

  .org-hero-grid,
  .teacher-split-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .audience-grid,
  .topics-grid,
  .guides-grid,
  .tools-grid,
  .trust-editorial-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-top {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
}

/* Mobile & Small Tablets (<= 768px) */
@media (max-width: 768px) {
  :root {
    --header-height: 72px;
  }

  .container {
    padding: 0 18px;
  }

  /* Header adjustments */
  .org-top-bar {
    display: none;
  }

  .primary-nav,
  .header-actions .btn-secondary {
    display: none;
  }

  .mobile-nav-toggle {
    display: flex;
  }

  .brand-name {
    font-size: 1.25rem;
  }

  .custom-logo,
  .site-brand-logo {
    height: 38px;
    max-height: 40px;
    max-width: 175px;
  }

  /* Section Spacing adjustments */
  .org-hero {
    padding: 55px 0 65px;
  }

  .section-header {
    margin-bottom: 44px;
  }

  .section-title {
    font-size: 1.85rem;
  }

  .audience-section,
  .topics-section,
  .guides-section,
  .tools-preview-section,
  .teachers-preview-section {
    padding: 65px 0;
  }

  /* Grids collapse to single column */
  .audience-grid,
  .topics-grid,
  .guides-grid,
  .tools-grid,
  .trust-editorial-grid,
  .contact-purpose-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Automatically collapse any inline content grids in pages */
  .prose-content div[style*="display: grid"],
  .prose-content div[style*="display:grid"] {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  /* Hero Elements */
  .hero-hub-card {
    padding: 24px 20px;
  }

  .hub-quick-item {
    padding: 14px 14px;
    gap: 12px;
  }

  /* Audience Card */
  .audience-card {
    padding: 30px 22px;
  }

  /* Classroom Downloads Box */
  .classroom-downloads-box {
    padding: 26px 18px;
  }

  /* Contact Form */
  .contact-form-box {
    padding: 24px 18px;
  }

  /* Urgent Help Banner */
  .urgent-help-banner {
    padding: 38px 0;
  }

  .urgent-help-inner {
    flex-direction: column;
    align-items: stretch;
    text-align: left;
    gap: 20px;
  }

  .urgent-help-inner .btn {
    width: 100%;
  }

  /* Footer */
  .site-footer {
    padding-top: 60px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 36px;
    padding-bottom: 40px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 18px;
  }

  .footer-bottom-links {
    justify-content: center;
    gap: 14px 18px;
  }

  /* Back to top position */
  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
  }

  /* Page headers */
  .page-header-banner {
    padding: 50px 0;
  }

  .page-header-banner h1 {
    font-size: 2rem;
  }

  .page-content-wrapper {
    padding: 48px 0 65px;
  }
}

/* Small Smartphone Screen (<= 480px) */
@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .brand-icon-wrap {
    width: 38px;
    height: 38px;
  }

  .brand-name {
    font-size: 1.15rem;
  }

  .brand-tagline {
    display: none;
  }

  /* Hide header get-help text on very small screen to prevent overflow, keep button compact */
  .header-actions .btn-primary {
    padding: 8px 14px;
    font-size: 0.85rem;
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

  .hero-cta-group .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-trust-indicators {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .download-item-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

/* ==========================================================================
   Phase 4: Interactive Safety Tools & Quizzes Design System
   ========================================================================== */

.interactive-tool-container {
  background: var(--color-bg-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin: 36px 0;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

.tool-privacy-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--color-forest-subtle);
  color: var(--color-forest);
  font-size: 0.82rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  margin-bottom: 20px;
  border: 1px solid var(--color-forest-tint);
}

.tool-privacy-badge svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.tool-progress-wrapper {
  margin-bottom: 28px;
}

.tool-progress-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-text-muted);
}

.tool-progress-bar {
  width: 100%;
  height: 10px;
  background: var(--color-bg-muted);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.tool-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--color-forest) 0%, var(--color-terracotta) 100%);
  border-radius: var(--radius-full);
  transition: width 0.3s ease;
}

.tool-step {
  display: none;
  animation: toolFadeIn 0.25s ease-out;
}

.tool-step.active {
  display: block;
}

@keyframes toolFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.tool-question-title {
  font-size: 1.35rem;
  font-family: var(--font-serif);
  color: var(--color-forest);
  margin-bottom: 12px;
  line-height: 1.35;
}

.tool-question-desc {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  margin-bottom: 24px;
}

.tool-options-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.tool-option-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-bg-surface);
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: left;
  user-select: none;
}

.tool-option-card:hover {
  border-color: var(--color-forest-light);
  background: var(--color-forest-subtle);
  transform: translateY(-1px);
}

.tool-option-card.selected {
  border-color: var(--color-forest);
  background: var(--color-forest-subtle);
  box-shadow: 0 0 0 1.5px var(--color-forest);
}

.tool-option-indicator {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition-fast);
}

.tool-option-card.selected .tool-option-indicator {
  border-color: var(--color-forest);
  background: var(--color-forest);
}

.tool-option-card.selected .tool-option-indicator::after {
  content: "";
  width: 8px;
  height: 8px;
  background: #ffffff;
  border-radius: 50%;
}

.tool-option-text {
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-text-main);
  line-height: 1.4;
}

.tool-actions-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--color-border-subtle);
}

.tool-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--transition-fast);
}

.tool-btn-primary {
  background: var(--color-forest);
  color: #ffffff;
}

.tool-btn-primary:hover {
  background: var(--color-forest-light);
  transform: translateY(-1px);
}

.tool-btn-secondary {
  background: var(--color-bg-muted);
  color: var(--color-text-main);
  border: 1px solid var(--color-border);
}

.tool-btn-secondary:hover {
  background: var(--color-forest-subtle);
}

.tool-btn-accent {
  background: var(--color-terracotta);
  color: #ffffff;
}

.tool-btn-accent:hover {
  background: var(--color-terracotta-hover);
}

/* Results Display */
.tool-result-panel {
  text-align: center;
  padding: 24px 16px;
  animation: toolFadeIn 0.3s ease;
}

.tool-score-circle {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin: 0 auto 20px auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--color-forest-subtle);
  border: 4px solid var(--color-forest);
  box-shadow: 0 4px 16px rgba(27, 59, 43, 0.1);
}

.tool-score-number {
  font-size: 2.2rem;
  font-weight: 700;
  font-family: var(--font-serif);
  color: var(--color-forest);
  line-height: 1;
}

.tool-score-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 4px;
}

.tool-tier-badge {
  display: inline-block;
  padding: 6px 18px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.tier-high {
  background: #dcfce7;
  color: #166534;
}

.tier-medium {
  background: #fef3c7;
  color: #92400e;
}

.tier-low {
  background: #fee2e2;
  color: #991b1b;
}

.tool-recommendations-list {
  text-align: left;
  margin: 28px 0;
  padding: 20px;
  background: var(--color-forest-subtle);
  border-radius: var(--radius-md);
  border-left: 4px solid var(--color-forest);
}

.tool-recommendations-list h4 {
  margin-bottom: 12px;
  color: var(--color-forest);
}

.tool-recommendations-list ul {
  padding-left: 20px;
  line-height: 1.7;
}

/* Tab Switcher for Parental Controls */
.tool-tabs-header {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 8px;
  margin-bottom: 24px;
  border-bottom: 2px solid var(--color-border-subtle);
}

.tool-tab-btn {
  padding: 10px 18px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  background: var(--color-bg-surface);
  color: var(--color-text-muted);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.tool-tab-btn:hover {
  border-color: var(--color-forest);
  color: var(--color-forest);
}

.tool-tab-btn.active {
  background: var(--color-forest);
  color: #ffffff;
  border-color: var(--color-forest);
}

.tool-tab-content {
  display: none;
}

.tool-tab-content.active {
  display: block;
  animation: toolFadeIn 0.25s ease;
}

/* Printable Agreement & Plan Formatter */
.printable-document-sheet {
  background: #ffffff;
  border: 2px solid var(--color-forest);
  border-radius: var(--radius-md);
  padding: 36px;
  margin: 24px 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.printable-doc-header {
  border-bottom: 2px solid var(--color-border);
  padding-bottom: 16px;
  margin-bottom: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.printable-doc-title {
  font-size: 1.5rem;
  font-family: var(--font-serif);
  color: var(--color-forest);
  margin-bottom: 4px;
}

.signature-grid {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px dashed var(--color-border);
}

.signature-block {
  flex: 1;
}

.signature-line {
  border-bottom: 1.5px solid #1e293b;
  height: 40px;
  margin-bottom: 8px;
}

.signature-label {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  font-weight: 600;
}

/* Interactive Checklist Items */
.interactive-checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-bg-surface);
  margin-bottom: 10px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.interactive-checklist-item:hover {
  background: var(--color-forest-subtle);
}

.interactive-checklist-item.checked {
  background: #f0fdf4;
  border-color: #86efac;
}

.interactive-checklist-item.checked .checklist-title {
  text-decoration: line-through;
  color: #4b5563;
}

.interactive-checklist-checkbox {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  cursor: pointer;
}

/* Print Media Query */
@media print {
  header, footer, nav, .site-header, .site-footer, .table-of-contents-box, .tool-actions-row, .btn, button, .tool-privacy-badge {
    display: none !important;
  }

  body {
    background: #ffffff !important;
    color: #000000 !important;
  }

  .interactive-tool-container {
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .printable-document-sheet {
    border: 1px solid #000000 !important;
    box-shadow: none !important;
    padding: 20px !important;
  }
}

/* ==========================================================================
   AEO (Answer Engine Optimization) & GEO (Generative Engine Optimization)
   Modern Content Architecture for AI Grounding, Perplexity, & Google AI Overviews
   ========================================================================== */

/* AEO Quick Answer Direct Definition Card (BLUF format) */
.aeo-quick-answer-card {
  background: #F4F7F5;
  border-left: 4px solid var(--color-forest);
  border-radius: 0 12px 12px 0;
  padding: 22px 26px;
  margin: 28px 0;
  box-shadow: 0 2px 10px rgba(27, 59, 43, 0.04);
}

.aeo-quick-answer-card.urgent {
  background: #FFF1F2;
  border-left-color: var(--color-crimson-urgent);
}

.aeo-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-forest);
  background: rgba(27, 59, 43, 0.08);
  padding: 4px 10px;
  border-radius: 9999px;
  margin-bottom: 12px;
}

.aeo-quick-answer-card.urgent .aeo-badge {
  color: var(--color-crimson-urgent);
  background: rgba(159, 18, 57, 0.1);
}

.aeo-summary-text {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--color-text-main);
  margin-bottom: 0;
  font-weight: 500;
}

/* GEO Key Statistics & Verified Benchmarks Grid (+41% AI Citation Signal) */
.geo-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin: 28px 0;
}

.geo-stat-card {
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 18px 16px;
  text-align: center;
  box-shadow: var(--shadow-subtle);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.geo-stat-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

.geo-stat-number {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-terracotta);
  line-height: 1.1;
  margin-bottom: 6px;
}

.geo-stat-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-text-main);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}

.geo-stat-source {
  font-size: 0.72rem;
  color: var(--color-text-light);
  font-style: italic;
  display: block;
}

/* AEO Semantic FAQ Accordion Blocks */
.aeo-faq-section {
  margin: 40px 0 25px;
  padding-top: 25px;
  border-top: 1px solid var(--color-border);
}

.aeo-faq-heading {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  color: var(--color-forest);
  margin-bottom: 18px;
}

.aeo-faq-item {
  border: 1px solid var(--color-border);
  border-radius: 10px;
  margin-bottom: 12px;
  background: #FFFFFF;
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.aeo-faq-item:hover {
  border-color: #B5C7BC;
}

.aeo-faq-question {
  cursor: pointer;
  padding: 16px 20px;
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--color-forest);
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
  user-select: none;
}

.aeo-faq-question::-webkit-details-marker {
  display: none;
}

.aeo-faq-question::after {
  content: '+';
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--color-terracotta);
  transition: transform 0.2s ease;
}

.aeo-faq-item[open] .aeo-faq-question::after {
  content: '−';
}

.aeo-faq-answer {
  padding: 0 20px 18px;
  color: var(--color-text-muted);
  font-size: 0.94rem;
  line-height: 1.7;
}

.aeo-faq-answer p:last-child {
  margin-bottom: 0;
}


