.page-home {
  --home-section-pad: clamp(56px, 8vw, 110px);
  --home-gold-grad: linear-gradient(135deg, #D4AF37 0%, #E8C95D 100%);
}

.page-home .hero {
  position: relative;
  background: radial-gradient(circle at 78% 12%, rgba(212, 175, 55, 0.16), transparent 46%), linear-gradient(132deg, #071226 0%, var(--navy) 55%, #1D3B70 100%);
  color: #fff;
  padding: calc(var(--header-h) + 24px) 0 56px;
  overflow: hidden;
}

.page-home .hero__pattern {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.page-home .hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 44px;
  align-items: center;
}

.page-home .hero__content {
  max-width: 720px;
}

.page-home .display-title {
  font-size: clamp(2.8rem, 9vw, 5.6rem);
  line-height: 1.04;
  letter-spacing: 0.015em;
  margin: 18px 0 20px;
  color: #fff;
}

.page-home .hero__lead {
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.82);
  max-width: 560px;
  margin-bottom: 28px;
}

.page-home .hero-search {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border-radius: 999px;
  padding: 8px 8px 8px 22px;
  box-shadow: var(--shadow-md);
  max-width: 560px;
}

.page-home .hero-search .search-input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--text);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.page-home .hero-search .btn {
  border-radius: 999px;
  padding: 12px 24px;
  font-size: 0.95rem;
  white-space: nowrap;
}

.page-home .hero-search__results.search-results {
  max-width: 560px;
  margin-top: 14px;
  display: block;
}

.page-home .hero-search__hint.search-hint {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.62);
  display: block;
}

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

.page-home .hero__actions .btn--ghost {
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}

.page-home .hero__visual img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-md);
}

.page-home .section-group {
  padding: var(--home-section-pad) 0;
  position: relative;
}

.page-home .section-group--white {
  background: #fff;
  color: var(--text);
}

.page-home .section-group--light {
  background: var(--bg);
  color: var(--text);
}

.page-home .section-group--navy {
  background: var(--navy);
  color: #fff;
}

.page-home .section-group--gold {
  background: var(--home-gold-grad);
  color: var(--navy);
}

.page-home .section-group--dark {
  background: #071224;
  color: #fff;
}

.page-home .section-head {
  max-width: 740px;
  margin-bottom: 44px;
}

.page-home .section-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1.15;
  margin: 14px 0;
  letter-spacing: 0.01em;
}

.page-home .section-group--gold .section-title {
  color: var(--navy);
}

.page-home .section-lead {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--muted);
}

.page-home .section-group--navy .section-lead,
.page-home .section-group--dark .section-lead {
  color: rgba(255, 255, 255, 0.72);
}

.page-home .section-group--gold .section-lead {
  color: rgba(10, 31, 68, 0.74);
}

.page-home .legend__item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.page-home .legend__key--navy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  font-size: 13px;
  font-weight: 600;
}

.page-home .section-group--navy .legend__item,
.page-home .section-group--dark .legend__item {
  color: rgba(255, 255, 255, 0.8);
}

.page-home .section-group--white .legend__item,
.page-home .section-group--light .legend__item {
  color: var(--navy);
}

.page-home .section-group--gold .legend__item {
  color: var(--navy);
}

.page-home .section-group--gold .legend__item .legend__key--navy {
  background: var(--navy);
  color: var(--gold);
}

.page-home .grid {
  display: grid;
  gap: 20px;
}

.page-home .grid--3,
.page-home .grid--4 {
  grid-template-columns: 1fr;
}

.page-home .entry-grid {
  gap: 24px;
}

.page-home .entry-card {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.page-home .entry-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.page-home .entry-card__visual {
  margin: -24px -24px 20px;
  border-radius: var(--radius) var(--radius) 0 0;
  overflow: hidden;
}

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

.page-home .entry-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: var(--navy);
  margin-bottom: 18px;
}

.page-home .entry-card__icon svg {
  display: block;
}

.page-home .card__title {
  font-size: 1.2rem;
  line-height: 1.4;
  margin: 0 0 10px;
  color: var(--navy);
}

.page-home .entry-card p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.65;
  margin: 0 0 14px;
}

.page-home .entry-card__link {
  display: inline-flex;
  align-items: center;
  margin-top: auto;
  padding-top: 18px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--navy);
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-underline-offset: 4px;
}

