/* =============================================================
   Travel with Chance — Main Stylesheet
   Designed with neurodivergent travelers in mind:
   · Warm, low-contrast off-white background (easier on light sensitivity)
   · High-contrast text that avoids harsh pure black
   · Clear visual hierarchy with generous whitespace
   · No auto-playing animations; respects prefers-reduced-motion
   · Visible focus rings for keyboard navigation
   ============================================================= */

/* ─────────────────────────────────────────
   1. Custom Properties
───────────────────────────────────────── */
:root {
  /* Brand palette */
  --clr-primary:       #1A6B8A;
  --clr-primary-dark:  #124E67;
  --clr-primary-light: #EDF6FA;
  --clr-hero-start:    #17435A;
  --clr-hero-end:      #1E6B8A;
  --clr-accent:        #E89B35;
  --clr-accent-dark:   #C47E20;
  --clr-green:         #2D7D5C;
  --clr-green-light:   #E8F5EE;

  /* Neutrals */
  --clr-bg:            #F6F4F0;   /* warm off-white */
  --clr-surface:       #FFFFFF;
  --clr-surface-alt:   #EDF6FA;   /* very light teal tint */
  --clr-dark:          #1A2535;
  --clr-text:          #2A3344;
  --clr-text-muted:    #5B6A7A;
  --clr-border:        #E0DDD8;

  /* Type */
  --ff-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --fw-normal:   400;
  --fw-medium:   500;
  --fw-semibold: 600;
  --fw-bold:     700;
  --fw-extrabold:800;

  /* Type scale */
  --fs-xs:   0.75rem;
  --fs-sm:   0.875rem;
  --fs-base: 1rem;
  --fs-lg:   1.125rem;
  --fs-xl:   1.25rem;
  --fs-2xl:  1.5rem;
  --fs-3xl:  1.875rem;
  --fs-4xl:  2.25rem;
  --fs-5xl:  3rem;

  /* Spacing */
  --sp-1:  0.25rem;
  --sp-2:  0.5rem;
  --sp-3:  0.75rem;
  --sp-4:  1rem;
  --sp-5:  1.25rem;
  --sp-6:  1.5rem;
  --sp-8:  2rem;
  --sp-10: 2.5rem;
  --sp-12: 3rem;
  --sp-16: 4rem;
  --sp-20: 5rem;
  --sp-24: 6rem;

  /* Layout */
  --max-w:      1200px;
  --max-w-text:  740px;
  --px:          1.5rem;

  /* Radii */
  --r-sm:   0.375rem;
  --r:      0.75rem;
  --r-lg:   1.25rem;
  --r-xl:   2rem;
  --r-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(26,37,53,.06), 0 1px 2px rgba(26,37,53,.04);
  --shadow:    0 4px 16px rgba(26,37,53,.07), 0 2px 4px rgba(26,37,53,.04);
  --shadow-lg: 0 12px 32px rgba(26,37,53,.10), 0 4px 8px rgba(26,37,53,.05);

  /* Motion */
  --ease:  250ms ease;
  --ease-fast: 150ms ease;
}

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

html {
  font-size: 100%;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--ff-sans);
  font-size: var(--fs-base);
  line-height: 1.75;
  color: var(--clr-text);
  background-color: var(--clr-bg);
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
ul, ol   { list-style: none; }

a {
  color: var(--clr-primary);
  text-decoration-skip-ink: auto;
  transition: color var(--ease-fast);
}
a:hover { color: var(--clr-primary-dark); }

/* ─────────────────────────────────────────
   3. Typography
───────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-weight: var(--fw-bold);
  line-height: 1.2;
  color: var(--clr-dark);
  letter-spacing: -0.025em;
}

h1 { font-size: clamp(var(--fs-3xl), 5vw,   var(--fs-5xl)); }
h2 { font-size: clamp(var(--fs-2xl), 3.5vw, var(--fs-4xl)); }
h3 { font-size: clamp(var(--fs-xl),  2.5vw, var(--fs-2xl)); }
h4 { font-size: var(--fs-lg); }

p { max-width: var(--max-w-text); margin-bottom: var(--sp-4); }
p:last-child { margin-bottom: 0; }

/* ─────────────────────────────────────────
   4. Accessibility
───────────────────────────────────────── */
:focus-visible {
  outline: 3px solid var(--clr-accent);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}

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

