@font-face {
  font-family: "Sora";
  src: url("sora.ttf") format("truetype");
  font-weight: 100 800;
  font-display: swap;
  unicode-range: U+0000-02FF, U+2000-206F, U+20A0-20BF, U+2190-2193;
}

:root {
  --stage: #070806;
  --surface: #12130f;
  --surface-2: #1b1c17;
  --line: rgba(240, 239, 238, .11);
  --text: #f0efee;
  --muted: #c6c8c4;
  --dim: #a9aba8;
  --amber: #ffc65c;
  --orange: #f2a33c;
  --deep: #e0762a;
  --hud: #ffd60a;
  --paper: #f4f3ef;
  --ink: #12120f;
  --ink-2: #55554f;
  --ink-line: rgba(18, 18, 15, .14);
  --r-card: 24px;
  --r-control: 999px;
  --gutter: clamp(16px, 4.5vw, 72px);
  --font: "Sora", -apple-system, BlinkMacSystemFont, "PingFang TC", "Noto Sans TC", "Microsoft JhengHei", sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--stage);
  color: var(--text);
  font: 400 17px/1.7 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
html[lang="zh-Hant"] body { letter-spacing: .01em; }
a { color: inherit; }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, p { margin: 0; }
.wrap { max-width: 1320px; margin: 0 auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--amber); color: var(--ink); padding: 8px 14px; border-radius: 8px; z-index: 20; }
.skip:focus { left: 12px; }

/* 導覽 */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 10;
  background: rgba(7, 8, 6, .78);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; gap: 28px; height: 68px; }
.logo { font-weight: 800; font-size: 19px; letter-spacing: -.04em; text-decoration: none; line-height: 1; }
.nav-links { display: flex; gap: 26px; margin-left: auto; font-size: 14px; color: var(--muted); }
.nav-links a { text-decoration: none; transition: color .18s ease-out; padding: 8px 0; }
.nav-links a:hover { color: var(--text); }
.lang { font-size: 13px; font-weight: 500; text-decoration: none; color: var(--text); border: 1px solid var(--line); border-radius: var(--r-control); padding: 8px 14px; transition: border-color .18s ease-out, background .18s ease-out; }
.lang:hover { border-color: rgba(240, 239, 238, .4); background: rgba(240, 239, 238, .06); }

