
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,300;1,400;1,500;1,600;1,700;1,800&display=swap');

:root {
  --font-family: 'IBM Plex Sans', system-ui, sans-serif;
  --font-family-heading: 'IBM Plex Sans', system-ui, sans-serif;
  --font-weight-body: 400;
  --font-weight-heading: 700;
  --font-style-body: normal;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 1.875rem;
  --font-size-4xl: 2.25rem;
  --font-size-5xl: 3rem;
  --font-weight-light: 300;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --line-height-tight: 1.25;
  --line-height-normal: 1.5;
  --tracking-wide: 0.05em;

  --color-background: #FFFFFF;
  --color-foreground: #0B1929;
  --color-primary: #0B3A5C;
  --color-primary-foreground: #ffffff;
  --color-secondary: #0B1929;
  --color-secondary-foreground: #F0F4F8;
  --color-accent: #F5821F;
  --color-accent-foreground: #ffffff;
  --color-muted: #F0F4F8;
  --color-muted-foreground: #5F6C7B;
  --color-card: #FFFFFF;
  --color-card-foreground: #0B1929;
  --color-heading: #0B1929;
  --color-link: #0B3A5C;
  --color-icon: #f5821f;
  --color-border: #E5E7EB;
  --color-input: #E5E7EB;
  --color-ring: #0B3A5C;
  --color-destructive: #ef4444;
  --color-destructive-foreground: #ffffff;

  --container-max-width: 80rem;
  --container-padding: 1rem;
  --radius-sm: 0.25rem;
  --radius-md: 0.375rem;
  --radius-lg: 0.5rem;
  --radius-full: 9999px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1);
  --transition-fast: 150ms;
  --transition-normal: 300ms;
  --transition-timing: cubic-bezier(0.4, 0, 0.2, 1);
  --z-sticky: 50;
}

*, *::before, *::after { box-sizing: border-box; }
body {
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-body);
  font-style: var(--font-style-body);
  line-height: var(--line-height-normal);
  color: var(--color-foreground);
  background-color: var(--color-background);
  margin: 0;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-family-heading);
  font-weight: var(--font-weight-heading);
  color: var(--color-heading);
}
img { max-width: 100%; height: auto; }
a { color: var(--color-link); }
ul { list-style: none; padding: 0; margin: 0; }

/* ===== COMPONENT CLASSES ===== */

