.page-home {
  --ph-pad: 64px;
  --ph-radius: 4px;
  display: block;
  overflow-x: clip;
}

.page-home .page-home__context {
  margin: 22px auto 0;
  padding: 0 24px;
  max-width: 1240px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
}

/* ---------- HERO ---------- */
.page-home .ph-hero {
  position: relative;
  padding: 18px 0 0;
  overflow: hidden;
}

.page-home .ph-track {
  display: none;
}

.page-home .ph-hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

.page-home .ph-hero__title {
  margin: 12px 0 14px;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(32px, 8vw, 62px);
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: var(--text);
}

.page-home .ph-hero__title span {
  display: block;
  color: var(--red);
}

.page-home .ph-hero__lede {
  max-width: 44ch;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.78;
  margin: 0;
}

.page-home .ph-steps {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.page-home .ph-step {
  display: grid;
  grid-template-columns: 58px 1fr;
  grid-template-rows: auto auto auto;
  column-gap: 14px;
  row-gap: 6px;
  padding: 16px 16px 15px;
  border: 2px solid var(--line);
  border-left: 4px solid var(--red);
  border-radius: var(--ph-radius);
  background: var(--ink-1);
  box-shadow: var(--shadow-hard-sm);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.page-home .ph-step:hover {
  transform: translate(-2px, -2px);
  border-color: var(--line-strong);
}

.page-home .ph-step__idx {
  grid-column: 1;
  grid-row: 1 / 4;
  font-family: var(--font-mono);
  font-size: clamp(30px, 8vw, 42px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--red);
  align-self: start;
}

.page-home .ph-step__title {
  grid-column: 2;
  margin: 0;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.01em;
  color: var(--text);
}

.page-home .ph-step__desc {
  grid-column: 2;
  margin: 0;
  font-size: 14px;
  line-height: 1.72;
  color: var(--muted);
}

.page-home .ph-step__link {
  grid-column: 2;
  justify-self: start;
  margin-top: 2px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 229, 255, 0.35);
}

.page-home .ph-step__link:hover {
  border-bottom-color: var(--cyan);
}

.page-home .ph-hero__preview {
  margin: 22px 0 0;
  border: 2px solid var(--line);
  border-radius: var(--ph-radius);
  background: var(--ink-1);
  overflow: hidden;
}

.page-home .ph-hero__preview img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  filter: saturate(0.95) contrast(1.06) brightness(0.88);
}

.page-home .ph-hero__preview figcaption {
  padding: 10px 14px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.page-home .ph-hero__visual {
  position: relative;
}

.page-home .ph-hero__frame {
  border: 2px solid var(--line);
  border-radius: var(--ph-radius);
  background: var(--ink-1);
  box-shadow: var(--shadow-hard);
}

.page-home .ph-hero__frame .media-frame__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.page-home .ph-hero__frame .media-frame__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.08) brightness(0.9);
}

.page-home .ph-hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

/* ---------- SCALE STRIP ---------- */
.page-home .ph-scale {
  list-style: none;
  margin: 40px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 2px solid var(--line);
  border-radius: var(--ph-radius);
  overflow: hidden;
}

.page-home .ph-scale__item {
  background: var(--ink-1);
  padding: 18px 16px;
  min-width: 0;
}

.page-home .ph-scale__num {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(26px, 6vw, 36px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.02em;
  color: var(--cyan);
}

.page-home .ph-scale__item:nth-child(2) .ph-scale__num {
  color: var(--red);
}

.page-home .ph-scale__item:nth-child(3) .ph-scale__num {
  color: var(--violet);
}

.page-home .ph-scale__item:nth-child(4) .ph-scale__num {
  color: var(--amber);
}

.page-home .ph-scale__label {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}

/* ---------- SEASON ---------- */
.page-home .ph-season {
  margin-top: 56px;
  padding: var(--ph-pad) 0;
}

.page-home .ph-season .section-head {
  margin-bottom: 34px;
}

.page-home .ph-season__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 34px;
  align-items: center;
}

.page-home .ph-ring-wrap {
  position: relative;
  width: min(238px, 62vw);
  margin: 0 auto;
  aspect-ratio: 1 / 1;
}

.page-home .ph-ring {
  width: 100%;
  height: 100%;
  display: block;
}

.page-home .ph-ring__ticks,
.page-home .ph-ring__track,
.page-home .ph-ring__value {
  fill: none;
  transform-origin: 110px 110px;
  transform: rotate(-90deg);
}

.page-home .ph-ring__ticks {
  stroke: rgba(232, 237, 245, 0.28);
  stroke-width: 5;
  stroke-dasharray: 8 70.54;
}