/* 主視覺 */
.hero { position: relative; padding-top: clamp(96px, 7vw, 112px); padding-bottom: clamp(56px, 8vw, 112px); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; width: 900px; height: 900px; right: -180px; top: -120px; pointer-events: none;
  background: radial-gradient(closest-side, rgba(242, 163, 60, .17), rgba(242, 163, 60, 0));
}
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(32px, 5vw, 88px); align-items: center; }
.eyebrow { font-size: 14px; font-weight: 600; letter-spacing: .02em; color: var(--amber); }
h1 {
  margin-top: 22px;
  font-weight: 700;
  font-size: clamp(3.1rem, 7.6vw, 7.4rem);
  line-height: 1.04;
  letter-spacing: -.035em;
}
html[lang="zh-Hant"] h1 { font-weight: 600; letter-spacing: -.02em; line-height: 1.12; }
.lede { margin-top: 28px; max-width: 34em; font-size: clamp(1.06rem, 1.45vw, 1.3rem); line-height: 1.7; color: var(--muted); }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 36px; }
.soon { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: var(--r-control); background: var(--amber); color: #17130a; font-weight: 600; font-size: 16px; }
.soon::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #17130a; }
.ghost { display: inline-flex; align-items: center; min-height: 44px; font-size: 16px; font-weight: 500; text-underline-offset: 5px; text-decoration-color: rgba(240, 239, 238, .35); transition: text-decoration-color .18s ease-out; }
.ghost:hover { text-decoration-color: var(--text); }
.req { margin-top: 20px; font-size: 14px; color: var(--dim); }

/* 手機畫面 */
.device-wrap { justify-self: center; width: min(100%, 372px, calc((100svh - 150px) * 9 / 19.2)); min-width: 280px; }
.device {
  position: relative; aspect-ratio: 9 / 19.2; padding: 9px; border-radius: 52px;
  background: linear-gradient(150deg, #3d3c37, #16160f 45%, #2d2c28);
  box-shadow: 0 2px 3px rgba(255, 255, 255, .1) inset, 0 40px 90px rgba(0, 0, 0, .65), 0 0 90px rgba(242, 163, 60, .1);
}
.screen { position: relative; height: 100%; overflow: hidden; border-radius: 44px; background: radial-gradient(90% 55% at 50% 38%, #24211a, #0a0a08 80%); }
.screen canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.island { position: absolute; top: 10px; left: 50%; width: 31%; height: 26px; transform: translateX(-50%); border-radius: 20px; background: #000; }
.rec { position: absolute; top: 46px; left: 18px; display: flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; }
.rec i { width: 8px; height: 8px; border-radius: 50%; background: #ff453a; animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; } }
.panel {
  position: absolute; left: 10px; right: 10px; bottom: 12px; padding: 14px 15px 12px; border-radius: 28px;
  background: rgba(30, 29, 24, .78); border: 1px solid rgba(255, 255, 255, .1);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
}
.meter { display: grid; grid-template-columns: 5.2em 1fr 2em; align-items: center; gap: 8px; font-size: 12px; line-height: 1.9; color: var(--muted); }
html[lang="en"] .meter { grid-template-columns: 6.6em 1fr 2em; font-size: 11.5px; }
.meter b { text-align: right; font-weight: 600; color: var(--text); font-variant-numeric: tabular-nums; }
.track { height: 5px; border-radius: 3px; background: #373a34; overflow: hidden; }
.track span { display: block; height: 100%; border-radius: 3px; background: linear-gradient(90deg, var(--orange), var(--amber)); transform-origin: left; transform: scaleX(.7); }
.demo-note { margin-top: 12px; text-align: center; font-size: 13px; color: var(--dim); }

/* 三個承諾 */
.pledges { border-block: 1px solid var(--line); }
.pledges ul { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; padding: 0; list-style: none; }
.pledges li { padding: 26px 0; font-size: clamp(1rem, 1.4vw, 1.2rem); font-weight: 600; }
.pledges li + li { padding-left: clamp(16px, 2.5vw, 36px); border-left: 1px solid var(--line); }

/* 區塊 */
.section { padding-block: clamp(80px, 11vw, 168px); }
.h2 { margin-top: 16px; font-weight: 700; font-size: clamp(2.2rem, 4.8vw, 4.4rem); line-height: 1.1; letter-spacing: -.03em; }
html[lang="zh-Hant"] .h2 { font-weight: 600; letter-spacing: -.015em; line-height: 1.2; }
.sub { margin-top: 22px; max-width: 34em; color: var(--muted); font-size: clamp(1.03rem, 1.3vw, 1.18rem); }

/* 流程與曲線 */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 64px); margin-top: clamp(48px, 6vw, 88px); }
.step .n { font-size: 13px; font-weight: 600; color: var(--amber); font-variant-numeric: tabular-nums; }
.step h3 { margin-top: 12px; font-size: clamp(1.25rem, 1.8vw, 1.6rem); font-weight: 600; line-height: 1.3; letter-spacing: -.01em; }
.step p { margin-top: 10px; color: var(--muted); max-width: 26em; }
.curve-figure { margin: clamp(56px, 7vw, 104px) 0 0; }
.curve-figure svg { display: block; width: 100%; height: auto; overflow: visible; }
.curve-line { fill: none; stroke: url(#curveGrad); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.curve-area { fill: url(#curveFill); }
.curve-base { stroke: rgba(240, 239, 238, .35); stroke-dasharray: 3 7; }
.curve-dot { fill: var(--amber); }
.curve-tick { stroke: rgba(255, 198, 92, .45); }
.curve-figure text { font-family: var(--font); font-size: 15px; fill: var(--text); font-weight: 500; }
.curve-figure text.base-label { fill: var(--dim); font-weight: 400; font-size: 14px; }
.curve-figure figcaption { margin-top: 18px; font-size: 14px; color: var(--dim); }

/* 功能 */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; margin-top: clamp(48px, 6vw, 80px); }
.card { padding: clamp(24px, 3vw, 40px); border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--line); }
.card h3 { font-size: clamp(1.3rem, 2vw, 1.75rem); font-weight: 600; line-height: 1.25; letter-spacing: -.012em; }
.card p { margin-top: 12px; color: var(--muted); max-width: 32em; }
.c7 { grid-column: span 7; } .c5 { grid-column: span 5; } .c4 { grid-column: span 4; } .c8 { grid-column: span 8; }
.signal-list { margin: 28px 0 0; padding: 0; list-style: none; display: grid; gap: 22px; }
.signal-list strong { display: block; font-weight: 600; color: var(--text); }
.signal-list span { display: block; margin-top: 3px; font-size: 15px; line-height: 1.6; color: var(--dim); }
.big-num { font-size: clamp(4rem, 8vw, 7rem); font-weight: 700; line-height: 1; letter-spacing: -.05em; color: var(--amber); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 0; padding: 0; list-style: none; }
.tags li { padding: 5px 12px; border-radius: var(--r-control); border: 1px solid var(--line); font-size: 14px; color: var(--muted); line-height: 1.5; }

/* 不做的事：淺色反差區塊 */
.limits { background: var(--paper); color: var(--ink); }
.limits .eyebrow { color: #8a4d0c; }
.limits .sub { color: var(--ink-2); }
.limits-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.limit-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--ink-line); }
.limit-list li { padding: clamp(20px, 2.4vw, 32px) 0; border-bottom: 1px solid var(--ink-line); }
.limit-list strong { display: block; font-size: clamp(1.3rem, 2.3vw, 2rem); font-weight: 600; line-height: 1.3; letter-spacing: -.012em; }
.limit-list span { display: block; margin-top: 6px; color: var(--ink-2); max-width: 36em; }
.consent { margin-top: 28px; padding-left: 16px; border-left: 3px solid var(--deep); color: var(--ink-2); max-width: 28em; }

/* 隱私 */
.privacy-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); align-items: end; }
.fact-list { margin: 0; padding: 0; list-style: none; }
.fact-list li { display: flex; justify-content: space-between; gap: 16px; padding: 15px 0; border-bottom: 1px solid var(--line); color: var(--muted); }
.fact-list b { color: var(--text); font-weight: 600; text-align: right; }
.text-link { display: inline-block; margin-top: 24px; font-weight: 500; text-underline-offset: 5px; text-decoration-color: var(--amber); }

/* 方案 */
.plans { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: clamp(48px, 6vw, 72px); }
.plan { display: flex; flex-direction: column; padding: clamp(24px, 3vw, 40px); border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--line); }
.plan.pro { background: linear-gradient(160deg, rgba(242, 163, 60, .16), rgba(242, 163, 60, .03) 55%), var(--surface); border-color: rgba(255, 198, 92, .34); }
.plan h3 { font-size: clamp(1.4rem, 2.1vw, 1.8rem); font-weight: 600; letter-spacing: -.012em; }
.plan > p { margin-top: 6px; color: var(--muted); }
.plan ul.feat { margin: 24px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.plan ul.feat li { position: relative; padding-left: 24px; color: var(--muted); line-height: 1.55; }
.plan ul.feat li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 10px; height: 2px; background: var(--amber); }
.prices { margin: 28px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.prices li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 12px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.prices b { font-weight: 600; font-variant-numeric: tabular-nums; }
.prices small { display: block; width: 100%; font-size: 14px; color: var(--dim); }
.plans-note { margin-top: 18px; font-size: 14px; color: var(--dim); }

/* 問答 */
.faq-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); }
details { border-bottom: 1px solid var(--line); }
details:first-child { border-top: 1px solid var(--line); }
summary { display: flex; justify-content: space-between; gap: 20px; align-items: center; min-height: 64px; padding: 14px 0; cursor: pointer; font-weight: 600; font-size: clamp(1.02rem, 1.4vw, 1.2rem); line-height: 1.45; list-style: none; transition: color .18s ease-out; }
summary::-webkit-details-marker { display: none; }
summary:hover { color: var(--amber); }
summary::after { content: "+"; flex: none; font-weight: 400; font-size: 24px; line-height: 1; color: var(--amber); transition: transform .2s ease-out; }
details[open] summary::after { transform: rotate(45deg); }
details p { padding: 0 0 22px; color: var(--muted); max-width: 40em; }

