/* ===== SVOS Wiki Styles ===== */
/* Brand Palette v2.2 — January 2026 */

:root {
  /* Primary: Teal/Navy Family */
  --sv-deep-teal: #213C47;
  --sv-gunmetal: #343A40;
  --sv-slate: #6A7F83;
  --sv-steel: #88989A;
  
  /* Backgrounds: Warm Neutrals */
  --sv-alabaster: #E0E1DD;
  --sv-parchment: #EEEBE5;
  --sv-white: #FFFFFF;
  
  /* Accent & Action */
  --sv-brown: #6B4E3D;
  --sv-brown-hover: #5A4133;
  --sv-accent: #0E6F6A;
  
  /* Semantic */
  --success: #0E6F6A;
  --warning: #D97757;
  --error: #C53030;
  
  /* UI */
  --border: rgba(33, 60, 71, 0.12);
  --shadow-sm: 0 2px 8px rgba(33, 60, 71, 0.06);
  --shadow-md: 0 4px 16px rgba(33, 60, 71, 0.08);
  --shadow-lg: 0 12px 32px rgba(33, 60, 71, 0.12);
  
  /* Spacing */
  --container-max: 1200px;
  --nav-height: 72px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--sv-gunmetal);
  background: var(--sv-parchment);
}

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

/* ===== Navigation ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: var(--sv-white);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-brand {
  font-family: 'DM Serif Display', serif;
  font-size: 24px;
  color: var(--sv-deep-teal);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.brand-icon {
  font-size: 20px;
}

.nav-links {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  justify-content: center;
}

.nav-link {
  padding: 8px 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--sv-gunmetal);
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.2s;
  white-space: nowrap;
}

.nav-link:hover {
  background: var(--sv-alabaster);
  color: var(--sv-deep-teal);
}

.nav-link.active {
  background: var(--sv-deep-teal);
  color: var(--sv-white);
}

.nav-cta {
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--sv-white);
  background: var(--sv-brown);
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.2s;
  flex-shrink: 0;
  white-space: nowrap;
}

.nav-cta:hover {
  background: var(--sv-brown-hover);
}

/* Mobile Navigation */
.mobile-nav-toggle {
  display: none;
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1100;
  width: 40px;
  height: 40px;
  background: var(--sv-white);
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.mobile-nav-toggle span {
  width: 20px;
  height: 2px;
  background: var(--sv-deep-teal);
  border-radius: 2px;
  transition: all 0.3s;
}

.mobile-nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

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

.mobile-nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-nav-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(33, 60, 71, 0.95);
  z-index: 1050;
  padding: 100px 24px 24px;
}

.mobile-nav-overlay.active {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.mobile-nav-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile-nav-link {
  padding: 16px 20px;
  font-size: 18px;
  font-weight: 500;
  color: var(--sv-white);
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.2s;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  background: rgba(255, 255, 255, 0.1);
}

.mobile-nav-link.cta {
  background: var(--sv-brown);
  margin-top: 16px;
}

/* ===== Hero Section ===== */
.hero {
  padding: calc(var(--nav-height) + 60px) 24px 60px;
  background: linear-gradient(135deg, var(--sv-deep-teal) 0%, #2d4f5c 100%);
  color: var(--sv-white);
  min-height: 500px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 100%;
}

.hero-content {
  max-width: 600px;
  margin-left: auto;
  padding-left: 24px;
}

.hero-badge {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 24px;
}

.hero h1 {
  font-family: 'DM Serif Display', serif;
  font-size: 56px;
  line-height: 1.1;
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: 18px;
  line-height: 1.7;
  opacity: 0.9;
  margin-bottom: 32px;
}

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

.hero-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding-right: 24px;
}

.hero-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.hero-card-icon {
  font-size: 24px;
}

.hero-card-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero-card-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  opacity: 0.7;
}

.hero-card-value {
  font-size: 16px;
  font-weight: 600;
}

