/* ===== PASSUS — TYPOGRAPHY RESEARCH PORTAL ===== */
/* Modern Encyclopedia Minimalism */

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

/* ===== CSS VARIABLES ===== */
:root {
  --primary: #1A1A1A;
  --bg: #F5F5F5;
  --accent: #007BFF;
  --accent-dark: #0056b3;
  --text-dark: #E0E0E0;
  --neutral: #CCCCCC;
  --white: #FFFFFF;
  --border: 1px solid #E0E0E0;
  --shadow: 0px 4px 10px rgba(0,0,0,0.05);
  --shadow-hover: 0px 8px 20px rgba(0,0,0,0.10);
  --radius: 3px;
  --container: 1200px;
  --section-padding: 96px 0;
  --font-heading: 'Inter', sans-serif;
  --font-body: 'Roboto', sans-serif;
  --font-accent: 'Lora', serif;
  --transition: 0.25s ease;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--primary);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent-dark); }

ul, ol { list-style: none; }

/* ===== CONTAINER ===== */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.container--narrow {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--primary);
  line-height: 1.25;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2rem, 4vw, 3.25rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 600; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); font-weight: 600; }
h4 { font-size: 1.125rem; font-weight: 600; }
h5 { font-size: 1rem; font-weight: 600; }

p { margin-bottom: 1.25rem; color: #3a3a3a; }
p:last-child { margin-bottom: 0; }

.lead {
  font-size: 1.2rem;
  color: #555;
  line-height: 1.75;
  font-weight: 300;
}

.section-label {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  display: block;
  margin-bottom: 12px;
}

.section-title {
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.05rem;
  color: #666;
  max-width: 640px;
  line-height: 1.75;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: var(--radius);
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  letter-spacing: 0.02em;
  text-decoration: none;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--accent-dark);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0,123,255,0.3);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-1px);
}

.btn-outline-accent {
  background: transparent;
  color: var(--accent);
  border: 1.5px solid var(--accent);
}
.btn-outline-accent:hover {
  background: var(--accent);
  color: var(--white);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--accent);
  padding: 10px 0;
  border-radius: 0;
}
.btn-ghost:hover { color: var(--accent-dark); }
.btn-ghost::after { content: ' →'; }

.btn-sm { padding: 9px 20px; font-size: 0.85rem; }
.btn-lg { padding: 15px 36px; font-size: 1rem; }

/* ===== HEADER ===== */
.site-header {
  background: var(--white);
  border-bottom: var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.site-logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.03em;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}
.site-logo:hover { color: var(--primary); }

.logo-dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  display: inline-block;
  margin-left: 2px;
}

.site-nav { display: flex; align-items: center; gap: 8px; }

.nav-item {
  position: relative;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 500;
  color: #444;
  padding: 8px 12px;
  border-radius: var(--radius);
  transition: all var(--transition);
  display: block;
  white-space: nowrap;
}
.nav-link:hover, .nav-link.active {
  color: var(--accent);
  background: rgba(0,123,255,0.06);
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--white);
  border: var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-hover);
  min-width: 220px;
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all var(--transition);
  z-index: 100;
}
.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-dropdown a {
  display: block;
  padding: 9px 20px;
  font-size: 0.875rem;
  color: #444;
  font-family: var(--font-heading);
  transition: all var(--transition);
}
.nav-dropdown a:hover {
  color: var(--accent);
  background: rgba(0,123,255,0.04);
  padding-left: 24px;
}

.header-cta { display: flex; align-items: center; gap: 16px; }

/* Mobile menu toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--primary);
  transition: all var(--transition);
}

/* ===== HERO ===== */
.hero {
  background: var(--white);
  padding: 100px 0 80px;
  border-bottom: var(--border);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.hero-content {}
.hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 20px;
  display: block;
}

.hero h1 {
  font-family: var(--font-accent);
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  font-weight: 600;
  line-height: 1.18;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
  color: var(--primary);
}

