.page-home {
  --home-track: rgba(138, 160, 201, .22);
  --home-panel: rgba(7, 11, 30, .72);
  background:
    radial-gradient(1100px 560px at 88% -8%, rgba(123, 92, 255, .26), transparent 62%),
    radial-gradient(820px 500px at 4% 6%, rgba(46, 242, 214, .12), transparent 64%),
    var(--c-deep);
  color: var(--c-fog);
  padding-top: 0;
  overflow-x: hidden;
}

.page-home .hero {
  position: relative;
  isolation: isolate;
  padding: calc(var(--header-h) + 32px) 0 clamp(40px, 5vw, 76px);
  border-bottom: 1px solid var(--c-line);
}

.page-home .hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(var(--home-track) 1px, transparent 1px),
    linear-gradient(90deg, var(--home-track) 1px, transparent 1px);
  background-size: 76px 76px;
  opacity: .3;
  pointer-events: none;
}

.page-home .hero::after {
  content: "";
  position: absolute;
  top: -12%;
  right: -8%;
  width: 50%;
  height: 74%;
  z-index: -1;
  background: linear-gradient(102deg, rgba(123, 92, 255, .24), transparent 64%);
  transform: skewX(-12deg);
  pointer-events: none;
}

.page-home .breadcrumb {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--c-mist);
}

.page-home .breadcrumb ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
}

.page-home .breadcrumb li {
  color: var(--c-cyan);
}

.page-home .hero-collage {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--gap);
  margin-top: clamp(24px, 3.4vw, 46px);
}

.page-home .hero-lead {
  grid-column: 1 / 7;
  grid-row: 1 / 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  min-width: 0;
}

.page-home .hero-lead h1 {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: clamp(30px, 4.2vw, 56px);
  line-height: 1.14;
  letter-spacing: -.012em;
  color: #fff;
  margin: 0;
}

.page-home .hero-copy {
  margin: 0;
  max-width: 46ch;
  font-size: clamp(15px, 1.1vw, 17px);
  line-height: 1.85;
  color: var(--c-mist);
}

.page-home .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 6px;
}

.page-home .hero-figure {
  grid-column: 7 / 13;
  grid-row: 1 / 3;
  position: relative;
  margin: 0;
  min-width: 0;
  border: 1px solid var(--c-line);
  overflow: hidden;
}

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

.page-home .hero-figure::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(158deg, rgba(7, 11, 30, .04), rgba(2, 4, 10, .76));
  pointer-events: none;
}

.page-home .hero-figure .figure-caption {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 16px;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: .04em;
  color: var(--c-fog);
}

.page-home .hero-stat {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 20px;
  background: var(--home-panel);
  border: 1px solid var(--c-line-strong);
  min-width: 0;
}

.page-home .hero-stat--a {
  grid-column: 1 / 4;
  grid-row: 3;
  border-top: 2px solid var(--c-cyan);
}

.page-home .hero-stat--b {
  grid-column: 4 / 7;
  grid-row: 3;
  border-top: 2px solid var(--c-gold);
}

.page-home .hero-stat .stat-num {
  font-family: var(--font-mono);
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1;
  color: var(--c-cyan);
}

.page-home .hero-stat--b .stat-num {
  color: var(--c-gold);
}

.page-home .hero-stat .stat-label {
  font-size: 13px;
  line-height: 1.5;
  color: var(--c-mist);
}

.page-home .hero-note {
  grid-column: 7 / 13;
  grid-row: 3;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 14px;
  padding: 16px 20px;
  border-left: 2px solid var(--c-magenta);
  background: linear-gradient(90deg, rgba(232, 69, 139, .16), transparent 78%);
  min-width: 0;
}

.page-home .hero-note .mono {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .14em;
  color: var(--c-magenta);
}

.page-home .hero-note strong {
  font-family: var(--font-title);
  font-size: clamp(17px, 1.5vw, 21px);
  color: var(--c-fog);
}

