.public-hero {
  align-items: stretch;
  gap: 28px;
  grid-template-columns: 1fr;
  min-height: auto;
}

.home-hero-copy {
  margin: 0 auto;
  max-width: 820px;
  text-align: center;
}

.home-hero-copy .hero-copy {
  margin-left: auto;
  margin-right: auto;
}

.home-hero-copy h1 {
  margin-left: auto;
  margin-right: auto;
}

.home-hero-copy .hero-actions {
  justify-content: center;
}

.home-hero-tertiary {
  margin: 12px 0 0;
}

.home-hero-tertiary a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.home-hero-tertiary a:hover,
.home-hero-tertiary a:focus-visible {
  color: var(--accent);
  text-decoration: underline;
}

.home-paths {
  margin-top: 56px;
}

.home-path-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 4px;
}

.home-path-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  color: inherit;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.home-path-card:hover,
.home-path-card:focus-visible {
  border-color: var(--accent);
  box-shadow: 0 16px 36px rgba(29, 36, 51, 0.12);
  transform: translateY(-2px);
}

.home-path-card__body {
  display: grid;
  gap: 8px;
  padding: 20px;
}

.home-path-card__title {
  display: block;
  font-size: 20px;
  font-weight: 800;
  margin: 0;
}

.home-path-card__description {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.home-path-card__sample {
  color: var(--ink);
  font-size: 14px;
  font-style: italic;
}

.home-path-card__meta {
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  font-size: 13px;
  font-weight: 600;
  gap: 8px 12px;
}

.home-demo {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  display: grid;
  gap: 12px;
  margin: 0 auto;
  max-width: var(--layout-max-width);
  padding: 0;
  width: 100%;
}

.home-demo-carousel {
  display: grid;
  gap: 10px;
}

.home-demo-track {
  aspect-ratio: 5 / 3;
  background: transparent;
  border: 0;
  border-radius: 0;
  overflow: hidden;
}

.home-demo-slide {
  display: none;
  height: 100%;
  margin: 0;
}

.home-demo-slide.is-active {
  display: block;
  height: 100%;
}

.home-demo-slide img {
  display: block;
  height: 100%;
  object-fit: contain;
  width: 100%;
}

.home-demo-controls {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: space-between;
}

.home-demo-actions {
  display: flex;
  justify-content: center;
}

.home-demo-arrow {
  align-items: center;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-size: 24px;
  font-weight: 800;
  height: 38px;
  justify-content: center;
  line-height: 1;
  width: 38px;
}

.home-demo-arrow:hover,
.home-demo-arrow:focus-visible {
  border-color: var(--accent);
  color: var(--accent);
}

.home-demo-dots {
  align-items: center;
  display: flex;
  gap: 8px;
  justify-content: center;
}

.home-demo-dot {
  background: var(--line);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  height: 9px;
  padding: 0;
  width: 9px;
}

.home-demo-dot.is-active {
  background: var(--accent);
  width: 24px;
}

.home-audience {
  margin-top: 56px;
}

.home-audience-list {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
}

.home-audience-list li {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  line-height: 1.5;
  padding: 18px 20px;
}

.home-own-phrases {
  margin-top: 56px;
}

.home-own-phrases-copy {
  color: var(--muted);
  line-height: 1.55;
  margin: 0 0 20px;
  max-width: 720px;
}

.home-regional-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.home-regional-heading {
  font-size: 18px;
  margin: 0 0 12px;
}

.home-regional-cards {
  display: grid;
  gap: 16px;
  margin-bottom: 12px;
}

.home-entry-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.home-own-phrases-more {
  margin: 16px 0 0;
}

.home-own-phrases-more a {
  color: var(--accent-dark);
  font-weight: 700;
  text-decoration: none;
}

.home-own-phrases-more a:hover,
.home-own-phrases-more a:focus-visible {
  text-decoration: underline;
}

@media (max-width: 760px) {
  .home-audience,
  .home-paths,
  .home-own-phrases {
    margin-top: 40px;
  }

  .home-audience-list,
  .home-path-grid,
  .home-regional-grid {
    grid-template-columns: 1fr;
  }

  .home-demo-actions .home-demo-cta {
    width: 100%;
  }
}

.home-our-story {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-top: 56px;
  padding: 32px 28px;
}

.home-our-story-inner {
  margin: 0 auto;
  max-width: 720px;
}

.home-our-story-copy p {
  color: var(--ink);
  line-height: 1.65;
  margin: 0 0 1rem;
}

.home-our-story-copy p:last-child {
  margin-bottom: 0;
}

.home-our-story-cta {
  display: inline-flex;
  margin-top: 1.25rem;
}

.home-our-story-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
}

.home-our-story-trust a {
  color: var(--text-muted, #475569);
  font-size: 0.875rem;
  text-decoration: none;
}

.home-our-story-trust a:hover,
.home-our-story-trust a:focus-visible {
  color: var(--accent);
  text-decoration: underline;
}

.home-our-story-trust span {
  color: var(--text-muted, #475569);
  font-size: 0.875rem;
}

@media (max-width: 760px) {
  .home-our-story {
    margin-top: 40px;
    padding: 24px 20px;
  }
}
