.page-home {
  overflow-x: hidden;
  background: var(--c-bg);
  color: var(--c-text);
}

.page-home .section-head {
  display: flex;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 40px;
}

.page-home .section-index {
  font-family: var(--font-num);
  font-size: 56px;
  line-height: 1;
  font-weight: 500;
  color: var(--c-primary);
  padding-bottom: 4px;
}

.page-home .section-index--light {
  color: rgba(255, 255, 255, 0.7);
}

.page-home .section-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(26px, 4vw, 40px);
  line-height: 1.2;
  letter-spacing: 0.02em;
  color: var(--c-text);
  margin: 0 0 8px;
}

.page-home .section-title--light {
  color: var(--c-white);
}

.page-home .section-lead {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--c-muted);
  margin: 0;
}

.page-home .section-lead--light {
  color: rgba(255, 255, 255, 0.78);
}

.page-home .home-hero {
  position: relative;
  background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-jewel-teal) 60%, var(--c-jewel-teal) 100%);
  color: var(--c-white);
  padding: 48px 0 64px;
  overflow: hidden;
}

.page-home .home-hero::before {
  content: "";
  position: absolute;
  top: -140px;
  right: -80px;
  width: 360px;
  height: 360px;
  border: 32px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}

.page-home .home-hero::after {
  content: "";
  position: absolute;
  left: -60px;
  bottom: 40px;
  width: 200px;
  height: 200px;
  background: rgba(243, 156, 18, 0.12);
  border-radius: 40px;
  transform: rotate(18deg);
}

.page-home .home-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.page-home .home-hero__text {
  max-width: 640px;
}

.page-home .home-hero__kicker {
  display: inline-block;
  margin-bottom: 16px;
}

.page-home .home-hero__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(32px, 6vw, 52px);
  line-height: 1.15;
  letter-spacing: 0.02em;
  margin: 0 0 20px;
  color: var(--c-white);
}

.page-home .home-hero__lead {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.88);
  margin: 0 0 28px;
}

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

.page-home .home-hero .btn--outline {
  border-color: rgba(255, 255, 255, 0.7);
  color: var(--c-white);
}

.page-home .home-hero .btn--outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--c-white);
}

.page-home .home-hero__figure {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(7, 46, 66, 0.35);
}

.page-home .home-hero__image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  max-width: 100%;
}

.page-home .home-preview {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  padding-top: 8px;
}

.page-home .home-preview__hint {
  grid-column: 1 / -1;
  margin: 0;
  font-family: var(--font-body);
  font-size: 14px;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
}

.page-home .preview-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-md);
  padding: 20px;
  color: var(--c-white);
  text-decoration: none;
  transition: transform 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}

.page-home .preview-card:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.34);
  transform: translateY(-4px);
}

.page-home .preview-card__num {
  font-family: var(--font-num);
  font-size: 24px;
  line-height: 1;
  color: var(--c-accent);
}

.page-home .preview-card__name {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 17px;
}

.page-home .preview-card__desc {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.72);
}

.page-home .home-dashboard {
  background: var(--c-surface);
  padding: 64px 0;
}

.page-home .home-dashboard__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: center;
}

.page-home .home-dashboard__figure {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(15, 76, 92, 0.12);
}

.page-home .home-dashboard__figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  max-width: 100%;
}

.page-home .home-dashboard__stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.page-home .stat-card--homepage {
  position: relative;
  background: var(--c-white);
  border: 1px solid var(--c-surface);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  margin: 0;
  transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.page-home .stat-card--homepage::before {
  content: "";
  position: absolute;
  left: 0;
  top: 16px;
  bottom: 16px;
  width: 4px;
  border-radius: 0 4px 4px 0;
  background: var(--c-primary);
}

.page-home .stat-card--homepage:hover {
  box-shadow: 0 12px 32px rgba(14, 90, 138, 0.14);
  transform: translateY(-3px);
  border-color: rgba(14, 90, 138, 0.3);
}

.page-home .stat-card--homepage .stat-card__value {
  font-family: var(--font-num);
  font-size: 38px;
  line-height: 1.1;
  font-weight: 700;
  color: var(--c-primary);
  margin: 0 0 8px;
  font-variant-numeric: tabular-nums;
}

.page-home .stat-card--homepage .stat-card__label {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  color: var(--c-text);
  margin: 0 0 6px;
}

.page-home .stat-card--homepage .stat-card__extra {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.6;
  color: var(--c-muted);
  margin: 0;
}

.page-home .home-tools {
  position: relative;
  background: linear-gradient(145deg, var(--c-jewel-indigo) 0%, var(--c-jewel-teal) 100%);
  color: var(--c-white);
  padding: 72px 0;
  overflow: hidden;
}

.page-home .home-tools::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(115deg, transparent 0%, transparent 40%, rgba(255, 255, 255, 0.06) 40%, rgba(255, 255, 255, 0.06) 48%, transparent 48%);
  pointer-events: none;
}