.page-home .entry-card__link:hover {
  color: var(--navy-light);
}

.page-home .quick-search__grid {
  display: grid;
  gap: 40px;
}

.page-home .quick-search__panel {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  padding: 28px;
}

.page-home .quick-search__steps {
  list-style: none;
  padding: 0;
  margin: 24px 0;
  display: grid;
  gap: 14px;
}

.page-home .quick-search__steps li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
}

.page-home .quick-search__steps .mono {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 12px;
}

.page-home .quick-search__feature-title {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.page-home .quick-search__feature ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.page-home .quick-search__feature li {
  padding: 12px 14px;
  border-left: 2px solid var(--gold);
  background: rgba(255, 255, 255, 0.04);
  border-radius: 0 8px 8px 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.95rem;
}

.page-home .app-download__grid {
  display: grid;
  gap: 40px;
  align-items: center;
}

.page-home .app-download__media img {
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
  display: block;
  border-radius: 26px;
  box-shadow: var(--shadow-md);
  border: 4px solid rgba(255, 255, 255, 0.55);
}

.page-home .app-download__lead {
  font-size: 1.05rem;
  line-height: 1.75;
  color: rgba(10, 31, 68, 0.8);
}

.page-home .app-download__points {
  list-style: none;
  padding: 0;
  margin: 18px 0 28px;
  display: grid;
  gap: 10px;
}

.page-home .app-download__points li {
  position: relative;
  padding-left: 22px;
  font-weight: 500;
}

.page-home .app-download__points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  background: var(--navy);
  border-radius: 50%;
}

.page-home .update-grid {
  display: grid;
  gap: 40px;
}

.page-home .update-grid__chart img {
  width: 100%;
  height: auto;
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
}

.page-home .update-grid__list {
  display: grid;
  gap: 20px;
}

.page-home .update-item {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  border-radius: 0 10px 10px 0;
  padding: 18px 20px;
  box-shadow: var(--shadow-sm);
}

.page-home .update-item__meta {
  font-size: 13px;
  color: var(--gold);
  margin-bottom: 6px;
}

.page-home .update-item__title {
  font-size: 1.1rem;
  margin: 0 0 8px;
  color: var(--navy);
}

.page-home .update-item p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.65;
  margin: 0 0 8px;
}

.page-home .update-item a {
  color: var(--navy);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-underline-offset: 4px;
}

.page-home .trust-grid {
  gap: 20px;
  margin-top: 40px;
}

.page-home .trust-card {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 28px 12px;
  text-align: center;
}

.page-home .trust-card__num {
  display: block;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  line-height: 1.2;
  color: var(--gold);
  margin-bottom: 8px;
}

.page-home .trust-card__label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
}

.page-home .trust-statement {
  max-width: 720px;
  margin: 40px auto 0;
  text-align: center;
  color: rgba(255, 255, 255, 0.72);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 24px;
  font-size: 0.95rem;
}

.page-home .trust__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

.page-home .trust__actions .btn--ghost {
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
}

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

.page-home .hero__content {
  animation: phHeroFadeUp 0.7s var(--ease) both;
}

.page-home .hero__visual {
  animation: phHeroFadeUp 0.7s var(--ease) 0.15s both;
}

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

@media (prefers-reduced-motion: reduce) {
  .page-home .hero__content,
  .page-home .hero__visual {
    animation: none;
  }

  .page-home .entry-card {
    transition: none;
  }
}

@media (min-width: 768px) {
  .page-home .grid {
    gap: 28px;
  }

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

  .page-home .trust-grid {
    gap: 24px;
  }
}

@media (min-width: 992px) {
  .page-home .hero {
    padding: calc(var(--header-h) + 48px) 0 88px;
  }

  .page-home .hero__inner {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.9fr);
    gap: 60px;
  }

  .page-home .hero__visual img {
    border-radius: 24px;
    max-height: 540px;
    object-fit: cover;
  }

  .page-home .quick-search__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr);
    gap: 64px;
    align-items: center;
  }

  .page-home .app-download__grid {
    grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
    gap: 80px;
  }

  .page-home .update-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 60px;
    align-items: start;
  }
}

@media (min-width: 1024px) {
  .page-home .grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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