/* 頁尾 */
footer { border-top: 1px solid var(--line); padding-block: clamp(48px, 7vw, 96px) 40px; }
.wordmark { font-weight: 800; font-size: clamp(5rem, 19vw, 18rem); line-height: .86; letter-spacing: -.06em; }
.foot-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; margin-top: 44px; font-size: 14px; color: var(--dim); }
.foot-row nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot-row a { text-underline-offset: 4px; }
.foot-row a:hover { color: var(--text); }
.credits { margin-top: 12px; font-size: 13px; color: var(--dim); }

/* 淡入 */
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .5s ease-out, transform .5s ease-out; }
.js .reveal.in { opacity: 1; transform: none; }

@media (max-width: 960px) {
  .hero-grid, .limits-grid, .privacy-grid, .faq-grid { grid-template-columns: 1fr; }
  .device-wrap { width: min(86%, 350px); min-width: 0; }
  .c7, .c5, .c4, .c8 { grid-column: span 12; }
  .privacy-grid { align-items: start; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .nav-links { display: none; }
  .lang { margin-left: auto; min-height: 44px; display: inline-flex; align-items: center; }
  .pledges ul { grid-template-columns: repeat(2, 1fr); }
  .pledges li { padding: 18px 0; }
  .pledges li:nth-child(3) { padding-left: 0; border-left: 0; }
  .pledges li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .steps, .plans { grid-template-columns: 1fr; }
  .curve-figure text { font-size: 26px; }
  .curve-figure text.base-label { font-size: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .rec i { animation: none; }
  * { transition: none !important; }
}
