/* ===================================
   Screening Awareness Center
   Editorial Design System
   =================================== */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&family=Source+Sans+3:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap');

/* CSS Variables */
:root {
  /* Color Palette - Warm Editorial */
  --cream: #FAF8F5;
  --cream-dark: #F0EBE3;
  --ink: #1a1a1a;
  --ink-light: #3d3d3d;
  --ink-muted: #6b6b6b;
  --ink-faded: #9a9a9a;
  --terracotta: #C4644A;
  --terracotta-dark: #A8503A;
  --terracotta-light: #D88A72;
  --sage: #7D9A78;
  --sage-dark: #5E7A5A;
  --sage-light: #A3BDA0;
  --rule: #d4cdc4;
  --white: #FFFFFF;
  --error: #B54A4A;
  --success: #5E7A5A;

  /* Typography */
  --font-display: 'Libre Baskerville', Georgia, 'Times New Roman', serif;
  --font-body: 'Source Sans 3', 'Segoe UI', system-ui, sans-serif;

  /* Spacing Scale */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2.5rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 17px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.7;
  color: var(--ink);
  background-color: var(--cream);
}

::selection {
  background: var(--terracotta);
  color: var(--white);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--terracotta);
  text-decoration: none;
  transition: color 0.15s ease;
}

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

ul, ol {
  list-style-position: outside;
  padding-left: 1.25em;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--ink);
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  line-height: 1.1;
}

h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
}

h3 {
  font-size: 1.375rem;
}

h4 {
  font-size: 1.125rem;
  font-family: var(--font-body);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

p {
  margin-bottom: 1.25rem;
  color: var(--ink-light);
}

.lead {
  font-size: 1.25rem;
  line-height: 1.6;
  color: var(--ink-muted);
}

.small {
  font-size: 0.875rem;
}

.label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-muted);
}

/* Layout */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.container-narrow {
  max-width: 720px;
}

.container-wide {
  max-width: 1400px;
}

.section {
  padding: var(--space-3xl) 0;
}

.section-sm {
  padding: var(--space-xl) 0;
}

/* Decorative Elements */
.rule {
  border: none;
  height: 1px;
  background: var(--rule);
  margin: var(--space-xl) 0;
}

.rule-thick {
  height: 3px;
  background: var(--ink);
  width: 60px;
}

.overline {
  display: block;
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--terracotta);
  margin-bottom: var(--space-sm);
}

/* Header */
.header {
  background: var(--cream);
  border-bottom: 1px solid var(--rule);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-md) 0;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-mark {
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
}

.logo-mark svg {
  width: 44px;
  height: 44px;
  display: block;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  white-space: nowrap;
}

.logo-name {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.logo-tagline {
  font-family: var(--font-body);
  font-size: 0.625rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--ink-muted);
  margin-top: 2px;
}

/* Navigation */
.nav {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.nav-list {
  display: flex;
  gap: var(--space-lg);
  list-style: none;
  padding: 0;
}

.nav-link {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ink-light);
  padding: var(--space-xs) 0;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--ink);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--terracotta);
  transition: width 0.2s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-cta {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--white) !important;
  background: var(--ink);
  padding: 0.75rem 1.25rem;
  transition: background 0.2s ease, transform 0.15s ease;
}

.nav-cta:hover {
  background: var(--terracotta);
  color: var(--white) !important;
  transform: translateY(-1px);
}

.nav-cta::after {
  display: none;
}

/* Mobile Menu */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-sm);
}

.mobile-toggle span {
  width: 26px;
  height: 2px;
  background: var(--ink);
  transition: all 0.3s ease;
}

