:root {
  --ink: #111315;
  --muted: #666b70;
  --paper: #f6f7f8;
  --panel: #ffffff;
  --line: #dfe3e7;
  --red: #d12f2f;
  --yellow: #f2b84b;
  --green: #2f7d68;
  --blue: #4285f4;
  --play-yellow: #fbbc04;
  --play-green: #34a853;
  --track: #202326;
  --page-x: clamp(18px, 7vw, 128px);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px var(--page-x);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand-mark {
  width: 92px;
  height: 56px;
  object-fit: contain;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.05;
}

.brand strong {
  font-size: 20px;
}

.brand small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
}

.site-nav a {
  padding: 9px 12px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 14px;
  white-space: nowrap;
}

.site-nav a.active,
.site-nav a:hover {
  color: var(--ink);
  background: #eef0f2;
}

.hero {
  min-height: calc(100vh - 72px);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(260px, 0.95fr);
  align-items: center;
  gap: clamp(28px, 6vw, 72px);
  padding: clamp(42px, 7vw, 84px) var(--page-x);
  background:
    linear-gradient(90deg, rgba(17, 19, 21, 0.035) 1px, transparent 1px) 0 0 / 92px 100%,
    linear-gradient(160deg, #ffffff 0%, #f8f9fa 48%, #eef1f4 100%);
  color: var(--ink);
  position: relative;
  overflow: hidden;
}

.hero h1,
.page-title h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(42px, 7vw, 88px);
  line-height: 0.98;
  letter-spacing: 0;
}

.lead {
  max-width: 720px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 2.4vw, 24px);
  line-height: 1.55;
}

.page-title .lead {
  color: var(--muted);
}

.kicker {
  margin: 0 0 12px;
  color: var(--red);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
}

.hero .kicker {
  color: var(--red);
}

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

.button {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 11px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: white;
  font-weight: 700;
}

.button.primary {
  background: var(--red);
  border-color: var(--red);
  color: white;
}

.hero-logo {
  display: grid;
  place-items: center;
  position: relative;
  z-index: 1;
}

.hero-logo::before {
  content: "";
  position: absolute;
  width: min(560px, 82vw);
  height: min(320px, 42vw);
  border-radius: 24px;
  background:
    linear-gradient(90deg, rgba(66, 133, 244, 0.16), rgba(66, 133, 244, 0.16)) 10% 24% / 28% 12px no-repeat,
    linear-gradient(90deg, rgba(209, 47, 47, 0.18), rgba(209, 47, 47, 0.18)) 74% 32% / 24% 12px no-repeat,
    linear-gradient(90deg, rgba(251, 188, 4, 0.22), rgba(251, 188, 4, 0.22)) 18% 78% / 34% 12px no-repeat,
    linear-gradient(90deg, rgba(52, 168, 83, 0.14), rgba(52, 168, 83, 0.14)) 68% 72% / 32% 12px no-repeat;
  transform: skewX(-12deg);
}

