.main--index {
  display: grid;
  gap: 2rem;
  padding-bottom: 3rem;
}

.index-auth-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.index-auth-actions .btn {
  min-width: 118px;
  justify-content: center;
  text-decoration: none;
  border-radius: 999px;
}

.index-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 1.5rem;
  align-items: stretch;
  text-align: left;
  padding-top: 3.5rem;
  padding-bottom: 3rem;
}

.index-hero-copy,
.index-hero-panel {
  min-width: 0;
}

@keyframes indexFadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.index-hero-copy {
  animation: indexFadeUp 0.8s ease both;
}

.index-hero-panel {
  animation: indexFadeUp 0.85s ease 0.1s both;
}

.index-section--trust,
.index-section--how,
.index-section--compare,
.index-section--testimonials,
.index-section--what,
.index-section--story,
.index-section--cta {
  animation: indexFadeUp 0.8s ease both;
}

.index-section--trust {
  animation-delay: 0.15s;
}

.index-section--how {
  animation-delay: 0.2s;
}

.index-section--compare {
  animation-delay: 0.25s;
}

.index-section--testimonials {
  animation-delay: 0.3s;
}

.index-section--what {
  animation-delay: 0.35s;
}

.index-section--story {
  animation-delay: 0.4s;
}

.index-section--cta {
  animation-delay: 0.45s;
}

@media (prefers-reduced-motion: reduce) {
  .index-hero-copy,
  .index-hero-panel,
  .index-section--trust,
  .index-section--how,
  .index-section--compare,
  .index-section--testimonials,
  .index-section--what,
  .index-section--story,
  .index-section--cta {
    animation: none;
  }
}

.index-kicker {
  margin: 0 0 0.75rem;
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.index-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  margin-top: 0.9rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.index-hero-dot {
  color: var(--primary);
  font-weight: 700;
}

.index-cta-row {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-top: 1.4rem;
}

.index-primary-cta {
  text-decoration: none;
}

.index-secondary-cta {
  text-decoration: none;
  border-radius: 999px;
}

.index-proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 1.6rem;
}

.index-proof-card {
  display: grid;
  gap: 0.25rem;
  padding: 0.95rem 1rem;
  border-radius: 1rem;
  background: rgba(255,255,255,0.78);
  border: 1px solid rgba(15,23,42,0.08);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.05);
}

.index-proof-card strong {
  font-size: 0.96rem;
}

.index-proof-card span {
  color: var(--muted);
  font-size: 0.92rem;
}

.index-hero-panel {
  display: grid;
  gap: 1rem;
  align-self: center;
  background: linear-gradient(180deg, rgba(255,255,255,0.95), rgba(241,245,249,0.98));
  border: 1px solid rgba(15,23,42,0.08);
  box-shadow: 0 30px 60px rgba(15, 23, 42, 0.12);
}

.index-panel-kicker {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.index-hero-mock {
  display: grid;
  gap: 0.75rem;
  padding: 1rem;
  border-radius: 1rem;
  background: #ffffff;
  border: 1px solid rgba(15,23,42,0.08);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.5);
}

.index-mock-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 700;
  color: #0f172a;
}

.index-mock-total {
  font-size: 1rem;
  color: var(--muted);
}

.index-mock-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.6rem 0.75rem;
  border-radius: 0.75rem;
  background: rgba(15,23,42,0.03);
}

.index-mock-row strong {
  display: block;
  font-size: 0.95rem;
}

.index-mock-row span {
  color: var(--muted);
  font-size: 0.85rem;
}

.index-mock-amount {
  font-weight: 700;
  color: #b91c1c;
}

.index-mock-amount--positive {
  color: #15803d;
}



.index-cta-panel h2,
.index-cta-panel h2,
.index-section-heading h2,
.index-story h2 {
  margin: 0 0 0.4rem;
  font-size: clamp(1.5rem, 2.4vw, 2.2rem);
  line-height: 1.15;
}

.index-stack-item p,
.index-story p {
  margin: 0;
  color: var(--muted);
}

.index-section {
  display: grid;
  gap: 1.25rem;
}

.index-section-heading {
  display: grid;
  gap: 0.45rem;
  max-width: 760px;
}

.index-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.index-feature-card {
  min-height: 180px;
  display: grid;
  gap: 0.55rem;
}

.index-feature-card h3 {
  margin: 0;
  font-size: 1.05rem;
}

.index-feature-card p {
  margin: 0;
  color: var(--muted);
}

.index-section--trust {
  margin-top: -0.5rem;
}

.index-trust {
  display: grid;
  gap: 0.75rem;
  padding: 1.1rem 1.25rem;
  border-radius: 1rem;
  background: rgba(14,116,144,0.08);
  border: 1px solid rgba(15,23,42,0.06);
}

