﻿/* 自架 JetBrains Mono（可變字型，latin subset）：省掉往 fonts.googleapis.com / fonts.gstatic.com 的兩次連線與 9.9KB 的 CSS。
   四個權重指向同一個可變字型檔，渲染結果與原本 Google Fonts 的 css2 輸出一致。 */
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/jetbrainsmono-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/jetbrainsmono-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/jetbrainsmono-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../fonts/jetbrainsmono-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --font: "JetBrains Mono", ui-sans-serif, system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --h-bg: #D0D0D0;
  --h-fg: #141414;
  --h-muted: #4F4F4F;
  --h-line: #9E9E9E;
  --h-card: #D4D4D4;
  --h-accent: #333333;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  color: var(--h-fg);
  background: var(--h-bg);
}
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
::selection { background: var(--h-fg); color: var(--h-bg); }
:focus-visible { outline: 2px solid var(--h-fg); outline-offset: 3px; }
html, body { scrollbar-width: none; }
html::-webkit-scrollbar, body::-webkit-scrollbar { display: none; width: 0; height: 0; }

.hs-home { background: var(--h-bg); color: var(--h-fg); overflow-x: clip; position: relative; }
.hs-home-wrap { width: 100%; max-width: 88rem; margin: 0 auto; padding: 0 clamp(1.25rem, 4vw, 3rem); }