/* Hero Section */
.hero {
  background: var(--cream);
  padding: var(--space-3xl) 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    linear-gradient(135deg, transparent 40%, var(--cream-dark) 100%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
  position: relative;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-overline {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--terracotta);
  margin-bottom: var(--space-md);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.hero-overline::before {
  content: '';
  width: 40px;
  height: 2px;
  background: var(--terracotta);
}

.hero h1 {
  margin-bottom: var(--space-lg);
  max-width: 540px;
}

.hero h1 em {
  font-style: italic;
  color: var(--terracotta);
}

.hero .lead {
  margin-bottom: var(--space-xl);
  max-width: 480px;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-graphic {
  width: 100%;
  max-width: 420px;
  aspect-ratio: 1;
  position: relative;
}

.hero-graphic::before {
  content: '';
  position: absolute;
  top: 10%;
  left: 10%;
  right: 10%;
  bottom: 10%;
  border: 3px solid var(--sage);
  border-radius: 50%;
}

.hero-graphic::after {
  content: '';
  position: absolute;
  top: 25%;
  left: 25%;
  right: 25%;
  bottom: 25%;
  background: var(--sage-light);
  border-radius: 50%;
  opacity: 0.3;
}

.hero-graphic-inner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40%;
  height: 40%;
  background: var(--sage);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-graphic-icon {
  font-size: 3rem;
  color: var(--white);
  line-height: 1;
}

/* Buttons */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 1rem 2rem;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}

.btn-primary {
  background: var(--ink);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--terracotta);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-secondary {
  background: var(--terracotta);
  color: var(--white);
}

.btn-secondary:hover {
  background: var(--terracotta-dark);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--ink);
  color: var(--ink);
  padding: calc(1rem - 2px) calc(2rem - 2px);
}

.btn-outline:hover {
  background: var(--ink);
  color: var(--white);
}

.btn-text {
  background: transparent;
  padding: 0;
  color: var(--ink);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
}

.btn-text::after {
  content: '\2192';
  transition: transform 0.2s ease;
}

.btn-text:hover {
  color: var(--terracotta);
}

.btn-text:hover::after {
  transform: translateX(4px);
}

.btn-lg {
  padding: 1.125rem 2.5rem;
  font-size: 1rem;
}

.btn-sm {
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
}

/* Stats Section */
.stats-section {
  padding: var(--space-3xl) 0;
  background: var(--white);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.stats-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.stats-header h2 {
  margin-bottom: var(--space-md);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  position: relative;
}

.stats-grid::before,
.stats-grid::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--rule);
}

.stats-grid::before {
  left: 33.33%;
}

.stats-grid::after {
  left: 66.66%;
}

.stat-item {
  text-align: center;
  padding: 0 var(--space-lg);
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--terracotta);
  line-height: 1;
  margin-bottom: var(--space-sm);
}

.stat-label {
  font-size: 1rem;
  color: var(--ink-muted);
  max-width: 200px;
  margin: 0 auto;
  line-height: 1.5;
}

/* Cards */
.card {
  background: var(--white);
  border: 1px solid var(--rule);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.card-body {
  padding: var(--space-xl);
}

.card-overline {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--terracotta);
  margin-bottom: var(--space-sm);
}

.card-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-bottom: var(--space-sm);
}

.card-text {
  color: var(--ink-muted);
  margin-bottom: var(--space-md);
  font-size: 0.9375rem;
}

/* Resource Cards */
.resources-section {
  padding: var(--space-3xl) 0;
}

.resources-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: var(--space-2xl);
  border-bottom: 1px solid var(--rule);
  padding-bottom: var(--space-lg);
}

.resources-header h2 {
  margin-bottom: 0;
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.resource-card {
  background: var(--white);
  border: 1px solid var(--rule);
  padding: var(--space-xl);
  position: relative;
  transition: all 0.25s ease;
}

.resource-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--sage);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.resource-card:hover {
  border-color: var(--sage);
}

.resource-card:hover::before {
  transform: scaleX(1);
}

.resource-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cream);
  border: 1px solid var(--rule);
  margin-bottom: var(--space-lg);
  font-size: 1.5rem;
}

.resource-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-bottom: var(--space-sm);
}

.resource-card p {
  font-size: 0.9375rem;
  color: var(--ink-muted);
  margin-bottom: var(--space-lg);
}

