:root {
  --paper: #f7f8fa;
  --paper-deep: #edf0f5;
  --card: #ffffff;
  --ink: #1a1d1f;
  --muted: #6b7280;
  --line: rgba(26, 29, 31, .12);
  --cobalt: #2f80ed;
  --cobalt-dark: #1f5fbf;
  --sky: #e5f0ff;
  --yellow: #f5b546;
  --mint: #22a06b;
  --coral: #eb5757;
  --radius: 20px;
  --display: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
}

body { background: var(--paper); }
body::before { opacity: .12; }
.cursor-glow { background: radial-gradient(circle, rgba(47,128,237,.14), transparent 68%); }
.site-header { color: #fff; background: #1e2a38; border-bottom-color: rgba(255,255,255,.1); }
.site-header.scrolled { color: var(--ink); background: rgba(245,247,251,.94); border-color: var(--line); }
.site-header:not(.scrolled) .brand img { border-color: rgba(255,255,255,.35); box-shadow: 0 4px 14px rgba(0,0,0,.25); }
.site-header:not(.scrolled) .nav-pill { color: var(--ink); background: var(--yellow); box-shadow: none; }
.site-header:not(.scrolled) .nav-links a:hover { color: var(--yellow); }
.site-header.scrolled .nav-pill { color: #fff; background: var(--ink); }

.home-hero-v2 { min-height: calc(100vh - 78px); color: #fff; background: #1e2a38; }
.home-hero-v2 .reveal { opacity: 1; transform: none; }
.home-hero-v2::before {
  background:
    radial-gradient(circle at 15% 90%, rgba(47,128,237,.35), transparent 27%),
    radial-gradient(circle at 88% 12%, rgba(255,214,90,.2), transparent 26%),
    linear-gradient(145deg, #1e2a38 0%, #132b50 64%, #18385f 100%);
}
.hero-grid-lines { display: none; }
.home-hero-v2 .hero { min-height: calc(100vh - 78px); grid-template-columns: minmax(0,.92fr) minmax(460px,1.08fr); gap: clamp(46px,6vw,90px); padding: 72px 0 100px; }
.home-hero-v2 .eyebrow { color: #dce8fb; border-color: rgba(255,255,255,.2); background: rgba(255,255,255,.07); box-shadow: none; }
.home-hero-v2 h1 { max-width: 640px; font-size: clamp(1.9rem, 2.6vw, 2.5rem); }
.home-hero-v2 .scribble { color: #fff; }
.home-hero-v2 .hero-copy { color: #c8d4e8; }
.home-hero-v2 .button.primary { color: #fff; border-color: transparent; background: var(--cobalt); box-shadow: 0 14px 30px rgba(47,128,237,.38); }
.home-hero-v2 .button.secondary { color: #fff; border-color: rgba(255,255,255,.45); background: rgba(255,255,255,.06); }
.home-hero-v2 .trust-row { color: #aebdd2; }
.home-hero-v2 .trust-row span::before { color: var(--mint); }
.home-hero-v2 .scroll-cue { color: #aebdd2; }
.home-hero-v2 .scroll-cue span { border-color: #aebdd2; }
.home-hero-v2 .scroll-cue span::after { background: var(--yellow); }

.hero-flow-card { position: relative; padding: 24px; border: 1px solid rgba(255,255,255,.2); border-radius: 30px; background: rgba(255,255,255,.08); box-shadow: 0 34px 80px rgba(0,0,0,.26); backdrop-filter: blur(16px); overflow: hidden; }
.hero-flow-card::before { content: ""; position: absolute; width: 240px; height: 240px; right: -100px; top: -110px; border: 1px solid rgba(47,128,237,.35); border-radius: 50%; box-shadow: 0 0 0 35px rgba(47,128,237,.05), 0 0 0 70px rgba(47,128,237,.03); }
.flow-card-head { position: relative; display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; font-size: .82rem; font-weight: 900; letter-spacing: .08em; }
.flow-card-head b { padding: 6px 10px; color: #fff; border-radius: 99px; background: var(--cobalt); }
.flow-route { position: absolute; left: 52px; top: 90px; bottom: 89px; width: 2px; background: rgba(255,255,255,.14); }
.flow-route i { position: absolute; top: 0; bottom: 28%; width: 100%; background: var(--mint); box-shadow: 0 0 18px rgba(57,209,164,.55); }
.hero-flow-list { position: relative; display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.hero-flow-list li { display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 15px; min-height: 88px; padding: 14px 14px 14px 8px; border: 1px solid rgba(255,255,255,.11); border-radius: 18px; background: rgba(9,24,47,.42); }
.hero-flow-list > li > span { position: relative; z-index: 1; display: grid; width: 44px; height: 44px; place-items: center; color: var(--ink); border: 4px solid #162d4d; border-radius: 50%; background: var(--mint); font-size: .72rem; font-weight: 950; }
.hero-flow-list b, .hero-flow-list small { display: block; }
.hero-flow-list b { font-size: 1rem; }
.hero-flow-list small { margin-top: 3px; color: #aebdd2; font-size: .73rem; }
.hero-flow-list em { color: var(--yellow); font-size: .68rem; font-style: normal; font-weight: 900; }
.flow-card-foot { display: flex; justify-content: center; align-items: center; gap: 10px; margin-top: 18px; color: #b9c8dc; font-size: .72rem; font-weight: 800; }
.flow-card-foot i { color: var(--mint); font-style: normal; }

.feature-lab-section { position: relative; padding: 120px 0 130px; background: #edf2f9; }
.feature-lab-section::before { content: none; }
.lab-heading { margin-bottom: 48px; }
.lab-heading .section-kicker { display: inline-flex; margin-bottom: 10px; padding: 7px 12px; color: #1d5fb5; border: 1px solid rgba(47,128,237,.24); border-radius: 99px; background: #dfeeff; letter-spacing: .06em; text-transform: none; }
.lab-heading .section-title { max-width: 930px; margin-bottom: 16px; }
.lab-heading .section-lead { max-width: 760px; margin-bottom: 0; }
.lab-shell { border: 1px solid rgba(30,42,56,.17); border-radius: 32px; background: #1e2a38; box-shadow: 0 26px 70px rgba(30,42,56,.16); }
.lab-nav { background: #1e2a38; }
.lab-nav button { border-color: rgba(255,255,255,.08); }
.lab-nav button.active { color: #fff; background: #2f80ed; }
.lab-nav button.active span { color: var(--ink); background: var(--yellow); }
.lab-stage { background: linear-gradient(145deg,#f8faff,#e8eff8); }
.lab-device { box-shadow: 0 28px 55px rgba(30,42,56,.27); }
.lab-coach > span { background: #1e2a38; }
.lab-live { background: #fff; box-shadow: 0 9px 25px rgba(30,42,56,.08); }

.workflow-section { padding: 125px 0; color: #fff; background: #1e2a38; }
.workflow-heading { display: grid; grid-template-columns: 1.3fr .7fr; align-items: end; gap: 50px; margin-bottom: 46px; }
.workflow-heading .section-kicker { color: var(--mint); }
.workflow-heading .section-title { margin-bottom: 0; }
.workflow-heading > p { max-width: 430px; margin: 0 0 8px; color: #afbed3; }
.feature-console { display: grid; grid-template-columns: repeat(3,1fr); border: 1px solid rgba(255,255,255,.18); border-radius: 30px; background: rgba(255,255,255,.04); overflow: hidden; }
.phase-card { position: relative; min-height: 515px; padding: 30px; border-right: 1px solid rgba(255,255,255,.16); overflow: hidden; }
.phase-card:nth-child(3) { border-right: 0; }
.phase-card::before { content: ""; position: absolute; width: 220px; height: 220px; right: -100px; top: -110px; border-radius: 50%; background: rgba(255,255,255,.04); }
.phase-card.during { background: #2f80ed; }
.phase-card.after { background: rgba(57,209,164,.08); }
.phase-top { position: relative; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px; margin-bottom: 60px; }
.phase-top span { grid-column: 1; color: #94a7c1; font-size: .65rem; font-weight: 900; letter-spacing: .16em; }
.during .phase-top span { color: #d8e9ff; }
.phase-top b { grid-column: 1; font-size: 1.18rem; }
.phase-top i { grid-column: 2; grid-row: 1 / 3; color: rgba(255,255,255,.24); font: 950 2.7rem/1 var(--display); font-style: normal; }
.phase-card h3 { min-height: 95px; margin-bottom: 30px; font-size: clamp(1.55rem,2.4vw,2.15rem); line-height: 1.12; }
.phase-card ul { display: grid; gap: 11px; margin: 0; padding: 0; list-style: none; }
.phase-card li { padding: 15px 16px; border: 1px solid rgba(255,255,255,.14); border-radius: 15px; background: rgba(255,255,255,.06); }
.phase-card li b, .phase-card li small { display: block; }
.phase-card li b { font-size: .88rem; }
.phase-card li small { margin-top: 3px; color: #aebdd2; font-size: .7rem; }
.during li small { color: #d8e9ff; }
.console-track { grid-column: 1 / -1; display: flex; align-items: center; gap: 14px; padding: 17px 30px; color: #b5c3d5; border-top: 1px solid rgba(255,255,255,.16); font-size: .7rem; font-weight: 900; letter-spacing: .06em; }
.console-track i { flex: 1; height: 2px; background: linear-gradient(90deg,var(--mint),var(--yellow)); }
.feature-safety { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 45px; margin-top: 22px; padding: 30px 34px; border: 1px solid rgba(255,255,255,.16); border-radius: 24px; background: rgba(255,255,255,.055); }
.feature-safety > div > span { color: var(--mint); font-size: .68rem; font-weight: 950; letter-spacing: .15em; }
.feature-safety h3 { margin: 5px 0 8px; font-size: 1.65rem; }
.feature-safety p { margin: 0; color: #aebdd2; font-size: .82rem; }
.safety-pills { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.safety-pills span { padding: 8px 12px; color: #d8e4f3; border: 1px solid rgba(255,255,255,.16); border-radius: 99px; background: rgba(255,255,255,.05); font-size: .72rem; font-weight: 800; }

.promise { border: 0; background: #dcebff; }
.closing-section { background: #f5f7fb; }
.cta { background: linear-gradient(135deg,#2f80ed,#1f5fbf); box-shadow: 0 26px 55px rgba(30,42,56,.35); }

.page-hero { margin-top: 22px; padding: 78px 52px 54px; color: #fff; border-radius: 32px; background: linear-gradient(145deg,#1e2a38,#1c4778); overflow: hidden; }
.page-hero::after { z-index: 0; right: -60px; top: -100px; width: 360px; height: 360px; opacity: .14; background: var(--yellow); }
.page-hero > * { position: relative; z-index: 1; }
.page-hero .eyebrow { color: var(--ink); border: 0; background: var(--yellow); }
.page-hero h1 { max-width: 820px; }
.page-hero h1 span { color: #8fbdff; }
.page-hero p { color: #cad6e8; }
.meta span { color: #e5edf8; border-color: rgba(255,255,255,.2); background: rgba(255,255,255,.07); }
.privacy-summary { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; padding: 26px 0 0; }
.privacy-summary article { min-height: 195px; padding: 24px; border: 1px solid var(--line); border-radius: 22px; background: #fff; box-shadow: 0 12px 30px rgba(30,42,56,.05); }
.privacy-summary span { display: block; margin-bottom: 30px; color: var(--cobalt); font: 950 .72rem/1 var(--display); letter-spacing: .1em; }
.privacy-summary b { display: block; font-size: 1.15rem; }
.privacy-summary p { margin: 7px 0 0; color: var(--muted); font-size: .78rem; }
.policy-layout { gap: 45px; padding-top: 50px; }
.toc { border: 0; border-radius: 21px; background: #1e2a38; box-shadow: none; }
.toc b { color: #fff; }
.toc a { color: #aabbd2; }
.toc a:hover, .toc a.active { color: var(--yellow); }
.policy section { padding: 40px 34px; border: 1px solid var(--line); border-radius: 22px; background: #fff; box-shadow: 0 12px 34px rgba(30,42,56,.055); scroll-margin-top: 96px; }
.policy section + section { margin-top: 14px; }
.policy section:first-child { border-top-width: 1px; }
.policy h2 { color: #1e2a38; }
.policy a { color: #1f64bd; }
.data-table { box-shadow: 0 8px 24px rgba(30,42,56,.05); }
.data-table th { color: #123d70; background: #deecff; }
.callout { border-left-color: var(--cobalt); background: #edf5ff; }

.narrow .page-hero { margin-inline: -110px; }
.support-first { margin-top: 28px; padding: 25px 28px; border: 1px solid var(--line); border-radius: 23px; background: #fff; }
.support-first > span { color: var(--cobalt); font-size: .69rem; font-weight: 950; letter-spacing: .12em; }
.support-first ol { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin: 16px 0 0; padding: 0; list-style: none; counter-reset: support-steps; }
.support-first li { position: relative; min-height: 115px; padding: 17px 14px 15px 53px; border-radius: 16px; background: #eef4fc; counter-increment: support-steps; }
.support-first li::before { content: counter(support-steps); position: absolute; left: 15px; top: 15px; display: grid; width: 27px; height: 27px; place-items: center; color: #fff; border-radius: 50%; background: #1e2a38; font-size: .68rem; font-weight: 950; }
.support-first b, .support-first small { display: block; }
.support-first b { font-size: .82rem; }
.support-first small { margin-top: 4px; color: var(--muted); font-size: .68rem; }
.support-grid { padding-top: 50px; }
.support-card { border-color: rgba(30,42,56,.16); box-shadow: 0 10px 30px rgba(30,42,56,.05); }
.support-card:hover { box-shadow: 0 18px 40px rgba(30,42,56,.11); }
.support-card.full { display: grid; grid-template-columns: .75fr 1.25fr; align-items: center; gap: 32px; color: #fff; border: 0; background: #2f80ed; }
.support-card.full span { color: var(--yellow); font-size: .68rem; font-weight: 950; letter-spacing: .12em; }
.support-card.full h2 { margin-top: 5px; font-size: 1.75rem; line-height: 1.15; }
.support-card.full p, .support-card.full a { color: #eef5ff; }
.support-card:not(.full) h2::after { color: #fff; background: #1e2a38; }

footer { background: #eef2f8; }

@media (max-width: 960px) {
  .home-hero-v2 .hero { min-height: auto; grid-template-columns: 1fr; }
  .hero-flow-card { width: min(650px,100%); }
  .workflow-heading { grid-template-columns: 1fr; gap: 15px; }
  .feature-console { grid-template-columns: 1fr; }
  .phase-card { min-height: 0; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.16); }
  .phase-card h3 { min-height: 0; }
  .feature-safety { grid-template-columns: 1fr; }
  .safety-pills { justify-content: flex-start; }
  .narrow .page-hero { margin-inline: 0; }
  .privacy-summary { grid-template-columns: 1fr; }
  .privacy-summary article { min-height: 0; }
  .privacy-summary span { margin-bottom: 18px; }
  .support-first ol { grid-template-columns: 1fr; }
  .support-card.full { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .home-hero-v2 .hero { padding: 50px 0 76px; }
  .home-hero-v2 h1 { font-size: clamp(1.7rem,6.5vw,2.2rem); }
  .hero-flow-card { padding: 14px; border-radius: 23px; }
  .hero-flow-list li { grid-template-columns: 40px 1fr; min-height: 83px; gap: 11px; }
  .hero-flow-list > li > span { width: 40px; height: 40px; }
  .hero-flow-list em { display: none; }
  .hero-flow-list b { font-size: .88rem; }
  .hero-flow-list small { font-size: .66rem; }
  .flow-route { left: 35px; top: 78px; bottom: 78px; }
  .flow-card-foot { gap: 7px; }
  .feature-lab-section, .workflow-section { padding: 82px 0; }
  .feature-lab-section::before { display: none; }
  .lab-heading .section-title { font-size: clamp(1.5rem,7vw,1.9rem); }
  .feature-console { border-radius: 23px; }
  .phase-card { padding: 24px 20px; }
  .phase-top { margin-bottom: 34px; }
  .console-track { padding: 14px 18px; gap: 8px; font-size: .58rem; }
  .feature-safety { padding: 24px 20px; }
  .promise { padding-top: 82px; }
  .page-hero { margin-top: 12px; padding: 50px 25px 38px; border-radius: 24px; }
  .page-hero h1 { font-size: clamp(2.45rem,10vw,3.25rem); }
  .policy-layout { padding-top: 28px; }
  .policy section { padding: 28px 21px; }
  .toc { padding: 20px 22px; }
  .support-grid { padding-top: 28px; }
  .support-first { padding: 22px 18px; }
}