/* Skip link */
.skip-link {
  position: absolute;
  top: var(--sp-4);
  left: var(--sp-4);
  z-index: 9999;
  padding: var(--sp-3) var(--sp-5);
  background: var(--clr-accent);
  color: var(--clr-dark);
  font-weight: var(--fw-semibold);
  border-radius: var(--r);
  text-decoration: none;
  transform: translateY(-120%);
  transition: transform var(--ease-fast);
}
.skip-link:focus { transform: translateY(0); }

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

/* ─────────────────────────────────────────
   5. Layout
───────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--px);
}

.section            { padding-block: var(--sp-20); }
.section--alt       { background-color: var(--clr-surface-alt); }
.section--surface   { background-color: var(--clr-surface); }
.section--dark      { background-color: var(--clr-dark); color: white; }

/* Section header (centered label + heading + lead) */
.section-header {
  text-align: center;
  max-width: 660px;
  margin-inline: auto;
  margin-bottom: var(--sp-12);
}
.section-label {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clr-primary);
  margin-bottom: var(--sp-3);
}
.section-header h2 { margin-bottom: var(--sp-4); }
.section-header p  {
  font-size: var(--fs-lg);
  color: var(--clr-text-muted);
  margin-inline: auto;
}

/* ─────────────────────────────────────────
   6. Buttons
───────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-family: var(--ff-sans);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-base);
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: var(--r-full);
  padding: var(--sp-3) var(--sp-6);
  cursor: pointer;
  transition:
    background-color var(--ease-fast),
    border-color     var(--ease-fast),
    color            var(--ease-fast),
    box-shadow       var(--ease-fast),
    transform        var(--ease-fast);
}
.btn:hover  { transform: translateY(-1px); }
.btn:active { transform: translateY(0);    }

/* Amber — primary CTA (visible against both light & dark backgrounds) */
.btn--primary {
  background-color: var(--clr-accent);
  border-color:     var(--clr-accent);
  color:            var(--clr-dark);
}
.btn--primary:hover {
  background-color: var(--clr-accent-dark);
  border-color:     var(--clr-accent-dark);
  color:            var(--clr-dark);
  box-shadow: 0 4px 18px rgba(232,155,53,.38);
}

/* Teal — secondary CTA */
.btn--secondary {
  background-color: var(--clr-primary);
  border-color:     var(--clr-primary);
  color:            white;
}
.btn--secondary:hover {
  background-color: var(--clr-primary-dark);
  border-color:     var(--clr-primary-dark);
  color:            white;
  box-shadow: 0 4px 18px rgba(26,107,138,.35);
}

/* Ghost — on dark hero background */
.btn--ghost {
  background-color: transparent;
  border-color:     rgba(255,255,255,.55);
  color:            white;
}
.btn--ghost:hover {
  background-color: rgba(255,255,255,.12);
  border-color:     white;
  color:            white;
}

/* Outline — on light background */
.btn--outline {
  background-color: transparent;
  border-color:     var(--clr-primary);
  color:            var(--clr-primary);
}
.btn--outline:hover {
  background-color: var(--clr-primary);
  color:            white;
}

.btn--lg { font-size: var(--fs-lg); padding: var(--sp-4) var(--sp-8); }
.btn--sm { font-size: var(--fs-sm); padding: var(--sp-2) var(--sp-4); }

/* ─────────────────────────────────────────
   7. Navigation
───────────────────────────────────────── */
.site-nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 200;
  transition: background-color var(--ease), backdrop-filter var(--ease), box-shadow var(--ease);
}

.site-nav.is-scrolled {
  background-color: rgba(23, 37, 53, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 2px 20px rgba(0,0,0,.18);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: var(--sp-4);
  gap: var(--sp-6);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  color: white;
  text-decoration: none;
  letter-spacing: -0.01em;
  flex-shrink: 0;
}
.nav-logo:hover { color: var(--clr-accent); }

.nav-logo-icon { font-size: 1.4em; line-height: 1; }

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
}

.nav-links a:not(.btn) {
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: rgba(255,255,255,.8);
  text-decoration: none;
  padding: var(--sp-2) var(--sp-3);
  border-radius: var(--r-sm);
  transition: color var(--ease-fast), background-color var(--ease-fast);
}
.nav-links a:not(.btn):hover {
  color: white;
  background-color: rgba(255,255,255,.1);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: white;
  padding: var(--sp-2);
  border-radius: var(--r-sm);
}
.nav-toggle:hover { background-color: rgba(255,255,255,.1); }

