.page-home {
  --home-gap: clamp(20px, 4vw, 40px);
  --home-frame-line: rgba(198, 249, 74, .34);
  --home-speed: 260ms;
  background: var(--ink);
  color: var(--paper);
  overflow-x: hidden;
}

.page-home .home-hero {
  padding-top: clamp(24px, 4vw, 52px);
}

.page-home .hero-context {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  margin-bottom: clamp(18px, 3vw, 32px);
}

.page-home .hero-context-note {
  font-size: .84rem;
  color: var(--sage);
  font-family: var(--font-mono);
  letter-spacing: .02em;
}

.page-home .frame {
  position: relative;
  padding: clamp(20px, 3.4vw, 46px);
  background-color: var(--panel);
  overflow: hidden;
}

.page-home .frame::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background-image:
    linear-gradient(var(--home-frame-line), var(--home-frame-line)),
    linear-gradient(var(--home-frame-line), var(--home-frame-line)),
    linear-gradient(var(--home-frame-line), var(--home-frame-line)),
    linear-gradient(var(--home-frame-line), var(--home-frame-line));
  background-repeat: no-repeat;
  background-size:
    calc(100% - 32px) 1px,
    calc(100% - 32px) 1px,
    1px calc(100% - 32px),
    1px calc(100% - 32px);
  background-position:
    16px 0,
    16px 100%,
    0 16px,
    100% 16px;
}

.page-home .frame::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image:
    radial-gradient(120% 90% at 88% 0%, rgba(70, 224, 176, .16), transparent 62%),
    repeating-linear-gradient(90deg, rgba(198, 249, 74, .05) 0 1px, transparent 1px 118px),
    repeating-linear-gradient(0deg, rgba(23, 64, 47, .55) 0 1px, transparent 1px 118px);
}

.page-home .frame-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .26;
  filter: saturate(.45) contrast(1.05);
  pointer-events: none;
}

.page-home .frame-copy,
.page-home .frame-board {
  position: relative;
  z-index: 2;
}

.page-home .frame-copy {
  max-width: 42em;
}

.page-home h1 {
  margin: 14px 0 0;
  font-family: var(--font-cond);
  font-size: clamp(2.2rem, 6vw, 4.4rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -.012em;
}

.page-home .h1-accent {
  display: block;
  margin-top: 6px;
  color: var(--lime);
  border-bottom: 2px solid var(--amber);
  padding-bottom: 6px;
}

.page-home .lede {
  margin: 22px 0 0;
  max-width: 32em;
  font-size: var(--step1);
  line-height: 1.75;
  color: rgba(245, 242, 233, .82);
}

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

.page-home .hero-aside {
  margin: 20px 0 0;
  font-size: .86rem;
  color: var(--sage);
  border-left: 1px solid var(--turf);
  padding-left: 12px;
  line-height: 1.7;
}

.page-home .hero-aside a {
  color: var(--lime);
  text-decoration: none;
  border-bottom: 1px solid rgba(198, 249, 74, .4);
  margin-left: 4px;
}

.page-home .hero-aside a:hover {
  border-bottom-color: var(--lime);
}

.page-home .frame-board {
  margin-top: clamp(28px, 4vw, 52px);
}

.page-home .rounds {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  padding-bottom: 10px;
  margin-bottom: 18px;
  scrollbar-width: thin;
}

.page-home .round {
  flex: 0 0 auto;
  scroll-snap-align: start;
  font-family: var(--font-mono);
  font-size: .82rem;
  letter-spacing: .02em;
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--sage);
  white-space: nowrap;
}

.page-home .round.is-current {
  background: var(--amber);
  border-color: var(--amber);
  color: var(--ink);
  font-weight: 700;
}

.page-home .match-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  background: var(--line);
  border: 1px solid var(--line);
}

.page-home .match {
  position: relative;
  background: var(--ink);
  padding: 16px 16px 20px;
  transition: background var(--dur) var(--ease);
}

.page-home .match::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background: var(--lime);
  transition: width var(--home-speed) var(--ease);
}

.page-home .match:hover::after,
.page-home .match:focus-within::after {
  width: 100%;
}

.page-home .match:hover {
  background: var(--panel);
}

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

.page-home .match-round {
  font-size: .74rem;
  color: var(--sage);
  letter-spacing: .04em;
}

.page-home .match-time {
  font-family: var(--font-mono);
  font-size: clamp(2rem, 5vw, 3.1rem);
  line-height: 1;
  color: var(--lime);
  font-variant-numeric: tabular-nums;
  margin: 0;
}