.page-home .ph-ring__track {
  stroke: rgba(232, 237, 245, 0.12);
  stroke-width: 10;
}

.page-home .ph-ring__value {
  stroke: var(--cyan);
  stroke-width: 10;
  stroke-dasharray: 540.35;
  stroke-dashoffset: 202.63;
  filter: drop-shadow(0 0 8px rgba(0, 229, 255, 0.55));
}

.page-home .ph-ring__center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.page-home .ph-ring__week {
  font-family: var(--font-mono);
  font-size: clamp(40px, 12vw, 56px);
  font-weight: 700;
  line-height: 1;
  color: var(--text);
}

.page-home .ph-ring__unit {
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.page-home .ph-season__body > p {
  margin: 0;
  font-size: 16px;
  line-height: 1.78;
  color: var(--text);
  max-width: 46ch;
}

.page-home .ph-batches {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.page-home .ph-batch {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 12px;
  align-items: baseline;
  padding: 13px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--ph-radius);
  background: rgba(11, 14, 19, 0.55);
}

.page-home .ph-batch__id {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--cyan);
}

.page-home .ph-batch__text {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text);
  min-width: 0;
}

.page-home .ph-batch__state {
  grid-column: 2;
  justify-self: start;
}

/* ---------- RECOVER ---------- */
.page-home .ph-recover {
  padding: var(--ph-pad) 0;
}

.page-home .ph-recover__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}

.page-home .ph-recover__text h2 {
  margin: 10px 0 14px;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(26px, 6vw, 42px);
  line-height: 1.14;
  letter-spacing: -0.01em;
  color: var(--text);
}

.page-home .ph-recover__text > p {
  margin: 0;
  font-size: 16px;
  line-height: 1.78;
  color: var(--muted);
  max-width: 44ch;
}

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

.page-home .ph-flow__item {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 14px;
  align-items: start;
}

.page-home .ph-flow__num {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 2px solid var(--red);
  border-radius: 2px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--red);
  line-height: 1;
}

.page-home .ph-flow__body {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.72;
  color: var(--text);
  padding-top: 3px;
}

.page-home .ph-recover__media {
  margin: 0;
  border: 2px solid var(--line);
  border-radius: var(--ph-radius);
  background: var(--ink-1);
  box-shadow: var(--shadow-hard);
  overflow: hidden;
}

.page-home .ph-recover__media .media-frame__img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.06) brightness(0.9);
}

/* ---------- SETTLE ---------- */
.page-home .ph-settle {
  padding: var(--ph-pad) 0 calc(var(--ph-pad) + 16px);
}

.page-home .ph-settle .section-head {
  margin-bottom: 32px;
}

.page-home .ph-settle__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
  align-items: start;
}

.page-home .ph-settle__tiles {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.page-home .ph-tile {
  padding: 16px;
  border: 2px solid var(--line);
  border-top: 3px solid var(--red);
  border-radius: var(--ph-radius);
  background: rgba(11, 14, 19, 0.66);
  box-shadow: var(--shadow-hard-sm);
}

.page-home .ph-tile__key {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.page-home .ph-tile__val {
  display: block;
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: clamp(20px, 5vw, 26px);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--cyan);
}

.page-home .ph-tile:nth-child(2) .ph-tile__val {
  color: var(--violet);
}

.page-home .ph-tile__note {
  margin: 8px 0 0;
  font-size: 13px;
  line-height: 1.68;
  color: var(--muted);
}

.page-home .ph-settle__figure {
  margin: 0;
  border: 2px solid var(--line);
  border-radius: var(--ph-radius);
  background: var(--ink-1);
  box-shadow: var(--shadow-hard);
  overflow: hidden;
}

.page-home .ph-settle__figure .media-frame__img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  filter: saturate(1.02) contrast(1.05) brightness(0.88);
}

.page-home .ph-settle__table {
  position: relative;
  z-index: 2;
  margin-top: 30px;
}

.page-home .ph-settle__caption {
  text-align: left;
  padding: 0 0 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--muted);
}

/* ---------- CATEGORIES ---------- */
.page-home .ph-cats {
  padding: var(--ph-pad) 0;
}

.page-home .ph-cats .section-head {
  margin-bottom: 26px;
}

.page-home .ph-cats__list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line-strong);
}

.page-home .ph-cats__item {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 4px 14px;
  align-items: baseline;
  padding: 18px 6px;
  border-bottom: 1px solid var(--line-strong);
  transition: background-color 0.2s ease, padding-left 0.2s ease;
}

.page-home .ph-cats__item:hover {
  background: rgba(0, 229, 255, 0.06);
  padding-left: 14px;
}

.page-home .ph-cats__idx {
  grid-row: 1 / 4;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--cyan);
}

