.page-home {
  --home-gap: 16px;
  --home-card-radius: 6px;
  --home-soft-line: rgba(255, 255, 255, 0.12);
  --home-gold-alpha: rgba(245, 183, 0, 0.16);
}

.page-home .hero {
  background:
    radial-gradient(ellipse at 82% 18%, var(--home-gold-alpha) 0%, transparent 52%),
    linear-gradient(135deg, var(--color-blue) 0%, var(--color-black) 62%, var(--color-black) 100%);
  color: var(--color-white);
  position: relative;
  overflow: hidden;
}

.page-home .hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-gold) 0%, var(--color-red) 100%);
  z-index: 1;
}

.page-home .hero__inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding-top: 52px;
  padding-bottom: 60px;
  position: relative;
}

.page-home .hero__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.page-home .hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5.4vw, 3.4rem);
  line-height: 1.16;
  letter-spacing: -0.02em;
  color: var(--color-white);
  margin: 14px 0 18px;
  max-width: 11em;
}

.page-home .hero__title-welcome {
  color: var(--color-gold);
  font-family: var(--font-mono);
  font-weight: 400;
  letter-spacing: 0.04em;
}

.page-home .hero__lead {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: rgba(250, 250, 250, 0.82);
  max-width: 34em;
  margin-bottom: 28px;
}

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

.page-home .hero .btn--ghost,
.page-home .trust .btn--ghost {
  border-color: rgba(250, 250, 250, 0.55);
  color: var(--color-white);
}

.page-home .hero .btn--ghost:hover,
.page-home .hero .btn--ghost:focus-visible,
.page-home .trust .btn--ghost:hover,
.page-home .trust .btn--ghost:focus-visible {
  border-color: var(--color-gold);
  color: var(--color-gold);
}

.page-home .hero__meta {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
}

.page-home .hero__meta li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  color: rgba(250, 250, 250, 0.66);
  letter-spacing: 0.02em;
}

.page-home .hero__visual {
  position: relative;
  min-height: 320px;
}

.page-home .hero__image-frame {
  border-color: var(--home-soft-line);
}

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

.page-home .hero__art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}

.page-home .hero__version-tag {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 3;
  background: var(--color-blue);
  border-color: rgba(255, 255, 255, 0.25);
}

.page-home .section-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 36px;
}

.page-home .section-head h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--color-black);
  margin: 0;
}

.page-home .section-head__desc {
  color: var(--color-gray-dark);
  max-width: 40em;
  margin: 8px 0 0;
  line-height: 1.7;
}

.page-home .upgrade {
  background: var(--color-white);
}

.page-home .upgrade__grid {
  display: grid;
  gap: var(--home-gap);
}

.page-home .upgrade__grid > *,
.page-home .access__grid > *,
.page-home .trust__inner > *,
.page-home .updates__inner > * {
  min-width: 0;
}

.page-home .upgrade__focus {
  background:
    radial-gradient(circle at 80% 90%, rgba(245, 183, 0, 0.2) 0%, transparent 50%),
    var(--color-blue);
  color: var(--color-white);
  border-radius: var(--home-card-radius);
  padding: 28px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 320px;
  gap: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.page-home .upgrade__focus .index-number {
  color: var(--color-gold);
}

.page-home .upgrade__focus-version {
  margin: 8px 0 2px;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(4.5rem, 10vw, 7.5rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  background: linear-gradient(110deg, #F5B700 20%, #FFF3C4 40%, #F5B700 60%);
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: homeGoldSweep 7s ease-in-out infinite;
}

.page-home .upgrade__focus-note {
  font-size: 0.8125rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(250, 250, 250, 0.62);
  font-family: var(--font-mono);
}

.page-home .upgrade__focus-desc {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: rgba(250, 250, 250, 0.78);
  margin: 0;
  max-width: 26em;
}

.page-home .upgrade__card {
  background: var(--color-gray-light);
  border: 1px solid var(--color-gray-mid);
  border-radius: var(--home-card-radius);
  padding: 24px;
  position: relative;
  transition: border-color 180ms ease, transform 180ms ease;
}

.page-home .upgrade__card:hover,
.page-home .upgrade__card:focus-within {
  border-color: var(--color-gold);
  transform: translateY(-2px);
}

.page-home .upgrade__card h3 {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  margin: 10px 0 8px;
  color: var(--color-black);
}

.page-home .upgrade__card p {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--color-gray-dark);
  margin: 0;
}

.page-home .access {
  background: var(--color-gray-light);
  position: relative;
}

.page-home .access::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--color-gold) 0%, transparent 60%);
}

.page-home .access__grid {
  display: grid;
  gap: var(--home-gap);
}

.page-home .access__card {
  display: flex;
  flex-direction: column;
  border-radius: var(--home-card-radius);
  padding: 24px;
  border: 1px solid var(--color-gray-mid);
  background: var(--color-white);
  color: var(--color-black);
  text-decoration: none;
  transition: border-color 180ms ease, box-shadow 180ms ease;
  position: relative;
}

