:root { color-scheme: light; --blue: #1e3a8a; --gold: #a08c5d; --ink: #182337; --muted: #5d6879; --line: #e1e6ee; --pale: #f4f7fb; }
* { box-sizing: border-box; }
body { margin: 0; font-family: "Source Han Sans CN", "Noto Sans SC", "Microsoft YaHei", sans-serif; font-size: 16px; line-height: 1.75; color: var(--ink); background: #fff; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button, .button { cursor: pointer; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 3px solid #4a89f2; outline-offset: 4px; }
.wrap { width: min(1180px, calc(100% - 64px)); margin-inline: auto; }
.header { border-bottom: 1px solid var(--line); background: #fff; }
.header-inner { min-height: 104px; display: flex; align-items: center; gap: 34px; }
.brand { width: 184px; flex-shrink: 0; }
.brand img { width: 184px; height: auto; }
.header nav { display: flex; align-items: center; gap: 29px; margin-left: auto; }
.header nav a { padding: 14px 0; color: var(--muted); white-space: nowrap; font-size: 15px; }
.header nav a[aria-current], .header nav a:hover { color: var(--blue); box-shadow: inset 0 -2px var(--gold); }
.account { display: flex; align-items: center; gap: 12px; font-size: 14px; }
.account form { margin: 0; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: 10px 25px; border-radius: 5px; border: 1px solid var(--blue); background: var(--blue); color: #fff; font-weight: 600; text-align: center; }
.button:hover { background: #152d6f; }
.button.secondary { color: var(--blue); background: #fff; }
.button.secondary:hover { background: var(--pale); }
.button.small { min-height: 40px; padding: 7px 19px; font-size: 14px; }
.button.light { background: #fff; border-color: #fff; color: var(--blue); }
.button.full { width: 100%; margin-top: 20px; }
.text-button { border: 0; background: none; color: var(--muted); padding: 4px; font-size: 14px; }
.text-link { color: var(--blue); text-decoration: underline; text-decoration-color: #a08c5d70; text-underline-offset: 6px; font-weight: 600; }
.eyebrow { font-size: 14px; font-weight: 600; letter-spacing: .12em; color: var(--gold); margin: 0 0 18px; }
h1, h2, h3 { color: var(--blue); line-height: 1.4; margin-top: 0; }
h1 { font-size: clamp(32px, 4vw, 48px); letter-spacing: -.035em; margin-bottom: 25px; }
h2 { font-size: 30px; letter-spacing: -.025em; }
h3 { font-size: 22px; }
p { margin-top: 0; }
.hero { display: grid; grid-template-columns: 1.2fr 1fr; gap: 76px; align-items: center; padding-block: 70px 80px; }
.hero-copy h1 { font-size: clamp(36px, 4.1vw, 54px); line-height: 1.42; }
.hero-description { max-width: 550px; font-size: 18px; color: var(--muted); line-height: 1.9; margin-bottom: 30px; }
.actions { display: flex; gap: 14px; flex-wrap: wrap; margin: 26px 0; }
.hero-note { font-size: 14px; margin: 35px 0 0; color: var(--gold); letter-spacing: .15em; }
.portrait { margin: 0; position: relative; padding: 0 0 32px 28px; }
.portrait:before { content: ''; position: absolute; inset: 24px 24px 0 0; background: var(--blue); }
.portrait img { position: relative; width: 100%; height: 430px; object-fit: cover; object-position: center 22%; border-radius: 3px; }
.portrait figcaption { position: relative; display: flex; align-items: center; gap: 20px; padding: 20px 22px 0 0; margin-left: 0; color: #fff; }
.portrait figcaption strong { font-size: 23px; white-space: nowrap; }
.portrait figcaption span { font-size: 13px; line-height: 1.7; }
.service-band { background: var(--pale); border-block: 1px solid var(--line); }
.services { display: grid; grid-template-columns: repeat(3, 1fr); padding-block: 36px; gap: 45px; }
.services h2 { font-size: 21px; margin-bottom: 12px; }
.services p { font-size: 15px; color: var(--muted); margin: 0; }
.section { padding-block: 70px; }
.section-title { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 25px; }
.section-title h2 { margin: 0; }
.section-title .eyebrow { margin-bottom: 10px; }
.home-articles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.article-row { display: block; padding: 25px 0; border-bottom: 1px solid var(--line); }
.article-row:hover h3 { color: #4a69ac; }
.article-row h3 { font-size: 23px; margin: 15px 0 12px; }
.article-row p { color: var(--muted); font-size: 15px; margin-bottom: 18px; }
.article-row small { color: var(--muted); font-size: 13px; }
.article-tags { display: flex; gap: 14px; color: var(--gold); font-size: 13px; align-items: center; margin-top: 16px; }
.article-tags span + span { color: var(--muted); border-left: 1px solid var(--line); padding-left: 14px; }
.approach { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; padding-block: 45px 90px; }
.approach p { color: var(--muted); }
.approach ol { list-style: none; margin: 0; padding: 0; }
.approach li { padding: 15px 0 15px 24px; border-left: 2px solid var(--line); display: grid; gap: 5px; }
.approach li:first-child { border-color: var(--gold); }
.approach strong { font-size: 19px; color: var(--blue); }
.approach li span { color: var(--muted); font-size: 15px; }
.cta { background: var(--blue); color: #fff; border-radius: 5px; padding: 38px 42px; display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-bottom: 75px; }
.cta h2 { color: #fff; margin-bottom: 10px; }
.cta p { margin: 0; color: #d6deef; }
.cta .button { flex-shrink: 0; }
.footer { border-top: 1px solid var(--line); background: #fafbfd; }
.footer-top { padding-block: 36px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.footer-top strong { color: var(--blue); font-size: 21px; }
.footer-top p { color: var(--muted); font-size: 14px; margin: 5px 0 0; }
.footer-top a { font-size: 14px; margin-left: 24px; color: var(--muted); }
.footer-bottom { border-top: 1px solid var(--line); padding-block: 18px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 13px; color: var(--muted); }
.lead { color: var(--muted); font-size: 18px; max-width: 760px; }
.library h1 { margin-bottom: 14px; }
.search { display: flex; gap: 10px; max-width: 640px; margin: 30px 0; }
input, textarea, select { border: 1px solid #cbd4e1; padding: 12px 14px; border-radius: 4px; width: 100%; min-width: 0; color: var(--ink); background: #fff; }
.search input { flex: 1; }
.search button { flex-shrink: 0; }
.filters { display: flex; gap: 10px 28px; flex-wrap: wrap; border-bottom: 1px solid var(--line); padding-bottom: 15px; margin-bottom: 8px; }
.filters a { padding-block: 8px; font-size: 15px; color: var(--muted); }
.filters a[aria-current] { color: var(--blue); box-shadow: inset 0 -2px var(--gold); }
.library-grid { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 70px; }
.library-aside { align-self: start; background: var(--pale); padding: 28px; margin-top: 32px; }
.library-aside h2, .library-aside h3 { font-size: 21px; }
.library-aside p { font-size: 15px; color: var(--muted); }
hr { border: 0; border-top: 1px solid var(--line); margin-block: 25px; }
.reading { max-width: 820px; }
.article-page { padding-block: 48px 80px; }
.article-page .article-tags { margin-top: 34px; }
.article-page h1 { font-size: 38px; margin-top: 18px; }
.byline { font-size: 14px; color: var(--muted); }
.article-summary { font-size: 19px; line-height: 1.85; padding-block: 24px; border-block: 1px solid var(--line); color: var(--muted); margin: 28px 0; }
.prose { font-size: 18px; line-height: 1.95; }
.prose h2 { font-size: 27px; margin-top: 36px; }
.prose p { margin-bottom: 24px; }
.prose li { margin-bottom: 10px; }
.source { font-size: 14px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 24px; margin-top: 36px; }
.source a { color: var(--blue); text-decoration: underline; }
.locked { padding: 45px; background: var(--pale); border: 1px solid var(--line); text-align: center; margin: 34px 0; }
.locked h2 { font-size: 26px; }
.locked p { color: var(--muted); }
.founder-heading { display: grid; grid-template-columns: 1.2fr .8fr; gap: 100px; padding-block: 65px; align-items: center; }
.founder-heading h1 { font-size: 52px; margin-bottom: 20px; }
.founder-role { color: var(--blue); font-size: 22px; }
.founder-heading p:not(.eyebrow):not(.founder-role) { color: var(--muted); max-width: 570px; }
.founder-photo { width: 100%; height: 450px; object-fit: cover; object-position: center 22%; border-bottom: 5px solid var(--gold); }
.about-content { padding-block: 60px 85px; font-size: 18px; }
.about-content h2 { margin-top: 35px; font-size: 27px; }
.about-content p { line-height: 1.95; }
.login-shell { min-height: 590px; display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: center; padding-block: 70px; }
.login-intro p:not(.eyebrow) { color: var(--muted); max-width: 430px; font-size: 18px; }
.login-card { padding: 38px; border: 1px solid var(--line); border-top: 4px solid var(--gold); border-radius: 5px; background: #fff; }
.login-card h2 { font-size: 27px; }
.login-card p { color: var(--muted); }
.privacy-note { font-size: 14px; margin: 25px 0 0; }
.privacy-note a { color: var(--blue); text-decoration: underline; }
.notice { background: var(--pale); padding: 15px; }
.error { color: #a92b35 !important; background: #fff1f2; padding: 12px; }
.success { padding: 15px; background: #edf7f1; color: #21633f; }
.member-articles { max-width: 840px; margin-top: 30px; }
.admin-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 65px; margin-top: 38px; }
label { display: block; margin: 18px 0 8px; font-weight: 600; font-size: 15px; }
textarea { min-height: 290px; resize: vertical; }
.summary-input { min-height: 110px; }
.form-note { font-size: 14px; color: var(--muted); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
select { appearance: none; padding-right: 38px; background-image: linear-gradient(45deg, transparent 50%, #657086 50%), linear-gradient(135deg, #657086 50%, transparent 50%); background-position: calc(100% - 20px) 52%, calc(100% - 15px) 52%; background-size: 5px 5px; background-repeat: no-repeat; }
.admin-row { display: block; border-bottom: 1px solid var(--line); padding: 18px 0; }
.admin-row strong { display: block; font-size: 16px; }
.admin-row span { font-size: 13px; color: var(--muted); }
.empty { padding-block: 45px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.skip { position: fixed; top: -80px; background: var(--blue); color: #fff; z-index: 5; padding: 12px; }
.skip:focus { top: 0; }
@media (max-width: 960px) {
  .header-inner { gap: 20px; }
  .header nav { gap: 16px; }
  .hero { gap: 35px; }
  .hero-copy h1 { font-size: 38px; }
  .portrait img { height: 380px; }
  .portrait figcaption { display: block; }
  .portrait figcaption span { display: block; }
  .approach, .founder-heading, .login-shell { gap: 45px; }
  .library-grid { gap: 35px; grid-template-columns: minmax(0,1fr) 250px; }
}
@media (max-width: 720px) {
  .wrap { width: calc(100% - 36px); }
  .header-inner { flex-wrap: wrap; gap: 4px 12px; padding-block: 10px; }
  .brand, .brand img { width: 145px; }
  .account { margin-left: auto; }
  .header nav { order: 3; width: 100%; margin: 0; justify-content: space-between; gap: 10px; }
  .header nav a { font-size: 14px; padding: 10px 0; }
  .hero { grid-template-columns: 1fr; gap: 35px; padding-block: 38px 48px; }
  .hero-copy h1 { font-size: 36px; }
  .hero-description { font-size: 17px; }
  .hero-note { margin-top: 22px; }
  .portrait { max-width: 430px; width: 100%; justify-self: center; }
  .portrait img { height: 360px; }
  .portrait figcaption { display: flex; }
  .services, .home-articles { grid-template-columns: 1fr; gap: 20px; }
  .services { padding-block: 30px; }
  .services div + div { padding-top: 20px; border-top: 1px solid var(--line); }
  .section { padding-block: 42px; }
  h2 { font-size: 26px; }
  .section-title { align-items: start; }
  .section-title h2 { font-size: 26px; }
  .section-title > a { font-size: 14px; white-space: nowrap; }
  .approach, .founder-heading, .login-shell, .admin-grid, .library-grid { grid-template-columns: 1fr; gap: 30px; }
  .approach { padding-block: 20px 45px; }
  .cta { flex-direction: column; align-items: start; padding: 28px; margin-bottom: 45px; }
  .footer-top { display: block; }
  .footer-top > div + div { margin-top: 20px; }
  .footer-top a { margin: 0 20px 0 0; }
  .footer-bottom { font-size: 12px; }
  .library-aside { margin-top: 0; }
  .article-page h1 { font-size: 30px; }
  .prose { font-size: 17px; }
  .locked { padding: 28px 18px; }
  .founder-heading { padding-block: 40px; }
  .founder-heading h1 { font-size: 42px; }
  .founder-photo { height: 410px; max-width: 400px; }
  .about-content { padding-block: 35px 55px; font-size: 17px; }
  .login-shell { padding-block: 40px; }
  .login-intro h1 { font-size: 35px; }
  .login-card { padding: 25px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
}
