.page-home {
  --home-blue-soft: #E9EEF5;
  --home-blue-deep: #122A47;
  --home-orange-soft: #FDE8D7;
  --home-geo-color: rgba(31, 58, 95, 0.18);
  --home-grid-line: rgba(31, 58, 95, 0.14);
  --home-hero-title: clamp(2.4rem, 6vw, 4.4rem);
  background-color: var(--cream);
  color: var(--deep-ink);
  overflow-x: hidden;
}

.page-home .container {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: clamp(1.25rem, 4vw, 2.5rem);
  padding-right: clamp(1.25rem, 4vw, 2.5rem);
}

.page-home .breadcrumb {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: var(--silver);
  margin-bottom: 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.page-home .breadcrumb__current {
  color: var(--silver);
}

.page-home .section {
  padding: clamp(3.5rem, 8vw, 6.5rem) 0;
  position: relative;
}

.page-home .section--hero {
  background-color: var(--deep-blue);
  color: var(--cream);
  padding-top: clamp(3rem, 6vw, 5rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
  border-bottom: 4px solid var(--blood-orange);
}

.page-home .hero__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  position: relative;
}

.page-home .hero__eyebrow {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  margin-bottom: 1rem;
  color: var(--silver);
}

.page-home .chip {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 2px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.page-home .chip--orange {
  background-color: var(--blood-orange);
  color: #fff;
}

.page-home .chip--amber {
  background-color: var(--amber);
  color: var(--deep-ink);
}

.page-home .chip--green {
  background-color: var(--green);
  color: #fff;
}

.page-home .hero__title {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: var(--home-hero-title);
  line-height: 1.12;
  color: var(--cream);
  margin: 0 0 0.35rem;
  letter-spacing: -0.02em;
}

.page-home .hero__subtitle {
  font-family: var(--font-mono);
  font-size: 1rem;
  color: var(--silver);
  margin-bottom: 1.25rem;
  letter-spacing: 0.02em;
}

.page-home .hero__lead {
  font-size: clamp(1rem, 1.4vw, 1.125rem);
  line-height: 1.75;
  color: #E9EEF5;
  max-width: 34em;
  margin-bottom: 1.75rem;
}

.page-home .btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  border-radius: 2px;
  text-decoration: none;
  transition: background-color var(--transition), color var(--transition), box-shadow var(--transition);
}

.page-home .btn--primary {
  background-color: var(--blood-orange);
  color: #fff;
  border: 2px solid var(--blood-orange);
}

.page-home .btn--primary:hover,
.page-home .btn--primary:focus-visible {
  background-color: #c95004;
  border-color: #c95004;
  box-shadow: 0 0 0 3px rgba(232, 93, 4, 0.3);
}

.page-home .btn--ghost {
  background-color: transparent;
  color: var(--cream);
  border: 2px solid var(--silver);
}

.page-home .btn--ghost:hover,
.page-home .btn--ghost:focus-visible {
  border-color: var(--cream);
  background-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 3px rgba(245, 240, 230, 0.2);
}

.page-home .hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.25rem;
}

.page-home .hero__chapters {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
  border-top: 1px solid rgba(245, 240, 230, 0.2);
  padding-top: 1.5rem;
}

.page-home .hero__chapter {
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: baseline;
  gap: 0.75rem 1rem;
  text-decoration: none;
  color: var(--cream);
  padding: 0.35rem 0;
  border-bottom: 1px solid rgba(245, 240, 230, 0.08);
  transition: background-color var(--transition), padding-left var(--transition);
}

.page-home .hero__chapter:hover,
.page-home .hero__chapter:focus-visible {
  background-color: rgba(255, 255, 255, 0.06);
  padding-left: 0.75rem;
}

.page-home .hero__chapter-num {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--blood-orange);
}

.page-home .hero__chapter-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
}

.page-home .hero__chapter-brief {
  font-size: 0.875rem;
  color: var(--silver);
  text-align: right;
}

.page-home .hero__media {
  position: relative;
  display: none;
}

