:root {
  color-scheme: light;
  --ink: #29223b;
  --muted: #655d75;
  --accent: #583e91;
  --paper: #fbf8fc;
  --line: #e8dfee;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.8 system-ui, 'Microsoft YaHei', sans-serif; overflow-wrap: anywhere; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid #a563b1; outline-offset: 3px; }
img { max-width: 100%; height: auto; display: block; }
.wrap { max-width: 1240px; margin: auto; padding: 0 28px; }
.header { background: #fff; border-bottom: 1px solid var(--line); }
.head, .foot { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.head { min-height: 86px; padding-block: 14px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 21px; line-height: 1.3; }
.brand small { display: block; color: var(--muted); font-size: 11px; font-weight: 500; }
.head nav { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14px; }
.head nav a[aria-current] { font-weight: 800; border-bottom: 2px solid var(--accent); }
.skip { position: absolute; top: -100px; background: white; padding: 8px; }
.skip:focus { top: 0; z-index: 5; }
.hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 34px; align-items: center; margin-top: 32px; border-radius: 28px; background: linear-gradient(125deg,#eee6fa,#fff1f3); padding: 36px; }
.hero h1 { font-size: clamp(30px,3.5vw,50px); line-height: 1.28; margin: 14px 0; letter-spacing: -.035em; }
.hero h1 span { display: block; font-size: .75em; margin-top: 12px; }
.hero p { color: var(--muted); font-size: 15px; }
.hero figure { margin: 0; min-width: 0; }
.hero figure img { border-radius: 20px; width: 100%; }
figcaption { color: var(--muted); font-size: 12px; margin-top: 8px; }
.eyebrow { font-size: 12px; letter-spacing: .15em; color: var(--accent); font-weight: 800; }
.actions, .inputrow { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.button, button, .outline { display: inline-block; background: var(--accent); color: #fff; padding: 11px 17px; border-radius: 10px; border: 1px solid var(--accent); font: inherit; font-weight: 700; cursor: pointer; }
.outline { background: transparent; color: var(--accent); }
.facts { display: flex; gap: 18px; flex-wrap: wrap; font-size: 12px; margin-top: 22px; }
.facts b { font-size: 25px; color: var(--accent); margin-right: 4px; }
.section { margin-block: 44px; }
h1,h2,h3 { line-height: 1.4; }
h2 { font-size: 25px; margin: 6px 0 18px; }
h3 { font-size: 19px; margin: 10px 0; }
.sectionhead { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.topics,.cards { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; }
.topic,.card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 20px; min-width: 0; }
.topic:nth-child(2) { background: #f0eafa; }.topic:nth-child(3) { background: #fcecf0; }.topic:nth-child(4) { background: #eaf3f4; }
.topic p,.card p { color: var(--muted); font-size: 14px; margin-bottom: 10px; }
.number { font-size: 32px; color: var(--accent); font-weight: 800; }
.tag { background: #eee6f8; color: #563b86; font-size: 12px; border-radius: 20px; padding: 4px 10px; }
.more { font-size: 13px; font-weight: 700; }
.tool { background: #eee7f7; border-radius: 18px; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 25px; padding: 26px; margin: 30px 0; }
label { display: block; font-weight: 700; margin-bottom: 6px; }
input { min-width: 0; width: 100%; max-width: 540px; border: 1px solid #aa98c4; border-radius: 9px; background: #fff; padding: 12px; font: inherit; }
.inputrow input { flex: 1 1 160px; }
.crumb { font-size: 13px; color: var(--muted); margin: 22px 0; }
.intro { padding: 24px 0 28px; max-width: 850px; }
.intro h1 { font-size: clamp(28px,4vw,46px); margin: 8px 0; }
.intro p { color: var(--muted); font-size: 18px; }
.reading { display: grid; grid-template-columns: minmax(0,2.3fr) minmax(0,1fr); gap: 24px; margin-bottom: 40px; }
.prose, aside { padding: 28px; border: 1px solid var(--line); border-radius: 16px; background: white; }
.prose h2 { margin-top: 22px; }.prose h2:first-child { margin-top: 0; }
aside { align-self: start; }aside a { display: block; padding: 11px 0; border-bottom: 1px solid var(--line); }
footer { background: #2d243e; color: #f5edf9; padding: 25px 0; margin-top: 48px; font-size: 14px; }footer a { color: #f3d9ff; }footer p { margin: 4px 0; }
[hidden] { display: none !important; }
@media(max-width: 950px) { .topics,.cards { grid-template-columns: repeat(2,minmax(0,1fr)); } .hero { padding: 24px; gap: 20px; } }
@media(max-width: 650px) { .wrap { padding-inline: 16px; } .head { gap: 12px; } .head nav { gap: 6px 15px; } .hero,.tool,.reading { grid-template-columns: minmax(0,1fr); } .hero { margin-top: 18px; padding: 20px; } .section { margin-block: 30px; } .topics,.cards { gap: 10px; } .topic,.card { padding: 14px; } .card h3 { font-size: 16px; } .prose,aside { padding: 18px; } .foot { align-items: flex-start; flex-direction: column; gap: 10px; } }
@media(max-width: 350px) { .topics,.cards { grid-template-columns: 1fr; } }

/* Additional utility forms; maintain original palette and responsive layout. */
#plan-form { display: grid; gap: 8px; justify-items: start; }
#plan-list li { margin-block: 8px; }
#plan-list button { padding: 4px 12px; }
.prose ol { padding-inline-start: 1.5em; }
