.page-home {
  --home-py: clamp(40px, 8vw, 84px);
  --home-ink-soft: #253248;
  color: var(--text-main);
}

.page-home .section {
  padding: var(--home-py) 0;
}

/* ---------- Hero ---------- */
.page-home .home-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(26px, 6vw, 52px) 0 clamp(40px, 7vw, 80px);
  background:
    radial-gradient(120% 80% at 88% 0%, rgba(122, 92, 255, 0.30), transparent 62%),
    radial-gradient(90% 70% at 0% 100%, rgba(34, 224, 214, 0.16), transparent 58%),
    var(--ink-void);
}

.page-home .home-hero__wedge {
  position: absolute;
  top: 0;
  right: 0;
  width: min(78%, 900px);
  height: 74%;
  background: linear-gradient(160deg, rgba(122, 92, 255, 0.45), rgba(34, 224, 214, 0.22) 55%, transparent 80%);
  clip-path: polygon(30% 0, 100% 0, 100% 100%, 0 66%);
  opacity: 0.6;
  pointer-events: none;
}

.page-home .home-hero__grid {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  color: var(--ink-line);
  opacity: 0.55;
  pointer-events: none;
}

.page-home .home-hero__inner {
  position: relative;
  z-index: 1;
}

.page-home .home-hero__ctx {
  margin: 0 0 14px;
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.page-home .home-hero__title {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(34px, 8.6vw, 68px);
  line-height: 1.04;
  letter-spacing: -0.01em;
  max-width: 16ch;
}

.page-home .home-hero__lede {
  margin: 0 0 20px;
  max-width: 54ch;
  font-size: clamp(15px, 3.6vw, 17px);
  line-height: 1.75;
  color: var(--text-soft);
}

.page-home .home-hero__status {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 0 0 22px;
  padding: 11px 16px;
  list-style: none;
  border: 1px solid var(--ink-line);
  border-radius: var(--r-md);
  background: rgba(11, 23, 48, 0.75);
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--text-soft);
}

.page-home .home-hero__status-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.page-home .home-hero__status-item b {
  color: var(--cyan);
  font-weight: 500;
}

.page-home .home-hero__status-item--hide {
  display: none;
}

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

.page-home .home-tiles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  counter-reset: tile;
}

.page-home .home-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  min-height: 116px;
  padding: 16px 16px 18px;
  border: 1px solid var(--edge);
  border-radius: var(--r-lg);
  background: linear-gradient(155deg, rgba(28, 53, 96, 0.55), rgba(11, 23, 48, 0.92));
  color: var(--text-main);
  text-decoration: none;
  counter-increment: tile;
  transition: transform 0.16s var(--ease), border-color 0.16s var(--ease), box-shadow 0.16s var(--ease);
}

.page-home .home-tile::before {
  content: "0" counter(tile);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--cyan);
}

.page-home .home-tile__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(20px, 5vw, 26px);
  line-height: 1.15;
}

.page-home .home-tile__sub {
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--text-soft);
}

.page-home .home-tile--main {
  border-color: rgba(34, 224, 214, 0.55);
  background: linear-gradient(150deg, rgba(34, 224, 214, 0.18), rgba(11, 23, 48, 0.94) 62%);
}

.page-home .home-tile:hover,
.page-home .home-tile:focus-visible {
  transform: translateY(-4px);
  border-color: var(--cyan);
  box-shadow: 0 18px 40px -24px rgba(34, 224, 214, 0.85);
  outline: none;
}

.page-home .home-tile:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

.page-home .home-hero__media {
  display: none;
  margin: 0;
  border: 1px solid var(--ink-line);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.page-home .home-hero__media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
}

/* ---------- Section head ---------- */
.page-home .home-sec-head {
  margin-bottom: 24px;
}

.page-home .index-tag {
  margin: 0 0 10px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan);
}

.page-home .index-tag b {
  font-weight: 700;
  margin-right: 8px;
}

.page-home .title-lg {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(24px, 5.4vw, 38px);
  line-height: 1.16;
}

.page-home .title-md {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(19px, 4.4vw, 24px);
  line-height: 1.25;
}

.page-home .home-sec-head__lede {
  margin: 0;
  max-width: 62ch;
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-soft);
}

/* ---------- Notice rail ---------- */
.page-home .home-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(258px, 86%);
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 6px;
  scrollbar-width: thin;
}

.page-home .home-card {
  display: block;
  scroll-snap-align: start;
  padding: 18px;
  border: 1px solid var(--ink-line);
  border-radius: var(--r-md);
  background: var(--ink-panel);
  color: var(--text-main);
  text-decoration: none;
  transition: border-color 0.16s var(--ease), transform 0.16s var(--ease);
}

.page-home .home-card:hover,
.page-home .home-card:focus-visible {
  transform: translateY(-3px);
  border-color: var(--cyan);
  outline: none;
}

.page-home .home-card:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

.page-home .home-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.page-home .home-card__time {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--text-soft);
}

