@font-face { font-family: "Inter"; src: url(/assets/fonts/inter-latin-var.woff2) format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0000-00FF, U+2013-2014, U+2018-201D, U+2022, U+2026; }

:root {
  --navy: #06204D; --deep: #021A42; --ink: #0B1F44; --muted: #4F5B70; --blue: #0148C6; --sky: #0A9BFF; --lime: #C9F802;
  --line: #E2E7EF; --soft: #F5F7FA; --on-dark: #C5D3EB;
  --sans: "Inter","PingFang TC","Noto Sans CJK TC","Noto Sans TC","Source Han Sans TC","Microsoft JhengHei",sans-serif;
  --ease-out: cubic-bezier(.23,1,.32,1);
  font-family: var(--sans); color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #FFFFFF; font-size: 1rem; line-height: 1.75; letter-spacing: .01em; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.dark :focus-visible { outline-color: var(--lime); }
.wrap { width: min(calc(100% - 2.5rem), 72rem); margin-inline: auto; }
h1, h2, h3 { margin: 0; color: var(--navy); text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 4.8vw, 3.75rem); font-weight: 800; line-height: 1.15; letter-spacing: -.015em; }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.25rem); font-weight: 800; line-height: 1.25; letter-spacing: -.01em; }
h3 { font-size: 1.125rem; font-weight: 700; line-height: 1.45; }
p { margin: 0; }
.eyebrow { display: inline-block; margin-bottom: .75rem; font-size: .8125rem; font-weight: 700; letter-spacing: .08em; color: var(--blue); }
.dark .eyebrow { color: var(--lime); }