.page-home .match-teams {
  margin: 12px 0 0;
  font-family: var(--font-cond);
  font-size: var(--step1);
  font-weight: 700;
  letter-spacing: .01em;
  line-height: 1.35;
}

.page-home .match-teams .vs {
  font-family: var(--font-mono);
  font-size: .78rem;
  color: var(--amber);
  padding: 0 6px;
}

.page-home .match-note {
  margin: 8px 0 0;
  font-size: .82rem;
  line-height: 1.6;
  color: var(--sage);
}

.page-home .home-board {
  margin-top: clamp(44px, 7vw, 96px);
  padding-bottom: clamp(48px, 8vw, 104px);
}

.page-home .board-grid {
  display: grid;
  gap: clamp(24px, 4vw, 44px);
  grid-template-columns: minmax(0, 1fr);
}

.page-home .sub-axis {
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: var(--radius);
}

.page-home .axis-details {
  padding: 18px;
}

.page-home .axis-summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: .78rem;
  letter-spacing: .06em;
  color: var(--lime);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.page-home .axis-summary::-webkit-details-marker {
  display: none;
}

.page-home .axis-details[open] .axis-summary {
  margin-bottom: 16px;
}

.page-home .axis-body {
  display: block;
}

.page-home .axis-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.page-home .axis-count {
  font-size: .8rem;
  color: var(--amber);
  letter-spacing: .06em;
}

.page-home .axis-list {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: grid;
  gap: 1px;
  background: var(--line);
}

.page-home .axis-item {
  position: relative;
  background: var(--ink);
  padding: 12px 12px 12px 22px;
}

.page-home .axis-dot {
  position: absolute;
  left: 8px;
  top: 18px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime);
}

.page-home .axis-team {
  margin: 0;
  font-family: var(--font-cond);
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: .02em;
}

.page-home .axis-meta {
  margin: 4px 0 0;
  font-size: .76rem;
  color: var(--lime);
  letter-spacing: .02em;
}

.page-home .axis-round {
  margin: 4px 0 0;
  font-size: .76rem;
  color: var(--sage);
}

.page-home .axis-cta {
  width: 100%;
  text-align: center;
  justify-content: center;
}

.page-home .axis-note {
  margin: 12px 0 0;
  font-size: .78rem;
  line-height: 1.65;
  color: var(--sage);
}

.page-home .board-sec + .board-sec {
  margin-top: clamp(40px, 6vw, 78px);
}

.page-home .sec-head {
  max-width: 40em;
  margin-bottom: clamp(20px, 3vw, 30px);
}

.page-home .sec-head h2 {
  margin: 12px 0 0;
  font-family: var(--font-cond);
  font-size: var(--step3);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -.008em;
}

.page-home .sec-head p {
  margin: 14px 0 0;
  font-size: var(--step0);
  line-height: 1.75;
  color: rgba(245, 242, 233, .78);
}

.page-home .matrix {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  background: var(--line);
  border: 1px solid var(--line);
}

.page-home .card {
  grid-column: span 12;
  position: relative;
  background: var(--ink);
  padding: clamp(18px, 2.4vw, 26px);
}

.page-home .card::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 2px;
  width: 0;
  background: var(--lime);
  transition: width var(--home-speed) var(--ease);
}

.page-home .card:hover::after {
  width: 100%;
}

.page-home .card h3 {
  margin: 0;
  font-family: var(--font-cond);
  font-size: var(--step2);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -.005em;
}

.page-home .card p {
  margin: 12px 0 0;
  font-size: .94rem;
  line-height: 1.75;
  color: rgba(245, 242, 233, .78);
}

.page-home .card .media-frame {
  margin-bottom: 16px;
}

.page-home .card-list {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.page-home .card-list li {
  font-size: .88rem;
  line-height: 1.6;
  color: rgba(245, 242, 233, .72);
  padding-left: 14px;
  position: relative;
}

.page-home .card-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: 6px;
  height: 1px;
  background: var(--signal);
}

.page-home .card-list--tight li span.num {
  color: var(--amber);
  font-size: .74rem;
  margin-right: 8px;
}

.page-home .card-note {
  color: var(--sage) !important;
  font-size: .82rem !important;
  border-left: 1px solid var(--turf);
  padding-left: 12px;
}

.page-home .steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.page-home .step {
  background: var(--panel);
  padding: 20px;
}

.page-home .step-num {
  font-size: .78rem;
  color: var(--amber);
  letter-spacing: .08em;
}

.page-home .step h3 {
  margin: 10px 0 0;
  font-family: var(--font-cond);
  font-size: 1.15rem;
  font-weight: 700;
}

.page-home .step p {
  margin: 8px 0 0;
  font-size: .86rem;
  line-height: 1.7;
  color: var(--sage);
}

