/* ==========================================================================
   Mandie Pallone Light Template - Shared Styles
   ========================================================================== */

/* --------------------------------------------------------------------------
   CSS Variables
   -------------------------------------------------------------------------- */
@font-face {
  font-family: 'Breathing';
  src: url('/fonts/Breathing.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'The Seasons';
  src: url('/fonts/TheSeasons-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  /* Render letters only; digits, %, and punctuation fall back to Cormorant */
  unicode-range: U+0041-005A, U+0061-007A;
}

@font-face {
  /* Fallback for digits/%/punctuation in display headings; scaled to match The Seasons */
  font-family: 'CormorantBig';
  src: url('/fonts/Cormorant-SemiBold.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  size-adjust: 130%;
}

:root {
  --spellbound: #062133;
  --pine-grove: #0F322D;
  --solstice: #5A2D44;
  --jacaranda: #78647B;
  --heliotrope: #A47C8E;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --font-display: 'The Seasons', 'CormorantBig', Georgia, serif;
  --font-body: 'Red Hat Display', system-ui, sans-serif;
  --font-script: 'Breathing', cursive;
}

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

body {
  font-family: var(--font-body);
  background: #fff;
  color: var(--spellbound);
  line-height: 1.7;
}

a {
  color: var(--spellbound);
  text-decoration: underline;
  transition: color 0.3s;
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5%;
}

/* --------------------------------------------------------------------------
   Top Bar
   -------------------------------------------------------------------------- */
.top-bar {
  background: var(--pine-grove);
  padding: 0.75rem 5%;
  font-size: 0.85rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar .brand {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
}

.top-bar .brand:hover { color: var(--heliotrope); }

.top-bar nav {
  display: flex;
  gap: 2rem;
}

.top-bar nav a {
  color: #fff;
  text-decoration: none;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
}

.top-bar nav a:hover { color: var(--heliotrope); }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.header {
  padding: 4rem 5% 5rem;
  background: #fff;
}

.header-content {
  max-width: 800px;
  margin: 0 auto;
}

.badge {
  display: inline-block;
  font-family: var(--font-body);
  background: var(--jacaranda);
  color: #fff;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: 20px;
  margin-bottom: 1rem;
}

h1 {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--spellbound);
  margin-bottom: 1.5rem;
}

.header-content .intro {
  font-size: 1.15rem;
  line-height: 1.8;
  font-weight: 400;
  color: var(--gray-600);
  margin-bottom: 1.5rem;
}

.byline {
  font-size: 0.9rem;
  color: var(--gray-600);
}

.byline strong { color: var(--jacaranda); }

/* --------------------------------------------------------------------------
   Stats Grid
   -------------------------------------------------------------------------- */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

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

.stat {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-top: 3px solid var(--jacaranda);
  border-radius: 20px;
  padding: 1.5rem;
  text-align: center;
}

.stat dt {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--jacaranda);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

.stat dd {
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--spellbound);
}

.stat .note {
  font-size: 0.8rem;
  color: var(--gray-600);
  margin-top: 0.25rem;
}

/* --------------------------------------------------------------------------
   Curve Transition
   -------------------------------------------------------------------------- */
.curve-transition {
  position: relative;
  height: 80px;
  background: var(--gray-50);
  overflow: hidden;
  margin-top: -1px;
}

.curve-transition svg {
  position: absolute;
  width: 100%;
  top: 0;
  left: 0;
  height: 100%;
}

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */
section { padding: 4rem 5%; }
.section-light { background: var(--gray-50); }

/* --------------------------------------------------------------------------
   Article Content
   -------------------------------------------------------------------------- */
.article-content {
  max-width: 800px;
  margin: 0 auto;
}

.article-content h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  color: var(--spellbound);
  margin: 3rem 0 1rem;
}

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

.article-content h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--jacaranda);
  margin: 2rem 0 0.75rem;
}

.article-content p {
  font-size: 1.05rem;
  color: var(--gray-700);
  margin-bottom: 1.25rem;
}

