:root {
  color-scheme: light;
  --ink: #1e252c;
  --muted: #65717d;
  --line: #e7e2dc;
  --paper: #fffaf5;
  --white: #ffffff;
  --red: #d93b24;
  --red-deep: #a92c1c;
  --orange: #ff8a3d;
  --gold: #f3b33d;
  --teal: #0d9488;
  --blue: #3478d4;
  --shadow: 0 22px 60px rgba(80, 41, 26, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family: "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
  line-height: 1.65;
}

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

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 5vw, 72px);
  background: rgba(255, 250, 245, 0.9);
  border-bottom: 1px solid rgba(231, 226, 220, 0.9);
  backdrop-filter: blur(16px);
}

.site-header.is-scrolled {
  box-shadow: 0 10px 28px rgba(31, 42, 53, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: var(--red-deep);
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--red), var(--orange));
  color: var(--white);
  font-size: 18px;
}

.nav {
  display: flex;
  gap: clamp(12px, 3vw, 28px);
  color: var(--muted);
  font-size: 15px;
}

.nav a {
  padding: 8px 0;
}

.nav a:hover {
  color: var(--red);
}

main {
  overflow: hidden;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: stretch;
  min-height: calc(100vh - 64px);
  padding: clamp(48px, 8vw, 96px) clamp(20px, 6vw, 84px) 54px;
  background:
    linear-gradient(110deg, rgba(255, 246, 238, 0.94), rgba(255, 255, 255, 0.72)),
    url("assets/reading-future-page.jpg") center right / cover;
}

.hero-copy {
  align-self: center;
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--red);
  font-size: 14px;
  font-weight: 800;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  max-width: 760px;
  font-size: clamp(42px, 7vw, 76px);
  line-height: 1.08;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.18;
}

h3 {
  margin-bottom: 12px;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.28;
}

.hero-text {
  max-width: 680px;
  color: #3f4850;
  font-size: clamp(17px, 2vw, 21px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border: 1px solid var(--red);
  border-radius: 8px;
  font-weight: 800;
}

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

.button.secondary {
  background: rgba(255, 255, 255, 0.78);
  color: var(--red-deep);
}

.hero-panel {
  align-self: center;
  display: grid;
  gap: 16px;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid rgba(217, 59, 36, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
}

.date-card {
  display: grid;
  gap: 4px;
  padding: 18px;
  border-radius: 8px;
  background: #fff3ec;
}

.date-card.accent {
  background: #eef8f7;
}

.date-card span {
  color: var(--muted);
  font-size: 14px;
}

.date-card strong {
  font-size: clamp(22px, 3vw, 31px);
}

.hero-panel p {
  margin-bottom: 0;
  color: var(--muted);
}

.section {
  padding: clamp(54px, 8vw, 96px) clamp(20px, 6vw, 84px);
}

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

.guide {
  background: var(--white);
}

.guide-grid {
  display: grid;
  grid-template-columns: minmax(180px, 0.55fr) minmax(180px, 0.55fr) minmax(280px, 1fr);
  gap: 22px;
  align-items: start;
}

.phone-shot {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.phone-shot img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: top;
}

.phone-shot figcaption {
  padding: 14px;
  color: #46515a;
  font-weight: 700;
}

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

.steps li {
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 14px;
  align-items: start;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdfb;
  font-size: 18px;
}

.steps span {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 8px;
  background: #fff0e8;
  color: var(--red);
  font-weight: 900;
}

.split {
  background: linear-gradient(180deg, #fff7ef, #fffaf5);
}

.content-card {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(280px, 1.2fr);
  gap: clamp(22px, 4vw, 48px);
  padding: clamp(24px, 5vw, 44px);
  border: 1px solid rgba(217, 59, 36, 0.18);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.content-card p {
  color: var(--muted);
  font-size: 18px;
}

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

.rule-list li {
  position: relative;
  padding-left: 24px;
}

.rule-list li::before {
  position: absolute;
  top: 0.7em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  content: "";
}

.notice {
  margin-top: 22px;
  padding: 18px 20px;
  border-left: 5px solid var(--red);
  background: #fff;
  color: #4d3e38;
  font-weight: 700;
}

.activity-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.activity-card {
  display: grid;
  gap: 12px;
  min-height: 360px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 34px rgba(40, 55, 70, 0.08);
}

.activity-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 8px;
  background: #fff0e8;
  color: var(--red);
  font-weight: 900;
}

.activity-icon.teal {
  background: #e8f6f4;
  color: var(--teal);
}

.activity-icon.blue {
  background: #edf5ff;
  color: var(--blue);
}

.activity-icon.gold {
  background: #fff6dd;
  color: #a56700;
}

.activity-card p {
  color: #4b5660;
}

.activity-card small {
  align-self: end;
  color: var(--muted);
  font-size: 14px;
}

.certificate {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(280px, 1fr);
  gap: 30px;
  align-items: center;
  background: #1f2a35;
  color: var(--white);
}

.certificate p {
  color: #d8e0e7;
}

.certificate-path {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.certificate-path span {
  display: grid;
  min-height: 112px;
  place-items: center;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  text-align: center;
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 900;
}

.site-footer {
  padding: 24px clamp(20px, 6vw, 84px);
  border-top: 1px solid var(--line);
  background: var(--white);
  color: var(--muted);
}

.site-footer p {
  margin: 0;
}

@media (max-width: 980px) {
  .hero,
  .guide-grid,
  .content-card,
  .certificate {
    grid-template-columns: 1fr;
  }

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

  .hero {
    min-height: auto;
  }
}

@media (max-width: 640px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .nav {
    width: 100%;
    justify-content: space-between;
  }

  .hero {
    padding-top: 36px;
  }

  .activity-grid,
  .certificate-path {
    grid-template-columns: 1fr;
  }

  .activity-card {
    min-height: auto;
  }

  .steps li {
    grid-template-columns: 1fr;
    font-size: 16px;
  }
}