/* Container — increased mobile padding */
.container {
  max-width: var(--container-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

/* Hero image — responsive */
.hero-img { width: 100%; max-width: 100%; height: auto; border-radius: 0.5rem; }

/* Sections — 3-tier responsive scaling (WordPress kit pattern) */
.section {
  padding-top: 3rem;
  padding-bottom: 3rem;
}
.section-dark {
  background-color: var(--color-secondary);
  color: var(--color-secondary-foreground);
}
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 {
  color: var(--color-secondary-foreground);
}
.section-muted {
  background-color: var(--color-muted);
}
.section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}
.section-label {
  font-size: var(--font-size-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}
.section-title {
  font-size: 1.5rem;
  font-weight: var(--font-weight-heading);
  font-family: var(--font-family-heading);
  line-height: var(--line-height-tight);
  color: var(--color-heading);
  margin: 0 0 0.75rem 0;
}
.section-dark .section-title {
  color: var(--color-secondary-foreground);
}
.section-description {
  font-size: 1rem;
  color: var(--color-muted-foreground);
}
.section-description ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin: 0.5rem 0;
}
.section-description li {
  margin-bottom: 0.25rem;
}
.section-dark .section-description {
  color: rgba(226,232,240,0.8);
}

/* Section with image — two-column layout */
.section-with-image {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
}
.section-with-image .section-text { flex: 1; }
.section-with-image .section-image { flex: 0 0 40%; }
.section-with-image .section-image img { border-radius: 0.5rem; width: 100%; height: auto; }
.section-img-left { flex-direction: row-reverse; }
@media (max-width: 767px) {
  .section-with-image { flex-direction: column !important; }
  .section-with-image .section-image { flex: 0 0 auto; }
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
  background-color: var(--color-background);
  border-bottom: 1px solid var(--color-border);
  padding: 0.75rem 0;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header-brand {
  font-weight: 600;
  color: var(--color-foreground);
  text-decoration: none;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
}
.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.nav-link {
  font-size: var(--font-size-sm);
  font-weight: 500;
  color: var(--color-muted-foreground);
  text-decoration: none;
  transition: color var(--transition-fast) var(--transition-timing);
}
.nav-link:hover {
  color: var(--color-foreground);
}

/* Footer */
.footer {
  background-color: var(--color-secondary);
  color: var(--color-secondary-foreground);
  padding: 3rem 0 1.5rem;
}
.footer h1, .footer h2, .footer h3, .footer h4 {
  color: var(--color-secondary-foreground);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
}
@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}
.footer-heading {
  font-size: var(--font-size-sm);
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--color-secondary-foreground);
}
.footer-link {
  font-size: var(--font-size-sm);
  color: rgba(226,232,240,0.7);
  text-decoration: none;
  display: block;
  padding: 0.25rem 0;
  transition: color var(--transition-fast) var(--transition-timing);
}
.footer-link:hover {
  color: var(--color-secondary-foreground);
}
.footer-bottom {
  border-top: 1px solid rgba(226,232,240,0.15);
  margin-top: 2rem;
  padding-top: 1.5rem;
  text-align: center;
  font-size: var(--font-size-sm);
  color: rgba(226,232,240,0.5);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: var(--radius-md);
  font-size: var(--font-size-sm);
  font-weight: 500;
  padding: 0.5rem 1rem;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--transition-fast) var(--transition-timing);
  white-space: nowrap;
}
.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-primary-foreground);
  border-color: var(--color-primary);
}
.btn-primary:hover {
  opacity: 0.9;
}
.btn-outline {
  background-color: transparent;
  color: var(--color-foreground);
  border-color: var(--color-border);
}
.btn-outline:hover {
  background-color: var(--color-muted);
}
.btn-ghost {
  background-color: transparent;
  color: var(--color-foreground);
  border-color: transparent;
}
.btn-ghost:hover {
  background-color: var(--color-muted);
}
.btn-lg {
  padding: 0.75rem 1.5rem;
  font-size: var(--font-size-base);
}
.btn .icon {
  width: 1em;
  height: 1em;
}

/* Cards */
.card {
  background-color: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.card-interactive {
  transition: box-shadow var(--transition-normal) var(--transition-timing), transform var(--transition-normal) var(--transition-timing);
}
.card-interactive:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}
.card-header {
  padding: 1.5rem 1.5rem 0;
}
.card-title {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-heading);
  font-family: var(--font-family-heading);
  margin: 0;
  color: var(--color-card-foreground);
}
.card-content {
  padding: 0.75rem 1.5rem 1.5rem;
}
.card-description {
  font-size: var(--font-size-sm);
  color: var(--color-muted-foreground);
  margin: 0;
  line-height: 1.6;
}

