/* SunJacky 各 App 官網共用。色票取自愛計家 DESIGN.md。
   一句一個 <p>，每句短到 375px 放得下（全域 CLAUDE.md「介面文字不可斷句」）。 */
:root {
  --paper: #f4f6f9;
  --ink: #1d2a38;
  --soft: #4d5d72;
  --rule: #cfd9e6;
  --margin: #c94a33;
  --blue: #0277bd;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "PingFang TC", "Noto Sans TC", "Microsoft JhengHei", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  font-variant-numeric: tabular-nums;
}

img { display: block; max-width: 100%; height: auto; }

p { margin: 0; }

a { color: var(--blue); }

a:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

.wrap { width: min(100%, 920px); margin-inline: auto; padding-inline: 20px; }

/* 開頭像一頁家計簿：橫線加左邊那條紅線，五個陶瓷小物站在最後一條線上 */
.hero {
  background-color: #fbfcfe;
  background-image:
    linear-gradient(to right, transparent 11px, var(--margin) 11px, var(--margin) 12px, transparent 12px),
    repeating-linear-gradient(to bottom, transparent 0, transparent 39px, var(--rule) 39px, var(--rule) 40px);
  padding-block: 24px 0;
}

.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; line-height: 40px; }

.brand img { border-radius: 10px; }

h1 { margin: 40px 0 40px; font-size: 40px; line-height: 1.2; font-weight: 800; letter-spacing: -0.01em; }

h1 span { display: block; }

.lede { font-size: 16px; line-height: 40px; }

.stores { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }

.btn {
  display: block;
  flex: 1 1 240px;
  padding: 13px 18px;
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}

.btn:hover { background: #2f4257; }

.shelf {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  margin-top: 40px;
  border-bottom: 3px solid var(--ink);
}

.shelf img { width: 100%; }

h2 { margin: 0 0 12px; font-size: 24px; line-height: 1.35; font-weight: 800; }

.who { padding-block: 48px; }

.scene {
  display: grid;
  gap: 24px;
  padding-block: 48px;
  border-top: 1px solid var(--rule);
}

.object { width: 72px; margin-bottom: 12px; }

.screen {
  width: min(100%, 300px);
  border: 1px solid var(--rule);
  border-radius: 18px;
}

.note { padding-block: 0 48px; color: var(--soft); font-size: 14px; }

.faq { padding-block: 48px; border-top: 3px solid var(--ink); }

.faq h3 { margin: 32px 0 6px; font-size: 17px; line-height: 1.5; font-weight: 700; }

.last { padding-block: 48px; border-top: 1px solid var(--rule); }

.last .stores { margin-top: 20px; }

footer { padding-block: 32px 48px; border-top: 1px solid var(--rule); color: var(--soft); font-size: 14px; }

/* 分工核對表（loveaccount/checklist/）：空格留給手寫，印出來或截圖寫 */
.legend { padding-block: 0 32px; }

.sheet { padding-block: 0 24px; }

.sheet table { width: 100%; border-collapse: collapse; background: #fff; table-layout: fixed; }

.sheet caption { padding-bottom: 8px; text-align: left; font-size: 20px; font-weight: 800; }

.sheet th, .sheet td { border: 1px solid var(--rule); padding: 8px 10px; text-align: left; vertical-align: middle; }

.sheet thead th { background: var(--paper); color: var(--soft); font-size: 14px; font-weight: 700; }

.sheet thead th:first-child, .sheet tbody th { width: 40%; }

.sheet tbody th { height: 48px; font-weight: 400; }

@media print {
  body { background: #fff; }
  .stores { display: none; }
  .sheet { break-inside: avoid; }
}

@media (min-width: 760px) {
  h1 { font-size: 64px; line-height: 80px; margin-block: 40px 40px; }
  .lede { font-size: 18px; }
  .btn { flex: 0 0 auto; min-width: 240px; }
  .shelf { width: 640px; }
  .scene { grid-template-columns: 1fr 300px; align-items: start; column-gap: 48px; }
  .faq { column-count: 2; column-gap: 48px; }
  .faq h2 { column-span: all; }
  .faq h3 { break-after: avoid; }
}
