/* Homepage typography. Fonts are bundled locally under SIL OFL 1.1. */
@font-face{font-family:"Zhiji Home Sans";font-style:normal;font-weight:400 600;font-display:swap;src:url('/fonts/noto-sans-sc-home-variable.woff2') format('woff2')}
@font-face{font-family:"Zhiji Home Serif";font-style:normal;font-weight:600;font-display:swap;src:url('/fonts/noto-serif-sc-home-600.woff2') format('woff2')}
.questionnaire-page[data-stage=welcome]{font-family:"Zhiji Home Sans","PingFang SC","Microsoft YaHei",sans-serif;font-weight:400}
.questionnaire-page[data-stage=welcome] .site-header{padding-top:30px}
.questionnaire-page[data-stage=welcome] .brand{font-size:32px;line-height:1.25;font-weight:500;letter-spacing:.06em;gap:14px}
.questionnaire-page[data-stage=welcome] .brand small{font-size:12px;line-height:1.6;font-weight:400;letter-spacing:.12em;margin-top:5px}
.questionnaire-page[data-stage=welcome] .q-brand-mark{width:45px;height:52px}
.q-welcome-split .q-rail-intro{font-size:16px;line-height:1.9;letter-spacing:.08em;font-weight:400}
.q-welcome-art{position:relative;flex:1;min-height:0;margin:0 -8px}
.q-welcome-art>img{position:absolute;inset:0;display:block;width:100%;height:100%;max-height:370px;margin:auto;object-fit:contain}
.q-welcome-split .q-rail-bottom h2{font-size:clamp(26px,2.7vw,36px);font-weight:500;line-height:1.5;letter-spacing:.025em;margin-bottom:10px}
.q-welcome-split .q-rail-position{font-size:15px;line-height:1.6;font-weight:400;gap:10px;letter-spacing:.04em}
.q-welcome-split .q-rail-position>b{font-size:26px;line-height:1.3;font-weight:500;letter-spacing:0}
.q-welcome-split .q-rail-welcome-note{font-size:14px;line-height:1.8;font-weight:400;letter-spacing:.025em;margin-top:12px}
.q-welcome-split .q-rail-caption{font-size:9px;line-height:1.9;letter-spacing:.2em;opacity:.8}
.q-welcome-paper{--q-ink:#35323e;--q-muted:#726c7e;--q-rule:#e2deeb;background:#fafafe;color:var(--q-ink);padding:28px clamp(30px,4vw,68px) 22px;gap:16px}
.q-welcome-paper .q-top-nav{font-size:13px;font-weight:500;line-height:1.6;letter-spacing:.12em;padding-bottom:14px}
.q-welcome-copy{padding:14px 0}
.q-welcome-copy h1{font-family:"Zhiji Home Serif","Songti SC",serif;font-size:clamp(42px,4.5vw,60px);font-weight:600;line-height:1.38;letter-spacing:.015em;margin-bottom:20px}
.q-welcome-copy .q-intro{font-size:16px;line-height:1.9;letter-spacing:.025em;max-width:34em;color:#50534f;font-weight:400;text-wrap:pretty}
.q-welcome-actions{margin-top:24px;gap:16px}
.q-welcome-actions>.primary{font-size:18px;line-height:1.5;letter-spacing:.065em;font-weight:500;min-height:56px;min-width:220px;padding:13px 22px}
.q-welcome-actions .q-resume-note{font-size:12px;line-height:1.8;letter-spacing:.015em}
.q-welcome-split .q-explore{padding-top:20px}
.q-welcome-split .q-section-title h2{font-size:18px;font-weight:500;line-height:1.6;letter-spacing:.025em;margin-bottom:15px}
.q-welcome-footer{padding-top:12px;font-size:11px;line-height:1.8;letter-spacing:.01em}
@media(min-width:901px) and (max-height:760px){
 .q-welcome-paper{padding-top:22px;padding-bottom:18px;gap:14px}
 .q-welcome-copy{padding:6px 0}
 .q-welcome-copy h1{font-size:42px;line-height:1.32;margin-bottom:14px}
 .q-welcome-actions{margin-top:18px}
 .q-welcome-split .q-explore{padding-top:14px}
}
@media(max-width:1100px) and (min-width:901px){
 .q-welcome-actions{gap:13px}
 .q-welcome-actions>.primary{min-width:195px}
 .q-welcome-actions .q-resume-note{font-size:11px}
}
@media(max-width:900px){
 .questionnaire-page[data-stage=welcome] .site-header{height:70px;padding:17px 24px;background:transparent}
 .questionnaire-page[data-stage=welcome] .brand{font-size:25px;gap:10px;letter-spacing:.06em;line-height:1.2}
 .questionnaire-page[data-stage=welcome] .brand small{font-size:10px;line-height:1.5;margin-top:4px;letter-spacing:.07em}
 .questionnaire-page[data-stage=welcome] .q-brand-mark{width:33px;height:40px}
 .q-welcome-split .q-rail{height:150px;padding:72px 24px 13px}
 .q-welcome-split .q-rail-bottom h2{font-size:19px;font-weight:500;line-height:1.4;letter-spacing:.025em;margin-bottom:3px}
 .q-welcome-split .q-rail-position{font-size:11px;gap:7px;line-height:1.5}
 .q-welcome-split .q-rail-position>b{font-size:17px}
 .q-welcome-split .q-rail-welcome-note{font-size:10px;line-height:1.6;margin-top:4px}
 .q-welcome-art{position:absolute;top:16px;right:24px;width:120px;height:120px;margin:0}
 .q-welcome-paper{min-height:calc(100svh - 150px);padding:17px 24px 16px;gap:12px}
 .q-welcome-paper .q-top-nav{font-size:12px;letter-spacing:.075em;min-height:26px;padding-bottom:9px}
 .q-welcome-copy{padding:3px 0}
 .q-welcome-copy h1{font-size:40px;line-height:1.35;letter-spacing:.015em;margin-bottom:14px}
 .q-welcome-copy .q-intro{font-size:15px;line-height:1.85;letter-spacing:.015em;max-width:35em}
 .q-welcome-actions{margin-top:18px;gap:10px}
 .q-welcome-actions>.primary{font-size:17px;min-height:52px;min-width:208px}
 .q-welcome-split .q-section-title h2{font-size:17px;margin-bottom:12px}
 .q-welcome-footer{padding-top:9px;font-size:11px}
}
@media(max-width:520px){
 .questionnaire-page[data-stage=welcome] .site-header{padding-left:20px;padding-right:20px}
 .q-welcome-split .q-rail{padding-left:20px;padding-right:20px}
 .q-welcome-paper{padding-left:20px;padding-right:20px;gap:12px}
 .q-welcome-copy h1{font-size:34px;line-height:1.4;letter-spacing:.01em}
 .q-welcome-copy .q-intro{font-size:14px;line-height:1.8}
 .q-welcome-actions>.primary{width:100%;font-size:17px;min-height:50px}
 .q-welcome-actions .q-resume-note{font-size:11px}
 .q-welcome-split .q-section-title h2{font-size:16px;line-height:1.5}
 .q-welcome-footer{font-size:10px;letter-spacing:0}
}
@media(max-width:900px) and (max-height:740px){
 .questionnaire-page[data-stage=welcome] .site-header{height:54px;padding-top:12px}
 .questionnaire-page[data-stage=welcome] .brand{font-size:21px}
 .questionnaire-page[data-stage=welcome] .brand small{font-size:9px;margin-top:3px}
 .questionnaire-page[data-stage=welcome] .q-brand-mark{width:27px;height:33px}
 .q-welcome-split .q-rail{height:118px;padding-top:58px;padding-bottom:10px}
 .q-welcome-split .q-rail-bottom h2{font-size:17px;line-height:1.5;margin-bottom:2px}
 .q-welcome-split .q-rail-position>b{font-size:16px}
 .q-welcome-art{top:10px;right:22px;width:98px;height:98px}
 .q-welcome-paper{min-height:calc(100svh - 118px);padding-top:11px;padding-bottom:10px;gap:5px}
 .q-welcome-paper .q-top-nav{font-size:11px;padding-bottom:7px;min-height:24px}
 .q-welcome-copy h1{font-size:30px;line-height:1.33;margin-bottom:10px}
 .q-welcome-copy .q-intro{font-size:13px;line-height:1.8}
 .q-welcome-actions{margin-top:12px;gap:6px}
 .q-welcome-actions>.primary{min-height:47px;padding-top:10px;padding-bottom:10px}
 .q-welcome-split .q-explore{padding-top:12px}
 .q-welcome-split .q-section-title h2{font-size:15px;margin-bottom:10px}
 .q-welcome-footer{padding-top:8px}
}

/* Four equal, stationary panels share one typographic and spatial rhythm. */
.q-welcome-paper{--q-ink:#343846;--q-muted:#727583;--q-rule:#e4e5ec;background:#fafafe;gap:20px}
.q-welcome-paper .q-top-nav{color:#81828e;border-color:#e7e7ee}
.q-welcome-body{width:100%;max-width:660px;margin-block:auto;display:grid;gap:34px}
.q-welcome-copy{padding:0}
.q-welcome-copy h1{color:#303645;margin-bottom:22px}
.q-welcome-actions{margin-top:0;gap:18px}
.q-welcome-paper .primary{background:#555475;border-color:#555475;color:#fff;border-radius:999px;padding-inline:25px}
.q-welcome-paper .primary:hover:not(:disabled){background:#656487;border-color:#656487}
.q-welcome-actions .q-resume-note{color:#83838f}
.q-welcome-split .q-explore{border:0;padding:0}
.q-welcome-split .q-section-title{display:flex;align-items:center;gap:18px;margin-bottom:18px}
.q-welcome-split .q-section-title::after{content:"";height:1px;flex:1;background:#e2e3eb}
.q-welcome-split .q-section-title h2{margin:0;color:#555767;font-size:16px;font-weight:500;letter-spacing:.035em;white-space:nowrap}
.q-aspects-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:154px;gap:16px;min-width:0}
.q-aspect{--aspect-tint:#eeebf8;--aspect-stroke:#8977ac;min-width:0;display:flex;flex-direction:column;justify-content:flex-start;padding:24px;border:1px solid #e6e5ee;border-radius:20px;background:#fdfdff}
.q-aspect[data-aspect="1"]{--aspect-tint:#e9f0f9;--aspect-stroke:#7393b6}
.q-aspect[data-aspect="2"]{--aspect-tint:#faede7;--aspect-stroke:#b59081}
.q-aspect[data-aspect="3"]{--aspect-tint:#eaf1ed;--aspect-stroke:#7d9c8a}
.q-aspect-heading{display:flex;align-items:center;gap:13px;min-height:36px}
.q-aspect-heading h3{font-size:16px;line-height:1.6;letter-spacing:.025em;font-weight:500;color:#414657}
.q-aspect-icon{display:grid;place-items:center;flex:none;width:36px;height:36px;border-radius:12px;background:var(--aspect-tint);color:var(--aspect-stroke)}
.q-aspect-icon .q-icon{width:21px;height:21px;stroke-width:1.5}
.q-aspect-description{margin-top:14px;color:#747988;font-size:13px;line-height:1.85;letter-spacing:.01em;text-wrap:pretty}
.q-welcome-footer{color:#93939e;border-color:#e7e7ee}
@media(min-width:901px) and (max-width:1100px){
 .q-welcome-body{gap:28px}
 .q-aspects-grid{grid-auto-rows:140px;gap:12px}
 .q-aspect{padding:18px}
 .q-aspect-heading{gap:10px;min-height:32px}
 .q-aspect-heading h3{font-size:15px}
 .q-aspect-icon{width:32px;height:32px;border-radius:11px}
 .q-aspect-description{font-size:12px;margin-top:12px}
}
@media(min-width:901px) and (max-height:760px){
 .q-welcome-body{gap:22px}
 .q-welcome-copy h1{margin-bottom:16px}
 .q-aspects-grid{grid-auto-rows:134px;gap:12px}
 .q-aspect{padding:17px 20px}
 .q-aspect-description{margin-top:10px;font-size:12px}
}
@media(max-width:900px){
 .q-welcome-paper{gap:12px}
 .q-welcome-body{gap:24px}
 .q-welcome-copy h1{margin-bottom:16px}
 .q-welcome-actions{margin-top:0;gap:8px}
 .q-welcome-split .q-section-title{margin-bottom:14px}
 .q-aspects-grid{grid-auto-rows:144px;gap:14px}
 .q-aspect{padding:20px}
}
@media(max-width:520px){
 .q-welcome-body{gap:20px}
 .q-welcome-copy h1{margin-bottom:14px}
 .q-welcome-split .q-section-title{gap:12px;margin-bottom:12px}
 .q-welcome-split .q-section-title h2{font-size:14px;letter-spacing:.015em}
 .q-aspects-grid{grid-auto-rows:142px;gap:10px}
 .q-aspect{padding:16px 13px;border-radius:16px}
 .q-aspect-heading{gap:8px;min-height:28px}
 .q-aspect-heading h3{font-size:13px;line-height:1.6;letter-spacing:0}
 .q-aspect-icon{width:28px;height:28px;border-radius:10px}
 .q-aspect-icon .q-icon{width:18px;height:18px}
 .q-aspect-description{font-size:12px;line-height:1.75;margin-top:11px;letter-spacing:0}
}
@media(max-width:900px) and (max-height:740px){
 .q-welcome-paper{gap:5px}
 .q-welcome-body{gap:14px}
 .q-welcome-copy h1{margin-bottom:10px}
 .q-welcome-actions{margin-top:0;gap:5px}
 .q-welcome-split .q-section-title{margin-bottom:9px}
 .q-aspects-grid{grid-auto-rows:125px;gap:10px}
 .q-aspect{padding-block:12px}
 .q-aspect-description{margin-top:8px}
}
