@charset "utf-8";
/* ============================================================
   SCENARIO: studying abroad (campus Wi-Fi, dorms, online lectures)
   STYLE   : mint green on warm off-white, airy rounded cards,
             soft float shadows, no hard borders
   Rollback: remove the theme.css <link> from all pages
   ============================================================ */

:root {
    --th-main: #10B981;
    --th-main-2: #047857;
    --th-soft: #F1FBF6;
    --th-paper: #FAF9F5;
    --th-radius: 26px;
    --th-maxw: 1080px;
    --th-head: 'Open Sans', 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

/* -------- global accents (all breakpoints) -------- */
body { background: var(--th-paper); color: #2A332E; }
.header { background: rgba(255, 255, 255, .92); box-shadow: 0 2px 14px rgba(16, 185, 129, .08); border-bottom: none; }
.menu .nav a:hover { color: var(--th-main-2); }
.menu .nav .active { color: var(--th-main-2); }
.dropdown .dropdown-item:hover { color: var(--th-main-2); background: var(--th-soft); }
.s1 .features .feature div:nth-of-type(1) { color: var(--th-main-2); }
.s1 .title .t0 { font-family: var(--th-head); font-weight: 700; letter-spacing: -.2px; }
.s1 .title .t1 { color: #6B7B72; }
.s1 .title .t2 { border-color: var(--th-main); color: var(--th-main-2); background: var(--th-soft); border-radius: 999px; }
.s1 .answer-lede { color: #4C5A52; line-height: 2.05; }
.s1 .answer-lede strong { color: var(--th-main-2); }
.s3 .content .main-features .feature .hot { background: var(--th-main); border-radius: 999px; }
.s3 .content .main-features .feature .title-1 { color: var(--th-main-2); }
.s5 table thead th { color: var(--th-main-2); }
.s5 table tbody tr:nth-of-type(3) td:not(:first-child) { color: var(--th-main-2); }
.s5 .join { background: var(--th-main); border-radius: 999px; box-shadow: 0 8px 20px rgba(16, 185, 129, .25); }
.s5 .join:hover { box-shadow: 0 10px 26px rgba(16, 185, 129, .35); }
.s1 .download >div:hover { box-shadow: 0 10px 22px rgba(16, 185, 129, .22); }
.s1 .download >div { border-radius: 999px; }
.s1 .apk { background: var(--th-main); border: none; }
.s1 .google-play, .app-store { border-color: #CBD5D1; color: #3D4A43; }
.s2 .content .card:hover { box-shadow: 0 14px 30px rgba(16, 185, 129, .14); }
.s2 .content .card { border-radius: var(--th-radius); border: none; background: #fff; box-shadow: 0 4px 16px rgba(42, 51, 46, .05); }
.s6 .faq-item { border-radius: 20px; border: none; background: #fff; box-shadow: 0 3px 12px rgba(42, 51, 46, .05); }
.s6 .faq-item h3 { font-weight: 700; }
.privacy .answer-lede,
.service-rules .answer-lede { border-left-color: var(--th-main); border-radius: 14px; background: var(--th-soft); }

/* -------- desktop layout -------- */
@media (min-width: 1025px) {
    /* reading order: hero -> promo -> capability -> faq -> review -> plan */
    .home { display: flex; flex-direction: column; }
    .s1 { order: 1; }
    .s2 { order: 2; }
    .s3 { order: 3; }
    .s6 { order: 4; }
    .s4 { order: 5; }
    .s5 { order: 6; }

    .home .s1 .content,
    .home .s2 .content,
    .home .s3 .content,
    .home .s4 .content,
    .home .s5 .content { max-width: var(--th-maxw); margin-left: auto; margin-right: auto; }

    /* hero: calm centred intro like a course landing page */
    .home .s1 { padding-top: 70px; }
    .home .s1 .content ._ { flex-direction: column; gap: 34px; }
    .home .s1 .content ._0 { text-align: center; }
    .home .s1 .content ._1 { text-align: center; }
    .home .s1 .content ._1 img { max-width: 34%; }
    .home .s1 .title .t0 { font-size: 40px; line-height: 1.3; }
    .home .s1 .answer-lede { max-width: 680px; }

    /* three soft metric bubbles, centred */
    .home .s1 .features { justify-content: center; gap: 20px; }
    .home .s1 .features .feature {
        flex-direction: column;
        gap: 2px;
        min-width: 150px;
        padding: 16px 22px;
        border-radius: 20px;
        background: var(--th-soft);
    }
    .home .s1 .features .sep { display: none; }
    .home .s1 .features .feature img { height: 28px; }
    .home .s1 .features .feature div:nth-of-type(1) { font-size: 19px; }
    .home .s1 .features .feature div:nth-of-type(2) { font-size: 12px; color: #6B7B72; }

    .home .s1 .download-area { display: flex; flex-direction: column; align-items: center; gap: 18px; }
    .home .s1 .other-download { margin-top: 0; text-align: center; }

    /* promo: two floating activity cards side by side */
    .home .s2 .content { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; align-items: stretch; }
    .home .s2 .content .c0 { flex-direction: column; }
    .home .s2 .c0 >div:nth-of-type(1) { padding: 26px; }
    .home .s2 .c0 >div:nth-of-type(2) { min-height: 190px; border-radius: 0 0 var(--th-radius) var(--th-radius); }
    .home .s2 .content .others { display: grid; grid-template-columns: 1fr; gap: 24px; }
    .home .s2 .others .card { width: 100%; }

    /* capability: pill chips in a soft wrap grid */
    .home .s3 .content {
        padding: 30px 26px;
        border-radius: var(--th-radius);
        background: #fff;
        box-shadow: 0 4px 18px rgba(42, 51, 46, .05);
    }
    .home .s3 .content .all-features { gap: 14px; justify-content: center; }
    .home .s3 .content .all-features > .feature {
        flex: 0 0 auto;
        flex-direction: row;
        align-items: center;
        gap: 10px;
        padding: 10px 20px 10px 14px;
        border-radius: 999px;
        background: var(--th-soft);
    }
    .home .s3 .content .all-features > .feature:hover { background: #DDF7EC; }
    .home .s3 .content .all-features > .feature img { height: 26px; }
    .home .s3 .content .all-features > .feature div { font-size: 14px; }

    /* highlight cards: stacked white sheets, wide spacing */
    .home .s3 .content .main-features .feature {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 20px;
        margin-top: 64px;
        padding: 30px;
        border-radius: var(--th-radius);
        background: var(--th-soft);
    }
    .home .s3 .content .main-features .feature:nth-of-type(2n) { flex-direction: column; }
    .home .s3 .content .main-features .feature .illustration { width: auto; max-width: 240px; }
    .home .s3 .content .main-features .feature .title-0 { font-size: 22px; }
    .home .s3 .content .main-features .feature .desc { font-size: 14px; line-height: 2; max-width: 640px; }

    /* review: soft testimonial sheet */
    .home .s4 .content {
        padding: 44px 48px;
        border-radius: var(--th-radius);
        background: linear-gradient(180deg, #fff, var(--th-soft));
        box-shadow: 0 4px 18px rgba(42, 51, 46, .05);
    }

    /* comparison table: rounded clean sheet */
    .home .s5 .content .table-view { padding: 22px; border-radius: var(--th-radius); background: #fff; box-shadow: 0 4px 18px rgba(42, 51, 46, .05); }
    .home .s5 table thead th { font-size: 15px; border-bottom: 2px solid var(--th-main); }
    .home .s5 table tbody td { padding: 15px 10px; font-size: 13px; border-top: 1px solid #EDF5F0; }
    .home .s5 table tbody tr:hover { background: var(--th-soft); }
    .home .s5 table tbody tr:nth-of-type(even) { background: #FAFEFB; }

    /* faq: single calm column */
    .home .s6 .content { max-width: 880px; }
    .home .s6 .faq-list { gap: 14px; }
}

/* -------- article + doc pages: student-friendly reading width -------- */
@media (min-width: 1025px) {
    .news-detail, .doc { max-width: 720px; margin-left: auto; margin-right: auto; }
    .news-detail h1 { font-weight: 700; font-size: 30px; line-height: 1.4; }
    .news-detail .detail-intro { padding: 16px 20px; border-radius: 16px; background: var(--th-soft); }
    .news-detail p { font-size: 16px; line-height: 2; }
    .news-detail .detail-note { padding: 16px 20px; border-radius: 16px; background: #fff; box-shadow: 0 3px 12px rgba(42, 51, 46, .05); }
    .doc h1 { font-size: 28px; }
}

/* ============================================================
   scenario block s7 - combined order + layout
   Rollback: delete from here to EOF
   ============================================================ */
@media (min-width: 1025px) {
    /* order: hero -> promo -> capability -> CAMPUS -> faq -> review -> plan */
    .s1 { order: 1; }
    .s2 { order: 2; }
    .s3 { order: 3; }
    .s7 { order: 4; }
    .s6 { order: 5; }
    .s4 { order: 6; }
    .s5 { order: 7; }

    .home .s7 .content { display: grid; grid-template-columns: 1fr; gap: 18px; }
    .home .s7 .scene {
        display: grid; grid-template-columns: 64px 1fr; gap: 22px; align-items: start;
        padding: 26px 30px; border-radius: 24px; background: #fff;
        box-shadow: 0 4px 16px rgba(42, 51, 46, .05);
    }
    .home .s7 .scene-ico {
        width: 64px; height: 64px; border-radius: 50%;
        background: var(--th-soft); color: var(--th-main-2);
        display: flex; align-items: center; justify-content: center;
        font-family: var(--th-head); font-size: 24px; font-weight: 700;
    }
    .home .s7 .scene h3 { font-size: 19px; font-weight: 700; margin-bottom: 8px; }
    .home .s7 .scene p { font-size: 14px; line-height: 2; color: #5B6B62; }
}
