/* APoster 公開頁（申請試用、條款）。跟 APoster 後台同一個紫色 */
:root {
  --ground: #f6f5fb; --surface: #ffffff; --line: #e3e0ef; --ink: #1d1b2c; --ink-2: #4a4760; --ink-3: #77738f;
  --accent: #6a4ff0; --accent-ink: #ffffff; --accent-soft: #eeeafe; --err: #b42318; --err-soft: #fdecea; --ok: #1f7a4d; --ok-soft: #e3f4ea;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ground: #13121b; --surface: #1c1a27; --line: #2e2b3d; --ink: #ecebf5; --ink-2: #bdbad0; --ink-3: #8f8ba6;
    --accent: #9d8cff; --accent-ink: #13121b; --accent-soft: #2a2545; --err: #f0877d; --err-soft: #3a1d1b; --ok: #6cc592; --ok-soft: #173024;
  }
}
:root[data-theme="dark"] {
  --ground: #13121b; --surface: #1c1a27; --line: #2e2b3d; --ink: #ecebf5; --ink-2: #bdbad0; --ink-3: #8f8ba6;
  --accent: #9d8cff; --accent-ink: #13121b; --accent-soft: #2a2545; --err: #f0877d; --err-soft: #3a1d1b; --ok: #6cc592; --ok-soft: #173024;
}
* { box-sizing: border-box; }
body {
  margin: 0; background: var(--ground); color: var(--ink);
  font: 400 15.5px/1.75 "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", system-ui, sans-serif;
  padding-inline: 16px; padding-block: 36px 72px;
}
.wrap { max-width: 980px; margin: 0 auto; display: flex; flex-direction: column; gap: 28px; }
.narrow { max-width: 720px; }
.brand { font-weight: 800; font-size: 18px; color: var(--accent); text-decoration: none; letter-spacing: .02em; }
h1 { margin: 0; font-size: clamp(26px, 4vw, 34px); line-height: 1.3; text-wrap: balance; }
h2 { margin: 8px 0 0; font-size: 19px; }
p { margin: 0; color: var(--ink-2); max-width: 66ch; }
.lede { font-size: 17px; }
a { color: var(--accent); }
.grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 28px; align-items: start; }
@media (max-width: 760px) { .grid { grid-template-columns: 1fr; } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.points { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.points li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; color: var(--ink-2); }
.points li::before { content: "✓"; color: var(--accent); font-weight: 700; }
.points b { color: var(--ink); }
label.fld { display: flex; flex-direction: column; gap: 5px; font-size: 14px; font-weight: 600; }
label.fld span.hint { font-weight: 400; color: var(--ink-3); font-size: 13px; }
input, textarea {
  font: inherit; font-size: 15px; color: var(--ink); background: var(--surface);
  border: 1px solid var(--line); border-radius: 9px; padding: 9px 12px; width: 100%;
}
input:focus-visible, textarea:focus-visible, .btn:focus-visible, a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.slugrow { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 9px; overflow: hidden; background: var(--surface); }
.slugrow input { border: 0; border-radius: 0; min-width: 0; }
.slugrow span { padding: 0 12px; color: var(--ink-3); white-space: nowrap; font-size: 14px; }
.check { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; color: var(--ink-2); }
.check input { width: auto; margin-top: 5px; }
.btn {
  display: inline-block; border: 0; border-radius: 10px; padding: 11px 20px; font: inherit; font-weight: 700;
  background: var(--accent); color: var(--accent-ink); cursor: pointer; text-decoration: none;
}
.btn[disabled] { opacity: .55; cursor: default; }
.msg { border-radius: 10px; padding: 10px 14px; font-size: 14px; }
.msg.err { background: var(--err-soft); color: var(--err); }
.msg.ok { background: var(--ok-soft); color: var(--ok); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }   /* 隱藏欄位：擋機器人 */
.small { font-size: 13px; color: var(--ink-3); }
.doc h2 { margin-top: 18px; }
.doc ol, .doc ul { color: var(--ink-2); padding-left: 1.3em; }
.doc li { margin: 6px 0; }
footer { font-size: 13px; color: var(--ink-3); display: flex; gap: 16px; flex-wrap: wrap; }
