.page-home {
  --ph-gap: clamp(20px, 4vw, 40px);
  --ph-section-pad: clamp(56px, 8vw, 100px);
  --ph-radius: 2px;
  --ph-line: rgba(212, 175, 55, 0.35);
  background: var(--mist);
  overflow-x: hidden;
}
.page-home .ph-hero__inner,
.page-home .ph-metrics__inner,
.page-home .ph-guide__inner,
.page-home .ph-updates__inner,
.page-home .ph-sync__inner {
  max-width: var(--container);
  margin: 0 auto;
}

.page-home .ph-hero {
  position: relative;
  background: var(--navy);
  color: var(--white);
  overflow: hidden;
}
.page-home .ph-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(212, 175, 55, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212, 175, 55, 0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  pointer-events: none;
}
.page-home .ph-hero__inner {
  position: relative;
  display: grid;
  gap: var(--ph-gap);
  padding: calc(var(--header-h) + 28px) var(--side-gutter) 60px;
}
.page-home .ph-hero__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}
.page-home .ph-crumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
}
.page-home .ph-crumb__sep {
  color: var(--gold);
}
.page-home .ph-hero__eyebrow {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  border-left: 3px solid var(--gold);
  padding-left: 12px;
  margin: 4px 0 0;
}
.page-home .ph-hero__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 6vw, 3.4rem);
  line-height: 1.1;
  margin: 4px 0 0;
  color: var(--white);
}
.page-home .ph-hero__lead {
  font-size: 16px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.88);
  max-width: 32em;
  margin: 0;
}
.page-home .ph-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-top: 8px;
}
.page-home .ph-hero__link {
  color: var(--gold);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 2px;
  transition: color 0.3s, border-color 0.3s;
}
.page-home .ph-hero__link:hover {
  color: var(--white);
  border-color: var(--white);
}
.page-home .ph-dirnav {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  width: 100%;
  max-width: 440px;
  margin-top: 12px;
}
.page-home .ph-dirnav__link {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--ph-line);
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 14px;
  border-radius: var(--ph-radius);
  transition: border-color 0.3s, background 0.3s, transform 0.3s;
}
.page-home .ph-dirnav__link span {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--gold);
}
.page-home .ph-dirnav__link:hover {
  border-color: var(--gold);
  background: rgba(212, 175, 55, 0.08);
  transform: translateY(-2px);
}
.page-home .ph-hero__frame {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--ph-line);
  border-radius: var(--ph-radius);
  background: var(--navy-light);
  box-shadow: var(--shadow-lg);
}
.page-home .ph-hero__img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  min-height: 260px;
}
.page-home .ph-hero__svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.page-home .ph-metrics {
  position: relative;
  background: var(--mist);
  padding: var(--ph-section-pad) var(--side-gutter);
}
.page-home .ph-metrics__inner {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.page-home .ph-metrics__head {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.page-home .ph-metrics__index,
.page-home .ph-guide__index,
.page-home .ph-updates__index,
.page-home .ph-sync__index {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.6rem, 7vw, 4.5rem);
  line-height: 1;
  color: var(--gold);
  flex-shrink: 0;
}
.page-home .ph-kicker {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--slate);
  margin: 0 0 6px;
}
.page-home .ph-metrics__heading h2,
.page-home .ph-guide__heading h2,
.page-home .ph-updates__heading h2,
.page-home .ph-sync__heading h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  line-height: 1.2;
  margin: 0;
  color: var(--ink);
}
.page-home .ph-metrics__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.page-home .ph-metrics__card {
  background: var(--white);
  border-radius: var(--ph-radius);
  padding: 22px 24px;
  border-top: 3px solid var(--gold);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.page-home .ph-metrics__card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.page-home .ph-metrics__label {
  font-size: 13px;
  font-weight: 600;
  color: var(--slate);
}
.page-home .ph-metrics__value {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 6vw, 2.8rem);
  color: var(--navy);
  line-height: 1;
}
.page-home .ph-metrics__unit {
  font-size: 14px;
  font-weight: 600;
  color: var(--slate);
  margin-left: 4px;
}
.page-home .ph-metrics__note {
  font-size: 13px;
  line-height: 1.6;
  color: var(--slate);
  margin: 4px 0 0;
}
.page-home .ph-metrics__texture {
  display: block;
  width: 100%;
  height: auto;
  max-height: 160px;
  object-fit: cover;
  opacity: 0.45;
  border-radius: var(--ph-radius);
  margin-top: 4px;
}

