@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Inter:wght@400;500;600;700&display=swap');

/* ========================================
   RESET & BASE
   ======================================== */

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

/* ========================================
   CSS VARIABLES — TRUSTED CLINICAL PRECISION
   ======================================== */

:root {
  /* Palette */
  --primary: #0D5F6B;
  --secondary: #2A7D8A;
  --accent: #E85D75;
  --background: #FAFBFC;
  --surface: #FFFFFF;
  --text: #1A2332;
  --textMuted: #5B6778;

  /* Shadows */
  --shadow-card: 0 2px 8px rgba(13, 95, 107, 0.08);
  --shadow-card-hover: 0 8px 24px rgba(13, 95, 107, 0.12);
  --shadow-nav: 0 1px 3px rgba(13, 95, 107, 0.06);
  --shadow-button: 0 2px 6px rgba(13, 95, 107, 0.12);
  --shadow-button-hover: 0 4px 12px rgba(13, 95, 107, 0.18);

  /* Spacing scale */
  --space-4: 4px;
  --space-8: 8px;
  --space-12: 12px;
  --space-16: 16px;
  --space-24: 24px;
  --space-32: 32px;
  --space-40: 40px;
  --space-48: 48px;
  --space-56: 56px;
  --space-64: 64px;
  --space-80: 80px;
  --space-112: 112px;
  --space-144: 144px;

  /* Border radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 14px;
  --radius-full: 9999px;

  /* Typography scale */
  --font-heading: 'Space Grotesk', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-base: 0.25s ease;
  --transition-slow: 0.35s ease;
}

/* ========================================
   BASE STYLES
   ======================================== */

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

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--background);
  overflow-x: hidden;
}

img, svg, video, iframe {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ========================================
   TYPOGRAPHY
   ======================================== */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text);
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 0.75em;
}

h1 {
  font-size: clamp(2.75rem, 6vw, 5rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.015em;
}

h3 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

h4 {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  line-height: 1.3;
}

p {
  margin-bottom: 1em;
  max-width: 720px;
}

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

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition-base);
}

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

strong {
  font-weight: 600;
}

/* ========================================
   LAYOUT UTILITIES
   ======================================== */

.container {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-24);
  padding-right: var(--space-24);
}

@media (min-width: 768px) {
  .container {
    padding-left: var(--space-40);
    padding-right: var(--space-40);
  }
}

.section-padding {
  padding-top: var(--space-80);
  padding-bottom: var(--space-80);
}

@media (min-width: 1024px) {
  .section-padding {
    padding-top: var(--space-112);
    padding-bottom: var(--space-112);
  }
}

@media (min-width: 1280px) {
  .section-padding {
    padding-top: var(--space-144);
    padding-bottom: var(--space-144);
  }
}

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

.text-center p {
  margin-left: auto;
  margin-right: auto;
}

/* ========================================
   GRID SYSTEM
   ======================================== */

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

@media (min-width: 768px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.grid-3 {
  display: grid;
  gap: var(--space-32);
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-40);
  }
}

.grid-4 {
  display: grid;
  gap: var(--space-32);
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* 60/40 asymmetric split */
.grid-60-40 {
  display: grid;
  gap: var(--space-64);
  grid-template-columns: 1fr;
}

@media (min-width: 1024px) {
  .grid-60-40 {
    grid-template-columns: 60fr 40fr;
  }
}

/* 55/45 asymmetric split */
.grid-55-45 {
  display: grid;
  gap: var(--space-64);
  grid-template-columns: 1fr;
}

@media (min-width: 1024px) {
  .grid-55-45 {
    grid-template-columns: 55fr 45fr;
  }
}

/* ========================================
   NAVIGATION
   ======================================== */

.main-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(13, 95, 107, 0.1);
  box-shadow: var(--shadow-nav);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-16);
  padding-bottom: var(--space-16);
  gap: var(--space-24);
}

.nav-logo {
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text);
  text-transform: uppercase;
  transition: color var(--transition-base);
}

.nav-logo:hover {
  color: var(--primary);
  text-decoration: none;
}

.logo-text {
  display: inline-block;
}

/* Mobile toggle */
.nav-toggle-checkbox {
  display: none;
}

.nav-toggle-label {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
}

.nav-toggle-label span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--transition-base);
}

@media (min-width: 1024px) {
  .nav-toggle-label {
    display: none;
  }
}

.nav-links {
  display: none;
  list-style: none;
  gap: var(--space-8);
  align-items: center;
}

@media (min-width: 1024px) {
  .nav-links {
    display: flex;
  }
}