.page-home .hero__media img {
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.page-home .hero__geo {
  position: absolute;
  top: -1.2rem;
  right: -1.2rem;
  width: clamp(90px, 10vw, 140px);
  height: clamp(90px, 10vw, 140px);
  border-radius: 50%;
  border: 2px dashed rgba(176, 183, 195, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-home .hero__geo-dot {
  width: 8px;
  height: 8px;
  background-color: var(--blood-orange);
  border-radius: 50%;
  position: absolute;
  top: 12%;
  right: 18%;
}

.page-home .hero__geo-line {
  width: 60%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(232, 93, 4, 0.6), transparent);
  position: absolute;
}

.page-home .hero__geo-tag {
  font-family: var(--font-heading);
  font-weight: 900;
  color: rgba(245, 240, 230, 0.35);
  font-size: clamp(2rem, 4vw, 3rem);
}

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

.page-home .section__head {
  margin-bottom: clamp(2rem, 4vw, 3rem);
  max-width: 44em;
}

.page-home .section__index {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--blood-orange);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.page-home .section__title {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.15;
  color: var(--deep-blue);
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.page-home .section__desc {
  font-size: clamp(1rem, 1.2vw, 1.125rem);
  line-height: 1.75;
  color: var(--deep-ink);
}

.page-home .section--tint {
  background-color: var(--light-silver);
}

.page-home .section--tint .section__title {
  color: var(--deep-blue);
}

.page-home .records__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

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

.page-home .records__media img {
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: var(--shadow-md);
}

.page-home .records__media::after {
  content: "";
  position: absolute;
  bottom: -14px;
  right: -14px;
  width: 58%;
  height: 58%;
  border-radius: 4px;
  border: 2px solid var(--blood-orange);
  opacity: 0.35;
  z-index: -1;
}

.page-home .records__content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.page-home .records__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.page-home .records__stat {
  background-color: var(--paper);
  padding: 1rem 0.75rem;
  border-radius: 4px;
  border-left: 4px solid var(--deep-blue);
  box-shadow: var(--shadow-sm);
}

.page-home .records__stat-num {
  display: block;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  color: var(--deep-blue);
  letter-spacing: -0.01em;
}

.page-home .records__stat-label {
  display: block;
  font-size: 0.875rem;
  color: var(--deep-ink);
  margin-top: 0.25rem;
}

.page-home .records__subtitle {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  color: var(--deep-blue);
  margin-bottom: 1rem;
}

.page-home .records__steps {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  counter-reset: step;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.page-home .records__steps li {
  counter-increment: step;
  position: relative;
  padding-left: 2.75rem;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--deep-ink);
}

.page-home .records__steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--blood-orange);
  background-color: var(--cream);
  border: 1px solid var(--blood-orange);
  border-radius: 50%;
  width: 1.9rem;
  height: 1.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-home .records__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  align-items: center;
}

.page-home .card-link,
.page-home .text-link {
  font-weight: 600;
  color: var(--deep-blue);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: border-color var(--transition), color var(--transition);
}

.page-home .text-link {
  color: var(--info);
}

.page-home .card-link:hover,
.page-home .card-link:focus-visible,
.page-home .text-link:hover,
.page-home .text-link:focus-visible {
  border-bottom-color: var(--blood-orange);
  color: var(--blood-orange);
}

.page-home .section--update {
  background-color: var(--paper);
}

.page-home .update__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

.page-home .update__media {
  order: 2;
}

.page-home .update__media img {
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: var(--shadow-md);
}

.page-home .update__content {
  order: 1;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.page-home .update__version {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  background-color: var(--deep-blue);
  color: var(--cream);
  padding: 1rem 1.25rem;
  border-radius: 4px;
}

.page-home .update__version-label {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--silver);
  letter-spacing: 0.05em;
}

.page-home .update__version-value {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 600;
  color: var(--cream);
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  text-align: left;
  display: inline-flex;
  align-items: baseline;
  gap: 0.5rem;
}

.page-home .update__version-value:hover,
.page-home .update__version-value:focus-visible {
  color: var(--amber);
}

.page-home .update__copy-hint {
  font-size: 0.75rem;
  color: var(--silver);
  border-bottom: 1px dashed var(--silver);
}

.page-home .update__subtitle {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  color: var(--deep-blue);
}

.page-home .update__list {
  list-style: none;
  margin-bottom: 1rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.page-home .update__list li {
  position: relative;
  padding-left: 1.75rem;
  font-size: 1rem;
  line-height: 1.6;
}

.page-home .update__list li::before {
  content: "→";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--blood-orange);
  font-weight: 700;
}

.page-home .update__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  align-items: center;
}