.page-home .home-card__title {
  margin: 0 0 8px;
  font-size: 16.5px;
  font-weight: 600;
  line-height: 1.45;
}

.page-home .home-card__text {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--text-soft);
}

/* ---------- Fit ---------- */
.page-home .home-fit__wrap {
  display: grid;
  gap: 16px;
}

.page-home .home-fit__panel {
  display: grid;
  gap: 26px;
  padding: clamp(18px, 4vw, 30px);
  border: 1px solid var(--ink-line);
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(28, 53, 96, 0.38), rgba(11, 23, 48, 0.9));
}

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

.page-home .home-fit__list li {
  position: relative;
  padding-left: 38px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-soft);
}

.page-home .home-fit__list b {
  display: block;
  margin-bottom: 3px;
  font-size: 15px;
  color: var(--text-main);
}

.page-home .home-fit__list .mono {
  position: absolute;
  left: 0;
  top: 3px;
  font-size: 12px;
  color: var(--cyan);
}

.page-home .home-fit__tablewrap {
  overflow-x: auto;
}

.page-home .home-fit__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.page-home .home-fit__table th,
.page-home .home-fit__table td {
  padding: 10px 10px 10px 0;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--ink-line);
}

.page-home .home-fit__table thead th {
  padding-bottom: 8px;
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: var(--cyan);
}

.page-home .home-fit__table tbody th {
  font-weight: 600;
  white-space: nowrap;
  color: var(--text-main);
}

.page-home .home-fit__table td {
  color: var(--text-soft);
  line-height: 1.6;
}

.page-home .home-fit__hint {
  margin: 12px 0 0;
  font-size: 13px;
  color: var(--text-soft);
}

.page-home .home-fit__hint a {
  color: var(--cyan);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-home .home-fit__media {
  margin: 0;
  border: 1px solid var(--ink-line);
  border-radius: var(--r-lg);
  overflow: hidden;
}

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

/* ---------- Records ---------- */
.page-home .home-records__head {
  display: grid;
  gap: 16px;
  margin-bottom: 22px;
}

.page-home .home-records__head .btn {
  justify-self: start;
}

.page-home .home-axis {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 24px;
  gap: 6px;
  margin: 0 0 12px;
  padding: 16px 12px 10px;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  border: 1px solid var(--ink-line);
  border-radius: var(--r-md);
  background: rgba(11, 23, 48, 0.72);
}

.page-home .home-axis__day {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  height: 104px;
  scroll-snap-align: start;
}

.page-home .home-axis__bar {
  display: block;
  width: 100%;
  height: 40%;
  border-radius: 4px 4px 2px 2px;
  background: linear-gradient(180deg, var(--cyan), rgba(34, 224, 214, 0.22));
}

.page-home .home-axis__day:nth-child(3n) .home-axis__bar { height: 58%; }
.page-home .home-axis__day:nth-child(4n) .home-axis__bar { height: 72%; }
.page-home .home-axis__day:nth-child(5n) .home-axis__bar { height: 30%; }
.page-home .home-axis__day:nth-child(7n) .home-axis__bar { height: 88%; }
.page-home .home-axis__day:nth-child(11n) .home-axis__bar { height: 20%; }

.page-home .home-axis__day--alert .home-axis__bar {
  background: linear-gradient(180deg, var(--amber), rgba(255, 138, 61, 0.2));
}

.page-home .home-axis__num {
  font-size: 10px;
  color: var(--text-soft);
}

.page-home .home-axis__legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 14px;
  margin: 0 0 20px;
  font-size: 12px;
  color: var(--text-soft);
}

.page-home .home-axis__key {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 3px;
  margin-right: 2px;
}

.page-home .home-axis__key--cyan { background: var(--cyan); }
.page-home .home-axis__key--amber { background: var(--amber); }

.page-home .home-records__fig {
  margin: 0;
  border: 1px solid var(--ink-line);
  border-radius: var(--r-lg);
  overflow: hidden;
}

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

/* ---------- Fee ---------- */
.page-home .home-fee__grid {
  display: grid;
  gap: 16px;
}

.page-home .home-fee__card {
  padding: clamp(20px, 4.6vw, 32px);
  border: 1px solid var(--ink-line);
  border-radius: var(--r-lg);
  background:
    linear-gradient(150deg, rgba(122, 92, 255, 0.18), rgba(11, 23, 48, 0.96) 58%),
    var(--ink-panel);
}

.page-home .home-fee__prices {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 16px 0 18px;
}

.page-home .home-fee__price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  padding: 12px 16px;
  border: 1px solid var(--edge);
  border-radius: var(--r-md);
  background: rgba(5, 11, 24, 0.62);
}

.page-home .home-fee__price--year {
  border-color: rgba(255, 138, 61, 0.55);
}

.page-home .home-fee__num {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: clamp(28px, 7vw, 40px);
  line-height: 1;
  color: var(--amber);
}

