:root {
  color-scheme: light;
  --ink: #162d48;
  --body: #455b73;
  --blue: #3557d5;
  --hero: #eff5ff;
  --border: #dce5f0;
  --max: 1176px;
  --margin: clamp(24px, 5vw, 82px);
  font-family: Inter, -apple-system, BlinkMacSystemFont, 'PingFang HK', 'PingFang TC', 'Microsoft JhengHei', 'Noto Sans TC', Arial, sans-serif;
  color: var(--ink);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: #fff; font-size: 16px; line-height: 1.65; }
:where(h1,h2,h3,p,figure) { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button { cursor: pointer; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
:focus-visible { outline: 3px solid #3568cd; outline-offset: 4px; }
button:disabled { cursor: wait; }
svg, img { display: block; }
.symbols { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.wrap { width: min(var(--max), calc(100% - 2 * var(--margin))); margin-inline: auto; }
.skip { position: fixed; top: -90px; left: 16px; z-index: 9; padding: 10px 16px; background: white; }
.skip:focus { top: 10px; }
.header { position: sticky; inset-block-start: 0; z-index: 5; background: #fff; border-bottom: 1px solid #e9eef4; }
.header-inner, .footer-inner, .header-actions, .hero-actions, .section-top { display: flex; align-items: center; }
.header-inner { justify-content: space-between; gap: 18px; min-height: 80px; }
.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand img { width: 115px; height: auto; }
.desktop-nav { display: flex; align-items: center; gap: clamp(14px, 2.45vw, 38px); }
.desktop-nav a { position: relative; display: flex; align-items: center; min-height: 50px; font-size: 14px; font-weight: 600; white-space: nowrap; }
.desktop-nav [aria-current], .desktop-nav a:hover, .mobile-nav [aria-current] { color: var(--blue); }
.desktop-nav [aria-current]::after { content: ''; position: absolute; bottom: 4px; width: 17px; left: calc(50% - 8.5px); height: 2px; border-radius: 99px; background: currentColor; }
.header-actions { gap: 18px; }
.language { border: 1px solid #dce5ef; background: white; color: #324766; min-height: 36px; border-radius: 99px; padding: 4px 11px; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; white-space: nowrap; }
.language .icon { width: 16px; height: 16px; }
.language:hover { background: #f0f5fe; }
.button, .text-link, .footer-book, .map-link { border: 0; display: inline-flex; align-items: center; justify-content: center; gap: 12px; font-size: 15px; font-weight: 650; white-space: nowrap; }
.button { min-height: 49px; padding: 11px 24px; border-radius: 50px; }
.primary { background: var(--blue); color: #fff; transition: background .15s, transform .15s; }
.primary:hover { background: #2947bc; transform: translateY(-1px); }
.head-book { min-height: 42px; padding: 9px 19px; gap: 8px; font-size: 14px; }
.head-book .icon { width: 16px; height: 16px; }
.text-link, .map-link { padding: 8px 0; background: transparent; color: var(--blue); }
.text-link:hover, .map-link:hover, .footer-inner nav a:hover { text-decoration: underline; text-underline-offset: 5px; }
.text-link .icon { width: 16px; height: 16px; }
.menu-toggle { display: none; width: 42px; height: 42px; background: transparent; border: 0; border-radius: 12px; place-items: center; }
.mobile-nav { display: none; }
.hero { background: var(--hero); }
.hero-grid { display: grid; grid-template-columns: .83fr 1.17fr; align-items: center; gap: clamp(32px, 5.1vw, 84px); padding-block: clamp(38px, 4.5vw, 67px); }
.hero-copy { padding-block: 10px; }
h1 { font-size: clamp(52px, 5.25vw, 82px); font-weight: 760; line-height: 1.18; letter-spacing: -.042em; }
h1 span:last-child { color: var(--blue); }
.hero-copy p { max-width: 28em; font-size: clamp(16px, 1.25vw, 18px); margin-top: 24px; color: var(--body); line-height: 1.9; text-wrap: pretty; }
.hero-actions { gap: 26px; margin-top: 31px; flex-wrap: wrap; }
.hero-art { width: 100%; height: auto; aspect-ratio: 1.52; object-fit: cover; object-position: 50% 58%; border-radius: 25px; }
.content-section { padding-block: clamp(52px, 5vw, 80px); }
h2 { font-size: clamp(30px, 3vw, 43px); line-height: 1.25; font-weight: 740; letter-spacing: -.035em; }
.intro { color: var(--body); margin-top: 12px; font-size: 16px; }
.service-groups {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: clamp(14px, 1.8vw, 24px);
  margin-top: 28px;
}
.service-group {
  border: 1px solid var(--border);
  border-radius: 19px;
  background: white;
}
.service-header {
  padding: 22px;
  border-radius: 18px 18px 0 0;
  background: #edf4ff;
}
.service-group:nth-child(2) .service-header { background: #eaf7f4; }
.service-group:nth-child(3) .service-header { background: #f1effd; }
.service-header h3 {
  font-size: clamp(20px, 1.65vw, 24px);
  line-height: 1.35;
  letter-spacing: -.025em;
}
.service-header p, .service-description, .service-note { color: var(--body); font-size: 15px; }
.service-header p { margin-top: 10px; }
.service-item { margin-inline: 20px; }
.service-item + .service-item { border-top: 1px solid var(--border); }
.service-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 54px;
  padding-block: 14px;
  font-weight: 650;
  line-height: 1.45;
  list-style: none;
  cursor: pointer;
}
.service-summary { display: block; margin-top: 4px; font-size: 14px; font-weight: 400; line-height: 1.5; color: var(--body); }
.service-item summary::-webkit-details-marker { display: none; }
.service-item summary:hover, .service-item[open] summary { color: var(--blue); }
.service-item summary .icon { width: 16px; height: 16px; transition: transform .15s; }
.service-item[open] summary .icon { transform: rotate(180deg); }
.service-program { margin-bottom: 5px; font-size: 14px; font-weight: 650; }
.service-description { padding-bottom: 20px; line-height: 1.8; }
.service-note { margin-top: 17px; }
.section-top { justify-content: space-between; gap: 20px; }
.guide { background: #f0f5ff; }
.steps { list-style: none; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); padding: 0; margin: 36px 0 0; gap: 30px; }
.steps li { display: flex; gap: 16px; align-items: flex-start; }
.steps li + li { border-inline-start: 1px solid #d1def2; padding-inline-start: 28px; }
.stage-icon { display: grid; width: 47px; height: 47px; flex: none; place-items: center; }
.stage-icon :is(svg,img) { width: 100%; height: auto; }
.steps h3 { font-size: 20px; line-height: 1.4; margin: 3px 0 8px; }
.steps p { color: var(--body); font-size: 15px; line-height: 1.8; }
.faq-layout { display: grid; grid-template-columns: .8fr 1.6fr; gap: 50px; }
.questions details { border-bottom: 1px solid var(--border); }
.questions details:first-child { border-top: 1px solid var(--border); }
.questions summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 2px; font-weight: 630; cursor: pointer; line-height: 1.5; }
.questions summary::-webkit-details-marker { display: none; }
.questions summary:hover { color: var(--blue); }
.questions .icon { width: 16px; transition: transform .15s; }
.questions [open] .icon { transform: rotate(180deg); }
.questions p { margin: -3px 0 21px; line-height: 1.85; color: var(--body); }
.contact { background: #172f4d; color: #fff; }
.contact .intro { color: #d2deec; max-width: 27em; }
.contact-grid { display: grid; grid-template-columns: .8fr 1.6fr; gap: 50px; }
.contact-list { margin: 0; display: grid; grid-template-columns: .8fr 1.2fr; gap: 36px; }
.contact-list dt { color: #c6d8ea; font-size: 14px; margin: 0 0 9px; }
.contact-list dd { margin: 0; line-height: 1.65; font-size: 18px; font-weight: 550; }
.contact-list .phone { white-space: nowrap; font-variant-numeric: tabular-nums; font-size: 21px; }
.contact-list .map-link { color: #b2d3ff; font-size: 14px; min-height: 40px; gap: 6px; }
.contact-list .map-link .icon { width: 15px; height: 15px; }
.footer { background: white; }
.footer-inner { justify-content: space-between; gap: 25px; padding-block: 23px; }
.footer-inner .brand img { width: 95px; }
.footer-inner nav { display: flex; flex-wrap: wrap; gap: 26px; color: var(--body); font-size: 14px; }
.footer-book { background: transparent; color: var(--blue); padding: 7px 0; }
.footer-book .icon { width: 16px; }
body:has(dialog[open]) { overflow: hidden; }
html:lang(en) h1 { font-size: clamp(44px,4.65vw,72px); letter-spacing: -.057em; line-height: 1.07; }
html:lang(en) .hero-copy p { line-height: 1.6; }
html:lang(en) .desktop-nav { gap: clamp(12px,1.8vw,28px); }
html:lang(en) .hero-actions { gap: 18px; }
@media (max-width: 960px) {
  :root { --margin: 30px; }
  .header-inner { min-height: 70px; }
  .header-actions { gap: 8px; }
  .brand img { width: 98px; }
  .hero-grid { gap: 32px; grid-template-columns: .95fr 1.05fr; }
  .hero-art { aspect-ratio: 1.2; }
  .hero-actions { gap: 16px; }
  .hero-actions .button { padding-inline: 19px; }
  .service-header { padding: 18px; }
  .service-item { margin-inline: 16px; }
  .steps { gap: 16px; }
  .steps li { display: block; }
  .steps li + li { padding-inline-start: 18px; }
  .stage-icon { margin-bottom: 12px; }
  .contact-grid,.faq-layout { gap: 26px; }
}
@media (max-width: 820px) {
  .desktop-nav { display: none; }
  .menu-toggle { display: grid; }
  .mobile-nav:not([hidden]) { display: grid; position: absolute; left: 0; right: 0; padding: 4px var(--margin) 14px; border-bottom: 1px solid var(--border); background: white; box-shadow: 0 12px 21px #142e4b0c; }
  .mobile-nav a { padding: 10px 0; font-size: 15px; }
  .service-groups { grid-template-columns: 1fr; }
  .contact-grid,.faq-layout { grid-template-columns: 1fr; }
}
@media (max-width: 650px) {
  :root { --margin: 21px; }
  html { scroll-padding-top: 76px; }
  .header-inner { min-height: 64px; gap: 8px; }
  .brand img { width: 88px; }
  .header-actions { gap: 6px; }
  .head-book { min-height: 37px; padding: 7px 14px; font-size: 13px; gap: 4px; }
  .head-book .icon { width: 14px; }
  .menu-toggle { width: 35px; height: 38px; }
  .language { min-height: 35px; padding: 5px 8px; }
  .hero-grid { grid-template-columns: 1fr; gap: 27px; padding-block: 35px 25px; }
  .hero-copy { padding: 0; }
  h1 { font-size: clamp(51px,10.8vw,64px); line-height: 1.14; }
  html:lang(en) h1 { font-size: clamp(46px,9.6vw,62px); }
  .hero-copy p { margin-top: 16px; max-width: 32em; font-size: 16px; line-height: 1.75; }
  .hero-actions { margin-top: 20px; column-gap: 20px; row-gap: 5px; }
  .button { min-height: 45px; }
  .head-book { min-height: 37px; }
  .hero-art { border-radius: 18px; aspect-ratio: 1.7; object-position: 50% 62%; }
  .content-section { padding-block: 43px; }
  h2 { font-size: 30px; }
  .intro { margin-top: 9px; font-size: 15px; }
  .service-groups { margin-top: 20px; }
  .section-top { display: block; }
  .section-top > .text-link { margin-top: 8px; }
  .steps { grid-template-columns: 1fr; margin-top: 17px; gap: 0; }
  .steps li { display: flex; gap: 16px; padding: 17px 0; }
  .steps li + li { border: 0; border-top: 1px solid #d1def2; padding-inline-start: 0; }
  .steps li:last-child { padding-bottom: 0; }
  .stage-icon { width: 41px; height: 41px; margin: 0; }
  .steps h3 { font-size: 18px; }
  .faq-layout,.contact-grid { gap: 24px; }
  .questions summary { padding: 17px 0; }
  .contact-list { grid-template-columns: 1fr; gap: 22px; }
  .contact-list dt { margin-bottom: 2px; }
  .footer-inner nav { display: none; }
  .footer-inner .brand img { width: 85px; }
}
@media (max-width: 390px) {
  :root { --margin: 16px; }
  .header-inner .brand img { width: 78px; }
  .head-book { padding-inline: 11px; }
  .head-book .icon, .language .icon { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
