@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Instrument+Serif:ital@0;1&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
  --paper: #f4f0e8;
  --paper-deep: #e8e1d5;
  --paper-soft: #faf7f1;
  --ink: #151515;
  --muted: #6c6a64;
  --line: rgba(21, 21, 21, .16);
  --acid: #d8f24b;
  --acid-soft: #eef7c4;
  --orange: #f57c4d;
  --orange-soft: #fbd9c6;
  --blue: #a5c7f3;
  --serif: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --sans: 'Space Grotesk', 'Noto Sans TC', 'PingFang TC', 'Microsoft JhengHei', system-ui, sans-serif;
  --mono: 'DM Mono', 'Cascadia Mono', monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--acid); color: var(--ink); }

:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.form-section :focus-visible, .visual-dark :focus-visible { outline-color: var(--acid); }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.page-shell { width: min(100%, 1440px); margin: 0 auto; overflow: hidden; }

/* ---------- 頁首與頁尾 ---------- */

.topbar, .footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 0 5.2vw;
  border-bottom: 1px solid var(--line);
}

.brand, .footer > div {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .11em;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 50%;
  font-size: 17px;
  line-height: 1;
}

.topnav { display: flex; gap: 26px; }
.topnav a {
  position: relative;
  color: var(--muted);
  font: 10px var(--mono);
  letter-spacing: .12em;
  text-decoration: none;
  transition: color .2s ease;
}
.topnav a::after {
  position: absolute;
  right: 0; bottom: -6px; left: 0;
  height: 1px;
  background: var(--ink);
  content: '';
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s cubic-bezier(.22, 1, .36, 1);
}
.topnav a:hover { color: var(--ink); }
.topnav a:hover::after { transform: scaleX(1); }

.topbar-note, .eyebrow, .section-label, .summary-card, .submission-meta, .mock-flag, .strip-side-note {
  font-family: var(--mono);
}

.topbar-note { color: var(--muted); font-size: 10px; letter-spacing: .12em; }

/* ---------- 版面基礎 ---------- */

.section-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
  padding: 0 5.2vw;
}

section[id] { scroll-margin-top: 24px; }

.eyebrow, .section-label { margin: 0 0 22px; color: #76736d; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { letter-spacing: -.055em; }
h1 { margin-bottom: 26px; font-size: clamp(40px, 4.4vw, 64px); font-weight: 500; line-height: 1.08; }
h2 { margin-bottom: 18px; font-size: clamp(32px, 3.8vw, 56px); font-weight: 500; line-height: 1.02; }
.hero-lede, .section-heading > p:not(.section-label):not(.heading-flag), .strip-copy, .result-panel > p {
  max-width: 460px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}
.heading-flag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 18px 0 0;
  padding: 6px 10px;
  border: 1px dashed var(--line);
  color: var(--muted);
  font: 9px var(--mono);
  letter-spacing: .06em;
  line-height: 1.5;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  min-height: 52px;
  padding: 0 18px 0 20px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font: 500 12px var(--mono);
  letter-spacing: .04em;
  cursor: pointer;
  text-decoration: none;
  transition: transform .25s cubic-bezier(.22, 1, .36, 1), background .2s ease, color .2s ease;
}