.page-home .section--update .btn--primary {
  border: 2px solid var(--blood-orange);
}

.page-home .update__note {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.925rem;
  color: var(--deep-ink);
  background-color: var(--light-silver);
  padding: 0.75rem 1rem;
  border-radius: 4px;
  border-left: 4px solid var(--info);
}

.page-home .note__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background-color: var(--info);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  flex-shrink: 0;
}

.page-home .section--changes {
  background-color: var(--cream);
}

.page-home .changes__media {
  margin-bottom: 1.5rem;
}

.page-home .changes__media img {
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: var(--shadow-sm);
}

.page-home .changes__tags {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.page-home .changes__tags .chip {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 2px;
  transition: transform var(--transition), box-shadow var(--transition);
}

.page-home .changes__tags .chip:hover,
.page-home .changes__tags .chip:focus-visible {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.page-home .changes__summary {
  max-width: 46em;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--deep-ink);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}

.page-home .changes__summary p {
  margin: 0;
}

.page-home .section--faq {
  background-color: var(--light-silver);
}

.page-home .faq__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.page-home .faq__item {
  background-color: var(--paper);
  padding: 1.5rem;
  border-radius: 4px;
  border-left: 6px solid var(--deep-blue);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: box-shadow var(--transition), transform var(--transition);
}

.page-home .faq__item:hover,
.page-home .faq__item:focus-within {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.page-home .faq__question {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--deep-blue);
  margin: 0;
}

.page-home .faq__answer {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--deep-ink);
  margin: 0;
}

.page-home .faq__item .text-link {
  align-self: flex-start;
  font-size: 0.925rem;
  margin-top: auto;
}

.page-home .section--quick {
  background-color: var(--deep-blue);
  color: var(--cream);
  border-top: 4px solid var(--blood-orange);
}

.page-home .section--quick .section__index {
  color: var(--amber);
}

.page-home .section--quick .section__title {
  color: var(--cream);
}

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

.page-home .quick__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.page-home .quick__card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  background-color: rgba(245, 240, 230, 0.06);
  padding: 1.5rem;
  border-radius: 4px;
  text-decoration: none;
  border: 1px solid rgba(176, 183, 195, 0.4);
  transition: background-color var(--transition), border-color var(--transition), transform var(--transition);
}

.page-home .quick__card:hover,
.page-home .quick__card:focus-visible {
  background-color: rgba(245, 240, 230, 0.12);
  border-color: var(--amber);
  transform: translateY(-2px);
}

.page-home .quick__card-num {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: var(--blood-orange);
}

.page-home .quick__card-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--cream);
}

.page-home .quick__card-desc {
  font-size: 0.925rem;
  color: var(--silver);
  line-height: 1.5;
}

.page-home .quick__trust {
  max-width: 48em;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(245, 240, 230, 0.15);
}

.page-home .quick__trust p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--silver);
}

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

  .page-home .hero__chapter-brief {
    text-align: left;
  }

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

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

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

@media (min-width: 960px) {
  .page-home .hero__inner {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
  }

  .page-home .hero__media {
    display: block;
  }

  .page-home .hero__chapters {
    grid-template-columns: 1fr;
  }

  .page-home .records__grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }

  .page-home .records__media {
    order: 1;
  }

  .page-home .records__content {
    order: 2;
  }

  .page-home .update__grid {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 4rem;
  }

  .page-home .update__media {
    order: 1;
  }

  .page-home .update__content {
    order: 2;
  }

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

  .page-home .quick__grid {
    gap: 1.5rem;
  }
}

@media (max-width: 520px) {
  .page-home .hero__chapter-brief {
    display: none;
  }

  .page-home .hero__chapter {
    grid-template-columns: auto auto 1fr;
  }

  .page-home .records__stats {
    grid-template-columns: 1fr;
  }

  .page-home .records__stat {
    padding: 0.75rem 1rem;
  }

  .page-home .records__actions,
  .page-home .update__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .page-home .records__actions .btn,
  .page-home .update__actions .btn {
    text-align: center;
  }

  .page-home .update__version-value {
    flex-wrap: wrap;
  }

  .page-home .changes__tags .chip {
    width: 100%;
    text-align: center;
  }

  .page-home .quick__card {
    padding: 1.25rem;
  }
}
