@font-face { font-family: NotoTC; font-weight: 400; font-display: swap; src: url(/fonts/nototc-400.woff2) format('woff2') }
@font-face { font-family: NotoTC; font-weight: 700; font-display: swap; src: url(/fonts/nototc-700.woff2) format('woff2') }
/* 圓角規則：按鈕與標籤 6px，圖片與面板 12px */
:root {
  --bg: #f6f7f9; --surface: #fff; --text: #0b1026; --muted: #40444c; --border: #dde1e8; --tint: #e8f0fe;
  --accent: #2563eb; --link: #1d4ed8; --btn: #2563eb; --shadow: 0 24px 60px -28px rgb(11 33 90 / .35);
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #0b1026; --surface: #141b38; --text: #f1f4fb; --muted: #b6bfd4; --border: #29325a; --tint: #111838; --link: #8ab4ff; --shadow: 0 24px 60px -28px rgb(0 0 0 / .7) }
}
* { box-sizing: border-box }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100% }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.8 NotoTC, 'Noto Sans TC', 'Microsoft JhengHei', 'PingFang TC', sans-serif }
img { display: block; max-width: 100%; height: auto }
h1, h2, h3, p, dl, dd, ul, figure { margin: 0; padding: 0 }
h1, h2, h3 { font-weight: 700; line-height: 1.3; text-wrap: balance }
h1 { font-size: clamp(2.1rem, 4.1vw, 3.4rem); letter-spacing: -.02em }
h2 { font-size: clamp(1.6rem, 2.7vw, 2.25rem); letter-spacing: -.01em }
p { color: var(--muted); max-width: 36em; text-wrap: pretty }
ul { list-style: none }
a { color: var(--link) }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px }
.wrap { width: min(1208px, 100%); margin-inline: auto; padding-inline: 24px }
.shot, figure img { border: 1px solid var(--border); border-radius: 12px }
.skip { position: absolute; left: -999px; top: 0; z-index: 9; background: var(--surface); padding: 8px 16px }
.skip:focus { left: 8px }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%) }

.top { position: sticky; top: 0; z-index: 5; background: var(--bg); border-bottom: 1px solid var(--border) }
.bar { display: flex; align-items: center; gap: 28px; height: 68px }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.15rem; color: var(--text); text-decoration: none; margin-right: auto; white-space: nowrap }
.bar nav { display: flex; gap: 26px }
.bar nav a { color: var(--muted); text-decoration: none; font-size: .95rem; white-space: nowrap }
.bar nav a:hover { color: var(--link) }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 26px; border-radius: 6px; border: 1px solid var(--btn); background: var(--btn); color: #fff; font-weight: 700; text-decoration: none; white-space: nowrap; transition: background .15s, transform .15s }
.btn:hover { background: #1d4ed8 }
.btn:active { transform: scale(.98) }
.btn.small { min-height: 44px; padding: 0 18px; font-size: .95rem }
.btn.ghost { background: transparent; color: var(--text); border-color: var(--border) }
.btn.ghost:hover { background: var(--surface) }
.btn.light { background: #fff; border-color: #fff; color: #1741a6 }
.btn.light:hover { background: #e8f0fe }

.hero { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; min-height: min(calc(100dvh - 68px), 720px); padding-block: 48px }
.hero p { margin: 22px 0 32px; font-size: 1.12rem }
.hero .shot { box-shadow: var(--shadow) }
.acts { display: flex; gap: 14px; flex-wrap: wrap }

.edit { padding-block: 96px }
.head { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; margin-bottom: 44px }
.editgrid { display: grid; grid-template-columns: 1.75fr 1fr; gap: 28px }
.big { grid-row: span 2 }
figcaption { margin-top: 14px; color: var(--muted) }
figcaption b { color: var(--text); margin-right: 10px }
.also { background: var(--tint); border-radius: 12px; padding: 28px; align-self: stretch }
.also h3 { font-size: 1.2rem; margin-bottom: 8px }

.split { display: grid; grid-template-columns: 5fr 6fr; gap: 64px; align-items: center; padding-block: 40px 112px }
.split p { margin-top: 18px }
.split .shot { box-shadow: var(--shadow) }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 }
.tags li { border: 1px solid var(--border); background: var(--surface); border-radius: 6px; padding: 3px 14px; font-size: .95rem }
.note { border-left: 3px solid var(--accent); padding-left: 16px }

.band { background: var(--surface); border-block: 1px solid var(--border); padding-block: 88px }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 56px }
.duo .shot { width: 100%; aspect-ratio: 670/400; object-fit: cover; object-position: top }
.duo h2 { font-size: clamp(1.4rem, 2.1vw, 1.75rem); margin: 28px 0 12px }

.phone { display: grid; grid-template-columns: 6fr 5fr; gap: 72px; align-items: center; padding-block: 112px }
.phones { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 520px; margin-inline: auto; align-items: start }
.phones img:last-child { margin-top: 48px }
.phone p { margin-top: 18px }

.safe { padding-bottom: 112px }
.safe dl { display: grid; grid-template-columns: 1fr 1fr; column-gap: 56px; margin: 32px 0 44px }
.safe dl div { border-top: 1px solid var(--border); padding: 20px 0; display: grid; grid-template-columns: 7em 1fr; gap: 16px }
dt { font-weight: 700 }
.safe dd { color: var(--muted) }
.safe .shot { width: 100% }

.plans { background: var(--surface); border-top: 1px solid var(--border); padding-block: 88px }
.plangrid { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: center }
.plans p { margin-top: 16px }
.plans .btn { margin-top: 28px }
table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums }
th, td { text-align: left; padding: 18px 8px; border-bottom: 1px solid var(--border); white-space: nowrap }
thead th { font-weight: 400; color: var(--muted); font-size: .95rem; padding-block: 10px }
tbody th { font-size: 1.15rem }
tbody tr:last-child > * { border-bottom: 0 }