/* Category Section */
.categories-section {
  padding: var(--space-3xl) 0;
  background: var(--ink);
  color: var(--white);
}

.categories-header {
  margin-bottom: var(--space-2xl);
}

.categories-header .overline {
  color: var(--terracotta-light);
}

.categories-header h2 {
  color: var(--white);
  margin-bottom: var(--space-sm);
}

.categories-header p {
  color: rgba(255, 255, 255, 0.6);
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.1);
}

.category-card {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  padding: var(--space-xl);
  background: var(--ink);
  text-decoration: none;
  transition: background 0.2s ease;
}

.category-card:hover {
  background: var(--ink-light);
}

.category-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid currentColor;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.category-icon.cancer { color: #E8A0A0; }
.category-icon.heart { color: #E8B0C0; }
.category-icon.metabolic { color: #E8D8A0; }
.category-icon.preventive { color: var(--sage-light); }
.category-icon.advocacy { color: #A8C8E8; }

.category-content h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--white);
  margin-bottom: var(--space-xs);
}

.category-content p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 0;
}

.category-full {
  grid-column: 1 / -1;
  justify-content: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: -1px;
}

/* Grid Layouts */
.grid {
  display: grid;
  gap: var(--space-lg);
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* Forms */
.form-group {
  margin-bottom: var(--space-md);
}

.form-label {
  display: block;
  margin-bottom: var(--space-sm);
  font-weight: 500;
  color: var(--ink);
  font-size: 0.9375rem;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1px solid var(--rule);
  background: var(--white);
  font-size: 1rem;
  font-family: var(--font-body);
  color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(26, 26, 26, 0.05);
}

.form-textarea {
  min-height: 140px;
  resize: vertical;
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
}

.form-checkbox input {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  cursor: pointer;
  accent-color: var(--terracotta);
  flex-shrink: 0;
}

.form-checkbox-label {
  font-size: 0.875rem;
  color: var(--ink-muted);
  line-height: 1.5;
}

.form-checkbox-label a {
  text-decoration: underline;
}

/* Newsletter Section */
.newsletter-section {
  padding: var(--space-3xl) 0;
  background: var(--cream-dark);
}

.newsletter-container {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.newsletter-container .overline {
  margin-bottom: var(--space-sm);
}

.newsletter-container h2 {
  margin-bottom: var(--space-md);
}

.newsletter-container .lead {
  margin-bottom: var(--space-xl);
}

.newsletter-form {
  background: var(--white);
  padding: var(--space-xl);
  border: 1px solid var(--rule);
  text-align: left;
}

.newsletter-form .btn {
  width: 100%;
  margin-top: var(--space-sm);
}

/* Blog List */
.blog-grid {
  display: grid;
  gap: var(--space-lg);
}

.blog-item {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: var(--space-lg);
  padding: var(--space-lg);
  background: var(--white);
  border: 1px solid var(--rule);
  transition: all 0.2s ease;
}

.blog-item:hover {
  border-color: var(--ink);
}

.blog-item-image {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--sage-light), var(--sage));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 2rem;
}

.blog-item-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.blog-item-category {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--terracotta);
  margin-bottom: var(--space-sm);
}

.blog-item h3 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  margin-bottom: var(--space-sm);
}

.blog-item h3 a {
  color: var(--ink);
}

.blog-item h3 a:hover {
  color: var(--terracotta);
}

.blog-meta {
  font-size: 0.8125rem;
  color: var(--ink-faded);
}

/* Article Content */
.article-header {
  padding: var(--space-2xl) 0;
  text-align: center;
  background: var(--cream);
  border-bottom: 1px solid var(--rule);
}

.article-header .overline {
  margin-bottom: var(--space-md);
}

.article-header h1 {
  max-width: 800px;
  margin: 0 auto var(--space-md);
}

.article-meta {
  color: var(--ink-muted);
  font-size: 0.9375rem;
}

.article-content {
  max-width: 720px;
  margin: 0 auto;
  padding: var(--space-2xl) var(--space-lg);
}

.article-content h2 {
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-md);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--rule);
}