/* Tailwind-like utility classes used in templates */
.flex { display: flex; }
.hidden { display: none; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.flex-col { flex-direction: column; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.text-center { text-align: center; }
.text-sm { font-size: 0.875rem; }
.text-xs { font-size: 0.75rem; }
.text-base { font-size: 1rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 1.875rem; }
.text-4xl { font-size: 2.25rem; }
.text-5xl { font-size: 3rem; }
.font-bold { font-weight: var(--font-weight-heading); }
.font-semibold { font-weight: 600; }
.font-medium { font-weight: 500; }
.mx-auto { margin-left: auto; margin-right: auto; }
.max-w-2xl { max-width: 42rem; }
.max-w-lg { max-width: 32rem; }
.w-full { width: 100%; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mt-4 { margin-top: 1rem; }
.mt-8 { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; }
.mt-12 { margin-top: 3rem; }
.p-6 { padding: 1.5rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.rounded-full { border-radius: 9999px; }
.rounded-lg { border-radius: 0.5rem; }
.space-y-3 > * + * { margin-top: 0.75rem; }
.tracking-tight { letter-spacing: -0.025em; }
.inline-flex { display: inline-flex; }
.border { border: 1px solid var(--color-border); }
.border-2 { border-width: 2px; }
.border-t { border-top: 1px solid var(--color-border); }
.relative { position: relative; }
.absolute { position: absolute; }
.text-foreground { color: var(--color-foreground); }
.text-muted-foreground { color: var(--color-muted-foreground); }
.text-primary { color: var(--color-primary); }
.text-secondary-foreground { color: var(--color-secondary-foreground); }
.bg-background { background-color: var(--color-background); }
.bg-card { background-color: var(--color-card); }
.border-border { border-color: var(--color-border); }
.border-primary { border-color: var(--color-primary); }

@media (min-width: 640px) {
  .section { padding-top: 4rem; padding-bottom: 4rem; }
  .section-title { font-size: 1.875rem; }
  .hero-img { max-width: 600px; }
  .sm\:text-sm { font-size: 0.875rem; }
  .sm\:text-lg { font-size: 1.125rem; }
  .sm\:text-4xl { font-size: 2.25rem; }
  .sm\:text-3xl { font-size: 1.875rem; }
  .sm\:flex-row { flex-direction: row; }
  .sm\:justify-center { justify-content: center; }
  .sm\:items-center { align-items: center; }
  .sm\:gap-4 { gap: 1rem; }
  .sm\:gap-6 { gap: 1.5rem; }
  .sm\:gap-8 { gap: 2rem; }
  .sm\:w-auto { width: auto; }
  .sm\:mb-6 { margin-bottom: 1.5rem; }
  .sm\:mb-8 { margin-bottom: 2rem; }
  .sm\:mb-12 { margin-bottom: 3rem; }
  .sm\:block { display: block; }
  .sm\:py-16 { padding-top: 4rem; padding-bottom: 4rem; }
  .sm\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 768px) {
  .md\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
  .md\:flex-row { flex-direction: row; }
  .md\:text-3xl { font-size: 1.875rem; }
  .md\:text-4xl { font-size: 2.25rem; }
  .md\:text-5xl { font-size: 3rem; }
}

@media (min-width: 1024px) {
  .section { padding-top: 6rem; padding-bottom: 6rem; }
  .section-title { font-size: 2.25rem; }
  .section-description { font-size: 1.125rem; }
  .lg\:flex { display: flex; }
  .lg\:hidden { display: none; }
  .lg\:text-5xl { font-size: 3rem; }
  .lg\:text-xl { font-size: 1.25rem; }
  .lg\:text-4xl { font-size: 2.25rem; }
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
  .lg\:grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
  .lg\:mt-16 { margin-top: 4rem; }
  .lg\:py-24 { padding-top: 6rem; padding-bottom: 6rem; }
  .container { padding-left: 2rem; padding-right: 2rem; }
}

@media (min-width: 1280px) {
  .xl\:text-6xl { font-size: 3.75rem; }
}

.grid { display: grid; gap: 1.5rem; }

.prose h1 { font-size: 2.25rem; font-weight: var(--font-weight-heading); font-family: var(--font-family-heading); margin-bottom: 1rem; color: var(--color-heading); }
.prose h2 { font-size: 1.5rem; font-weight: var(--font-weight-heading); font-family: var(--font-family-heading); margin-bottom: 0.75rem; margin-top: 2rem; color: var(--color-heading); }
.prose h3 { font-size: 1.25rem; font-weight: var(--font-weight-heading); font-family: var(--font-family-heading); margin-bottom: 0.5rem; margin-top: 1.5rem; color: var(--color-heading); }
.prose p { margin-bottom: 1rem; line-height: 1.7; }
.prose strong { font-weight: 600; }
.prose a { color: var(--color-link); }

/* Answer Summary */
.answer-summary-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
@media (max-width: 639px) {
  .answer-summary-grid { grid-template-columns: 1fr; }
}
.answer-summary-card {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: 0.5rem;
  padding: 1.5rem;
}
.answer-summary-q {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--color-heading);
  margin: 0 0 0.625rem 0;
  line-height: 1.35;
}
.answer-summary-a {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--color-foreground);
  margin: 0 0 0.75rem 0;
  font-weight: 500;
}
.answer-summary-bullets {
  list-style: disc;
  padding-left: 1.25rem;
  margin: 0;
}
.answer-summary-bullets li {
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--color-muted-foreground);
  margin-bottom: 0.25rem;
}

/* Bento Tabs */
.bento-tabs { position: relative; }
.bento-radio { display: none; }
.bento-tab-triggers {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 0.5rem;
  margin-bottom: 1.5rem;
  scrollbar-width: none;
}
.bento-tab-triggers::-webkit-scrollbar { display: none; }
.bento-tab-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
  font-size: var(--font-size-sm);
  font-weight: 500;
  color: var(--color-muted-foreground);
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition-fast) var(--transition-timing);
  flex-shrink: 0;
}
.bento-tab-trigger:hover {
  background-color: var(--color-muted);
  color: var(--color-foreground);
}
.bento-tab-panel { display: none; }

