:root {
  color-scheme: light;
  --paper: #fcfaf6;
  --pane: #fffdf9;
  --soft: #f3efe8;
  --ink: #172736;
  --muted: #53616a;
  --line: #d7d3c9;
  --accent: #9c2c32;
  --tint: #f5e8e4;
  --button-text: white;
  --content: 1224px;
  font-family: "Source Sans 3", "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-synthesis: none;
}
:root[data-site-theme="indigo"] { --paper:#f7f8fb; --pane:#fff; --soft:#eceefa; --accent:#4454a3; --tint:#ebedf9; }
:root[data-site-theme="jade"] { --paper:#f7faf6; --pane:#fff; --soft:#e8f1eb; --accent:#216d61; --tint:#e3f1e9; }
:root[data-site-theme="amber"] { --paper:#faf5ec; --pane:#fffdf7; --soft:#f0e8d9; --accent:#8e4b1d; --tint:#f5e9d5; }
:root[data-site-theme="white"] { --paper:white; --pane:white; --soft:#f0f1ef; --accent:#273c4c; --tint:#e8edf0; }
:root[data-site-theme="obsidian"] {
  color-scheme: dark;
  --paper:#151b22; --pane:#1d252e; --soft:#202933; --ink:#f6f0e6; --muted:#c2c9ce;
  --line:#46505a; --accent:#ecd199; --tint:#34302a; --button-text:#17212b;
}
* { box-sizing:border-box; }
html { scroll-behavior:smooth; scroll-padding-top:28px; }
body { margin:0; }
body:has(dialog[open]) { overflow:hidden; }
[hidden] { display:none !important; }
h1,h2,h3,h4,p,figure { margin:0; }
a { color:inherit; text-decoration:none; }
button,input,select,textarea { font:inherit; }
button,select,summary { cursor:pointer; }
button { color:inherit; }
button:disabled { cursor:wait; opacity:.65; }
button:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible {
  outline:3px solid #377fb1; outline-offset:3px;
}
button:focus:not(:focus-visible) { outline:none; }
button,summary,a { -webkit-tap-highlight-color:transparent; }
.wrap { width:min(var(--content),calc(100% - clamp(40px,9vw,146px))); margin-inline:auto; }
.icon,.entry-icon { width:20px; height:20px; fill:none; stroke:currentColor; stroke-width:1.65; stroke-linecap:round; stroke-linejoin:round; flex:none; }
.icon-definitions { position:absolute; width:0; height:0; overflow:hidden; }
.skip { position:absolute; z-index:10; top:6px; left:8px; transform:translateY(-170%); background:var(--ink); padding:9px 16px; color:var(--paper); }
.skip:focus { transform:none; }
.mast { position:relative; z-index:4; background:var(--pane); border-bottom:1px solid var(--line); }
.mast-inner,.tools,.main-nav,.account-link,.settings summary,.button,.hero-actions,.inline-link,.foot,.foot nav { display:flex; align-items:center; }
.mast-inner { min-height:78px; gap:clamp(20px,3vw,52px); }
.wordmark { display:flex; flex:none; align-items:center; }
.wordmark img { width:clamp(127px,12vw,167px); height:auto; max-height:52px; object-fit:contain; }
[data-site-theme="obsidian"] .wordmark { background:#fffaf3; padding:3px 6px; border-radius:2px; }
.main-nav { gap:clamp(19px,2.6vw,44px); margin-left:auto; }
.main-nav a,.account-link,summary { white-space:nowrap; }
.main-nav a,.account-link,.settings summary { padding-block:11px; font-size:.9rem; font-weight:600; }
.main-nav a:hover,.account-link:hover,.settings summary:hover,.inline-link:hover,.text-button:hover,.foot a:hover { color:var(--accent); text-decoration:underline; text-underline-offset:5px; }
.tools { gap:clamp(12px,1.8vw,26px); }
.account-link { background:none; border:0; padding-inline:0; gap:7px; }
.account-link .icon { width:18px; height:18px; }
.settings { position:relative; }
.settings summary { gap:6px; list-style:none; }
.settings summary::-webkit-details-marker { display:none; }
.settings .icon { width:17px; height:17px; }
.chevron { position:relative; top:-2px; font-size:.8rem; }
.settings .mobile-icon,.small-nav { display:none; }
.settings-panel {
  position:absolute; z-index:6; top:calc(100% + 6px); right:0; width:min(250px,84vw);
  padding:18px; display:grid; gap:14px; background:var(--pane); border:1px solid var(--line); border-radius:5px; box-shadow:0 12px 35px #1a27351f;
}
.settings-panel label:not(.check) { display:grid; gap:5px; }
.settings-panel label,.back-brand { font-size:.86rem; }
.back-brand { border-top:1px solid var(--line); padding-top:9px; display:flex; justify-content:space-between; }
.hero { position:relative; isolation:isolate; overflow:hidden; background:#e5e1d7; color:#172736; }
.hero-image,.hero-shade { position:absolute; z-index:-1; inset:0; width:100%; height:100%; }
.hero-image { object-fit:cover; object-position:60% 56%; }
.hero-shade { background:linear-gradient(90deg,#f8f5eef2 0%,#f8f5eee8 24%,#f6f3ecd4 38%,#f6f3ec6e 54%,transparent 76%); }
.hero-inner { min-height:clamp(440px,37vw,570px); display:flex; flex-direction:column; justify-content:center; align-items:flex-start; padding-block:54px 62px; }
.hero-kicker,.eyebrow { display:flex; align-items:center; gap:12px; font-size:.83rem; font-weight:700; letter-spacing:.09em; }
.hero-kicker { color:#7c262c; margin-bottom:17px; }
.rule,.eyebrow>span:first-child { width:27px; height:2px; background:currentColor; flex:none; }
.hero h1,.project-intro h2 { display:grid; }
.hero h1 { font-size:clamp(3.2rem,5.5vw,5.3rem); font-weight:750; line-height:1.13; letter-spacing:-.045em; text-wrap:balance; }
.hero-lead { margin-top:19px; max-width:31em; color:#34434b; font-size:clamp(.98rem,1.2vw,1.12rem); line-height:1.85; }
.hero-actions { gap:26px; flex-wrap:wrap; margin-top:27px; }
.button { display:inline-flex; justify-content:center; gap:11px; min-height:45px; padding:10px 20px; border:1px solid transparent; border-radius:3px; font-weight:650; line-height:1.45; text-align:center; }
.primary { background:var(--accent); color:var(--button-text); }
.primary:hover { filter:brightness(.91); }
.secondary { border-color:var(--line); color:var(--ink); background:var(--pane); }
.secondary:hover { border-color:var(--accent); color:var(--accent); }
.hero .primary { background:#9b2b32; color:white; }
.hero-more { color:#22313a; display:inline-flex; gap:9px; align-items:center; border-bottom:1px solid #53616b; padding:5px 0; font-weight:650; }
.image-note { position:absolute; right:max(15px,3vw); bottom:14px; background:#172736a6; color:white; font-size:.72rem; padding:1px 7px; border-radius:2px; }
.entry-rail { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); padding-block:26px; border-bottom:1px solid var(--line); }
.entry-rail>a { display:flex; align-items:center; gap:15px; padding:6px clamp(12px,2.2vw,36px); }
.entry-rail>a:first-child { padding-left:0; }
.entry-rail>a:last-child { padding-right:0; }
.entry-rail>a+a { border-left:1px solid var(--line); }
.entry-rail strong,.entry-rail small { display:block; }
.entry-rail strong { font-size:clamp(1rem,1.4vw,1.24rem); font-weight:700; }
.entry-rail small { color:var(--muted); font-size:.83rem; margin-top:2px; }
.entry-icon { width:29px; height:29px; color:var(--accent); stroke-width:1.4; }
.entry-arrow { margin-left:auto; width:15px; color:var(--muted); }
.entry-rail a:hover strong { color:var(--accent); }
.directory,.certificate { padding-block:clamp(55px,6.3vw,95px); }
.section-head,.school-line,.order-head,.dialog-head,.form-actions { display:flex; justify-content:space-between; align-items:center; gap:16px; }
.section-head { margin-bottom:25px; align-items:flex-end; }
.section-head>p { max-width:29em; color:var(--muted); font-size:.94rem; }
.eyebrow { color:var(--accent); font-size:.78rem; margin-bottom:10px; }
h2 { font-size:clamp(1.85rem,3.3vw,3.2rem); line-height:1.25; letter-spacing:-.035em; }
h3 { font-size:clamp(1.1rem,1.65vw,1.5rem); line-height:1.4; }
.demo-note { background:var(--tint); border-left:3px solid var(--accent); padding:9px 14px; margin-bottom:17px; display:flex; align-items:baseline; flex-wrap:wrap; gap:3px 10px; color:var(--ink); font-size:.84rem; }
.demo-note i { display:none; }
.demo-note strong { color:var(--accent); }
.filters { display:grid; grid-template-columns:1fr 1.4fr 1fr auto; gap:16px; align-items:end; padding:18px 22px; background:var(--soft); border-block:1px solid var(--line); }
.filters label,.form-grid label:not(.check),.field { min-width:0; display:grid; gap:5px; font-size:.89rem; font-weight:600; }
input:not([type="checkbox"]),select,textarea { min-width:0; width:100%; background:var(--pane); color:var(--ink); border:1px solid var(--line); border-radius:3px; padding:9px 11px; line-height:1.4; font-weight:400; }
select { min-height:44px; padding-right:18px; text-overflow:ellipsis; }
textarea { resize:vertical; min-height:67px; }
::placeholder { color:var(--muted); opacity:.85; }
.text-button,.inline-link { background:none; border:0; color:var(--accent); cursor:pointer; padding:6px 0; font-weight:650; }
.filters .text-button { min-height:44px; font-size:.86rem; }
.school-line { margin:28px 0 12px; align-items:flex-end; }
.school-line strong { font-size:1.2rem; }
.muted,.subline,.notice,figcaption { color:var(--muted); }
.subline { font-size:.86rem; margin-top:4px; }
.school-line .inline-link { gap:6px; font-size:.88rem; }
.school-line .inline-link .icon { width:17px; height:17px; }
.cohort-list,.orders-list,.request-list { list-style:none; margin:0; padding:0; }
.cohort-list { border-top:1px solid var(--line); }
.cohort-row { display:grid; grid-template-columns:75px minmax(0,1fr) minmax(96px,auto) auto; align-items:center; gap:22px; padding:20px 0; border-bottom:1px solid var(--line); }
.date-block { color:var(--ink); display:grid; justify-content:start; line-height:1.25; }
.date-block strong { font-size:1.4rem; font-weight:650; font-variant-numeric:tabular-nums; }
.date-block small { color:var(--muted); font-size:.78rem; font-variant-numeric:tabular-nums; }
.kind-label { color:var(--accent); font-size:.8rem; font-weight:650; margin-bottom:3px; }
.cohort-row h3 { font-size:clamp(1rem,1.4vw,1.24rem); overflow-wrap:anywhere; }
.cohort-row .meta { margin-top:6px; }
.meta { display:flex; flex-wrap:wrap; gap:3px 14px; color:var(--muted); font-size:.85rem; }
.meta span { display:inline-flex; align-items:baseline; gap:4px; }
.meta .icon { width:15px; height:15px; align-self:center; }
.seat { color:var(--muted); font-size:.85rem; text-align:right; }
.cohort-row .button { min-height:41px; font-size:.86rem; padding:8px 12px; }
.cohort-row .button .icon { width:16px; height:16px; }
.notice,.empty { margin:18px 0; padding:16px; background:var(--soft); border-inline-start:3px solid var(--line); }
.empty p,.notice p { margin-bottom:6px; }
.project-section,.partner-section { background:var(--soft); padding:clamp(52px,6vw,90px) 0; border-block:1px solid var(--line); }
.project-layout,.partner-layout,.certificate { display:grid; grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr); gap:clamp(30px,8vw,125px); align-items:start; }
.project-intro h2,.partner-layout h2,.certificate h2 { margin-bottom:17px; }
.project-intro>p:last-child,.partner-layout>div>p:last-child,.certificate>div>p:not(.eyebrow) { color:var(--muted); line-height:1.9; max-width:35em; }
.editorial-list article { padding-block:16px 19px; border-top:1px solid var(--line); }
.editorial-list article:first-child { border-top:2px solid var(--ink); }
.editorial-list article:last-child { padding-bottom:0; }
.editorial-list h3 { font-size:1.18rem; }
.editorial-list p { margin-top:6px; color:var(--muted); font-size:.95rem; }
.editorial-list .inline-link { display:inline-flex; gap:7px; margin-top:6px; }
.certificate { grid-template-columns:1.15fr .85fr; align-items:center; }
.certificate figure button { width:100%; position:relative; display:grid; place-items:center; background:var(--soft); padding:clamp(12px,2.4vw,34px); border:1px solid var(--line); border-radius:3px; }
.certificate figure img { display:block; width:100%; max-height:280px; height:auto; object-fit:contain; }
.expand { position:absolute; right:10px; bottom:10px; display:grid; place-items:center; width:32px; height:32px; border-radius:50%; color:var(--ink); background:var(--pane); font-size:1.2rem; }
figcaption { margin-top:7px; font-size:.8rem; }
.certificate .inline-link { display:inline-flex; margin-top:13px; gap:7px; border-bottom:1px solid var(--accent); }
.form-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; align-items:start; }
.wide { grid-column:1/-1; }
.check { display:flex; align-items:flex-start; gap:9px; font-size:.87rem; font-weight:400; color:var(--muted); cursor:pointer; }
input[type=checkbox] { flex:none; width:17px; height:17px; margin:3px 0 0; accent-color:var(--accent); cursor:pointer; }
.form-actions { justify-content:flex-start; flex-wrap:wrap; }
.form-actions [role=status] { font-size:.87rem; }
.foot { min-height:94px; justify-content:space-between; gap:15px; }
.foot strong { font-size:1.15rem; letter-spacing:.01em; }
.foot strong span { font-weight:500; }
.foot nav { flex-wrap:wrap; gap:12px 24px; font-size:.86rem; color:var(--muted); }
dialog { width:min(625px,calc(100% - 28px)); max-height:90dvh; border:1px solid var(--line); border-radius:7px; padding:0; background:var(--pane); color:var(--ink); box-shadow:0 22px 90px #0a121b40; }
dialog::backdrop { background:#16243399; }
.dialog-frame { padding:clamp(18px,4vw,34px); }
.dialog-head { margin-bottom:18px; padding-bottom:14px; border-bottom:1px solid var(--line); }
.dialog-head h2 { font-size:clamp(1.45rem,2.4vw,1.9rem); overflow-wrap:anywhere; outline-offset:3px; }
.icon-button { display:grid; place-items:center; flex:none; width:40px; height:40px; background:transparent; border:1px solid var(--line); border-radius:50%; }
.dialog-body,.dialog-stack,.dialog-form { display:grid; gap:15px; }
.dialog-stack>p,.dialog-form>p { color:var(--muted); font-size:.94rem; }
.dialog-stack .button,.dialog-form .button { justify-self:start; }
.dialog-actions { display:flex; align-items:center; gap:12px; flex-wrap:wrap; }
.dialog-actions .text-button { font-size:.88rem; }
.facts { display:grid; grid-template-columns:minmax(7em,.4fr) minmax(0,1fr); margin:0; font-size:.91rem; border-top:1px solid var(--line); }
.facts dt,.facts dd { border-bottom:1px solid var(--line); padding:7px 0; }
.facts dt { color:var(--muted); padding-right:10px; }
.facts dd { margin:0; overflow-wrap:anywhere; white-space:pre-line; }
.fee { padding:13px 16px; background:var(--soft); display:flex; justify-content:space-between; align-items:center; gap:12px; }
.fee strong { font-size:1.4rem; color:var(--accent); }
.terms-block { color:var(--muted); }
.terms-block h3,.dialog-section h3 { color:var(--ink); font-size:1.06rem; margin-bottom:5px; }
.terms-block p,.request-item p { white-space:pre-wrap; overflow-wrap:anywhere; }
.feedback { font-size:.9rem; color:var(--muted); }
.feedback.error { color:var(--accent); }
.auth-tabs { display:flex; gap:18px; border-bottom:1px solid var(--line); }
.auth-tabs button { background:none; color:var(--muted); padding:7px 2px; border:0; border-bottom:2px solid transparent; font-weight:650; }
.auth-tabs button[aria-pressed=true] { color:var(--accent); border-bottom-color:var(--accent); }
.order-item,.request-item { padding:13px 0; border-bottom:1px solid var(--line); }
.order-head { align-items:flex-start; }
.order-head h3 { font-size:1.07rem; overflow-wrap:anywhere; }
.order-head span { font-size:.85rem; color:var(--accent); }
.order-item button { text-align:start; color:var(--ink); background:none; border:0; padding:0; font:inherit; font-weight:650; text-decoration:underline; text-underline-offset:4px; }
.order-item .meta { padding-top:5px; }
.request-item p { font-size:.9rem; color:var(--muted); margin-top:4px; }
.qr-image { display:block; width:min(240px,100%); height:auto; margin:auto; image-rendering:pixelated; }
.sample-large { width:100%; height:auto; display:block; }
.school-contact { overflow-wrap:anywhere; }
@media (max-width:800px) {
  .wrap { width:calc(100% - 44px); }
  .mast-inner { gap:20px; min-height:66px; }
  .main-nav { gap:15px; }
  .tools { gap:14px; }
  .filters { grid-template-columns:1fr 1.2fr 1fr; gap:10px; padding:13px; }
  .filters .text-button { grid-column:1/-1; justify-self:start; padding:2px; min-height:30px; }
  .entry-rail>a { gap:9px; }
  .entry-arrow { display:none; }
  .entry-rail small { font-size:.78rem; }
  .cohort-row { gap:14px; }
  .project-layout,.partner-layout,.certificate { gap:32px; }
}
@media (max-width:860px) {
  .mast-inner { justify-content:space-between; gap:10px; min-height:62px; }
  .wordmark img { width:132px; }
  .main-nav,.settings .desktop-icon,.settings summary>.current-lang,.settings summary>.chevron { display:none; }
  .settings .mobile-icon { display:block; width:22px; height:22px; }
  .settings summary { min-width:42px; min-height:44px; justify-content:center; }
  .small-nav { display:grid; border-bottom:1px solid var(--line); padding-bottom:10px; }
  .small-nav a { padding:7px 0; }
  .tools { gap:12px; }
}
@media (max-width:650px) {
  .wrap { width:calc(100% - 36px); }
  .hero-inner { min-height:430px; padding:48px 0 62px; }
  .hero-image { object-position:64% 50%; }
  .hero-shade { background:linear-gradient(90deg,#f8f5eee8,#f8f5eed4 48%,#f8f5ee60 78%,#f8f5ee1a); }
  .hero h1 { font-size:clamp(2.95rem,10vw,4.2rem); }
  .hero-kicker { font-size:.77rem; margin-bottom:14px; }
  .hero-lead { max-width:26em; width:85%; font-size:.94rem; margin-top:14px; }
  .hero-actions { gap:19px; margin-top:20px; }
  .hero-actions .button { min-height:43px; padding-inline:15px; }
  .entry-rail { gap:0; padding-block:15px; }
  .entry-rail>a { flex-direction:column; text-align:center; padding:3px; gap:4px; }
  .entry-rail>a:first-child,.entry-rail>a:last-child { padding-inline:3px; }
  .entry-icon { width:23px; height:23px; }
  .entry-rail strong { font-size:.9rem; }
  .entry-rail small { display:none; }
  .section-head { display:block; margin-bottom:16px; }
  .section-head>p { margin-top:8px; font-size:.9rem; }
  .filters { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .filters .text-button { grid-column:auto; align-self:end; justify-self:center; min-height:44px; }
  .cohort-row { grid-template-columns:minmax(0,1fr) auto; gap:8px 12px; align-items:start; }
  .cohort-row .date-block { grid-row:1; grid-column:1; display:flex; flex-wrap:wrap; align-items:baseline; gap:4px; }
  .date-block strong { font-size:1rem; }
  .cohort-copy { grid-column:1/-1; grid-row:2; }
  .cohort-row .seat { grid-row:1; grid-column:2; }
  .cohort-row .button { grid-column:1/-1; grid-row:3; justify-self:start; }
  .school-line { align-items:flex-start; gap:6px; }
  .school-line .inline-link { flex:none; }
  .project-layout,.partner-layout,.certificate { grid-template-columns:minmax(0,1fr); gap:22px; }
  .certificate>div { grid-row:1; }
  .project-intro h2 { display:block; }
  .foot { align-items:flex-start; flex-direction:column; justify-content:center; padding-block:24px; }
  .foot nav { gap:7px 17px; }
  .form-grid { gap:12px; }
}
@media (max-width:380px) {
  .wrap { width:calc(100% - 28px); }
  .tools { gap:8px; }
  .account-link { font-size:.8rem; }
  .hero-lead { width:95%; }
  .form-grid { grid-template-columns:1fr; }
  .facts { grid-template-columns:minmax(6em,.37fr) minmax(0,1fr); }
  html[lang=en] .hero h1 { font-size:2.53rem; }
}
@media (prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } }
