/* ============================================================
   SentSee — Landing（Apple design 參考）
   依 emilkowalski/skills apple-design SKILL.md：
   - 系統字型為預設；字級越大、字距越緊（-0.02em），內文趨近 0
   - 階層靠「字重 + 字級 + 行高」：顯示 1.06 / 內文 1.55
   - 材質分層：半透明 + backdrop-filter 的結構鉻，內容從底下捲過
   - 動效只動 transform / opacity；按壓當下給回饋（:active ~100ms）
   - 尊重 prefers-reduced-motion / reduced-transparency / contrast
   - Craft：每個數值都有理由；Simplicity：先給最常用的路徑
   ============================================================ */

:root {
  --bg: #ffffff;
  --bg-alt: #f5f5f7;
  --ink: #1d1d1f;
  --gray: #6e6e73;
  --gray-dark: #424245;
  --dark-gray: #a1a1a6;
  --hairline: rgba(0, 0, 0, 0.09);
  --hairline-soft: rgba(0, 0, 0, 0.055);
  --blue: #0071e3;
  --blue-hover: #0077ed;
  --blue-text: #0066cc;
  --blue-link-dark: #2997ff;
  --green: #248a3d;
  --green-soft: rgba(52, 199, 89, 0.14);
  --radius: 18px;
  --radius-l: 24px;
  --step-body: clamp(1rem, 0.97rem + 0.15vw, 1.0625rem);   /* 17px */
  --step-lead: clamp(1.15rem, 1.06rem + 0.45vw, 1.3125rem); /* 19–21px */
  --step-h2: clamp(1.9rem, 1.3rem + 2.9vw, 3.25rem);        /* 52px */
  --step-h1: clamp(2.5rem, 1.5rem + 4.8vw, 4.5rem);         /* 72px */
  --wrap: 1080px;
  --pad: clamp(20px, 4.5vw, 48px);
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI",
          "PingFang TC", "Noto Sans TC", "Microsoft JhengHei", Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Code", Menlo, Consolas, monospace;
  /* 舊頁面相容（account / worker 產出頁） */
  --muted: var(--gray);
  --surface-2: var(--bg-alt);
  --card-gray: var(--bg-alt);
  --step-head: clamp(1.75rem, 1.4rem + 1.6vw, 2.25rem);
  --line: var(--hairline);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--ink);
  font-size: var(--step-body);
  line-height: 1.55;
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  font-optical-sizing: auto;
}
::selection { background: rgba(0, 113, 227, 0.18); }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; }
:focus-visible { outline: 3px solid rgba(0, 113, 227, 0.55); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.mono { font-family: var(--mono); }

/* ---------- 按鈕 ---------- */
.pill {
  display: inline-flex; align-items: center; justify-content: center;
  white-space: nowrap;
  border-radius: 980px; padding: 12px 24px; min-height: 48px;
  font-weight: 500; font-size: 16px; text-decoration: none;
  transition: background 150ms ease, color 150ms ease, border-color 150ms ease,
              transform 100ms ease, opacity 150ms ease;
}
.pill:active { transform: scale(0.97); }
.pill-blue { background: var(--blue); color: #fff; }
.pill-blue:hover { background: var(--blue-hover); }
.pill-line { background: transparent; color: var(--blue-text); border: 1px solid var(--hairline); }
.pill-line:hover { background: rgba(0, 0, 0, 0.04); }
.pill-white { background: #fff; color: var(--ink); border: 1px solid var(--hairline); } /* 相容舊 class */
.pill-dark-outline { background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, 0.45); }
.pill-dark-outline:hover { background: rgba(255, 255, 255, 0.1); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 4px;
  color: var(--blue-text); font-weight: 500; font-size: 16px;
  text-decoration: none;
}
.link-arrow:hover { text-decoration: underline; }
.link-arrow .arr { font-size: 1.05em; line-height: 1; }

/* ---------- 導覽：半透明結構鉻 ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 26px;
  height: 52px;
  background: rgba(251, 251, 253, 0.78);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.07);
}
.logo {
  display: flex; align-items: center; gap: 11px;
  text-decoration: none; font-weight: 700; font-size: 18px;
  letter-spacing: -0.01em; margin-right: auto;
}
.logo-mark {
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--blue); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
}
.nav .navlink { text-decoration: none; color: var(--gray-dark); font-size: 14px; }
.nav .navlink:hover { color: var(--ink); }
.nav .pill { min-height: 36px; padding: 7px 16px; font-size: 14px; }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(56px, 9vh, 104px) clamp(40px, 6vh, 72px); text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600; color: var(--gray);
}
.eyebrow .live { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); }
.hero h1 {
  margin: 18px auto 0;
  max-width: 15em;
  font-size: var(--step-h1);
  font-weight: 700;
  letter-spacing: -0.02em;   /* 大字緊排 */
  line-height: 1.06;         /* 字越大、行高越緊 */
}
.hero .sub {
  margin: 22px auto 0;
  max-width: 36em;
  color: var(--gray);
  font-size: var(--step-lead);
  line-height: 1.5;
}
.hero-actions {
  display: flex; align-items: center; justify-content: center; gap: 26px;
  margin-top: 30px; flex-wrap: wrap;
}
.hero-visual { max-width: 560px; margin: clamp(44px, 7vh, 80px) auto 0; text-align: left; }

/* ---------- 客戶列 ---------- */
.clients { padding-block: 0 clamp(40px, 6vh, 64px); }
.clients-label { text-align: center; font-size: 13px; color: var(--dark-gray); }
.clients-row {
  display: flex; justify-content: center; align-items: baseline; flex-wrap: wrap;
  gap: clamp(18px, 3.5vw, 44px); margin-top: 14px;
}
.clients-row span { font-weight: 600; font-size: 16px; color: var(--gray-dark); letter-spacing: -0.01em; }
.clients-row .sep { color: var(--dark-gray); font-weight: 400; }

/* ---------- 分區節奏 ---------- */
.section { padding-block: clamp(72px, 11vh, 132px); }
.band-alt { background: var(--bg-alt); }
.band-dark { background: #000; color: #fff; }
h2.display {
  font-size: var(--step-h2);
  font-weight: 700;
  letter-spacing: -0.018em;
  line-height: 1.08;
  text-wrap: balance;
}
.h2-center { text-align: center; }
.sub-center { text-align: center; color: var(--gray); font-size: var(--step-lead); margin: 16px auto 0; max-width: 34em; line-height: 1.5; }
.block-head { margin-bottom: clamp(36px, 6vh, 64px); }
.block-head .eyebrow { margin-bottom: 14px; display: inline-flex; }

/* ---------- 檔案照 ---------- */
.story-grid {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(28px, 5vw, 72px); align-items: center;
}
.story-media img.photo {
  display: block; width: 100%;
  border-radius: var(--radius);
  aspect-ratio: 4 / 3; object-fit: cover;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.10);
}
.story-media figcaption { margin-top: 12px; font-size: 13px; color: var(--gray); }
.story-copy p { margin-top: 18px; max-width: 32em; line-height: 1.6; }
.story-copy p:first-of-type { margin-top: 22px; }

/* ---------- 回執單（產品視覺主體） ---------- */
.receipt {
  position: relative;
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: 20px;
  box-shadow: 0 30px 60px -14px rgba(0, 0, 0, 0.18), 0 4px 16px rgba(0, 0, 0, 0.05);
}
.rc-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; }
.rc-brand { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-weight: 600; font-size: 12.5px; letter-spacing: 0.08em; }
.rc-brand .logo-mark { width: 22px; height: 22px; }
.rc-doc { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.12em; color: var(--gray); }
.rc-perf { border-top: 1px dashed rgba(0, 0, 0, 0.18); }
.rc-meta { padding: 14px 20px 8px; display: grid; gap: 7px; }
.rc-meta > div { display: flex; gap: 14px; font-family: var(--mono); font-size: 12.5px; }
.rc-meta dt { color: var(--gray); flex: none; }
.rc-meta dd { font-weight: 500; font-variant-numeric: tabular-nums; }
.rc-events { list-style: none; padding: 10px 20px 14px; }
.rc-events li {
  display: flex; align-items: baseline; gap: 12px;
  padding: 9px 0;
  border-top: 1px dashed var(--hairline-soft);
  font-size: 13.5px;
}
.rc-events li:first-child { border-top: 0; }
.rc-events .rc-t { font-family: var(--mono); font-size: 11.5px; color: var(--gray); flex: none; width: 40px; font-variant-numeric: tabular-nums; }
.rc-events .rc-x { margin-left: auto; flex: none; }
.rc-barcode {
  height: 32px; margin: 4px 20px 18px;
  background: repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 5px, var(--ink) 5px 9px, transparent 9px 12px);
  border-radius: 1px; opacity: 0.88;
}
.rc-stamp {
  position: absolute; top: -13px; right: -10px;
  display: inline-flex; align-items: center; gap: 5px;
  background: var(--green-soft); color: var(--green);
  border-radius: 999px; padding: 8px 14px;
  font-weight: 600; font-size: 13px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

/* ---------- 實際畫面：Gmail 模擬 ---------- */
.effect-grid {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(24px, 3.5vw, 48px); align-items: start;
}
.gsheet {
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-l);
  overflow: clip;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}