/* ===== Page Header ===== */
.page-header {
  padding: calc(var(--nav-height) + 60px) 24px 40px;
  background: linear-gradient(135deg, var(--sv-deep-teal) 0%, #2d4f5c 100%);
  color: var(--sv-white);
  text-align: center;
}

.page-header h1 {
  font-family: 'DM Serif Display', serif;
  font-size: 48px;
  margin-bottom: 16px;
}

.page-header p {
  font-size: 18px;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

.page-header .breadcrumb {
  font-size: 14px;
  opacity: 0.7;
  margin-bottom: 16px;
}

.page-header .breadcrumb a {
  color: var(--sv-white);
  text-decoration: none;
}

.page-header .breadcrumb a:hover {
  text-decoration: underline;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}

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

.btn-primary:hover {
  background: var(--sv-brown-hover);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--sv-deep-teal);
  color: var(--sv-white);
}

.btn-secondary:hover {
  filter: brightness(1.1);
}

.btn-outline {
  background: transparent;
  color: var(--sv-white);
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-outline-dark {
  background: transparent;
  color: var(--sv-deep-teal);
  border: 2px solid var(--sv-deep-teal);
}

.btn-outline-dark:hover {
  background: var(--sv-deep-teal);
  color: var(--sv-white);
}

/* ===== Sections ===== */
.section {
  padding: 80px 24px;
}

.section-alt {
  background: var(--sv-alabaster);
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header h2 {
  font-family: 'DM Serif Display', serif;
  font-size: 36px;
  color: var(--sv-deep-teal);
  margin-bottom: 12px;
}

.section-header p {
  font-size: 18px;
  color: var(--sv-slate);
}

/* ===== Alert ===== */
.alert-section {
  padding: 0 24px;
  margin-top: -40px;
  position: relative;
  z-index: 10;
}

.alert {
  background: var(--sv-white);
  border-radius: 16px;
  padding: 32px;
  box-shadow: var(--shadow-lg);
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  gap: 24px;
}

.alert-warning {
  border-left: 4px solid var(--warning);
}

.alert-icon {
  font-size: 32px;
  flex-shrink: 0;
}

.alert-content h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--sv-deep-teal);
  margin-bottom: 8px;
}

.alert-content > p {
  color: var(--sv-slate);
  margin-bottom: 16px;
}

.alert-table {
  overflow-x: auto;
}

.alert-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

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

.alert-table th {
  background: var(--sv-parchment);
  font-weight: 600;
  color: var(--sv-deep-teal);
}

.alert-table .correct {
  color: var(--success);
  font-weight: 500;
}

.alert-table .wrong {
  color: var(--error);
  text-decoration: line-through;
  opacity: 0.7;
}

/* ===== Facts Grid ===== */
.facts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  max-width: var(--container-max);
  margin: 0 auto;
}

.fact-card {
  background: var(--sv-white);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}

.fact-icon {
  font-size: 32px;
  flex-shrink: 0;
}

.fact-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--sv-slate);
  margin-bottom: 4px;
}

.fact-value {
  font-size: 16px;
  font-weight: 600;
  color: var(--sv-deep-teal);
}

/* ===== Document Grid ===== */
.doc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
  max-width: var(--container-max);
  margin: 0 auto;
}

.doc-card {
  background: var(--sv-white);
  border-radius: 16px;
  padding: 28px;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: all 0.3s;
}

.doc-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--sv-accent);
}

.doc-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.doc-icon {
  font-size: 28px;
}

.doc-number {
  font-size: 14px;
  font-weight: 600;
  color: var(--sv-steel);
}

.doc-card h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--sv-deep-teal);
  margin-bottom: 8px;
}

.doc-card p {
  font-size: 14px;
  color: var(--sv-slate);
  line-height: 1.5;
  margin-bottom: 16px;
}

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

.audience-tag {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  background: var(--sv-parchment);
  color: var(--sv-deep-teal);
  border-radius: 4px;
}

/* ===== Usage Grid ===== */
.usage-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 32px;
  max-width: var(--container-max);
  margin: 0 auto;
}

.usage-card {
  background: var(--sv-white);
  border-radius: 16px;
  padding: 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}

.usage-icon {
  font-size: 40px;
  margin-bottom: 16px;
}

.usage-card h3 {
  font-size: 22px;
  font-weight: 600;
  color: var(--sv-deep-teal);
  margin-bottom: 20px;
}

.usage-card ol {
  list-style: none;
  counter-reset: usage-counter;
}

.usage-card ol li {
  counter-increment: usage-counter;
  padding: 12px 0;
  padding-left: 40px;
  position: relative;
  color: var(--sv-slate);
  border-bottom: 1px solid var(--border);
}

