:root {
  color-scheme: light;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "PingFang HK", "PingFang TC", "Noto Sans CJK TC", "Microsoft JhengHei", sans-serif;
  --ink: #0b1930;
  --muted: #465772;
  --blue: #1c50ca;
  --line: #dce4f0;
  --navy: #07152e;
  --shell: 1232px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; color: var(--ink); background: #fff; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
img { display: block; max-width: 100%; }
p, h1, h2, h3 { margin: 0; }
:focus-visible { outline: 3px solid #4586ff; outline-offset: 4px; }
.shell { width: min(var(--shell), calc(100% - 112px)); margin-inline: auto; }
.visually-hidden, .skip-link:not(:focus) {
  position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}
.skip-link { position: fixed; z-index: 5; left: 16px; top: 12px; background: white; padding: 12px; border-radius: 4px; }

.header { position: sticky; top: 0; z-index: 3; background: #fff; border-bottom: 1px solid #e9edf4; }
.header-inner { height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.wordmark { display: inline-flex; align-items: center; gap: 10px; font-size: 25px; letter-spacing: -.055em; font-weight: 770; white-space: nowrap; line-height: 1; }
.wordmark b { color: #275ccf; font-size: .83em; }
.mark { display: inline-flex; gap: 3px; align-items: center; height: 28px; }
.mark i { display: block; width: 4px; background: #275ccf; border-radius: 3px; height: 10px; }
.mark i:nth-child(2), .mark i:nth-child(4) { height: 17px; }
.mark i:nth-child(3) { height: 25px; }
.navigation { display: flex; align-items: center; gap: clamp(22px, 3.2vw, 50px); font-size: 14px; font-weight: 600; }
.navigation a { padding-block: 12px; white-space: nowrap; }
.navigation a:hover, .footer a:hover { color: var(--blue); }
.header-action { display: inline-flex; align-items: center; gap: 14px; border: 1px solid #c7d6ed; border-radius: 5px; padding: 10px 15px; color: #1648ae; font-size: 14px; font-weight: 650; white-space: nowrap; }
.header-action:hover { background: #edf3ff; border-color: #9eb7e7; }
.menu-toggle { display: none; }

.hero { position: relative; overflow: hidden; color: #fff; min-height: clamp(530px, 47vw, 665px); display: grid; align-items: center; isolation: isolate; background: var(--navy); }
.hero::before, .hero::after { content: ""; position: absolute; inset: 0; z-index: -1; }
.hero::before { background: url("./voice-wave.webp") 59% 50% / cover no-repeat; }
.hero::after { background: linear-gradient(90deg, rgba(5,16,39,.83) 0%, rgba(5,16,39,.49) 43%, rgba(5,16,39,.02) 75%); }
.hero-inner { padding-block: 70px 88px; }
.hero-topic { color: #9cdaff; display: inline-flex; align-items: center; gap: 11px; font-size: 14px; font-weight: 680; letter-spacing: .15em; }
.hero-topic span { width: 22px; height: 2px; background: #67b7ff; display: inline-block; }
.hero h1 { margin-top: 21px; font-size: clamp(44px, 5.25vw, 80px); line-height: 1.14; font-weight: 760; letter-spacing: .018em; }
.hero h1 em { color: #a8d9ff; font-style: normal; }
.hero-copy { max-width: 440px; margin-top: 26px; color: #d2e1f7; font-size: clamp(15px, 1.35vw, 18px); line-height: 1.9; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 34px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 16px; min-height: 48px; border: 1px solid transparent; border-radius: 5px; padding: 10px 18px; white-space: nowrap; font-size: 14px; font-weight: 690; transition: background .2s, border-color .2s; }
.button span, .header-action span { font: 600 18px/1 Arial, sans-serif; }
.button-light { background: #fff; color: #102754; }
.button-light:hover { background: #d7ecff; }
.button-outline { border-color: #8099bc; color: #f5f9ff; background: #0a1c35aa; }
.button-outline:hover { background: #183255; }
.hero-bottom { position: absolute; left: 0; right: 0; bottom: 25px; pointer-events: none; }
.hero-bottom a { pointer-events: auto; display: inline-grid; place-items: center; border: 1px solid #a6bbd077; width: 34px; height: 34px; border-radius: 50%; color: #d9eeff; font-family: Arial, sans-serif; }
.hero-bottom a:hover { background: #ffffff24; }

.section { padding-block: 78px 92px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 16px 32px; padding-bottom: 24px; margin-bottom: 30px; border-bottom: 1px solid var(--line); }
h2 { font-size: clamp(30px, 3.2vw, 47px); letter-spacing: .015em; line-height: 1.18; font-weight: 740; }
.section-heading p { color: var(--muted); font-size: 15px; line-height: 1.7; }
.solution-grid, .guide-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.solution-card { overflow: hidden; border: 1px solid var(--line); border-radius: 9px; background: white; display: flex; flex-direction: column; }
.solution-card img { aspect-ratio: 16/10; width: 100%; height: auto; object-fit: cover; background: #dce8f5; }
.card-copy { padding: 24px; display: flex; flex-direction: column; align-items: flex-start; flex: 1; }
.card-copy h3 { font-size: 25px; line-height: 1.2; }
.card-copy p { margin: 10px 0 18px; color: var(--muted); line-height: 1.75; font-size: 15px; }
.card-copy a { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; color: #164fbd; font-weight: 680; font-size: 14px; padding-block: 5px; }
.card-copy a:hover { text-decoration: underline; text-underline-offset: 4px; }

.technology { color: #fff; background: #07162e; padding-block: 78px; }
.tech-layout { display: grid; grid-template-columns: .94fr 1.06fr; gap: clamp(35px, 6vw, 100px); align-items: center; }
.tech-intro { margin-top: 14px; color: #bccde7; font-size: 17px; line-height: 1.7; }
.tech-list { margin-top: 23px; border-top: 1px solid #41516d; }
.tech-list details { border-bottom: 1px solid #41516d; }
.tech-list summary { cursor: pointer; list-style: none; min-height: 55px; display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 16px; font-weight: 680; }
.tech-list summary::-webkit-details-marker { display: none; }
.tech-list summary span::before { content: "+"; color: #8dcaff; font-size: 24px; font-weight: 400; }
.tech-list details[open] summary span::before { content: "−"; }
.tech-list details p { padding-bottom: 15px; color: #c5d6ef; font-size: 14px; line-height: 1.8; }
.tech-art { width: 100%; height: auto; object-fit: cover; aspect-ratio: 5/4; border-radius: 9px; border: 1px solid #294769; background: #0e2343; }

.guide { min-height: 133px; background: #f4f7fd; border: 1px solid #e2eaf7; border-radius: 8px; padding: 20px; display: flex; justify-content: space-between; align-items: start; gap: 12px; transition: background .2s; }
.guide:hover { background: #e9f1ff; }
.guide span { display: block; color: #2358b7; font-size: 13px; font-weight: 680; margin-bottom: 9px; }
.guide h3 { font-size: 19px; line-height: 1.42; }
.guide b { font-size: 21px; line-height: 1; color: #2459c1; }
.about { background: #eef4ff; border-block: 1px solid #e2ebfb; padding-block: 65px; }
.about-inner { display: flex; gap: 22px 40px; align-items: center; justify-content: space-between; }
.about p { max-width: 630px; margin-top: 14px; color: var(--muted); line-height: 1.9; }
.button-primary { background: #2054ca; color: white; }
.button-primary:hover { background: #1541aa; }
.footer { background: white; padding-block: 32px; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.footer .wordmark { font-size: 22px; }
.footer nav { display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: 13px; }
.footer small { color: #53637a; font-size: 12px; white-space: nowrap; }

@media (max-width: 960px) {
  .shell { width: calc(100% - 64px); }
  .card-copy { padding: 18px; }
  .guide { min-height: 145px; }
}

@media (max-width: 760px) {
  html { scroll-padding-top: 73px; }
  .shell { width: calc(100% - 36px); }
  .header-inner { height: 62px; }
  .wordmark { font-size: 22px; }
  .header-action { display: none; }
  .menu-toggle { display: inline-grid; place-items: center; width: 43px; height: 43px; background: #f0f5fd; color: #1b3f7c; border: 0; border-radius: 6px; }
  .menu-lines, .menu-lines::before, .menu-lines::after { width: 18px; height: 2px; background: currentColor; display: block; border-radius: 1px; }
  .menu-lines { position: relative; }
  .menu-lines::before, .menu-lines::after { position: absolute; content: ""; }
  .menu-lines::before { top: -6px; }
  .menu-lines::after { top: 6px; }
  .menu-toggle[aria-expanded="true"] .menu-lines { background: transparent; }
  .menu-toggle[aria-expanded="true"] .menu-lines::before { top: 0; transform: rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-lines::after { top: 0; transform: rotate(-45deg); }
  .navigation { display: none; position: absolute; left: 0; right: 0; top: 100%; padding: 8px 18px 14px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 12px 18px #07152e15; }
  .navigation.is-open { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .navigation a + a { border-top: 1px solid #edf0f6; }
  .navigation a { padding: 13px 5px; }
  .hero { min-height: 525px; align-items: start; }
  .hero::before { background-position: 63% 100%; background-size: auto 100%; }
  .hero::after { background: linear-gradient(155deg, #07152ef5 12%, #07152ecd 43%, #07152e18 86%); }
  .hero-inner { padding-block: 57px 100px; }
  .hero h1 { font-size: clamp(34px, 8.7vw, 53px); margin-top: 17px; }
  .hero-copy { margin-top: 21px; max-width: 365px; }
  .hero-actions { gap: 9px; margin-top: 25px; }
  .hero-actions .button { gap: 8px; padding-inline: 12px; font-size: 13px; }
  .section { padding-block: 49px 55px; }
  .section-heading { display: block; margin-bottom: 21px; padding-bottom: 16px; }
  .section-heading p { margin-top: 9px; }
  .solution-grid, .guide-grid { grid-template-columns: 1fr; gap: 15px; }
  .solution-card img { aspect-ratio: 16/9; }
  .technology { padding-block: 49px; }
  .tech-layout { grid-template-columns: 1fr; gap: 22px; }
  .tech-art { aspect-ratio: 16/10; }
  .guide { min-height: 0; padding: 17px; }
  .about { padding-block: 42px; }
  .about-inner, .footer-inner { align-items: start; flex-direction: column; }
  .footer { padding-block: 24px; }
  .footer-inner { gap: 17px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

.navigation { gap: clamp(13px, 2.1vw, 34px); }
.navigation .is-current { color: var(--blue); }
.tech-link { display: inline-flex; gap: 8px; color: #a8d9ff; font-size: 14px; padding-bottom: 14px; }
.tech-link:hover { text-decoration: underline; text-underline-offset: 4px; }

.page-hero { background: #08182f; color: #fff; }
.page-hero-inner { display: grid; grid-template-columns: minmax(0, 1fr); align-items: center; padding-block: 56px 65px; }
.page-hero.has-art .page-hero-inner { grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr); gap: clamp(30px, 5vw, 75px); }
.page-hero img { width: 100%; height: auto; aspect-ratio: 16 / 8.5; object-fit: cover; border-radius: 8px; border: 1px solid #32496a; }
.page-hero h1 { font-size: clamp(37px, 5vw, 66px); line-height: 1.15; letter-spacing: .018em; }
.page-hero p { max-width: 620px; margin-top: 17px; color: #cbdaf0; font-size: clamp(16px, 1.4vw, 19px); line-height: 1.8; }
.breadcrumbs { margin-bottom: 22px; color: #cbdaf0; font-size: 13px; line-height: 1.6; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 4px 10px; margin: 0; padding: 0; list-style: none; }
.breadcrumbs li + li::before { content: "/"; margin-right: 10px; color: #8095b7; }
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs [aria-current] { color: #fff; }

.directory { padding-block: 53px 68px; }
.directory h2 { margin-bottom: 25px; font-size: clamp(26px, 3vw, 35px); }
.directory-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 19px; }
.directory-card { min-width: 0; overflow: hidden; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 8px; background: #f6f9fe; transition: border-color .2s, background .2s; }
.directory-card:hover { border-color: #a3bbeb; background: #edf4ff; }
.directory-card img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; background: #dce8f5; }
.directory-copy { display: flex; flex-direction: column; flex: 1; padding: 23px; }
.directory-copy h3 { font-size: 22px; line-height: 1.3; }
.directory-copy p { margin: 10px 0 16px; color: var(--muted); line-height: 1.75; font-size: 15px; }
.directory-arrow { margin-top: auto; color: #2459c1; font-size: 21px; font-weight: 680; }

.page-body { padding-block: 57px 24px; }
.page-body.has-sidebar { display: grid; grid-template-columns: minmax(0, 690px) minmax(205px, 275px); align-items: start; justify-content: space-between; gap: 35px; }
.page-article { max-width: 750px; }
.page-article section { padding-bottom: 23px; }
.page-article section + section { padding-top: 23px; border-top: 1px solid var(--line); }
.page-article h2 { font-size: clamp(23px, 2.5vw, 30px); }
.page-article p { margin-top: 12px; color: var(--muted); line-height: 1.9; font-size: 17px; }
.page-sidebar { position: sticky; top: 99px; }
.page-sidebar nav { display: grid; padding: 15px; background: #f5f8fd; border-radius: 8px; border: 1px solid var(--line); }
.page-sidebar a { border-radius: 5px; padding: 10px 12px; line-height: 1.45; font-size: 14px; }
.page-sidebar a:hover, .page-sidebar [aria-current] { background: #e6efff; color: #173e8c; }
.page-sidebar [aria-current] { font-weight: 700; }
.page-sidebar .sidebar-heading { font-weight: 730; font-size: 16px; margin-bottom: 4px; display: flex; justify-content: space-between; gap: 8px; }
.page-body + .directory { border-top: 1px solid var(--line); padding-top: 38px; }
.footer { border-top: 1px solid var(--line); }

@media (max-width: 950px) {
  .directory-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .header-inner { gap: 15px; }
  .header-action { display: none; }
}

@media (max-width: 760px) {
  .navigation.is-open { gap: 0; }
  .page-hero-inner { padding-block: 32px 38px; }
  .page-hero.has-art .page-hero-inner { grid-template-columns: 1fr; gap: 23px; }
  .page-hero h1 { font-size: clamp(34px, 9.4vw, 48px); }
  .breadcrumbs { margin-bottom: 16px; }
  .page-hero p { margin-top: 11px; }
  .directory { padding-block: 38px 46px; }
  .directory h2 { margin-bottom: 17px; }
  .directory-grid { grid-template-columns: 1fr; gap: 14px; }
  .directory-copy { padding: 18px; }
  .page-body { padding-block: 37px 23px; }
  .page-body.has-sidebar { grid-template-columns: 1fr; gap: 5px; }
  .page-article p { font-size: 16px; }
  .page-sidebar { position: static; }
}