/* --------------------------------------------------------------------------
   Card Grid
   -------------------------------------------------------------------------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.card {
  background: #fff;
  border: 1px solid var(--gray-200);
  padding: 2rem;
  transition: all 0.4s ease;
}

.card:nth-child(1) { border-radius: 30px 50px 30px 50px; }
.card:nth-child(2) { border-radius: 50px 30px 50px 30px; }
.card:nth-child(3) { border-radius: 40px 40px 50px 30px; }
.card:nth-child(4) { border-radius: 30px 50px 40px 40px; }

.card:hover {
  border-color: var(--jacaranda);
  box-shadow: 0 10px 40px rgba(120, 100, 123, 0.15);
  transform: translateY(-4px);
}

.card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--jacaranda);
  margin-bottom: 0.75rem;
}

.card p {
  font-size: 0.95rem;
  color: var(--gray-600);
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   Neighborhood Cards
   -------------------------------------------------------------------------- */
.neighborhood-card {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-left: 4px solid var(--jacaranda);
  border-radius: 4px 20px 20px 4px;
  padding: 1.5rem 2rem;
  margin-bottom: 1.5rem;
}

.neighborhood-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--spellbound);
  margin-bottom: 0.75rem;
}

.neighborhood-card p {
  font-size: 0.95rem;
  color: var(--gray-600);
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   Cost Cards (Refinance Closing Costs)
   -------------------------------------------------------------------------- */
.cost-card {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 20px;
  padding: 1.5rem 2rem;
  margin-bottom: 1.5rem;
}

.cost-card:hover {
  border-color: var(--jacaranda);
  box-shadow: 0 4px 20px rgba(120, 100, 123, 0.1);
}

.cost-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--jacaranda);
  margin-bottom: 1rem;
}

.cost-row {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--gray-100);
}

.cost-row:last-of-type { border-bottom: none; }
.cost-row span:first-child { color: var(--gray-600); }
.cost-row span:last-child { font-weight: 600; color: var(--spellbound); }

.cost-card .note {
  font-size: 0.9rem;
  color: var(--gray-600);
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--gray-100);
}

/* --------------------------------------------------------------------------
   Scenario Cards
   -------------------------------------------------------------------------- */
.scenario-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 2rem 0;
}

.scenario-card {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 20px;
  padding: 1.5rem 2rem;
  margin-bottom: 1rem;
}

.scenario-card:hover {
  border-color: var(--jacaranda);
  box-shadow: 0 4px 20px rgba(120, 100, 123, 0.1);
}

.scenario-card .label {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--jacaranda);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

.scenario-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--spellbound);
  margin-bottom: 1rem;
}

.scenario-card .cost-row { font-size: 0.9rem; }

.scenario-card .total {
  display: flex;
  justify-content: space-between;
  padding-top: 0.75rem;
  margin-top: 0.5rem;
  border-top: 1px solid var(--gray-200);
  font-weight: 600;
}

.scenario-card .total span:last-child {
  color: var(--jacaranda);
  font-size: 1.1rem;
}

.scenario-card .percent {
  font-size: 0.8rem;
  color: var(--gray-600);
  margin-top: 0.5rem;
}

/* Scenario header variant (for 2% rule page) */
.scenario-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 1rem;
}

.scenario-card .location {
  font-size: 0.95rem;
  color: var(--gray-600);
}

.scenario-badge {
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.scenario-badge.green { background: #d1fae5; color: #065f46; }
.scenario-badge.yellow { background: #fef3c7; color: #92400e; }

.scenario-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1rem;
  font-size: 0.9rem;
}

.scenario-stats span:first-child { color: var(--gray-600); }
.scenario-stats strong { color: var(--spellbound); }

.scenario-card .note {
  font-size: 0.9rem;
  color: var(--gray-600);
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--gray-100);
}

/* --------------------------------------------------------------------------
   Comparison Box (Refinance articles)
   -------------------------------------------------------------------------- */
.comparison-box {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 20px;
  padding: 2rem;
  margin: 1.5rem 0;
}

.comparison-box h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--jacaranda);
  margin-bottom: 0.5rem;
}

.comparison-box .subtitle {
  font-size: 0.95rem;
  color: var(--gray-600);
  margin-bottom: 1rem;
}

.comparison-box .result-box {
  background: var(--gray-50);
  border-radius: 10px;
  padding: 1rem;
  margin-top: 1rem;
}

.comparison-box .result-box p {
  font-size: 0.9rem;
  color: var(--gray-600);
  margin-bottom: 0.5rem;
}