.usage-card ol li:last-child {
  border-bottom: none;
}

.usage-card ol li::before {
  content: counter(usage-counter);
  position: absolute;
  left: 0;
  top: 12px;
  width: 28px;
  height: 28px;
  background: var(--sv-accent);
  color: var(--sv-white);
  border-radius: 50%;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}

.usage-card ol li strong {
  color: var(--sv-deep-teal);
}

/* ===== Authority Banner ===== */
.authority-banner {
  background: var(--sv-white);
  border-radius: 16px;
  padding: 40px;
  display: flex;
  gap: 32px;
  align-items: flex-start;
  box-shadow: var(--shadow-md);
  border: 2px solid var(--sv-accent);
  max-width: var(--container-max);
  margin: 0 auto;
}

.authority-icon {
  font-size: 48px;
  flex-shrink: 0;
}

.authority-content h2 {
  font-family: 'DM Serif Display', serif;
  font-size: 28px;
  color: var(--sv-deep-teal);
  margin-bottom: 12px;
}

.authority-content > p {
  color: var(--sv-slate);
  margin-bottom: 16px;
}

.authority-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.authority-list li {
  padding: 6px 14px;
  background: var(--sv-parchment);
  border-radius: 6px;
  font-size: 14px;
  color: var(--sv-slate);
}

.authority-statement {
  padding: 16px 20px;
  background: var(--sv-accent);
  color: var(--sv-white);
  border-radius: 8px;
  font-size: 15px;
}

/* ===== Content Sections ===== */
.content-section {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 60px 24px;
}

.content-card {
  background: var(--sv-white);
  border-radius: 16px;
  padding: 40px;
  margin-bottom: 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}

.content-card h2 {
  font-family: 'DM Serif Display', serif;
  font-size: 28px;
  color: var(--sv-deep-teal);
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--sv-parchment);
}

.content-card h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--sv-deep-teal);
  margin: 32px 0 16px;
}

.content-card h3:first-of-type {
  margin-top: 0;
}

.content-card h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--sv-deep-teal);
  margin: 24px 0 12px;
}

.content-card p {
  color: var(--sv-slate);
  margin-bottom: 16px;
  line-height: 1.7;
}

.content-card ul,
.content-card ol {
  margin-bottom: 16px;
  padding-left: 24px;
  color: var(--sv-slate);
}

.content-card li {
  margin-bottom: 8px;
  line-height: 1.6;
}

.content-card strong {
  color: var(--sv-deep-teal);
}

/* ===== Tables ===== */
.table-wrapper {
  overflow-x: auto;
  margin: 20px 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

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

th {
  background: var(--sv-parchment);
  font-weight: 600;
  color: var(--sv-deep-teal);
  white-space: nowrap;
}

td {
  color: var(--sv-slate);
}

tr:hover td {
  background: var(--sv-parchment);
}

/* ===== Code Blocks ===== */
.code-block {
  background: #1a1a2e;
  border-radius: 12px;
  padding: 24px;
  overflow-x: auto;
  margin: 20px 0;
}

.code-block pre {
  font-family: 'SF Mono', Monaco, Consolas, monospace;
  font-size: 13px;
  line-height: 1.6;
  color: #e0e0e0;
  margin: 0;
  white-space: pre-wrap;
  word-wrap: break-word;
}

.code-block .comment { color: #6a9955; }
.code-block .property { color: #9cdcfe; }
.code-block .value { color: #ce9178; }
.code-block .selector { color: #d7ba7d; }
.code-block .keyword { color: #569cd6; }

code {
  font-family: 'SF Mono', Monaco, Consolas, monospace;
  font-size: 13px;
  background: var(--sv-parchment);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--sv-deep-teal);
}

/* ===== Status Badges ===== */
.status-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.status-home {
  background: #e6f4ea;
  color: #1e7e34;
}

.status-stored {
  background: #e3f2fd;
  color: #1565c0;
}

.status-scheduled {
  background: #fff8e1;
  color: #f57f17;
}

.status-active {
  background: var(--sv-accent);
  color: var(--sv-white);
}

/* ===== Info Box ===== */
.info-box {
  padding: 20px 24px;
  border-radius: 12px;
  margin: 20px 0;
}

.info-box-note {
  background: #e3f2fd;
  border-left: 4px solid #1565c0;
}

.info-box-warning {
  background: #fff8e1;
  border-left: 4px solid var(--warning);
}

.info-box-tip {
  background: #e6f4ea;
  border-left: 4px solid var(--success);
}

.info-box h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--sv-deep-teal);
  margin-bottom: 8px;
}

.info-box p {
  font-size: 14px;
  color: var(--sv-slate);
  margin: 0;
}

/* ===== Two Column Layout ===== */
.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin: 24px 0;
}

.two-column-item h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 12px;
}

.two-column-item ul {
  list-style: none;
  padding: 0;
}

.two-column-item li {
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.two-column-item li:last-child {
  border-bottom: none;
}

/* ===== ZIP Code Grid ===== */
.zip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
  margin: 20px 0;
}

.zip-card {
  background: var(--sv-parchment);
  padding: 12px 16px;
  border-radius: 8px;
  text-align: center;
}

.zip-code {
  font-size: 18px;
  font-weight: 600;
  color: var(--sv-deep-teal);
}

.zip-city {
  font-size: 12px;
  color: var(--sv-slate);
}

/* ===== Color Swatches ===== */
.color-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
  margin: 24px 0;
}

