.home-shell {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.home-section {
  padding: var(--space-20) 0;
}

.home-section--tint {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.2) 0%, rgba(122, 92, 255, 0.05) 100%);
  border-top: 1px solid rgba(19, 32, 64, 0.05);
  border-bottom: 1px solid rgba(19, 32, 64, 0.05);
}

.home-section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-6);
  margin-bottom: var(--space-8);
}

.home-section__head--center {
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.home-section__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--color-accent-violet);
  margin-bottom: var(--space-3);
}

.home-section__title {
  max-width: 40rem;
  font-size: clamp(2rem, 3vw, 2.9rem);
}

.home-section__title--feature {
  max-width: 44rem;
}

.home-section__link {
  flex-shrink: 0;
}

.home-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.95rem;
  border-radius: var(--radius-full);
  background: rgba(122, 92, 255, 0.08);
  border: 1px solid rgba(122, 92, 255, 0.12);
  color: var(--color-accent-violet);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  margin-bottom: var(--space-6);
}

.home-kicker::before {
  content: '';
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #8f6bff 0%, #5d7bff 100%);
  box-shadow: 0 0 0 6px rgba(122, 92, 255, 0.1);
}

.home-hero {
  padding: clamp(3.75rem, 7vw, 6rem) 0 var(--space-12);
}

.home-hero__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.home-hero__content > * {
  animation: home-rise 700ms ease both;
}

.home-hero__content > :nth-child(2) { animation-delay: 80ms; }
.home-hero__content > :nth-child(3) { animation-delay: 140ms; }
.home-hero__content > :nth-child(4) { animation-delay: 200ms; }
.home-hero__content > :nth-child(5) { animation-delay: 260ms; }

.home-hero__title {
  font-size: clamp(3.1rem, 6vw, 5.4rem);
  line-height: 0.98;
  margin-bottom: var(--space-6);
}

.home-hero__title span {
  display: block;
}

.home-hero__title-accent {
  background: linear-gradient(135deg, #8f6bff 0%, #5d7bff 95%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.home-hero__desc {
  max-width: 35rem;
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  line-height: 1.8;
  margin-bottom: var(--space-8);
}

.home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
}

.home-hero__button {
  min-width: 11.5rem;
}

.home-hero__proof {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.home-proof-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.75rem 1rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(19, 32, 64, 0.08);
  box-shadow: var(--shadow-sm);
  color: var(--color-text-secondary);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
}

.home-proof-pill::before {
  content: '';
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: var(--color-available);
}

.home-dashboard {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.9fr);
  grid-template-areas:
    "overview side"
    "opportunities opportunities";
  gap: var(--space-4);
  padding: 1rem;
  border-radius: 32px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9) 0%, rgba(249, 250, 255, 0.96) 100%);
  border: 1px solid rgba(19, 32, 64, 0.08);
  box-shadow: var(--shadow-xl);
  animation: home-rise 860ms ease 180ms both;
}

.home-dashboard__card {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(19, 32, 64, 0.08);
  border-radius: 24px;
  padding: 1.35rem;
  box-shadow: 0 10px 30px rgba(19, 32, 64, 0.05);
}

.home-dashboard__card--overview {
  grid-area: overview;
}

.home-dashboard__side {
  grid-area: side;
  display: grid;
  gap: var(--space-4);
}

.home-dashboard__card--opportunities {
  grid-area: opportunities;
}

.home-dashboard__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-4);
  margin-bottom: var(--space-5);
}

.home-dashboard__label {
  display: inline-flex;
  font-size: 11px;
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 0.45rem;
}

.home-dashboard__title {
  font-size: 1.15rem;
}

.home-dashboard__trend {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  background: rgba(21, 159, 103, 0.1);
  color: var(--color-available);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
}

.home-dashboard__metric-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-4);
  margin-bottom: var(--space-5);
}

.home-dashboard__metric-value {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.7rem);
  line-height: 1;
  color: var(--color-text-primary);
}

.home-dashboard__metric-copy,
.home-dashboard__metric-support span {
  color: var(--color-text-secondary);
  font-size: var(--text-sm);
}

.home-dashboard__metric-support {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.2rem;
}

.home-dashboard__metric-support strong {
  font-size: 1.4rem;
  color: var(--color-available);
}

.home-dashboard__chart {
  position: relative;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(122, 92, 255, 0.06) 0%, rgba(122, 92, 255, 0.01) 100%);
  padding: 1rem 1rem 0.75rem;
  overflow: hidden;
}

.home-dashboard__chart svg {
  width: 100%;
  height: 10rem;
}

.home-dashboard__chart-scale {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.35rem;
  margin-top: 0.35rem;
  color: var(--color-text-muted);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
}

.home-dashboard__mini-title {
  display: block;
  font-size: 1rem;
  line-height: 1.45;
  margin-bottom: 0.55rem;
}

