:root {
  --paper: #f6f3ed;
  --surface: #fffdf9;
  --ink: #1d2420;
  --muted: #677069;
  --line: #d9d5cc;
  --green: #1f6146;
  --orange: #d96c3b;
  --shell: min(1120px, calc(100% - 40px));
  color-scheme: light;
  font-family: "Noto Sans SC", "Microsoft YaHei", system-ui, sans-serif;
  background: var(--paper);
  color: var(--ink);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; background: var(--paper); line-height: 1.75; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
.shell { width: var(--shell); margin-inline: auto; }

.site-header { position: sticky; top: 0; z-index: 10; background: rgba(246, 243, 237, .94); border-bottom: 1px solid var(--line); backdrop-filter: blur(12px); }
.header-inner { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark { width: 40px; height: 40px; display: grid; place-items: center; color: white; background: var(--green); border-radius: 12px; font: 800 14px/1 system-ui; letter-spacing: .08em; }
.brand strong, .brand small { display: block; }
.brand strong { font-size: 16px; letter-spacing: .02em; }
.brand small { color: var(--muted); font-size: 11px; letter-spacing: .18em; }
nav { display: flex; gap: 30px; color: #3c4740; font-size: 14px; }
nav a { padding: 8px 0; border-bottom: 1px solid transparent; }
nav a:hover { color: var(--green); border-color: var(--green); }

.hero { min-height: 670px; display: grid; grid-template-columns: .92fr 1.08fr; align-items: center; gap: 70px; padding-block: 82px; }
.eyebrow, .section-heading > p, .section-heading > div > p { margin: 0 0 15px; color: var(--green); font: 800 12px/1.2 system-ui; letter-spacing: .2em; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 26px; font-family: Georgia, "Noto Serif SC", serif; font-size: clamp(46px, 5.6vw, 76px); line-height: 1.12; letter-spacing: -.04em; font-weight: 700; }
h1 span { color: var(--green); }
.hero-lead { max-width: 540px; color: var(--muted); font-size: 17px; }
.read-button { display: inline-flex; align-items: center; gap: 24px; margin-top: 18px; padding: 13px 18px; color: white; background: var(--green); border-radius: 4px; font-weight: 700; }
.read-button:hover { background: #174b37; }
.hero-image { position: relative; margin: 0; padding: 0 0 38px 36px; }
.hero-image::before { content: ""; position: absolute; inset: 38px 30px 0 0; border: 1px solid #afb9b1; z-index: -1; }
.hero-image img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 2px; box-shadow: 0 25px 70px rgba(28, 42, 33, .14); }
.hero-image figcaption { position: absolute; right: 0; bottom: 0; width: min(350px, 78%); padding: 18px 22px; color: white; background: var(--green); font-weight: 700; }
.hero-image figcaption span { display: block; margin-bottom: 3px; color: #b8dbc7; font-size: 11px; letter-spacing: .12em; }

.featured { padding-block: 90px; border-top: 1px solid var(--line); }
.section-heading h2 { margin-bottom: 0; font-family: Georgia, "Noto Serif SC", serif; font-size: clamp(32px, 4vw, 48px); line-height: 1.2; }
.feature-article { margin-top: 42px; padding-left: clamp(0px, 9vw, 120px); }
.article-meta { display: flex; gap: 24px; color: var(--muted); font-size: 13px; }
.article-meta time { color: var(--orange); font-weight: 800; }
.article-intro { max-width: 900px; margin: 24px 0 30px; font-family: Georgia, "Noto Serif SC", serif; font-size: clamp(23px, 3vw, 34px); line-height: 1.55; }
.article-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 38px; color: #4d5650; }
blockquote { margin: 38px 0 0; padding: 18px 24px; border-left: 4px solid var(--orange); background: var(--surface); font-family: Georgia, "Noto Serif SC", serif; font-size: 19px; }

.notes { padding-block: 90px; background: #e7ebe5; }
.row-heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; }
.row-heading > span { color: var(--muted); font-size: 13px; }
.note-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 42px; }
.note-card { overflow: hidden; background: var(--surface); border: 1px solid #d5dbd4; }
.note-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.note-body { padding: 24px; }
.note-body time { color: var(--orange); font-size: 12px; font-weight: 800; }
.note-body h3 { margin: 9px 0 12px; font-size: 21px; line-height: 1.45; }
.note-body p { min-height: 86px; margin-bottom: 20px; color: var(--muted); font-size: 14px; }
.note-body > span { color: var(--green); font-size: 12px; font-weight: 800; letter-spacing: .1em; }

.getting-started { padding-block: 100px; }
.steps { margin: 46px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.steps li { display: grid; grid-template-columns: 100px 1fr; gap: 28px; padding: 30px 0; border-bottom: 1px solid var(--line); }
.steps li > span { color: var(--orange); font: 800 14px/1.5 system-ui; }
.steps h3 { margin-bottom: 6px; font-size: 21px; }
.steps p { max-width: 720px; margin-bottom: 0; color: var(--muted); }

.about { padding-block: 86px; color: white; background: var(--green); }
.about-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; }
.about .section-heading > p { color: #b8dbc7; }
.about-copy { font-size: 17px; }
.about-copy p:last-child { margin-bottom: 0; color: #c9ddd1; }

.site-footer { padding-block: 30px; background: #17251d; color: #c9d1cc; }
.site-footer .shell { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.site-footer .shell::after { content: ""; }
.site-footer p { margin: 0; font-size: 12px; }
.footer-brand strong, .footer-brand span { display: block; }
.site-footer strong { color: white; font-size: 14px; }
.footer-records { text-align: center; }
.icp-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 16px; margin-top: 7px !important; }
.icp-link { color: inherit; border-bottom: 1px solid #65756c; }
.icp-link:hover { color: white; border-color: white; }

@media (max-width: 820px) {
  :root { --shell: min(680px, calc(100% - 28px)); }
  .header-inner { min-height: 66px; }
  nav { gap: 16px; font-size: 12px; }
  .hero { min-height: 0; grid-template-columns: 1fr; gap: 44px; padding-block: 60px 74px; }
  .hero-image { padding-left: 18px; }
  .feature-article { padding-left: 0; }
  .note-grid { grid-template-columns: 1fr; }
  .note-card { display: grid; grid-template-columns: 42% 58%; }
  .note-card img { height: 100%; aspect-ratio: auto; }
  .note-body p { min-height: 0; }
  .about-layout { grid-template-columns: 1fr; gap: 34px; }
}

@media (max-width: 560px) {
  .shell { width: calc(100% - 28px); max-width: calc(100% - 28px); }
  .header-inner { min-height: 0; padding-block: 10px; flex-direction: column; align-items: stretch; gap: 8px; }
  .brand-mark { width: 36px; height: 36px; border-radius: 10px; }
  .site-header nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; gap: 8px; border-top: 1px solid var(--line); }
  .site-header nav a { padding: 8px 0 0; text-align: center; white-space: nowrap; }
  h1 { font-size: 41px; overflow-wrap: anywhere; }
  .hero { padding-top: 44px; }
  .hero-copy, .hero-image { min-width: 0; }
  .hero-image { width: 100%; padding-left: 10px; }
  .hero-image figcaption { width: 86%; font-size: 13px; }
  .featured, .notes, .getting-started, .about { padding-block: 68px; }
  .article-columns { grid-template-columns: 1fr; gap: 4px; }
  .row-heading { display: block; }
  .row-heading > span { display: block; margin-top: 10px; }
  .note-card { display: block; }
  .note-card img { height: auto; aspect-ratio: 16 / 10; }
  .hero-lead, .article-intro, .article-columns p, .note-body p, .steps p, .about-copy p { overflow-wrap: anywhere; }
  .steps li { grid-template-columns: 54px 1fr; gap: 12px; }
  .site-footer .shell { display: block; text-align: center; }
  .site-footer .shell::after { display: none; }
  .footer-brand { margin-bottom: 14px !important; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