.gm-top { display: flex; align-items: center; gap: 16px; padding: 14px 20px; border-bottom: 1px solid var(--hairline-soft); }
.gm-logo { font-weight: 700; font-size: 20px; color: #ea4335; letter-spacing: -0.02em; }
.gm-search {
  flex: 1; max-width: 420px;
  background: var(--bg-alt); border-radius: 8px;
  padding: 8px 14px; font-size: 13px; color: var(--gray);
}
.gm-spacer { margin-left: auto; }
.gm-ic { width: 30px; height: 30px; border-radius: 50%; background: var(--bg-alt); }
.gm-row {
  display: grid;
  grid-template-columns: 18px minmax(0, 150px) minmax(0, 1fr) auto 92px;
  gap: 14px; align-items: center;
  padding: 13px 20px;
  border-bottom: 1px solid var(--hairline-soft);
  font-size: 14px; line-height: 1.4;
}
.gm-row:last-child { border-bottom: 0; }
.gm-row.active { background: rgba(0, 113, 227, 0.07); }
.gm-box { width: 16px; height: 16px; border: 1.5px solid var(--hairline); border-radius: 3px; }
.gm-sender { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gm-subject { color: var(--gray-dark); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gm-subject b { color: var(--ink); font-weight: 500; }
.gm-time { font-family: var(--mono); font-size: 12px; color: var(--gray); text-align: right; }
.gm-state { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 12.5px; justify-self: end; }
.gm-state.read { color: var(--green); }
.gm-state.wait { color: var(--dark-gray); }
.gm-state .ck { width: 1.25em; height: 1em; }
.effect-side { position: relative; }
.effect-side .rc-stamp { top: -13px; }
.ntf {
  position: relative; z-index: 2;
  margin: -26px 0 0 -16px;
  width: min(340px, 92%);
  display: flex; gap: 12px; align-items: flex-start;
  padding: 13px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.16), 0 0 0 0.5px rgba(0, 0, 0, 0.06);
}
.ntf .n-app { width: 34px; height: 34px; border-radius: 8px; background: var(--blue); color: #fff; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.ntf .n-title { font-weight: 600; font-size: 13px; }
.ntf .n-title span { float: right; font-weight: 400; color: var(--gray); margin-left: 10px; }
.ntf .n-body { font-size: 13px; color: var(--gray-dark); margin-top: 1px; }
.ntf .n-actions { display: flex; gap: 16px; margin-top: 7px; }
.ntf .n-actions button { color: var(--blue-text); font-size: 13px; font-weight: 500; padding: 0; }
.ntf .n-actions button:hover { text-decoration: underline; }
.mock-cap { margin-top: 18px; text-align: center; font-size: 13px; color: var(--dark-gray); }

/* ---------- 後台 ---------- */
.dash {
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-l);
  padding: clamp(20px, 3vw, 32px);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}
.dash-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.dash-head h3 { font-size: 17px; font-weight: 700; margin-right: auto; }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  border-radius: 999px; padding: 4px 11px;
  font-size: 12px; font-weight: 600;
}
.chip-live { background: var(--green-soft); color: var(--green); }
.chip-soon { background: rgba(0, 0, 0, 0.055); color: var(--gray); }
.dash-stats { display: flex; gap: clamp(22px, 4vw, 48px); flex-wrap: wrap; margin-top: 18px; }
.dash-stats b { display: block; font-size: 26px; font-weight: 700; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.dash-stats span { font-size: 13px; color: var(--gray); }
.dash-table { width: 100%; border-collapse: collapse; margin-top: 10px; }
.dash-table th {
  text-align: left; font-size: 12px; font-weight: 500; color: var(--gray);
  padding: 14px 12px 8px 0; border-bottom: 1px solid var(--hairline);
}
.dash-table td { padding: 13px 12px 13px 0; border-bottom: 1px solid var(--hairline-soft); font-size: 14px; vertical-align: middle; }
.dash-table tr:last-child td { border-bottom: 0; }
.dash-table .td-subj { font-weight: 600; }
.dash-table .td-to { color: var(--gray); }
.dash-table .td-state { font-weight: 600; }
.dash-table .td-state.read { color: var(--green); }
.dash-table .td-state.wait { color: var(--dark-gray); }
.dash-table .td-time { font-family: var(--mono); font-size: 12.5px; color: var(--gray); text-align: right; font-variant-numeric: tabular-nums; }
.dash-more { margin-top: 14px; }
.dash-more a { color: var(--blue-text); font-size: 14px; font-weight: 500; text-decoration: none; }
.dash-more a:hover { text-decoration: underline; }

.feat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 18px; }
.feat { background: #fff; border: 1px solid var(--hairline); border-radius: var(--radius); padding: 24px; }
.feat .chip { margin-bottom: 14px; }
.feat h3 { font-size: 16.5px; font-weight: 700; letter-spacing: -0.01em; }
.feat p { color: var(--gray); font-size: 14px; line-height: 1.55; margin-top: 6px; }

/* ---------- 隱私（黑） ---------- */
.priv-grid {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(28px, 4vw, 72px); align-items: center;
}
.band-dark h2.display { color: #fff; }
.band-dark .p-sub { color: var(--dark-gray); font-size: var(--step-lead); line-height: 1.5; margin-top: 18px; max-width: 30em; }
.band-dark .eyebrow { color: var(--dark-gray); }
.priv-card-claims { display: grid; gap: 0; }
.priv-card-claims .p-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 13px 2px; font-size: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.priv-card-claims .p-row span { color: var(--dark-gray); }
.priv-card-claims .p-row b { font-weight: 600; color: #30d158; display: inline-flex; align-items: center; gap: 7px; }
.priv-card-claims .p-row b.ink { color: #fff; }
.band-dark .pill { margin-top: 30px; }

/* ---------- 使用情境 ---------- */
.case-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 8px; }
.case { background: var(--bg-alt); border-radius: var(--radius); padding: clamp(24px, 3vw, 32px); }
.case h3 { font-size: 17px; font-weight: 700; letter-spacing: -0.01em; }
.case p { color: var(--gray-dark); font-size: 15px; line-height: 1.6; margin-top: 8px; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-list details { border-bottom: 1px solid var(--hairline); }
.faq-list details:first-of-type { border-top: 1px solid var(--hairline); }
.faq-list summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: baseline; gap: 18px;
  padding: 21px 4px;
  font-weight: 600; font-size: 16.5px; letter-spacing: -0.01em;
  transition: opacity 150ms ease;
}
.faq-list summary:hover { opacity: 0.72; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .q-x { font-size: 19px; color: var(--gray); flex: none; }
.faq-list details p { color: var(--gray-dark); padding: 0 4px 24px; max-width: 58em; }

/* ---------- 終幕 CTA（黑） ---------- */
.cta-band { text-align: center; }
.cta-mark { display: inline-flex; color: #30d158; margin-bottom: 20px; }
.cta-band h2 {
  font-size: clamp(2.2rem, 1.4rem + 4.4vw, 4rem);
  font-weight: 700; letter-spacing: -0.02em; line-height: 1.07;
}
.cta-band .c-sub { color: var(--dark-gray); font-size: var(--step-lead); margin-top: 18px; }
.cta-band .btn-row { margin-top: 30px; display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }

/* ---------- Newsletter ---------- */
.newsletter {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(24px, 4vw, 64px); align-items: center;
  padding-block: clamp(56px, 9vh, 96px);
}
.newsletter .n-kicker { font-size: 14px; font-weight: 600; color: var(--gray); }
.newsletter h3 { font-size: clamp(1.6rem, 1.2rem + 2vw, 2.4rem); font-weight: 700; letter-spacing: -0.018em; line-height: 1.12; margin-top: 10px; }
.newsletter p.n-sub { color: var(--gray); margin-top: 12px; }
.newsletter .n-form { display: flex; gap: 12px; }
.newsletter input {
  flex: 1; min-width: 0;
  border: 1px solid var(--hairline); background: var(--bg-alt);
  border-radius: 12px;
  padding: 14px 18px; font: inherit; font-size: 15px; color: var(--ink);
}
.newsletter input::placeholder { color: var(--dark-gray); }
.newsletter input:focus { outline: 3px solid rgba(0, 113, 227, 0.4); border-color: var(--blue); }
.newsletter .n-note { color: var(--dark-gray); font-size: 13px; margin-top: 12px; }
.newsletter .n-note a { color: var(--blue-text); }
@media (max-width: 860px) { .newsletter { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
footer { background: var(--bg-alt); }
.foot-inner { padding-block: 40px 32px; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 4fr) repeat(2, minmax(0, 2fr)); gap: 32px; }
.foot-grid h5 { font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 12px; }
.foot-grid a { display: block; text-decoration: none; color: var(--gray); font-size: 14px; padding: 4px 0; }
.foot-grid a:hover { color: var(--ink); text-decoration: underline; }
.foot-grid .logo { gap: 12px; margin-bottom: 0; }
.foot-grid p { color: var(--gray); font-size: 14px; line-height: 1.6; max-width: 30ch; margin-top: 12px; }
.foot-bottom {
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  margin-top: 40px; padding-top: 18px;
  border-top: 1px solid var(--hairline);
  color: var(--gray); font-size: 12.5px;
}
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- 舊頁面相容（account / worker 產出頁） ---------- */
.page { min-height: 100vh; display: flex; flex-direction: column; }
.page > main { flex: 1; }
.bigcard { background: #fff; border: 1px solid var(--hairline); border-radius: var(--radius); padding: 28px; margin-bottom: 20px; }
.section-lede { color: var(--gray); font-size: 19px; }
.ui-title { font-weight: 700; font-size: 15px; margin-bottom: 10px; }
.row { padding: 10px 0; border-top: 1px solid var(--hairline-soft); font-size: 14px; }
.subj { font-weight: 600; }
.subj.opened::before { content: "✓✓ "; color: var(--green); }
.subj.unopened::before { content: "✓ "; color: var(--dark-gray); }
.foot-meta { display: flex; gap: 16px; padding: 24px 0; color: var(--gray); font-size: 13px; }
.foot-meta a { color: var(--blue-text); text-decoration: none; }
.foot-meta a:hover { text-decoration: underline; }
.foot-meta .push { margin-left: auto; }

/* ---------- 價格頁 ---------- */
.price-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.plan {
  position: relative;
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-l);
  padding: clamp(24px, 3vw, 36px);
  display: flex; flex-direction: column;
}
.plan-pro { border: 2px solid var(--ink); box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.25); }
.plan-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--blue); color: #fff;
  border-radius: 999px; padding: 5px 14px;
  font-size: 12.5px; font-weight: 600; white-space: nowrap;
}
.plan-head h2 { font-size: 20px; font-weight: 700; letter-spacing: -0.01em; }
.plan-price { margin-top: 10px; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.plan-price b { font-size: 40px; font-weight: 700; letter-spacing: -0.03em; }
.plan-price span { color: var(--gray); font-size: 14px; }
.plan-tag { color: var(--gray); font-size: 14px; line-height: 1.5; margin-top: 8px; }
.plan-list { list-style: none; margin: 22px 0 26px; display: grid; gap: 10px; font-size: 14.5px; }
.plan-list .ck { color: var(--green); margin-right: 4px; flex: none; }
.plan .pill { width: 100%; margin-top: auto; }
.matrix { padding: 8px; }
@media (max-width: 860px) { .price-grid { grid-template-columns: 1fr; } }

/* 帳號頁 footer：與官網同款滿版灰帶 */
.acc-foot-inner { padding-block: 28px; }
.acc-foot-row {
  display: flex; justify-content: space-between; align-items: center;
  gap: 14px; flex-wrap: wrap;
  color: var(--gray); font-size: 13px;
}
.acc-foot-links { display: inline-flex; gap: 22px; }
.acc-foot-links a { color: var(--gray); text-decoration: none; }
.acc-foot-links a:hover { color: var(--ink); text-decoration: underline; }
@media (max-width: 720px) {
  .acc-foot-inner { padding-block: 32px; }
  .acc-foot-row { flex-direction: column; align-items: flex-start; gap: 16px; }
  .acc-foot-links { gap: 20px; flex-wrap: wrap; }
}
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 980px; padding: 10px 22px; min-height: 44px;
  font-weight: 500; font-size: 15px; text-decoration: none; cursor: pointer;
}
.btn-ghost { background: #fff; border: 1px solid var(--hairline); color: var(--blue-text); }
.btn-ghost:hover { background: rgba(0, 0, 0, 0.04); }

/* ---------- 帳號頁（後台） ---------- */
.acc-main { width: 100%; max-width: 920px; padding-bottom: clamp(64px, 10vh, 120px); }
.acc-head { padding: clamp(44px, 8vh, 80px) 0 36px; }
.acc-head h1 {
  margin-top: 14px;
  font-size: clamp(2rem, 1.4rem + 2.8vw, 3rem);
  font-weight: 700; letter-spacing: -0.02em; line-height: 1.1;
}
.acc-head .section-lede { margin-top: 10px; }
.acc-card { margin-bottom: 20px; }
.acc-desc { color: var(--gray); font-size: 14.5px; line-height: 1.6; max-width: 52ch; margin-top: 6px; }
.acc-actions { display: flex; align-items: center; gap: 16px; margin-top: 20px; flex-wrap: wrap; }
.acc-actions code {
  font-family: var(--mono);
  font-size: 22px; font-weight: 500; letter-spacing: 0.1em;
  font-variant-numeric: tabular-nums;
  background: var(--bg-alt); border: 1px solid var(--hairline);
  border-radius: 12px; padding: 12px 20px;
}
.acc-actions .pill { min-height: 44px; padding: 10px 24px; font-size: 15px; }
.acc-recent { margin-top: 22px; }
.acc-recent .row {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 2px; font-size: 14px;
  border-top: 1px solid var(--hairline-soft);
}
.acc-recent .row:first-child { border-top: 0; }
.acc-recent .check { display: inline-flex; color: var(--dark-gray); flex: none; }
.acc-recent .check.read { color: var(--green); }
.acc-recent .subj { font-weight: 600; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acc-recent .meta { margin-left: auto; flex: none; color: var(--gray); font-size: 12.5px; font-variant-numeric: tabular-nums; }

/* 追蹤清單（後台主表） */
.acc-toolbar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.acc-toolbar .ui-title { margin-right: auto; }
.acc-toolbar .ui-title span { font-weight: 400; font-size: 12.5px; color: var(--dark-gray); margin-left: 8px; }
.acc-search {
  border: 1px solid var(--hairline); background: var(--bg-alt);
  border-radius: 10px; padding: 9px 14px;
  font: inherit; font-size: 14px; color: var(--ink);
  min-width: 200px;
}
.acc-search:focus { outline: 3px solid rgba(0, 113, 227, 0.4); border-color: var(--blue); }
.acc-table { margin-top: 8px; }
.acc-table .acc-to { display: block; color: var(--gray); font-weight: 400; font-size: 12.5px; margin-top: 2px; }
tr.acc-tr { cursor: pointer; }
tr.acc-tr:hover td { background: rgba(0, 0, 0, 0.025); }
tr.acc-detail td { background: var(--bg-alt); padding: 18px 14px; }
.acc-detail-inner { max-width: 640px; }
.acc-meta-grid { display: flex; gap: clamp(18px, 3vw, 40px); flex-wrap: wrap; }
.acc-meta-grid dt { font-size: 12px; color: var(--gray); }
.acc-meta-grid dd { font-size: 14px; font-weight: 500; margin-top: 2px; }
.acc-timeline { list-style: none; margin-top: 14px; }
.acc-timeline li { display: flex; gap: 14px; padding: 8px 0; border-top: 1px dashed var(--hairline-soft); font-size: 13.5px; }
.acc-timeline li:first-child { border-top: 0; }
.acc-timeline .t { font-family: var(--mono); font-size: 12px; color: var(--gray); width: 150px; flex: none; font-variant-numeric: tabular-nums; }
.acc-actionsrow { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 16px; }
.acc-actionsrow > span { color: var(--dark-gray); font-size: 12.5px; }
.btn-danger { background: #fff; border: 1px solid rgba(180, 35, 24, 0.45); color: #b3261e; }
.btn-danger:hover { background: rgba(180, 35, 24, 0.06); }
@media (max-width: 560px) {
  .acc-actions code { font-size: 18px; }
  .acc-recent .meta { display: none; }
  .acc-search { flex: 1; min-width: 140px; }
}

/* ---------- 圖示 ---------- */
.ck {
  width: 1.15em; height: 0.92em;
  stroke: currentColor; stroke-width: 2.6; fill: none;
  stroke-linecap: round; stroke-linejoin: round;
  vertical-align: -0.12em;
}
.ck.s { width: 0.95em; }
.logo-mark .ck { width: 14px; height: 11px; stroke-width: 3.2; }
.cta-mark .ck { width: 56px; height: 45px; stroke-width: 2.4; }
.ntf .n-app .ck { width: 17px; height: 14px; stroke-width: 3; }

* { scrollbar-width: thin; scrollbar-color: #c7c7cc transparent; }
*::-webkit-scrollbar { width: 10px; height: 10px; }
*::-webkit-scrollbar-thumb { background: #c7c7cc; border-radius: 999px; border: 3px solid var(--bg); }
*::-webkit-scrollbar-track { background: transparent; }

/* ---------- 動效：只動 transform / opacity ---------- */
.reveal { opacity: 0; transform: translateY(14px); }
.reveal.in {
  opacity: 1; transform: none;
  transition: opacity 600ms cubic-bezier(0.28, 0.11, 0.32, 1), transform 600ms cubic-bezier(0.28, 0.11, 0.32, 1);
}
.reveal.in.d1 { transition-delay: 90ms; }
.reveal.in.d2 { transition-delay: 180ms; }

/* ---------- 無障礙：動作、透明度、對比 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .reveal.in { transform: none; transition: opacity 400ms ease; }
  .pill:active { transform: none; }
}
@media (prefers-reduced-transparency: reduce) {
  .nav { background: rgba(251, 251, 253, 0.98); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .ntf { background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; }
}
@media (prefers-contrast: more) {
  .nav { background: #fff; box-shadow: 0 1px 0 rgba(0, 0, 0, 0.35); }
  .pill-line, .pill-white { border-color: rgba(0, 0, 0, 0.45); }
  .feat, .case, .gsheet, .dash, .receipt { border-color: rgba(0, 0, 0, 0.4); }
}

/* ---------- 響應式 ---------- */
@media (max-width: 1020px) {
  .story-grid, .priv-grid, .effect-grid { grid-template-columns: 1fr; }
  .story-media { max-width: 620px; }
  .effect-side { max-width: 560px; }
  .feat-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .nav { gap: 14px; }
  .nav .navlink { display: none; }
  .nav .pill { min-height: 34px; padding: 6px 14px; font-size: 13.5px; }
}
@media (max-width: 760px) {
  .feat-grid, .case-grid { grid-template-columns: 1fr; }
  .gm-row { grid-template-columns: minmax(0, 1fr) auto; row-gap: 4px; }
  .gm-box, .gm-sender { display: none; }
  .gm-subject { grid-column: 1; white-space: normal; }
  .gm-time { display: none; }
  .gm-state { grid-column: 2; grid-row: 1; }
  .ntf { margin: -22px 0 0 4px; }
  .rc-stamp { right: 8px; }
  .dash-table .td-to { display: none; }
}
