.page-home {
  --home-card-pad: 20px;
  --home-grid-gap: 18px;
  --home-section-y: 64px;
  background: var(--color-white);
  color: var(--color-text);
  font-family: var(--font-body);
  overflow-x: hidden;
}

.page-home img {
  display: block;
  width: 100%;
  height: auto;
}

.page-home a:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: 8px;
}

.page-home .site-container {
  max-width: var(--site-width);
  margin-inline: auto;
  padding-inline: 20px;
}

.page-home .home-kicker {
  display: inline-block;
  margin: 0 0 12px;
  padding: 4px 14px;
  border: 1px solid rgba(26, 75, 140, 0.16);
  border-radius: var(--radius-tag);
  background: rgba(184, 212, 232, 0.32);
  color: var(--color-primary);
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.page-home .home-hero {
  position: relative;
  padding: 28px 0 84px;
  background:
    radial-gradient(1100px 500px at 88% -10%, rgba(184, 212, 232, 0.65), transparent 60%),
    linear-gradient(140deg, rgba(26, 75, 140, 0.14), var(--color-white) 46%);
}

.page-home .home-hero__curve {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  width: 100%;
  height: 56px;
  display: block;
  pointer-events: none;
}

.page-home .home-hero__inner {
  display: grid;
  align-items: center;
  gap: 30px;
}

.page-home .home-breadcrumb {
  margin-bottom: 14px;
  font-family: var(--font-heading);
  font-size: 13px;
  color: var(--color-muted);
}

.page-home .home-breadcrumb a {
  color: var(--color-primary);
  text-decoration: none;
}

.page-home .home-breadcrumb a:hover {
  text-decoration: underline;
}

.page-home .home-hero__copy h1 {
  margin: 0 0 14px;
  color: var(--color-primary-dark);
  font-family: var(--font-heading);
  font-size: clamp(34px, 5.4vw, 56px);
  line-height: 1.18;
  letter-spacing: 0.02em;
}

.page-home .hero-lede {
  max-width: 36em;
  margin: 0 0 28px;
  color: #2c3f55;
  font-size: 17px;
  line-height: 1.9;
}

.page-home .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.page-home .hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 34px 0 0;
  padding-top: 20px;
  border-top: 1px dashed rgba(26, 75, 140, 0.32);
}

.page-home .hero-facts__item {
  padding-left: 12px;
  border-left: 2px solid var(--color-accent);
}

.page-home .hero-facts dt {
  color: var(--color-muted);
  font-family: var(--font-heading);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.page-home .hero-facts dd {
  margin: 4px 0 0;
  color: var(--color-primary);
  font-family: var(--font-heading);
  font-size: 25px;
  font-weight: 700;
}

.page-home .hero-preview {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(26, 75, 140, 0.08);
  border-radius: var(--radius-card);
  background: var(--color-white);
  box-shadow: var(--shadow-float);
  min-width: 0;
}

.page-home .hero-preview__media {
  position: relative;
  min-height: 200px;
  background: var(--color-glacier);
}

.page-home .hero-preview__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-home .hero-preview__body {
  position: relative;
  z-index: 2;
  margin: -34px 14px 14px;
  padding: 18px 18px 16px;
  border-radius: var(--radius-card);
  background: var(--color-white);
  box-shadow: var(--shadow-float);
}

.page-home .hero-preview__body h2 {
  margin: 14px 0 12px;
  color: var(--color-primary-dark);
  font-family: var(--font-heading);
  font-size: 24px;
  line-height: 1.3;
}

.page-home .preview-list {
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--color-gray);
}

.page-home .preview-list__item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--color-gray);
  font-size: 14px;
}

.page-home .preview-list__cat {
  border-radius: var(--radius-tag);
  background: var(--color-primary);
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: 12px;
  padding: 2px 10px;
}

.page-home .preview-list__name {
  line-height: 1.5;
  overflow-wrap: break-word;
}

.page-home .preview-list__badge {
  color: var(--color-accent);
  font-family: var(--font-heading);
  font-size: 12px;
  white-space: nowrap;
}

.page-home .home-section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 14px;
  margin-bottom: 28px;
}