.color-card {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}

.color-swatch {
  height: 100px;
  display: flex;
  align-items: flex-end;
  padding: 12px;
}

.color-info {
  padding: 16px;
  background: var(--sv-white);
}

.color-name {
  font-weight: 600;
  font-size: 14px;
  color: var(--sv-gunmetal);
  margin-bottom: 4px;
}

.color-hex {
  font-family: 'SF Mono', Monaco, monospace;
  font-size: 13px;
  color: var(--sv-slate);
}

.color-usage {
  font-size: 12px;
  color: var(--sv-steel);
  margin-top: 8px;
}

.color-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 3px 8px;
  border-radius: 4px;
  margin-top: 8px;
}

.badge-primary { background: var(--sv-deep-teal); color: white; }
.badge-cta { background: var(--sv-brown); color: white; }
.badge-accent { background: var(--sv-accent); color: white; }

/* ===== Diagram Box ===== */
.diagram-box {
  background: var(--sv-parchment);
  border-radius: 12px;
  padding: 24px;
  margin: 20px 0;
  overflow-x: auto;
}

.diagram-box pre {
  font-family: 'SF Mono', Monaco, Consolas, monospace;
  font-size: 12px;
  line-height: 1.5;
  color: var(--sv-deep-teal);
  margin: 0;
}

/* ===== Quick Nav (TOC) ===== */
.quick-nav {
  background: var(--sv-white);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}

.quick-nav h3 {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--sv-slate);
  margin-bottom: 16px;
}

.quick-nav ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.quick-nav li a {
  display: inline-block;
  padding: 8px 16px;
  background: var(--sv-parchment);
  color: var(--sv-deep-teal);
  text-decoration: none;
  border-radius: 6px;
  font-size: 14px;
  transition: all 0.2s;
}

.quick-nav li a:hover {
  background: var(--sv-accent);
  color: var(--sv-white);
}

/* ===== Footer ===== */
.footer {
  background: var(--sv-deep-teal);
  color: var(--sv-white);
  padding: 60px 24px 40px;
}

