:root {
        --bg: #ffffff;
        --mint: #eef8f2;
        --mint-deep: #dcefe5;
        --ink: #0e241b;
        --ink-body: #3c5548;
        --ink-mute: #7a9286;
        --emerald: #067a5b;
        --emerald-deep: #045943;
        --emerald-bg: rgba(6, 122, 91, 0.08);
        --amber: #e89923;
        --amber-bg: rgba(232, 153, 35, 0.1);
        --line: #dcebe3;
        --line-strong: #c4dccf;
        --band: #1da851;
        --band-deep: #168a41;
        --band-glow: rgba(29, 168, 81, 0.3);
        --sans: "Avenir Next", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
        --r: 12px;
        --r-lg: 18px;
      }
      *,
      *::before,
      *::after {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
      }
      html {
        scroll-behavior: smooth;
        -webkit-text-size-adjust: 100%;
        -webkit-font-smoothing: antialiased;
      }
      body {
        font-family: var(--sans);
        background: var(--mint-deep);
        color: var(--ink-body);
        line-height: 1.6;
        min-height: 100vh;
        -webkit-tap-highlight-color: transparent;
      }
      a {
        text-decoration: none;
        color: inherit;
      }
      img {
        max-width: 100%;
        display: block;
      }
      ::selection {
        background: var(--emerald);
        color: #fff;
      }
      .page {
        max-width: 500px;
        margin: 0 auto;
        background: var(--bg);
        position: relative;
        overflow-x: hidden;
      }

      /* ---------- top strip ---------- */
      .strip {
        background: var(--emerald-deep);
        color: #e2f6ec;
        text-align: center;
        padding: 7px 14px;
        font-size: 0.62rem;
        font-weight: 700;
        letter-spacing: 0.06em;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
      }
      .strip i {
        color: #ffd98a;
        font-size: 0.62rem;
      }

      /* ---------- hero ---------- */
      .hero {
        padding: 22px 16px 26px;
        background:
          radial-gradient(140% 90% at 85% -10%, rgba(6, 122, 91, 0.1) 0%, transparent 55%),
          linear-gradient(180deg, #ffffff 0%, #f4faf7 100%);
      }
      .hero-chip {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        padding: 6px 13px;
        border-radius: 999px;
        background: var(--emerald-bg);
        border: 1px solid rgba(6, 122, 91, 0.25);
        color: var(--emerald);
        font-size: 0.63rem;
        font-weight: 800;
        letter-spacing: 0.05em;
        margin-bottom: 14px;
      }
      .hero-chip .pulse {
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: var(--band);
        animation: blink 1.2s infinite;
      }
      @keyframes blink {
        0%,
        100% {
          opacity: 1;
        }
        50% {
          opacity: 0.25;
        }
      }
      .hero h1 {
        font-size: 1.56rem;
        font-weight: 900;
        line-height: 1.24;
        letter-spacing: -0.02em;
        color: var(--ink);
        margin-bottom: 10px;
      }
      .hero h1 span {
        color: var(--emerald);
        position: relative;
        white-space: nowrap;
      }
      .hero h1 span::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        bottom: 1px;
        height: 7px;
        background: rgba(29, 168, 81, 0.18);
        border-radius: 4px;
        z-index: -1;
      }
      .hero-sub {
        font-size: 0.79rem;
        line-height: 1.65;
        margin-bottom: 18px;
        max-width: 420px;
      }
      .hero-sub strong {
        color: var(--emerald-deep);
      }

      /* learning path */
      .path {
        background: #fff;
        border: 1px solid var(--line);
        border-radius: var(--r-lg);
        padding: 15px 12px 13px;
        margin-bottom: 18px;
        box-shadow: 0 10px 26px rgba(14, 36, 27, 0.05);
      }
      .path-title {
        font-size: 0.6rem;
        font-weight: 800;
        letter-spacing: 0.14em;
        color: var(--ink-mute);
        text-transform: uppercase;
        text-align: center;
        margin-bottom: 12px;
      }
      .path-track {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        position: relative;
        padding: 0 4px;
      }
      .path-track::before {
        content: "";
        position: absolute;
        top: 15px;
        left: 24px;
        right: 24px;
        height: 3px;
        border-radius: 3px;
        background: var(--mint-deep);
      }
      .path-track::after {
        content: "";
        position: absolute;
        top: 15px;
        left: 24px;
        width: 58%;
        height: 3px;
        border-radius: 3px;
        background: linear-gradient(90deg, var(--band), var(--emerald));
      }
      .path-node {
        position: relative;
        z-index: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 6px;
        width: 25%;
      }
      .path-node .dot {
        width: 33px;
        height: 33px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 0.78rem;
        background: var(--mint-deep);
        color: var(--ink-mute);
        border: 3px solid #fff;
      }
      .path-node.done .dot {
        background: var(--band);
        color: #fff;
      }
      .path-node.now .dot {
        background: #fff;
        color: var(--emerald);
        border: 3px solid var(--band);
        animation: ring 2s infinite;
      }
      @keyframes ring {
        0%,
        100% {
          box-shadow: 0 0 0 0 rgba(29, 168, 81, 0.35);
        }
        50% {
          box-shadow: 0 0 0 7px rgba(29, 168, 81, 0);
        }
      }
      .path-node span {
        font-size: 0.55rem;
        font-weight: 800;
        letter-spacing: 0.03em;
        color: var(--ink-mute);
        text-align: center;
        line-height: 1.3;
      }
      .path-node.now span {
        color: var(--emerald-deep);
      }
      .path-foot {
        margin-top: 12px;
        text-align: center;
        font-size: 0.6rem;
        color: var(--ink-mute);
      }
      .path-foot b {
        color: var(--emerald-deep);
      }

      .stats {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
        margin-bottom: 18px;
      }
      .stat {
        text-align: center;
        padding: 13px 4px;
        border-radius: var(--r);
        background: var(--mint);
        border: 1px solid var(--line);
      }
      .stat b {
        display: block;
        font-size: 1.02rem;
        font-weight: 900;
        color: var(--emerald-deep);
        line-height: 1.15;
        margin-bottom: 3px;
      }
      .stat span {
        font-size: 0.52rem;
        font-weight: 700;
        letter-spacing: 0.07em;
        color: var(--ink-mute);
        text-transform: uppercase;
      }

      .cta-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        width: 100%;
        padding: 15px;
        border-radius: var(--r);
        background: linear-gradient(135deg, var(--band), var(--band-deep));
        color: #fff;
        font-size: 0.92rem;
        font-weight: 800;
        box-shadow: 0 8px 26px var(--band-glow);
        border: none;
        cursor: pointer;
        transition: transform 0.15s;
      }
      .cta-btn:active {
        transform: scale(0.96);
      }
      .foot-note {
        text-align: center;
        font-size: 0.6rem;
        color: var(--ink-mute);
        margin-top: 9px;
        line-height: 1.55;
      }

      /* ---------- sections ---------- */
      .sec {
        padding: 30px 16px;
        border-top: 1px solid var(--line);
      }
      .sec-mint {
        background: var(--mint);
      }
      .sec-tag {
        width: fit-content;
        margin: 0 auto 10px;
        display: flex;
        align-items: center;
        gap: 6px;
        padding: 4px 12px;
        border-radius: 999px;
        background: var(--emerald-bg);
        color: var(--emerald);
        font-size: 0.58rem;
        font-weight: 800;
        letter-spacing: 0.12em;
        text-transform: uppercase;
      }
      .sec h2 {
        font-size: 1.24rem;
        font-weight: 900;
        text-align: center;
        color: var(--ink);
        letter-spacing: -0.02em;
        margin-bottom: 6px;
      }
      .sec-sub {
        font-size: 0.72rem;
        color: var(--ink-mute);
        text-align: center;
        max-width: 380px;
        margin: 0 auto 18px;
        line-height: 1.65;
      }

      /* study image */
      .study {
        position: relative;
        border-radius: var(--r-lg);
        overflow: hidden;
        border: 1px solid var(--line-strong);
        aspect-ratio: 3/4;
        max-height: 420px;
        margin-bottom: 4px;
      }
      .study img {
        width: 100%;
        height: 100%;
        object-fit: cover;
      }
      .study .veil {
        position: absolute;
        inset: 0;
        background: linear-gradient(180deg, rgba(14, 36, 27, 0) 40%, rgba(14, 36, 27, 0.82) 100%);
      }
      .study .cap {
        position: absolute;
        bottom: 14px;
        left: 16px;
        right: 16px;
        color: #fff;
      }
      .study .cap .pill {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        background: rgba(255, 255, 255, 0.16);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        border: 1px solid rgba(255, 255, 255, 0.3);
        border-radius: 999px;
        padding: 4px 11px;
        font-size: 0.56rem;
        font-weight: 800;
        letter-spacing: 0.08em;
        margin-bottom: 8px;
      }
      .study .cap b {
        display: block;
        font-size: 0.95rem;
        font-weight: 800;
        margin-bottom: 3px;
      }
      .study .cap span {
        font-size: 0.64rem;
        opacity: 0.9;
        line-height: 1.5;
      }

      /* curriculum */
      .mods {
        display: flex;
        flex-direction: column;
        gap: 10px;
      }
      .mod {
        background: #fff;
        border: 1px solid var(--line);
        border-radius: var(--r-lg);
        padding: 15px 16px;
      }
      .mod-head {
        display: flex;
        align-items: center;
        gap: 12px;
        margin-bottom: 10px;
      }
      .mod-ico {
        width: 42px;
        height: 42px;
        min-width: 42px;
        border-radius: 13px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1rem;
        background: var(--emerald-bg);
        color: var(--emerald);
      }
      .mod:nth-child(2) .mod-ico {
        background: var(--amber-bg);
        color: var(--amber);
      }
      .mod:nth-child(3) .mod-ico {
        background: rgba(37, 99, 235, 0.08);
        color: #2563eb;
      }
      .mod:nth-child(4) .mod-ico {
        background: rgba(147, 51, 234, 0.08);
        color: #9333ea;
      }
      .mod-head h3 {
        font-size: 0.84rem;
        font-weight: 800;
        color: var(--ink);
        line-height: 1.3;
      }
      .mod-head small {
        font-size: 0.56rem;
        font-weight: 700;
        letter-spacing: 0.08em;
        color: var(--ink-mute);
        text-transform: uppercase;
      }
      .mod p {
        font-size: 0.71rem;
        line-height: 1.6;
        margin-bottom: 10px;
      }
      .mod-lessons {
        display: flex;
        flex-wrap: wrap;
        gap: 5px;
      }
      .mod-lessons span {
        font-size: 0.56rem;
        font-weight: 700;
        color: var(--ink-body);
        background: var(--mint);
        border: 1px solid var(--line);
        padding: 3px 9px;
        border-radius: 999px;
      }

      /* flashcards */
      .cards {
        display: flex;
        gap: 9px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding: 4px 2px 10px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
      }
      .cards::-webkit-scrollbar {
        display: none;
      }
      .flash {
        scroll-snap-align: start;
        min-width: 78%;
        background: #fff;
        border: 1px solid var(--line);
        border-radius: var(--r-lg);
        padding: 16px;
        position: relative;
      }
      .flash .fh {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 8px;
      }
      .flash .fh .tag {
        font-size: 0.52rem;
        font-weight: 800;
        letter-spacing: 0.1em;
        color: var(--amber);
        background: var(--amber-bg);
        padding: 3px 9px;
        border-radius: 999px;
      }
      .flash h3 {
        font-size: 0.9rem;
        font-weight: 900;
        color: var(--ink);
        margin-bottom: 4px;
      }
      .flash p {
        font-size: 0.68rem;
        line-height: 1.6;
        margin-bottom: 10px;
      }
      .flash .chart {
        height: 54px;
        border-radius: 8px;
        background: var(--mint);
        border: 1px dashed var(--line-strong);
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 3px;
        color: var(--emerald);
      }
      .flash .chart i {
        font-size: 0.6rem;
      }
      .flash .hint {
        margin-top: 8px;
        font-size: 0.58rem;
        color: var(--ink-mute);
        text-align: center;
      }

      /* timeline */
      .tl {
        position: relative;
        padding-left: 30px;
      }
      .tl::before {
        content: "";
        position: absolute;
        left: 10px;
        top: 8px;
        bottom: 8px;
        width: 2px;
        background: var(--line-strong);
      }
      .tl-item {
        position: relative;
        padding-bottom: 18px;
      }
      .tl-item:last-child {
        padding-bottom: 0;
      }
      .tl-item::before {
        content: "";
        position: absolute;
        left: -26px;
        top: 4px;
        width: 12px;
        height: 12px;
        border-radius: 50%;
        background: #fff;
        border: 3px solid var(--band);
      }
      .tl-item h4 {
        font-size: 0.78rem;
        font-weight: 800;
        color: var(--ink);
        margin-bottom: 3px;
        display: flex;
        align-items: center;
        gap: 8px;
      }
      .tl-item h4 span {
        font-size: 0.52rem;
        font-weight: 800;
        letter-spacing: 0.06em;
        color: var(--emerald);
        background: var(--emerald-bg);
        padding: 2px 8px;
        border-radius: 999px;
        text-transform: uppercase;
      }
      .tl-item p {
        font-size: 0.7rem;
        line-height: 1.6;
      }

      /* for / not for */
      .fit {
        display: flex;
        flex-direction: column;
        gap: 10px;
      }
      .fit-box {
        border-radius: var(--r-lg);
        padding: 16px;
      }
      .fit-yes {
        background: var(--mint);
        border: 1px solid var(--line-strong);
      }
      .fit-no {
        background: #fbf4ec;
        border: 1px solid #ecd9c2;
      }
      .fit-box h3 {
        font-size: 0.78rem;
        font-weight: 900;
        color: var(--ink);
        margin-bottom: 10px;
        display: flex;
        align-items: center;
        gap: 7px;
      }
      .fit-yes h3 {
        color: var(--emerald-deep);
      }
      .fit-no h3 {
        color: #a4611b;
      }
      .fit-box ul {
        list-style: none;
        display: flex;
        flex-direction: column;
        gap: 7px;
      }
      .fit-box li {
        display: flex;
        gap: 8px;
        font-size: 0.71rem;
        line-height: 1.55;
      }
      .fit-box li i {
        font-size: 0.66rem;
        margin-top: 4px;
      }
      .fit-yes li i {
        color: var(--band);
      }
      .fit-no li i {
        color: #c07f33;
      }

      /* steps */
      .steps {
        display: flex;
        flex-direction: column;
        gap: 9px;
      }
      .step {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 15px;
        background: #fff;
        border: 1px solid var(--line);
        border-radius: var(--r);
      }
      .step .n {
        width: 34px;
        height: 34px;
        min-width: 34px;
        border-radius: 11px;
        background: linear-gradient(135deg, var(--band), var(--emerald-deep));
        color: #fff;
        font-weight: 900;
        font-size: 0.85rem;
        display: flex;
        align-items: center;
        justify-content: center;
      }
      .step p {
        font-size: 0.75rem;
        font-weight: 600;
        color: var(--ink);
        line-height: 1.5;
      }
      .edu-note {
        margin-top: 16px;
        padding: 14px 15px;
        border-radius: var(--r);
        background: var(--amber-bg);
        border: 1px solid rgba(232, 153, 35, 0.25);
        font-size: 0.68rem;
        line-height: 1.65;
      }
      .edu-note b {
        color: #a4611b;
      }

      /* faq */
      .faq {
        display: flex;
        flex-direction: column;
        gap: 7px;
      }
      .faq-item {
        background: #fff;
        border: 1px solid var(--line);
        border-radius: var(--r);
        overflow: hidden;
      }
      .faq-q {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 10px;
        padding: 15px;
        background: none;
        border: none;
        font-family: inherit;
        font-size: 0.76rem;
        font-weight: 700;
        color: var(--ink);
        text-align: left;
        cursor: pointer;
      }
      .faq-q i {
        font-size: 0.6rem;
        color: var(--emerald);
        transition: transform 0.3s;
      }
      .faq-item.open .faq-q i {
        transform: rotate(180deg);
      }
      .faq-a {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.35s;
      }
      .faq-item.open .faq-a {
        max-height: 420px;
      }
      .faq-a p {
        padding: 0 15px 15px;
        font-size: 0.69rem;
        line-height: 1.7;
      }

      /* final cta */
      .final {
        padding: 32px 16px;
        text-align: center;
        background: linear-gradient(180deg, #ffffff 0%, var(--mint) 100%);
        border-top: 1px solid var(--line);
      }
      .final h2 {
        font-size: 1.3rem;
        font-weight: 900;
        color: var(--ink);
        margin-bottom: 8px;
        letter-spacing: -0.02em;
      }
      .final p {
        font-size: 0.74rem;
        margin-bottom: 16px;
      }
      .final .cta-btn {
        max-width: 330px;
        margin: 0 auto;
      }

      /* footer */
      .footer {
        border-top: 1px solid var(--line-strong);
        padding: 26px 16px 116px;
        text-align: center;
        font-size: 0.64rem;
        color: var(--ink-mute);
        line-height: 1.75;
        background: var(--mint);
      }
      .footer .disc {
        max-width: 380px;
        margin: 0 auto 12px;
        font-size: 0.58rem;
        line-height: 1.7;
      }
      .footer-links {
        display: flex;
        justify-content: center;
        gap: 10px;
        margin: 10px 0 12px;
        font-size: 0.68rem;
      }
      .footer-links a {
        color: var(--emerald-deep);
        text-decoration: underline;
        text-underline-offset: 2px;
      }

      /* float bar */
      .float-bar {
        position: fixed;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 100%;
        max-width: 500px;
        z-index: 200;
        padding: 9px 16px max(9px, env(safe-area-inset-bottom));
        background: rgba(255, 255, 255, 0.94);
        backdrop-filter: blur(18px);
        -webkit-backdrop-filter: blur(18px);
        border-top: 1px solid var(--line-strong);
      }
      .float-bar .cta-btn {
        padding: 13px;
        animation: breathe 2.2s ease-in-out infinite;
      }
      @keyframes breathe {
        0%,
        100% {
          box-shadow: 0 4px 16px var(--band-glow);
        }
        50% {
          box-shadow: 0 6px 30px rgba(29, 168, 81, 0.55);
        }
      }
      .float-bar .cta-btn:active {
        animation: none;
      }

      /* modal */
      .modal-mask {
        position: fixed;
        inset: 0;
        background: rgba(14, 36, 27, 0.5);
        backdrop-filter: blur(6px);
        -webkit-backdrop-filter: blur(6px);
        z-index: 1000;
        display: flex;
        align-items: flex-end;
        justify-content: center;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.25s, visibility 0.25s;
      }
      .modal-mask.show {
        opacity: 1;
        visibility: visible;
      }
      .modal {
        width: 100%;
        max-width: 500px;
        max-height: 85vh;
        background: #fff;
        border: 1px solid var(--line-strong);
        border-radius: 18px 18px 0 0;
        display: flex;
        flex-direction: column;
        transform: translateY(40px);
        transition: transform 0.3s ease-out;
        overflow: hidden;
      }
      .modal-mask.show .modal {
        transform: translateY(0);
      }
      .modal-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 15px 18px;
        border-bottom: 1px solid var(--line);
      }
      .modal-head h3 {
        font-size: 0.96rem;
        font-weight: 800;
        color: var(--ink);
      }
      .modal-close {
        width: 32px;
        height: 32px;
        border-radius: 50%;
        border: 1px solid var(--line);
        background: var(--mint);
        color: var(--ink-body);
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 0.85rem;
      }
      .modal-body {
        flex: 1;
        overflow-y: auto;
        padding: 16px 18px;
        -webkit-overflow-scrolling: touch;
      }
      .modal-body p,
      .modal-body li {
        font-size: 0.71rem;
        line-height: 1.7;
        margin-bottom: 8px;
      }
      .modal-body h4 {
        font-size: 0.79rem;
        font-weight: 800;
        color: var(--ink);
        margin: 16px 0 6px;
      }
      .modal-body ul {
        padding-left: 18px;
        margin-bottom: 8px;
      }
      .modal-body .upd {
        font-size: 0.61rem;
        color: var(--ink-mute);
        font-style: italic;
        margin-bottom: 12px;
      }
      .modal-foot {
        padding: 12px 18px calc(12px + env(safe-area-inset-bottom));
        border-top: 1px solid var(--line);
      }
      .modal-ok {
        width: 100%;
        padding: 12px;
        border-radius: var(--r);
        background: linear-gradient(135deg, var(--band), var(--band-deep));
        color: #fff;
        font-size: 0.85rem;
        font-weight: 800;
        border: none;
        cursor: pointer;
      }
      @media (min-width: 600px) {
        .modal-mask {
          align-items: center;
        }
        .modal {
          border-radius: 18px;
        }
      }

      .reveal {
        opacity: 0;
        transform: translateY(16px);
        transition: opacity 0.5s, transform 0.5s;
      }
      .reveal.on {
        opacity: 1;
        transform: translateY(0);
      }
      @media (prefers-reduced-motion: reduce) {
        *,
        *::before,
        *::after {
          animation-duration: 0.01ms !important;
          transition-duration: 0.01ms !important;
        }
      }