.page-home .home-section {
  position: relative;
  padding: clamp(52px, 6.5vw, 100px) 0;
  border-bottom: 1px solid var(--c-line);
}

.page-home .home-section--paper {
  background: var(--c-paper);
  color: var(--c-inktext);
  border-bottom-color: var(--c-line-dark);
}

.page-home .section-head {
  display: grid;
  gap: 14px;
  max-width: 62ch;
  margin-bottom: clamp(28px, 3.6vw, 52px);
}

.page-home .section-head h2 {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: clamp(24px, 2.8vw, 38px);
  line-height: 1.22;
  letter-spacing: -.01em;
  margin: 0;
  color: #fff;
}

.page-home .section-head p {
  margin: 0;
  font-size: 16px;
  line-height: 1.85;
  color: var(--c-mist);
}

.page-home .eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--c-cyan);
  margin: 0;
}

.page-home .home-section--paper .eyebrow {
  color: #0f6f66;
}

.page-home .home-section--paper .section-head h2,
.page-home .home-section--paper h2 {
  color: var(--c-inktext);
}

.page-home .home-section--paper .section-head p {
  color: rgba(23, 27, 44, .72);
}

.page-home .lines-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gap);
}

.page-home .line-card {
  --accent: var(--c-cyan);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 26px 22px 26px;
  background: linear-gradient(180deg, rgba(2, 4, 10, .62), rgba(7, 11, 30, .9));
  border: 1px solid var(--c-line);
  transition: transform .35s ease, border-color .35s ease;
}

.page-home .line-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
}

.page-home .line-card--game { --accent: var(--c-gold); }
.page-home .line-card--film { --accent: var(--c-magenta); }

.page-home .line-card:hover {
  transform: translateY(-4px);
  border-color: var(--c-line-strong);
}

.page-home .line-card .line-no {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .16em;
  color: var(--accent);
  margin: 0;
}

.page-home .line-card h3 {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: clamp(19px, 1.6vw, 23px);
  margin: 0;
  color: #fff;
}

.page-home .line-card > p {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--c-mist);
}

.page-home .line-facts {
  list-style: none;
  margin: auto 0 0;
  padding: 16px 0 0;
  border-top: 1px solid var(--c-line);
  display: grid;
  gap: 9px;
}

.page-home .line-facts li {
  display: flex;
  gap: 10px;
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--c-fog);
}

.page-home .line-facts li::before {
  content: "—";
  flex: none;
  font-family: var(--font-mono);
  color: var(--accent);
}

.page-home .cross-block {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  gap: clamp(20px, 3vw, 46px);
  align-items: center;
  margin-top: clamp(32px, 4vw, 62px);
  padding-top: clamp(28px, 3vw, 44px);
  border-top: 1px solid var(--c-line);
}

.page-home .cross-figure {
  margin: 0;
  position: relative;
  border: 1px solid var(--c-line);
  overflow: hidden;
}

.page-home .cross-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.page-home .cross-figure .figure-caption {
  display: block;
  padding: 10px 2px 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--c-mist);
}

.page-home .cross-copy {
  display: grid;
  gap: 14px;
  align-content: center;
}

.page-home .cross-copy h3 {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: clamp(20px, 1.9vw, 28px);
  line-height: 1.3;
  margin: 0;
  color: #fff;
}

.page-home .cross-copy p {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.85;
  color: var(--c-mist);
}

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

.page-home .week-layout {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(24px, 3.6vw, 60px);
  align-items: start;
}

.page-home .week-figure {
  margin: 0;
  position: sticky;
  top: calc(var(--header-h) + 24px);
  border: 1px solid var(--c-line);
  overflow: hidden;
}

.page-home .week-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 5 / 6;
  object-fit: cover;
}

.page-home .week-figure .figure-caption {
  display: block;
  padding: 10px 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--c-mist);
  border-top: 1px solid var(--c-line);
}

.page-home .week-main .section-head {
  margin-bottom: clamp(24px, 3vw, 40px);
}

