:root {
  --paper: #f5f4ed;
  --ivory: #faf9f5;
  --ink: #141413;
  --muted: #504e49;
  --stone: #6b6a64;
  --brand: #1b365d;
  --brand-2: #2d5a8a;
  --border: #e8e6dc;
  --soft: #eef2f7;
  --shadow: 0 24px 70px rgba(20, 20, 19, .08);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Charter, Georgia, "Noto Serif CJK SC", "Source Han Serif SC", "Songti SC", serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.55;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
.hero { padding: 24px clamp(20px, 5vw, 72px) 72px; }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 60px; }
.brand { font-size: 15px; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; color: var(--brand); }
.nav-links { display: flex; gap: 18px; flex-wrap: wrap; color: var(--muted); font-size: 14px; }
.nav-links a { text-decoration: none; border-bottom: 1px solid transparent; }
.nav-links a:hover { border-color: var(--brand); color: var(--brand); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(280px, .72fr); gap: clamp(36px, 7vw, 88px); align-items: center; }
.eyebrow { color: var(--brand); letter-spacing: .12em; text-transform: uppercase; font-size: 12px; margin: 0 0 12px; }
h1 { font-size: clamp(40px, 8vw, 86px); line-height: 1.04; font-weight: 500; margin: 0 0 24px; max-width: 980px; }
h2 { font-size: clamp(28px, 4vw, 46px); line-height: 1.12; font-weight: 500; margin: 0; }
h3 { font-size: 22px; line-height: 1.22; font-weight: 500; margin: 20px 0 8px; color: var(--brand); }
.lead { font-size: clamp(18px, 2.3vw, 24px); max-width: 760px; color: var(--muted); margin: 0 0 30px; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 30px 0 34px; }
.button { text-decoration: none; border: 1px solid var(--brand); color: var(--brand); padding: 12px 18px; border-radius: 999px; background: transparent; }
.button.primary { background: var(--brand); color: white; }
.button.ghost { border-color: var(--border); color: var(--muted); }
.metrics { display: grid; grid-template-columns: repeat(4, minmax(88px, 1fr)); gap: 12px; max-width: 700px; margin: 0; }
.metrics div { background: var(--ivory); border: 1px solid var(--border); border-radius: 18px; padding: 14px; }
.metrics dt { color: var(--brand); font-size: 30px; line-height: 1; }
.metrics dd { margin: 6px 0 0; color: var(--stone); font-size: 13px; }
.cover-card { margin: 0; background: var(--ivory); border: 1px solid var(--border); border-radius: 34px; padding: 18px; box-shadow: var(--shadow); transform: rotate(1deg); }
.cover-card img { border-radius: 24px; }
.cover-card figcaption { font-size: 13px; color: var(--stone); margin: 14px 4px 2px; }
main { padding: 0 clamp(20px, 5vw, 72px) 72px; }
.panel { background: var(--ivory); border: 1px solid var(--border); border-radius: 30px; padding: clamp(24px, 4vw, 44px); box-shadow: 0 16px 50px rgba(20,20,19,.04); }
.intro { display: grid; grid-template-columns: .82fr 1.18fr; gap: 36px; margin-bottom: 28px; }
.intro p:last-child, .deploy p, .preview-copy p { color: var(--muted); font-size: 18px; margin: 0; }
.section-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 28px; }
.card { background: var(--ivory); border: 1px solid var(--border); border-radius: 28px; padding: 16px; }
.card img { border-radius: 20px; background: var(--soft); }
.card p { color: var(--muted); margin: 0 0 4px; }
.preview { display: grid; grid-template-columns: .72fr 1.28fr; gap: 32px; align-items: center; margin-bottom: 28px; }
.text-link { display: inline-block; margin-top: 18px; color: var(--brand); text-decoration: none; border-bottom: 1px solid var(--brand); }
.sheet { border-radius: 22px; border: 1px solid var(--border); background: white; }
.downloads { margin: 54px 0 28px; }
.download-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 22px; }
.download-list a { display: block; background: var(--ivory); border: 1px solid var(--border); border-radius: 22px; padding: 18px; text-decoration: none; min-height: 150px; transition: transform .18s ease, box-shadow .18s ease; }
.download-list a:hover { transform: translateY(-4px); box-shadow: 0 18px 50px rgba(20,20,19,.07); }
.download-list span { display: inline-block; color: white; background: var(--brand); border-radius: 999px; padding: 3px 8px; font-size: 12px; letter-spacing: .08em; }
.download-list strong { display: block; margin: 18px 0 8px; font-size: 18px; color: var(--ink); }
.download-list em { display: block; font-style: normal; color: var(--stone); font-size: 14px; }
.deploy { display: grid; grid-template-columns: .72fr 1.28fr; gap: 30px; align-items: start; }
pre { background: #141413; color: #faf9f5; border-radius: 22px; padding: 20px; overflow: auto; margin: 18px 0 0; font-size: 14px; }
footer { padding: 34px clamp(20px, 5vw, 72px) 54px; color: var(--stone); font-size: 14px; }
@media (max-width: 900px) {
  .hero-grid, .intro, .preview, .deploy { grid-template-columns: 1fr; }
  .section-grid, .download-list { grid-template-columns: 1fr; }
  .metrics { grid-template-columns: repeat(2, 1fr); }
  .nav { align-items: flex-start; flex-direction: column; margin-bottom: 36px; }
}
