/* Brand alignment with machinelab.cn, inspected 2026-09-17.
   Kept separate from the first draft to make the change auditable. */
:root{--ink:#101828;--muted:#475467;--accent:#35b68e;--blue:#0f7ae5;--line:#d9e2ec;--wash:#f7f9fc;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;scroll-padding-top:125px}
body{-webkit-font-smoothing:antialiased;line-height:1.65}
.wrap{max-width:1280px}
h1,h2,h3,h4{font-weight:800;letter-spacing:normal}
h1{font-size:clamp(40px,4.7vw,64px);line-height:1.15}
h2{font-size:clamp(32px,3.5vw,48px);line-height:1.2}
.thin{font-weight:800}.under{background:none;color:var(--blue)}
.site-header{position:sticky;top:0;z-index:30;border-bottom:1px solid #e5e7eb;background:rgba(255,255,255,.96);backdrop-filter:blur(18px)}
.header{height:64px;max-width:1280px;padding:0 40px;border:0;gap:24px}
.brand{display:inline-flex;align-items:center;letter-spacing:normal}.brand img{display:block;width:auto;height:36px;max-width:160px;object-fit:contain}
.header nav{gap:4px;font-size:14px;font-weight:700}.header nav a{padding:10px 12px;border-radius:8px;color:#344054}.header nav a:hover,.header nav .current{background:#eef6ff;color:var(--blue)}
.header-link{background:#101828;color:white;padding:9px 16px;border:0;border-radius:8px;font-weight:700;font-size:14px}.header-link:hover{background:#25344c}
.page-nav{border-bottom:1px solid #e5e7eb;background:#f8fafc}.page-nav .wrap{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:52px}.page-nav span{font-size:13px;font-weight:700;color:#667085}.page-nav nav{font-size:13px;gap:24px}.page-nav a{padding:12px 0}
.hero{grid-template-columns:1fr 1fr;gap:64px;padding-top:80px;padding-bottom:80px}.eyebrow{font-size:13px;font-weight:700;letter-spacing:.16em;margin-bottom:24px}.hero-intro{font-size:19px;line-height:1.7}.hero-desc{color:#475467;line-height:1.9}.hero-actions{gap:12px}.button{border-radius:8px;background:var(--blue);font-size:14px;font-weight:700;padding:14px 20px;min-height:48px;gap:16px}.button:hover{background:#0967c7}.hero-actions .text-link{border:1px solid #d0d5dd;padding:12px 16px;border-radius:8px;font-weight:700;font-size:14px;background:white}
.hero-map{transform:none;background:#fff;color:var(--ink);padding:28px;border:1px solid var(--line);border-radius:8px;box-shadow:0 24px 70px rgba(15,42,71,.1)}
.map-top{color:#667085;font-weight:700}.map-grid{gap:12px;border:0}.map-grid>div{border:1px solid var(--line);border-radius:8px;background:#f8fafc;min-height:144px;padding:16px 18px}.map-grid span,.map-grid small{color:#667085}.map-grid b{font-weight:800;font-size:24px}.map-grid strong{color:#087956;font-weight:700;margin-top:12px}.map-grid>div:nth-child(2) strong{color:var(--blue)}.map-grid>div:nth-child(3) strong{color:#137d91}.map-grid>div:nth-child(4) strong{color:#976512}.map-bottom{font-weight:700;font-size:16px}.map-bottom>span:last-child{color:var(--blue)}
.principle{background:#eef6ff;color:#344054;border-block:1px solid #dce9f6}.principle>.wrap{padding-top:22px;padding-bottom:22px}.principle p{font-size:15px;font-weight:700}.principle span{color:var(--blue)}
.section,.skills-section{padding-top:80px;padding-bottom:80px}.section-top{grid-template-columns:1fr 1fr;gap:16px 56px;margin-bottom:40px}.section-top>.eyebrow{grid-column:1/-1;margin:0 0 8px}.section-top>p:last-child{line-height:1.9;margin:0;align-self:end;color:#667085}
.journey{gap:16px;margin-bottom:40px}.journey li{border:1px solid var(--line);border-radius:8px;background:#f8fafc;padding:24px}.journey li>span{font-weight:800}.journey h3{margin:12px 0}.journey p{margin:0}
.levels{gap:20px}.levels article,.levels article.middle{border:1px solid var(--line);border-top:4px solid var(--blue);background:white;padding:32px;border-radius:8px}.levels article.middle{border-top-color:#35b68e}.level-en{font-weight:700}.levels h3{font-weight:800}.levels p{color:var(--muted)}
.code-key{gap:16px}.code-key>div{background:white;border:1px solid var(--line);border-radius:8px;padding:20px;gap:12px}.code-key b{font-weight:800}.code-key small{color:#667085}.skill-columns{gap:24px;margin-top:40px}.label{background:#e8f5ef;color:#087956;border-radius:6px;font-weight:700}.label.blue{background:#eaf3ff;color:#0967c7}.skill{border:1px solid var(--line);border-radius:8px;margin-bottom:10px;overflow:hidden}.skill summary:hover{background:#f8fafc}.skill-name,.skill-code{font-weight:700}.skill-name small{font-weight:400}.skill[open]{border-color:#8cbaea}.skill[open] summary{background:#eef6ff}.learning-note{background:#eef6ff;color:var(--ink);border:1px solid #cbdff5;border-radius:8px}.learning-note p{color:#475467}
.project-grid{gap:16px;margin-top:22px}.project{padding:24px;border:1px solid var(--line);border-radius:8px;background:#fff;box-shadow:0 1px 2px rgba(16,24,40,.03)}.project-no{font-weight:800;margin-bottom:12px}.project h3{font-size:19px}.project p{font-size:14px;line-height:1.9}.tags span{background:#f2f4f7;color:#344054;border-radius:6px;font-weight:600}
.photo-slot,.dark-photo{background:#f8fafc;border-color:#b5c3d3;border-radius:8px}.photo-slot b{font-weight:700}
.join-section{background:#f7f9fc;color:var(--ink);padding:80px 0;border-block:1px solid #e5e7eb}.join-section .eyebrow{color:var(--blue)}.join-section .section-top>p:last-child{color:#667085}.join-grid{gap:20px}.join-grid article{border:1px solid var(--line);border-radius:8px;background:white;padding:28px}.join-grid span{color:var(--blue);font-weight:700}.join-grid h3{font-size:25px}.join-grid p,.join-note p{color:#475467}.join-note{border-color:var(--line)}
.future{background:#f8fafc;border:1px solid var(--line)}.mfps b{font-weight:800}.mfps>div{border-color:var(--line)}.mfps>div:nth-child(2) b{color:#27b8d8}.mfps>div:nth-child(3) b{color:#45b65c}.mfps>div:nth-child(4) b{color:#bf8a1b}
footer{background:#f8fafc;color:var(--ink);border-top:1px solid var(--line);padding:44px 0}footer p{color:#667085}.footer-links{display:flex;gap:24px;font-size:14px;font-weight:700}.footer-links a:hover{color:var(--blue)}
section[id]{scroll-margin-top:100px}
.project-grid .project{padding:0;overflow:hidden;min-width:0}
.project-image{margin:0;position:relative;aspect-ratio:3/2;background:#f2f4f7;border-bottom:1px solid var(--line);flex-shrink:0}
.project-image img{display:block;width:100%;height:100%;aspect-ratio:3/2;object-fit:contain}
.project-image figcaption{position:absolute;right:10px;bottom:10px;padding:3px 7px;background:rgba(255,255,255,.92);border:1px solid #d9e2ec;border-radius:4px;color:#475467;font-size:10px;line-height:1.5}
.project-content{padding:24px;display:flex;flex-direction:column;flex:1}
.project-content .project-no{display:block}
.project-grid .project-more{padding:28px;background:#eef6ff;border:1px solid #c5dcf5;justify-content:space-between;gap:36px;min-height:340px;transition:background .18s,border-color .18s}
.project-more:hover{background:#e2efff;border-color:var(--blue)}
.project-more .more-eyebrow{font-size:11px;font-weight:700;letter-spacing:.16em;color:#0967c7}
.project-more h3{font-size:28px;line-height:1.45;color:var(--ink);margin-bottom:16px}
.project-more p{margin-bottom:0;flex-grow:0;color:var(--muted)}
.more-link{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #c5dcf5;padding-top:20px;color:#0967c7;font-weight:700;font-size:15px}
.more-link span{font-size:26px}
@media(max-width:1000px){.header{padding:0 28px}.header nav a{padding:10px 8px}.hero{gap:32px}.hero-actions{align-items:stretch}.hero-actions a{justify-content:center}.journey{grid-template-columns:repeat(2,1fr)}.code-key{grid-template-columns:repeat(2,1fr)}.header-link{display:block}.section-top{gap:16px 32px}}
@media(max-width:700px){.header{height:64px;min-height:64px;padding:0 22px;flex-wrap:nowrap}.header nav{display:none}.header-link{font-size:13px}.page-nav .wrap{display:block;padding-top:10px}.page-nav span{display:none}.page-nav nav{justify-content:space-between;gap:10px;width:100%;font-size:12px}.page-nav a{padding:8px 0 14px}.hero{display:block;padding-top:44px;padding-bottom:44px}.hero .eyebrow{font-size:11px}h1{font-size:42px;line-height:1.18}.hero-intro{font-size:17px}.hero-map{margin-top:32px;padding:20px}.map-grid>div{padding:14px;min-height:136px}.hero-actions{gap:10px}.hero-actions .text-link,.button{font-size:12px;padding:12px 14px}.section,.skills-section,.join-section{padding-top:56px;padding-bottom:56px}.section-top{display:block}.section-top>.eyebrow{margin-bottom:16px}.section-top h2{margin-bottom:20px}.journey{gap:12px}.journey li{padding:18px}.journey h3{font-size:17px}.journey p{font-size:13px}.levels,.skill-columns,.join-grid,.join-note,.ai-section{grid-template-columns:1fr}.levels article{padding:26px}.code-key{gap:12px}.code-key>div{display:block;padding:16px}.code-key b{font-size:23px}.code-key span{font-size:12px}.code-key small{font-size:12px}.project-grid{grid-template-columns:1fr}.project{padding:24px}.join-grid article{padding:24px}.join-note{gap:16px}.footer-links{gap:20px;flex-wrap:wrap}.brand img{height:32px}.principle p{font-size:12px}.principle>.wrap{flex-wrap:wrap;justify-content:center;gap:7px}.principle span{font-size:12px}}
@media(max-width:360px){h1{font-size:37px}.wrap{padding-inline:18px}.map-grid{gap:8px}.map-grid>div{padding:12px}.hero-actions{flex-direction:column}.journey li{padding:14px}}