@media (max-width: 780px) {
  .nav-toggle { display: flex; align-items: center; }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    inset-inline: 0;
    flex-direction: column;
    align-items: stretch;
    gap: var(--sp-1);
    padding: var(--sp-4);
    background-color: var(--clr-dark);
    border-top: 1px solid rgba(255,255,255,.1);
  }
  .nav-links.is-open { display: flex; }

  .nav-links a:not(.btn) {
    padding: var(--sp-3) var(--sp-4);
    font-size: var(--fs-base);
    border-radius: var(--r);
  }
  .nav-links .btn {
    text-align: center;
    justify-content: center;
    margin-top: var(--sp-2);
  }
}

/* ─────────────────────────────────────────
   8. Hero Section
───────────────────────────────────────── */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--clr-hero-start) 0%, var(--clr-hero-end) 65%, #1D7A9A 100%);
  padding-top:    calc(80px + var(--sp-16));
  padding-bottom: var(--sp-24);
  color: white;
  overflow: hidden;
}

/* Subtle radial overlays for depth without harshness */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse at 75% 45%, rgba(232,155,53,.07) 0%, transparent 60%),
    radial-gradient(ellipse at 15% 85%, rgba(255,255,255,.04) 0%, transparent 50%);
  pointer-events: none;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--clr-accent);
  background-color: rgba(232,155,53,.12);
  border: 1px solid rgba(232,155,53,.3);
  border-radius: var(--r-full);
  padding: var(--sp-2) var(--sp-4);
  margin-bottom: var(--sp-5);
}

.hero h1 {
  color: white;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: var(--sp-6);
}

.hero-subtitle {
  font-size: var(--fs-lg);
  color: rgba(255,255,255,.85);
  line-height: 1.7;
  max-width: 540px;
  margin-bottom: var(--sp-8);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
}

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

.hero-illustration {
  width: 100%;
  max-width: 460px;
}

/* Stats strip at bottom of hero */
.hero-stats {
  margin-top: var(--sp-16);
  padding-top: var(--sp-8);
  border-top: 1px solid rgba(255,255,255,.15);
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-10);
}

.hero-stat-value {
  font-size: var(--fs-3xl);
  font-weight: var(--fw-extrabold);
  color: var(--clr-accent);
  line-height: 1;
  margin-bottom: var(--sp-1);
}

.hero-stat-label {
  font-size: var(--fs-sm);
  color: rgba(255,255,255,.65);
  line-height: 1.4;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-badge   { margin-inline: auto; }
  .hero-subtitle{ margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .hero-visual  { display: none; }
  .hero-stats   { justify-content: center; }
  .hero-stat    { text-align: center; }
}

/* ─────────────────────────────────────────
   9. Validation / Pain Point Section
───────────────────────────────────────── */
.validation {
  padding-block: var(--sp-20);
  background-color: var(--clr-surface);
  text-align: center;
}

.validation .container { max-width: 800px; }

.validation h2 { margin-bottom: var(--sp-5); }

.validation-body {
  font-size: var(--fs-lg);
  color: var(--clr-text-muted);
  margin-inline: auto;
  margin-bottom: var(--sp-8);
}

.pull-quote {
  position: relative;
  font-size: var(--fs-xl);
  font-weight: var(--fw-medium);
  font-style: italic;
  color: var(--clr-primary);
  line-height: 1.6;
  padding: var(--sp-8) var(--sp-8) var(--sp-8) calc(var(--sp-8) + 4px);
  background-color: var(--clr-primary-light);
  border-left: 4px solid var(--clr-primary);
  border-radius: 0 var(--r-lg) var(--r-lg) 0;
  text-align: left;
}

.pull-quote::before {
  content: '\201C';
  position: absolute;
  top: -0.2em;
  left: var(--sp-5);
  font-size: 6rem;
  font-style: normal;
  font-weight: 900;
  color: var(--clr-primary);
  opacity: .12;
  line-height: 1;
  pointer-events: none;
}

/* ─────────────────────────────────────────
   10. Services Section
───────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-6);
}

.service-card {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--r-lg);
  padding: var(--sp-8);
  transition: box-shadow var(--ease), transform var(--ease), border-color var(--ease);
}
.service-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
  border-color: rgba(26,107,138,.25);
}

.service-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--clr-primary-light);
  border-radius: var(--r);
  margin-bottom: var(--sp-5);
  color: var(--clr-primary);
  flex-shrink: 0;
}
.service-icon svg { width: 26px; height: 26px; }

.service-card h3 { margin-bottom: var(--sp-3); }
.service-card p  { color: var(--clr-text-muted); max-width: none; margin-bottom: 0; }

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

/* ─────────────────────────────────────────
   11. How It Works Section
───────────────────────────────────────── */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-8);
  position: relative;
}