.hero-sub {
  font-size: 1.1rem;
  color: #555;
  line-height: 1.75;
  margin-bottom: 40px;
  font-weight: 300;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-visual {
  position: relative;
}

.hero-img-wrap {
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}
.hero-img-wrap img { width: 100%; height: 480px; object-fit: cover; }

.hero-stat-card {
  position: absolute;
  bottom: -24px;
  left: -32px;
  background: var(--white);
  border: var(--border);
  border-radius: 4px;
  padding: 20px 24px;
  box-shadow: var(--shadow-hover);
}
.hero-stat-card .stat-num {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  display: block;
  line-height: 1;
  margin-bottom: 4px;
}
.hero-stat-card .stat-label {
  font-size: 0.8rem;
  color: #777;
  font-weight: 400;
}

/* ===== SECTION HEADERS ===== */
.section-header { margin-bottom: 56px; }
.section-header--center { text-align: center; }
.section-header--center .section-desc { margin: 0 auto; }

/* ===== SECTION WRAPPERS ===== */
.section { padding: var(--section-padding); }
.section--white { background: var(--white); }
.section--dark {
  background: var(--primary);
  color: var(--text-dark);
}
.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4 { color: var(--white); }
.section--dark p { color: var(--text-dark); }
.section--dark .section-label { color: #7db8ff; }
.section--alt { background: #EFEFEF; }

/* ===== CARDS ===== */
.card {
  background: var(--white);
  border: var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: all var(--transition);
  overflow: hidden;
}
.card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.card-img { width: 100%; height: 220px; object-fit: cover; }

.card-body { padding: 24px; }

.card-tag {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  display: block;
  margin-bottom: 10px;
}

.card-title {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 10px;
  line-height: 1.35;
}

.card-text {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.65;
  margin-bottom: 16px;
}

.card-meta {
  font-size: 0.8rem;
  color: #999;
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 16px;
  padding-top: 16px;
  border-top: var(--border);
}

/* ===== GRID SYSTEMS ===== */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-12 { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; }

/* ===== BREADCRUMB ===== */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: #888;
  padding: 20px 0;
  border-bottom: var(--border);
  margin-bottom: 48px;
  font-family: var(--font-heading);
}
.breadcrumb a { color: #888; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb-sep { color: #ccc; }
.breadcrumb-current { color: var(--primary); }

/* ===== PAGE HERO ===== */
.page-hero {
  background: var(--white);
  border-bottom: var(--border);
  padding: 72px 0 64px;
}
.page-hero-inner { max-width: 760px; }

.page-hero h1 {
  font-family: var(--font-accent);
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 20px;
}

/* ===== SIDEBAR LAYOUT ===== */
.layout-with-sidebar {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 56px;
  align-items: start;
}

.sidebar {}
.sidebar-widget {
  background: var(--white);
  border: var(--border);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 24px;
}
.sidebar-widget-title {
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--accent);
}
.sidebar-links { display: flex; flex-direction: column; gap: 4px; }
.sidebar-links a {
  font-size: 0.9rem;
  color: #555;
  padding: 7px 0;
  border-bottom: var(--border);
  transition: all var(--transition);
}
.sidebar-links a:last-child { border-bottom: none; }
.sidebar-links a:hover { color: var(--accent); padding-left: 6px; }

/* ===== INLINE INFO BLOCKS ===== */
.info-block {
  background: #EEF5FF;
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 20px 24px;
  margin: 32px 0;
}
.info-block p { margin-bottom: 0; font-size: 0.95rem; }

.note-block {
  background: #FFFBEE;
  border-left: 3px solid #f0a500;
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 20px 24px;
  margin: 32px 0;
}
.note-block p { margin-bottom: 0; font-size: 0.95rem; }

/* ===== STAT BARS ===== */
.stat-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}
.stat-row-label {
  font-size: 0.85rem;
  color: #555;
  min-width: 160px;
  font-family: var(--font-heading);
}
.stat-bar-wrap {
  flex: 1;
  height: 6px;
  background: #E8E8E8;
  border-radius: 3px;
  overflow: hidden;
}
.stat-bar {
  height: 100%;
  background: var(--accent);
  border-radius: 3px;
  transition: width 1.2s ease;
}
.stat-val {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  min-width: 36px;
  text-align: right;
  font-family: var(--font-heading);
}

/* ===== TIMELINE ===== */
.timeline { position: relative; padding-left: 32px; }
.timeline::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--neutral);
}