.page-home .export-demo {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: 1px;
}

.page-home .export-fields {
  background: var(--ink);
  padding: clamp(20px, 2.6vw, 28px);
}

.page-home .export-fields h3 {
  margin: 0 0 16px;
  font-family: var(--font-cond);
  font-size: var(--step2);
  font-weight: 800;
}

.page-home .segs {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.page-home .seg-input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.page-home .seg-label {
  font-family: var(--font-mono);
  font-size: .8rem;
  letter-spacing: .08em;
  padding: 9px 22px;
  cursor: pointer;
  color: var(--sage);
  border-right: 1px solid var(--line);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}

.page-home .seg-label:last-of-type {
  border-right: 0;
}

.page-home .seg-input:checked + .seg-label {
  background: var(--lime);
  color: var(--ink);
  font-weight: 700;
}

.page-home .seg-input:focus-visible + .seg-label {
  outline: 2px solid var(--amber);
  outline-offset: 2px;
}

.page-home .seg-panel {
  display: none;
}

.page-home .panel-note {
  margin: 14px 0 0;
  font-size: .86rem;
  line-height: 1.7;
  color: var(--sage);
}

.page-home #fmt-csv:checked ~ .seg-panels .panel-csv {
  display: block;
}

.page-home #fmt-xlsx:checked ~ .seg-panels .panel-xlsx {
  display: block;
}

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

.page-home .field-list li {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  justify-content: space-between;
  align-items: baseline;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: .88rem;
  color: rgba(245, 242, 233, .74);
}

.page-home .field-key {
  font-family: var(--font-mono);
  font-size: .78rem;
  color: var(--lime);
  letter-spacing: .04em;
}

.page-home .export-media {
  background: var(--ink);
  padding: clamp(16px, 2.2vw, 24px);
}

.page-home .sync {
  display: grid;
  gap: clamp(24px, 4vw, 48px);
  grid-template-columns: minmax(0, 1fr);
}

.page-home .sync-copy h2 {
  margin: 12px 0 0;
  font-family: var(--font-cond);
  font-size: var(--step3);
  font-weight: 800;
  line-height: 1.12;
}

.page-home .sync-copy > p {
  margin: 16px 0 0;
  font-size: var(--step0);
  line-height: 1.78;
  color: rgba(245, 242, 233, .78);
  max-width: 34em;
}

.page-home .sync-list {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.page-home .sync-list li {
  position: relative;
  padding-left: 18px;
  font-size: .9rem;
  line-height: 1.7;
  color: rgba(245, 242, 233, .76);
}

.page-home .sync-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .66em;
  width: 8px;
  height: 1px;
  background: var(--lime);
}

.page-home .next-links {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: clamp(28px, 4vw, 40px);
}

.page-home .next-links a {
  display: block;
  background: var(--panel);
  padding: 16px 18px;
  font-size: .9rem;
  color: var(--paper);
  text-decoration: none;
  border-left: 2px solid transparent;
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease), color var(--dur) var(--ease);
}

.page-home .next-links a:hover,
.page-home .next-links a:focus-visible {
  border-left-color: var(--lime);
  background: var(--turf);
  color: var(--lime);
}

.page-home a:focus-visible,
.page-home summary:focus-visible,
.page-home label:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 2px;
}

@media (min-width: 640px) {
  .page-home .steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .page-home .frame::before {
    background-size:
      calc(100% - 48px) 1px,
      calc(100% - 48px) 1px,
      1px calc(100% - 48px),
      1px calc(100% - 48px);
    background-position:
      24px 0,
      24px 100%,
      0 24px,
      100% 24px;
  }
}

@media (min-width: 760px) {
  .page-home .card--board {
    grid-column: span 7;
  }

  .page-home .card--player {
    grid-column: span 5;
  }

  .page-home .card--files {
    grid-column: span 5;
  }

  .page-home .card--focus {
    grid-column: span 7;
  }

  .page-home .export-demo {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  }
}

@media (min-width: 900px) {
  .page-home .sync {
    grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr);
    align-items: start;
  }
}

@media (min-width: 960px) {
  .page-home .board-grid {
    grid-template-columns: 300px minmax(0, 1fr);
    align-items: start;
  }

  .page-home .sub-axis {
    position: sticky;
    top: 96px;
  }

  .page-home .axis-summary {
    display: none;
  }

  .page-home .axis-details {
    padding: 20px;
  }
}

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

  .page-home .match:hover::after,
  .page-home .match:focus-within::after,
  .page-home .card:hover::after {
    width: 100%;
  }
}
<<<END>>>