.trial { background: #1741a6; color: #fff; padding-block: 88px }
.trialgrid { display: grid; grid-template-columns: 6fr 5fr; gap: 64px; align-items: center }
.trial p { color: #e8f0fe; margin-top: 16px }
.trial .btn { margin-top: 30px }
.trial .warn { font-size: .95rem }
.trial :focus-visible { outline-color: #fff }
.creds { background: #fff; color: #0b1026; border-radius: 12px; padding: 10px 28px }
.creds div { display: grid; grid-template-columns: 3.2em 1fr auto; align-items: center; gap: 12px; padding: 18px 0 }
.creds div + div { border-top: 1px solid #dde1e8 }
.creds dt { color: #40444c; font-weight: 400 }
.creds dd { font-weight: 700; font-size: 1.08rem; overflow-wrap: anywhere; user-select: all }
.creds button { font: inherit; font-size: .92rem; min-height: 44px; min-width: 84px; border: 1px solid #c3cbd9; border-radius: 6px; background: #fff; color: #1741a6; cursor: pointer }
.creds button:hover { background: #e8f0fe }
.creds button:active { transform: scale(.98) }
.creds :focus-visible { outline-color: #2563eb }

.about { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: center; padding-block: 104px }
.about p { margin: 14px 0 20px }
.about ul { display: flex; flex-wrap: wrap; gap: 8px 32px; color: var(--muted) }
.about li a, .about li span { color: var(--link); font-weight: 700; margin-left: 6px }
.about li span { color: var(--text) }
footer { border-top: 1px solid var(--border); padding-block: 26px; font-size: .9rem; color: var(--muted) }
footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px }

@media (max-width: 900px) {
  .bar { gap: 16px; height: 64px }
  .bar nav a:not(:last-child) { display: none }
  .hero, .head, .editgrid, .split, .duo, .phone, .safe dl, .plangrid, .trialgrid, .about { grid-template-columns: minmax(0, 1fr) }
  .hero { gap: 36px; min-height: 0; padding-block: 44px 56px }
  .head { gap: 16px; margin-bottom: 32px }
  .edit, .phone, .about { padding-block: 72px }
  .split { gap: 36px; padding-block: 0 72px }
  .band, .plans, .trial { padding-block: 64px }
  .phone { gap: 44px }
  .phone .copy { order: -1 }
  .safe { padding-bottom: 72px }
  .plangrid, .trialgrid, .about { gap: 36px }
}
@media (max-width: 520px) {
  body { font-size: 16px }
  .wrap { padding-inline: 18px }
  .brand { font-size: 1.05rem; gap: 8px }
  .bar { gap: 12px }
  .bar nav a { font-size: .84rem }
  .btn.small { padding: 0 12px }
  .safe dl div { grid-template-columns: 1fr; gap: 4px }
  .phones { gap: 14px }
  .safe .shot { aspect-ratio: 4/3; object-fit: cover; object-position: left top }
  .creds { padding: 6px 14px }
  .creds div { grid-template-columns: 2.2em 1fr auto; gap: 8px }
  .creds dd { font-size: 1rem }
  .creds button { min-width: 66px }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto } * { transition: none !important } }