.timeline-item {
  position: relative;
  margin-bottom: 48px;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -28px;
  top: 6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid var(--white);
  box-shadow: 0 0 0 2px var(--accent);
}

.timeline-year {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 8px;
  display: block;
}

.timeline-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 10px;
}

.timeline-text {
  font-size: 0.92rem;
  color: #666;
  line-height: 1.7;
  margin-bottom: 0;
}

/* ===== TABS ===== */
.tabs-nav {
  display: flex;
  border-bottom: 2px solid #E8E8E8;
  margin-bottom: 40px;
  gap: 4px;
  flex-wrap: wrap;
}
.tab-btn {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 500;
  color: #666;
  padding: 12px 20px;
  background: none;
  border: none;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: all var(--transition);
}
.tab-btn:hover { color: var(--accent); }
.tab-btn.active { color: var(--accent); border-bottom-color: var(--accent); }

.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ===== ACCORDION ===== */
.accordion-item {
  border: var(--border);
  border-radius: var(--radius);
  margin-bottom: 8px;
  overflow: hidden;
}
.accordion-header {
  width: 100%;
  text-align: left;
  background: var(--white);
  border: none;
  padding: 18px 24px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--primary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background var(--transition);
}
.accordion-header:hover { background: #FAFAFA; }
.accordion-header.open { background: #F0F7FF; color: var(--accent); }
.accordion-icon { font-size: 1.1rem; transition: transform var(--transition); line-height: 1; }
.accordion-header.open .accordion-icon { transform: rotate(45deg); }
.accordion-body {
  display: none;
  padding: 20px 24px;
  border-top: var(--border);
  background: var(--white);
  font-size: 0.92rem;
  color: #555;
  line-height: 1.7;
}
.accordion-body.open { display: block; }

/* ===== CONTACT FORM ===== */
.contact-form {
  background: var(--white);
  border: var(--border);
  border-radius: var(--radius);
  padding: 48px;
}

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 0; }
.form-group--full { grid-column: 1 / -1; }

label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 7px;
  font-family: var(--font-heading);
}

input, textarea, select {
  width: 100%;
  padding: 11px 16px;
  border: 1.5px solid #DEDEDE;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--primary);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  appearance: none;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0,123,255,0.1);
}
textarea { resize: vertical; min-height: 140px; }

.form-note {
  font-size: 0.82rem;
  color: #888;
  margin-top: 12px;
  line-height: 1.6;
}