.hero-logo img {
  position: relative;
  z-index: 1;
  width: min(440px, 76vw);
  aspect-ratio: 1;
  object-fit: contain;
  filter: drop-shadow(0 22px 34px rgba(17, 19, 21, 0.12));
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.band,
.page-title {
  padding: clamp(48px, 7vw, 88px) var(--page-x);
}

.band.alt {
  background: #eef1f4;
}

.band.compact {
  padding-top: clamp(34px, 5vw, 56px);
  padding-bottom: clamp(34px, 5vw, 56px);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 28px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.08;
}

.rule-strip,
.card-grid,
.retailer-grid,
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

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

.card-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.rule-strip article,
.card,
.case-card,
.notice {
  min-height: 100%;
  padding: 22px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.rule-strip article {
  position: relative;
  overflow: hidden;
}

.rule-strip article::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: var(--blue);
}

.rule-strip article:nth-child(2)::before {
  background: var(--play-yellow);
}

.rule-strip article:nth-child(3)::before {
  background: var(--play-green);
}

.rule-strip strong {
  display: block;
  margin-bottom: 8px;
  font-size: 22px;
}

.rule-strip span,
.card p,
.case-card p,
.penalty p,
.step p,
.rule-row p,
.notice p,
.check-list li {
  color: var(--muted);
  line-height: 1.7;
}

.card h3,
.case-card h3,
.penalty h3,
.step strong,
.rule-row h3 {
  margin: 0 0 10px;
  font-size: 20px;
}

.format-card {
  position: relative;
  padding-top: 54px;
}

.badge {
  position: absolute;
  top: 18px;
  left: 18px;
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 9px 4px 12px;
  border-radius: 8px;
  background: #f1f3f5;
  border-left: 4px solid var(--blue);
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.format-card:nth-child(2) .badge {
  border-left-color: var(--play-yellow);
}

.format-card:nth-child(3) .badge {
  border-left-color: var(--play-green);
}

.retailer-card {
  position: relative;
  padding-top: 58px;
}

.channel {
  position: absolute;
  top: 18px;
  left: 18px;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 10px;
  border-radius: 8px;
  background: #f1f3f5;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.retailer-card:first-child .channel {
  border-left: 4px solid var(--blue);
}

.retailer-card:nth-child(2) .channel {
  border-left: 4px solid var(--play-green);
}

.retailer-card h3 {
  font-size: clamp(24px, 3vw, 34px);
}

.card p,
.case-card p,
.penalty p,
.step p,
.rule-row p {
  margin: 0;
}

.timeline,
.penalty-ladder,
.rule-list {
  display: grid;
  gap: 12px;
}

.penalty,
.rule-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.step {
  position: relative;
  padding: 18px 18px 18px 52px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.step::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 24px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--red);
}

.penalty span,
.rule-number {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: var(--track);
  color: white;
  font-weight: 800;
}

.check-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.check-list li {
  padding: 18px 18px 18px 48px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  position: relative;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 25px;
  width: 14px;
  height: 8px;
  border-left: 3px solid var(--red);
  border-bottom: 3px solid var(--red);
  transform: rotate(-45deg);
}

.notice {
  max-width: 920px;
  border-left: 6px solid var(--red);
}

.notice strong {
  display: block;
  margin-bottom: 8px;
  font-size: 22px;
}

.site-footer {
  padding: 26px var(--page-x);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

@media (max-width: 820px) {
  :root {
    --page-x: 22px;
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .site-nav {
    width: 100%;
    padding-bottom: 2px;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 32px;
  }

  .hero-logo {
    order: -1;
  }

  .hero-logo::before {
    width: min(330px, 82vw);
    height: 190px;
    border-radius: 18px;
  }

  .hero-logo img {
    width: min(280px, 70vw);
  }

  .rule-strip,
  .card-grid,
  .card-grid.two,
  .retailer-grid,
  .case-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  :root {
    --page-x: 20px;
  }

  .hero h1,
  .page-title h1 {
    font-size: 40px;
  }

  .hero-actions {
    width: 100%;
  }

  .button {
    justify-content: center;
    flex: 1 1 100%;
  }

  .brand-mark {
    width: 76px;
    height: 48px;
  }

  .site-nav a {
    padding-inline: 10px;
  }

  .step,
  .penalty,
  .rule-row,
  .card,
  .case-card,
  .notice {
    padding: 16px;
  }

  .step {
    padding-left: 44px;
  }

  .step::before {
    left: 17px;
    top: 23px;
  }

  .format-card {
    padding-top: 58px;
  }

  .format-card .badge {
    top: 18px;
    left: 16px;
  }

  .retailer-card {
    padding-top: 64px;
  }

  .retailer-card .channel {
    top: 18px;
    left: 16px;
  }

  .retailer-card h3 {
    font-size: 26px;
    line-height: 1.15;
  }

  .penalty,
  .rule-row {
    gap: 12px;
  }
}