.footer-content {
  max-width: var(--container-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: 60px;
  margin-bottom: 40px;
}

.footer-brand {
  max-width: 300px;
}

.footer-logo {
  font-family: 'DM Serif Display', serif;
  font-size: 24px;
  display: block;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 14px;
  opacity: 0.8;
  line-height: 1.6;
}

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

.footer-column h4 {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
  opacity: 0.7;
}

.footer-column a,
.footer-column p {
  display: block;
  font-size: 14px;
  color: var(--sv-white);
  text-decoration: none;
  margin-bottom: 10px;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.footer-column a:hover {
  opacity: 1;
}

.footer-bottom {
  max-width: var(--container-max);
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.footer-bottom p {
  font-size: 13px;
  opacity: 0.6;
  margin-bottom: 8px;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .nav-links {
    display: none;
  }
  
  .nav-cta {
    display: none;
  }
  
  .mobile-nav-toggle {
    display: flex;
  }
  
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: calc(var(--nav-height) + 40px);
  }
  
  .hero-content {
    max-width: 100%;
    margin: 0;
    padding: 0 24px;
  }
  
  .hero h1 {
    font-size: 42px;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .hero-visual {
    padding: 0 24px;
    max-width: 500px;
    margin: 0 auto;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .footer-links {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 36px;
  }
  
  .hero-visual {
    grid-template-columns: 1fr;
  }
  
  .page-header h1 {
    font-size: 36px;
  }
  
  .section-header h2 {
    font-size: 28px;
  }
  
  .alert {
    flex-direction: column;
    gap: 16px;
  }
  
  .usage-grid {
    grid-template-columns: 1fr;
  }
  
  .authority-banner {
    flex-direction: column;
  }
  
  .two-column {
    grid-template-columns: 1fr;
  }
  
  .content-card {
    padding: 24px;
  }
  
  .content-card h2 {
    font-size: 24px;
  }
  
  .footer-links {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 480px) {
  .facts-grid {
    grid-template-columns: 1fr;
  }

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

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

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

/* ===== Status Badge Variants (Governance) ===== */
.audience-tag.authoritative {
  background: #e6f4ea;
  color: #1e7e34;
}

.audience-tag.directional {
  background: #fff8e1;
  color: #f57f17;
}

.audience-tag.archival {
  background: #f3e5f5;
  color: #7b1fa2;
}

/* Status Legend */
.status-legend {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: var(--container-max);
  margin: 0 auto;
}

.status-item {
  background: var(--sv-white);
  border-radius: 12px;
  padding: 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}

.status-item .audience-tag {
  margin-bottom: 12px;
}

.status-item p {
  font-size: 14px;
  color: var(--sv-slate);
  margin: 0;
  line-height: 1.5;
}

/* ===== Edit Workflow ===== */
.edit-workflow {
  background: var(--sv-white);
  border-radius: 16px;
  padding: 32px;
  max-width: 800px;
  margin: 0 auto;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}

.workflow-step {
  display: flex;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}

.workflow-step:last-child {
  border-bottom: none;
}

.step-number {
  width: 40px;
  height: 40px;
  background: var(--sv-accent);
  color: var(--sv-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 18px;
  flex-shrink: 0;
}

.step-content h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--sv-deep-teal);
  margin-bottom: 8px;
}

.step-content p {
  font-size: 14px;
  color: var(--sv-slate);
  margin: 0;
}

/* ===== Notes Board ===== */
.notes-board {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 24px;
  max-width: var(--container-max);
  margin: 0 auto;
}

.note-card {
  background: var(--sv-white);
  border-radius: 12px;
  padding: 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}

.note-card.pinned {
  border-left: 4px solid var(--sv-accent);
}

.note-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.note-date {
  font-size: 12px;
  color: var(--sv-steel);
}

.note-author {
  font-size: 12px;
  font-weight: 500;
  color: var(--sv-accent);
}

.note-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--sv-deep-teal);
  margin-bottom: 12px;
}

.note-card p {
  font-size: 14px;
  color: var(--sv-slate);
  line-height: 1.6;
  margin-bottom: 16px;
}

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

.note-tag {
  font-size: 11px;
  font-weight: 500;
  padding: 4px 10px;
  background: var(--sv-parchment);
  color: var(--sv-slate);
  border-radius: 4px;
}

/* Notes List */
.notes-list {
  max-width: var(--container-max);
  margin: 0 auto;
}

.note-item {
  background: var(--sv-white);
  border-radius: 8px;
  padding: 20px 24px;
  margin-bottom: 12px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}

.note-meta {
  font-size: 12px;
  color: var(--sv-steel);
  margin-bottom: 8px;
}

.note-meta .note-author {
  color: var(--sv-accent);
}

.note-item p {
  font-size: 14px;
  color: var(--sv-slate);
  margin: 0;
  line-height: 1.5;
}

/* Action Items */
.action-list {
  max-width: var(--container-max);
  margin: 0 auto;
}

.action-item {
  background: var(--sv-white);
  border-radius: 8px;
  padding: 16px 20px;
  margin-bottom: 8px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.action-checkbox {
  font-size: 20px;
  flex-shrink: 0;
  width: 28px;
  text-align: center;
}

.action-item.completed {
  opacity: 0.6;
}

.action-item.completed .action-checkbox {
  color: var(--success);
}

.action-item.pending .action-checkbox {
  color: var(--sv-steel);
}

.action-content p {
  font-size: 14px;
  color: var(--sv-gunmetal);
  margin: 0 0 4px 0;
}

.action-assignee {
  font-size: 12px;
  color: var(--sv-steel);
}

/* Onboarding Checklist */
.onboarding-checklist {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  max-width: var(--container-max);
  margin: 0 auto;
}

.checklist-card {
  background: var(--sv-white);
  border-radius: 12px;
  padding: 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}

.checklist-card h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--sv-deep-teal);
  margin-bottom: 16px;
}

.checklist-card ol,
.checklist-card ul {
  padding-left: 20px;
  margin: 0;
}

.checklist-card li {
  padding: 8px 0;
  color: var(--sv-slate);
  font-size: 14px;
}

.checklist-card a {
  color: var(--sv-accent);
  text-decoration: none;
}

.checklist-card a:hover {
  text-decoration: underline;
}

/* How to Edit Box */
.how-to-edit {
  background: var(--sv-white);
  border-radius: 12px;
  padding: 32px;
  max-width: 700px;
  margin: 0 auto;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}

.how-to-edit h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--sv-deep-teal);
  margin-bottom: 16px;
}