.comparison-box .result-box .decision { font-weight: 600; }
.comparison-box .result-box .decision.positive { color: #059669; }
.comparison-box .result-box .decision.negative { color: #dc2626; }

/* --------------------------------------------------------------------------
   Rate Table (1% Rate Drop)
   -------------------------------------------------------------------------- */
.rate-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--gray-200);
}

.rate-table th,
.rate-table td {
  padding: 1rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid var(--gray-100);
}

.rate-table th {
  background: var(--gray-50);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--jacaranda);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.rate-table td { font-size: 0.95rem; color: var(--gray-700); }
.rate-table tr:last-child td { border-bottom: none; }
.rate-table .highlight { background: rgba(120, 100, 123, 0.05); }

/* --------------------------------------------------------------------------
   Formula Box (1% Rate Drop)
   -------------------------------------------------------------------------- */
.formula-box {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-left: 4px solid var(--jacaranda);
  border-radius: 4px 20px 20px 4px;
  padding: 1.5rem 2rem;
  margin: 2rem 0;
}

.formula-box h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--jacaranda);
  margin-bottom: 1rem;
}

.formula-box .formula {
  font-family: monospace;
  font-size: 1rem;
  background: #fff;
  padding: 1rem;
  border-radius: 10px;
  margin-bottom: 1rem;
  color: var(--spellbound);
}

.formula-box .example {
  font-size: 0.9rem;
  color: var(--gray-600);
}

/* --------------------------------------------------------------------------
   Guide Cards (Refinance Guides landing)
   -------------------------------------------------------------------------- */
.guide-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.guide-card {
  display: block;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 30px 50px 30px 50px;
  padding: 2rem;
  text-decoration: none;
  transition: all 0.4s ease;
}

.guide-card:hover {
  border-color: var(--jacaranda);
  box-shadow: 0 10px 40px rgba(120, 100, 123, 0.15);
  transform: translateY(-4px);
}

.guide-card .badge { margin-bottom: 0.75rem; }

.guide-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--jacaranda);
  margin-bottom: 0.5rem;
}

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

/* --------------------------------------------------------------------------
   Process Section
   -------------------------------------------------------------------------- */
.process-section {
  background: var(--jacaranda);
  color: #fff;
  padding: 4rem 5%;
}

.process-section.gradient {
  background: linear-gradient(135deg, var(--jacaranda) 0%, #8d7a90 100%);
}

.process-section h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 1rem;
  color: #fff;
}

.process-section > p {
  text-align: center;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
}

.process-grid-4 {
  grid-template-columns: repeat(4, 1fr);
  max-width: 1200px;
}

.process-step,
.process-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 1.5rem;
}

.process-card {
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 2rem;
}

.process-step .step-num,
.process-card .step {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 0.5rem;
}

.process-step h3,
.process-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: #fff;
}

.process-step p,
.process-card p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
}

.process-cta {
  text-align: center;
  margin-top: 2.5rem;
  font-size: 1.1rem;
}

.process-cta a {
  color: #fff;
  font-weight: 600;
}

/* Clickable process steps */
a.process-step,
a.process-card {
  text-decoration: none;
  display: block;
  transition: transform 0.3s, background 0.3s;
}

a.process-step:hover,
a.process-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.15);
}

/* --------------------------------------------------------------------------
   Testimonials
   -------------------------------------------------------------------------- */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.testimonial-card {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-left: 4px solid var(--jacaranda);
  border-radius: 4px 30px 30px 4px;
  padding: 2rem;
}

.testimonial-card blockquote {
  font-size: 1rem;
  font-style: italic;
  color: var(--gray-700);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.testimonial-card cite {
  font-size: 0.9rem;
  color: var(--jacaranda);
  font-style: normal;
  font-weight: 500;
}

.testimonial-card .stars {
  color: #f59e0b;
  margin-top: 0.5rem;
}

/* --------------------------------------------------------------------------
   FAQ Section
   -------------------------------------------------------------------------- */
.faq-section {
  max-width: 800px;
  margin: 0 auto;
}

.faq-section h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 2rem;
  color: var(--spellbound);
}

.faq-item {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 20px;
  padding: 1.5rem 2rem;
  margin-bottom: 1rem;
}

