:root {
  color-scheme: light;
  --ink: #202124;
  --muted: #626b75;
  --line: #d9e0e7;
  --paper: #fffefa;
  --soft: #f2f6f7;
  --mint: #2f7d68;
  --mint-dark: #1f5d4e;
  --coral: #d85c45;
  --gold: #f1b84b;
  --blue: #3778b8;
  --shadow: 0 16px 36px rgba(32, 33, 36, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
}

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

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(217, 224, 231, 0.75);
  background: rgba(255, 254, 250, 0.92);
  backdrop-filter: blur(14px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: var(--mint);
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 18px;
  line-height: 1.1;
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
}

.nav-links a:hover {
  color: var(--mint-dark);
}

.hero {
  padding: 72px 0 54px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 440px);
  gap: 56px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--coral);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(38px, 7vw, 72px);
  line-height: 1.05;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: 32px;
  line-height: 1.2;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.3;
}

.lead {
  max-width: 700px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 18px;
}

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

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 16px;
  font-weight: 700;
}

.button.primary {
  border-color: var(--mint);
  color: #fff;
  background: var(--mint);
}

.button.secondary {
  color: var(--mint-dark);
  background: #fff;
}

.story-shot,
.hero-panel {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 30px;
  background:
    linear-gradient(90deg, rgba(55, 120, 184, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(55, 120, 184, 0.08) 1px, transparent 1px),
    #fff;
  background-size: 28px 28px;
  box-shadow: var(--shadow);
}

.hero-panel {
  display: grid;
  gap: 18px;
  background: #fff;
}

.panel-title {
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.stat-card {
  border: 1px solid rgba(47, 125, 104, 0.18);
  border-radius: 8px;
  padding: 12px;
  background: rgba(47, 125, 104, 0.07);
}

.stat-card strong,
.stat-card span {
  display: block;
}

.stat-card strong {
  color: var(--mint-dark);
  font-size: 28px;
  line-height: 1.1;
}

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

.shot-card {
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.story-shot p,
.shot-card p {
  margin: 0 0 16px;
  font-size: 21px;
}

.story-shot strong,
.shot-card strong {
  color: var(--mint-dark);
  font-weight: 900;
}

.story-shot strong span,
.shot-card strong span {
  color: var(--coral);
  font-weight: 800;
}

.shot-label {
  display: inline-flex;
  margin-bottom: 20px;
  border-radius: 999px;
  padding: 4px 10px;
  color: #fff;
  background: var(--blue);
  font-size: 13px;
  font-weight: 800;
}

.story-shot .shot-note {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.section {
  padding: 64px 0;
}

.section-muted {
  background: var(--soft);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 28px;
}

.section-head > p,
.section-text {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
}

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

.story-card {
  min-height: 286px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(32, 33, 36, 0.04);
}

.card-meta {
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 13px;
}

.story-card p {
  margin: 14px 0 18px;
  color: var(--muted);
}

.story-list {
  display: grid;
  gap: 22px;
}

.story-full {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 26px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(32, 33, 36, 0.04);
  scroll-margin-top: 96px;
}

.story-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 13px;
}

.story-topline a {
  color: var(--blue);
  font-weight: 800;
}

.story-full h3 {
  font-size: 26px;
}

.story-body {
  display: grid;
  gap: 8px;
  margin: 18px 0 22px;
  max-width: 920px;
}

.story-body p {
  margin: 0;
  font-size: 18px;
}

.story-body p::first-letter {
  font-weight: 800;
}

.lesson-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}

.lesson-grid section {
  min-width: 0;
}

.lesson-grid h4 {
  margin: 0 0 10px;
  color: var(--mint-dark);
  font-size: 15px;
}

.lesson-grid ol {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.word-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.word-row span {
  border: 1px solid rgba(47, 125, 104, 0.22);
  border-radius: 999px;
  padding: 3px 9px;
  color: var(--mint-dark);
  background: rgba(47, 125, 104, 0.08);
  font-size: 12px;
  font-weight: 800;
}

.word-buckets {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.bucket {
  border-top: 4px solid var(--gold);
  padding: 18px 0 0;
}

.bucket p {
  margin: 10px 0 0;
  color: var(--muted);
}

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

.coverage-card {
  border-top: 4px solid var(--gold);
  padding-top: 16px;
}

.coverage-count {
  display: inline-flex;
  min-width: 38px;
  height: 30px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: #fff;
  background: var(--blue);
  font-weight: 900;
}

.coverage-card h3 {
  margin-top: 10px;
}

.coverage-card p {
  margin: 10px 0 0;
  color: var(--muted);
}

.template-layout,
.method-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1fr);
  gap: 42px;
  align-items: start;
}

.template-list,
.method-steps {
  display: grid;
  gap: 10px;
}

.template-list div,
.method-steps div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px 16px;
  background: #fff;
}

.template-list strong {
  color: var(--mint-dark);
}

.template-list span,
.method-steps span {
  color: var(--muted);
}

.method-steps strong {
  color: var(--mint-dark);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 26px 0;
  color: var(--muted);
  background: #fff;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

@media (max-width: 980px) {
  .hero-grid,
  .template-layout,
  .method-layout {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, 1120px);
  }

  .nav {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 14px 0;
  }

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

  .hero {
    padding-top: 44px;
  }

  .hero-grid {
    gap: 34px;
  }

  .story-shot,
  .hero-panel,
  .story-full {
    padding: 22px;
  }

  .story-shot p,
  .shot-card p,
  .story-body p {
    font-size: 18px;
  }

  .section-head,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .card-grid,
  .word-buckets,
  .coverage-grid,
  .lesson-grid {
    grid-template-columns: 1fr;
  }

  .template-list div,
  .method-steps div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}