/* Radio-based tab switching: show panel when corresponding radio is checked */
.bento-radio:nth-of-type(1):checked ~ .bento-tab-panel:nth-of-type(2),
.bento-radio:nth-of-type(2):checked ~ .bento-tab-panel:nth-of-type(3),
.bento-radio:nth-of-type(3):checked ~ .bento-tab-panel:nth-of-type(4),
.bento-radio:nth-of-type(4):checked ~ .bento-tab-panel:nth-of-type(5),
.bento-radio:nth-of-type(5):checked ~ .bento-tab-panel:nth-of-type(6) { display: block; }

/* Active trigger styling */
.bento-radio:nth-of-type(1):checked ~ .bento-tab-triggers .bento-tab-trigger:nth-child(1),
.bento-radio:nth-of-type(2):checked ~ .bento-tab-triggers .bento-tab-trigger:nth-child(2),
.bento-radio:nth-of-type(3):checked ~ .bento-tab-triggers .bento-tab-trigger:nth-child(3),
.bento-radio:nth-of-type(4):checked ~ .bento-tab-triggers .bento-tab-trigger:nth-child(4),
.bento-radio:nth-of-type(5):checked ~ .bento-tab-triggers .bento-tab-trigger:nth-child(5) {
  background-color: var(--color-primary);
  color: var(--color-primary-foreground);
  border-color: var(--color-primary);
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.bento-card {
  border-radius: 0.75rem;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s, box-shadow 0.2s;
  min-height: 180px;
}
.bento-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}
.bento-card-img {
  border-radius: 0.5rem;
  margin-bottom: 0.75rem;
  width: 100%;
  object-fit: cover;
  max-height: 140px;
}
.bento-card-body { flex: 1; }
.bento-card-title {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-heading);
  font-family: var(--font-family-heading);
  margin: 0 0 0.25rem 0;
  color: var(--color-heading);
}
.bento-card-desc {
  font-size: var(--font-size-sm);
  color: var(--color-muted-foreground);
  margin: 0;
  line-height: 1.6;
}
.bento-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: var(--font-size-sm);
  font-weight: 500;
  color: var(--color-link);
  margin-top: 0.75rem;
}

@media (max-width: 1023px) {
  .bento-grid { grid-template-columns: repeat(2, 1fr); }
  .bento-card[style*="span 3"] { grid-column: span 2 !important; }
}
@media (max-width: 639px) {
  .bento-grid { grid-template-columns: 1fr; }
  .bento-card { grid-column: span 1 !important; grid-row: span 1 !important; }
}