.nav-links a {
  display: block;
  padding: var(--space-8) var(--space-16);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
  border-radius: var(--radius-sm);
  transition: all var(--transition-base);
  letter-spacing: 0.01em;
}

.nav-links a:hover,
.nav-links a:focus {
  color: var(--primary);
  background: rgba(13, 95, 107, 0.06);
  text-decoration: none;
  outline: none;
}

/* Mobile menu */
@media (max-width: 1023px) {
  .nav-toggle-checkbox:checked ~ .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--surface);
    padding: var(--space-24);
    box-shadow: 0 8px 24px rgba(13, 95, 107, 0.12);
    border-top: 1px solid rgba(13, 95, 107, 0.1);
  }

  .nav-toggle-checkbox:checked ~ .nav-toggle-label span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
  }

  .nav-toggle-checkbox:checked ~ .nav-toggle-label span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle-checkbox:checked ~ .nav-toggle-label span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
  }

  .nav-links a {
    width: 100%;
    text-align: left;
  }
}

/* ========================================
   BUTTONS
   ======================================== */

.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.2;
  padding: 16px 32px;
  border-radius: var(--radius-lg);
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-base);
  border: none;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: var(--surface);
  box-shadow: var(--shadow-button);
}

.btn-primary:hover,
.btn-primary:focus {
  background: var(--secondary);
  color: var(--surface);
  box-shadow: var(--shadow-button-hover);
  transform: translateY(-1px);
  text-decoration: none;
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: inset 0 2px 6px rgba(13, 95, 107, 0.2);
}

.btn-secondary {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-secondary:hover,
.btn-secondary:focus {
  background: var(--primary);
  color: var(--surface);
  border-color: var(--primary);
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 2px solid rgba(13, 95, 107, 0.2);
}

.btn-ghost:hover,
.btn-ghost:focus {
  background: rgba(13, 95, 107, 0.06);
  border-color: var(--primary);
  color: var(--primary);
  text-decoration: none;
}

/* ========================================
   HERO SECTIONS
   ======================================== */

.hero-section {
  position: relative;
  padding-top: var(--space-80);
  padding-bottom: var(--space-80);
  overflow: hidden;
}

@media (min-width: 1024px) {
  .hero-section {
    padding-top: var(--space-112);
    padding-bottom: var(--space-112);
  }
}

/* Home hero: asymmetric with accent bar and stat card */
.hero-home {
  position: relative;
  background: 
    radial-gradient(
      ellipse 1200px 800px at 90% 10%,
      rgba(13, 95, 107, 0.05),
      transparent 60%
    ),
    var(--background);
}

.hero-home .container {
  display: grid;
  gap: var(--space-64);
  align-items: start;
}

@media (min-width: 1024px) {
  .hero-home .container {
    grid-template-columns: 60fr 40fr;
    gap: var(--space-80);
  }
}

.hero-home h1 {
  position: relative;
  padding-left: var(--space-24);
  margin-bottom: var(--space-24);
}

.hero-home h1::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--accent);
  border-radius: 2px;
}

.hero-home .hero-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-24);
}

.hero-home .hero-actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-16);
  align-items: flex-start;
}

@media (min-width: 640px) {
  .hero-home .hero-actions {
    flex-direction: row;
  }
}

/* Stat card for home hero */
.stat-card {
  background: var(--surface);
  padding: var(--space-40);
  border-radius: var(--radius-md);
  border: 2px solid rgba(13, 95, 107, 0.06);
  box-shadow: var(--shadow-card);
  text-align: center;
}

.stat-number {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 700;
  line-height: 1;
  color: var(--primary);
  letter-spacing: -0.02em;
  margin-bottom: var(--space-12);
}

.stat-label {
  font-size: 1.125rem;
  color: var(--textMuted);
  font-weight: 500;
  line-height: 1.4;
}

/* Internal page hero: centered, editorial */
.hero-internal {
  text-align: center;
  background: var(--background);
}

.hero-internal h1 {
  font-size: clamp(2.25rem, 4vw, 3rem);
  margin-bottom: var(--space-16);
}

.hero-internal p {
  font-size: 1.125rem;
  color: var(--textMuted);
  margin-left: auto;
  margin-right: auto;
  max-width: 680px;
  margin-bottom: var(--space-32);
}

.hero-internal .hero-actions {
  display: flex;
  gap: var(--space-16);
  justify-content: center;
  flex-wrap: wrap;
}

/* ========================================
   CARDS
   ======================================== */