.page-home .ph-cats__name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(19px, 4.6vw, 24px);
  color: var(--text);
  letter-spacing: 0.01em;
}

.page-home .ph-cats__desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}

.page-home .ph-cats__link {
  justify-self: start;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 229, 255, 0.35);
}

/* ---------- FAQ ---------- */
.page-home .ph-faq {
  padding: var(--ph-pad) 0;
}

.page-home .ph-faq__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

.page-home .ph-faq__aside h2 {
  margin: 10px 0 12px;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(24px, 5.6vw, 36px);
  line-height: 1.16;
  color: var(--text);
}

.page-home .ph-faq__aside p {
  margin: 0 0 18px;
  font-size: 15px;
  line-height: 1.76;
  color: var(--muted);
  max-width: 36ch;
}

/* ---------- CALL ---------- */
.page-home .ph-call {
  padding: 52px 0;
  border-top: 2px solid var(--red);
  border-bottom: 2px solid var(--red);
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(228, 0, 43, 0.18), transparent 62%),
    linear-gradient(115deg, var(--wine), var(--ink-0) 66%);
}

.page-home .ph-call__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
  align-items: center;
}

.page-home .ph-call__text h2 {
  margin: 0 0 12px;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(26px, 6vw, 40px);
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--text);
}

.page-home .ph-call__text p {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.78;
  color: var(--muted);
  max-width: 46ch;
}

.page-home .ph-call__list {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: grid;
  gap: 8px;
}

.page-home .ph-call__list li {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: var(--text);
  padding-left: 16px;
  position: relative;
}

.page-home .ph-call__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 2px;
  background: var(--red);
}

.page-home .ph-call__meta .btn {
  margin-right: 10px;
  margin-bottom: 10px;
}

/* ---------- RESPONSIVE ---------- */
@media (min-width: 720px) {
  .page-home .ph-scale {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

  .page-home .ph-cats__item {
    grid-template-columns: 56px 190px 1fr auto;
    align-items: center;
    gap: 4px 20px;
  }

  .page-home .ph-cats__idx {
    grid-row: auto;
  }

  .page-home .ph-cats__link {
    justify-self: end;
    white-space: nowrap;
  }

  .page-home .ph-batch {
    grid-template-columns: 86px 1fr auto;
    align-items: center;
  }

  .page-home .ph-batch__state {
    grid-column: 3;
  }
}

@media (min-width: 900px) {
  .page-home {
    --ph-pad: 84px;
  }

  .page-home .page-home__context {
    padding: 0 24px;
  }

  .page-home .ph-track {
    display: block;
    position: absolute;
    left: 41%;
    top: -6%;
    width: 3px;
    height: 118%;
    background: linear-gradient(180deg, transparent, var(--cyan) 32%, var(--violet) 70%, transparent);
    transform: rotate(17deg);
    opacity: 0.45;
    pointer-events: none;
    z-index: 0;
  }

  .page-home .ph-hero__grid {
    grid-template-columns: 5fr 7fr;
    gap: 36px;
    align-items: start;
    position: relative;
    z-index: 1;
  }

  .page-home .ph-hero__visual {
    margin-top: 46px;
    margin-left: -24px;
  }

  .page-home .ph-hero__frame .media-frame__media {
    aspect-ratio: 3 / 4;
  }

  .page-home .ph-hero__chips {
    position: absolute;
    left: -14px;
    bottom: 26px;
    margin-top: 0;
    flex-direction: column;
    align-items: flex-start;
  }

  .page-home .ph-season__grid {
    grid-template-columns: 4fr 8fr;
    gap: 52px;
  }

  .page-home .ph-recover__grid {
    grid-template-columns: 5fr 7fr;
    gap: 56px;
  }

  .page-home .ph-recover__media {
    transform: translateY(14px);
  }

  .page-home .ph-settle__grid {
    grid-template-columns: 7fr 5fr;
    gap: 40px;
  }

  .page-home .ph-settle__figure {
    margin-bottom: -46px;
  }

  .page-home .ph-settle__table {
    margin-top: 42px;
    max-width: 82%;
  }

  .page-home .ph-faq__grid {
    grid-template-columns: 4fr 8fr;
    gap: 52px;
  }

  .page-home .ph-call__inner {
    grid-template-columns: 7fr 5fr;
    gap: 44px;
  }

  .page-home .ph-call__meta {
    justify-self: end;
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .ph-step,
  .page-home .ph-cats__item {
    transition: none;
  }

  .page-home .ph-step:hover {
    transform: none;
  }

  .page-home .ph-recover__media,
  .page-home .ph-settle__figure {
    transform: none;
  }
}