.page-home .ph-guide {
  position: relative;
  background: var(--navy);
  color: var(--white);
  padding: var(--ph-section-pad) var(--side-gutter);
  overflow: hidden;
}
.page-home .ph-guide::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 340px;
  height: 340px;
  background: radial-gradient(circle at top right, rgba(212, 175, 55, 0.08), transparent 64%);
  pointer-events: none;
}
.page-home .ph-guide__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.page-home .ph-guide__heading h2 {
  color: var(--white);
}
.page-home .ph-guide__heading .ph-kicker {
  color: var(--gold);
}
.page-home .ph-guide__intro {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.8);
  max-width: 42em;
  margin: 8px 0 0;
}
.page-home .ph-guide__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
.page-home .ph-guide__card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--ph-line);
  border-radius: var(--ph-radius);
  padding: 26px 24px;
  transition: background 0.3s, transform 0.3s, box-shadow 0.3s;
}
.page-home .ph-guide__card:hover {
  background: rgba(255, 255, 255, 0.09);
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(7, 22, 48, 0.4);
}
.page-home .ph-guide__card-index {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.4rem;
  line-height: 1;
  color: var(--gold);
  opacity: 0.85;
}
.page-home .ph-guide__card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  margin: 14px 0 8px;
  color: var(--white);
}
.page-home .ph-guide__card > p {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.75);
  margin: 0 0 16px;
}
.page-home .ph-guide__steps {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  counter-reset: ph-step;
  display: grid;
  gap: 8px;
}
.page-home .ph-guide__steps li {
  counter-increment: ph-step;
  position: relative;
  padding-left: 30px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.5;
}
.page-home .ph-guide__steps li::before {
  content: counter(ph-step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0;
  width: 22px;
  height: 22px;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
}
.page-home .ph-guide__link {
  display: inline-block;
  color: var(--gold);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 2px;
  transition: color 0.3s, border-color 0.3s;
}
.page-home .ph-guide__link:hover {
  color: var(--white);
  border-color: var(--white);
}
.page-home .ph-guide__bg {
  position: absolute;
  right: -80px;
  bottom: -60px;
  width: 280px;
  height: auto;
  opacity: 0.12;
  pointer-events: none;
  border-radius: var(--ph-radius);
}

.page-home .ph-updates {
  background: var(--white);
  padding: var(--ph-section-pad) var(--side-gutter);
}
.page-home .ph-updates__inner {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.page-home .ph-updates__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}
.page-home .ph-updates__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
.page-home .ph-updates__list {
  display: grid;
  gap: 16px;
}
.page-home .ph-updates__item {
  background: var(--mist);
  border: 1px solid #e3e9f2;
  border-left: 3px solid var(--gold);
  border-radius: var(--ph-radius);
  padding: 20px 22px;
  transition: box-shadow 0.3s, background 0.3s;
}
.page-home .ph-updates__item:hover {
  box-shadow: var(--shadow-sm);
}
.page-home .ph-updates__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}
.page-home .ph-updates__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.4;
  margin: 0;
  color: var(--ink);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: baseline;
}
.page-home .ph-updates__version {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--gold);
  background: rgba(212, 175, 55, 0.12);
  padding: 2px 8px;
  font-size: 13px;
  border-radius: 2px;
}
.page-home .ph-updates__trigger {
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 10px;
  cursor: pointer;
  border-radius: 2px;
  white-space: nowrap;
  transition: background 0.3s, color 0.3s;
}
.page-home .ph-updates__trigger:hover {
  background: var(--gold);
  color: var(--navy);
}
.page-home .ph-updates__content[data-accordion-content] {
  display: block;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed #ccd7e5;
  font-size: 14px;
  line-height: 1.7;
  color: var(--slate);
}
.page-home .ph-updates__more {
  margin-top: 8px;
}
.page-home .ph-updates__side {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.page-home .ph-updates__thumb {
  width: 100%;
  height: auto;
  border-radius: var(--ph-radius);
  border: 1px solid #e3e9f2;
  box-shadow: var(--shadow-sm);
  object-fit: cover;
}

.page-home .ph-sync {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--white);
  padding: var(--ph-section-pad) var(--side-gutter);
  position: relative;
  overflow: hidden;
}
.page-home .ph-sync::after {
  content: "";
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 300px;
  height: 300px;
  border: 1px solid rgba(212, 175, 55, 0.2);
  transform: rotate(45deg);
  pointer-events: none;
}
.page-home .ph-sync__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.page-home .ph-sync__heading h2 {
  color: var(--white);
}
.page-home .ph-sync__heading .ph-kicker {
  color: var(--gold);
}
.page-home .ph-sync__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}
.page-home .ph-sync__ring {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: conic-gradient(var(--gold) 0 100%, rgba(255, 255, 255, 0.12) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}
.page-home .ph-sync__ring-inner {
  width: 152px;
  height: 152px;
  border-radius: 50%;
  background: var(--navy);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.page-home .ph-sync__ring-value {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.4rem;
  color: var(--gold);
  line-height: 1;
}
.page-home .ph-sync__ring-label {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.7);
}
.page-home .ph-sync__copy {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.page-home .ph-sync__copy p {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.88);
  margin: 0;
  max-width: 36em;
}
.page-home .ph-sync__points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.page-home .ph-sync__points li {
  position: relative;
  padding-left: 28px;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
}
.page-home .ph-sync__points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 16px;
  height: 16px;
  border: 2px solid var(--gold);
  border-radius: 50%;
}
.page-home .ph-sync__points li::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

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

@media (min-width: 900px) {
  .page-home .ph-hero__inner {
    grid-template-columns: 1fr 1.05fr;
    align-items: center;
    gap: 48px;
    padding-top: calc(var(--header-h) + 48px);
    padding-bottom: 84px;
  }
  .page-home .ph-guide__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .page-home .ph-updates__grid {
    grid-template-columns: 1fr 320px;
    align-items: start;
  }
  .page-home .ph-sync__grid {
    grid-template-columns: 280px 1fr;
    gap: 64px;
  }
  .page-home .ph-sync__ring {
    margin: 0;
  }
}

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