.page-home .home-section-head h2 {
  margin: 0;
  color: var(--color-primary-dark);
  font-family: var(--font-heading);
  font-size: clamp(28px, 3.6vw, 40px);
  line-height: 1.25;
  letter-spacing: 0.02em;
}

.page-home .home-portal,
.page-home .home-story {
  padding: var(--home-section-y) 0;
}

.page-home .portal-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--home-grid-gap);
}

.page-home .entry-card {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
  padding: 16px 18px;
  border: 1px solid rgba(26, 75, 140, 0.1);
  border-radius: var(--radius-card);
  background: var(--color-white);
  box-shadow: var(--shadow-card);
  text-decoration: none;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.page-home .entry-card:hover {
  transform: translateY(-3px);
  border-color: rgba(26, 75, 140, 0.25);
  box-shadow: var(--shadow-float);
}

.page-home .entry-card__index {
  flex-shrink: 0;
  padding: 4px 9px;
  border: 1px solid rgba(26, 75, 140, 0.28);
  border-radius: var(--radius-tag);
  color: var(--color-primary);
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
}

.page-home .entry-card__what {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
  min-width: 0;
}

.page-home .entry-card__title {
  margin: 0;
  color: var(--color-text);
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
}

.page-home .entry-card__desc {
  color: var(--color-muted);
  font-size: 13px;
  line-height: 1.5;
  overflow-wrap: break-word;
}

.page-home .entry-card__arrow {
  flex-shrink: 0;
  color: var(--color-accent);
  font-size: 20px;
  line-height: 1;
}

.page-home .home-updates {
  padding: var(--home-section-y) 0;
  background-color: #edf3f9;
}

.page-home .home-updates__layout {
  display: grid;
  gap: 32px;
  align-items: center;
}

.page-home .home-updates__intro {
  min-width: 0;
}

.page-home .home-updates__heading {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.page-home .home-updates__intro h2,
.page-home .home-story__copy h2 {
  margin: 0 0 16px;
  color: var(--color-primary-dark);
  font-family: var(--font-heading);
  font-size: clamp(28px, 3.6vw, 40px);
  line-height: 1.25;
}

.page-home .home-updates__intro > p {
  margin: 0 0 12px;
  color: #2c3f55;
  line-height: 1.9;
}

.page-home .home-vertical-note {
  display: inline-block;
  margin-top: 2px;
  padding-left: 8px;
  border-left: 2px solid var(--color-accent);
  color: var(--color-primary);
  font-family: var(--font-heading);
  font-size: 12px;
  letter-spacing: 0.16em;
  writing-mode: vertical-rl;
  text-orientation: mixed;
}

.page-home .check-list {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.page-home .check-list li {
  position: relative;
  padding-left: 26px;
  color: #2c3f55;
  line-height: 1.6;
}

.page-home .check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--color-accent);
  font-weight: 700;
}

.page-home .home-updates__intro .btn {
  margin-top: 22px;
}

.page-home .home-updates__feed {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(26, 75, 140, 0.08);
  border-radius: var(--radius-card);
  background: var(--color-white);
  box-shadow: var(--shadow-card);
}

.page-home .updates-figure img {
  height: 220px;
  object-fit: cover;
}

.page-home .update-list {
  margin: 0;
  padding: 4px 18px 18px;
  list-style: none;
}

.page-home .update-list__item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px solid var(--color-gray);
  font-size: 15px;
}

.page-home .update-list__item:last-child {
  border-bottom: 0;
}