.page-home .week-track {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}

.page-home .week-track::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 10px;
  bottom: 10px;
  width: 1px;
  background: linear-gradient(180deg, var(--c-cyan), rgba(46, 242, 214, .06));
}

.page-home .week-node {
  position: relative;
  padding: 0 0 30px 32px;
  min-width: 0;
}

.page-home .week-node:last-child {
  padding-bottom: 0;
}

.page-home .week-node::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 11px;
  height: 11px;
  border: 1px solid var(--c-cyan);
  background: var(--c-deep);
  transform: rotate(45deg);
  transition: background .3s ease, box-shadow .3s ease;
}

.page-home .week-node:hover::before,
.page-home .week-node:focus-within::before {
  background: var(--c-cyan);
  box-shadow: 0 0 0 4px rgba(46, 242, 214, .16);
}

.page-home .week-node .node-time {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: .12em;
  color: var(--c-cyan);
  margin: 0 0 6px;
}

.page-home .week-node h3 {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 18px;
  margin: 0 0 8px;
  color: #fff;
}

.page-home .week-node .node-desc {
  margin: 0;
  font-size: 15px;
  line-height: 1.78;
  color: var(--c-mist);
}

.page-home .week-node .node-more {
  margin: 8px 0 0;
  padding-left: 10px;
  font-size: 13.5px;
  line-height: 1.72;
  color: rgba(233, 237, 245, .5);
  border-left: 2px solid rgba(46, 242, 214, .28);
  transition: color .3s ease, border-color .3s ease;
}

.page-home .rules-layout {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(26px, 4vw, 64px);
  align-items: start;
}

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

.page-home .rules-copy h2 {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: clamp(23px, 2.7vw, 36px);
  line-height: 1.25;
  letter-spacing: -.01em;
  margin: 0;
  color: var(--c-inktext);
}

.page-home .rules-copy p {
  margin: 0;
  font-size: 16px;
  line-height: 1.85;
  color: rgba(23, 27, 44, .74);
}

.page-home .rules-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 6px;
}

.page-home .rules-actions .btn--primary {
  background: var(--c-deep);
  border-color: var(--c-deep);
  color: var(--c-paper);
}

.page-home .rules-actions .btn--line {
  border-color: rgba(23, 27, 44, .38);
  color: var(--c-inktext);
  background: transparent;
}

.page-home .rules-panel {
  display: grid;
  gap: 20px;
  padding: clamp(20px, 2.4vw, 32px);
  background: rgba(255, 255, 255, .58);
  border: 1px solid var(--c-line-dark);
}

.page-home .rules-cycle {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--c-line-dark);
}

.page-home .cycle-num {
  font-family: var(--font-mono);
  font-size: clamp(42px, 6vw, 66px);
  line-height: 1;
  color: var(--c-inktext);
}

.page-home .cycle-unit {
  font-size: 13.5px;
  letter-spacing: .04em;
  color: rgba(23, 27, 44, .62);
}

.page-home .tier-scale {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.page-home .tier-scale li {
  display: grid;
  gap: 5px;
  padding-top: 10px;
  border-top: 3px solid var(--c-cyan);
  font-size: 13.5px;
  color: var(--c-inktext);
}

.page-home .tier-scale li:nth-child(2) { border-top-color: var(--c-violet); }
.page-home .tier-scale li:nth-child(3) { border-top-color: var(--c-gold); }
.page-home .tier-scale li:nth-child(4) { border-top-color: var(--c-magenta); }

.page-home .tier-scale .mono {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .12em;
  color: rgba(23, 27, 44, .5);
}

.page-home .rules-note {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  color: rgba(23, 27, 44, .72);
}

.page-home .devices-layout {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(24px, 3.6vw, 60px);
  align-items: start;
}

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

.page-home .devices-copy h2 {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: clamp(23px, 2.7vw, 36px);
  line-height: 1.25;
  letter-spacing: -.01em;
  margin: 0;
  color: #fff;
}

.page-home .devices-copy p {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.85;
  color: var(--c-mist);
}

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

.page-home .device-tags li {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: .06em;
  color: var(--c-cyan);
  border: 1px solid var(--c-line-strong);
  padding: 6px 14px;
}

.page-home .sync-scenes {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--c-line);
}