.page-home .home-tools__head,
.page-home .home-tools__grid,
.page-home .home-tools__figure-wrap {
  position: relative;
  z-index: 1;
}

.page-home .home-tools__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 36px;
}

.page-home .tool-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-lg);
  padding: 28px;
  color: var(--c-white);
  text-decoration: none;
  transition: transform 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}

.page-home .tool-card:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-5px);
}

.page-home .tool-card__icon {
  display: block;
  color: var(--c-accent);
  margin-bottom: 2px;
}

.page-home .tool-card__title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  margin: 0;
  color: var(--c-white);
}

.page-home .tool-card__desc {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

.page-home .tool-card__version {
  font-family: var(--font-num);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.6);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 12px;
  margin-top: auto;
}

.page-home .home-tools__figure-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 48px rgba(7, 46, 66, 0.35);
}

.page-home .home-tools__figure {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  max-width: 100%;
}

.page-home .home-reports {
  background: var(--c-bg);
  padding: 64px 0;
}

.page-home .report-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
}

.page-home .report-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  background: var(--c-white);
  border: 1px solid var(--c-surface);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.page-home .report-item:hover {
  box-shadow: 0 10px 28px rgba(15, 76, 92, 0.1);
  transform: translateY(-2px);
}

.page-home .report-item__link {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--c-text);
  text-decoration: none;
  transition: color 0.2s ease;
}

.page-home .report-item__link:hover {
  color: var(--c-primary);
}

.page-home .report-item__meta {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--c-muted);
}

.page-home .home-reports__more {
  margin-top: 32px;
  text-align: center;
}

.page-home .home-trust {
  background: linear-gradient(120deg, var(--c-jewel-teal) 0%, var(--c-primary) 100%);
  color: var(--c-white);
  padding: 72px 0;
}

.page-home .home-trust__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

.page-home .home-trust__media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 56px rgba(7, 46, 66, 0.4);
}

.page-home .home-trust__image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  max-width: 100%;
}

.page-home .home-trust__body .section-lead {
  margin-bottom: 24px;
}

.page-home .trust-list {
  list-style: none;
  margin: 0 0 32px;
  padding: 0;
  display: grid;
  gap: 14px;
}

.page-home .trust-list li {
  position: relative;
  padding-left: 20px;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.88);
}

.page-home .trust-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-accent);
}

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

.page-home .home-trust .btn--outline {
  border-color: rgba(255, 255, 255, 0.7);
  color: var(--c-white);
}

.page-home .home-trust .btn--outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--c-white);
}

@media (min-width: 640px) {
  .page-home .home-preview {
    grid-template-columns: repeat(2, 1fr);
  }
  .page-home .home-dashboard__stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .page-home .home-hero {
    padding-top: 64px;
    padding-bottom: 80px;
  }
  .page-home .home-hero__inner {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    column-gap: 48px;
  }
  .page-home .home-preview {
    grid-column: 1 / -1;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-top: 8px;
  }
  .page-home .home-dashboard {
    padding: 88px 0;
  }
  .page-home .home-dashboard__grid {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 48px;
  }
  .page-home .home-tools {
    padding: 96px 0;
  }
  .page-home .home-tools__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
  .page-home .home-tools__figure-wrap {
    max-width: 820px;
    margin: 0 auto;
  }
  .page-home .home-reports {
    padding: 88px 0;
  }
  .page-home .report-item {
    flex-direction: row;
    align-items: center;
    gap: 16px;
  }
  .page-home .report-item__meta {
    margin-left: auto;
    white-space: nowrap;
  }
  .page-home .home-trust {
    padding: 96px 0;
  }
  .page-home .home-trust__inner {
    grid-template-columns: 0.95fr 1.05fr;
    gap: 56px;
  }
}

@media (min-width: 1200px) {
  .page-home .home-hero__title {
    font-size: 52px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .preview-card,
  .page-home .stat-card--homepage,
  .page-home .tool-card,
  .page-home .report-item {
    transition: none;
    transform: none;
  }
}