.card {
  background: var(--surface);
  padding: var(--space-32);
  border-radius: var(--radius-md);
  border: 2px solid rgba(13, 95, 107, 0.06);
  box-shadow: var(--shadow-card);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 0;
  background: var(--accent);
  transition: height var(--transition-base);
}

.card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-4px);
  border-color: rgba(13, 95, 107, 0.1);
}

.card:hover::before {
  height: 3px;
}

.card h3 {
  margin-bottom: var(--space-16);
  color: var(--text);
}

.card p {
  color: var(--textMuted);
  font-size: 0.95rem;
  line-height: 1.6;
}

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

/* Service icons */
.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--surface);
  border-radius: var(--radius-sm);
  font-size: 1.5rem;
  margin-bottom: var(--space-16);
  font-weight: 700;
}

/* Testimonial card */
.testimonial-card {
  background: var(--surface);
  padding: var(--space-40);
  border-radius: var(--radius-md);
  border-left: 4px solid var(--accent);
  box-shadow: var(--shadow-card);
}

.testimonial-card p {
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--text);
  font-style: italic;
  margin-bottom: var(--space-16);
}

.testimonial-card p:last-child {
  font-size: 0.95rem;
  font-style: normal;
  color: var(--textMuted);
  margin-bottom: 0;
}

/* ========================================
   SECTIONS
   ======================================== */

section {
  position: relative;
}

section h2 {
  margin-bottom: var(--space-48);
}

section.text-center h2 {
  text-align: center;
}

section article h2,
section article h3 {
  margin-top: var(--space-40);
}

section article h2:first-child,
section article h3:first-child {
  margin-top: 0;
}

/* Stats section */
.stats-section {
  background: var(--surface);
}

.stats-section header {
  margin-bottom: var(--space-64);
}

.stats-section header p {
  font-size: 1.125rem;
  color: var(--textMuted);
  margin-left: auto;
  margin-right: auto;
}

.stats-section .card .stat-number {
  display: inline-block;
  margin-top: var(--space-12);
  font-size: 2.5rem;
  color: var(--primary);
}

/* ========================================
   FOOTER
   ======================================== */

.site-footer {
  background: var(--text);
  color: rgba(255, 255, 255, 0.75);
  padding-top: var(--space-80);
  padding-bottom: var(--space-80);
}

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

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--space-64);
  }
}

.footer-brand {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--surface);
  margin-bottom: var(--space-16);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.footer-description {
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.65);
  max-width: 480px;
}

.footer-links-section h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--surface);
  margin-bottom: var(--space-16);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-12);
}

.footer-links a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
  transition: color var(--transition-base);
}

.footer-links a:hover {
  color: var(--surface);
  text-decoration: none;
}

.footer-contact-info h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--surface);
  margin-bottom: var(--space-16);
}

.footer-contact-info p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.65);
}

.footer-contact-info a {
  color: rgba(255, 255, 255, 0.75);
  transition: color var(--transition-base);
}

.footer-contact-info a:hover {
  color: var(--surface);
  text-decoration: underline;
}

/* ========================================
   FORMS
   ======================================== */

.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-24);
}

.contact-form label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: var(--space-8);
  letter-spacing: 0.01em;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: var(--space-16);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--surface);
  border: 2px solid rgba(13, 95, 107, 0.15);
  border-radius: var(--radius-sm);
  transition: all var(--transition-base);
  line-height: 1.5;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(13, 95, 107, 0.1);
}

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

.contact-form button[type="submit"] {
  align-self: flex-start;
}

/* ========================================
   TABLES
   ======================================== */

table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--space-32) 0;
  background: var(--surface);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

thead {
  background: var(--primary);
  color: var(--surface);
}