.page-home .sync-scenes li {
  padding: 22px 4px;
  border-bottom: 1px solid var(--c-line);
  display: grid;
  gap: 8px;
}

.page-home .sync-scenes h3 {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 17.5px;
  margin: 0;
  color: #fff;
}

.page-home .sync-scenes p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--c-mist);
}

.page-home .trust-layout {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  gap: clamp(24px, 3.6vw, 60px);
  align-items: center;
}

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

.page-home .trust-copy h2 {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: clamp(23px, 2.8vw, 38px);
  line-height: 1.24;
  letter-spacing: -.01em;
  margin: 0;
  color: #fff;
}

.page-home .trust-copy p {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.85;
  color: var(--c-mist);
}

.page-home .trust-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 6px;
}

.page-home .trust-figure {
  margin: 0;
  position: relative;
  border: 1px solid var(--c-line);
  overflow: hidden;
}

.page-home .trust-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 14 / 9;
  object-fit: cover;
}

.page-home .trust-figure .figure-caption {
  display: block;
  padding: 10px 2px 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--c-mist);
}

.page-home .trust-stats {
  list-style: none;
  margin: clamp(32px, 4vw, 56px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  background: var(--c-line);
  border-top: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
}

.page-home .trust-stats li {
  background: var(--c-deep);
  padding: 22px 16px;
  display: grid;
  gap: 8px;
  align-content: start;
}

.page-home .trust-stats .stat-num {
  font-family: var(--font-mono);
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1;
  color: var(--c-gold);
}

.page-home .trust-stats .stat-text {
  font-size: 13px;
  line-height: 1.6;
  color: var(--c-mist);
}

.page-home .trust-foot {
  margin-top: clamp(24px, 3vw, 40px);
  display: grid;
  gap: 8px;
}

.page-home .trust-foot p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--c-mist);
}

.page-home .trust-foot .mono {
  font-family: var(--font-mono);
  letter-spacing: .08em;
  color: rgba(138, 160, 201, .85);
}

.page-home .trust-foot a {
  color: var(--c-cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(46, 242, 214, .35);
}

.page-home .trust-foot a:hover {
  border-bottom-color: var(--c-cyan);
}

@media (max-width: 1080px) {
  .page-home .lines-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 980px) {
  .page-home .hero-lead {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .page-home .hero-figure {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .page-home .hero-figure img {
    min-height: 240px;
  }

  .page-home .hero-stat--a {
    grid-column: 1 / 7;
    grid-row: auto;
  }

  .page-home .hero-stat--b {
    grid-column: 7 / 13;
    grid-row: auto;
  }

  .page-home .hero-note {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .page-home .cross-block,
  .page-home .week-layout,
  .page-home .rules-layout,
  .page-home .devices-layout,
  .page-home .trust-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .page-home .week-figure {
    position: static;
  }

  .page-home .week-figure img {
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 720px) {
  .page-home .lines-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .page-home .hero-stat--a,
  .page-home .hero-stat--b {
    grid-column: 1 / -1;
  }

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

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

  .page-home .section-head h2,
  .page-home .rules-copy h2,
  .page-home .devices-copy h2,
  .page-home .trust-copy h2 {
    font-size: clamp(22px, 6vw, 28px);
  }

  .page-home .hero-lead h1 {
    font-size: clamp(27px, 7.6vw, 36px);
  }

  .page-home .week-node {
    padding-left: 26px;
  }
}

@media (max-width: 420px) {
  .page-home .trust-stats {
    grid-template-columns: minmax(0, 1fr);
  }

  .page-home .tier-scale {
    grid-template-columns: minmax(0, 1fr);
  }
}