/* === Dark mode (WordPress Theme Kit palette) === */
[data-theme="dark"] {
  --color-background: #0B1929;
  --color-foreground: #F0F4F8;
  --color-heading: #F0F4F8;
  --color-primary: #F5821F;
  --color-primary-foreground: #ffffff;
  --color-secondary: #0B3A5C;
  --color-secondary-foreground: #F0F4F8;
  --color-accent: #F5821F;
  --color-accent-foreground: #ffffff;
  --color-muted: #112A42;
  --color-muted-foreground: #94A3B8;
  --color-card: #112A42;
  --color-card-foreground: #F0F4F8;
  --color-link: #F5821F;
  --color-border: #1E3A5C;
  --color-input: #1E3A5C;
  --color-ring: #F5821F;
}
[data-theme="dark"] .bento-card-title { color: var(--color-foreground); }
[data-theme="dark"] .bento-card-desc { color: var(--color-muted-foreground); }
[data-theme="dark"] .bento-card { color: var(--color-foreground); }
[data-theme="dark"] .footer-link { color: rgba(240,244,248,0.7); }
[data-theme="dark"] .footer-link:hover { color: #F0F4F8; }
[data-theme="dark"] .footer-bottom { color: rgba(240,244,248,0.5); }

/* Theme toggle */
#theme-toggle { background:none; border:1px solid var(--color-border); border-radius:var(--radius-md); padding:0.4rem; cursor:pointer; display:inline-flex; align-items:center; justify-content:center; color:var(--color-foreground); transition: background var(--transition-fast); }
#theme-toggle:hover { background: var(--color-muted); }
#theme-icon-moon { display:none; }
[data-theme="dark"] #theme-icon-sun { display:none; }
[data-theme="dark"] #theme-icon-moon { display:block; }

/* FAQ */
.faq-list { max-width: 48rem; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--color-border); }
.faq-question {
  padding: 1rem 0;
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold);
  font-family: var(--font-family-heading);
  color: var(--color-heading);
  cursor: pointer;
  list-style: none;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question::after { content: '+'; float: right; font-size: 1.25rem; color: var(--color-muted-foreground); }
details[open] .faq-question::after { content: '−'; }
.faq-answer { padding: 0 0 1rem 0; color: var(--color-muted-foreground); line-height: 1.7; }
.faq-answer p { margin-bottom: 0.5rem; }

/* Pricing */
.pricing-grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; max-width: 32rem; margin: 0 auto; }
@media (min-width: 768px) { .pricing-grid { grid-template-columns: repeat(auto-fit, minmax(260px, 320px)); max-width: 56rem; justify-content: center; } }
.pricing-card { border: 1px solid var(--color-border); border-radius: 0.75rem; padding: 2rem 1.5rem; display: flex; flex-direction: column; gap: 1rem; position: relative; background: var(--color-card); }
.pricing-highlighted { border: 2px solid var(--color-accent); }
.pricing-badge { position: absolute; top: -0.75rem; left: 50%; transform: translateX(-50%); background: var(--color-accent); color: #fff; font-size: 0.75rem; font-weight: 600; padding: 0.25rem 0.75rem; border-radius: 9999px; }
.pricing-name { font-size: 1.25rem; font-weight: 600; color: var(--color-heading); margin: 0; }
.pricing-price { font-size: 2.5rem; font-weight: 700; color: var(--color-heading); }
.pricing-period { font-size: 0.875rem; color: var(--color-muted-foreground); }
.pricing-features { list-style: none; padding: 0; margin: 0; flex: 1; }
.pricing-features li { font-size: 0.875rem; padding: 0.375rem 0; color: var(--color-foreground); border-bottom: 1px solid rgba(0,0,0,0.05); }
.pricing-features li::before { content: '✓ '; color: var(--color-accent); }

/* Stats */
.stats-grid { display: grid; gap: 2rem; grid-template-columns: repeat(2, 1fr); text-align: center; max-width: 48rem; margin: 0 auto; }
@media (min-width: 768px) { .stats-grid { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); } }
.stat-value { font-size: 2.5rem; font-weight: 700; color: var(--color-accent); line-height: 1.1; }
@media (max-width: 639px) { .stat-value { font-size: 2rem; } }
.stat-label { font-size: 0.875rem; color: var(--color-muted-foreground); margin-top: 0.5rem; }
.stat-source { font-size: 0.7rem; color: var(--color-muted-foreground); margin-top: 0.25rem; font-style: italic; opacity: 0.7; }
.stat-source a { color: inherit; text-decoration: underline; }

/* Spacer */
.spacer-divider { border: none; border-top: 1px solid var(--color-border); max-width: 200px; margin: 0 auto; }

