:root {
  color-scheme: light;
  --navy-950: #064f4b;
  --navy-900: #08766c;
  --navy-800: #0d8f82;
  --navy-700: #169a8d;
  --cyan-500: #24b9c6;
  --cyan-400: #39c8d2;
  --cyan-100: #ddf8f3;
  --mint: #77d9ad;
  --sky: #3aa9dc;
  --yellow: #ffc52f;
  --ink: #0d5052;
  --muted: #517277;
  --line: #cee6e2;
  --surface: #ffffff;
  --surface-soft: #effaf7;
  --danger: #b42318;
  --shadow: 0 24px 70px rgba(7, 101, 91, 0.17);
  --radius-lg: 24px;
  --radius-md: 14px;
  font-family: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--surface); font-size: 16px; line-height: 1.65; }
button, input, select { font: inherit; }
button, a, summary, label { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 100; padding: 10px 14px; background: white; border-radius: 8px; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
.shell { width: min(1160px, calc(100% - 32px)); margin-inline: auto; }
.narrow-shell { width: min(940px, calc(100% - 32px)); }
.site-header { background: linear-gradient(90deg, rgba(238,252,248,.98), rgba(235,248,255,.98)); color: var(--ink); border-bottom: 1px solid rgba(19,157,143,.2); }
.header-inner { min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; letter-spacing: .04em; }
.brand-logo { width: 54px; height: 54px; object-fit: contain; border-radius: 50%; background: white; margin-block: 6px; box-shadow: 0 5px 16px rgba(13,143,130,.12); }
.brand-sub { margin-left: 7px; color: #298b86; font-size: .78rem; font-weight: 700; }
.header-actions { display: flex; align-items: center; gap: 14px; }
.header-note { color: #52787b; font-size: .78rem; }
.line-oa-button { min-height: 44px; display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border: 1px solid #1db446; border-radius: 999px; color: #12612c; background: white; font-size: .78rem; font-weight: 700; text-decoration: none; box-shadow: 0 7px 18px rgba(29,180,70,.12); }
.line-oa-button:hover { background: #effcf2; }
.line-badge { padding: 3px 6px; border-radius: 6px; background: #06c755; color: white; font-size: .68rem; font-weight: 900; letter-spacing: -.02em; }

.hero { position: relative; overflow: hidden; background: radial-gradient(circle at 82% 18%, rgba(119,217,173,.38), transparent 28%), radial-gradient(circle at 6% 84%, rgba(58,169,220,.22), transparent 25%), linear-gradient(138deg, #effcf8 0%, #dff7f0 53%, #e9f7ff 100%); color: var(--ink); padding: 48px 0 56px; }
.hero::after { content: ""; position: absolute; inset: auto -12% -180px 24%; height: 310px; border: 1px solid rgba(31,168,157,.25); border-radius: 50%; transform: rotate(-7deg); }
.hero-glow { position: absolute; border-radius: 50%; filter: blur(2px); pointer-events: none; }
.hero-glow-one { width: 240px; height: 240px; right: -110px; top: 5%; background: rgba(255,197,47,.22); }
.hero-glow-two { width: 110px; height: 110px; left: -40px; bottom: 12%; background: rgba(58,169,220,.18); }
.hero-grid { position: relative; z-index: 1; display: grid; gap: 40px; }
.hero-copy { padding-top: 4px; }
.eyebrow, .section-kicker, .form-kicker { margin: 0 0 13px; color: #087e75; font-weight: 800; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow span { font-size: .55rem; margin-right: 7px; }
h1, h2, p { margin-top: 0; }
h1 { margin-bottom: 20px; font-size: clamp(2.2rem, 10vw, 4rem); line-height: 1.14; letter-spacing: -.045em; }
.hero-lead { max-width: 620px; margin-bottom: 28px; color: #476f72; font-size: 1.04rem; }
.primary-cta { min-height: 52px; border: 0; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 14px 22px; background: linear-gradient(90deg, #10a896, #2daed4); color: white; box-shadow: 0 12px 30px rgba(13,143,130,.22); font-weight: 900; text-decoration: none; cursor: pointer; transition: transform .2s ease, filter .2s ease, box-shadow .2s ease; }
.primary-cta:hover { filter: brightness(1.06); box-shadow: 0 14px 34px rgba(13,143,130,.28); transform: translateY(-1px); }
.primary-cta:focus-visible, .back-button:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible, .choice-card:has(input:focus-visible), .compact-choices label:has(input:focus-visible) { outline: 3px solid #ffcc66; outline-offset: 3px; }
.hero-cta { width: 100%; }
.hero-points { display: grid; gap: 8px; padding: 0; margin: 24px 0 0; list-style: none; color: #3d6f72; font-size: .88rem; }
.hero-points span { color: #0a9f91; margin-right: 6px; font-weight: 900; }

.form-card { color: var(--ink); background: var(--surface); border-radius: var(--radius-lg); padding: 22px; box-shadow: var(--shadow); scroll-margin-top: 16px; }
.form-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.form-kicker { color: #17788b; margin-bottom: 2px; letter-spacing: .08em; }
.form-heading h2 { margin-bottom: 0; font-size: 1.28rem; line-height: 1.35; }
.time-chip { flex: 0 0 auto; padding: 5px 9px; border-radius: 999px; background: var(--cyan-100); color: #0c6471; font-size: .75rem; font-weight: 800; }
.progress { margin: 22px 0 24px; }
.progress-track { height: 5px; overflow: hidden; background: #e5edf3; border-radius: 999px; }
.progress-track span { display: block; width: 33.333%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #18bacc, var(--cyan-400)); transition: width .35s ease; }
.progress-labels { display: flex; justify-content: space-between; margin-top: 7px; color: #8494a5; font-size: .74rem; font-weight: 700; }
.progress-labels span.is-active { color: #0d7583; }
fieldset { min-width: 0; padding: 0; margin: 0; border: 0; }
legend { width: 100%; margin-bottom: 4px; padding: 0; font-size: 1.16rem; line-height: 1.45; font-weight: 900; }
.field-help { margin-bottom: 18px; color: var(--muted); font-size: .86rem; }
.choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.choice-card { position: relative; min-height: 76px; border: 1.5px solid var(--line); border-radius: 12px; display: flex; align-items: center; gap: 10px; padding: 12px; background: #fbfdfe; color: #294258; font-size: .86rem; font-weight: 800; cursor: pointer; transition: border-color .18s ease, background .18s ease, transform .18s ease; }
.choice-card:hover { transform: translateY(-1px); border-color: #81dbe4; }
.choice-card:has(input:checked) { border-color: #16a7b6; background: #e8fbfd; color: #0b5c67; box-shadow: inset 0 0 0 1px #16a7b6; }
.choice-card input, .compact-choices input { position: absolute; opacity: 0; pointer-events: none; }
.choice-icon { width: 29px; height: 29px; flex: 0 0 auto; border-radius: 8px; display: grid; place-items: center; color: #187d89; background: #e7f8fa; font-size: 1rem; }
.field-error { min-height: 24px; margin: 10px 0 4px; color: var(--danger); font-size: .82rem; font-weight: 700; }
.next-button, .submit-button { width: 100%; }
.field-stack { display: grid; gap: 14px; }
.select-field, .text-field { display: grid; gap: 6px; color: #2f475d; font-size: .86rem; font-weight: 800; }
select, .text-field input { width: 100%; min-height: 48px; border: 1.5px solid var(--line); border-radius: 10px; padding: 10px 12px; color: var(--ink); background: white; }
select:hover, .text-field input:hover { border-color: #9db7cb; }
.asset-field > span { display: block; margin-bottom: 7px; color: #2f475d; font-size: .86rem; font-weight: 800; }
.compact-choices { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 7px; }
.compact-choices label { position: relative; cursor: pointer; }
.compact-choices span { min-height: 43px; border: 1.5px solid var(--line); border-radius: 9px; display: grid; place-items: center; padding: 6px; color: #52687c; background: white; font-size: .78rem; font-weight: 800; text-align: center; }
.compact-choices label:has(input:checked) span { border-color: #16a7b6; background: #e8fbfd; color: #0b5c67; box-shadow: inset 0 0 0 1px #16a7b6; }
.button-row { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px; }
.back-button { min-height: 52px; border: 1px solid var(--line); border-radius: 12px; padding: 12px 17px; color: #496177; background: white; font-weight: 800; cursor: pointer; }
.consent-field { display: grid; grid-template-columns: 20px minmax(0,1fr); gap: 9px; align-items: start; color: var(--muted); font-size: .78rem; cursor: pointer; }
.consent-field input { width: 18px; height: 18px; margin: 3px 0 0; accent-color: #149aa9; }
.form-disclaimer { margin: 12px 0 0; color: #6a7d8f; font-size: .73rem; line-height: 1.55; text-align: center; }
.submit-status { min-height: 0; margin-top: 8px; color: var(--danger); font-size: .82rem; font-weight: 700; text-align: center; }
.submit-button[disabled] { cursor: wait; opacity: .72; transform: none; }
.button-loader { display: none; width: 18px; height: 18px; border: 2px solid rgba(5,20,38,.25); border-top-color: var(--navy-950); border-radius: 50%; animation: spin .7s linear infinite; }
.submit-button[aria-busy="true"] .button-loader { display: block; }

.process-section, .video-section, .faq-section, .legal-section { padding: 72px 0; }
.process-section { background: var(--surface-soft); }
.section-kicker { margin-bottom: 8px; color: #147c8c; text-align: center; }
.process-section h2, .faq-section h2, .legal-section h2 { margin-bottom: 12px; font-size: clamp(1.65rem, 7vw, 2.3rem); line-height: 1.3; letter-spacing: -.025em; text-align: center; }
.section-intro { max-width: 620px; margin: 0 auto 34px; color: var(--muted); text-align: center; }
.process-list { display: grid; gap: 12px; padding: 0; margin: 0; list-style: none; }
.process-list li { position: relative; padding: 22px; border: 1px solid #e1eaf1; border-radius: var(--radius-md); background: white; }
.process-number { display: block; margin-bottom: 20px; color: #0c8290; font-size: .78rem; font-weight: 900; letter-spacing: .15em; }
.process-list strong { display: block; margin-bottom: 3px; font-size: 1.05rem; }
.process-list p { margin: 0; color: var(--muted); font-size: .86rem; }
.video-section { overflow: hidden; background: linear-gradient(180deg, #ffffff, #f0fbf8); }
.video-heading { display: grid; gap: 8px; margin-bottom: 28px; }
.video-heading .section-kicker { text-align: left; }
.video-heading h2 { margin-bottom: 0; font-size: clamp(1.65rem, 7vw, 2.3rem); line-height: 1.3; letter-spacing: -.025em; }
.video-heading > p { max-width: 560px; margin: 0; color: var(--muted); font-size: .9rem; }
.video-rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(252px, 76vw); gap: 14px; overflow-x: auto; padding: 4px 2px 18px; scroll-snap-type: x mandatory; overscroll-behavior-inline: contain; scrollbar-color: #69bdb5 #dff3ef; }
.video-card { scroll-snap-align: start; overflow: hidden; border: 1px solid #d7ebe6; border-radius: 18px; background: white; box-shadow: 0 13px 34px rgba(7,101,91,.09); }
.video-card video { width: 100%; aspect-ratio: 9 / 16; display: block; background: #dcefeb; object-fit: cover; }
.video-card > div { padding: 16px 17px 19px; }
.video-card > div > span { color: #0b9487; font-size: .72rem; font-weight: 900; letter-spacing: .16em; }
.video-card h3 { margin: 5px 0 7px; color: var(--ink); font-size: 1rem; line-height: 1.45; }
.video-card p { margin: 0; color: var(--muted); font-size: .82rem; line-height: 1.6; }
.video-cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 24px; }
.line-text-link { color: #117934; font-size: .88rem; font-weight: 800; text-underline-offset: 4px; }
.faq-section { background: white; }
.faq-list { margin-top: 30px; border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { min-height: 62px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 15px 2px; font-weight: 800; cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary span { color: #0e8d9d; font-size: 1.35rem; transition: transform .2s ease; }
details[open] summary span { transform: rotate(45deg); }
details > p, details > div { margin: -2px 0 20px; color: var(--muted); font-size: .91rem; }
.legal-section { background: linear-gradient(135deg, #08776d, #168f91 55%, #247faf); color: white; }
.legal-section .section-kicker { color: #d8fff2; }
.legal-grid { margin-top: 30px; border-top: 1px solid rgba(255,255,255,.14); }
.legal-grid details { border-color: rgba(255,255,255,.14); }
.legal-grid summary { color: #eaf5fb; }
.legal-grid details > div { color: #b5c9d8; }
.legal-grid details p { margin-bottom: 10px; }
.site-footer { padding: 26px 0; background: #064f4b; color: #ccebe4; }
.footer-inner { display: grid; gap: 16px; }
.footer-inner strong { color: white; }
.footer-inner p { margin: 3px 0 0; font-size: .75rem; }
.footer-meta { color: #849bae; }

.thank-you-page { min-height: 100vh; display: grid; grid-template-rows: auto 1fr auto; background: linear-gradient(145deg, #e9fbf5, #e8f6ff); color: var(--ink); }
.thank-you-main { display: grid; place-items: center; padding: 48px 0; }
.thank-you-card { width: min(580px, calc(100% - 32px)); border-radius: var(--radius-lg); padding: 34px 24px; color: var(--ink); background: white; box-shadow: var(--shadow); text-align: center; }
.success-mark { width: 66px; height: 66px; display: grid; place-items: center; margin: 0 auto 20px; border-radius: 50%; color: #08707b; background: var(--cyan-100); font-size: 1.8rem; font-weight: 900; }
.thank-you-card h1 { margin-bottom: 12px; font-size: 2rem; }
.thank-you-card > p { color: var(--muted); }
.line-progress-card { margin: 24px 0 18px; border: 1px solid #bcefd1; border-radius: 18px; padding: 20px; background: linear-gradient(145deg, #f1fff6, #e8fbff); text-align: left; box-shadow: 0 14px 28px rgba(11, 161, 115, .1); }
.line-progress-label { display: inline-flex; margin-bottom: 10px; border-radius: 999px; padding: 5px 10px; color: #087a43; background: #d8f7e4; font-size: .76rem; font-weight: 900; }
.line-progress-card h2 { margin: 0 0 8px; color: #075d50; font-size: 1.28rem; }
.line-progress-card p { margin: 0; color: #416d67; font-size: .92rem; }
.line-progress-card ul { display: grid; gap: 6px; margin: 14px 0 0; padding: 0; color: #245f55; list-style: none; font-size: .86rem; font-weight: 700; }
.line-progress-card li::before { content: "✓"; margin-right: 8px; color: #08a657; font-weight: 900; }
.expectation-box { margin: 20px 0 0; border-radius: 12px; padding: 14px 16px; background: var(--surface-soft); text-align: left; }
.expectation-box strong { display: block; margin-bottom: 3px; }
.expectation-box p { margin: 0; color: var(--muted); font-size: .86rem; }
.thank-you-actions { display: grid; gap: 10px; }
.thank-you-actions .line-link { min-height: 58px; background: linear-gradient(135deg, #08b25e, #18b98a); box-shadow: 0 12px 24px rgba(8, 178, 94, .24); }
.thank-you-actions .line-link:hover { filter: brightness(.97); transform: translateY(-1px); }
.line-safety-note { margin: -2px 4px 2px; color: #66817c; font-size: .76rem; }
.secondary-link { min-height: 50px; border: 1px solid var(--line); border-radius: 12px; display: grid; place-items: center; padding: 12px 18px; color: #425b71; font-weight: 800; text-decoration: none; }
.line-link[hidden] { display: none; }

@keyframes spin { to { transform: rotate(360deg); } }
@media (min-width: 720px) {
  .shell, .narrow-shell { width: min(1160px, calc(100% - 64px)); }
  .narrow-shell { width: min(940px, calc(100% - 64px)); }
  .hero { padding: 76px 0 82px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(410px, 480px); align-items: center; gap: 70px; }
  .hero-copy { padding-top: 0; }
  .hero-cta { width: auto; min-width: 220px; }
  .hero-points { grid-template-columns: repeat(3, auto); gap: 18px; }
  .form-card { padding: 30px; }
  .process-list { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .process-list li:not(:last-child)::after { content: "→"; position: absolute; z-index: 2; top: 50%; right: -13px; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: var(--cyan-100); color: #08707b; font-weight: 900; }
  .footer-inner { grid-template-columns: 1fr auto; align-items: end; }
  .footer-meta { text-align: right; }
  .video-heading { grid-template-columns: minmax(0, 1fr) minmax(320px, .8fr); align-items: end; }
  .video-heading > p { justify-self: end; }
  .video-rail { grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: visible; }
}
@media (max-width: 430px) {
  .header-note { display: none; }
  .line-oa-button > span:last-child { display: none; }
  .line-oa-button { padding: 7px 9px; }
  .hero { padding-top: 36px; }
  .form-card { margin-inline: -4px; }
  .choice-card { padding: 10px; }
  .compact-choices { grid-template-columns: repeat(2, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