.home-dashboard__mini-copy {
  font-size: var(--text-sm);
  line-height: 1.7;
  margin-bottom: var(--space-3);
}

.home-dashboard__mini-link {
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
}

.home-dashboard__gauge-wrap {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: center;
}

.home-dashboard__gauge {
  --value: 0;
  position: relative;
  width: 7.25rem;
  height: 7.25rem;
  border-radius: 50%;
  background:
    conic-gradient(
      from -90deg,
      #31b879 calc(var(--value) * 1%),
      rgba(19, 32, 64, 0.08) 0
    );
  display: grid;
  place-items: center;
}

.home-dashboard__gauge::before {
  content: '';
  position: absolute;
  inset: 0.7rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: inset 0 1px 0 rgba(19, 32, 64, 0.04);
}

.home-dashboard__gauge-core {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.home-dashboard__gauge-core strong {
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1;
}

.home-dashboard__gauge-core span,
.home-dashboard__gauge-copy span {
  color: var(--color-text-muted);
  font-size: var(--text-xs);
}

.home-dashboard__gauge-copy {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.home-opportunity-list {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.home-opportunity-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: 1rem 1.1rem;
  border-radius: 18px;
  background: rgba(245, 247, 255, 0.92);
  border: 1px solid rgba(19, 32, 64, 0.06);
  transition:
    transform var(--transition-fast),
    border-color var(--transition-fast),
    box-shadow var(--transition-fast);
}

.home-opportunity-row:hover {
  transform: translateY(-1px);
  border-color: rgba(122, 92, 255, 0.12);
  box-shadow: var(--shadow-sm);
}

.home-opportunity-row__body {
  min-width: 0;
}

.home-opportunity-row__name {
  display: block;
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.home-opportunity-row__meta {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem;
  color: var(--color-text-secondary);
  font-size: var(--text-sm);
}

.home-opportunity-row__dot {
  width: 0.22rem;
  height: 0.22rem;
  border-radius: 50%;
  background: var(--color-text-muted);
}

.home-opportunity-row__score {
  text-align: right;
  flex-shrink: 0;
}

.home-opportunity-row__score strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.3rem;
}

.home-opportunity-row__score span {
  color: var(--color-text-muted);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
}

.home-trust {
  padding: var(--space-10) 0;
  border-top: 1px solid rgba(19, 32, 64, 0.05);
  border-bottom: 1px solid rgba(19, 32, 64, 0.05);
}

.home-trust__label {
  text-align: center;
  font-size: var(--text-base);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-6);
}

.home-trust__logos {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: var(--space-4);
  align-items: center;
}

.home-trust__logo {
  text-align: center;
  color: rgba(79, 93, 120, 0.7);
  font-family: var(--font-display);
  font-size: clamp(0.95rem, 1.6vw, 1.3rem);
  line-height: 1.2;
}

.home-feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-4);
}

.home-feature-card {
  padding: 1.6rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(19, 32, 64, 0.08);
  box-shadow: var(--shadow-sm);
  animation: home-rise 720ms ease both;
}

.home-feature-card:nth-child(2) { animation-delay: 70ms; }
.home-feature-card:nth-child(3) { animation-delay: 140ms; }
.home-feature-card:nth-child(4) { animation-delay: 210ms; }

.home-feature-card__icon {
  display: inline-grid;
  place-items: center;
  width: 3.2rem;
  height: 3.2rem;
  margin-bottom: 1rem;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(122, 92, 255, 0.12) 0%, rgba(79, 124, 255, 0.08) 100%);
  color: var(--color-accent-violet);
}

.home-feature-card__icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

.home-feature-card__title {
  font-size: 1.3rem;
  margin-bottom: 0.65rem;
}

.home-feature-card__copy {
  font-size: 1rem;
  line-height: 1.8;
}

.home-spotlight-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.85fr);
  gap: var(--space-5);
}

.home-spotlight-card,
.home-quote-card,
.home-report-card,
.home-final-cta {
  border-radius: 28px;
  border: 1px solid rgba(19, 32, 64, 0.08);
  box-shadow: var(--shadow-md);
}

.home-spotlight-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.8fr);
  gap: var(--space-5);
  padding: clamp(1.5rem, 3vw, 2rem);
  background: linear-gradient(135deg, rgba(122, 92, 255, 0.12) 0%, rgba(255, 255, 255, 0.96) 68%);
  overflow: hidden;
}

.home-spotlight-card__title {
  font-size: clamp(2rem, 3vw, 2.8rem);
  margin-bottom: 0.9rem;
}

.home-spotlight-card__body {
  max-width: 34rem;
  margin-bottom: var(--space-6);
}

.home-spotlight-card__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-3);
  margin-bottom: var(--space-6);
}

.home-spotlight-card__stat {
  padding: 0.95rem 1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(19, 32, 64, 0.06);
}

.home-spotlight-card__stat span {
  display: block;
  color: var(--color-text-muted);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  margin-bottom: 0.35rem;
}

