/* English is revealed only after its copy and navigation are ready. */
html[data-learn-language-pending] :is(.public-site-header, main, .line-cta-band, .site-footer) { visibility: hidden; }

:root {
  --ink: #09120f;
  --panel: #0d1914;
  --ivory: #f3f1e8;
  --mint: #a1c6b5;
  --mint-bright: #cce7d8;
  --muted: #a9b8ae;
  --subtle: #758a7d;
  --line: rgb(165 199 181 / 16%);
  --max: 1160px;
  --text: 760px;
  --header-height: 90px;
  --body: "Noto Sans TC", "Microsoft JhengHei", Arial, sans-serif;
  --display: "Noto Serif TC", "PMingLiU", serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 22px); }
body { margin: 0; background: var(--ink); color: var(--ivory); font: 400 16px/1.9 var(--body); letter-spacing: .018em; -webkit-font-smoothing: antialiased; }
body.nav-open { overflow: hidden; }
::selection { background: var(--mint); color: var(--ink); }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
a, button { -webkit-tap-highlight-color: transparent; outline-offset: 6px; }
:focus-visible { outline: 2px solid var(--mint-bright); }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }
.page-inner { width: min(var(--max), calc(100% - 72px)); margin-inline: auto; }

.public-site-header { position: sticky; top: 0; z-index: 50; height: var(--header-height); border-bottom: 1px solid var(--line); background: rgb(9 18 15 / 91%); backdrop-filter: blur(16px); }
.public-header-inner { width: min(1248px, calc(100% - 112px)); height: 100%; margin-inline: auto; display: flex; align-items: center; gap: 28px; }
.public-brand { display: inline-flex; align-items: center; gap: 20px; flex: 0 0 auto; }
.public-brand img { width: 72px; height: 48px; object-fit: contain; mix-blend-mode: screen; filter: contrast(1.02); }
.public-brand span { font: 500 22px/1 "Bahnschrift", Arial, sans-serif; letter-spacing: .30em; text-transform: uppercase; padding-top: 3px; }
.public-nav { display: flex; align-items: center; justify-content: flex-end; gap: 28px; margin-left: auto; }
.public-nav-link, .language-toggle { color: #c5cec8; font-size: 14px; line-height: 1.8; letter-spacing: .08em; transition: color .2s, border-color .2s, background .2s; }
.public-nav-link:hover, .public-nav-link.is-active { color: #fff; }
.public-nav-link.is-active { position: relative; }
.public-nav-link.is-active::after { content: ""; position: absolute; inset: auto 0 -10px; height: 1px; background: var(--mint); }
.public-login-link { display: inline-flex; align-items: center; justify-content: center; gap: 20px; min-height: 40px; min-width: 105px; padding: 4px 20px; color: #f4f2ec; border: 1px solid rgb(217 229 223 / 42%); border-radius: 3px; background: rgb(6 15 10 / 14%); }
.public-login-link:hover { background: rgb(168 208 186 / 10%); border-color: var(--mint); }
.public-login-link .external-arrow { flex: 0 0 auto; width: 16px; height: 16px; overflow: visible; }
.public-line-link, .support-button { border: 0; background: none; padding: 0; cursor: pointer; }
.language-toggle { min-width: 44px; min-height: 44px; padding: 6px 9px; color: #e6f0e9; border: 1px solid rgb(188 215 201 / 28%); border-radius: 3px; background: rgb(6 18 11 / 30%); font: 500 13px/1.2 "Bahnschrift", Arial, sans-serif; letter-spacing: .08em; }
.public-menu-toggle { display: none; }

.learn-hero-band, .article-hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); background: radial-gradient(circle at 78% 28%, rgb(119 165 139 / 12%), transparent 31%), linear-gradient(145deg, #0b1711, #09120f 62%); }
.learn-hero-band::after, .article-hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgb(156 196 173 / 3%) 1px, transparent 1px), linear-gradient(90deg, rgb(156 196 173 / 3%) 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(to bottom, black, transparent 82%); }
.learn-hero { position: relative; z-index: 1; min-height: 570px; padding-block: 90px 76px; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(360px, .75fr); grid-template-areas: "copy media" "topics media"; align-content: center; align-items: center; column-gap: 80px; mix-blend-mode: screen; }
.learn-hero-copy { grid-area: copy; align-self: end; }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; color: var(--mint); font: 500 12px/1.5 var(--body); letter-spacing: .22em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 26px; height: 1px; background: currentColor; }
.learn-hero-copy h1, .article-hero h1 { font-family: var(--display); font-weight: 500; letter-spacing: .025em; }
.learn-hero-copy h1 { max-width: 720px; margin: 27px 0 24px; font-size: clamp(43px, 5vw, 69px); line-height: 1.35; }
.learn-hero-copy > p { max-width: 620px; margin-bottom: 0; color: #c3cec7; font-size: 17px; line-height: 2; }
.learn-topic-chips { grid-area: topics; align-self: start; display: flex; flex-wrap: wrap; gap: 9px; margin-top: 32px; }
.learn-topic-chips span { padding: 7px 12px; color: #aabbb0; border: 1px solid var(--line); border-radius: 999px; font-size: 11px; letter-spacing: .08em; }
.learn-hero-media { grid-area: media; position: relative; min-height: 350px; display: grid; place-items: center; mix-blend-mode: screen; }
.brand-visual { position: relative; width: min(390px, 100%); aspect-ratio: 1; display: grid; place-items: center; border: 1px solid rgb(166 201 181 / 20%); border-radius: 50%; background: radial-gradient(circle, rgb(137 184 157 / 14%) 0 22%, transparent 23%), radial-gradient(circle, transparent 0 43%, rgb(143 185 160 / 12%) 43.3% 43.7%, transparent 44%), radial-gradient(circle, transparent 0 66%, rgb(143 185 160 / 9%) 66.2% 66.6%, transparent 67%); }
.brand-visual::before, .brand-visual::after { content: ""; position: absolute; background: linear-gradient(90deg, transparent, rgb(170 208 186 / 28%), transparent); }
.brand-visual::before { width: 124%; height: 1px; }
.brand-visual::after { width: 1px; height: 124%; }
.brand-visual img { width: 58%; height: auto; mix-blend-mode: screen; }
.visual-caption { position: absolute; bottom: 8%; color: #738c7d; font: 500 9px/1 "Bahnschrift", Arial, sans-serif; letter-spacing: .26em; }

.route-band, .topic-band { padding-block: 96px; }
.topic-band { border-top: 1px solid var(--line); background: linear-gradient(180deg, #0b1510, #09120f); }
.section-heading { max-width: 690px; margin-bottom: 44px; }
.section-heading h2 { margin: 18px 0 10px; font: 500 clamp(31px, 3.5vw, 47px)/1.48 var(--display); letter-spacing: .02em; }
.section-heading p { color: var(--muted); }
.route-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.route-card, .topic-card { border: 1px solid var(--line); border-radius: 8px; background: linear-gradient(140deg, rgb(134 174 150 / 7%), rgb(134 174 150 / 2%)); transition: transform .25s, border-color .25s, background .25s; }
.route-card:hover, .topic-card:hover { transform: translateY(-4px); border-color: rgb(176 214 192 / 34%); background: rgb(135 180 152 / 7%); }
.route-card { min-height: 255px; padding: 27px; display: flex; flex-direction: column; }
.route-number, .topic-number { color: #6f8d7b; font: 500 11px/1 "Bahnschrift", Arial, sans-serif; letter-spacing: .16em; }
.route-card h3 { margin: 35px 0 10px; font-size: 22px; font-weight: 500; }
.route-card p, .topic-card p { color: #aebdb3; line-height: 1.85; }
.route-card strong, .topic-card strong { margin-top: auto; padding-top: 22px; color: var(--mint); font-size: 13px; font-weight: 500; letter-spacing: .06em; }
.topic-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.topic-card { min-height: 270px; padding: 29px 31px; display: flex; flex-direction: column; }
.topic-card-featured { grid-column: 1 / -1; min-height: 230px; background: linear-gradient(120deg, rgb(159 201 176 / 10%), rgb(107 145 123 / 3%)); }
.topic-card h2 { margin: 30px 0 12px; font: 500 24px/1.5 var(--body); letter-spacing: .03em; }
.topic-card-featured h2 { font-family: var(--display); font-size: 31px; }
.topic-priority-label { display: inline-flex; align-items: center; gap: 8px; }
.topic-priority-book { width: 12px; height: 14px; border: 1px solid currentColor; border-radius: 1px; }

.campaign-cta-band, .registration-cta-band { display: none; }
.article-hero .page-inner { position: relative; z-index: 1; padding-block: 83px 72px; }
.article-hero h1 { max-width: 900px; margin: 22px 0 18px; font-size: clamp(38px, 4.8vw, 62px); line-height: 1.38; }
.article-hero p { max-width: 780px; margin-bottom: 23px; color: #bac8bf; font-size: 17px; line-height: 1.95; }
.article-meta { display: flex; flex-wrap: wrap; gap: 10px 24px; color: var(--subtle); font-size: 12px; letter-spacing: .06em; }
.article-meta span + span { position: relative; }
.article-meta span + span::before { content: ""; position: absolute; left: -13px; top: 50%; width: 3px; height: 3px; border-radius: 50%; background: #577062; }
.article-layout { width: min(var(--text), calc(100% - 72px)); padding-block: 72px 110px; }
.article-layout > h2 { margin: 66px 0 17px; color: #f4f1e7; font: 500 31px/1.48 var(--display); letter-spacing: .02em; }
.article-layout > h2:first-child, .article-layout > .plain-note:first-child + h2 { margin-top: 18px; }
.article-layout h3 { margin: 42px 0 14px; color: #d9e7de; font-size: 20px; font-weight: 500; letter-spacing: .03em; }
.article-layout p, .article-layout li { color: #bac7bf; }
.article-layout p { margin-bottom: 18px; }
.article-layout ul, .article-layout ol { margin: 16px 0 24px; padding-left: 1.35em; }
.article-layout li { margin: 9px 0; padding-left: .35em; }
.article-layout li::marker { color: #789987; }
.article-layout a:not(.button-link) { color: #bce0cb; text-decoration: underline; text-decoration-color: rgb(161 198 181 / 38%); text-underline-offset: 4px; }
.article-layout b, .article-layout strong { color: #e5ebe5; }
.plain-note, .safety-note, .formula-box, .registration-entry-box { margin: 30px 0; padding: 23px 25px; display: grid; gap: 7px; border: 1px solid rgb(163 199 177 / 19%); border-left: 2px solid #7fa38e; border-radius: 4px; background: rgb(138 174 151 / 6%); }
.safety-note { border-left-color: #c1a879; background: rgb(174 144 91 / 7%); }
.plain-note strong, .safety-note strong, .formula-box strong { color: #dfe9e2; font-size: 14px; letter-spacing: .04em; }
.plain-note span, .safety-note span, .formula-box span { color: #aebeb3; }
.formula-line { margin-top: 9px; padding: 15px 17px; overflow-x: auto; border: 1px solid rgb(163 199 177 / 16%); border-radius: 3px; background: #09130e; color: #d2e4d8; font-family: "Bahnschrift", Arial, sans-serif; font-variant-numeric: tabular-nums; white-space: nowrap; }
.comparison-table { width: 100%; margin: 26px 0 36px; border-collapse: collapse; border: 1px solid var(--line); font-size: 14px; }
.comparison-table th, .comparison-table td { padding: 16px 17px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.comparison-table th { color: #dce8df; background: rgb(154 193 170 / 8%); font-size: 12px; font-weight: 500; letter-spacing: .07em; }
.comparison-table td { color: #afbeb4; }
.registration-overview { list-style: none; padding-left: 0 !important; counter-reset: steps; }
.registration-overview li { display: grid; grid-template-columns: 1fr; gap: 2px; padding: 15px 0 15px 50px; position: relative; border-bottom: 1px solid var(--line); counter-increment: steps; }
.registration-overview li::before { content: counter(steps, decimal-leading-zero); position: absolute; left: 0; top: 15px; color: #668273; font: 500 11px/1.8 "Bahnschrift", Arial, sans-serif; letter-spacing: .1em; }
.registration-overview span { color: #91a398; }
.source-list { padding: 0 !important; list-style: none; }
.source-list li { margin: 0; padding: 12px 0; border-bottom: 1px solid var(--line); }
.article-disclosure { margin-top: 45px !important; padding-top: 24px; border-top: 1px solid var(--line); color: #7f9487 !important; font-size: 13px; }
.article-next { display: flex; justify-content: space-between; gap: 14px; margin-top: 62px; padding-top: 30px; border-top: 1px solid var(--line); }
.button-link { min-height: 47px; padding: 10px 19px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid rgb(185 213 198 / 28%); border-radius: 3px; color: #d8e3dc; font-size: 13px; letter-spacing: .05em; transition: background .2s, border-color .2s, transform .2s; }
.button-link:hover { border-color: #88ac96; background: rgb(151 193 168 / 8%); transform: translateY(-2px); }
.button-link.primary { background: #edeede; color: #10231a; border-color: #edeede; }
.button-link.primary:hover { background: #fffdef; border-color: #fffdef; }

.line-cta-band { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: radial-gradient(circle at 80% 50%, rgb(135 179 153 / 13%), transparent 34%), #0c1812; }
.line-cta-inner { min-height: 285px; padding-block: 58px; display: flex; align-items: center; justify-content: space-between; gap: 58px; }
.line-cta-copy { max-width: 700px; }
.line-cta-copy h2 { margin: 16px 0 9px; font: 500 clamp(28px, 3vw, 40px)/1.5 var(--display); }
.line-cta-copy p { margin-bottom: 24px; color: #aebdb3; }
.line-cta-inner > img { display: none; }
.site-footer { background: #070e0b; }
.site-footer .page-inner { min-height: 112px; display: flex; align-items: center; justify-content: space-between; gap: 22px; color: #73877b; font-size: 11px; letter-spacing: .06em; }
.footer-links { display: flex; align-items: center; gap: 20px; }
.footer-links a:hover { color: #d9e5dc; }
[data-reveal] { opacity: 0; translate: 0 16px; transition: opacity .85s ease var(--reveal-delay, 0s), translate 1s cubic-bezier(.16,1,.3,1) var(--reveal-delay, 0s), transform .25s, border-color .25s, background .25s; }
[data-reveal].is-visible { opacity: 1; translate: 0 0; }
.learn-hero-copy > h1 { --reveal-delay: .1s; }
.learn-hero-copy > p { --reveal-delay: .2s; }
.learn-topic-chips { --reveal-delay: .3s; }
.learn-hero-media { --reveal-delay: .14s; }
:is(.route-card, .topic-card):nth-child(3n + 2) { --reveal-delay: .08s; }
:is(.route-card, .topic-card):nth-child(3n) { --reveal-delay: .16s; }
.brand-orbit { position: absolute; inset: -12px; pointer-events: none; border-radius: 50%; }
.brand-orbit::before { content: ''; position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 10deg, transparent 0deg 236deg, rgb(161 198 181 / 22%) 282deg, rgb(218 195 131 / 72%) 312deg, transparent 340deg); mask: radial-gradient(farthest-side, transparent calc(100% - 1px), #000 calc(100% - .5px)); }
.brand-orbit::after { content: ''; position: absolute; inset: 12px; border: 1px solid rgb(171 210 190 / 12%); border-radius: 50%; opacity: .2; }
.guide-motion-ready .brand-orbit::before { animation: guide-orbit-turn 32s linear infinite; animation-play-state: paused; }
.guide-motion-ready .brand-orbit::after { animation: guide-ring-breathe 7.2s ease-in-out infinite; animation-play-state: paused; }
.guide-motion-ready .brand-visual > img { animation: guide-mark-float 7.2s ease-in-out infinite; animation-play-state: paused; }
.guide-motion-ready .guide-scene-active .brand-orbit::before,
.guide-motion-ready .guide-scene-active .brand-orbit::after,
.guide-motion-ready .guide-scene-active > img { animation-play-state: running; }
@keyframes guide-orbit-turn { to { transform: rotate(360deg); } }
@keyframes guide-ring-breathe { 0%, 100% { transform: scale(1); opacity: .2; } 50% { transform: scale(1.035); opacity: .7; } }
@keyframes guide-mark-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }

@media (max-width: 900px) {
  .page-inner { width: calc(100% - 48px); }
  .learn-hero { grid-template-columns: 1fr; grid-template-areas: "copy" "media" "topics"; gap: 36px; padding-block: 72px 62px; }
  .learn-hero-media { min-height: 0; padding-block: 36px; }
  .learn-topic-chips { justify-content: center; width: min(100%, 620px); margin: 0 auto; gap: 12px; }
  .brand-visual { width: 300px; }
  .route-grid { grid-template-columns: 1fr; }
  .route-card { min-height: 0; }
}
@media (max-width: 1150px) {
  .public-header-inner { width: calc(100% - 72px); }
  .public-brand { gap: 14px; }
  .public-brand img { width: 58px; }
  .public-brand span { font-size: 19px; letter-spacing: .26em; }
  .public-nav { gap: 25px; }
}
@media (max-width: 980px) {
  .public-header-inner { gap: 10px; }
  .public-menu-toggle { order: 3; flex: 0 0 44px; width: 44px; height: 44px; display: grid; place-items: center; padding: 0; border: 1px solid rgb(177 207 190 / 27%); border-radius: 3px; background: transparent; }
  .public-menu-icon { width: 20px; display: grid; gap: 7px; }
  .public-menu-icon span { width: 100%; height: 1px; background: #d3e4d8; transition: transform .2s; }
  .public-menu-toggle[aria-expanded="true"] .public-menu-icon span:first-child { transform: translateY(4px) rotate(45deg); }
  .public-menu-toggle[aria-expanded="true"] .public-menu-icon span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .language-toggle { margin-left: auto; flex: 0 0 auto; }
  .public-nav { display: none; position: absolute; inset: var(--header-height) 0 auto; min-height: 0; max-height: calc(100dvh - var(--header-height)); overflow-y: auto; overscroll-behavior: contain; padding: 12px 24px 23px; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0; background: #0c1b13; border-bottom: 1px solid #344e3d; box-shadow: 0 20px 40px rgb(0 0 0 / 20%); }
  .public-nav.is-open { display: flex; }
  .public-nav .public-nav-link { width: 100%; min-height: 48px; padding: 12px 0; text-align: center; font-size: 14px; line-height: 1.8; border: 0; justify-content: center; }
  .public-nav-link.is-active::after { display: none; }
  .public-nav .public-login-link { width: fit-content; min-width: 105px; min-height: 40px; padding: 12px 0; margin: 10px auto 0; border: 1px solid rgb(217 229 223 / 42%); border-radius: 3px; background: rgb(6 15 10 / 14%); }
}
@media (max-width: 780px) {
  :root { --header-height: 76px; }
  .public-header-inner { width: calc(100% - 48px); }
  .public-brand img { width: 53px; height: 40px; }
  .public-brand span { font-size: 17px; letter-spacing: .24em; }
}
@media (max-width: 380px) {
  .public-header-inner { width: calc(100% - 36px); }
  .public-brand { gap: 11px; }
  .public-brand img { width: 47px; }
  .public-brand span { font-size: 15px; }
}
@media (max-width: 720px) {
  .page-inner, .article-layout { width: calc(100% - 36px); }
  .learn-hero { min-height: 0; gap: 30px; padding-block: 62px 54px; }
  .learn-hero-copy h1 { font-size: clamp(37px, 11vw, 52px); }
  .learn-hero-copy > p, .article-hero p { font-size: 16px; }
  .learn-hero-media { min-height: 0; padding-block: 30px; }
  .brand-visual { width: min(240px, 72vw); }
  .visual-caption { font-size: 8px; }
  .route-band, .topic-band { padding-block: 66px; }
  .topic-grid { grid-template-columns: 1fr; }
  .topic-card-featured { grid-column: auto; }
  .topic-card, .topic-card-featured { min-height: 0; }
  .topic-card-featured h2 { font-size: 26px; }
  .article-hero .page-inner { padding-block: 57px 50px; }
  .article-hero h1 { font-size: clamp(35px, 9.5vw, 49px); }
  .article-layout { padding-block: 52px 78px; }
  .article-layout > h2 { margin-top: 53px; font-size: 28px; }
  .comparison-table { display: block; overflow-x: auto; white-space: normal; }
  .comparison-table th, .comparison-table td { min-width: 150px; padding: 13px; }
  .article-next { flex-direction: column; }
  .article-next .button-link { width: 100%; }
  .line-cta-inner { min-height: 0; padding-block: 50px; }
  .site-footer .page-inner { padding-block: 26px; min-height: 0; align-items: flex-start; flex-direction: column; }
  .footer-links { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  [data-reveal] { opacity: 1; translate: 0 0; }
  .brand-orbit::before, .brand-orbit::after, .brand-visual > img { animation: none !important; }
}