.how-to-edit p {
  font-size: 14px;
  color: var(--sv-slate);
  margin-bottom: 16px;
}

.how-to-edit ol {
  padding-left: 20px;
  margin-bottom: 16px;
}

.how-to-edit li {
  padding: 8px 0;
  color: var(--sv-slate);
  font-size: 14px;
}

.note-tip {
  background: var(--sv-parchment);
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 13px;
  margin-top: 16px;
}

/* ===== Decision Log ===== */
.intro-box {
  background: var(--sv-white);
  border-radius: 12px;
  padding: 32px;
  max-width: 800px;
  margin: 0 auto;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}

.intro-box h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--sv-deep-teal);
  margin-bottom: 16px;
}

.intro-box p {
  font-size: 14px;
  color: var(--sv-slate);
  line-height: 1.6;
  margin-bottom: 12px;
}

.intro-box p:last-child {
  margin-bottom: 0;
}

/* Category Links */
.category-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  max-width: var(--container-max);
  margin: 0 auto;
}

.category-link {
  display: inline-block;
  padding: 12px 24px;
  background: var(--sv-white);
  color: var(--sv-deep-teal);
  text-decoration: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: all 0.2s;
}

.category-link:hover {
  background: var(--sv-accent);
  color: var(--sv-white);
  border-color: var(--sv-accent);
}

/* Decision List */
.decision-list {
  max-width: var(--container-max);
  margin: 0 auto;
}

.decision-card {
  background: var(--sv-white);
  border-radius: 12px;
  padding: 28px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}

.decision-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.decision-id {
  font-family: 'SF Mono', Monaco, monospace;
  font-size: 12px;
  font-weight: 600;
  color: var(--sv-accent);
  background: rgba(14, 111, 106, 0.1);
  padding: 4px 10px;
  border-radius: 4px;
}

.decision-date {
  font-size: 12px;
  color: var(--sv-steel);
}

.decision-card h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--sv-deep-teal);
  margin-bottom: 16px;
}

.decision-body p {
  font-size: 14px;
  color: var(--sv-slate);
  line-height: 1.6;
  margin-bottom: 12px;
}

.decision-body p:last-child {
  margin-bottom: 0;
}

.decision-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.decision-owner {
  font-size: 12px;
  color: var(--sv-steel);
}

.decision-status {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 12px;
  border-radius: 4px;
}

.decision-status.active {
  background: #e6f4ea;
  color: #1e7e34;
}

.decision-status.superseded {
  background: #f3e5f5;
  color: #7b1fa2;
}

.decision-status.under-review {
  background: #fff8e1;
  color: #f57f17;
}

/* Responsive for new components */
@media (max-width: 768px) {
  .notes-board {
    grid-template-columns: 1fr;
  }

  .onboarding-checklist {
    grid-template-columns: 1fr;
  }

  .category-links {
    flex-direction: column;
  }

  .category-link {
    text-align: center;
  }
}