.home-spotlight-card__stat strong {
  font-size: 1rem;
}

.home-spotlight-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.home-spotlight-card__visual {
  position: relative;
  min-height: 14rem;
  display: grid;
  place-items: center;
}

.home-spotlight-card__badge {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
  padding: 0.7rem 1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--color-available);
  font-family: var(--font-display);
  font-size: 1.55rem;
  box-shadow: var(--shadow-sm);
}

.home-spotlight-card__orb {
  width: clamp(10rem, 18vw, 13rem);
  height: clamp(10rem, 18vw, 13rem);
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.18) 32%, transparent 36%),
    linear-gradient(145deg, #9d83ff 0%, #7050ff 75%);
  box-shadow:
    inset 0 0 0 10px rgba(255, 255, 255, 0.15),
    0 26px 50px rgba(112, 80, 255, 0.22);
}

.home-spotlight-card__visual svg {
  position: absolute;
  inset: auto 0 0 0;
  width: 100%;
  height: 11rem;
}

.home-quote-card {
  padding: 1.75rem;
  background: rgba(255, 255, 255, 0.9);
}

.home-quote-card__mark {
  display: block;
  color: var(--color-available);
  font-family: var(--font-display);
  font-size: 4rem;
  line-height: 0.8;
  margin-bottom: 0.75rem;
}

.home-quote-card__quote {
  font-size: clamp(1.2rem, 2vw, 1.75rem);
  line-height: 1.75;
  color: var(--color-text-primary);
  margin-bottom: var(--space-8);
}

.home-quote-card__meta {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.home-quote-card__meta span,
.home-quote-card__rating {
  color: var(--color-text-secondary);
  font-size: var(--text-sm);
}

.home-quote-card__rating {
  margin-top: var(--space-5);
}

.home-report-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-4);
}

.home-report-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.88);
  transition:
    transform var(--transition-fast),
    border-color var(--transition-fast),
    box-shadow var(--transition-fast);
}

.home-report-card:hover {
  transform: translateY(-2px);
  border-color: rgba(122, 92, 255, 0.14);
  box-shadow: var(--shadow-lg);
}

.home-report-card__title {
  font-size: 1.35rem;
  line-height: 1.35;
}

.home-report-card__copy {
  flex: 1;
  font-size: 1rem;
  line-height: 1.75;
}

.home-report-card__meta {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
}

.home-final-cta {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: var(--space-5);
  align-items: center;
  padding: 1.5rem 1.75rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.92) 0%, rgba(245, 247, 255, 0.96) 100%);
}

.home-final-cta__icon {
  display: grid;
  place-items: center;
  width: 4rem;
  height: 4rem;
  border-radius: 22px;
  background: linear-gradient(135deg, #7a5cff 0%, #5d7bff 100%);
  color: #ffffff;
  box-shadow: 0 20px 38px rgba(122, 92, 255, 0.2);
}

.home-final-cta__icon svg {
  width: 1.55rem;
  height: 1.55rem;
}

.home-final-cta__title {
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  margin-bottom: 0.4rem;
}

.home-final-cta__body {
  max-width: 36rem;
}

.home-final-cta__button {
  min-width: 12rem;
}

@keyframes home-rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1100px) {
  .home-hero__layout,
  .home-spotlight-grid {
    grid-template-columns: 1fr;
  }

  .home-dashboard {
    grid-template-columns: 1fr;
    grid-template-areas:
      "overview"
      "side"
      "opportunities";
  }

  .home-spotlight-card {
    grid-template-columns: 1fr;
  }

  .home-trust__logos,
  .home-feature-grid,
  .home-report-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-final-cta {
    grid-template-columns: auto 1fr;
  }

  .home-final-cta__button {
    grid-column: 1 / -1;
    justify-self: start;
  }
}

@media (max-width: 768px) {
  .home-shell {
    padding: 0 var(--space-4);
  }

  .home-section {
    padding: var(--space-16) 0;
  }

  .home-hero {
    padding-top: var(--space-12);
  }

  .home-dashboard__metric-row,
  .home-dashboard__header,
  .home-dashboard__gauge-wrap,
  .home-section__head {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }

  .home-dashboard__metric-support {
    align-items: flex-start;
  }

  .home-trust__logos,
  .home-feature-grid,
  .home-report-grid,
  .home-spotlight-card__stats {
    grid-template-columns: 1fr;
  }

  .home-final-cta {
    grid-template-columns: 1fr;
  }

  .home-final-cta__button {
    width: 100%;
    justify-self: stretch;
  }
}

@media (max-width: 560px) {
  .home-hero__button {
    width: 100%;
  }

  .home-dashboard,
  .home-spotlight-card,
  .home-quote-card,
  .home-report-card,
  .home-final-cta {
    border-radius: 24px;
  }

  .home-dashboard__card,
  .home-feature-card {
    border-radius: 20px;
  }
}