.article-content h2:first-child {
  border-top: none;
  padding-top: 0;
  margin-top: 0;
}

.article-content h3 {
  margin-top: var(--space-xl);
  margin-bottom: var(--space-sm);
}

.article-content p {
  margin-bottom: 1.375rem;
  font-size: 1.0625rem;
  line-height: 1.8;
}

.article-content ul,
.article-content ol {
  margin-bottom: 1.375rem;
  padding-left: 1.5rem;
}

.article-content li {
  margin-bottom: 0.5rem;
  line-height: 1.75;
  color: var(--ink-light);
}

.article-content blockquote {
  margin: var(--space-xl) 0;
  padding: var(--space-lg) var(--space-xl);
  background: var(--white);
  border-left: 4px solid var(--terracotta);
}

.article-content blockquote p {
  margin-bottom: 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.125rem;
  color: var(--ink);
}

/* Disclaimer Box */
.disclaimer-box {
  background: #FDF6F4;
  border: 1px solid var(--terracotta-light);
  border-left-width: 4px;
  border-left-color: var(--terracotta);
  padding: var(--space-lg);
  margin: var(--space-xl) 0;
}

.disclaimer-box p {
  margin-bottom: 0;
  font-size: 0.875rem;
  color: var(--ink-light);
}

.disclaimer-box strong {
  display: block;
  margin-bottom: var(--space-sm);
  color: var(--ink);
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Info Box */
.info-box {
  background: #F4F8F4;
  border: 1px solid var(--sage-light);
  border-left-width: 4px;
  border-left-color: var(--sage);
  padding: var(--space-lg);
  margin: var(--space-xl) 0;
}

.info-box p {
  margin-bottom: 0;
  font-size: 0.9375rem;
  color: var(--ink-light);
}

/* Breadcrumb */
.breadcrumb {
  padding: var(--space-md) 0;
  background: var(--cream);
  border-bottom: 1px solid var(--rule);
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  list-style: none;
  padding: 0;
  font-size: 0.8125rem;
}

.breadcrumb-list li:not(:last-child)::after {
  content: '/';
  margin-left: var(--space-sm);
  color: var(--ink-faded);
}

.breadcrumb-list a {
  color: var(--ink-muted);
}

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

.breadcrumb-list li:last-child {
  color: var(--ink);
  font-weight: 500;
}

/* Footer */
.footer {
  background: var(--ink);
  color: var(--white);
  padding: var(--space-3xl) 0 var(--space-xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
  padding-bottom: var(--space-2xl);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .logo {
  flex-shrink: 0;
}

.footer-brand .logo-name {
  color: var(--white);
}

.footer-brand .logo-tagline {
  color: rgba(255, 255, 255, 0.5);
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.6);
  margin-top: var(--space-md);
  font-size: 0.9375rem;
  max-width: 280px;
}

.footer h4 {
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: var(--space-lg);
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: var(--space-sm);
}

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9375rem;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.8125rem;
  margin-bottom: 0;
}

.footer-legal {
  display: flex;
  gap: var(--space-lg);
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.8125rem;
}

.footer-legal a:hover {
  color: var(--white);
}

/* Page Header */
.page-header {
  background: var(--cream);
  padding: var(--space-2xl) 0;
  text-align: center;
  border-bottom: 1px solid var(--rule);
}

.page-header .overline {
  margin-bottom: var(--space-sm);
}

.page-header h1 {
  margin-bottom: var(--space-sm);
}

.page-header p {
  color: var(--ink-muted);
  max-width: 560px;
  margin: 0 auto;
}

/* Welcome Page */
.welcome-hero {
  text-align: center;
  padding: var(--space-3xl) 0;
}

.welcome-icon {
  width: 80px;
  height: 80px;
  background: var(--sage);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-xl);
  font-size: 2rem;
  color: var(--white);
}

/* Legal Pages */
.legal-content {
  max-width: 720px;
  margin: 0 auto;
  padding: var(--space-2xl) var(--space-lg);
}