.index-trust-label {
  margin: 0;
  font-weight: 700;
  color: #0f172a;
}

.index-trust-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  color: var(--muted);
  font-weight: 600;
}

.index-how-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.index-how-card {
  display: grid;
  gap: 0.5rem;
  min-height: 180px;
}

.index-how-step {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 0.12em;
}

.index-compare-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.index-compare-card {
  display: grid;
  gap: 0.75rem;
  min-height: 190px;
}

.index-compare-card--before {
  border: 1px dashed rgba(239,68,68,0.35);
  background: rgba(248,113,113,0.08);
}

.index-compare-card--after {
  border: 1px solid rgba(16,185,129,0.3);
  background: rgba(16,185,129,0.1);
}

.index-compare-list p {
  margin: 0;
  color: var(--muted);
}

.index-testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.index-testimonial {
  display: grid;
  gap: 0.75rem;
  font-size: 0.98rem;
}

.index-testimonial p {
  margin: 0;
  color: #0f172a;
}

.index-testimonial-meta {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.88rem;
}

.index-section--walterlens .index-section-heading {
  max-width: 760px;
}

.index-walterlens-panel {
  display: grid;
  gap: 0.75rem;
  padding: 1.25rem;
  background: rgba(15,23,42,0.04);
  border: 1px solid rgba(15,23,42,0.08);
}

.index-wl-line {
  display: flex;
  justify-content: flex-start;
}

.index-wl-line span {
  display: inline-flex;
  max-width: 80%;
  padding: 0.7rem 0.9rem;
  border-radius: 0.9rem;
  font-size: 0.95rem;
  line-height: 1.4;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(15,23,42,0.08);
}

.index-wl-line--user {
  justify-content: flex-end;
}

.index-wl-line--user span {
  background: rgba(14,116,144,0.12);
  border: 1px solid rgba(14,116,144,0.15);
}

.index-story {
  display: grid;
  gap: 1rem;
  padding: 1.4rem;
  background: linear-gradient(135deg, rgba(14,165,164,0.08), rgba(245,158,11,0.08));
}

.index-about {
  border-top: none;
  padding-top: 0;
}

.index-cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.35rem 1.4rem;
}

.index-cta-actions {
  display: flex;
  gap: 0.8rem;
  align-items: center;
  flex-wrap: wrap;
}

.index-footer {
  position: static;
  width: auto;
  margin-top: 1rem;
}

:root[data-theme="dark"] .index-secondary-cta,
:root[data-theme="dark"] .index-proof-card,
:root[data-theme="dark"] .index-hero-panel {
  background: rgba(17, 24, 39, 0.82);
  border-color: #2a2e35;
  color: #f8fafc;
}

:root[data-theme="dark"] .index-hero-mock,
:root[data-theme="dark"] .index-mock-row,
:root[data-theme="dark"] .index-trust,
:root[data-theme="dark"] .index-compare-card--after,
:root[data-theme="dark"] .index-compare-card--before,
:root[data-theme="dark"] .index-testimonial,
:root[data-theme="dark"] .index-walterlens-panel,
:root[data-theme="dark"] .index-wl-line span {
  background: rgba(17, 24, 39, 0.6);
  border-color: #2a2e35;
  color: #f8fafc;
}

:root[data-theme="dark"] .index-mock-header,
:root[data-theme="dark"] .index-testimonial p,
:root[data-theme="dark"] .index-trust-label {
  color: #f8fafc;
}

:root[data-theme="dark"] .index-proof-card span,
:root[data-theme="dark"] .index-stack-item p,
:root[data-theme="dark"] .index-feature-card p,
:root[data-theme="dark"] .index-story p {
  color: #cbd5e1;
}

:root[data-theme="dark"] .index-story {
  background: linear-gradient(135deg, rgba(45,212,191,0.16), rgba(251,191,36,0.12));
  border-color: #2a2e35;
}

@media (max-width: 900px) {
  .index-hero {
    grid-template-columns: 1fr;
  }

  .index-proof-grid,
  .index-feature-grid,
  .index-how-grid,
  .index-testimonial-grid,
  .index-compare-grid {
    grid-template-columns: 1fr;
  }

  .index-cta-panel {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .index-auth-actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-end;
    gap: 0.5rem;
  }

  .index-hero {
    padding-top: 3.1rem;
  }

  .index-cta-row,
  .index-cta-actions {
    width: 100%;
  }

  .index-cta-row {
    flex-direction: column;
    align-items: stretch;
  }

  .index-primary-cta,
  .index-secondary-cta,
  .index-auth-actions .btn {
    width: 100%;
  }

}