.hs-platform-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  height: 62vh;
  pointer-events: none;
  color: #E8E8E8;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.62) 16%, rgba(0, 0, 0, 0.34) 36%, rgba(0, 0, 0, 0.14) 58%, rgba(0, 0, 0, 0.04) 78%, rgba(0, 0, 0, 0) 92%, rgba(0, 0, 0, 0) 100%);
}
.hs-platform-header--overlay { transition: height 0.5s var(--ease); }
.hs-platform-header--overlay.is-past-hero { height: 11rem; }
.hs-home > main { padding-top: calc(4.25rem + clamp(3rem, 8vw, 6rem)); }
.hs-platform-header-inner { max-width: 88rem; height: auto; margin: 0 auto; padding: 1.5rem clamp(1.5rem, 3.2vw, 3.25rem) 0; display: flex; align-items: center; gap: 1.25rem; pointer-events: auto; }
.hs-platform-header-brand a { display: flex; align-items: center; gap: 0.7rem; min-width: 0; }
.hs-brand-lockup { display: block; height: 5.25rem; width: auto; }
.hs-platform-header-nav { display: flex; gap: 1.4rem; margin-left: auto; }
.hs-platform-header-nav a { font-size: 0.92rem; }
.hs-platform-header-nav a:hover { color: #FFFFFF; }
.hs-platform-header-actions { display: flex; align-items: center; gap: 0.75rem; }
.hs-lang { position: relative; display: flex; align-items: center; }
.hs-lang-btn { display: inline-flex; align-items: center; justify-content: center; padding: 0; border: 1px solid #fff; border-radius: 0; background: rgba(255, 255, 255, 0.1); color: #F2F2F2; -webkit-backdrop-filter: blur(18px) saturate(1.35); backdrop-filter: blur(18px) saturate(1.35); cursor: pointer; }
.hs-lang-btn svg { display: block; width: 1.15rem; height: 1.15rem; }
.hs-lang-menu { position: absolute; top: calc(100% + 0.45rem); right: 0; z-index: 5; min-width: 8.5rem; height: 0; overflow: hidden; border: 0 solid #fff; background: transparent; transition: height 0.35s var(--ease); }
.hs-lang-menu.is-open { border-width: 1px; background: rgba(255, 255, 255, 0.1); -webkit-backdrop-filter: blur(18px) saturate(1.35); backdrop-filter: blur(18px) saturate(1.35); }
.hs-lang-menu.is-line { height: 1px; border: 0; background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; opacity: 1; transition: opacity 0.45s cubic-bezier(0.45, 0, 0.55, 1); }
.hs-lang-menu.is-line.is-line-out { opacity: 0; }
.hs-lang-opt, .hs-lang-rule { opacity: 0; transition: opacity 0.32s var(--ease); }
.hs-lang-menu.is-shown .hs-lang-opt, .hs-lang-menu.is-shown .hs-lang-rule { opacity: 1; }
.hs-lang-opt { display: block; width: 100%; padding: 0.55rem 0.85rem; border: 0; background: none; color: #F2F2F2; font: inherit; font-size: 0.85rem; line-height: 1.3; text-align: left; cursor: pointer; }
.hs-lang-opt.is-current { color: #00FFC8; }
.hs-lang-rule { display: block; height: 1px; margin: 0 0.7rem; background: rgba(255, 255, 255, 0.55); }
.hs-platform-login { font-size: 0.85rem; }
.hs-platform-login:hover { color: #FFFFFF; }
.hs-platform-header .hs-btn { background: #F2F2F2; border-color: #F2F2F2; color: #141414; }
.hs-platform-header .hs-btn:hover { background: transparent; border-color: #F2F2F2; color: #F2F2F2; }
.hs-burger { display: none; width: 2.5rem; height: 2.5rem; border: 1px solid var(--h-line); background: transparent; border-radius: 0; align-items: center; justify-content: center; flex-direction: column; gap: 5px; }
.hs-burger span { display: block; width: 14px; height: 1px; background: currentColor; }

.hs-btn, .hs-btn-line { display: inline-flex; align-items: center; justify-content: center; border-radius: 0; padding: 0.85rem 1.5rem; font-size: 0.9rem; font-weight: 600; line-height: 1; white-space: nowrap; transition: transform 0.25s var(--ease), background 0.2s ease, color 0.2s ease, border-color 0.2s ease; }
.hs-btn { border: 1px solid var(--h-fg); background: var(--h-fg); color: var(--h-bg); }
.hs-btn:hover { background: transparent; color: var(--h-fg); transform: translateY(-1px); }
.hs-btn-sm { padding: 0.55rem 1rem; font-size: 0.8rem; }
.hs-btn-line { border: 1px solid color-mix(in srgb, var(--h-fg) 30%, transparent); background: transparent; color: var(--h-fg); font-weight: 500; }
.hs-btn-line:hover { border-color: var(--h-fg); background: var(--h-fg); color: var(--h-bg); transform: translateY(-1px); }
.hs-btn,
.hs-btn-line,
.hs-glass,
.hs-burger,
.plan { position: relative; overflow: hidden; isolation: isolate; }
.hs-btn::after,
.hs-btn-line::after,
.hs-glass::after,
.hs-burger::after,
.plan::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: 0;
  bottom: 0;
  width: 100%;
  height: min(25%, 13px);
  clip-path: inset(100% 0 0 0);
  pointer-events: none;
  background: var(--bar, linear-gradient(90deg, #e10600 0%, #ff4d00 52%, #ff8a00 100%));
  transition: clip-path 0.45s var(--ease);
}
.hs-btn:hover::after,
.hs-btn-line:hover::after,
.hs-glass:hover::after,
.hs-burger:hover::after,
.plan:hover::after { clip-path: inset(0 0 0 0); }
.hs-burger span,
.hs-home-glass-cta { position: relative; z-index: 1; }

.hs-home-hero { position: relative; isolation: isolate; height: 100svh; min-height: 40rem; overflow: hidden; }
#stripes {
  position: fixed;
  z-index: -1;
  inset: 0;
  overflow: hidden;
  background: #3e3e3e;
  transition: filter 0.45s var(--ease);
}
#stripes.is-soft { inset: -20px; filter: blur(8px); }
.stripe-plane {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 200vmax;
  height: 130vmax;
  transform: translate(-50%, -50%) rotate(-28deg);
}
.stripe-plane span {
  position: absolute;
  left: 0;
  top: var(--y);
  width: var(--len);
  height: var(--h);
  background: var(--c);
  clip-path: polygon(var(--s) 0, 100% 0, calc(100% - var(--s)) 100%, 0 100%);
  transform: translateX(var(--x0));
  will-change: transform;
  animation: stripe-run var(--dur) linear var(--delay) infinite;
}
@keyframes stripe-run {
  from { transform: translateX(-100%); }
  to { transform: translateX(200vmax); }
}
body:has(.hs-home-hero) { background: #3e3e3e; }
.hs-home-hero-inner { height: 100%; max-width: 88rem; margin: 0 auto; padding: 8.75rem clamp(1.5rem, 3.2vw, 3.25rem) 2.5rem; display: flex; align-items: center; }
.hs-home-hero-top { display: flex; justify-content: space-between; align-items: center; gap: 3rem; width: 100%; color: #E8E8E8; }
.hs-home-hero .hs-btn-line { border-color: rgba(232, 232, 232, 0.45); color: #E8E8E8; }
.hs-home-hero .hs-btn-line:hover { background: #E8E8E8; border-color: #E8E8E8; color: #141414; }
.hs-home-eyebrow { margin: 0; font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.9), 0 6px 22px rgba(0, 0, 0, 0.75); }
.hs-home-hero-copy { max-width: 26rem; }
.hs-home-hero-lede { margin: 0; font-size: clamp(1rem, 1.4vw, 1.15rem); line-height: 1.7; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.9), 0 6px 22px rgba(0, 0, 0, 0.75); }
.hs-home-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; margin-top: 1.5rem; }
.hs-home-hero-social { display: flex; gap: 0.55rem; margin-top: 0.9rem; }
.hs-home-eyebrow,
.hs-home-hero-lede,
.hs-home-hero-actions .hs-glass--card,
.hs-home-hero-social,
.hs-hero-mark { opacity: var(--fade, 1); }
.hs-home-hero-copy :is(p, a, span),
.hs-home-info :is(h1, h2, h3, p, li, span, a, b),
.hs-platform-header-nav a,
.hs-site-footer-label,
.hs-lang-opt { text-shadow: 0 1px 2px rgba(0, 0, 0, 0.9), 0 6px 22px rgba(0, 0, 0, 0.55); }
.hs-home-section :is(h1, h2, h3, p, li, span, label) { text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45); }
.hs-home-info :is(h1, h2, h3, p, li, span, a, b) { text-shadow: 0 1px 2px rgba(0, 0, 0, 0.9), 0 6px 22px rgba(0, 0, 0, 0.55); }
.hs-site-footer-item,
.hs-site-footer-item * { text-shadow: none; }
.hs-glass, .hs-home-info .hs-glass { border: 0; border-radius: 0; background: rgba(255, 255, 255, 0.1); -webkit-backdrop-filter: blur(18px) saturate(1.35); backdrop-filter: blur(18px) saturate(1.35); }
.hs-home-info .hs-glass { background: rgba(22, 22, 22, 0.5); }
.hs-glass--card { width: 196px; height: 52px; }
.hs-home-hero .hs-glass--card { border: 1px solid #fff; }
.hs-home-glass-cta { display: grid; width: 100%; height: 100%; place-items: center; font-size: 0.9rem; font-weight: 600; color: #F2F2F2; }
.hs-hero-mark { position: relative; height: clamp(360px, 72vh, 780px); width: auto; aspect-ratio: 294 / 512; margin-right: 20%; }
.hs-hero-mark-shadow { position: absolute; inset: -12% -22%; border-radius: 50%; background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0.16) 48%, transparent 72%); filter: blur(26px); pointer-events: none; }
.hs-hero-mark img { position: relative; z-index: 1; display: block; width: 100%; height: 100%; object-fit: contain; }
.hs-home-scroll-cue { display: inline-flex; align-items: center; gap: 0.75rem; }
.hs-home-scroll-cue i { position: relative; display: block; width: 3rem; height: 1px; overflow: hidden; background: rgba(228, 228, 228, 0.35); }
.hs-home-scroll-cue i:after { content: ""; position: absolute; inset: 0; background: #E4E4E4; animation: hs-home-cue 2.2s cubic-bezier(0.65, 0, 0.35, 1) infinite; }
#scrollCue { position: fixed; right: clamp(1.5rem, 3.2vw, 3.25rem); bottom: 2rem; z-index: 45; font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.18em; color: #00FFC8; filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.55)); transition: transform 0.7s var(--ease), opacity 0.7s var(--ease); }
#scrollCue i { background: rgba(0, 255, 200, 0.3); }
#scrollCue i:after { background: #00FFC8; }
#scrollCue.is-gone { transform: translateX(120%); opacity: 0; pointer-events: none; }
#scrollCue.is-gone i:after { animation-play-state: paused; }

.hs-home-info { position: relative; z-index: 2; --h-bg: #303030; --h-fg: #E8E8E8; --h-muted: #C4C4C4; --h-line: rgba(255, 255, 255, 0.14); --h-card: rgba(44, 44, 44, 0.58); --h-accent: #E8E8E8; color: var(--h-fg); text-shadow: 0 1px 14px rgba(0, 0, 0, 0.35); }
.hs-home-info .hs-home-reasons { gap: 0.75rem; background: none; border: 0; }
.hs-home-info .hs-home-steps li, .hs-home-info .hs-home-steps li:last-child { padding: 1.5rem 1.75rem; border: 0; }
.hs-home-info .hs-home-steps li + li { margin-top: 0.75rem; }
.hs-home-info .hs-btn { color: var(--h-fg); }

/* ---- 內頁（product / status / login / register / pay / account）：沿用首頁的條紋背景、玻璃與進場效果 ---- */
.hs-page { isolation: isolate; min-height: 100svh; }
.hs-page #stripes { inset: -20px; filter: blur(8px); }
.hs-page-main { position: relative; display: flex; align-items: center; min-height: 100svh; padding: calc(4.25rem + clamp(3rem, 8vw, 6rem)) 0 clamp(3rem, 6vw, 5rem); }
.hs-page-main > .hs-home-wrap { width: 100%; }
.hs-page-main .hs-home-form { max-width: 32rem; }
.hs-page-main .hs-home-title { max-width: 22em; }
.hs-page-mark { position: absolute; top: 50%; right: clamp(1.5rem, 6vw, 9rem); height: min(64vh, 32rem); transform: translateY(-50%); pointer-events: none; user-select: none; }
.hs-page-mark img { display: block; height: 100%; width: auto; opacity: 0.8; filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.5)); will-change: transform; }
.hs-home-steps--wide { max-width: 52rem; margin-top: clamp(3rem, 6vw, 4.5rem); }
.hs-home-plans { max-width: 46rem; margin-top: clamp(3rem, 6vw, 4.5rem); }
.hs-home-plans + .hs-page-note { max-width: 46rem; margin-top: 1.25rem; }
.hs-home-perms { padding: 1.75rem; }
.hs-home-perm { display: grid; grid-template-columns: 1fr auto; gap: 0.35rem 1rem; padding: 1.1rem 0; border-top: 1px solid var(--h-line); }
.hs-home-perms .hs-label { margin-bottom: 1rem; }
.hs-home-perm b { font-size: 1.1rem; }
.hs-home-perm span { font-family: var(--font-mono); font-size: 0.78rem; }
.hs-home-perm .is-yes { color: var(--h-fg); }
.hs-home-perm .is-no { color: #ff4d00; }
.hs-home-perm p { grid-column: 1 / -1; margin: 0; font-size: 0.9rem; color: var(--h-muted); }
.hs-home-faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; margin-top: clamp(3rem, 6vw, 4.5rem); }
.hs-home-faq > div { padding: 1.5rem 1.75rem; }
.hs-home-faq h3 { margin: 0; font-size: 1.15rem; font-weight: 700; }
.hs-home-faq p { margin: 0.75rem 0 0; font-size: 0.95rem; line-height: 1.7; color: var(--h-muted); }
/* ---- 純色小圖標：卡片與步驟列右上角，單色線稿（跟隨 currentColor） ---- */
.hs-ic { position: absolute; right: 1.75rem; width: 1.5rem; height: 1.5rem; color: var(--h-fg); stroke-width: 1.9; stroke-linecap: square; stroke-linejoin: miter; pointer-events: none; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.45)); transition: color 0.3s var(--ease); }
.hs-home-reason > .hs-ic { top: 1.8rem; }
.hs-home-steps li > .hs-ic { top: 1.3rem; }
.hs-glass:hover > .hs-ic { color: #00FFC8; }
.hs-home-signup-btn { margin-top: 2.5rem; padding: 1.15rem 3.5rem; font-size: 1.05rem; }
.hs-home-signup .hs-page-note { max-width: 38rem; margin-top: 2.5rem; font-size: 0.82rem; }

.hs-site-footer { position: relative; z-index: 2; isolation: isolate; margin-top: 1.5rem; padding: calc(6vw + 0.75rem) clamp(1.5rem, 3.2vw, 3.25rem) 1.75rem; color: #141414; }
.hs-site-footer::before { content: ""; position: absolute; inset: 0; z-index: -2; background: rgba(10, 10, 10, 0.62); -webkit-backdrop-filter: blur(22px) saturate(1.2); backdrop-filter: blur(22px) saturate(1.2); clip-path: polygon(0 0, 100% 6vw, 100% 100%, 0 100%); }
.hs-site-footer::after { content: ""; position: absolute; right: 0; bottom: 0; z-index: -1; width: 22vw; height: 7.5vw; background: linear-gradient(90deg, #e10600 0%, #ff4d00 52%, #ff8a00 100%); clip-path: polygon(100% 0, 100% 100%, 0 100%); }
.hs-site-footer-inner { display: grid; grid-template-columns: repeat(4, max-content); justify-content: space-between; gap: 1.5rem 2rem; max-width: 88rem; margin: 0 auto; }
.hs-site-footer-col { display: flex; flex-direction: column; align-items: flex-start; gap: 0.5rem; }
.hs-site-footer-col--mail { align-self: end; }
.hs-site-footer-logo { display: inline-flex; align-items: center; padding: 0; background: none; }
.hs-site-footer-logo img { display: block; height: 3.3rem; width: auto; filter: invert(1); }
.hs-site-footer-label { display: inline-flex; align-items: center; gap: 0.55rem; margin: 0; padding: 0 0 0 0.8rem; background: none; color: #fff; font-size: 0.88rem; line-height: 1.3; text-shadow: none; }
.hs-site-footer-label::before { content: ""; width: 2px; height: 0.9em; background: #fff; flex: none; }
.hs-site-footer-item { display: inline-flex; align-items: center; gap: 0.55rem; width: fit-content; margin: 0; padding: 0.4rem 0.8rem; background: #fff; color: #141414; font-size: 0.88rem; line-height: 1.3; text-shadow: none; }
.hs-site-footer-item::before { content: ""; width: 2px; height: 0.9em; background: #141414; flex: none; }
a.hs-site-footer-item:hover { background: #F4F4F4; }
.hs-site-footer-social { display: flex; gap: 0.45rem; }
.hs-site-footer-icon { display: block; width: 2.25rem; height: 2.25rem; overflow: hidden; background: none; }
.hs-site-footer-icon img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hs-site-footer-icon.is-ig,
.hs-site-footer-icon.is-ig img { border-radius: 0.55rem; }
.hs-site-footer-icon:hover { opacity: 0.82; }

.hs-reveal { opacity: 0; transform: translateY(28px); }
.hs-reveal.is-ready { transition: opacity 0.7s var(--ease), transform 0.7s var(--ease), background-color 0.2s ease; }
.hs-reveal.is-in { opacity: var(--fade, 1); transform: none; transition-delay: var(--d, 0ms); }
.hs-reveal.is-in.is-shown { transition: background-color 0.2s ease; }

.hs-home-section { padding: clamp(5rem, 12vw, 10rem) 0; }
.hs-label { display: flex; align-items: center; gap: 0.85rem; margin: 0; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--h-muted); }
.hs-label > span { color: var(--h-accent); }
.hs-home-title { margin: 1.1rem 0 0; max-width: 16em; font-size: clamp(2.1rem, 4.6vw, 4.25rem); font-weight: 750; letter-spacing: -0.035em; line-height: 1.08; }
.hs-page-lede { max-width: 38rem; margin: 1.25rem 0 0; color: var(--h-muted); font-size: 1.05rem; line-height: 1.7; }
.hs-home-reasons { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; margin-top: clamp(3rem, 6vw, 5rem); background: var(--h-line); border: 1px solid var(--h-line); }
.hs-home-reason { display: flex; flex-direction: column; min-height: 19rem; padding: 2rem 1.75rem; background: var(--h-bg); }
.hs-home-reason:hover { background: var(--h-card); }
.hs-home-reason-n, .hs-home-steps span { font-family: var(--font-mono); font-size: 0.75rem; color: var(--h-muted); }
.hs-home-reason h3 { margin: auto 0 0; padding-top: 3rem; font-size: 1.35rem; font-weight: 700; letter-spacing: -0.02em; }
.hs-home-reason p, .hs-home-steps p, .hs-page-note { margin: 0.75rem 0 0; font-size: 0.95rem; line-height: 1.65; color: var(--h-muted); }

.hs-home-start { border-top: 1px solid var(--h-line); }
.hs-home-start-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 28rem); gap: 5rem; align-items: start; margin-top: clamp(3rem, 6vw, 4.5rem); }
.hs-home-steps { margin: 0; padding: 0; list-style: none; }
.hs-home-steps li { display: grid; grid-template-columns: 3.5rem 1fr; padding: 1.75rem 0; border-top: 1px solid var(--h-line); }
.hs-home-steps li:last-child { border-bottom: 1px solid var(--h-line); }
.hs-home-steps h3 { margin: 0; font-size: 1.35rem; font-weight: 700; letter-spacing: -0.02em; }

.hs-home-form { display: grid; gap: 1rem; padding: 2rem; border: 1px solid var(--h-line); border-radius: 1.25rem; background: var(--h-card); }
.hs-home-form h3 { margin: 0; font-size: 1.35rem; font-weight: 700; }
.hs-home-form label, .field { display: grid; gap: 0.45rem; }
.hs-home-form label span, .field span { font-size: 0.82rem; font-weight: 600; }
.hs-home-form input, .hs-home-form textarea, .field input {
  min-height: 44px; width: 100%; padding: 0.8rem 1rem; border: 1px solid var(--h-line); border-radius: 0.75rem; background: transparent; color: var(--h-fg);
}
.hs-home-form textarea { min-height: 7rem; resize: vertical; }
.hs-home-form input:focus, .field input:focus { outline: none; border-color: var(--h-fg); }
.hs-home-form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 0.5rem; }
.hs-home-form-actions a { font-size: 0.82rem; color: var(--h-muted); text-decoration: underline; text-underline-offset: 3px; }
.check { display: flex; gap: 0.7rem; align-items: flex-start; font-size: 0.92rem; color: var(--h-muted); }
.check input { width: 1.1rem; height: 1.1rem; margin-top: 0.15rem; accent-color: var(--h-fg); }
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.plan { display: block; text-align: left; border: 1px solid var(--h-line); border-radius: 0; padding: 1.25rem; background: transparent; }
.plan.is-on { border-color: var(--h-fg); background: var(--h-bg); }
.plan b { display: block; margin: 0.4rem 0; font-size: 1.8rem; letter-spacing: -0.03em; }
.plan span { color: var(--h-muted); font-size: 0.82rem; }
.alert { border: 1px solid var(--h-line); border-radius: 0.75rem; padding: 1rem; background: color-mix(in srgb, var(--h-fg) 4%, transparent); }
.alert.is-bad { border-color: #c23b3b; }
.alert.is-ok { border-color: var(--h-fg); }
.page-form { max-width: 32rem; margin-top: 2rem; }

/* ── 帳號系統（登入／註冊／驗證碼／帳戶摘要）────────────── */
.hs-home-form[hidden] { display: none; }
.auth-alert { margin-top: 1rem; max-width: 32rem; font-size: 0.9rem; line-height: 1.6; }
.hs-home-form > .auth-alert, .auth-summary > .auth-alert { margin-top: 0; }
.is-busy { opacity: 0.72; pointer-events: none; }
.auth-summary { margin-top: 2rem; max-width: 40rem; padding: 1.75rem 2rem; border: 1px solid var(--h-line); border-radius: 1.25rem; background: var(--h-card); }
.auth-summary > .hs-label { margin-bottom: 1rem; }
.auth-rows { display: grid; gap: 0.85rem; margin: 0 0 0.5rem; }
.auth-rows > div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.35rem 1rem; padding-top: 0.85rem; border-top: 1px solid var(--h-line); }
.auth-rows dt { margin: 0; font-size: 0.82rem; font-weight: 600; color: var(--h-muted); }
.auth-rows dd { margin: 0; font-size: 0.92rem; text-align: right; word-break: break-all; }
.auth-summary .hs-home-form-actions { margin-top: 1.25rem; }
.auth-verify { margin-top: 2rem; }
.auth-verify-title { margin: 0; font-size: 1.35rem; font-weight: 700; letter-spacing: -0.02em; }
.auth-verify-hint { margin: 0; font-size: 0.9rem; line-height: 1.65; color: var(--h-muted); }
.auth-verify .hs-home-form-actions { margin-top: 0.25rem; }
.auth-hint { margin: 0; font-size: 0.8rem; line-height: 1.6; color: var(--h-muted); }
.auth-summary .auth-rows dd { white-space: normal; }
#accountKeys { word-break: normal; overflow-wrap: anywhere; }
.auth-code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: 0.45em; text-align: center; font-size: 1.15rem; }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 2.5rem; background: var(--h-line); border: 1px solid var(--h-line); }
.stat-row div { background: var(--h-bg); padding: 1.5rem; }
.stat-row b { display: block; font-size: 1.6rem; letter-spacing: -0.03em; }
.stat-row span { color: var(--h-muted); font-size: 0.85rem; }

.hs-scroll-progress { position: fixed; top: 0; left: 0; z-index: 60; width: 0; height: 3px; pointer-events: none; background: linear-gradient(90deg, #e10600 0%, #ff4d00 52%, #ff8a00 100%) left top / 100vw 100% no-repeat; }

@keyframes hs-home-cue { 0% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }

@media (max-width: 1100px) {
  .hs-home-reasons { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hs-home-start-grid { grid-template-columns: 1fr; }
  .hs-page-mark { display: none; }
}
@media (max-width: 800px) {
  /* ---- 手機：頁首壓縮成 52px 品牌 + 44px 觸控目標 ---- */
  .hs-platform-header-inner { padding: 0.9rem 1.15rem 0; gap: 0.6rem; }
  .hs-brand-lockup { height: 3.25rem; }
  .hs-platform-header-actions { order: 1; gap: 0.5rem; margin-left: auto; }
  .hs-burger { display: inline-flex; order: 2; flex: 0 0 auto; }
  .hs-platform-header-nav { display: none; position: absolute; top: 4.25rem; left: 0; right: 0; flex-direction: column; gap: 0; margin: 0; padding: 0.5rem 1.15rem 1rem; background: rgba(0, 0, 0, 0.92); border-bottom: 1px solid rgba(255, 255, 255, 0.16); }
  .hs-platform-header-nav.is-open { display: flex; }
  .hs-platform-header-nav a { min-height: 44px; display: flex; align-items: center; }
  .hs-platform-login { display: none; }
  .hs-btn-sm { display: inline-flex; align-items: center; padding: 0.5rem 0.75rem; font-size: 0.78rem; min-height: 2.5rem; }
  .hs-lang-btn { width: 2.5rem; height: 2.5rem; }
  .hs-lang-menu { min-width: 10rem; }
  .hs-lang-opt { min-height: 44px; display: flex; align-items: center; }
  /* ---- 首頁 hero：內容自適應高度，不再被 overflow:hidden 裁切 ---- */
  .hs-home-hero { height: auto; min-height: 100svh; }
  .hs-home-hero-inner { height: auto; min-height: 100svh; padding: 5.5rem 1.25rem 2rem; }
  .hs-home-hero-top { flex-direction: column; gap: 1.75rem; align-items: stretch; }
  .hs-home-hero-copy { max-width: none; }
  .hs-hero-mark { height: clamp(180px, 30vh, 280px); margin: 0 auto; }
  .hs-home-scroll-cue { display: none; }
  /* ---- 區塊內距、字級、卡片 ---- */
  .hs-home-eyebrow { font-size: 0.78rem; letter-spacing: 0.16em; }
  .hs-label { font-size: 0.78rem; }
  .hs-home-reason { min-height: 0; padding: 1.5rem 1.35rem; }
  .hs-home-info .hs-home-steps li, .hs-home-info .hs-home-steps li:last-child { padding: 1.25rem; }
  .hs-home-faq > div { padding: 1.25rem 1.35rem; }
  .hs-home-perms { padding: 1.35rem; }
  .stat-row div { padding: 1.2rem 1.35rem; }
  .hs-home-form { padding: 1.35rem; gap: 0.9rem; }
  .hs-home-reasons, .plans, .stat-row, .hs-home-faq { grid-template-columns: 1fr; }
  .hs-ic { right: 1.25rem; width: 1.3rem; height: 1.3rem; }
  .hs-home-reason > .hs-ic { top: 1.4rem; }
  .hs-home-steps li > .hs-ic { top: 1.15rem; }
  .hs-glass--card { width: 100%; }
  .hs-home-hero-actions .hs-glass--card { max-width: 24rem; }
  .hs-site-footer { padding-top: calc(8vw + 1rem); }
  .hs-site-footer-inner { grid-template-columns: 1fr; justify-content: start; }
  .hs-site-footer-col--mail { align-self: start; }
  .hs-site-footer-icon { width: 2.75rem; height: 2.75rem; }
  .hs-site-footer-item { padding: 0.8rem 0.9rem; }
  .hs-page-main { padding: calc(4.25rem + 2.75rem) 0 2.75rem; }
}
@media (max-width: 560px) {
  .hs-home-title { font-size: clamp(1.85rem, 7.4vw, 2.4rem); }
  .hs-home-hero-inner { padding-top: 5rem; }
  .hs-hero-mark { height: clamp(150px, 24vh, 220px); }
  .hs-home-form { padding: 1.15rem; }
  .hs-home-form-actions { flex-direction: column; align-items: stretch; }
  .hs-home-form-actions .hs-btn, .hs-home-form-actions .hs-btn-line { width: 100%; }
  .hs-home-form-actions a { align-self: center; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .hs-hero-mark img { transform: none !important; }
  .hs-page-mark img { transform: none !important; }
  .stripe-plane span { animation: none !important; }
  .hs-reveal { opacity: var(--fade, 1) !important; transform: none !important; }
}
