.page-home {
  display: block;
  background: var(--cream-bg);
  color: var(--ink-blue);
  overflow-x: clip;
}
.page-home__wrap {
  width: min(100% - 2.5rem, 1280px);
  margin-inline: auto;
}
.page-home img {
  max-width: 100%;
  display: block;
}
.page-home .page-section {
  padding: 4.5rem 0;
}
.page-home h2 {
  font-family: 'DIN Condensed', 'Arial Narrow', sans-serif;
  font-size: clamp(1.9rem, 4.5vw, 3.2rem);
  line-height: 1.02;
  letter-spacing: .01em;
  margin: 0 0 1rem;
}
.page-home h3 {
  font-family: 'DIN Condensed', 'Arial Narrow', sans-serif;
  font-size: 1.35rem;
  line-height: 1.15;
  margin: .25rem 0 .5rem;
}
.page-home .section-kicker {
  font-family: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent-orange);
  margin-bottom: .6rem;
}
.page-home .section-intro {
  font-family: 'Noto Serif SC', 'Source Han Serif SC', serif;
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-secondary);
  max-width: 68ch;
}
.page-home .btn {
  border-radius: 999px;
  padding: .8rem 1.35rem;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  border: 1px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.page-home .btn:hover {
  transform: translateY(-2px);
}
.page-home .btn--accent {
  background: var(--accent-orange);
  color: #fff;
  box-shadow: 0 8px 24px rgba(240, 78, 35, .28);
}
.page-home .btn--dark {
  background: var(--ink-blue);
  color: var(--cream-light);
  box-shadow: 0 8px 20px rgba(16, 24, 40, .18);
}
.page-home .btn--ghost {
  background: rgba(255, 255, 255, .12);
  color: var(--cream-light);
  border-color: rgba(255, 255, 255, .32);
}
.page-home .text-link {
  color: var(--accent-orange);
  text-decoration: underline;
  text-underline-offset: .25em;
  font-weight: 600;
}
.page-home .home-hero {
  position: relative;
  padding: 2.25rem 0 0;
  background: linear-gradient(135deg, var(--ink-blue) 0%, var(--deep-blue) 62%, rgba(30, 58, 138, .88) 100%);
  color: var(--cream-light);
  overflow: hidden;
}
.page-home .home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .055) 1px, transparent 1px);
  background-size: 100% 4rem;
  pointer-events: none;
}
.page-home .home-hero::after {
  content: "";
  position: absolute;
  width: 130%;
  height: 7rem;
  background: var(--accent-orange);
  bottom: -3.5rem;
  left: -8%;
  opacity: .14;
  transform: rotate(-3deg);
  pointer-events: none;
}
.page-home .home-hero__grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
  position: relative;
  z-index: 1;
}
.page-home .page-breadcrumb {
  grid-column: 1 / -1;
  display: flex;
  gap: .5rem;
  align-items: center;
  font-size: .875rem;
  color: rgba(255, 255, 255, .72);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 999px;
  padding: .35rem .85rem;
  width: fit-content;
}
.page-home .page-breadcrumb a {
  color: var(--cream-light);
  text-decoration: none;
}
.page-home .page-breadcrumb__sep {
  color: var(--accent-orange);
}
.page-home .home-kicker {
  font-family: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--amber-accent);
  margin-bottom: .8rem;
}
.page-home .home-hero__copy h1 {
  font-family: 'DIN Condensed', 'Arial Narrow', sans-serif;
  font-size: clamp(2.4rem, 8vw, 5.8rem);
  line-height: .96;
  letter-spacing: .01em;
  margin: 0 0 1.2rem;
  max-width: 10.5em;
}
.page-home .home-lede {
  font-family: 'Noto Serif SC', 'Source Han Serif SC', serif;
  font-size: 1.125rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, .86);
  max-width: 58ch;
  margin-bottom: 1.6rem;
}
.page-home .home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}
.page-home .home-hero__cover {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(0, 0, 0, .35);
  transform: rotate(-1deg);
  background: var(--ink-blue);
}
.page-home .home-hero__cover img {
  width: 100%;
  height: clamp(220px, 58vw, 540px);
  object-fit: cover;
}
.page-home .home-hero__badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--accent-orange);
  color: #fff;
  font-size: .875rem;
  font-weight: 700;
  border-radius: 999px;
  padding: .35rem .9rem;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .2);
}
.page-home .home-hero__slant {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1.1rem;
  background: linear-gradient(90deg, var(--amber-accent), var(--accent-orange) 60%, var(--deep-blue));
  opacity: .85;
  clip-path: polygon(0 5%, 100% 0, 98% 100%, 2% 80%);
}
.page-home .home-hero__track {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, .16);
  border-bottom: 1px solid rgba(255, 255, 255, .16);
  padding: 1rem 0;
  margin-top: .5rem;
}
.page-home .home-hero__track span {
  font-family: 'DIN Condensed', 'Arial Narrow', sans-serif;
  font-size: 1.1rem;
  letter-spacing: .05em;
  color: rgba(255, 255, 255, .92);
}
.page-home .home-hero__track span:not(:first-child)::before {
  content: "·";
  margin-right: 1.5rem;
  color: var(--accent-orange);
}
.page-home .ios-section__grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}
.page-home .ios-section__intro h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}
.page-home .ios-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1rem;
}
.page-home .ios-step {
  position: relative;
  background: var(--cream-light);
  border: 1px solid var(--line-grey);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .4rem 1.25rem;
  box-shadow: 0 8px 24px rgba(16, 24, 40, .06);
}
.page-home .ios-step__num {
  grid-row: 1 / span 2;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--ink-blue);
  color: var(--cream-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.15rem;
}
.page-home .ios-step h3 {
  margin: 0;
  align-self: end;
}
.page-home .ios-step p {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.6;
}
.page-home .library-section {
  background: linear-gradient(180deg, var(--cream-bg) 0%, #EFE8DA 100%);
}
.page-home .library-section__head {
  max-width: 44rem;
  margin-bottom: 2rem;
}
.page-home .library-section__head h2 {
  font-size: clamp(2rem, 4.2vw, 3.4rem);
}
.page-home .library-section__grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
  align-items: start;
}
.page-home .library-feature {
  background: var(--cream-light);
  border: 1px solid var(--line-grey);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(16, 24, 40, .07);
}
.page-home .library-feature__media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.page-home .library-feature__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.page-home .library-feature__body {
  padding: 1.5rem;
}
.page-home .library-feature__body h3 {
  font-size: 1.6rem;
  margin: .5rem 0 .6rem;
}
.page-home .library-feature__body p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1rem;
}
.page-home .match-stack {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
.page-home .match-card {
  position: relative;
  display: grid;
  grid-template-columns: .4rem 1fr;
  background: var(--cream-light);
  border: 1px solid var(--line-grey);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(16, 24, 40, .06);
}
.page-home .match-card__side {
  background: var(--accent-orange);
}
.page-home .match-card--away .match-card__side {
  background: var(--deep-blue);
}
.page-home .match-card--cup .match-card__side {
  background: var(--amber-accent);
}
.page-home .match-card__content {
  padding: 1.2rem;
}
.page-home .match-card__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .5rem;
  margin-bottom: .4rem;
}
.page-home .match-card__time {
  font-size: .9rem;
  font-weight: 700;
  color: var(--text-secondary);
}
.page-home .match-card h3 {
  margin: 0;
}
.page-home .match-card p {
  color: var(--text-secondary);
  line-height: 1.65;
  margin: .3rem 0 .8rem;
}
.page-home .match-card__footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .5rem;
  align-items: center;
}
.page-home .match-card__footer a {
  color: var(--accent-orange);
  font-weight: 700;
  text-decoration: none;
}
.page-home .library-section__feedback {
  background: var(--ink-blue);
  color: var(--cream-light);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.4rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .75rem;
  align-items: center;
}
.page-home .library-section__feedback p {
  margin: 0;
}
.page-home .library-section__feedback a {
  color: var(--amber-accent);
  font-weight: 700;
  text-decoration: none;
}
.page-home .compare-section {
  background: linear-gradient(135deg, var(--deep-blue) 0%, var(--ink-blue) 100%);
  color: var(--cream-light);
}
.page-home .compare-section__grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr;
  align-items: center;
}
.page-home .compare-stage {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .35);
  border: 1px solid rgba(255, 255, 255, .18);
}
.page-home .compare-stage img {
  width: 100%;
  height: clamp(200px, 48vw, 420px);
  object-fit: cover;
}
.page-home .compare-stage__label {
  position: absolute;
  top: 1.25rem;
  color: #fff;
  font-size: .9rem;
  font-weight: 700;
  border-radius: 999px;
  padding: .3rem .75rem;
  background: rgba(0, 0, 0, .5);
}
.page-home .compare-stage__label--a {
  left: 1.25rem;
}
.page-home .compare-stage__label--b {
  right: 1.25rem;
  background: rgba(240, 78, 35, .9);
}
.page-home .compare-stage__divider {
  position: absolute;
  inset: 0;
  width: 1px;
  margin: auto;
  background: var(--cream-light);
  opacity: .85;
}
.page-home .compare-stage__divider::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--cream-light);
  transform: translate(-50%, -50%);
  box-shadow: 0 0 18px rgba(0, 0, 0, .4);
}
.page-home .compare-copy .section-kicker {
  color: var(--amber-accent);
}
.page-home .compare-copy .section-intro {
  color: rgba(255, 255, 255, .82);
}
.page-home .compare-list {
  list-style: none;
  padding: 0;
  margin: 1.8rem 0 2rem;
}
.page-home .compare-list li {
  display: grid;
  grid-template-columns: 7rem 1fr;
  gap: 1rem;
  border-top: 1px solid rgba(255, 255, 255, .16);
  padding: 1rem 0;
}
.page-home .compare-list li span {
  color: var(--amber-accent);
  font-weight: 700;
}
.page-home .compare-list li:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, .16);
}
.page-home .feedback-section__grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr;
  align-items: center;
}
.page-home .feedback-section__grid h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}
.page-home .ticket {
  background: var(--cream-light);
  border-left: 4px solid var(--accent-orange);
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.5rem;
  box-shadow: 0 10px 26px rgba(16, 24, 40, .08);
  margin: 1.5rem 0;
}
.page-home .ticket p:first-child {
  margin: 0 0 .5rem;
}
.page-home .ticket__tags {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin: .75rem 0;
}
.page-home .ticket__note {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.6;
}
.page-home .ticket-detail {
  border: 1px solid var(--line-grey);
  border-radius: var(--radius-lg);
  background: var(--cream-light);
  padding: 1rem 1.2rem;
  margin: 1.2rem 0 0;
}
.page-home .ticket-detail summary {
  cursor: pointer;
  font-weight: 700;
}
.page-home .ticket-detail p {
  margin: .6rem 0 0;
  color: var(--text-secondary);
  line-height: 1.7;
}
.page-home .feedback-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  align-items: center;
  margin-top: 1.25rem;
}
.page-home .feedback-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--ink-blue);
  box-shadow: 0 16px 40px rgba(16, 24, 40, .16);
}
.page-home .feedback-visual img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
.page-home .feedback-visual__caption {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  background: rgba(16, 24, 40, .76);
  color: var(--cream-light);
  border-radius: 999px;
  padding: .45rem 1rem;
  font-size: .875rem;
  backdrop-filter: blur(6px);
}
.page-home .site-index {
  border-top: 1px solid var(--line-grey);
  background: var(--cream-bg);
  padding: 2.5rem 0 5rem;
}
.page-home .site-index__label {
  font-size: .9rem;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}