.faq-item[open] {
  border-color: var(--jacaranda);
  box-shadow: 0 4px 20px rgba(120, 100, 123, 0.1);
}

.faq-item summary {
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--spellbound);
  list-style: none;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item p {
  margin-top: 1rem;
  font-size: 0.95rem;
  color: var(--gray-600);
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   CTA Section
   -------------------------------------------------------------------------- */
.cta {
  text-align: center;
  padding: 5rem 5%;
  background: linear-gradient(135deg, var(--jacaranda) 0%, #8d7a90 100%);
}

.cta .script-intro {
  font-family: var(--font-script);
  font-size: 3rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0.5rem;
}

.cta h2 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 1rem;
}

.cta p {
  font-size: 1.1rem;
  color: #fff;
  opacity: 0.85;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.btn {
  display: inline-block;
  padding: 1.1rem 2.5rem;
  background: #fff;
  border: 2px solid #fff;
  color: var(--jacaranda);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: all 0.4s ease;
  border-radius: 30px;
}

.btn:hover {
  background: transparent;
  border-color: #fff;
  color: #fff;
}

/* --------------------------------------------------------------------------
   Related Section
   -------------------------------------------------------------------------- */
.related-section h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  color: var(--spellbound);
  margin-bottom: 2rem;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.related-card {
  display: block;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 30px 50px 30px 50px;
  padding: 2rem;
  text-decoration: none;
  transition: all 0.4s ease;
}

.related-card:hover {
  border-color: var(--jacaranda);
  box-shadow: 0 10px 40px rgba(120, 100, 123, 0.15);
  transform: translateY(-4px);
}

.related-card .badge { margin-bottom: 0.75rem; }

.related-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--jacaranda);
  margin-bottom: 0.5rem;
}

.related-card p {
  font-size: 0.9rem;
  color: var(--gray-600);
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
footer {
  background: var(--spellbound);
  padding: 4rem 5% 2rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-brand {
  font-family: var(--font-script);
  font-size: 3rem;
  color: var(--heliotrope);
  margin-bottom: 1rem;
}

.footer-contact p {
  font-size: 0.9rem;
  color: #fff;
  opacity: 0.8;
  margin-bottom: 0.5rem;
}

.footer-contact a {
  color: #fff;
  font-weight: 500;
}

.footer-links h4 {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--heliotrope);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
  padding-left: 1rem;
  position: relative;
}

.footer-links h4::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.15em;
  width: 3px;
  height: 1em;
  background: var(--jacaranda);
  border-radius: 2px;
}

.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 0.5rem; }

.footer-links a {
  color: #fff;
  text-decoration: none;
  font-size: 0.9rem;
  opacity: 0.8;
  transition: opacity 0.3s;
}

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

.footer-legal {
  grid-column: 1 / -1;
  padding-top: 2rem;
  margin-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  text-align: center;
}

.footer-legal p {
  font-size: 0.75rem;
  color: #fff;
  opacity: 0.5;
  line-height: 1.6;
}

.footer-legal a {
  color: var(--heliotrope);
  text-decoration: none;
}

.footer-legal a:hover { text-decoration: underline; }

.footer-legal .eho-logo,
footer .eho-logo {
  display: block;
  height: 40px;
  margin: 1.5rem auto 0;
  opacity: 0.7;
}

/* --------------------------------------------------------------------------
   Disclaimer Box
   -------------------------------------------------------------------------- */
.disclaimer {
  background: var(--gray-100);
  border-left: 4px solid var(--jacaranda);
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
  margin-top: 2rem;
}

.disclaimer p {
  font-size: 0.85rem;
  color: var(--gray-700);
  margin: 0;
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  h1 { font-size: 2.5rem; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats-4, .stats-3 { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .scenario-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .top-bar { flex-direction: column; gap: 0.75rem; }
  .top-bar nav { gap: 1rem; flex-wrap: wrap; justify-content: center; }
  h1 { font-size: 2rem; }
  .stats, .stats-4, .stats-3, .stats-2 { grid-template-columns: 1fr 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .scenario-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .card-grid, .related-grid, .guide-grid { grid-template-columns: 1fr; }
  .scenario-stats { grid-template-columns: 1fr; gap: 0.5rem; }
}