.button:hover { transform: translateY(-3px); }
.button-dark { background: var(--ink); color: var(--paper); }
.button-dark:hover { background: #393939; }
.button-light { background: transparent; color: var(--ink); }
.button-light:hover { background: var(--paper-deep); }
.button-ghost { justify-content: center; background: transparent; border-color: var(--line); color: var(--ink); }
.button-ghost:hover { border-color: var(--ink); background: var(--paper-deep); }

/* ---------- Hero ---------- */

.hero { align-items: center; padding-top: 92px; padding-bottom: 96px; }
.hero-copy { grid-column: 1 / span 6; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-facts { display: flex; flex-wrap: wrap; gap: 34px; margin: 58px 0 0; }
.hero-facts div { padding-top: 10px; border-top: 1px solid var(--ink); }
.hero-facts dt { color: var(--muted); font: 9px var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.hero-facts dd { margin: 6px 0 0; font-size: 13px; font-weight: 500; }

.hero-showcase {
  position: relative;
  grid-column: 8 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 20px;
  padding-bottom: 46px;
}
.hero-showcase::before {
  position: absolute;
  z-index: 0;
  inset: 12% 2% 8% 4%;
  background: var(--acid-soft);
  border: 1px solid var(--line);
  content: '';
  transform: rotate(-2.5deg);
}
.mock-flag {
  position: relative;
  z-index: 2;
  grid-column: 1 / -1;
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: .05em;
}
.mock-flag span { color: var(--orange); }

.scene-card {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  padding: 18px 18px 22px;
  border: 1px solid var(--ink);
  background: var(--paper-soft);
  box-shadow: 8px 9px 0 var(--ink);
  transition: transform .3s cubic-bezier(.22, 1, .36, 1);
}
.scene-hair { transform: rotate(-1.6deg); }
.scene-supp { margin-top: 42px; transform: rotate(1.6deg); }
.scene-card:hover { transform: rotate(0) translateY(-5px); }
.scene-card-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  font: 8px var(--mono);
  letter-spacing: .1em;
  color: var(--muted);
}
.scene-name { margin: 16px 0 4px; font-size: 17px; font-weight: 600; }
.scene-desc { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.5; }

.scene-ticket {
  position: absolute;
  z-index: 3;
  bottom: -10px;
  left: -18px;
  display: grid;
  gap: 3px;
  padding: 13px 16px;
  background: var(--ink);
  color: var(--paper);
  transform: rotate(-2deg);
}
.scene-ticket span { color: var(--acid); font: 8px var(--mono); letter-spacing: .14em; }
.scene-ticket strong { font-size: 13px; font-weight: 500; }
.scene-ticket em { color: #a2a099; font-size: 10px; font-style: normal; }

/* ---------- CSS 包裝示意 ---------- */

.pack { display: flex; flex-direction: column; align-items: center; margin: 26px 0 20px; }
.pack-cap, .pack-lid { border: 1px solid var(--ink); border-bottom: 0; background: var(--ink); }
.pack-cap { width: 30px; height: 20px; border-radius: 4px 4px 0 0; }
.pack-lid { width: 62px; height: 13px; border-radius: 3px 3px 0 0; }
.pack-body {
  position: relative;
  display: grid;
  place-items: center;
  border: 1px solid var(--ink);
  overflow: hidden;
}
.pack-bottle .pack-body {
  width: 78px; height: 132px;
  border-radius: 14px 14px 5px 5px;
  background: linear-gradient(165deg, #fbfde9 0%, var(--acid) 100%);
}
.pack-jar .pack-body {
  width: 104px; height: 104px;
  border-radius: 5px;
  background: linear-gradient(165deg, #fff0e6 0%, var(--orange-soft) 100%);
}
.pack-label {
  padding: 5px 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  width: 100%;
  font: 10px var(--mono);
  font-style: normal;
  letter-spacing: .18em;
  text-align: center;
}
.pack-stripe { display: block; width: 62px; height: 4px; margin: 3px auto; background: var(--ink); }
.pack-stripe.short { width: 34px; opacity: .45; }
.pack-lg { margin: 0; }
.pack-lg .pack-cap { width: 46px; height: 30px; }
.pack-lg .pack-lid { width: 96px; height: 20px; }
.pack-lg.pack-bottle .pack-body { width: 124px; height: 208px; border-radius: 20px 20px 6px 6px; }
.pack-lg.pack-jar .pack-body { width: 168px; height: 162px; }
.pack-lg .pack-label { font-size: 12px; padding: 8px 0; }
.pack-lg .pack-stripe { width: 96px; height: 6px; margin: 5px auto; }
.pack-lg .pack-stripe.short { width: 52px; }

/* ---------- 流程帶 ---------- */

.flow-strip {
  align-items: start;
  padding-top: 44px;
  padding-bottom: 44px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper-deep);
}
.flow-head { grid-column: 1 / span 3; }
.flow-head .section-label { margin-bottom: 10px; }
.flow-heading { margin: 0; font-size: 17px; font-weight: 500; letter-spacing: -.02em; }
.flow-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 6px;
  grid-column: 4 / -1;
  margin: 0;
  padding: 0;
  list-style: none;
}
.flow-list li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  background: var(--paper);
  font-size: 11px;
}
.flow-list li + li::before { color: var(--orange); content: '→'; margin-right: 2px; }
.flow-list span { color: var(--muted); font: 8px var(--mono); }
.flow-note { grid-column: 4 / -1; margin: 16px 0 0; color: var(--muted); font-size: 10px; line-height: 1.6; }

/* ---------- 商品情境 ---------- */

.product-section { padding-top: 110px; padding-bottom: 120px; }
.product-section .section-heading { position: static; grid-column: 1 / span 7; margin-bottom: 66px; }
.product-stack { grid-column: 1 / -1; display: grid; gap: 26px; }

.product-panel {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  align-items: stretch;
  gap: 0;
  border: 1px solid var(--ink);
  background: var(--paper-soft);
}
.product-visual {
  position: relative;
  display: grid;
  min-height: 340px;
  place-items: center;
  border-right: 1px solid var(--ink);
  background:
    repeating-linear-gradient(135deg, rgba(21,21,21,.05) 0 1px, transparent 1px 11px),
    var(--acid-soft);
}
.product-visual.alt {
  background:
    repeating-linear-gradient(135deg, rgba(21,21,21,.05) 0 1px, transparent 1px 11px),
    var(--orange-soft);
}
.product-index {
  position: absolute;
  top: 14px;
  left: 18px;
  color: rgba(21,21,21,.35);
  font-family: var(--serif);
  font-size: 54px;
  line-height: 1;
}
.product-panel.reversed .product-visual { order: 2; border-right: 0; border-left: 1px solid var(--ink); }

.product-copy { padding: 42px 44px; }
.product-kicker { margin: 0 0 12px; color: var(--muted); font: 9px var(--mono); letter-spacing: .14em; }
.product-copy h3 { margin: 0 0 12px; font-size: 26px; font-weight: 600; letter-spacing: -.03em; }
.product-lede { max-width: 470px; margin: 0 0 22px; color: var(--muted); font-size: 13px; line-height: 1.7; }

.tag-row { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 26px; padding: 0; list-style: none; }
.tag-row li {
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 10px;
  letter-spacing: .02em;
}

.spec-list { margin: 0 0 28px; }
.spec-list div {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 16px;
  padding: 11px 0;
  border-top: 1px solid var(--line);
}
.spec-list dt { color: var(--muted); font: 9px var(--mono); letter-spacing: .06em; padding-top: 2px; }
.spec-list dd { margin: 0; font-size: 12px; line-height: 1.6; }

.nutrition-table { width: 100%; margin: 0 0 28px; border-collapse: collapse; }
.nutrition-table caption {
  padding-bottom: 10px;
  color: var(--muted);
  font: 9px var(--mono);
  letter-spacing: .06em;
  text-align: left;
}
.nutrition-table th, .nutrition-table td {
  padding: 10px 0;
  border-top: 1px solid var(--line);
  font-size: 12px;
  font-weight: 400;
  text-align: left;
}
.nutrition-table th { color: var(--muted); width: 45%; }
.nutrition-table td { font-family: var(--mono); font-size: 11px; }

.product-buy {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  padding-top: 22px;
  border-top: 1px solid var(--ink);
}
.price { font-family: var(--mono); font-size: 12px; letter-spacing: .04em; }
.price b { font-size: 22px; font-weight: 500; }
.price small { margin-left: 8px; color: var(--muted); font-size: 9px; }
.fake-cta {
  padding: 11px 20px;
  border: 1px dashed var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 12px;
}
.fake-cta-note { color: var(--muted); font: 9px var(--mono); letter-spacing: .04em; }

/* ---------- 說明帶 ---------- */

.intro-strip { align-items: center; min-height: 145px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.intro-strip .section-label { grid-column: 1 / span 2; align-self: start; padding-top: 32px; margin-bottom: 0; }
.intro-strip > div:nth-child(2) { grid-column: 4 / span 6; padding: 32px 0; }
.strip-title { margin-bottom: 8px; font-size: 20px; line-height: 1.35; }
.strip-copy { margin-bottom: 0; font-size: 13px; line-height: 1.6; }
.strip-side-note { grid-column: 11 / -1; color: var(--muted); font-size: 9px; line-height: 1.4; text-align: right; }
.crosshair { display: block; margin-bottom: 12px; color: var(--orange); font-size: 24px; }

/* ---------- 付款方式 ---------- */

.payment-section { padding-top: 115px; padding-bottom: 130px; }
.section-heading { grid-column: 1 / span 4; align-self: start; position: sticky; top: 36px; }
.payment-grid { grid-column: 6 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.payment-card {
  position: relative;
  display: flex;
  min-height: 250px;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.35);
  cursor: pointer;
  transition: border .2s ease, transform .25s cubic-bezier(.22, 1, .36, 1), background .2s ease, box-shadow .2s ease;
}
.payment-card:hover { transform: translateY(-4px); border-color: var(--ink); }
.payment-card:has(input:checked) { border-color: var(--ink); background: var(--blue); box-shadow: 6px 6px 0 var(--ink); transform: translate(-3px, -3px); }
.payment-card.featured:has(input:checked) { background: var(--acid); }
.payment-card:has(input:focus-visible) { outline: 2px solid var(--ink); outline-offset: 3px; }
.payment-card input, .choice-card input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.card-check { position: absolute; top: 17px; right: 17px; display: grid; width: 24px; height: 24px; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: transparent; font-size: 12px; }
.payment-card:has(input:checked) .card-check { background: var(--ink); border-color: var(--ink); color: var(--acid); }
.payment-icon { display: grid; width: 48px; height: 48px; margin-bottom: 26px; place-items: center; border: 1px solid var(--ink); border-radius: 50%; font-family: var(--serif); font-size: 28px; }
.icon-card { background: var(--orange); } .icon-globe { background: var(--acid); } .icon-atm { background: var(--blue); }
.icon-store { background: #efefeb; } .icon-wave { background: var(--orange); } .icon-steps { background: var(--acid); }
.payment-title { font-size: 18px; font-weight: 600; }
.payment-meta { margin-top: 5px; font: 10px var(--mono); letter-spacing: .04em; }
.scope-legend {
  max-width: 400px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}
.scope-legend b { color: var(--ink); font-weight: 600; }
.scope-tag {
  align-self: flex-start;
  margin-top: 12px;
  padding: 4px 9px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font: 9px var(--mono);
  letter-spacing: .06em;
}
.scope-tag.extra { border-style: dashed; border-color: var(--muted); color: var(--muted); }
.payment-card:has(input:checked) .scope-tag.extra { border-color: var(--ink); color: rgba(21,21,21,.72); }
.payment-copy { max-width: 280px; margin-top: 16px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.payment-card:has(input:checked) .payment-copy { color: rgba(21,21,21,.7); }
.payment-brands { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 18px; }
.payment-brands b { padding: 4px 6px; border: 1px solid var(--line); border-radius: 2px; font: 8px var(--mono); font-weight: 500; letter-spacing: .03em; }

/* ---------- 業者比較 ---------- */

.provider-section { padding-top: 110px; padding-bottom: 125px; background: var(--paper-deep); }
.provider-content { grid-column: 6 / -1; min-width: 0; }
.scroll-hint { display: none; margin: 0 0 8px; color: var(--muted); font: 9px var(--mono); letter-spacing: .08em; }
.provider-table-wrap { overflow-x: auto; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.provider-table { width: 100%; min-width: 720px; border-collapse: collapse; font-size: 11px; }
.provider-table caption { padding: 15px 0; color: var(--muted); font: 9px var(--mono); letter-spacing: .08em; text-align: left; text-transform: uppercase; }
.provider-table th, .provider-table td { padding: 16px 12px; border-top: 1px solid var(--line); vertical-align: top; line-height: 1.6; text-align: left; }
.provider-table thead th { color: var(--muted); border-top: 0; font: 9px var(--mono); font-weight: 500; letter-spacing: .05em; }
.provider-table tbody th { width: 104px; font-weight: 600; }
.provider-table tbody tr:hover { background: rgba(255,255,255,.4); }
.provider-name, .provider-table tbody th small { display: block; }
.provider-table tbody th small { margin-top: 4px; color: var(--muted); font: 9px var(--mono); font-weight: 400; }

.notice-board { margin-top: 56px; padding: 22px; border: 1px solid var(--ink); background: var(--paper); box-shadow: 7px 7px 0 var(--ink); }
.notice-board-top { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding-bottom: 17px; border-bottom: 1px solid var(--line); font-size: 16px; font-weight: 600; }
.notice-board-top small { color: var(--muted); font: 9px var(--mono); font-weight: 400; letter-spacing: .06em; }
.notice-list { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; counter-reset: notice; }
.notice-list li { display: grid; grid-template-columns: 28px 158px 1fr; gap: 12px; padding: 15px 0; border-bottom: 1px solid var(--line); counter-increment: notice; font-size: 11px; line-height: 1.6; }
.notice-list li:last-child { border-bottom: 0; }
.notice-list li::before { color: var(--orange); content: counter(notice, decimal-leading-zero); font: 10px var(--mono); }
.notice-list b { font-weight: 600; } .notice-list span { color: var(--muted); }
.provider-sources { margin: 20px 0 0; color: var(--muted); font-size: 9px; line-height: 1.7; }
.provider-sources a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- 表單 ---------- */

.form-section { padding-top: 125px; padding-bottom: 135px; background: var(--ink); color: var(--paper); }
.form-section .section-label, .form-section .section-heading > p:not(.section-label) { color: #a2a099; }
.form-section form { grid-column: 6 / -1; }
.question-block { margin: 0; padding: 0 0 34px; border: 0; border-bottom: 1px solid rgba(244,240,232,.22); }
.question-block + .question-block { padding-top: 34px; }
.question-block legend { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; font-size: 17px; font-weight: 500; }
.question-block legend span { color: var(--acid); font: 10px var(--mono); }
.choice-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.choice-row.compact { grid-template-columns: repeat(2, minmax(0, 210px)); }
.choice-card { position: relative; display: flex; min-height: 72px; align-items: center; gap: 14px; padding: 13px 15px; border: 1px solid rgba(244,240,232,.28); cursor: pointer; transition: background .2s ease, border .2s ease; }
.choice-card:hover { border-color: var(--paper); }
.choice-card:has(input:checked) { border-color: var(--acid); background: rgba(216,242,75,.13); }
.choice-card:has(input:focus-visible) { outline: 2px solid var(--acid); outline-offset: 3px; }
.choice-ui { width: 18px; height: 18px; flex: 0 0 18px; border: 1px solid #a2a099; border-radius: 50%; }
.choice-card:has(input:checked) .choice-ui { border: 5px solid var(--acid); }
.choice-card b { display: block; font-size: 13px; font-weight: 500; }
.choice-card small { display: block; margin-top: 5px; color: #a2a099; font-size: 10px; }
.scope-note { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 34px; padding: 14px 0; border-top: 1px solid rgba(244,240,232,.22); border-bottom: 1px solid rgba(244,240,232,.22); font: 10px var(--mono); letter-spacing: .04em; }
.scope-note + .scope-note { margin-top: 0; border-top: 0; }
.scope-note span { color: #a2a099; } .scope-note strong { color: var(--acid); font-weight: 500; text-align: right; }
.form-actions { display: flex; align-items: center; justify-content: flex-end; gap: 18px; margin-top: 34px; }
.form-actions .button-dark { background: var(--acid); color: var(--ink); border-color: var(--acid); }
.form-actions .button-dark:hover { background: #e8ff78; }
.form-error { flex: 1; margin: 0; color: #ff9d7b; font-size: 12px; }

/* ---------- 摘要與結果 ---------- */

.summary-section { align-items: start; padding-top: 120px; padding-bottom: 125px; }
.summary-card { grid-column: 6 / -1; min-height: 300px; padding: 24px; border: 1px solid var(--ink); background: var(--acid); box-shadow: 8px 8px 0 var(--ink); font-size: 10px; }
.summary-card-top, .summary-card-bottom { display: flex; justify-content: space-between; gap: 14px; font-size: 9px; letter-spacing: .08em; }
.summary-card-top { padding-bottom: 20px; border-bottom: 1px solid var(--ink); }
.summary-content { min-height: 200px; padding: 26px 0; }
.summary-empty { max-width: 250px; margin: 0; color: rgba(21,21,21,.55); font: 13px var(--sans); line-height: 1.6; }
.summary-list { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.summary-list li { display: grid; grid-template-columns: 145px 1fr; gap: 14px; padding-bottom: 12px; border-bottom: 1px solid rgba(21,21,21,.18); }
.summary-list span { color: rgba(21,21,21,.6); } .summary-list strong { font: 500 11px var(--sans); }
.summary-list strong em { display: block; margin-top: 5px; color: rgba(21,21,21,.62); font: 10px var(--mono); font-style: normal; }
.summary-card-bottom { padding-top: 15px; border-top: 1px solid var(--ink); }
.summary-card-bottom strong { color: rgba(21,21,21,.6); font-weight: 500; }

.result-section { padding-top: 70px; padding-bottom: 125px; background: var(--paper-deep); }
.result-panel { grid-column: 3 / span 8; padding: 50px; border: 1px solid var(--ink); background: var(--paper); box-shadow: 10px 10px 0 var(--ink); }
.result-badge { display: inline-flex; margin-bottom: 36px; padding: 7px 10px; background: var(--acid); font: 10px var(--mono); letter-spacing: .1em; }
.result-summary { margin: 28px 0; padding: 22px; border: 1px solid var(--line); background: rgba(255,255,255,.4); }
.result-summary .summary-list li { grid-template-columns: 170px 1fr; }
.result-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.submission-meta { margin: 24px 0 0; color: var(--muted); font-size: 9px; }

.footer { min-height: 98px; border-top: 1px solid var(--line); border-bottom: 0; }
.footer p { margin: 0; color: var(--muted); font: 10px var(--mono); }

[hidden] { display: none !important; }

/* ---------- 進場動態 ---------- */

/* 只在尚未進場時覆寫 transform，避免蓋掉 hover 與已選取狀態的位移。 */
.reveal { transition: opacity .7s cubic-bezier(.22, 1, .36, 1), transform .7s cubic-bezier(.22, 1, .36, 1); }
.reveal:not(.is-visible) { opacity: 0; transform: translateY(18px); }

/* ---------- 中型螢幕 ---------- */

@media (max-width: 1100px) {
  .topnav { display: none; }
  .hero { padding-top: 72px; padding-bottom: 72px; }
  .hero-copy { grid-column: 1 / span 6; }
  .hero-showcase { grid-column: 8 / -1; grid-template-columns: 1fr; }
  .scene-supp { margin-top: 14px; }
  .scene-ticket { position: static; margin-top: 18px; transform: none; }
  .product-panel { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .product-copy { padding: 34px 30px; }
  .section-heading { grid-column: 1 / span 5; }
  .payment-grid, .provider-content, .form-section form, .summary-card { grid-column: 7 / -1; }
  .payment-grid { grid-template-columns: 1fr; }
  .result-panel { grid-column: 2 / span 10; }
}

/* ---------- 手機 ---------- */

@media (max-width: 800px) {
  .topbar, .footer { min-height: 64px; padding: 0 6vw; }
  .topbar-note { display: none; }
  .section-grid { display: block; padding-right: 6vw; padding-left: 6vw; }

  .hero { padding-top: 56px; padding-bottom: 56px; }
  h1 { font-size: clamp(34px, 9vw, 46px); }
  h2 { font-size: clamp(27px, 7.4vw, 38px); }
  .hero-lede { font-size: 15px; }
  .hero-actions .button { width: 100%; }
  .hero-facts { gap: 14px 26px; margin-top: 40px; }
  .hero-showcase { margin-top: 44px; padding-bottom: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-showcase::before { inset: 12% -2% 8% 2%; }
  .scene-card { padding: 14px 14px 18px; box-shadow: 5px 6px 0 var(--ink); }
  .scene-supp { margin-top: 26px; }
  .scene-name { font-size: 15px; }
  .pack-bottle .pack-body { width: 62px; height: 104px; }
  .pack-jar .pack-body { width: 82px; height: 82px; }
  .pack-stripe { width: 46px; }
  .scene-ticket { margin-top: 22px; }

  .flow-strip { padding-top: 34px; padding-bottom: 34px; }
  .flow-head { margin-bottom: 20px; }
  .flow-list li { font-size: 10px; padding: 7px 10px; }

  .product-section { padding-top: 66px; padding-bottom: 74px; }
  .product-section .section-heading { margin-bottom: 40px; }
  .product-stack { gap: 20px; }
  .product-panel, .product-panel.reversed { display: block; }
  .product-visual, .product-panel.reversed .product-visual {
    min-height: 250px;
    border-right: 0;
    border-left: 0;
    border-bottom: 1px solid var(--ink);
  }
  .pack-lg.pack-bottle .pack-body { width: 100px; height: 166px; }
  .pack-lg.pack-jar .pack-body { width: 132px; height: 128px; }
  .pack-lg .pack-stripe { width: 76px; }
  .product-index { font-size: 40px; }
  .product-copy { padding: 28px 22px 32px; }
  .product-copy h3 { font-size: 22px; }
  .spec-list div { grid-template-columns: 1fr; gap: 5px; }
  .product-buy { display: grid; justify-items: start; gap: 12px; }
  .fake-cta { width: 100%; padding: 13px 20px; text-align: center; }

  .intro-strip { padding-top: 26px; padding-bottom: 26px; }
  .intro-strip .section-label { padding-top: 0; margin-bottom: 14px; }
  .intro-strip > div:nth-child(2) { padding: 0; }
  .strip-side-note { display: none; }
  .strip-title { font-size: 18px; }

  .payment-section, .summary-section { padding-top: 70px; padding-bottom: 78px; }
  .section-heading { position: static; margin-bottom: 40px; }
  .payment-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
  .payment-card { min-height: 0; }
  .payment-copy { max-width: none; }

  .provider-section { padding-top: 70px; padding-bottom: 78px; }
  .scroll-hint { display: block; }
  .notice-board { margin-top: 40px; padding: 18px; box-shadow: 5px 5px 0 var(--ink); }
  .notice-list li { grid-template-columns: 24px 1fr; gap: 6px 10px; }
  .notice-list b { grid-column: 2; }
  .notice-list span { grid-column: 2; }

  .form-section { padding-top: 70px; padding-bottom: 78px; }
  .choice-row, .choice-row.compact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .scope-note { align-items: flex-start; flex-direction: column; gap: 8px; }
  .scope-note strong { text-align: left; }
  .form-actions { display: block; }
  .form-actions .button { width: 100%; }
  .form-error { margin-bottom: 12px; }

  /* 手機上把過小的註記字級拉回可讀範圍，並放大來源連結的點擊區 */
  .mock-flag, .heading-flag, .fake-cta-note, .scroll-hint, .provider-sources,
  .product-kicker, .spec-list dt, .nutrition-table caption, .flow-note, .submission-meta {
    font-size: 10px;
  }
  .scene-card-top, .payment-brands b, .provider-table caption,
  .provider-table thead th, .provider-table tbody th small, .flow-list span { font-size: 9px; }
  .provider-table { font-size: 12px; }
  .provider-sources { line-height: 2; }
  .provider-sources a { display: inline-block; padding: 4px 2px; }
  .notice-list li { font-size: 12px; }
  .payment-copy, .product-lede, .spec-list dd { font-size: 13px; }

  .summary-card { min-height: 0; }
  .result-section { padding-top: 34px; padding-bottom: 78px; }
  .result-panel { padding: 28px 22px; box-shadow: 6px 6px 0 var(--ink); }
  .result-summary .summary-list li, .summary-list li { grid-template-columns: 1fr; gap: 5px; }
  .footer { display: block; padding-top: 22px; padding-bottom: 22px; }
  .footer p { margin-top: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .reveal:not(.is-visible) { opacity: 1; transform: none; }
}

@media print {
  body { background: #fff; }
  .topbar, .hero, .flow-strip, .product-section, .intro-strip, .payment-section,
  .provider-section, .form-section, .summary-section, .footer, .result-actions { display: none !important; }
  .result-section { display: block !important; padding: 0; background: #fff; }
  .result-panel { margin: 0; padding: 20px; border: 0; box-shadow: none; }
  .result-panel h2 { font-size: 30px; }
  .result-summary { background: #fff; }
}