.page-home .home-fee__unit {
  font-size: 13px;
  color: var(--text-soft);
}

.page-home .home-fee__perks {
  display: grid;
  gap: 9px;
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-soft);
}

.page-home .home-fee__perks li {
  position: relative;
  padding-left: 22px;
}

.page-home .home-fee__perks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: var(--cyan);
}

.page-home .home-fee__note {
  margin: 0 0 20px;
  font-size: 13px;
  color: var(--text-soft);
}

.page-home .home-fee__media {
  margin: 0;
  border: 1px solid var(--ink-line);
  border-radius: var(--r-lg);
  overflow: hidden;
}

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

/* ---------- Favorites ---------- */
.page-home .home-fav__inner {
  padding: clamp(22px, 5vw, 40px);
  border-radius: var(--r-lg);
  background: var(--paper);
  color: var(--home-ink-soft);
}

.page-home .home-fav__inner .index-tag {
  color: var(--violet);
}

.page-home .home-fav__inner h2 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(22px, 5vw, 32px);
  line-height: 1.2;
  color: var(--ink-panel);
}

.page-home .home-fav__text {
  margin: 0;
  max-width: 62ch;
  font-size: 14.5px;
  line-height: 1.8;
}

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

.page-home .home-fav__steps li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--r-pill);
  background: rgba(11, 23, 48, 0.08);
  font-size: 13.5px;
}

.page-home .home-fav__steps .mono {
  font-size: 12px;
  color: var(--violet);
}

.page-home .home-fav__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 24px;
  border-radius: var(--r-pill);
  background: var(--ink-panel);
  color: var(--paper);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.16s var(--ease), transform 0.16s var(--ease);
}

.page-home .home-fav__btn:hover,
.page-home .home-fav__btn:focus-visible {
  background: var(--violet);
  transform: translateY(-2px);
  outline: none;
}

.page-home .home-fav__btn:focus-visible {
  outline: 2px solid var(--violet);
  outline-offset: 3px;
}

/* ---------- Scale ---------- */
.page-home .home-scale__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 20px 0 16px;
  padding: 0;
  list-style: none;
  border: 1px solid var(--ink-line);
  border-radius: var(--r-md);
  background: var(--ink-line);
  overflow: hidden;
}

.page-home .home-scale__grid li {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 16px;
  background: var(--ink-void);
}

.page-home .home-scale__num {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: clamp(24px, 5.6vw, 34px);
  line-height: 1.1;
  color: var(--cyan);
}

.page-home .home-scale__key {
  font-size: 13px;
  color: var(--text-soft);
}

.page-home .home-scale__note {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--text-soft);
}

.page-home .home-scale__note a {
  color: var(--cyan);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- Help ---------- */
.page-home .home-help__grid {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.page-home .home-help__card {
  padding: 22px;
  border: 1px solid var(--ink-line);
  border-radius: var(--r-md);
  background: var(--ink-panel);
}

.page-home .home-help__card--alt {
  background: linear-gradient(150deg, rgba(34, 224, 214, 0.14), rgba(11, 23, 48, 0.94) 62%);
}

.page-home .home-help__card p {
  margin: 0 0 18px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-soft);
}

.page-home .home-help__contact {
  padding: 18px 20px;
  border: 1px dashed var(--edge);
  border-radius: var(--r-md);
}

.page-home .home-help__contact .mono {
  margin: 0 0 6px;
  font-size: 15px;
  color: var(--cyan);
  word-break: break-all;
}

.page-home .home-help__contact p:last-child {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-soft);
}

/* ---------- Responsive ---------- */
@media (min-width: 560px) {
  .page-home .home-hero__status {
    display: inline-flex;
    border-radius: var(--r-pill);
  }

  .page-home .home-hero__status-item--hide {
    display: inline-flex;
  }

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

@media (min-width: 820px) {
  .page-home .home-rail {
    grid-auto-flow: row;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-columns: auto;
    overflow: visible;
    padding-bottom: 0;
  }

  .page-home .home-fit__panel {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 32px;
  }

  .page-home .home-records__head {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
  }

  .page-home .home-records__head .btn {
    justify-self: end;
  }

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

  .page-home .home-help__contact {
    grid-column: 1 / -1;
  }
}

@media (min-width: 900px) {
  .page-home .home-hero__body {
    grid-template-columns: minmax(0, 1.55fr) minmax(0, 0.45fr);
    align-items: stretch;
  }

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

  .page-home .home-fit__wrap {
    grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
    align-items: start;
  }

  .page-home .home-fee__grid {
    grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
    align-items: stretch;
  }

  .page-home .home-fee__media img {
    height: 100%;
    min-height: 320px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .home-tile,
  .page-home .home-card,
  .page-home .home-fav__btn {
    transition: none;
  }

  .page-home .home-tile:hover,
  .page-home .home-card:hover,
  .page-home .home-fav__btn:hover {
    transform: none;
  }
}
<<<END>>>
