:root {
  color-scheme: light;
  --ink: #1b302c;
  --muted: #566b66;
  --line: #dce6e1;
  --paper: #fff;
  --canvas: #f3f7f5;
  --accent: #155745;
  --tint: #e8f2ed;
  font-family: 'Segoe UI', 'Microsoft YaHei UI', 'PingFang SC', system-ui, sans-serif;
  color: var(--ink);
  font-size: 100%;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button, select { cursor: pointer; }
button:disabled { cursor: wait; opacity: .65; }
a { color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #519783; outline-offset: 3px; }
h1, h2, p { margin: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.eyebrow { font-size: .82rem; font-weight: 700; letter-spacing: .08em; color: var(--accent); }
.brand { display: inline-flex; align-items: center; gap: .7rem; font-size: 1.13rem; font-weight: 700; text-decoration: none; }
.brand-mark { display: grid; place-content: center; width: 2.5rem; height: 2.5rem; border-radius: 11px; background: var(--accent); color: white; font-size: 1.12rem; flex: none; }

.public-page { background: #f7f7f0; color: #25372d; }
.public-header, .public-main, .public-footer { width: min(1100px, calc(100% - 80px)); margin-inline: auto; }
.public-header { display: flex; justify-content: space-between; align-items: center; min-height: 5rem; border-bottom: 1px solid #d9e1d6; }
.public-header > a:last-child { text-decoration: none; font-weight: 600; font-size: .9rem; }
.public-hero { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: clamp(1.75rem, 7vw, 7rem); padding: clamp(4rem, 8vw, 7rem) 0; }
.public-intro h1 { font-family: 'Noto Serif SC', 'Songti SC', SimSun, serif; font-size: clamp(3.3rem, 8vw, 7rem); letter-spacing: -.08em; line-height: 1.04; margin: .8rem 0 1.35rem; }
.public-intro > p:not(.eyebrow) { max-width: 25rem; color: #4f6255; line-height: 1.8; }
.public-button { display: inline-block; background: #254b39; color: white; padding: .8rem 1.1rem; font-weight: 600; border-radius: 6px; text-decoration: none; margin-top: 1.5rem; }
.public-button:hover { background: #183c29; }
.paper-art { display: grid; place-items: center; min-height: 20rem; aspect-ratio: 1.05; border-radius: 4px; background: radial-gradient(ellipse at 78% 21%, #436b53, transparent 60%), #254b3b; overflow: hidden; }
.paper-sheet { width: 47%; aspect-ratio: .74; background: #eef2d9; border: 2px solid #f7f7e8; box-shadow: 13px 15px 0 #738a69, 27px 35px 45px #183526; transform: rotate(-13deg); padding: 14%; position: relative; }
.paper-sheet::before { content: ''; position: absolute; inset: 9%; border: 1px solid #9da98e; pointer-events: none; }
.paper-stamp { font-family: 'Songti SC', SimSun, serif; font-size: clamp(2rem, 5vw, 4rem); line-height: 1; color: #50654f; }
.paper-rule { margin-top: 1rem; width: 100%; height: 1px; background: #aebba2; }
.paper-rule.short { width: 64%; margin-top: .55rem; }
.notes { margin: 0 0 5rem; scroll-margin-top: 1.5rem; }
.notes h2 { font-size: 1.55rem; padding-bottom: 1rem; }
.notes details { border-top: 1px solid #d6e0d8; }
.notes details:last-child { border-bottom: 1px solid #d6e0d8; }
.notes summary { display: grid; grid-template-columns: 5rem 1fr auto; align-items: center; gap: .5rem; padding: 1.1rem 0; cursor: pointer; list-style: none; }
.notes summary::-webkit-details-marker { display: none; }
.notes summary::after { content: '+'; color: var(--accent); font-size: 1.35rem; }
.notes details[open] summary::after { content: '−'; }
.notes summary > span { color: #597261; font-size: .88rem; }
.notes details p { margin: 0 0 1.1rem 5.5rem; max-width: 36rem; line-height: 1.7; color: #4f6255; }
.public-footer { border-top: 1px solid #d6e0d8; min-height: 5rem; padding: 1.25rem 0; color: #597261; font-size: .86rem; }

@media (max-width: 760px) {
  .public-header, .public-main, .public-footer { width: calc(100% - 36px); }
  .public-hero { grid-template-columns: 1fr; gap: 2rem; }
  .paper-art { min-height: 13rem; aspect-ratio: 1.45; }
  .paper-sheet { width: 32%; padding: 10%; }
}