.legal-content h2 {
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-md);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--rule);
}

.legal-content h2:first-child {
  border-top: none;
  padding-top: 0;
  margin-top: 0;
}

.legal-content h3 {
  margin-top: var(--space-xl);
  margin-bottom: var(--space-sm);
}

.legal-content p,
.legal-content li {
  color: var(--ink-light);
  line-height: 1.75;
}

.legal-content ul {
  margin-bottom: 1.25rem;
  padding-left: 1.5rem;
}

.legal-content li {
  margin-bottom: 0.5rem;
}

/* Contact */
.contact-section {
  padding: var(--space-3xl) 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: start;
}

.contact-info h2 {
  margin-bottom: var(--space-md);
}

.contact-info > p {
  color: var(--ink-muted);
  margin-bottom: var(--space-xl);
}

.contact-info-item {
  display: flex;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  background: var(--cream-dark);
  border: 1px solid var(--rule);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--terracotta);
  font-size: 1.25rem;
  flex-shrink: 0;
}

.contact-form-wrapper {
  background: var(--white);
  border: 1px solid var(--rule);
  padding: var(--space-xl);
}

.contact-form-wrapper h3 {
  margin-bottom: var(--space-lg);
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: var(--space-sm); }
.mt-2 { margin-top: var(--space-md); }
.mt-3 { margin-top: var(--space-lg); }
.mt-4 { margin-top: var(--space-xl); }
.mt-5 { margin-top: var(--space-2xl); }

.mb-1 { margin-bottom: var(--space-sm); }
.mb-2 { margin-bottom: var(--space-md); }
.mb-3 { margin-bottom: var(--space-lg); }
.mb-4 { margin-bottom: var(--space-xl); }
.mb-5 { margin-bottom: var(--space-2xl); }

.bg-white { background: var(--white); }
.bg-cream { background: var(--cream); }
.bg-cream-dark { background: var(--cream-dark); }
.bg-ink { background: var(--ink); }

/* Responsive Design */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }

  .resource-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .hero-visual {
    order: -1;
  }

  .hero-graphic {
    max-width: 300px;
  }
}

@media (max-width: 768px) {
  html { font-size: 16px; }

  :root {
    --space-2xl: 3rem;
    --space-3xl: 4rem;
  }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    flex-direction: column;
    padding: var(--space-md);
    border-bottom: 1px solid var(--rule);
    gap: 0;
  }

  .nav.active {
    display: flex;
  }

  .nav-list {
    flex-direction: column;
    width: 100%;
    gap: 0;
  }

  .nav-list li {
    border-bottom: 1px solid var(--rule);
  }

  .nav-link {
    display: block;
    padding: var(--space-md);
  }

  .nav-link::after {
    display: none;
  }

  .nav-cta {
    margin-top: var(--space-md);
    text-align: center;
    display: block;
  }

  .mobile-toggle {
    display: flex;
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .resource-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .stats-grid::before,
  .stats-grid::after {
    display: none;
  }

  .stat-item {
    padding: var(--space-lg) 0;
    border-bottom: 1px solid var(--rule);
  }

  .stat-item:last-child {
    border-bottom: none;
  }

  .category-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

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

  .contact-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .blog-item {
    grid-template-columns: 1fr;
  }

  .blog-item-image {
    aspect-ratio: 16/9;
  }

  .resources-header {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-md);
  }

  .hero-content {
    text-align: center;
  }

  .hero-overline {
    justify-content: center;
  }

  .hero h1,
  .hero .lead {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 var(--space-md);
  }

  .logo-text {
    display: none;
  }

  .btn-lg {
    padding: 1rem var(--space-xl);
    font-size: 0.9375rem;
    width: 100%;
  }

  .newsletter-form {
    padding: var(--space-lg);
  }
}

/* Print Styles */
@media print {
  .header,
  .footer,
  .newsletter-section,
  .btn {
    display: none;
  }

  .article-content {
    max-width: 100%;
    padding: 0;
  }

  body {
    background: white;
    color: black;
  }
}