.page-home .site-index__links {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
}
.page-home .site-index__links a {
  border: 1px solid var(--line-grey);
  border-radius: 999px;
  padding: .45rem .95rem;
  color: var(--ink-blue);
  text-decoration: none;
  font-weight: 600;
  transition: border-color .2s, color .2s;
}
.page-home .site-index__links a:hover {
  border-color: var(--accent-orange);
  color: var(--accent-orange);
}
.page-home .ios-float {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 40;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--accent-orange);
  color: #fff;
  font-weight: 700;
  border-radius: 999px;
  padding: .7rem 1.2rem;
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(240, 78, 35, .4);
  transition: transform .2s ease;
}
.page-home .ios-float:hover {
  transform: translateY(-2px);
}
@media (min-width: 900px) {
  .page-home .home-hero {
    padding-top: 2.5rem;
  }
  .page-home .home-hero__grid {
    grid-template-columns: 1.05fr .95fr;
    gap: 2rem;
    align-items: center;
  }
  .page-home .home-hero__track {
    grid-column: 1 / -1;
    justify-content: space-between;
  }
  .page-home .ios-section__grid {
    grid-template-columns: .9fr 1.1fr;
    gap: 3.5rem;
    align-items: center;
  }
  .page-home .library-section__grid {
    grid-template-columns: repeat(12, 1fr);
  }
  .page-home .library-feature {
    grid-column: span 5;
  }
  .page-home .match-stack {
    grid-column: span 7;
  }
  .page-home .compare-section__grid {
    grid-template-columns: 1.1fr .9fr;
    gap: 4rem;
  }
  .page-home .feedback-section__grid {
    grid-template-columns: 1.05fr .95fr;
    gap: 4rem;
  }
}
@media (min-width: 1200px) {
  .page-home .home-hero__copy h1 {
    font-size: 5.5rem;
  }
  .page-home .home-hero__cover img {
    height: 520px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .page-home .btn,
  .page-home .btn:hover,
  .page-home .ios-float,
  .page-home .ios-float:hover,
  .page-home .home-hero__cover {
    transform: none;
  }
}