/* Horizontal connector line between steps */
.steps::before {
  content: '';
  position: absolute;
  top: 31px;
  left:  calc(16.67% + var(--sp-8));
  right: calc(16.67% + var(--sp-8));
  height: 2px;
  background: linear-gradient(to right, var(--clr-primary-light), var(--clr-primary), var(--clr-primary-light));
  z-index: 0;
}

.step { position: relative; z-index: 1; text-align: center; }

.step-number {
  width: 62px;
  height: 62px;
  background: var(--clr-primary);
  color: white;
  border-radius: var(--r-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-xl);
  font-weight: var(--fw-extrabold);
  margin-inline: auto;
  margin-bottom: var(--sp-5);
  box-shadow: 0 0 0 6px var(--clr-primary-light);
}

.step h3 { margin-bottom: var(--sp-3); font-size: var(--fs-lg); }
.step p  { color: var(--clr-text-muted); margin-inline: auto; font-size: var(--fs-base); }

@media (max-width: 700px) {
  .steps { grid-template-columns: 1fr; }
  .steps::before { display: none; }

  .step {
    text-align: left;
    display: flex;
    gap: var(--sp-5);
    align-items: flex-start;
  }
  .step-number { margin: 0; flex-shrink: 0; }
  .step-body   { flex: 1; }
  .step p      { margin-inline: 0; }
}

/* ─────────────────────────────────────────
   12. Pricing Section
───────────────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-6);
  align-items: start;
}

.pricing-card {
  background: var(--clr-surface);
  border: 2px solid var(--clr-border);
  border-radius: var(--r-xl);
  padding: var(--sp-8);
  position: relative;
  transition: box-shadow var(--ease), transform var(--ease);
}
.pricing-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.pricing-card--featured {
  border-color: var(--clr-primary);
  box-shadow: var(--shadow-lg);
}

.pricing-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--clr-primary);
  color: white;
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: var(--sp-1) var(--sp-4);
  border-radius: var(--r-full);
  white-space: nowrap;
}

.pricing-tier {
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  color: var(--clr-primary);
  text-transform: uppercase;
  letter-spacing: 0.09em;
  margin-bottom: var(--sp-2);
}

.pricing-card h3 { font-size: var(--fs-2xl); margin-bottom: var(--sp-2); }

.pricing-desc {
  font-size: var(--fs-base);
  color: var(--clr-text-muted);
  max-width: none;
  margin-bottom: var(--sp-6);
  padding-bottom: var(--sp-6);
  border-bottom: 1px solid var(--clr-border);
}

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  margin-bottom: var(--sp-8);
}

.pricing-feature {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  font-size: var(--fs-base);
}

.feature-check {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  background-color: var(--clr-green-light);
  border-radius: var(--r-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-green);
  margin-top: 2px;
}
.feature-check svg { width: 12px; height: 12px; }

.pricing-cta   { text-align: center; }
.pricing-note  { font-size: var(--fs-xs); color: var(--clr-text-muted); margin-top: var(--sp-3); text-align: center; }

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

/* ─────────────────────────────────────────
   13. Final CTA Section
───────────────────────────────────────── */
.final-cta {
  background: linear-gradient(135deg, var(--clr-hero-start) 0%, var(--clr-hero-end) 100%);
  padding-block: var(--sp-24);
  text-align: center;
  color: white;
}

.final-cta h2 {
  color: white;
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: var(--sp-4);
}

.final-cta p {
  font-size: var(--fs-lg);
  color: rgba(255,255,255,.8);
  margin-inline: auto;
  margin-bottom: var(--sp-8);
  max-width: 580px;
}

/* ─────────────────────────────────────────
   14. Footer
───────────────────────────────────────── */
.site-footer {
  background-color: var(--clr-dark);
  color: rgba(255,255,255,.65);
  padding-block: var(--sp-12);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--sp-12);
  margin-bottom: var(--sp-10);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  color: white;
  text-decoration: none;
  margin-bottom: var(--sp-4);
}
.footer-logo:hover { color: var(--clr-accent); }

.footer-tagline {
  font-size: var(--fs-sm);
  color: rgba(255,255,255,.5);
  line-height: 1.65;
  max-width: 300px;
  margin-bottom: 0;
}

.footer-col h4 {
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  margin-bottom: var(--sp-4);
}

.footer-col ul  { display: flex; flex-direction: column; gap: var(--sp-3); }
.footer-col a   { font-size: var(--fs-sm); color: rgba(255,255,255,.55); text-decoration: none; transition: color var(--ease-fast); }
.footer-col a:hover { color: white; }