/* buttons & links */
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.button { display: inline-flex; align-items: center; min-height: 48px; padding-inline: 1.4rem; border-radius: 10px; border: 1px solid var(--blue); background: var(--blue); color: #FFFFFF; font-weight: 700; text-decoration: none; transition: background-color 160ms ease, border-color 160ms ease, transform 160ms var(--ease-out); }

.button.secondary { background: transparent; border-color: rgba(255,255,255,.35); }
.link { display: inline-flex; align-items: center; gap: .35rem; min-height: 44px; color: var(--blue); font-weight: 700; text-decoration: none; }
.link span { transition: transform 220ms var(--ease-out); }

/* header + hero (dark) */
.site-header { border-bottom: 1px solid rgba(255,255,255,.08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 68px; }
.brand { display: flex; align-items: center; gap: .55rem; min-height: 44px; color: #FFFFFF; text-decoration: none; font-weight: 800; letter-spacing: .04em; }
.brand img { width: 30px; height: 30px; }
.brand small { font: 600 .7rem/1 var(--sans); letter-spacing: .16em; color: var(--on-dark); margin-left: .25rem; }
.nav { display: none; gap: 2rem; }
.nav a { position: relative; display: flex; align-items: center; min-height: 44px; color: var(--on-dark); text-decoration: none; font-size: .9375rem; font-weight: 600; transition: color 160ms ease; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 8px; height: 2px; background: var(--lime); transform: scaleX(0); transform-origin: left; transition: transform 220ms var(--ease-out); }
.hero { display: grid; gap: 1rem; align-items: center; padding-top: 3rem; }
.dark .hero h1 { color: #FFFFFF; }
.dark .hero h1 em { font-style: normal; color: var(--lime); }
.hero .sub { margin-top: 1.25rem; max-width: 27em; color: var(--on-dark); font-size: clamp(1.05rem, 1.5vw, 1.2rem); line-height: 1.7; }
.hero-art { margin: 0 -1.25rem 0; }
.hero-art img { width: 100%; }
.trust { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; margin-top: 1.75rem; color: var(--on-dark); font-size: .9rem; }
.trust span { display: inline-flex; align-items: center; gap: .45rem; }
.trust span::before { content: ""; width: .45rem; height: .45rem; border-radius: 50%; background: var(--lime); }

/* sections */
.section { padding-block: clamp(3.5rem, 7vw, 6rem); }
.section.soft { background: var(--soft); }
.head { display: grid; gap: .75rem; margin-bottom: 2.5rem; max-width: 40rem; }
.head p { color: var(--muted); font-size: 1.0625rem; }

/* app family */
.apps { display: grid; gap: 1rem; }
.app { display: grid; grid-template-columns: 72px 1fr; gap: 1rem 1.25rem; align-items: start; padding: 1.5rem; border: 1px solid var(--line); border-radius: 16px; background: #FFFFFF; text-decoration: none; transition: border-color 160ms ease, box-shadow 220ms var(--ease-out), transform 160ms var(--ease-out); }

.app .icon { width: 72px; height: 72px; border-radius: 18px; box-shadow: 0 8px 20px -10px rgba(6,32,77,.55); }
.app h3 { font-size: 1.25rem; }
.app p { margin-top: .35rem; color: var(--muted); font-size: .95rem; }
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .9rem; margin-top: .9rem; font-size: .85rem; color: var(--muted); }
.status { display: inline-flex; align-items: center; gap: .4rem; padding: .2rem .65rem; border-radius: 999px; background: #EAF6EE; color: #11652F; font-weight: 700; }
.status::before { content: ""; width: .45rem; height: .45rem; border-radius: 50%; background: #16A34A; }
.app.next .icon { display: grid; place-items: center; background: var(--soft); border: 1.5px dashed #C3CCDA; box-shadow: none; color: #8B97AA; font-size: 1.6rem; font-weight: 300; }
.app.next { background: #FCFDFE; }
.more { margin-top: 1rem; color: var(--muted); font-size: .95rem; }

/* spotlight */
.spot { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem; align-items: start; }
.spot-title { display: flex; align-items: center; gap: .9rem; margin-bottom: 1.25rem; }
.spot-title img { width: 56px; height: 56px; border-radius: 14px; }
.spot .lead { font-size: 1.1rem; font-weight: 600; color: var(--navy); line-height: 1.75; }

.points { list-style: none; margin: 1.5rem 0; padding: 0; }
.points li { display: grid; grid-template-columns: 1.5rem 1fr; gap: .5rem; padding-block: .8rem; border-top: 1px solid var(--line); }
.points li:last-child { border-bottom: 1px solid var(--line); }
.points li::before { content: ""; width: .8rem; height: .45rem; margin-top: .6em; border: solid var(--blue); border-width: 0 0 2.5px 2.5px; transform: rotate(-45deg); }
.gallery { display: grid; grid-auto-flow: column; grid-auto-columns: min(72%, 270px); gap: 1rem; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; padding-bottom: 1rem; scrollbar-width: thin; }
.gallery figure { margin: 0; scroll-snap-align: start; border-radius: 14px; overflow: hidden; box-shadow: 0 0 0 1px var(--line), 0 14px 30px -20px rgba(6,32,77,.45); background: #FFFFFF; }
.hint { margin-top: .25rem; font-size: .85rem; color: var(--muted); }

/* values */
.values { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.5rem; }
.values li { padding-top: 1rem; border-top: 2px solid var(--navy); }
.values p { margin-top: .35rem; color: var(--muted); font-size: .95rem; }

/* guides */
.guides { display: grid; gap: 1rem; }
.guide { display: grid; gap: .35rem; padding: 1.5rem; border: 1px solid var(--line); border-radius: 16px; text-decoration: none; transition: border-color 160ms ease; }
.guide h3 { display: flex; justify-content: space-between; }
.guide h3 span { color: var(--blue); transition: transform 220ms var(--ease-out); }
.guide p { color: var(--muted); font-size: .95rem; }

/* footer */
.site-footer { background: var(--deep); color: var(--on-dark); }
.footer-inner { display: grid; gap: 2rem; padding-block: 3rem 2rem; }
.footer-brand { display: flex; align-items: center; gap: .55rem; color: #FFFFFF; font-weight: 800; letter-spacing: .04em; }
.footer-brand img { width: 28px; }
.site-footer nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1.5rem; }
.site-footer nav a { display: flex; align-items: center; min-height: 44px; color: #FFFFFF; text-decoration: none; font-size: .95rem; }
.fine { font-size: .875rem; }
.copy { border-top: 1px solid rgba(255,255,255,.1); padding-block: 1.25rem 2.5rem; font-size: .85rem; }

/* bottom-right helper */
.buddy { position: fixed; right: 16px; bottom: 12px; z-index: 20; }
.buddy summary { display: flex; align-items: flex-end; gap: .5rem; cursor: pointer; list-style: none; }
.buddy summary::-webkit-details-marker { display: none; }
.buddy img { width: 60px; filter: drop-shadow(0 8px 12px rgba(6,32,77,.25)); transform-origin: 50% 100%; transition: transform 220ms var(--ease-out); }
.buddy .bubble { display: none; margin-bottom: 16px; padding: .5rem .85rem; border-radius: 999px; background: #FFFFFF; color: var(--navy); font-size: .85rem; font-weight: 700; box-shadow: 0 0 0 1px var(--line), 0 10px 24px -12px rgba(6,32,77,.35); }
.buddy[open] .buddy-menu { position: absolute; right: 0; bottom: calc(100% + 8px); display: grid; min-width: 13rem; padding: .5rem; border-radius: 12px; background: #FFFFFF; box-shadow: 0 0 0 1px var(--line), 0 24px 48px -20px rgba(6,32,77,.45); }
.buddy-menu a { display: flex; justify-content: space-between; align-items: center; min-height: 44px; padding-inline: .75rem; border-radius: 8px; color: var(--navy); font-weight: 600; text-decoration: none; }
.buddy-menu a span { color: var(--blue); }
.buddy-menu a:focus-visible { background: var(--soft); }


@media (hover: hover) and (pointer: fine) {
  .button:hover { background: #0A57E0; border-color: #0A57E0; }
  .nav a:hover { color: #FFFFFF; }
  .nav a:hover::after { transform: scaleX(1); }
  .link:hover span, .guide:hover h3 span, a.app:hover .link span { transform: translateX(4px); }
  a.app:hover { border-color: #BFD0EE; box-shadow: 0 18px 40px -28px rgba(6,32,77,.5); }
  .guide:hover { border-color: var(--blue); }
  .site-footer nav a:hover { text-decoration: underline; text-decoration-color: var(--lime); text-underline-offset: 5px; }
  .buddy-menu a:hover { background: var(--soft); }
  .buddy summary:hover img { transform: rotate(-6deg) translateY(-2px); }
}
.link:focus-visible span, .guide:focus-visible h3 span { transform: translateX(4px); }
.nav a:focus-visible::after { transform: scaleX(1); }

@media (min-width: 40rem) {
  .apps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .values { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 56rem) {
  .nav { display: flex; }
  .hero { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 2rem; padding-top: 3.5rem; }
  .hero-art { margin: 0; }
  .apps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .spot { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 4rem; }
  .values { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .guides { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1.2fr 1fr 1fr; }
  .buddy { right: 24px; bottom: 16px; }
  .buddy img { width: 76px; }
}
@media (prefers-reduced-motion: no-preference) {
  @keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
  .hero > div, .hero-art { animation: rise 520ms var(--ease-out) both; }
  .hero-art { animation-delay: 140ms; animation-duration: 700ms; }
  @supports (animation-timeline: view()) and (animation-range: entry) {
    @keyframes reveal { from { opacity: .92; transform: translateY(16px); } to { opacity: 1; transform: none; } }
    .head, .values li { animation: reveal auto linear both; animation-timeline: view(); animation-range: entry 0% entry 40%; }
  }
}
/* blend the phone image into the hero: fade all four edges */
.hero-art img {
  -webkit-mask-image: linear-gradient(to right, transparent, #000 14%, #000 88%, transparent), linear-gradient(to bottom, transparent, #000 12%, #000 80%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent, #000 14%, #000 88%, transparent), linear-gradient(to bottom, transparent, #000 12%, #000 80%, transparent);
  mask-composite: intersect;
}
.dark { color: #FFFFFF; background: radial-gradient(70% 80% at 78% 45%, #0A3078 0%, rgba(10,48,120,0) 70%), linear-gradient(180deg, #031D4A, #01173D); }
.section.dark { background: linear-gradient(180deg, #031D4A, #01173D); }
.site-header { position: relative; }
.menu summary { display: flex; align-items: center; min-height: 44px; padding-inline: .5rem; color: #FFFFFF; font-weight: 700; cursor: pointer; list-style: none; }
.menu summary::-webkit-details-marker { display: none; }
.menu[open] nav { position: absolute; left: 0; right: 0; top: 68px; z-index: 30; display: grid; padding: .5rem 1.25rem 1rem; background: #031D4A; border-bottom: 1px solid rgba(255,255,255,.1); }
.menu nav a { display: flex; align-items: center; min-height: 48px; color: #FFFFFF; text-decoration: none; }
@media (min-width: 56rem) { .menu { display: none; } }
.hero .sub { text-wrap: pretty; }

/* ===== v9: sticky "how it is made" story (CSS only) ===== */
.story .head p { color: var(--on-dark); }
.story h2, .story h3 { color: #FFFFFF; }
.story-grid { display: grid; gap: 2rem; }
.stage { display: none; }
.chapters { list-style: none; margin: 0; padding: 0; display: grid; gap: 3rem; }
.ch { display: grid; gap: .5rem; align-content: start; }
.ch .inline { width: min(68%, 260px); margin-bottom: 1rem; border-radius: 22px; }
.ch h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); font-weight: 800; color: var(--lime); }
.ch p { color: var(--on-dark); max-width: 30em; }
.ch .metric { margin-top: .25rem; padding-top: .75rem; border-top: 1px solid rgba(255,255,255,.14); font-size: .9rem; color: rgba(255,255,255,.88); }
.stats { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.stats li { display: grid; gap: .35rem; align-content: start; padding: 1.25rem; border: 1px solid var(--line); border-radius: 16px; background: #FFFFFF; }
.stats b { font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 800; line-height: 1.1; color: var(--navy); letter-spacing: -.01em; }
.stats small { margin-left: .25rem; font-size: .95rem; font-weight: 700; color: var(--muted); }
.stats span { color: var(--muted); font-size: .92rem; }
@media (min-width: 56rem) { .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

@supports (animation-timeline: view()) and (timeline-scope: --chapter) and (view-timeline-inset: 50%) {
  @media (min-width: 56rem) and (prefers-reduced-motion: no-preference) {
    .story-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4rem; timeline-scope: --c1, --c2, --c3, --c4; }
    .stage { display: grid; gap: 1.5rem; justify-items: center; position: sticky; top: clamp(1rem, 8vh, 5rem); align-self: start; }
    .tabs { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; }
    .tabs li { display: inline-flex; align-items: center; gap: .4rem; padding: .35rem .8rem; border-radius: 999px; border: 1px solid rgba(255,255,255,.18); color: var(--on-dark); font-size: .85rem; }
    .tabs b { font-weight: 800; }
    .screen { position: relative; width: min(300px, 36vh); aspect-ratio: 310 / 615; }
    .screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; }
    .chapters { gap: 0; }
    /* Each chapter activates its screen and tab when it crosses the viewport midpoint. */
    .ch { min-height: 72vh; align-content: center; view-timeline-inset: 50% calc(50% - 1px); }
    .ch .inline { display: none; }
    .c1 { view-timeline-name: --c1; } .c2 { view-timeline-name: --c2; } .c3 { view-timeline-name: --c3; } .c4 { view-timeline-name: --c4; }
    @keyframes show-screen { from { opacity: 1; } to { opacity: 1; } }
    @keyframes active-tab {
      from, to { background: var(--lime); color: var(--navy); border-color: var(--lime); }
    }
    .f1 { animation: show-screen auto linear; animation-timeline: --c1; } .f2 { animation: show-screen auto linear; animation-timeline: --c2; }
    .f3 { animation: show-screen auto linear; animation-timeline: --c3; } .f4 { animation: show-screen auto linear; animation-timeline: --c4; }
    .t1 { animation: active-tab auto linear; animation-timeline: --c1; } .t2 { animation: active-tab auto linear; animation-timeline: --c2; }
    .t3 { animation: active-tab auto linear; animation-timeline: --c3; } .t4 { animation: active-tab auto linear; animation-timeline: --c4; }
  }
}

/* Shared page layouts */
:root {
  --white: #FFFFFF;
  --rule: var(--line);
  --paper: var(--soft);
  --space: clamp(2rem, 5vw, 4rem);
  --measure: 42rem;
}
body { overflow-wrap: anywhere; }
html { scroll-padding-top: 1rem; }
main.wrap { min-height: 54vh; padding-block: 1rem var(--space); }
main.wrap :is(h1, h2, h3, p, ul, ol) { margin-block: 0 1rem; }
main.wrap .subtitle, main.wrap .lead { color: var(--muted); font-size: 1.0625rem; }
main.wrap .hero { padding-bottom: 1.5rem; }
main.wrap .brand-card { padding: 1.25rem; border-radius: 16px; background: var(--navy); color: var(--white); }
main.wrap .brand-card img { width: min(8rem, 40%); margin-bottom: .75rem; }
main.wrap .closing { padding: 1.5rem; border-radius: 16px; background: var(--soft); }
main.wrap .app h3, main.wrap .app p { margin-bottom: 0; }
.slogan-line { display: block; }
.hero .sub { max-width: 32em; }
.hero-art { max-width: 100vw; }
.hero .actions { margin-bottom: 0; }
main.wrap .actions { margin-block: 1rem 1.75rem; }
.button.secondary { color: var(--blue); border-color: var(--line); }
.dark .button.secondary { color: var(--white); border-color: #A9B7CD; }
.band { margin-block: var(--space); }
.prose { max-width: var(--measure); }
main.wrap .prose h3 { margin-top: 1.5rem; }
main.wrap .breadcrumbs ol { margin-bottom: .5rem; }
.badges { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem 1rem; }
.category, .notice { color: var(--muted); font-size: .875rem; }
.card, .disclosure, .mobile-toc, .product-highlight, .statement {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1rem 1.25rem;
}
.cards { display: grid; gap: 1rem; }
.disclosure { max-width: var(--measure); margin-bottom: .5rem; padding-block: 0; }
main.wrap .disclosure p { margin: 0 0 1rem; }
.number { color: var(--blue); font-weight: 700; }
.checks li::marker { color: var(--blue); }
summary { min-height: 44px; min-width: 44px; padding-block: .5rem; align-content: center; cursor: pointer; font-weight: 700; }
.text-link, .back-top { display: inline-flex; min-width: 44px; min-height: 44px; align-items: center; color: var(--blue); }
.policy-list { list-style: none; padding: 0; }
.underline { text-decoration: underline; text-decoration-color: var(--lime); text-decoration-thickness: .22em; text-underline-offset: .16em; }
.product-icon { width: 72px; height: 72px; border-radius: 18px; margin-bottom: 1rem; }
.product-flow-images { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; align-items: start; }
.product-flow-images img { border-radius: 16px; }
.product-main .gallery { grid-auto-columns: min(65%, 270px); }
.product-intro .status { min-height: 44px; }
.back-icon { display: none; }
.footer-slogan { color: var(--white); margin-block: .75rem .35rem; }
.site-footer { padding-bottom: 1.5rem; }
.site-footer .copy { margin-top: 0; }
.buddy summary { padding: 0; }
.buddy img { height: auto; }
.buddy-menu { max-height: min(65vh, 18rem); overflow-y: auto; }
.buddy-menu a[aria-current], .menu nav a[aria-current], .site-footer a[aria-current] { text-decoration: underline; text-underline-offset: .35em; }
.nav a[aria-current]::after { transform: scaleX(1); }
.ch .eyebrow { margin-bottom: 0; }
.story .head .eyebrow, .spot-title .eyebrow { margin-bottom: 0; }

@media (min-width: 56rem) {
  .buddy .bubble { display: block; }
  .product-flow-images { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (hover: hover) and (pointer: fine) {
  .button.secondary:hover { background: var(--soft); }
  .dark .button.secondary:hover { background: rgba(255,255,255,.08); border-color: #FFFFFF; }
}
@media (prefers-reduced-motion: no-preference) {
  .button:active { transform: scale(.97); }
  .buddy[open] img { transform: rotate(-6deg); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .buddy summary img { transform: none; }
}

.skip { position: fixed; z-index: 5; inset: .25rem auto auto .25rem; display: flex; align-items: center; min-height: 44px; padding-inline: .75rem; background: var(--white); transform: translateY(-200%); }
.skip:focus { transform: none; }

.breadcrumbs ol { display: flex; flex-wrap: wrap; align-items: center; margin-bottom: .5rem; padding: 0; list-style: none; color: var(--muted); font-size: .8125rem; }
.breadcrumbs li { display: flex; align-items: center; min-height: 44px; min-width: 0; margin: 0; }
.breadcrumbs li + li::before { content: "›"; margin-inline: .5rem; flex: none; }
.breadcrumbs a { position: relative; display: flex; align-items: center; min-height: 44px; min-inline-size: 0; }
/* Extend the hit area without changing the spacing of the breadcrumb text. */
.breadcrumbs a::after { content: ""; position: absolute; inset: 0 -9px; }
.app-facts { margin-bottom: 1rem; }
.product-layout { display: grid; gap: 1.5rem; grid-template-columns: minmax(0,1fr); }
.product-layout :is(p, .statement, .disclosure) { max-inline-size: none; }
.product-body { min-width: 0; }
.product-body > section { margin-bottom: var(--space); scroll-margin-top: .5rem; }
.product-body > section:target h2 { text-decoration: underline; text-decoration-color: var(--blue); text-underline-offset: .2em; }
.product-highlight, .statement { padding: 1rem 1.25rem; background: var(--paper); }
.statement { max-inline-size: var(--measure); color: var(--muted); font-size: .875rem; line-height: 1.7; }
.statement p { margin-bottom: .5rem; }
.statement p:last-child { margin-bottom: 0; }
.desktop-toc { display: none; }
.toc a { display: flex; align-items: center; min-height: 44px; font-size: .875rem; }
.back-top { margin-top: 1rem; }
.back-icon { display: none; }
.table-scroll { max-width: 100%; overflow-x: auto; }
.table-scroll table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: .9375rem; }
.table-scroll th, .table-scroll td { padding: .75rem; border-bottom: 1px solid var(--rule); text-align: start; vertical-align: top; }
.table-scroll thead th { background: var(--navy); color: var(--white); }
.table-scroll tbody th { background: var(--white); }
.comparison table { min-width: 30rem; }
.comparison th:first-child { position: sticky; left: 0; }
.comparison thead th:last-child { border-top: 3px solid var(--lime); }
.comparison td:last-child { background: var(--paper); }

@media (min-width: 56rem) {
  .mobile-toc { display: none; }
  .product-layout { grid-template-columns: minmax(0,1fr) minmax(11rem,15rem); gap: 2rem 3rem; align-items: start; }
  .product-intro, .product-body { grid-column: 1; }
  .desktop-toc { grid-column: 2; grid-row: 1 / span 2; display: block; position: sticky; top: 5.25rem; align-self: start; max-height: calc(100vh - 7rem); overflow: auto; border-top: 1px solid var(--rule); padding-top: .75rem; }
}

@media (max-width: 24rem) {
  .app { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
}

/* r4.1: help index card with app icon; smaller helper on phones so it covers less text */
.help-card { display: grid; grid-template-columns: 64px 1fr; gap: 1rem; align-items: start; }
.help-card .icon { width: 64px; height: 64px; border-radius: 16px; }
.help-card h2 { font-size: 1.25rem; margin-bottom: .35rem; }
.help-card p { color: var(--muted); margin: 0; }
@media (max-width: 55.99rem) {
  .buddy { right: 10px; bottom: 10px; }
  .buddy img { width: 44px; }
  .site-footer { padding-bottom: 3.5rem; }
}

/* LINE official account entry (only rendered when LINE_URL is set in build.py) */
.line-button, .buddy-line { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding-inline: 1.1rem; border-radius: 10px; background: #06C755; color: #06204D; font-weight: 700; text-decoration: none; }
.line-contact { display: inline-flex; flex-wrap: wrap; align-items: center; gap: .5rem .75rem; }
.line-qr { display: none; width: 132px; height: 132px; border-radius: 10px; background: #FFFFFF; padding: 6px; border: 1px solid var(--line); }
.buddy-line { margin-top: .25rem; width: 100%; }
@media (min-width: 56rem) { .line-qr { display: block; } }

/* ===== v10: 參考站的結構（頁首固定、轉換區塊、字級層級、閱讀寬度），換成桉一下的配色 ===== */
/* 1. 頁首固定在上方（sticky navbar） */
.site-header.dark { position: sticky; top: 0; z-index: 40; background: rgba(3, 29, 74, .96); -webkit-backdrop-filter: saturate(140%) blur(10px); backdrop-filter: saturate(140%) blur(10px); }
html { scroll-padding-top: 5rem; }
.header-right { display: flex; align-items: center; gap: 1.75rem; }
.header-line { display: none; }
@media (min-width: 64rem) { .header-line { display: inline-flex; } }
/* 2. 每頁頁尾上方的 LINE 區塊（參考站在同一位置放電子報） */
.line-band { background: var(--soft); border-top: 1px solid var(--line); }
.line-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding-block: clamp(2.5rem, 5vw, 4rem); }
.line-band-text { margin: 0 0 1.25rem; max-width: 24em; color: var(--navy); font-size: clamp(1.2rem, 2.2vw, 1.6rem); font-weight: 800; line-height: 1.45; text-wrap: balance; }
/* 3. 字級層級：H2 跟 H1 的比例拉近（參考站約 0.8），段落標題更清楚 */
h2 { font-size: clamp(1.75rem, 3.2vw, 2.75rem); }
/* 4. 閱讀寬度：產品頁內文一行不超過約 40 個字 */
.product-body :is(p, li) { max-width: var(--measure); }
.menu nav .menu-line { margin-top: .75rem; color: #06204D; justify-content: center; }
.guides + .fine { margin-top: 1.5rem; }
main.wrap .closing .lead:last-child { margin-bottom: 0; }
@media (hover: hover) and (pointer: fine) { .line-button:hover, .buddy-line:hover { background: #05B34C; } }

/* ===== v11: 文章頁 ===== */
.article { padding-bottom: 1rem; }
.article h1 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); line-height: 1.25; margin-bottom: 1.5rem; }
.article h2 { font-size: clamp(1.35rem, 2.3vw, 1.75rem); margin-top: 2.75rem; }
.article h3 { margin-top: 1.75rem; }
.article :is(ul, ol) { padding-inline-start: 1.4rem; }
.article li { margin-bottom: .35rem; }
.article .table-scroll { margin-block: 1rem 1.5rem; }
.article .table-scroll table { min-width: 28rem; }
.article a { color: var(--blue); }
.article p > strong:first-child { color: var(--navy); }
.related { max-width: var(--measure); margin-block: 2rem var(--space); padding-top: 1.5rem; border-top: 1px solid var(--line); }
.related h2 { font-size: 1.25rem; margin-bottom: .5rem; }
.related ul { list-style: none; padding: 0; margin: 0; }
.cards .card h2 { font-size: clamp(1.15rem, 1.9vw, 1.4rem); line-height: 1.45; }