.form-success {
  display: none;
  background: #EEF9EE;
  border: 1px solid #a3d9a3;
  border-radius: var(--radius);
  padding: 24px 28px;
  text-align: center;
}
.form-success.show { display: block; }
.form-success-icon {
  width: 48px;
  height: 48px;
  background: #2ecc71;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: white;
  font-size: 1.4rem;
}
.form-success h4 { color: #1e7e34; margin-bottom: 8px; }
.form-success p { color: #2e7d32; font-size: 0.9rem; margin: 0; }

/* ===== QUOTE BLOCK ===== */
.quote-block {
  border-left: 4px solid var(--accent);
  padding: 24px 32px;
  margin: 40px 0;
  background: var(--white);
}
.quote-block blockquote {
  font-family: var(--font-accent);
  font-size: 1.3rem;
  font-style: italic;
  color: var(--primary);
  line-height: 1.6;
  margin-bottom: 12px;
}
.quote-block cite {
  font-size: 0.85rem;
  color: #888;
  font-style: normal;
  font-family: var(--font-heading);
}

/* ===== TABLE ===== */
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.data-table th {
  background: var(--primary);
  color: var(--white);
  padding: 14px 18px;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.data-table td {
  padding: 13px 18px;
  border-bottom: var(--border);
  color: #444;
}
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: #F9FBFF; }

/* ===== NUMBER STATS ===== */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: var(--border);
  border-left: var(--border);
}
.stat-cell {
  padding: 36px 24px;
  border-right: var(--border);
  border-bottom: var(--border);
  text-align: center;
}
.stat-cell-num {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-cell-label {
  font-size: 0.85rem;
  color: #777;
  line-height: 1.4;
}

/* ===== FEATURED IMAGE ===== */
.figure-block { margin: 48px 0; }
.figure-block img {
  width: 100%;
  border-radius: var(--radius);
  border: var(--border);
}
.figure-caption {
  font-size: 0.82rem;
  color: #888;
  margin-top: 10px;
  font-style: italic;
  font-family: var(--font-heading);
}

/* ===== TAGS ===== */
.tag {
  display: inline-block;
  padding: 4px 12px;
  font-size: 0.78rem;
  font-weight: 500;
  border-radius: 20px;
  text-decoration: none;
  transition: all var(--transition);
  font-family: var(--font-heading);
}
.tag--default {
  background: #EEF5FF;
  color: var(--accent);
  border: 1px solid #C8DFFF;
}
.tag--default:hover { background: var(--accent); color: var(--white); }
.tag--dark { background: #1A1A1A; color: #E0E0E0; }
.tag--gray { background: #F0F0F0; color: #666; border: 1px solid #E0E0E0; }

.tags-wrap { display: flex; flex-wrap: wrap; gap: 8px; }

/* ===== HIGHLIGHT BOX ===== */
.highlight-strip {
  background: var(--primary);
  color: var(--white);
  padding: 56px 0;
}
.highlight-strip h2 { color: var(--white); margin-bottom: 12px; }
.highlight-strip p { color: var(--text-dark); margin-bottom: 0; }
.highlight-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
}

/* ===== FONT SPECIMEN ===== */
.specimen-card {
  background: var(--white);
  border: var(--border);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow);
}
.specimen-preview {
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 1;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: var(--border);
}
.specimen-meta { display: flex; flex-wrap: wrap; gap: 24px; }
.specimen-meta-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.specimen-meta-key {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #999;
}
.specimen-meta-val {
  font-size: 0.9rem;
  color: var(--primary);
  font-weight: 500;
}

/* ===== CONTENT ARTICLE ===== */
.article-content h2 { margin: 40px 0 16px; }
.article-content h3 { margin: 32px 0 14px; }
.article-content p { margin-bottom: 1.4rem; }
.article-content ul, .article-content ol {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 1.4rem;
}
.article-content ol { list-style: decimal; }
.article-content li { margin-bottom: 8px; color: #3a3a3a; font-size: 0.96rem; line-height: 1.7; }
.article-content strong { color: var(--primary); }

/* ===== PAGINATION ===== */
.pagination {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  margin-top: 64px;
}
.page-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-family: var(--font-heading);
  font-weight: 500;
  text-decoration: none;
  color: #555;
  border: var(--border);
  background: var(--white);
  transition: all var(--transition);
}
.page-btn:hover, .page-btn.active {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}

/* ===== FOOTER ===== */
.site-footer {
  background: #111;
  color: var(--text-dark);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 56px;
  padding-bottom: 56px;
  border-bottom: 1px solid #2a2a2a;
}

.footer-brand {}
.footer-logo {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.03em;
  display: block;
  margin-bottom: 16px;
  text-decoration: none;
}
.footer-desc {
  font-size: 0.9rem;
  color: #888;
  line-height: 1.75;
  margin-bottom: 24px;
}
.footer-contact-line {
  font-size: 0.85rem;
  color: #777;
  margin-bottom: 6px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.footer-contact-line a { color: #aaa; }
.footer-contact-line a:hover { color: var(--white); }

.footer-col-title {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--white);
  margin-bottom: 20px;
}

.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: 0.875rem;
  color: #888;
  transition: color var(--transition);
  text-decoration: none;
}
.footer-links a:hover { color: var(--white); }

.footer-bottom {
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-copy {
  font-size: 0.82rem;
  color: #555;
}

.footer-policy-links {
  display: flex;
  gap: 20px;
}
.footer-policy-links a {
  font-size: 0.82rem;
  color: #555;
  text-decoration: none;
  transition: color var(--transition);
}
.footer-policy-links a:hover { color: #aaa; }

/* ===== BACK TO TOP ===== */
.back-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 44px;
  height: 44px;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  opacity: 0;
  transform: translateY(12px);
  transition: all var(--transition);
  z-index: 500;
  text-decoration: none;
}
.back-top.visible { opacity: 1; transform: translateY(0); }
.back-top:hover { background: var(--accent); color: var(--white); }

/* ===== DIVIDER ===== */
.divider { height: 1px; background: var(--neutral); margin: 40px 0; }
.divider--accent { background: var(--accent); height: 2px; width: 48px; margin: 0 0 24px; }

/* ===== SEARCH BAR ===== */
.search-bar {
  display: flex;
  align-items: stretch;
  max-width: 560px;
  border: 1.5px solid #DEDEDE;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
}
.search-bar input {
  border: none;
  border-radius: 0;
  flex: 1;
  padding: 12px 20px;
  box-shadow: none;
}
.search-bar input:focus { box-shadow: none; border: none; }
.search-bar button {
  background: var(--accent);
  color: var(--white);
  border: none;
  padding: 0 20px;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 500;
  transition: background var(--transition);
}
.search-bar button:hover { background: var(--accent-dark); }

/* ===== POLICY PAGE ===== */
.policy-content {
  max-width: 860px;
  margin: 0 auto;
}
.policy-content h2 { margin: 48px 0 16px; font-size: 1.4rem; }
.policy-content h3 { margin: 32px 0 14px; font-size: 1.15rem; }
.policy-content p { margin-bottom: 1.3rem; color: #444; }
.policy-content ul {
  list-style: disc;
  padding-left: 28px;
  margin-bottom: 1.3rem;
}
.policy-content li { margin-bottom: 8px; color: #444; line-height: 1.7; }
.policy-last-updated {
  font-size: 0.85rem;
  color: #999;
  font-family: var(--font-heading);
  margin-bottom: 48px;
  padding-bottom: 24px;
  border-bottom: var(--border);
}

/* ===== 2-COLUMN ARTICLE ===== */
.two-col-article {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

/* ===== READING PROGRESS ===== */
.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--accent);
  z-index: 2000;
  transition: width 0.1s linear;
  width: 0%;
}

/* ===== MOBILE NAV ===== */
.mobile-nav {
  display: none;
  position: fixed;
  top: 68px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--white);
  z-index: 999;
  padding: 24px;
  overflow-y: auto;
  border-top: var(--border);
  flex-direction: column;
  gap: 4px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 500;
  color: var(--primary);
  padding: 13px 16px;
  border-radius: var(--radius);
  border-bottom: var(--border);
  text-decoration: none;
}
.mobile-nav a:hover { color: var(--accent); background: #F5F9FF; }

/* ===== HOVER CARD LINK ===== */
.hover-link {
  color: var(--primary);
  border-bottom: 1px solid var(--neutral);
  text-decoration: none;
  transition: all var(--transition);
  padding-bottom: 1px;
}
.hover-link:hover { color: var(--accent); border-color: var(--accent); }

/* ===== UTILITY ===== */
.mt-0 { margin-top: 0; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-40 { margin-top: 40px; }
.mt-48 { margin-top: 48px; }
.mb-0 { margin-bottom: 0; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-40 { margin-bottom: 40px; }
.mb-48 { margin-bottom: 48px; }
.text-center { text-align: center; }
.text-muted { color: #888; }
.text-accent { color: var(--accent); }
.font-accent { font-family: var(--font-accent); }
.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-8 { gap: 8px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.gap-32 { gap: 32px; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); border: 0;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats-strip { grid-template-columns: repeat(2, 1fr); }
  .layout-with-sidebar { grid-template-columns: 1fr; }
  .sidebar { display: none; }
  .two-col-article { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root { --section-padding: 64px 0; }
  .site-nav, .header-cta { display: none; }
  .nav-toggle { display: flex; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-2 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .stats-strip { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-policy-links { justify-content: center; }
  .highlight-strip-inner { flex-direction: column; gap: 24px; }
  .hero { padding: 64px 0 48px; }
  .page-hero { padding: 48px 0; }
  .contact-form { padding: 28px 20px; }
  .tabs-nav { gap: 0; }
  .tab-btn { padding: 10px 14px; font-size: 0.82rem; }
}

@media (max-width: 540px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .stats-strip { grid-template-columns: 1fr 1fr; }
  .hero-actions { flex-direction: column; }
  .back-top { bottom: 20px; right: 20px; }
}
