:root {
  --ink: #162d52;
  --muted: #617898;
  --line: rgba(63, 106, 157, .18);
  --blue: #4e9be8;
  --blue-2: #7777e9;
  --paper: #f7fbff;
  --white: #fff;
  --shadow: 0 24px 70px rgba(36, 78, 127, .14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "Noto Sans TC", "Microsoft JhengHei", system-ui, sans-serif; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.site-header {
  position: fixed; z-index: 20; inset: 0 0 auto; height: 82px; padding: 0 clamp(24px, 5vw, 88px);
  display: flex; align-items: center; justify-content: space-between; transition: .25s ease;
}
.site-header.scrolled { background: rgba(247, 251, 255, .9); border-bottom: 1px solid var(--line); backdrop-filter: blur(18px); }
.brand { display: inline-flex; align-items: center; gap: 13px; min-width: max-content; }
.brand-mark { width: 43px; aspect-ratio: 1; display: grid; place-items: center; color: #fff; background: linear-gradient(145deg, #789be2, #8275d9); border-radius: 50%; box-shadow: 0 9px 25px rgba(86, 111, 191, .24); }
.brand strong, .brand small { display: block; }
.brand strong { font-family: Georgia, "Noto Serif TC", serif; font-size: 19px; letter-spacing: .16em; }
.brand small { margin-top: 3px; color: var(--muted); font-size: 9px; letter-spacing: .28em; }
.site-nav { display: flex; align-items: center; gap: clamp(20px, 2.6vw, 42px); color: #355374; font-size: 14px; }
.site-nav a { transition: color .2s; }
.site-nav a:hover { color: var(--blue); }
.site-nav .nav-cta { padding: 11px 22px; color: #fff; background: linear-gradient(120deg, var(--blue), var(--blue-2)); border-radius: 999px; box-shadow: 0 10px 24px rgba(82, 126, 220, .25); }
.menu-button { display: none; width: 42px; height: 42px; border: 0; background: transparent; }
.menu-button span { display: block; width: 23px; height: 2px; margin: 6px auto; background: var(--ink); }

.hero { position: relative; min-height: min(890px, 100svh); overflow: hidden; display: grid; grid-template-columns: minmax(500px, 1.12fr) minmax(390px, .88fr); gap: clamp(28px, 4vw, 76px); align-items: center; padding: 110px clamp(24px, 6vw, 110px) 60px; background: #e9f5ff; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(247,251,255,.98) 0%, rgba(247,251,255,.82) 31%, rgba(247,251,255,.13) 62%, rgba(247,251,255,.02)); }
.hero-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 58% center; }
.hero-copy { position: relative; z-index: 2; max-width: 670px; }
.hero h1 { margin: 0 0 22px; font-family: Georgia, "Noto Serif TC", serif; font-weight: 600; font-size: clamp(39px, 4.35vw, 72px); line-height: 1.25; letter-spacing: .035em; }
.hero p { color: #57708f; font-size: clamp(16px, 1.5vw, 21px); letter-spacing: .08em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.prelaunch-event {
  position: relative; z-index: 3; justify-self: end; width: min(100%, 520px); height: min(650px, 72vh); min-height: 560px;
  overflow: hidden; isolation: isolate; color: #fff;
  border: 1px solid rgba(255,255,255,.82); border-radius: 46px 15px 46px 15px;
  background:
    radial-gradient(circle at 78% 34%, rgba(139,210,255,.58), transparent 32%),
    linear-gradient(155deg, rgba(42,126,206,.96), rgba(55,76,180,.95) 62%, rgba(31,53,138,.98));
  box-shadow: 0 32px 74px rgba(38,70,159,.31), inset 0 0 0 7px rgba(255,255,255,.09);
  transition: transform .28s ease, box-shadow .28s ease;
}
.prelaunch-event:hover { transform: translateY(-7px); box-shadow: 0 40px 86px rgba(38,70,159,.38), inset 0 0 0 7px rgba(255,255,255,.12); }
.prelaunch-event::before { content:""; position:absolute; inset:17px; z-index:-1; border:1px solid rgba(255,255,255,.19); border-radius:34px 10px; }
.prelaunch-event::after { content:"✦"; position:absolute; right:25px; top:21px; color:#ffe6a5; font-size:25px; text-shadow:0 0 20px rgba(255,224,131,.85); }
.event-shine { position:absolute; z-index:-1; width:420px; height:420px; right:-160px; top:-170px; border-radius:50%; background:rgba(255,255,255,.17); filter:blur(2px); }
.prelaunch-copy { position:relative; z-index:3; padding:39px 34px 0; text-shadow:0 3px 20px rgba(12,31,91,.25); }
.prelaunch-badge { display:inline-flex; padding:7px 13px; color:#745316; background:linear-gradient(135deg,#fff4c7,#f1ce72); border:1px solid rgba(255,255,255,.74); border-radius:999px; box-shadow:0 8px 20px rgba(22,40,101,.17); font-size:12px; font-weight:900; letter-spacing:.15em; }
.prelaunch-copy small { display:block; margin-top:18px; color:rgba(255,255,255,.72); font-size:10px; font-weight:800; letter-spacing:.28em; }
.prelaunch-copy h2 { margin:5px 0 8px; font-family:Georgia,"Noto Serif TC",serif; font-size:clamp(39px,3.4vw,58px); line-height:1.06; letter-spacing:.08em; }
.prelaunch-copy p { margin:0; color:rgba(255,255,255,.84); font-size:14px; line-height:1.7; letter-spacing:.08em; }
.prelaunch-event > img { position:absolute; z-index:1; width:104%; max-width:none; right:-15%; bottom:25px; filter:drop-shadow(0 22px 21px rgba(8,28,91,.27)); transition:transform .32s ease; }
.prelaunch-event:hover > img { transform:scale(1.025) translateY(-3px); }
.prelaunch-reward { position:absolute; z-index:4; right:25px; top:129px; width:116px; aspect-ratio:1; padding-top:20px; text-align:center; border:1px solid rgba(255,255,255,.7); border-radius:50%; background:linear-gradient(145deg,rgba(255,255,255,.96),rgba(218,239,255,.9)); color:#326aac; box-shadow:0 13px 30px rgba(17,42,113,.24); transform:rotate(4deg); }
.prelaunch-reward span,.prelaunch-reward strong,.prelaunch-reward em { display:block; }
.prelaunch-reward span { font-size:10px; font-weight:800; letter-spacing:.12em; }
.prelaunch-reward strong { margin:-1px 0 -3px; color:#ef9d2d; font:700 38px/1 Georgia,serif; }
.prelaunch-reward em { font-size:11px; font-style:normal; font-weight:900; }
.prelaunch-cta { position:absolute; z-index:5; left:28px; right:28px; bottom:25px; min-height:52px; padding:0 18px; display:flex; align-items:center; justify-content:center; gap:14px; border:1px solid rgba(255,255,255,.58); border-radius:13px; background:rgba(16,39,116,.75); box-shadow:0 12px 28px rgba(10,28,89,.27); backdrop-filter:blur(10px); font-weight:900; letter-spacing:.08em; }
.prelaunch-cta b { font-size:21px; }
.button { min-height: 52px; padding: 0 25px; display: inline-flex; align-items: center; justify-content: center; gap: 11px; border-radius: 9px; font-weight: 700; transition: transform .2s, box-shadow .2s; }
.button:hover { transform: translateY(-2px); }
.button svg { width: 21px; fill: currentColor; }
.button-primary { color: #fff; background: linear-gradient(120deg, var(--blue), var(--blue-2)); box-shadow: 0 15px 32px rgba(72, 122, 215, .27); }
.button-discord { color: #fff; background: linear-gradient(120deg, #5865f2, #7782f6); box-shadow: 0 15px 32px rgba(88, 101, 242, .25); }
.button-discord:hover { box-shadow: 0 18px 38px rgba(88, 101, 242, .34); }
.button-secondary { border: 1px solid rgba(52, 88, 131, .27); background: rgba(255,255,255,.65); backdrop-filter: blur(8px); }
.scroll-cue { position: absolute; z-index: 3; bottom: 26px; left: 50%; width: 27px; height: 44px; border: 1px solid rgba(34,65,102,.35); border-radius: 20px; }
.scroll-cue span { position: absolute; top: 8px; left: 12px; width: 3px; height: 8px; background: var(--ink); border-radius: 3px; animation: scroll 1.8s infinite; }
@keyframes scroll { 0% { opacity: 0; transform: translateY(0); } 35% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

.section { padding: clamp(74px, 8vw, 130px) clamp(24px, 8vw, 150px); }
.downloads { position: relative; background: linear-gradient(180deg, #f9fcff, #eef7ff); overflow: hidden; }
.downloads::before, .downloads::after { content: ""; position: absolute; border-radius: 50%; filter: blur(1px); background: rgba(255,255,255,.78); }
.downloads::before { width: 500px; height: 120px; left: -180px; top: 170px; }
.downloads::after { width: 570px; height: 140px; right: -260px; bottom: 38px; }

.community { position: relative; overflow: hidden; background: #f8f9ff; }
.community::before { content: ""; position: absolute; width: 680px; height: 680px; right: -250px; top: -260px; border-radius: 50%; background: radial-gradient(circle, rgba(113,124,245,.18), rgba(113,124,245,0) 68%); }
.community-card { position: relative; z-index: 1; max-width: 1240px; margin: 0 auto; padding: clamp(38px, 6vw, 78px); display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr); align-items: center; gap: clamp(42px, 7vw, 100px); color: #273652; background: rgba(255,255,255,.84); border: 1px solid rgba(112,123,226,.2); border-radius: 34px 10px 34px 10px; box-shadow: 0 30px 70px rgba(60,77,145,.12); backdrop-filter: blur(14px); }
.community-copy h2 { margin: 0 0 18px; font-family: Georgia, "Noto Serif TC", serif; font-size: clamp(36px, 4vw, 58px); letter-spacing: .06em; }
.community-copy > p:not(.eyebrow):not(.community-note) { max-width: 720px; color: #61728e; font-size: 17px; line-height: 1.9; }
.community-features { margin: 32px 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; list-style: none; }
.community-features li { min-height: 104px; padding: 19px 19px 17px 62px; position: relative; background: #f7f8ff; border: 1px solid #e3e6fb; border-radius: 14px; }
.community-features span { position: absolute; left: 18px; top: 20px; color: #7b84e7; font: 700 12px/1 Georgia, serif; letter-spacing: .08em; }
.community-features strong, .community-features small { display: block; }
.community-features strong { margin-bottom: 7px; color: #334274; font-size: 16px; }
.community-features small { color: #78859b; font-size: 12px; line-height: 1.55; }
.community-cta { width: fit-content; }
.community-note { margin: 16px 0 0; color: #8994a7; font-size: 11px; line-height: 1.65; }
.community-emblem { position: relative; min-height: 340px; display: flex; align-items: center; justify-content: center; flex-direction: column; color: #fff; background: radial-gradient(circle at 35% 25%, #8993ff, #5865f2 52%, #3e49b9); border-radius: 50% 14% 50% 14%; box-shadow: 0 30px 60px rgba(72,83,190,.3); transform: rotate(2deg); }
.community-emblem::before, .community-emblem::after { content: ""; position: absolute; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; }
.community-emblem::before { inset: 25px; }
.community-emblem::after { inset: 48px; }
.community-emblem svg { position: relative; z-index: 1; width: 94px; fill: #fff; filter: drop-shadow(0 8px 18px rgba(35,39,115,.28)); }
.community-emblem strong, .community-emblem small { position: relative; z-index: 1; display: block; }
.community-emblem strong { margin-top: 24px; font-family: Georgia, "Noto Serif TC", serif; font-size: 27px; letter-spacing: .18em; }
.community-emblem small { margin-top: 9px; opacity: .78; font-size: 9px; letter-spacing: .27em; }
.section-heading { position: relative; z-index: 1; }
.section-heading h2, .registration-copy h2 { margin: 0; font-family: Georgia, "Noto Serif TC", serif; font-size: clamp(32px, 3.4vw, 52px); letter-spacing: .06em; }
.section-heading p, .registration-copy p { color: var(--muted); font-size: 17px; letter-spacing: .06em; }
.download-heading { display: flex; justify-content: space-between; align-items: end; }
.cloud-city { width: min(34vw, 460px); height: 160px; opacity: .2; background: radial-gradient(ellipse at 50% 82%, #7ea4c6 0 8%, transparent 9%), radial-gradient(ellipse at 45% 90%, #7ea4c6 0 31%, transparent 32%); }
.platform-rail { position: relative; z-index: 2; margin-top: 52px; padding: 0 30px; background: rgba(255,255,255,.86); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); }
.platform { min-height: 118px; display: grid; grid-template-columns: 62px 1fr auto; gap: 22px; align-items: center; border-bottom: 1px solid var(--line); }
.platform:last-child { border-bottom: 0; }
.platform-icon { width: 51px; height: 51px; display: grid; place-items: center; color: #6785aa; background: #edf5fd; border-radius: 13px; }
.platform-icon svg { width: 27px; height: 27px; fill: currentColor; }
.platform-active .platform-icon { color: #fff; background: linear-gradient(140deg, var(--blue), var(--blue-2)); box-shadow: 0 10px 23px rgba(85,118,208,.25); }
.windows-icon { grid-template-columns: repeat(2, 9px); grid-template-rows: repeat(2, 9px); gap: 2px; }
.windows-icon i { display: block; background: currentColor; }
.platform h3 { margin: 0 0 4px; font-size: 18px; }
.platform p { margin: 0; color: var(--muted); font-size: 13px; }
.platform-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; }
.platform-button { min-width: 112px; padding: 13px 18px; text-align: center; color: #59728f; border: 1px solid var(--line); border-radius: 8px; background: #f8fbfe; font-size: 14px; font-weight: 700; }
.platform-button.primary { color: #fff; border: 0; background: linear-gradient(120deg, var(--blue), var(--blue-2)); }
.platform-button span { margin-left: 8px; }
.support-rail { position: relative; z-index: 2; margin-top: 24px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.support-rail > div { padding: 23px; display: flex; align-items: center; gap: 14px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.55); }
.support-rail > div > span { font-size: 24px; color: #6585ad; }
.support-rail p, .support-rail strong, .support-rail small { display: block; margin: 0; }
.support-rail small { margin-top: 4px; color: var(--muted); }

.registration { position: relative; min-height: 790px; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(420px, .75fr); gap: clamp(38px, 6vw, 100px); align-items: center; background: #eef7ff; overflow: hidden; }
.registration::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(238,247,255,.5), rgba(238,247,255,.92)), url("../images/hero.png") center/cover; opacity: .52; }
.registration-art, .registration-panel { position: relative; z-index: 1; }
.registration-art { min-height: 540px; display: flex; align-items: flex-end; padding: 45px; border-radius: 22px; overflow: hidden; background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(14,41,76,.68)), url("../images/hero.png") 62% center/cover; box-shadow: var(--shadow); }
.registration-copy { color: #fff; text-shadow: 0 2px 16px rgba(5,30,62,.38); }
.registration-copy p { color: rgba(255,255,255,.88); }
.registration-panel { padding: clamp(27px, 3vw, 46px); border: 1px solid rgba(255,255,255,.92); border-radius: 20px; background: rgba(255,255,255,.9); box-shadow: var(--shadow); backdrop-filter: blur(14px); }
#registration-form { display: grid; gap: 18px; }
#registration-form > label:not(.agreement) { display: grid; gap: 8px; color: #405b7d; font-size: 13px; font-weight: 700; }
.input-wrap { height: 49px; display: grid; grid-template-columns: 36px 1fr auto; align-items: center; border: 1px solid rgba(68,102,143,.2); border-radius: 8px; background: #f9fcff; }
.input-wrap > span { text-align: center; color: #7590ad; }
.input-wrap input { width: 100%; height: 100%; min-width: 0; border: 0; outline: 0; color: var(--ink); background: transparent; }
.input-wrap:focus-within { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(78,155,232,.1); }
.reveal { width: 42px; height: 100%; border: 0; color: #7990ac; background: transparent; cursor: pointer; }
.agreement { display: flex; gap: 9px; align-items: flex-start; color: var(--muted); font-size: 12px; }
.agreement input { margin-top: 2px; accent-color: var(--blue); }
.agreement a { margin: 0 3px; color: #417dc6; text-decoration: underline; }
.verification { padding: 15px; display: grid; gap: 10px; border: 1px solid var(--line); border-radius: 9px; background: #f8fbff; }
.verification strong { font-size: 13px; }
.verification small { color: var(--muted); }
.register-button { height: 52px; border: 0; border-radius: 8px; color: #fff; background: linear-gradient(120deg, var(--blue), var(--blue-2)); box-shadow: 0 12px 27px rgba(75,119,211,.24); font-weight: 800; cursor: pointer; }
.register-button:disabled { opacity: .65; cursor: wait; }
.platform-button.disabled { opacity: .55; cursor: not-allowed; pointer-events: none; }
.form-message { min-height: 20px; margin: -5px 0; color: #b34155; font-size: 13px; }
.form-message.success { color: #24745c; }
.registration-success { padding: 35px 8px; text-align: center; }
.registration-success > span { width: 64px; height: 64px; margin: 0 auto 20px; display: grid; place-items: center; color: #fff; background: #52c7a3; border-radius: 50%; font-size: 32px; }
.registration-success h3 { font-family: Georgia, "Noto Serif TC", serif; font-size: 28px; line-height: 1.5; }
.honeypot { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }

.site-footer { padding: 34px clamp(24px, 8vw, 150px); display: flex; align-items: center; justify-content: space-between; gap: 25px; color: #647a96; background: #fff; border-top: 1px solid var(--line); font-size: 12px; }
.footer-brand .brand-mark { width: 34px; }
.site-footer nav { display: flex; gap: 24px; }

@media (max-width: 1180px) and (min-width: 901px) {
  .hero { grid-template-columns: minmax(430px,1fr) minmax(330px,400px); gap:24px; padding-inline:36px; }
  .hero-copy { max-width:590px; }
  .prelaunch-event { height:570px; min-height:570px; }
  .prelaunch-event > img { width:108%; right:-19%; }
  .prelaunch-reward { right:18px; }
}

@media (max-width: 900px) {
  .site-header { height: 68px; padding-inline: 20px; }
  .menu-button { display: block; }
  .site-nav { position: absolute; top: 68px; left: 16px; right: 16px; padding: 22px; display: none; align-items: stretch; flex-direction: column; gap: 18px; background: rgba(255,255,255,.97); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); }
  .site-nav.open { display: flex; }
  .site-nav .nav-cta { text-align: center; }
  .hero { min-height: auto; grid-template-columns: 1fr; align-items: center; gap: 42px; padding-top: 118px; padding-bottom: 105px; }
  .hero::after { background: linear-gradient(0deg, rgba(247,251,255,.98) 12%, rgba(247,251,255,.72) 58%, rgba(247,251,255,.1)); }
  .hero-art { object-position: 67% center; }
  .hero-copy { max-width: 720px; }
  .prelaunch-event { justify-self: center; width: min(100%,680px); height: 450px; min-height: 450px; }
  .prelaunch-event > img { width: 68%; right: -2%; bottom: -38px; }
  .prelaunch-copy { padding: 34px 31px 0; }
  .prelaunch-reward { right: 34px; top: 34px; }
  .download-heading { display: block; }
  .cloud-city { display: none; }
  .support-rail { grid-template-columns: 1fr; }
  .community-card { grid-template-columns: 1fr; }
  .community-emblem { min-height: 290px; }
  .registration { grid-template-columns: 1fr; }
  .registration-art { min-height: 400px; }
  .site-footer { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 600px) {
  .brand strong { font-size: 16px; }
  .brand small { font-size: 8px; }
  .hero h1 br { display: none; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .prelaunch-event { height: 520px; min-height: 520px; border-radius: 32px 10px; }
  .prelaunch-copy h2 { font-size: 39px; }
  .prelaunch-event > img { width: 105%; right: -20%; bottom: 24px; }
  .prelaunch-reward { width: 100px; right: 21px; top: 34px; padding-top: 17px; }
  .prelaunch-reward strong { font-size: 32px; }
  .prelaunch-cta { left: 18px; right: 18px; bottom: 18px; }
  .button { width: 100%; }
  .section { padding-inline: 18px; }
  .platform-rail { padding: 0 17px; }
  .platform { padding: 20px 0; grid-template-columns: 48px 1fr; gap: 13px; }
  .platform-icon { width: 44px; height: 44px; }
  .platform-links { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); width: 100%; }
  .platform-button { min-width: 0; width: 100%; }
  .community-card { padding: 30px 20px; border-radius: 22px 7px; }
  .community-features { grid-template-columns: 1fr; }
  .community-cta { width: 100%; }
  .community-emblem { min-height: 245px; }
  .registration { padding-block: 70px; }
  .registration-art { min-height: 340px; padding: 25px; }
  .registration-panel { padding: 24px 18px; }
  .site-footer nav { flex-wrap: wrap; gap: 13px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* 2026-08-23: official profession guide and in-game registration guide */
.eyebrow { margin: 0 0 12px; color: #3f75ad !important; font-size: 11px !important; font-weight: 800; letter-spacing: .28em !important; }

.professions {
  position: relative;
  min-height: 930px;
  overflow: hidden;
  background-color: #effaff;
  background-image:
    radial-gradient(circle at 14% 22%, rgba(255,255,255,.96) 0 9%, transparent 29%),
    radial-gradient(circle at 86% 20%, rgba(179,220,247,.45) 0 7%, transparent 32%);
}
.professions::before,
.professions::after { content: ""; position: absolute; pointer-events: none; }
.professions::before { inset: 35px; border: 1px solid rgba(180,144,65,.28); border-radius: 92px 16px; }
.professions::after { width: 520px; height: 240px; right: -170px; bottom: 60px; background: rgba(255,255,255,.55); border-radius: 50%; filter: blur(20px); }
.ornament-heading { position: relative; z-index: 2; margin-bottom: 42px; text-align: center; }
.ornament-heading > span { color: #987328; font-size: 11px; font-weight: 800; letter-spacing: .42em; }
.ornament-heading h2 { margin: 9px 0 8px; color: #215890; font-family: Georgia, "Noto Serif TC", serif; font-size: clamp(36px, 4vw, 58px); letter-spacing: .12em; }
.ornament-heading h2::before,
.ornament-heading h2::after { content: "◇ ───"; display: inline-block; margin: 0 22px; color: #b3934d; font-size: 15px; vertical-align: middle; letter-spacing: .12em; }
.ornament-heading h2::after { content: "─── ◇"; }
.ornament-heading p { margin: 0; color: #5c7da0; letter-spacing: .11em; }
.profession-stage {
  position: relative; z-index: 2;
  min-height: 560px;
  display: grid; grid-template-columns: minmax(480px, .96fr) minmax(390px, 1.04fr);
  overflow: hidden;
  border: 1px solid rgba(61,107,154,.2); border-radius: 22px 80px 22px 22px;
  background: rgba(255,255,255,.76); box-shadow: 0 26px 70px rgba(50,93,140,.12);
}
.profession-copy { padding: clamp(38px, 4vw, 68px); }
.profession-kicker { margin: 0 0 9px; color: #3f80b9; font-size: 12px; font-weight: 800; letter-spacing: .2em; }
.profession-copy > h3 { margin: 0; color: #1e578e; font-family: Georgia, "Noto Serif TC", serif; font-size: clamp(43px, 5vw, 72px); letter-spacing: .1em; }
.profession-lead { max-width: 560px; margin: 16px 0 30px; color: #617994; line-height: 1.9; letter-spacing: .04em; }
.job-tree { position: relative; max-width: 620px; padding: 2px 8px 0; }
.job-node {
  position: relative;
  width: min(100%, 196px); min-height: 96px;
  margin-inline: auto; padding: 21px 21px 17px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  border: 1px solid rgba(106,155,194,.44);
  border-radius: 52% 52% 44% 44% / 42% 42% 58% 58%;
  background:
    linear-gradient(145deg, rgba(255,255,255,.98), rgba(224,242,253,.94));
  box-shadow: inset 0 0 0 5px rgba(255,255,255,.58), 0 12px 26px rgba(40,94,139,.13);
  isolation: isolate;
}
.job-node::before,
.job-node::after { content: ""; position: absolute; pointer-events: none; }
.job-node::before { inset: 6px; border: 1px solid rgba(72,127,173,.18); border-radius: inherit; }
.job-node::after { width: 7px; height: 7px; left: 50%; bottom: -4px; transform: translateX(-50%) rotate(45deg); border: 1px solid rgba(63,123,171,.52); background: #eef9ff; }
.node-gem { position: absolute; top: 9px; left: 50%; width: 8px; height: 8px; transform: translateX(-50%) rotate(45deg); border: 1px solid rgba(56,117,169,.64); background: #fff; box-shadow: 0 0 0 3px rgba(91,155,205,.1); }
.job-root { width: 148px; min-height: 110px; margin: 0 auto 38px; border-color: rgba(180,139,54,.6); background: radial-gradient(circle at 50% 24%, #fff 0 8%, transparent 9%), linear-gradient(145deg,#fffdf6,#f4e7bf); box-shadow: inset 0 0 0 5px rgba(255,255,255,.58), 0 14px 30px rgba(117,86,28,.17); }
.job-root::before { border-color: rgba(180,139,54,.25); }
.job-root::after { width: 1px; height: 30px; left: 50%; bottom: -31px; transform: none; border: 0; background: linear-gradient(#b89546,#87b6d8); }
.job-root .node-gem { border-color: #ad8030; background: #f7df98; box-shadow: 0 0 0 3px rgba(183,142,59,.13); }
.job-tree small { position: relative; z-index: 1; display: block; margin-bottom: 6px; color: #728da5; font-size: 10px; font-weight: 700; letter-spacing: .15em; }
.job-tree strong { position: relative; z-index: 1; color: #285f94; font-family: Georgia, "Noto Serif TC", serif; font-size: 18px; letter-spacing: .055em; }
.job-root strong { color: #8b671f; font-size: 20px; }
.job-branches { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 34px; }
.job-branches::before { content: ""; position: absolute; left: 25%; right: 25%; top: -22px; height: 1px; background: linear-gradient(90deg,#72aeda,#caa655); }
.job-path { position: relative; padding: 25px 2px 2px; text-align: center; }
.job-path::before { content: ""; position: absolute; top: -22px; left: 50%; width: 1px; height: 23px; background: #78acd2; }
.job-path.branch-path::before { background: #c6a451; }
.job-path .job-node { width: min(100%, 202px); }
.job-path .advanced-node { border-color: rgba(78,125,168,.56); background: radial-gradient(circle at 50% 22%,#fff 0 7%,transparent 8%), linear-gradient(145deg,#fff,#dceefa); }
.branch-path .job-node { border-color: rgba(192,157,76,.52); background: linear-gradient(145deg,#fffdf8,#f5ebcf); box-shadow: inset 0 0 0 5px rgba(255,255,255,.58), 0 12px 26px rgba(116,88,33,.12); }
.branch-path .job-node::before { border-color: rgba(182,142,54,.2); }
.branch-path .job-node::after,
.branch-path .node-gem { border-color: rgba(178,135,43,.65); background: #fff9e9; }
.branch-path strong { color: #826323; }
.job-path i { display: block; width: 1px; height: 23px; margin: 0 auto; background: linear-gradient(#84b4d4,#b7d3e5); }
.branch-path i { background: linear-gradient(#c4a65d,#dfca91); }
.path-label { position: absolute; top: -13px; left: 50%; min-width: 70px; padding: 5px 14px 6px; transform: translateX(-50%); color: #fff; border: 1px solid rgba(255,255,255,.7); background: linear-gradient(135deg,#5aa0d5,#387eb8); border-radius: 99px; box-shadow: 0 5px 14px rgba(47,112,163,.23); font-size: 10px; font-weight: 800; letter-spacing: .16em; white-space: nowrap; }
.branch-path .path-label { color: #6f5319; background: linear-gradient(135deg,#f6e7b1,#ddbf68); box-shadow: 0 5px 14px rgba(151,113,30,.17); }
.profession-portrait-wrap { position: relative; min-height: 560px; display: grid; place-items: end center; overflow: hidden; }
.profession-portrait-wrap::before { content: ""; position: absolute; inset: 5% 7% 2%; border-radius: 50% 50% 15% 15%; background: rgba(187,222,246,.38); }
.portrait-seal { position: absolute; width: min(36vw, 520px); aspect-ratio: 1; top: 34px; left: 50%; transform: translateX(-50%); border: 1px solid rgba(55,111,166,.22); border-radius: 50%; }
.portrait-seal::before,
.portrait-seal::after { content: ""; position: absolute; inset: 10%; border: 1px solid rgba(180,144,65,.22); transform: rotate(45deg); }
.portrait-seal::after { inset: 21%; transform: rotate(22.5deg); }
.profession-portrait { position: relative; z-index: 1; width: auto; max-width: 92%; height: 525px; object-fit: contain; object-position: bottom; filter: drop-shadow(0 18px 20px rgba(35,63,91,.18)); transition: opacity .18s ease, transform .28s ease; }
.profession-stage.switching .profession-portrait { opacity: .15; transform: translateX(15px); }
.profession-tabs { position: relative; z-index: 3; max-width: 980px; margin: -42px auto 0; padding: 21px 26px 17px; display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; border: 1px solid rgba(72,112,155,.16); border-radius: 70px 70px 24px 24px; background: linear-gradient(180deg,rgba(255,255,255,.97),rgba(235,247,254,.93)); box-shadow: 0 20px 54px rgba(38,81,125,.16); }
.profession-tabs::before { content: ""; position: absolute; left: 5%; right: 5%; top: 50%; height: 1px; background: linear-gradient(90deg,transparent,rgba(155,126,57,.32) 13%,rgba(102,151,189,.26) 50%,rgba(155,126,57,.32) 87%,transparent); z-index: -1; }
.profession-tab { min-width: 0; padding: 0 5px 4px; border: 0; color: var(--job-deep); background: transparent; cursor: pointer; font-family: inherit; }
.profession-emblem { position: relative; width: 74px; aspect-ratio: 1; margin: 0 auto 10px; display: grid; place-items: center; color: var(--job-color); border: 1px solid color-mix(in srgb,var(--job-color) 44%,#fff); border-radius: 50%; background: radial-gradient(circle,#fff 0 46%,color-mix(in srgb,var(--job-color) 16%,#fff) 48% 61%,#fff 63%); box-shadow: inset 0 0 0 4px rgba(255,255,255,.86), 0 8px 24px color-mix(in srgb,var(--job-color) 18%,transparent); transition: transform .25s ease, box-shadow .25s ease, color .25s ease; }
.profession-emblem::before,
.profession-emblem::after { content: ""; position: absolute; pointer-events: none; }
.profession-emblem::before { inset: -6px; border: 1px solid color-mix(in srgb,var(--job-color) 32%,transparent); border-radius: 50%; background: repeating-conic-gradient(from 0deg,transparent 0 20deg,color-mix(in srgb,var(--job-color) 40%,transparent) 21deg 23deg,transparent 24deg 45deg); -webkit-mask: radial-gradient(transparent 0 65%,#000 66%); mask: radial-gradient(transparent 0 65%,#000 66%); }
.profession-emblem::after { width: 9px; height: 9px; left: 50%; top: -10px; transform: translateX(-50%) rotate(45deg); border: 1px solid color-mix(in srgb,var(--job-color) 58%,#fff); background: #fff; box-shadow: 0 84px 0 -1px #fff, 0 84px 0 0 color-mix(in srgb,var(--job-color) 58%,#fff); }
.profession-emblem svg { width: 42px; height: 42px; overflow: visible; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.profession-tab strong { display: block; color: #5f7895; font-family: Georgia, "Noto Serif TC", serif; font-size: 13px; letter-spacing: .1em; transition: color .2s ease, transform .2s ease; }
.profession-tab:hover .profession-emblem { transform: translateY(-4px) scale(1.04); box-shadow: inset 0 0 0 4px rgba(255,255,255,.9),0 13px 28px color-mix(in srgb,var(--job-color) 28%,transparent); }
.profession-tab.active .profession-emblem { color: #fff; background: radial-gradient(circle at 35% 28%,color-mix(in srgb,var(--job-color) 76%,#fff),var(--job-deep)); box-shadow: inset 0 0 0 4px rgba(255,255,255,.24),0 14px 30px color-mix(in srgb,var(--job-color) 42%,transparent); transform: translateY(-5px) scale(1.08); }
.profession-tab.active strong { color: var(--job-deep); transform: translateY(-2px); }
.profession-tab:focus-visible { outline: none; }
.profession-tab:focus-visible .profession-emblem { outline: 2px solid var(--job-color); outline-offset: 5px; }

.registration-guide { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(300px, .74fr) minmax(600px, 1.26fr); gap: clamp(50px, 7vw, 110px); background: #edf7ff; }
.registration-guide::before { content: ""; position: absolute; inset: 0; opacity: .16; background: url("../images/hero.png") center/cover; }
.guide-intro,
.guide-steps,
.guide-download { position: relative; z-index: 1; }
.guide-intro h2 { margin: 0 0 18px; color: #22598e; font-family: Georgia, "Noto Serif TC", serif; font-size: clamp(38px, 4.2vw, 62px); line-height: 1.25; letter-spacing: .08em; }
.guide-intro > p:not(.eyebrow) { color: #5f7690; font-size: 16px; line-height: 1.9; }
.security-note { margin-top: 34px; padding: 18px; border-left: 3px solid #b68e35; background: rgba(255,255,255,.74); }
.security-note strong,
.security-note span { display: block; }
.security-note strong { margin-bottom: 5px; color: #8b6b26; }
.security-note span { color: #60758d; font-size: 13px; line-height: 1.7; }
.guide-steps { margin: 0; padding: 0; list-style: none; counter-reset: guide; }
.guide-steps li { position: relative; padding: 0 0 30px 82px; display: grid; grid-template-columns: 1fr; }
.guide-steps li:not(:last-child)::before { content: ""; position: absolute; left: 28px; top: 58px; bottom: 7px; width: 1px; background: #90b4d0; }
.guide-steps > li > span { position: absolute; top: 0; left: 0; width: 57px; aspect-ratio: 1; display: grid; place-items: center; color: #fff; background: #3e79b0; border: 6px solid #d8ecf9; border-radius: 50%; font-family: Georgia, serif; font-size: 15px; }
.guide-steps small { color: #a27b2f; font-weight: 800; letter-spacing: .16em; }
.guide-steps h3 { margin: 5px 0 6px; color: #254f79; font-size: 18px; }
.guide-steps p { margin: 0; color: #637990; font-size: 13px; line-height: 1.75; }
.guide-download { grid-column: 2; justify-self: start; margin-left: 82px; }

@media (max-width: 1080px) {
  .profession-stage { grid-template-columns: 1fr 44%; }
  .profession-copy { padding: 42px 32px; }
  .profession-portrait { height: 470px; }
  .registration-guide { grid-template-columns: 1fr; }
  .guide-download { grid-column: 1; margin-left: 82px; }
}

@media (max-width: 780px) {
  .professions { min-height: auto; }
  .professions::before { inset: 14px; border-radius: 48px 10px; }
  .ornament-heading h2::before,
  .ornament-heading h2::after { display: none; }
  .profession-stage { min-height: 0; grid-template-columns: 1fr; border-radius: 18px 50px 18px 18px; }
  .profession-copy { padding: 32px 22px 12px; }
  .profession-copy > h3 { font-size: 47px; }
  .profession-portrait-wrap { min-height: 390px; order: -1; }
  .profession-portrait { height: 370px; }
  .portrait-seal { width: 340px; }
  .profession-tabs { margin-top: 18px; padding: 22px 14px 14px; grid-template-columns: repeat(3, 1fr); border-radius: 42px 42px 20px 20px; row-gap: 23px; }
  .profession-emblem { width: 64px; }
  .profession-emblem::after { box-shadow: 0 74px 0 -1px #fff,0 74px 0 0 color-mix(in srgb,var(--job-color) 58%,#fff); }
}

@media (max-width: 520px) {
  .job-branches { grid-template-columns: 1fr; gap: 29px; }
  .job-branches::before { display: none; }
  .job-path::before { display: none; }
  .job-path { padding-top: 20px; }
  .profession-portrait-wrap { min-height: 330px; }
  .profession-portrait { height: 320px; max-width: 100%; }
  .profession-tabs { grid-template-columns: repeat(2, 1fr); }
  .registration-guide { gap: 38px; }
  .guide-steps li { padding-left: 68px; }
  .guide-steps li:not(:last-child)::before { left: 23px; }
  .guide-steps > li > span { width: 48px; border-width: 5px; }
  .guide-download { width: 100%; margin-left: 0; }
}
