:root {
  color-scheme: light;
  --paper: #f3f5ef;
  --ink: #172c25;
  --muted: #465c51;
  --rule: #ccd6ca;
  --dark: #172e26;
  --lime: #d7f79c;
  --serif: "Noto Serif SC", "Songti SC", SimSun, Georgia, serif;
  --sans: "Instrument Sans", "PingFang SC", "Microsoft YaHei", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 16px/1.65 var(--sans); }
a { color: inherit; text-underline-offset: .25em; }
a:focus-visible { outline: 2px solid #43734d; outline-offset: 5px; }
h1, h2, h3, p { margin: 0; }
.wrap { width: min(1120px, calc(100% - 64px)); margin-inline: auto; }
.site-header, .site-footer {
  display: flex; align-items: center; justify-content: space-between; gap: 22px;
  padding-block: 20px; border-bottom: 1px solid var(--rule);
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 750; white-space: nowrap; text-decoration: none; }
.brand-mark { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; color: var(--lime); background: var(--dark); font: 21px Georgia, serif; }
nav { display: flex; gap: 28px; color: var(--muted); }
nav a, .header-demo { text-decoration: none; }
.header-demo { font-weight: 700; white-space: nowrap; }
nav a:hover, .header-demo:hover, .quiet:hover { text-decoration: underline; }

.hero { display: grid; grid-template-columns: minmax(0, 1.13fr) minmax(0, .87fr); align-items: center; gap: clamp(32px, 7vw, 92px); padding-block: clamp(54px, 9vw, 126px); }
.eyebrow { margin-bottom: 17px; color: var(--muted); font-weight: 700; letter-spacing: .12em; }
h1, .section h2 { font-family: var(--serif); font-weight: 800; }
h1 { font-size: clamp(40px, 5.9vw, 76px); line-height: 1.16; letter-spacing: -.055em; }
.intro { margin-top: 24px; max-width: 32em; color: var(--muted); font-size: 17px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 15px 22px; align-items: center; margin-top: 29px; }
.primary { display: inline-flex; align-items: center; gap: 17px; border-radius: 10px; padding: 11px 16px; color: var(--ink); background: var(--lime); font-weight: 800; text-decoration: none; box-shadow: inset 0 0 0 1px #99bd69; }
.primary:hover { background: #c9ef87; }
.quiet { font-weight: 700; text-decoration: none; }
.quiet span { margin-inline-start: 5px; }
.demo-note { margin-top: 16px; color: var(--muted); font-size: 13px; }

.preview { overflow: hidden; padding: clamp(20px, 3.3vw, 34px); border-radius: 18px; color: #f0f6eb; background: var(--dark); box-shadow: 0 20px 48px #1f43211c; }
.preview-header { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px; padding-bottom: 14px; border-bottom: 1px solid #496052; }
.preview-header h2 { font-size: 20px; }
.preview-header span { color: #b7ccba; font-size: 12px; }
.prompt { margin-top: 20px; padding: 10px 13px; border-radius: 8px; background: #294638; font-size: 14px; }
.pipeline { display: grid; gap: 12px; margin-block: 24px; }
.pipeline > div { display: grid; grid-template-columns: 4.1em minmax(0, 1fr) 2ch; align-items: center; gap: 8px; font-size: 13px; }
.pipeline strong { text-align: end; font-variant-numeric: tabular-nums; }
.track { display: block; height: 8px; border-radius: 8px; background: #395546; }
.track i { display: block; width: var(--share); height: 100%; border-radius: inherit; background: #add579; }
.observation { display: flex; gap: 10px; padding-top: 15px; border-top: 1px solid #496052; }
.observation > span { color: var(--lime); }
.observation p { color: #becfc2; font-size: 13px; }

.section { padding-block: clamp(32px, 6vw, 66px); border-top: 1px solid var(--rule); scroll-margin-top: 18px; }
.section h2 { margin-bottom: 20px; font-size: clamp(26px, 4vw, 43px); line-height: 1.25; letter-spacing: -.04em; }
.flow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin: 0; padding: 0; list-style: none; }
.flow li { padding: 16px 12px 0 0; border-top: 2px solid #94a893; }
.flow h3 { margin-bottom: 6px; font-size: 18px; }
.flow p, .architecture p { color: var(--muted); }
.architecture { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 58px; }
.architecture .quiet { display: inline-block; margin-top: 16px; }
dl { margin: 0; }
dl div { display: grid; grid-template-columns: minmax(7em, .8fr) 1fr; gap: 8px; padding: 11px 0; border-bottom: 1px solid var(--rule); }
dt { color: var(--muted); }
dd { margin: 0; font-weight: 700; }
.site-footer { color: var(--muted); border-top: 1px solid var(--rule); border-bottom: 0; font-size: 13px; }

@media (max-width: 760px) {
  .wrap { width: calc(100% - 36px); }
  .hero, .architecture { grid-template-columns: 1fr; }
  .hero { padding-block: 46px; }
  .site-header nav { display: none; }
}

@media (max-width: 460px) {
  .flow { grid-template-columns: 1fr; gap: 16px; }
  .site-header, .site-footer { gap: 10px; }
  .site-footer { flex-wrap: wrap; }
  h1 { font-size: clamp(34px, 10vw, 44px); }
}

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