:root {
  color-scheme: light;
  --bg: #f7f7f5;
  --surface: #fff;
  --ink: #171916;
  --muted: #6d716b;
  --line: #dedfd9;
  --accent: #315f4c;
  --accent-soft: #e8efeb;
  --radius: 18px;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--bg);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); line-height: 1.65; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
.site { width: min(1080px, calc(100% - 40px)); margin: auto; }

.header {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}
.logo { display: flex; align-items: center; gap: 10px; font-size: .95rem; }
.logo span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--ink);
  font-weight: 800;
}
nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px; }
nav a { padding: 7px 10px; border-radius: 8px; color: var(--muted); font-size: .84rem; }
nav a:hover, nav a:focus-visible { color: var(--ink); background: #ecece8; }

main { padding: 64px 0 24px; }
.hero {
  display: grid;
  grid-template-columns: 1.45fr .55fr;
  gap: clamp(36px, 8vw, 100px);
  align-items: end;
  padding: 34px 0 72px;
}
.label {
  margin: 0 0 13px;
  color: var(--accent);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .14em;
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  margin-bottom: 24px;
  font-size: clamp(2.7rem, 7vw, 5.5rem);
  line-height: 1.04;
  letter-spacing: -.065em;
  font-weight: 720;
}
.intro { max-width: 650px; margin-bottom: 0; color: var(--muted); font-size: 1rem; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--surface);
  font-size: .84rem;
  font-weight: 700;
}
.button:hover { border-color: var(--ink); }
.button.primary { color: #fff; background: var(--ink); border-color: var(--ink); }

.countdown { padding-left: 28px; border-left: 1px solid var(--line); }
.countdown > span, .countdown label, .countdown p { color: var(--muted); font-size: .75rem; }
.countdown div { display: flex; align-items: baseline; gap: 8px; margin: 6px 0 22px; }
.countdown strong { font-size: clamp(4rem, 9vw, 6.5rem); line-height: 1; letter-spacing: -.08em; }
.countdown small { font-weight: 700; }
.countdown label { display: block; }
.countdown input {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: var(--surface);
}
.countdown p { margin: 9px 0 0; }

.module-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
}
.module { min-height: 230px; padding: 28px; border-right: 1px solid var(--line); }
.module:last-child { border: 0; }
.module > span { color: var(--accent); font-size: .72rem; font-weight: 800; }
.module h2 { margin: 35px 0 8px; font-size: 1.35rem; }
.module p { min-height: 54px; color: var(--muted); font-size: .84rem; }
.module b { font-size: .8rem; }
.module:hover { background: #fafaf8; }

.section { margin: 88px 0; }
.section-title { display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.section-title h2, .split h2 { margin-bottom: 22px; font-size: clamp(1.8rem, 4vw, 3rem); line-height: 1.12; letter-spacing: -.045em; }
.section-title > strong { padding-bottom: 22px; font-size: 1rem; }
.progress { height: 3px; margin-bottom: 18px; overflow: hidden; background: var(--line); }
.progress i { display: block; width: 0; height: 100%; background: var(--accent); transition: width .2s ease; }
.task-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.task {
  min-height: 104px;
  display: flex;
  gap: 13px;
  padding: 19px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  cursor: pointer;
}
.task:hover { border-color: #9da19a; }
.task input { position: absolute; opacity: 0; pointer-events: none; }
.task > i { flex: 0 0 19px; height: 19px; margin-top: 3px; border: 1px solid #9da19a; border-radius: 5px; }
.task input:checked + i { background: var(--accent); border-color: var(--accent); box-shadow: inset 0 0 0 4px #fff; }
.task b, .task small { display: block; }
.task b { font-size: .9rem; }
.task small { margin-top: 3px; color: var(--muted); font-size: .78rem; }
.section-foot {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 13px;
  color: var(--muted);
  font-size: .76rem;
}
.section-foot button { padding: 0; border: 0; color: var(--accent); background: none; cursor: pointer; }

.split { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 9vw, 120px); padding: 48px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.split p, .split li { color: var(--muted); font-size: .88rem; }
.split ul { padding-left: 19px; }
.split li { margin: 9px 0; }
.text-link { display: inline-block; margin-top: 12px; color: var(--accent); font-size: .84rem; font-weight: 700; }

.page-hero { max-width: 900px; padding: 32px 0 70px; }
.page-hero h1 { font-size: clamp(2.6rem, 6vw, 5rem); }
.tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 25px; }
.tags span { padding: 6px 10px; border-radius: 999px; color: var(--accent); background: var(--accent-soft); font-size: .74rem; font-weight: 700; }
.method-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.method-grid article { padding: 28px 28px 5px 0; }
.method-grid article + article { padding-left: 28px; border-left: 1px solid var(--line); }
.method-grid span { color: var(--accent); font-size: .72rem; font-weight: 800; }
.method-grid h3 { margin: 28px 0 8px; font-size: 1.1rem; }
.method-grid p { color: var(--muted); font-size: .82rem; }
.steps { margin: 0; padding: 0; list-style: none; }
.steps li { display: grid; grid-template-columns: 88px 1fr; gap: 15px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.steps span { color: var(--ink); font-weight: 700; }
.steps p { margin: 0; }
.note { margin: 88px 0; padding: 24px; border-left: 3px solid var(--accent); background: var(--accent-soft); }
.note p { max-width: 760px; margin: 6px 0 0; color: var(--muted); font-size: .84rem; }

footer {
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .76rem;
}

@media (max-width: 760px) {
  .site { width: min(100% - 28px, 1080px); }
  .header { align-items: flex-start; flex-direction: column; padding: 16px 0; }
  nav { justify-content: flex-start; }
  main { padding-top: 36px; }
  .hero { grid-template-columns: 1fr; padding-bottom: 52px; }
  .countdown { padding: 24px 0 0; border-top: 1px solid var(--line); border-left: 0; }
  .countdown input { width: min(240px, 100%); }
  .module-grid, .task-grid, .split { grid-template-columns: 1fr; }
  .module { min-height: auto; border-right: 0; border-bottom: 1px solid var(--line); }
  .module p { min-height: auto; }
  .section { margin: 65px 0; }
  .split { gap: 15px; }
  .method-grid { grid-template-columns: 1fr; }
  .method-grid article, .method-grid article + article { padding: 22px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .method-grid h3 { margin-top: 12px; }
}

@media (max-width: 430px) {
  h1 { font-size: 2.55rem; }
  .header nav { gap: 0; }
  nav a { padding-left: 7px; padding-right: 7px; }
  .section-foot, footer { align-items: flex-start; flex-direction: column; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .progress i { transition: none; }
}