.footer-bottom {
  padding-top: var(--sp-6);
  border-top: 1px solid rgba(255,255,255,.1);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--sp-3);
  font-size: var(--fs-xs);
  color: rgba(255,255,255,.35);
}
.footer-bottom a { color: rgba(255,255,255,.4); text-decoration: none; }
.footer-bottom a:hover { color: rgba(255,255,255,.8); }

.footer-badge {
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-badge a {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity var(--ease-fast);
}

.footer-badge a:hover {
  opacity: 0.8;
  color: rgba(255,255,255,.4);
}

.footer-badge img {
  width: 200px;
  height: auto;
  object-fit: contain;
}

@media (max-width: 700px) {
  .footer-grid { grid-template-columns: 1fr; gap: var(--sp-8); }
  .footer-tagline { max-width: none; }
  .footer-bottom { flex-direction: column; text-align: center; }
  
  .footer-badge img {
    width: 160px;
    height: auto;
  }
}

/* ─────────────────────────────────────────
   15. Blog / Article Templates
───────────────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--clr-hero-start) 0%, var(--clr-hero-end) 100%);
  padding: calc(80px + var(--sp-12)) var(--px) var(--sp-12);
  color: white;
  text-align: center;
}
.page-hero h1     { color: white; }
.page-hero p      { color: rgba(255,255,255,.8); margin-inline: auto; }
.page-hero-meta   { font-size: var(--fs-sm); color: rgba(255,255,255,.55); margin-top: var(--sp-3); }

.articles-section { padding-block: var(--sp-16); }

.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--sp-6);
}

.article-card {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: box-shadow var(--ease), transform var(--ease);
}
.article-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }

.article-card-body { padding: var(--sp-6); }

.article-card-meta {
  font-size: var(--fs-xs);
  color: var(--clr-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: var(--sp-3);
}

.article-card h2 { font-size: var(--fs-xl); margin-bottom: var(--sp-3); }
.article-card h2 a { color: var(--clr-dark); text-decoration: none; }
.article-card h2 a:hover { color: var(--clr-primary); }

.article-card p {
  font-size: var(--fs-sm);
  color: var(--clr-text-muted);
  max-width: none;
  margin-bottom: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-preview {
  display: flex;
  gap: var(--sp-5);
  align-items: flex-start;
}

.post-preview-media {
  flex: 0 0 140px;
  display: block;
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--clr-border);
  background: var(--clr-surface);
  align-self: stretch;
}

.post-preview-media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 96px;
  object-fit: cover;
}

.post-preview-copy {
  flex: 1;
  min-width: 0;
}

@media (max-width: 700px) {
  .post-preview {
    flex-direction: column;
  }

  .post-preview-media {
    flex-basis: auto;
    width: 100%;
  }

  .post-preview-media img {
    height: 180px;
  }
}

/* Summary card (optional per-post metadata) */
.summary-card {
  margin-bottom: var(--sp-8);
  padding: var(--sp-6);
  background: linear-gradient(135deg, rgba(26, 107, 138, 0.08) 0%, rgba(232, 155, 53, 0.12) 100%);
  border: 1px solid rgba(26, 107, 138, 0.16);
  border-left: 4px solid var(--clr-accent);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
}

.summary-card-label {
  margin-bottom: var(--sp-2);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--clr-primary);
}

.summary-card-content {
  color: var(--clr-dark);
  font-weight: var(--fw-medium);
  white-space: pre-line;
  line-height: 1.7;
}

/* Prose (article / page body) */
.prose-container {
  max-width: 760px;
  margin-inline: auto;
  padding-block: var(--sp-16);
}

.prose h1 { margin-bottom: var(--sp-6); }
.prose h2 { margin-top: var(--sp-10); margin-bottom: var(--sp-4); }
.prose h3 { margin-top: var(--sp-8);  margin-bottom: var(--sp-3); }

.prose p       { max-width: none; margin-bottom: var(--sp-5); }
.prose ul,
.prose ol      { padding-left: var(--sp-6); margin-bottom: var(--sp-5); list-style: initial; }
.prose ol      { list-style: decimal; }
.prose li      { margin-bottom: var(--sp-2); }

.prose blockquote {
  border-left: 4px solid var(--clr-primary);
  padding-left: var(--sp-6);
  margin-left: 0;
  margin-block: var(--sp-6);
  font-style: italic;
  color: var(--clr-text-muted);
}

.prose a { font-weight: var(--fw-medium); }
.prose code { background: var(--clr-surface-alt); padding: 0.15em 0.35em; border-radius: var(--r-sm); font-size: 0.9em; }