.page-home .update-list__badge {
  flex-shrink: 0;
  padding: 2px 10px;
  border-radius: var(--radius-tag);
  background: rgba(184, 212, 232, 0.42);
  color: var(--color-primary);
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.page-home .update-list__text {
  line-height: 1.6;
  overflow-wrap: break-word;
}

.page-home .home-stats {
  position: relative;
  padding: 0 0 var(--home-section-y);
  background:
    radial-gradient(900px 380px at 12% 0%, rgba(212, 160, 23, 0.14), transparent 55%),
    linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
  color: var(--color-white);
}

.page-home .home-stats__curve {
  display: block;
  width: 100%;
  height: 56px;
  pointer-events: none;
}

.page-home .home-stats h2 {
  margin: 0;
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: clamp(28px, 3.6vw, 40px);
  line-height: 1.25;
}

.page-home .home-stats .home-kicker {
  border-color: rgba(212, 160, 23, 0.4);
  background: rgba(212, 160, 23, 0.16);
  color: var(--color-gold);
}

.page-home .home-section-head--stats {
  margin-top: 28px;
}

.page-home .stats-board {
  display: grid;
  gap: 20px;
  margin-top: 10px;
}

.page-home .stats-board__main {
  min-width: 0;
  padding: 24px;
  border: 1px solid rgba(212, 160, 23, 0.45);
  border-radius: var(--radius-card);
  background: rgba(247, 249, 252, 0.08);
}

.page-home .stats-board__main img {
  margin-top: 0;
  max-width: 100%;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: var(--shadow-card);
}

.page-home .stats-board__label {
  margin: 20px 0 8px;
  color: rgba(255, 255, 255, 0.78);
  font-family: var(--font-heading);
  font-size: 14px;
  letter-spacing: 0.06em;
}

.page-home .stats-board__number {
  margin: 0;
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: clamp(56px, 8vw, 82px);
  font-weight: 700;
  line-height: 1;
}

.page-home .stats-board__number span {
  color: var(--color-gold);
  font-size: 0.55em;
  vertical-align: top;
}

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

.page-home .stats-board__item {
  min-width: 0;
  padding: 20px 12px;
  border-bottom: 3px solid var(--color-gold);
  border-radius: var(--radius-card);
  background: rgba(247, 249, 252, 0.1);
  text-align: center;
}

.page-home .stats-board__item strong {
  display: block;
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: 27px;
  line-height: 1.25;
  overflow-wrap: break-word;
}

.page-home .stats-board__item span {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
  line-height: 1.5;
}

.page-home .home-story__layout {
  display: grid;
  gap: 26px;
  align-items: center;
}

.page-home .home-story .home-kicker {
  border-color: rgba(226, 87, 48, 0.2);
  background: rgba(226, 87, 48, 0.08);
  color: var(--color-accent);
}

.page-home .home-story__media img {
  height: 240px;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  object-fit: cover;
}

.page-home .home-story__copy p {
  margin: 0 0 16px;
  color: #2c3f55;
  line-height: 1.9;
}

.page-home .home-story__copy .btn {
  margin-top: 4px;
}

.page-home .home-trust {
  position: relative;
  overflow: hidden;
  padding: var(--home-section-y) 0;
  background: var(--color-deep);
  color: var(--color-white);
}

.page-home .home-trust::after {
  content: "";
  position: absolute;
  right: -10%;
  bottom: -30%;
  width: 70%;
  height: 70%;
  background: radial-gradient(circle, rgba(184, 212, 232, 0.24), transparent 65%);
  pointer-events: none;
}

.page-home .home-trust__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 30px;
}

.page-home .home-trust h2 {
  margin: 18px 0 0;
  max-width: 13em;
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.35;
}

.page-home .trust-points__list {
  display: grid;
  gap: 12px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}

.page-home .trust-points__list li {
  position: relative;
  padding-left: 22px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.7;
}

.page-home .trust-points__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background: var(--color-gold);
  transform: rotate(45deg);
}

.page-home .trust-points__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

@media (min-width: 720px) {
  .page-home {
    --home-section-y: 76px;
  }

  .page-home .home-hero {
    padding-top: 40px;
  }

  .page-home .home-hero__curve {
    height: 78px;
  }

  .page-home .portal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-home .stats-board {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    align-items: stretch;
  }

  .page-home .stats-board__main img {
    height: 180px;
  }

  .page-home .home-trust__inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: 36px;
  }
}

@media (min-width: 960px) {
  .page-home {
    --home-section-y: 88px;
  }

  .page-home .home-hero__inner {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    gap: 52px;
  }

  .page-home .hero-preview__media {
    min-height: 240px;
  }

  .page-home .portal-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .page-home .home-updates__layout {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 52px;
  }

  .page-home .home-updates__intro .btn {
    margin-top: 26px;
  }

  .page-home .updates-figure img {
    height: 260px;
  }

  .page-home .home-stats__curve {
    height: 88px;
  }

  .page-home .home-story__layout {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 60px;
  }

  .page-home .home-story__media img {
    height: 300px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home *,
  .page-home *::before,
  .page-home *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