thead th {
  padding: var(--space-16) var(--space-24);
  text-align: left;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

tbody tr {
  border-bottom: 1px solid rgba(13, 95, 107, 0.08);
}

tbody tr:last-child {
  border-bottom: none;
}

tbody tr:hover {
  background: rgba(13, 95, 107, 0.03);
}

tbody td {
  padding: var(--space-16) var(--space-24);
  font-size: 0.95rem;
  color: var(--text);
}

/* ========================================
   LISTS
   ======================================== */

ul, ol {
  margin: var(--space-24) 0;
  padding-left: var(--space-32);
}

li {
  margin-bottom: var(--space-8);
  line-height: 1.6;
}

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

/* ========================================
   FIGURES & CAPTIONS
   ======================================== */

figure {
  margin: var(--space-40) 0;
}

figcaption {
  margin-top: var(--space-16);
  font-size: 0.9rem;
  color: var(--textMuted);
  line-height: 1.6;
}

/* ========================================
   SPACING UTILITIES
   ======================================== */

.mb-16 { margin-bottom: var(--space-16); }
.mb-24 { margin-bottom: var(--space-24); }
.mb-32 { margin-bottom: var(--space-32); }
.mb-48 { margin-bottom: var(--space-48); }
.mb-64 { margin-bottom: var(--space-64); }

.mt-16 { margin-top: var(--space-16); }
.mt-24 { margin-top: var(--space-24); }
.mt-32 { margin-top: var(--space-32); }
.mt-48 { margin-top: var(--space-48); }
.mt-64 { margin-top: var(--space-64); }

/* ========================================
   ACCESSIBILITY
   ======================================== */

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* ========================================
   PRINT STYLES
   ======================================== */

@media print {
  .main-nav,
  .site-footer,
  .btn {
    display: none;
  }

  body {
    background: white;
    color: black;
  }

  a {
    text-decoration: underline;
  }
}

/* ========================================
   RESPONSIVE TWEAKS
   ======================================== */

@media (max-width: 640px) {
  h1 {
    font-size: clamp(2rem, 8vw, 2.75rem);
  }

  .hero-home h1::before {
    width: 3px;
  }

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

  .stat-card {
    padding: var(--space-32);
  }

  .btn {
    width: 100%;
    text-align: center;
  }

  .hero-home .hero-actions {
    width: 100%;
  }

  .hero-home .hero-actions .btn {
    width: 100%;
  }
}

/* ========================================
   VERTICAL RHYTHM
   ======================================== */

main > section + section {
  margin-top: var(--space-64);
}

@media (min-width: 1024px) {
  main > section + section {
    margin-top: 0;
  }
}

/* ========================================
   ACCENT BORDERS & DIVIDERS
   ======================================== */

.border-accent-top {
  border-top: 3px solid var(--accent);
}

.border-primary-left {
  border-left: 4px solid var(--primary);
  padding-left: var(--space-24);
}

/* ========================================
   CONTENT WIDTH CONSTRAINT
   ======================================== */

article p,
article ul,
article ol,
article blockquote {
  max-width: 720px;
}

article.text-center p,
article.text-center ul,
article.text-center ol {
  margin-left: auto;
  margin-right: auto;
}

/* ========================================
   ADDITIONAL COMPONENT REFINEMENTS
   ======================================== */

/* Timeline cards */
.timeline-card {
  position: relative;
  padding-left: var(--space-32);
}

.timeline-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, var(--accent), var(--primary));
  border-radius: 2px;
}

/* Pricing tiers */
.pricing-card {
  text-align: center;
  padding: var(--space-48) var(--space-32);
}

.pricing-card .price {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  margin: var(--space-24) 0;
}

.pricing-card ul {
  list-style: none;
  padding: 0;
  margin: var(--space-32) 0;
  text-align: left;
}

.pricing-card li {
  padding-left: var(--space-32);
  position: relative;
}

.pricing-card li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

/* Featured card variant */
.card-featured {
  border-color: var(--primary);
  border-width: 3px;
  box-shadow: 0 12px 32px rgba(13, 95, 107, 0.15);
}

.card-featured::before {
  height: 3px;
}

/* Inline badge */
.badge {
  display: inline-block;
  padding: var(--space-4) var(--space-12);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  background: var(--accent);
  color: var(--surface);
  border-radius: var(--radius-full);
  line-height: 1;
}

/* FAQ / Accordion styling hints */
details {
  background: var(--surface);
  border: 2px solid rgba(13, 95, 107, 0.06);
  border-radius: var(--radius-md);
  padding: var(--space-24);
  margin-bottom: var(--space-16);
  cursor: pointer;
}

details summary {
  font-weight: 600;
  font-size: 1.125rem;
  color: var(--text);
  cursor: pointer;
  user-select: none;
}

details[open] summary {
  margin-bottom: var(--space-16);
  padding-bottom: var(--space-16);
  border-bottom: 1px solid rgba(13, 95, 107, 0.1);
}

details p {
  color: var(--textMuted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ========================================
   UTILITY: MAX-WIDTH PROSE
   ======================================== */

.prose {
  max-width: 720px;
}

.prose-center {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

/* ========================================
   ANIMATION UTILITIES
   ======================================== */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Smooth fade-in for page load (optional) */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 0.6s ease-out;
}

/* ========================================
   FINAL POLISH
   ======================================== */

::selection {
  background: var(--accent);
  color: var(--surface);
}

::-moz-selection {
  background: var(--accent);
  color: var(--surface);
}