/* Nexus Agency（官網一屏版，matty 11/09「可以，長篇的收到頁尾『了解更多』」）: 照設計稿 Simple.dc.html。
   晨光、夜航跟著系統；字型 Noto Sans TC 自己放、只有這頁用得到的字（site/build.mjs 切出來），不連外面的字型服務。 */
@font-face { font-family: "Nexus Noto"; font-weight: 400; font-display: swap; src: url("/site/noto-400.otf") format("opentype"); }
@font-face { font-family: "Nexus Noto"; font-weight: 900; font-display: swap; src: url("/site/noto-900.otf") format("opentype"); }
@font-face { font-family: "Nexus Noto"; font-weight: 700; font-display: swap; src: url("/site/noto-700.otf") format("opentype"); }
:root { --bg:#F4F5F7; --card:#FFFFFF; --hair:#E1E4E9; --ink:#1E2229; --ink2:#505866; --ink3:#677081; --acc:#2C6BD6; --accink:#FFFFFF; color-scheme:light; }
@media (prefers-color-scheme: dark) {
  :root { --bg:#0B0C0F; --card:#1A1D23; --hair:rgba(255,255,255,.12); --ink:#EDEEF1; --ink2:#A7AEBA; --ink3:#8891A0; --acc:#6C9EF2; --accink:#0B1424; color-scheme:dark; }
}
html, body { margin:0; background:var(--bg); }
.one { color:var(--ink); font-family:"Nexus Noto","Noto Sans TC","PingFang TC","Microsoft JhengHei",system-ui,sans-serif; min-height:100vh; min-height:100dvh; display:flex; flex-direction:column;
  padding-left:max(16px, env(safe-area-inset-left, 0px)); padding-right:max(16px, env(safe-area-inset-right, 0px)); box-sizing:border-box; max-width:1440px; margin:0 auto; }
.one a { color:inherit; text-decoration:none; }
.one a:focus-visible { outline:2px solid var(--acc); outline-offset:3px; border-radius:6px; }
.top { display:flex; align-items:center; justify-content:space-between; padding-block:20px; font-size:15px; }
.brand { font-weight:700; letter-spacing:.01em; }
.one .login { color:var(--ink2); padding:8px 4px; }
.one .login:hover { color:var(--ink); }
main { flex:1; display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center; padding-block:40px 64px; }
h1 { margin:0; font-weight:700; font-size:clamp(30px, 5.2vw, 64px); line-height:1.25; letter-spacing:-.01em; width:100%; }
.lead { display:block; font-weight:900; } /* V46：大標 900、字色照舊 */
/* 換句：每句疊在同一格，只換 class；舊的往上淡出、新的從下淡入，接著小角色彈出 */
.slot { position:relative; display:block; height:1.95em; }
.ph { position:absolute; left:0; right:0; top:0; display:flex; flex-direction:column; align-items:center; white-space:nowrap; opacity:0; transform:translateY(45%); transition:none; }
.ph .ln { display:flex; align-items:center; justify-content:center; gap:.22em; font-weight:400; color:var(--acc); } /* V46：換的那句 400、主題色，不用漸層 */
.ph .day { font-size:.3em; line-height:1.9; font-weight:400; letter-spacing:.12em; color:var(--ink3); }
.sub { margin:28px auto 0; max-width:34em; font-size:clamp(16px, 1.5vw, 19px); line-height:1.7; color:var(--ink2); text-wrap:balance; }
.sub span { display:inline-block; }
.ph.cur { opacity:1; transform:none; transition:opacity .26s ease-out, transform .3s cubic-bezier(.2,.8,.2,1); }
.ph.out { opacity:0; transform:translateY(-35%); transition:opacity .16s ease-in, transform .2s ease-in; }
.ph svg { width:.9em; height:.9em; flex:none; transform:scale(0); }
.ph.cur svg { animation:pop .34s .1s cubic-bezier(.3,1.6,.5,1) forwards; }
@keyframes pop { from { transform:scale(0) rotate(-12deg); } to { transform:scale(1) rotate(0); } }
@media (prefers-reduced-motion: reduce) {
  .ph, .ph.cur, .ph.out { transform:none; transition:opacity .2s; }
  .ph.cur svg { animation:none; transform:none; }
}
.cta { margin-top:48px; display:flex; flex-direction:column; align-items:center; gap:14px; }
.one .btn { display:inline-flex; align-items:center; gap:10px; background:var(--acc); color:var(--accink); font-weight:700; font-size:17px; padding:14px 28px; border-radius:999px; border:0; cursor:pointer; font-family:inherit; min-height:48px; box-sizing:border-box; }
.btn svg { width:18px; height:18px; }
.link-line { margin:0; font-size:14px; color:var(--ink2); word-break:break-all; }
.alt { margin:0; font-size:14px; color:var(--ink3); text-align:center; } /* V46：一般行內文字，連結前後不留空白 */
.one .alt a { color:var(--acc); }
footer { display:flex; justify-content:space-between; flex-wrap:wrap; gap:12px; padding-block:20px; font-size:13px; color:var(--ink3); border-top:1px solid var(--hair); }
footer nav { display:flex; flex-wrap:wrap; justify-content:center; gap:8px 20px; }
footer .more { color:var(--ink); }
@media (max-width:600px) {
  footer { justify-content:center; text-align:center; }
  .one .btn { font-size:16px; padding:13px 24px; }
  .ph .ln { font-size:.92em; }
}