/* Timeline */
.timeline { max-width: 36rem; margin: 0 auto; position: relative; }
.timeline::before { content: ''; position: absolute; left: 1.25rem; top: 0.5rem; bottom: 0.5rem; width: 2px; background: var(--color-border); }
.timeline-step { display: flex; gap: 1rem; padding: 1rem 0; position: relative; }
.timeline-number { width: 2.5rem; height: 2.5rem; border-radius: 50%; flex-shrink: 0; background: var(--color-accent); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 0.875rem; font-weight: 700; z-index: 1; }
.timeline-title { font-size: 1.125rem; font-weight: 600; color: var(--color-heading); margin: 0 0 0.25rem 0; }
.timeline-desc { font-size: 0.875rem; color: var(--color-foreground); margin: 0; line-height: 1.6; }

/* Checklist */
.checklist-step { display: flex; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--color-border); }
.checklist-step:last-child { border-bottom: none; }
.checklist-number { flex-shrink: 0; width: 1.75rem; height: 1.75rem; display: flex; align-items: center; justify-content: center; border-radius: 50%; background-color: var(--color-primary); color: var(--color-primary-foreground); font-size: 0.75rem; font-weight: 600; margin-top: 0.125rem; }
.checklist-step strong { font-size: 1rem; color: var(--color-foreground); }
.checklist-step p { margin: 0.25rem 0 0; font-size: 0.875rem; color: var(--color-muted-foreground); line-height: 1.6; }

/* Gallery */
.gallery-scroll { display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 1rem; -webkit-overflow-scrolling: touch; }
.gallery-scroll::-webkit-scrollbar { height: 6px; }
.gallery-scroll::-webkit-scrollbar-thumb { background: var(--color-border); border-radius: 3px; }
.gallery-card { flex: 0 0 280px; scroll-snap-align: start; border-radius: 0.5rem; border: 1px solid var(--color-border); overflow: hidden; background: var(--color-card); }
@media (min-width: 768px) { .gallery-card { flex: 0 0 360px; } }

/* Story Panels */
.story-grid-2x2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
.story-grid-1x4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.75rem; }
@media (max-width: 767px) {
  .story-grid-2x2, .story-grid-1x4 {
    display: flex !important; flex-direction: row !important; flex-wrap: nowrap !important;
    overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
    gap: 0.75rem; padding-bottom: 0.75rem; scrollbar-width: none; align-items: stretch;
  }
  .story-grid-2x2::-webkit-scrollbar, .story-grid-1x4::-webkit-scrollbar { display: none; }
  .story-grid-2x2 .story-panel, .story-grid-1x4 .story-panel { flex: 0 0 85%; scroll-snap-align: center; min-width: 0; }
}
@media (min-width: 768px) and (max-width: 1023px) { .story-grid-1x4 { grid-template-columns: repeat(2, 1fr); } }
.story-panel { border-radius: 0.5rem; border: 2px solid color-mix(in srgb, var(--color-primary) 20%, transparent); overflow: hidden; background: var(--color-card); }
.story-panel-img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; }
.story-panel-placeholder { width: 100%; aspect-ratio: 1; background: var(--color-muted); display: flex; align-items: center; justify-content: center; color: var(--color-muted-text); font-size: 0.75rem; }
.story-panel-caption { padding: 0.5rem 0.75rem; font-size: 0.8rem; color: var(--color-text); text-align: center; font-style: italic; margin: 0; }
.story-dots { display: none; justify-content: center; gap: 0.5rem; margin-top: 0.5rem; }
@media (max-width: 767px) { .story-dots { display: flex; } }
.story-dot { width: 0.5rem; height: 0.5rem; border-radius: 9999px; border: none; cursor: pointer; background: var(--color-border); padding: 0; transition: all 300ms; }
.story-dot.active { width: 1.5rem; background: var(--color-accent, var(--color-primary)); }
.gallery-img { width: 100%; height: 240px; object-fit: cover; display: block; }
.gallery-caption { padding: 0.75rem 1rem; font-size: 0.875rem; color: var(--color-foreground); margin: 0; }


