/* Homepage styles, separated from shared page styles to keep other pages intact. */
:root{--ink:#132238;--muted:#66758a;--blue:#2864dc;--pale:#eef4ff;--line:#e6ebf2;--site-page-gutter:15px}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);font-family:-apple-system,BlinkMacSystemFont,"Microsoft YaHei",sans-serif;background:#f4f6f8}a{text-decoration:none;color:inherit}header.nav{height:72px;max-width:1180px;margin:auto;display:flex;align-items:center;padding:0 24px;gap:42px}.brand{font-size:23px;font-weight:900;letter-spacing:2px}header.nav nav{display:flex;gap:30px;color:var(--muted);font-size:14px}.nav-login{margin-left:auto;border:1px solid var(--line);padding:9px 20px;border-radius:9px}.hero{width:calc(100% - 30px);max-width:1140px;margin:24px auto 28px;padding:28px 32px;display:grid;grid-template-columns:1.25fr .75fr;gap:36px;background:linear-gradient(135deg,#eef4ff,#fff 85%);border:1px solid #dfe8f7;border-radius:12px}.eyebrow{font-size:12px;font-weight:700;letter-spacing:1.5px;color:var(--blue)}.hero h1{font-family:inherit;font-size:44px;font-weight:600;line-height:1.35;letter-spacing:-1px;margin:18px 0 16px}h1 em{font-style:normal;color:var(--blue)}.hero p{color:var(--muted);font-size:16px;line-height:1.9;max-width:660px}.actions{display:flex;gap:12px;margin-top:24px}.actions a,.plan a{padding:12px 20px;border-radius:8px;font-weight:600}.hero .primary,.hero .primary:hover,.hero .primary:focus,.plan a{background:var(--blue);color:#fff}.secondary{background:#fff;border:1px solid var(--line)}.hero-card{background:#152741;color:#fff;padding:24px;border-radius:12px;box-shadow:none}.hero-card ol{list-style:none;padding:0;margin:22px 0 0}.hero-card li{display:flex;gap:16px;padding:17px 0;border-top:1px solid #ffffff20}.hero-card b{color:#76a7ff}.hero-card small{color:#aab7ca}.section{max-width:1170px;margin:0 auto 28px;padding:0 var(--site-page-gutter)}.section-head{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:16px}.section h2{font-family:inherit;font-size:24px;font-weight:600;line-height:1.6;margin:8px 0 0}.section-head p{color:var(--muted)}.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.course-card,.plan{background:#fff;border:1px solid var(--line);border-radius:12px;overflow:hidden}.course-card{position:relative}.card-link{position:absolute;inset:0;z-index:2}.cover{height:auto;aspect-ratio:16/9;background:linear-gradient(135deg,#dfeaff,#bcd1fa);background-size:cover;background-position:center;padding:14px}.cover span{background:#ffffffdd;padding:6px 10px;border-radius:20px;font-size:12px}.course-body{padding:16px}.course-body h3{font-family:inherit;margin:0;font-size:18px;font-weight:700;line-height:1.5;overflow-wrap:anywhere}.course-body p{color:var(--muted);font-size:14px;line-height:1.6;min-height:44px;margin:8px 0 12px;overflow-wrap:anywhere}.meta{display:flex;align-items:flex-end;justify-content:space-between;gap:8px;color:var(--muted);font-size:13px}.meta strong{color:var(--blue);font-size:15px;font-weight:600}.empty{grid-column:1/-1;padding:60px;text-align:center;border:1px dashed var(--line);color:var(--muted)}.plan-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:22px}.plan{padding:30px}.plan.featured{border:2px solid var(--blue)}.price{font-size:38px;font-weight:900}.price small{font-size:16px}.plan p,.plan li{color:var(--muted)}.plan li{margin:12px 0}.plan a{display:inline-block;margin-top:12px}@media(max-width:760px){:root{--site-page-gutter:14px;--home-unit:calc(100vw / 750)}header.nav nav{display:none}.hero{width:auto;margin:14px var(--site-page-gutter) 16px;padding:calc(36 * var(--home-unit));grid-template-columns:minmax(0,1fr);gap:0;border-radius:12px}.hero p{max-width:none;font-size:calc(30 * var(--home-unit));line-height:1.9;margin:0 0 calc(34 * var(--home-unit))}.hero-card{display:none}.hero h1{font-size:calc(60 * var(--home-unit));line-height:1.35;margin:calc(30 * var(--home-unit)) 0 calc(24 * var(--home-unit));letter-spacing:calc(-2 * var(--home-unit))}.section-head{display:block;margin-bottom:14px}.section h2{font-size:calc(34 * var(--home-unit));margin:6px 0 0}.section-head p{font-size:13px;line-height:1.6;margin:6px 0 0}.course-body{padding:calc(28 * var(--home-unit))}.course-body h3{font-size:calc(34 * var(--home-unit))}.course-body p{font-size:calc(26 * var(--home-unit));margin:calc(14 * var(--home-unit)) 0 calc(24 * var(--home-unit))}.meta{font-size:calc(25 * var(--home-unit))}.meta strong{font-size:calc(28 * var(--home-unit))}.grid,.plan-grid{grid-template-columns:1fr}}


        
        
        
        .course-more{text-align:center;margin-top:16px}
        .course-more a{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-width:220px;padding:13px 24px;border:1px solid #2864dc;border-radius:10px;color:#2864dc;background:#fff;font-weight:700;transition:.18s ease}
        .course-more a:hover{color:#fff;background:#2864dc;box-shadow:0 10px 24px #2864dc2e;transform:translateY(-1px)}
        .course-more-arrow{font-size:18px;line-height:1}
        #courses{margin-bottom:36px}
        .home-tutorials{position:relative;margin-bottom:36px;padding:20px var(--site-page-gutter);background:transparent;overflow:hidden}
        .home-tutorials:before{content:"";position:absolute;left:-120px;top:-180px;width:360px;height:360px;border-radius:50%;background:#2864dc0a}
        .home-tutorials-inner{position:relative;max-width:1140px;margin:auto}
        .home-tutorials-head{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:16px}
        .home-tutorials-head h2{font-family:inherit;margin:8px 0 6px;font-size:24px;font-weight:600;line-height:1.6}
        .home-tutorials-head p{margin:0;color:#66758a;line-height:1.75}
        .home-tutorials-all{display:inline-flex;align-items:center;gap:8px;flex:0 0 auto;padding:10px 0;color:#2864dc;font-weight:700;transition:.18s ease}
        .home-tutorials-all:hover{color:#1f55bd}
        .home-tutorial-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
        .home-tutorial-column{min-width:0;padding:20px 20px 14px;background:#fff;border:1px solid #dfe7f2;border-radius:12px;box-shadow:none}
        .home-tutorial-column-title{display:flex;align-items:center;gap:11px;margin:0 0 10px;padding-bottom:12px;border-bottom:1px solid #e8edf4;font-size:20px;line-height:1.5;font-weight:600}
        .home-tutorial-column-title a{color:inherit;text-decoration:none}
        .home-tutorial-column-title a:hover{color:#2864dc;text-decoration:none}
        .home-tutorial-column-title a:focus-visible{outline:2px solid #2864dc;outline-offset:3px}
        .home-tutorial-column-icon{display:inline-flex;width:32px;height:32px;align-items:center;justify-content:center;border-radius:8px;color:#fff;font-size:19px;line-height:1}
        .home-tutorial-column-icon.beginner{background:#18b9e8}.home-tutorial-column-icon.workflow{background:#4e7ee8}
        .home-tutorial-column-subtitle{margin:-2px 0 6px;color:#7c8da4;font-size:13px;line-height:1.6}
        .home-tutorial-list{list-style:none;margin:0;padding:0}
        .home-tutorial-list li{display:flex;align-items:center;gap:8px;min-width:0;min-height:47px;border-bottom:1px solid #e8edf4}
        .home-tutorial-list li:last-child{border-bottom:0}
        .home-tutorial-list a{display:block;min-width:0;width:auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#215da9;font-size:16px;line-height:1.5;transition:color .15s ease}
        .home-tutorial-list a:hover{color:#174eae}
        #plans{scroll-margin-top:84px}
        @media(max-width:760px){
            #courses{margin-bottom:28px}
            .home-tutorials{margin-bottom:24px;padding:0 var(--site-page-gutter)}
            .home-tutorials-head{display:block}.home-tutorials-head h2{font-size:calc(34 * var(--home-unit))}.home-tutorials-head p{font-size:13px}
            .home-tutorials-all{margin:13px 0 0;padding:0}
            .home-tutorial-columns{grid-template-columns:1fr;gap:16px}
            .home-tutorial-column{padding:16px 14px 12px}
            .home-tutorial-column-title{font-size:17px}
            .home-tutorial-list a{font-size:14px}
            .home-tutorial-list li{min-height:45px}
        }
        .hero .actions .home-computer-entry{display:none}
        .home-computer-mask[hidden]{display:none!important}
        .home-computer-mask{position:fixed;inset:0;z-index:12000;display:flex;align-items:center;justify-content:center;padding:16px;background:rgba(17,31,51,.45)}
        .home-computer-dialog{width:100%;max-width:360px;max-height:calc(100vh - 32px);overflow:auto;padding:16px 17px 18px;border-radius:12px;background:#fff;box-shadow:0 8px 30px rgba(17,31,51,.16);color:#172b4d}
        .home-computer-head{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:17px;font-weight:600}
        .home-computer-dialog .home-computer-close{display:flex;align-items:center;justify-content:center;flex:none;width:40px;height:40px;margin:-6px -8px -6px 0;padding:0;border:0;border-radius:50%;background:transparent;color:#7a8799;font-size:24px;font-weight:400;line-height:1;cursor:pointer}
        .home-computer-hint{margin:20px 0 8px;font-size:14px;color:#66758a}
        .home-computer-address{padding:11px;border-radius:6px;background:#f4f7fc;color:#172b4d;font-size:17px;font-weight:600;overflow-wrap:anywhere;word-break:break-all}
        .home-computer-copy{margin:14px 0 16px;color:#66758a;font-size:14px;line-height:1.85}
        .home-computer-dialog .home-computer-copy-button{display:block;width:100%;min-height:44px;margin:0;padding:12px 16px;border:0;border-radius:8px;background:#2864dc;color:#fff;font-family:inherit;font-size:14px;font-weight:600;line-height:1.5;cursor:pointer}
        .home-computer-status{margin:8px 0 0;color:#66758a;font-size:13px;line-height:1.6}
        @media(max-width:760px){
            .hero .actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:calc(18 * var(--home-unit));margin-top:0}
            .hero .actions>a,.hero .actions .home-computer-entry{display:flex;align-items:center;justify-content:center;width:100%;min-width:0;margin:0;text-align:center;min-height:44px;padding:calc(22 * var(--home-unit)) calc(12 * var(--home-unit));font-size:calc(28 * var(--home-unit));font-weight:600}
            .hero .actions .home-computer-entry{padding:calc(22 * var(--home-unit)) calc(12 * var(--home-unit));border:1px solid var(--line);border-radius:8px;background:#fff;color:inherit;font-family:inherit;font-size:calc(28 * var(--home-unit));line-height:1.5;font-weight:400;cursor:pointer}
            .hero .actions .home-desktop-membership{display:none}
        }
    
@media(min-width:761px) and (max-width:1023px){.hero{margin:20px auto 28px;padding:24px;gap:24px;grid-template-columns:1.2fr .8fr}.hero h1{font-size:34px}.grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:340px){.hero h1{font-size:calc(52 * var(--home-unit))}.section h2,.home-tutorials-head h2{font-size:calc(30 * var(--home-unit))}}


@media(min-width:768px) and (max-width:991px){.hero{max-width:720px}.section{max-width:750px}.home-tutorials-inner{max-width:720px}}
@media(min-width:992px) and (max-width:1199px){.hero{max-width:940px}.section{max-width:970px}.home-tutorials-inner{max-width:940px}}