.page-home .access__card:hover,
.page-home .access__card:focus-visible {
  border-color: var(--color-gold);
  box-shadow: 0 8px 24px rgba(17, 17, 17, 0.08);
  outline: 2px solid var(--color-gold);
  outline-offset: 2px;
}

.page-home .access__tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--color-gray-dark);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

.page-home .access__tag::before {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--color-gold);
  display: inline-block;
}

.page-home .access__card h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  margin: 0 0 10px;
}

.page-home .access__card p {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--color-gray-dark);
  margin: 0 0 16px;
}

.page-home .access__thumb {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border: 1px solid var(--color-gray-mid);
  margin-top: auto;
}

.page-home .access__card--product {
  background:
    radial-gradient(ellipse at 100% 0%, rgba(245, 183, 0, 0.16) 0%, transparent 50%),
    var(--color-blue);
  color: var(--color-white);
  border-color: transparent;
  justify-content: flex-end;
}

.page-home .access__card--product .access__tag {
  color: var(--color-gold);
}

.page-home .access__card--product h3 {
  color: var(--color-white);
}

.page-home .access__card--product p {
  color: rgba(250, 250, 250, 0.7);
}

.page-home .access__arrow {
  margin-top: 18px;
  font-family: var(--font-mono);
  color: var(--color-gold);
  font-size: 0.875rem;
}

.page-home .updates {
  background: var(--color-white);
}

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

.page-home .updates__head p:not(.section-label) {
  color: var(--color-gray-dark);
  max-width: 36em;
  line-height: 1.7;
}

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

.page-home .updates__item {
  display: grid;
  gap: 8px;
  padding: 22px 0;
  border-bottom: 1px solid var(--color-gray-mid);
}

.page-home .updates__index {
  font-size: 0.875rem;
  color: var(--color-gray-dark);
  margin-top: 4px;
}

.page-home .updates__body h3 {
  margin: 6px 0 6px;
  font-family: var(--font-heading);
  font-size: 1.0625rem;
}

.page-home .updates__body a {
  color: var(--color-black);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: border-color 180ms ease, color 180ms ease;
}

.page-home .updates__body a:hover,
.page-home .updates__body a:focus-visible {
  color: var(--color-blue);
  border-bottom-color: var(--color-gold);
  outline: none;
}

.page-home .updates__body p {
  font-size: 0.875rem;
  color: var(--color-gray-dark);
  line-height: 1.6;
  margin: 0;
}

.page-home .trust {
  background:
    radial-gradient(ellipse at 15% 80%, rgba(245, 183, 0, 0.1) 0%, transparent 55%),
    var(--color-black);
  color: var(--color-white);
}

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

.page-home .trust__copy h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  line-height: 1.2;
  color: var(--color-white);
  margin: 12px 0 16px;
}

.page-home .trust__copy p {
  color: rgba(250, 250, 250, 0.75);
  line-height: 1.7;
  font-size: 0.9375rem;
  max-width: 34em;
}

.page-home .trust__copy .btn {
  margin-top: 20px;
}

.page-home .trust__media {
  position: relative;
}

.page-home .trust__img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  border: 1px solid var(--home-soft-line);
}

.page-home .trust__stat {
  position: absolute;
  left: 16px;
  bottom: 16px;
  background: var(--color-blue);
  border-left: 4px solid var(--color-gold);
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.page-home .trust__stat-num {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--color-gold);
  line-height: 1.1;
}

.page-home .trust__stat-label {
  font-size: 0.8125rem;
  color: rgba(250, 250, 250, 0.7);
}

@keyframes homeGoldSweep {
  0%, 100% {
    background-position: 0% center;
  }
  50% {
    background-position: 100% center;
  }
}

@media (min-width: 960px) {
  .page-home .hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 64px;
    align-items: center;
    padding-top: 88px;
    padding-bottom: 96px;
  }

  .page-home .hero__visual {
    min-height: 520px;
  }

  .page-home .upgrade__grid {
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: minmax(150px, auto);
  }

  .page-home .upgrade__focus {
    grid-column: span 5;
    grid-row: span 2;
    min-height: 360px;
    padding: 36px;
  }

  .page-home .upgrade__card--speed {
    grid-column: span 4;
  }

  .page-home .upgrade__card--compat {
    grid-column: span 3;
  }

  .page-home .upgrade__card--ui {
    grid-column: span 4;
  }

  .page-home .upgrade__card--secure {
    grid-column: span 3;
  }

  .page-home .access__grid {
    grid-template-columns: repeat(12, 1fr);
  }

  .page-home .access__card--help {
    grid-column: span 5;
  }

  .page-home .access__card--content {
    grid-column: span 4;
  }

  .page-home .access__card--product {
    grid-column: span 3;
  }

  .page-home .updates__inner {
    grid-template-columns: 0.85fr 1.4fr;
    gap: 64px;
  }

  .page-home .updates__item {
    grid-template-columns: 56px 1fr;
    gap: 20px;
  }

  .page-home .trust__inner {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 64px;
  }
}
