
.site-banner {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: linear-gradient(180deg, rgba(251,248,242,0.92) 0%, rgba(247,242,234,0.88) 100%);
  border-bottom: 1px solid rgba(207,197,181,0.78);
  box-shadow: 0 10px 28px rgba(34,42,55,0.05);
}
.banner-inner {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}
.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}
.logo-wrap {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  box-shadow: 0 12px 24px rgba(33,58,86,0.14);
}
.tb-logo {
  width: 52px;
  height: 52px;
  display: block;
}
.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.brand-copy strong {
  font-family: Georgia, "Noto Serif TC", serif;
  font-size: 1.32rem;
  letter-spacing: .02em;
  color: #1f324a;
}
.brand-copy small {
  color: var(--muted);
  font-size: .73rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.site-nav a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 800;
  font-size: .95rem;
  padding: 11px 15px;
  border-radius: 999px;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}
.site-nav a:hover {
  background: rgba(255,255,255,0.8);
  color: var(--brand);
  transform: translateY(-1px);
}

.refined-brand { position: relative; }
.refined-brand::after {
  content: "";
  position: absolute;
  left: 70px;
  right: 0;
  bottom: -8px;
  height: 1px;
  background: linear-gradient(90deg, rgba(201,165,106,.55), rgba(201,165,106,0));
  pointer-events: none;
}
.logo-wrap {
  position: relative;
  width: 56px;
  height: 56px;
  background: linear-gradient(180deg, rgba(255,255,255,.72), rgba(244,238,229,.62));
  border: 1px solid rgba(212,200,181,.75);
}
.logo-wrap::before {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.55);
}
.tb-logo {
  width: 56px;
  height: 56px;
}
.brand-copy strong {
  letter-spacing: .04em;
}
.brand-copy small {
  color: #6e796d;
  font-size: .76rem;
  letter-spacing: .04em;
  text-transform: none;
}
.site-nav {
  gap: 8px;
}
.site-nav a {
  color: #304459;
  font-weight: 700;
}
.site-nav a:hover {
  background: rgba(255,255,255,0.9);
  color: var(--brand);
  box-shadow: 0 10px 20px rgba(33,58,86,0.08);
}
.site-nav .nav-cta {
  margin-left: 4px;
  background: linear-gradient(180deg, var(--accent) 0%, #9b7539 100%);
  color: #fff7ea;
  border: 1px solid rgba(140,103,48,.6);
  box-shadow: 0 14px 28px rgba(178,138,74,0.24);
}
.site-nav .nav-cta:hover {
  background: linear-gradient(180deg, #c7a166 0%, #886229 100%);
  color: #fffdf7;
}
.plans-section {
  background: linear-gradient(180deg, #fbfaf7 0%, #f5f1e8 100%);
  border-top: 1px solid #e6dfd4;
  border-bottom: 1px solid #e6dfd4;
}
.plans-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 18px;
}
.plan-card {
  background: linear-gradient(180deg, rgba(255,253,249,0.98) 0%, rgba(255,250,244,0.93) 100%);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 24px 22px;
  box-shadow: var(--shadow-sm);
}
.featured-plan {
  position: relative;
  overflow: hidden;
}
.featured-plan::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--jump));
}
.plan-tag {
  display: inline-flex;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-deep);
  font-weight: 800;
  font-size: .82rem;
  margin-bottom: 12px;
}
.plan-card h3 {
  margin: 0 0 10px;
  color: #22384b;
  font-size: 1.14rem;
}
.plan-price {
  font-family: Georgia, "Noto Serif TC", serif;
  font-size: 2rem;
  color: var(--brand);
  margin-bottom: 10px;
}
.plan-card p, .plan-card li {
  color: var(--muted);
  line-height: 1.85;
}
.plan-card ul {
  margin: 0;
  padding-left: 1.2em;
}

:root {
  --bg: #f6f4ef;
  --bg-soft: #efe8dc;
  --card: rgba(255, 252, 247, 0.96);
  --card-strong: #fffdfa;
  --ink: #243447;
  --ink-soft: #34465c;
  --muted: #6f7a86;
  --line: #ddd6c9;
  --line-strong: #cfc5b5;
  --brand: #213a56;
  --brand-dark: #182a3f;
  --brand-soft: #eef2f6;
  --accent: #b28a4a;
  --accent-soft: #f6eddc;
  --accent-deep: #8f6a31;
  --jump: #6f8b7a;
  --jump-soft: #e8f0eb;
  --success: #2e6a4a;
  --warning: #9a5a00;
  --danger: #b42318;
  --shadow-sm: 0 12px 28px rgba(34, 42, 55, 0.05);
  --shadow-md: 0 22px 48px rgba(28, 37, 49, 0.08);
  --shadow-lg: 0 34px 78px rgba(24, 34, 48, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Noto Sans TC", Arial, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(255,255,255,0.92), transparent 30%),
    linear-gradient(180deg, #fbfaf7 0%, var(--bg) 30%, #faf8f3 100%);
  color: var(--ink);
}
a { color: inherit; }
.container { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }

.hero {
  position: relative;
  overflow: clip;
  padding: 84px 0 58px;
  background:
    linear-gradient(180deg, rgba(250,247,240,0.96) 0%, rgba(246,243,236,0.98) 58%, rgba(246,244,239,1) 100%);
  border-bottom: 1px solid #e2dbcf;
}
.upgraded-hero { isolation: isolate; }
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,0.14), rgba(255,255,255,0));
  pointer-events: none;
}
.hero-bg-orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(14px);
  z-index: -1;
  opacity: .95;
}
.orb-1 {
  width: 360px;
  height: 360px;
  right: -70px;
  top: -60px;
  background: radial-gradient(circle, rgba(111,139,122,.22) 0%, rgba(111,139,122,0) 72%);
}
.orb-2 {
  width: 300px;
  height: 300px;
  left: -70px;
  bottom: -100px;
  background: radial-gradient(circle, rgba(178,138,74,.16) 0%, rgba(178,138,74,0) 74%);
}
.hero-grid { display: grid; grid-template-columns: 1.06fr 0.94fr; gap: 40px; align-items: start; }
.hero-copy { padding-top: 10px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  color: var(--brand);
  font-size: .9rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 30px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), rgba(178,138,74,0));
}
.hero-copy h1 {
  font-family: Georgia, "Noto Serif TC", serif;
  font-size: clamp(2.65rem, 5vw, 4.55rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin: 0 0 20px;
  color: #1f2f43;
}
.lead {
  margin: 0;
  max-width: 760px;
  color: var(--ink-soft);
  font-size: 1.04rem;
  line-height: 1.95;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.hero-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 30px; }
.mini-card {
  background: linear-gradient(180deg, rgba(255,253,250,0.94) 0%, rgba(255,250,244,0.88) 100%);
  border: 1px solid rgba(221,214,201,0.95);
  border-radius: 22px;
  padding: 18px 16px;
  box-shadow: var(--shadow-sm);
}
.mini-card strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 6px;
  color: #243447;
}
.mini-card span {
  display: block;
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.7;
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  min-height: 50px;
  border-radius: 14px;
  padding: 12px 18px;
  text-decoration: none;
  border: 1px solid var(--line);
  font-weight: 800;
  font-size: .98rem;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease, color .18s ease;
}
.button:hover { transform: translateY(-1px); }
.button.primary {
  background: linear-gradient(180deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: #fff;
  border-color: var(--brand-dark);
  box-shadow: 0 14px 28px rgba(33,58,86,0.18);
}
.button.primary:hover {
  background: linear-gradient(180deg, #274564 0%, #16273b 100%);
}
.button.ghost {
  background: rgba(255,253,249,0.78);
  color: var(--brand);
  border-color: #d7d0c2;
}
.button.ghost:hover { background: rgba(255,255,255,0.98); }
.button.wide { width: 100%; }
.hidden { display: none !important; }

.section { padding: 76px 0; }
.section.muted {
  background: linear-gradient(180deg, #f1ebe1 0%, #f7f4ee 100%);
  border-top: 1px solid #e6dfd4;
  border-bottom: 1px solid #e6dfd4;
}
.two-col { display: grid; gap: 26px; grid-template-columns: 1.08fr 0.92fr; align-items: start; }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 22px;
  margin-bottom: 30px;
}
.section-head h2 {
  margin: 0;
  font-family: Georgia, "Noto Serif TC", serif;
  font-size: clamp(1.85rem, 3vw, 2.55rem);
  line-height: 1.18;
  letter-spacing: -0.025em;
  color: #203245;
}
.section-head p {
  margin: 0;
  max-width: 520px;
  color: var(--muted);
  line-height: 1.9;
}
.compact-head { margin-bottom: 24px; }

.panel {
  background: var(--card-strong);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 28px;
  box-shadow: var(--shadow-md);
}
.glass-panel {
  background: linear-gradient(180deg, rgba(255,253,249,0.95) 0%, rgba(255,250,244,0.9) 100%);
  backdrop-filter: blur(10px);
}
.panel-topline {
  color: var(--accent-deep);
  font-size: .86rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.panel-title {
  margin: 0 0 22px;
  font-size: 1.48rem;
  line-height: 1.35;
  color: #22364b;
}
.panel label { display: block; font-weight: 800; margin-bottom: 16px; color: #304253; }
.panel input[type="text"],
.panel input[type="email"],
.panel input[type="file"] {
  width: 100%;
  margin-top: 8px;
  padding: 13px 14px;
  border-radius: 14px;
  border: 1px solid var(--line-strong);
  font: inherit;
  background: rgba(255,255,255,0.96);
  box-shadow: inset 0 1px 2px rgba(17,39,63,0.03);
}
.panel input:hover { border-color: #c3b8a7; }
.panel input:focus {
  outline: none;
  border-color: var(--jump);
  box-shadow: 0 0 0 4px rgba(111,139,122,0.12);
}
.upload-panel-hero {
  position: relative;
  border-color: #d9d0c2;
}
.upload-panel-hero::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  border-radius: 28px 28px 0 0;
  background: linear-gradient(90deg, var(--accent) 0%, var(--jump) 100%);
}
.pricing-note {
  margin-bottom: 16px;
  color: var(--accent-deep);
  background: linear-gradient(180deg, #fbf2e2 0%, #fff8ee 100%);
  border: 1px solid #ead8b3;
  padding: 15px 16px;
  border-radius: 18px;
}
.pricing-note strong { display: block; margin-bottom: 6px; }
.pricing-note p { margin: 0; line-height: 1.8; }
.checkbox { display: flex; gap: 12px; align-items: start; font-weight: 400; }
.checkbox input { margin-top: 3px; flex: 0 0 auto; }
.disclaimer-box {
  background: linear-gradient(180deg, #f8faf7 0%, #f4f7f3 100%);
  border: 1px solid #d8e2da;
  border-radius: 18px;
  padding: 15px 15px 13px;
}
.disclaimer-box strong { display: block; margin-bottom: 6px; font-size: .98rem; color: #294138; }
.disclaimer-box small { display: block; color: var(--muted); font-size: .84rem; line-height: 1.84; }

.output-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.output-card {
  position: relative;
  overflow: hidden;
  min-height: 198px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 24px 22px;
  box-shadow: var(--shadow-sm);
}
.output-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 72px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), rgba(178,138,74,0));
}
.output-card::after {
  content: "";
  position: absolute;
  inset: auto -26px -34px auto;
  width: 118px;
  height: 118px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(111,139,122,.10) 0%, rgba(111,139,122,0) 68%);
}
.tone-blue { background: linear-gradient(180deg, #fffdfa 0%, #f7f8f9 100%); }
.tone-white { background: linear-gradient(180deg, #fffdfb 0%, #fcfbf8 100%); }
.tone-accent {
  background: linear-gradient(180deg, #f9faf7 0%, #eef3ef 100%);
  border-color: #cddacc;
}
.output-card h3 { margin: 0 0 10px; font-size: 1.14rem; color: #22384b; }
.output-card p { margin: 0; color: var(--muted); line-height: 1.86; }
.emphasis-card::before { background: linear-gradient(90deg, var(--jump), rgba(111,139,122,0)); }

.steps-section { position: relative; }
.steps-shell { position: relative; }
.step-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.step-card {
  background: linear-gradient(180deg, rgba(255,253,249,0.98) 0%, rgba(255,250,244,0.93) 100%);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 20px 18px;
  box-shadow: var(--shadow-sm);
}
.step-card span {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(180deg, #f6eddc 0%, #efe2c2 100%);
  color: var(--accent-deep);
  font-weight: 800;
  margin-bottom: 12px;
}
.step-card strong { display: block; margin-bottom: 8px; font-size: 1rem; color: #23374b; }
.step-card p { margin: 0; color: var(--muted); font-size: .94rem; line-height: 1.8; }

.payment-shell { max-width: 820px; }
.payment-header { margin-bottom: 18px; }
.payment-header h2 {
  margin: 0 0 8px;
  font-family: Georgia, "Noto Serif TC", serif;
  color: #203245;
}
.payment-header p { margin: 0; color: var(--muted); line-height: 1.84; }
.payment-summary-grid { display: grid; grid-template-columns: 230px 1fr; gap: 18px; align-items: start; }
.payment-panel { background: linear-gradient(180deg, #fffdfa 0%, #fcfaf5 100%); }
.payment-highlight {
  background: linear-gradient(180deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: white;
  border-radius: 22px;
  padding: 20px;
  box-shadow: 0 16px 32px rgba(33,58,86,0.18);
}
.payment-highlight span { display: block; font-size: .95rem; opacity: .88; margin-bottom: 10px; }
.payment-highlight strong { display: block; font-size: 2rem; line-height: 1.08; }
.summary-list { margin: 0; display: grid; gap: 10px; }
.summary-list div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px dashed #d9cfbf;
}
.summary-list.compact div:last-child { border-bottom: 0; padding-bottom: 0; }
.summary-list dt { font-weight: 800; color: var(--ink); }
.summary-list dd { margin: 0; text-align: right; font-weight: 800; color: var(--brand); }
.payment-box {
  margin-top: 18px;
  padding: 15px 16px;
  background: linear-gradient(180deg, #eef2f0 0%, #f6f8f7 100%);
  border: 1px solid #d7dfda;
  border-radius: 18px;
}
.payment-box p { margin: 0 0 8px; }
.payment-box p:last-child { margin-bottom: 0; }
.simple-box { color: var(--ink); }

.query-section {
  background: linear-gradient(180deg, rgba(255,253,249,0.98) 0%, rgba(250,247,241,1) 100%);
  border-top: 1px solid #e6dfd4;
  border-bottom: 1px solid #e6dfd4;
}
.query-layout { align-items: center; }
.query-tip-card {
  margin-top: 18px;
  max-width: 460px;
  background: linear-gradient(180deg, #f8faf7 0%, #f1f5f2 100%);
  border: 1px solid #d6e0d8;
  border-radius: 20px;
  padding: 18px;
}
.query-tip-card strong { display: block; margin-bottom: 6px; color: #294138; }
.query-tip-card p { margin: 0; color: var(--muted); line-height: 1.82; }
.result { margin-top: 16px; color: var(--muted); }
.result-block { min-height: 110px; }
.status-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px;
  background: #fffdfa;
}
.status-card.only-status { text-align: left; }
.status-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 7px 12px;
  font-weight: 800;
}
.status-badge.pending_payment { background: #fff1d8; color: var(--warning); }
.status-badge.queued, .status-badge.processing { background: #edf3ef; color: var(--jump); }
.status-badge.completed { background: #edf6f1; color: var(--success); }
.status-badge.failed { background: #fdecec; color: var(--danger); }
.query-note { margin: 10px 0 0; color: var(--muted); }
.task-detail-list { margin: 14px 0 0; display: grid; gap: 9px; }
.task-detail-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 8px;
  border-bottom: 1px dashed #ddd4c7;
}
.task-detail-row:last-child { border-bottom: 0; padding-bottom: 0; }
.task-detail-label { color: var(--muted); }
.task-detail-value { font-weight: 800; color: var(--ink); text-align: right; }

.faq-section { background: transparent; }
.faq-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.faq-card {
  background: linear-gradient(180deg, #fffdfa 0%, #fcfaf6 100%);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 24px 22px;
  box-shadow: var(--shadow-sm);
}
.faq-card h3 {
  margin: 0 0 10px;
  font-size: 1.08rem;
  color: #24384b;
}
.faq-card p { margin: 0; color: var(--muted); line-height: 1.86; }

.retention-note { margin-top: 10px; color: var(--muted); font-size: .95rem; }
.muted-text { color: var(--muted); font-size: .92rem; }
.admin-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.full-width { grid-column: 1 / -1; }
.button-row { display: flex; gap: 10px; flex-wrap: wrap; }
.button.small { padding: 8px 12px; font-size: .9rem; min-height: auto; }
.admin-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.admin-form-grid .full { grid-column: 1 / -1; }
.table-wrap { overflow: auto; }
.admin-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.admin-table th, .admin-table td { border-bottom: 1px solid var(--line); padding: 10px; vertical-align: top; text-align: left; }
.tiny { font-size: .8rem; color: var(--muted); margin-top: 6px; line-height: 1.4; }
.stack-buttons { display: flex; flex-direction: column; gap: 8px; }
.coupon-item { padding: 8px 0; border-bottom: 1px dashed var(--line); }

@media (max-width: 1080px) {
  .hero-grid, .two-col, .query-layout, .section-head { grid-template-columns: 1fr; }
  .section-head { align-items: start; }
  .hero-points, .output-grid, .faq-grid { grid-template-columns: 1fr 1fr; }
  .step-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .container { width: min(1120px, calc(100% - 24px)); }
  .hero { padding: 58px 0 42px; }
  .panel { padding: 22px; border-radius: 24px; }
  .hero-copy h1 { font-size: clamp(2.15rem, 10vw, 3.2rem); }
  .hero-points, .output-grid, .faq-grid, .step-grid, .admin-layout, .admin-form-grid { grid-template-columns: 1fr; }
  .button, .button.primary, .button.ghost { width: 100%; }
  .hero-actions { flex-direction: column; }
  .section { padding: 58px 0; }
}

@media (max-width: 860px) {
  .banner-inner { min-height: 72px; flex-direction: column; align-items: flex-start; justify-content: center; padding: 10px 0; }
  .site-nav { width: 100%; gap: 8px; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 2px; }
  .site-nav a { white-space: nowrap; padding: 10px 14px; font-size: .9rem; background: rgba(255,255,255,0.56); }
  .plans-grid { grid-template-columns: 1fr; }
}

@media (max-width: 980px) {
  .banner-inner {
    min-height: auto;
    padding: 12px 0;
    flex-direction: column;
    align-items: stretch;
  }
  .site-nav {
    justify-content: space-between;
  }
}
@media (max-width: 700px) {
  .site-nav {
    gap: 6px;
  }
  .site-nav a {
    padding: 10px 12px;
    font-size: .9rem;
  }
  .site-nav .nav-cta {
    width: 100%;
    justify-content: center;
  }
  .refined-brand::after {
    display: none;
  }
}


/* v7 polish */
.site-banner{
  background: linear-gradient(180deg, rgba(252,249,243,.92), rgba(248,244,236,.88));
  border-bottom: 1px solid rgba(207,197,181,.72);
}
.banner-inner{min-height:76px;}
.hero-copy h1{max-width: 11.5ch; letter-spacing: .01em;}
.hero-copy .lead{max-width: 760px; font-size: 1.04rem; line-height: 1.95; color: #5e6975;}
.hero-actions{margin-top: 26px;}
.hero-actions .button{min-width: 168px;}
.button.primary{
  background: linear-gradient(180deg, var(--brand) 0%, var(--brand-dark) 100%);
  border-color: rgba(24,42,63,.9);
  box-shadow: 0 16px 30px rgba(33,58,86,.18);
}
.button.primary:hover{transform: translateY(-1px);}
.button.ghost{background: rgba(255,255,255,.68); border-color: rgba(207,197,181,.92);}
.glass-panel{
  background: linear-gradient(180deg, rgba(255,253,249,.92), rgba(255,250,244,.86));
  border: 1px solid rgba(214,204,188,.92);
  box-shadow: 0 28px 56px rgba(31,45,63,.10);
}
.upload-panel-hero{position: relative;}
.upload-panel-hero::after{
  content:""; position:absolute; inset:0 0 auto 0; height:5px;
  background: linear-gradient(90deg, var(--accent), var(--jump));
  border-radius: 24px 24px 0 0;
}
.trust-strip{padding: 0 0 18px;}
.trust-strip-inner{
  display:grid; grid-template-columns: repeat(3,1fr); gap:14px;
}
.trust-item{
  background: rgba(255,252,247,.76); border:1px solid rgba(220,213,200,.9);
  border-radius: 18px; padding: 14px 16px; box-shadow: var(--shadow-sm);
}
.trust-item strong{display:block; margin-bottom:5px; color:#20354e; font-size:.95rem;}
.trust-item span{display:block; color:#6b7682; font-size:.9rem; line-height:1.7;}
.results-preview-shell{margin: 4px 0 22px;}
.results-preview-card{
  background: linear-gradient(180deg, rgba(255,253,249,.96), rgba(250,246,239,.92));
  border:1px solid rgba(214,204,188,.95); border-radius: 28px; padding: 18px;
  box-shadow: var(--shadow-md);
}
.preview-topbar{display:flex; gap:8px; margin-bottom:16px;}
.preview-topbar span{width:10px; height:10px; border-radius:50%; background:#d5cab9; display:inline-block;}
.preview-grid{display:grid; grid-template-columns:1.25fr 1fr; gap:14px;}
.preview-sheet{
  min-height: 118px; border-radius: 20px; padding: 18px; border:1px solid rgba(220,214,203,.92);
  background: linear-gradient(180deg, rgba(255,255,255,.9), rgba(245,241,234,.8));
}
.preview-sheet strong{display:block; color:#243a52; margin-bottom:8px; font-size:1rem;}
.preview-sheet span{display:block; color:#6a7480; line-height:1.8; font-size:.93rem;}
.preview-sheet-main{grid-row: span 2; min-height:250px; background: linear-gradient(180deg, rgba(233,240,246,.86), rgba(255,255,255,.92));}
.preview-warn{background: linear-gradient(180deg, rgba(246,237,220,.88), rgba(255,251,245,.92));}
.output-card, .faq-card, .step-card, .plan-card{transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;}
.output-card:hover, .faq-card:hover, .step-card:hover, .plan-card:hover{transform: translateY(-2px); box-shadow: var(--shadow-md);}
.section-head p{max-width: 600px; line-height: 1.9;}
.query-tip-card{
  margin-top:20px; padding:16px 18px; border-radius:18px; background:linear-gradient(180deg, rgba(246,237,220,.62), rgba(255,252,247,.75));
  border:1px solid rgba(214,204,188,.86);
}
.query-tip-card strong{display:block; margin-bottom:6px; color:#253c55;}
.query-tip-card p{margin:0; color:#6b7581; line-height:1.8;}
.status-card.upgraded-status{background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(247,243,236,.94)); box-shadow: var(--shadow-sm);}
.status-meta-grid{display:grid; grid-template-columns:repeat(2,1fr); gap:12px; margin-top:14px;}
.status-meta-item{padding:12px 14px; border-radius:16px; background:#fffdfa; border:1px solid rgba(220,214,203,.9);}
.status-meta-item.full{grid-column:1/-1;}
.status-meta-item span{display:block; color:#7a8490; font-size:.82rem; margin-bottom:4px;}
.status-meta-item strong{display:block; color:#23384f; font-size:.96rem; word-break:break-all;}
@media (max-width: 900px){
  .trust-strip-inner, .preview-grid{grid-template-columns:1fr;}
  .preview-sheet-main{grid-row:auto; min-height:150px;}
}


.outputs-section .section-head {
  margin-bottom: 28px;
}
.refined-outputs-head {
  align-items: end;
}
.outputs-showcase {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: stretch;
  margin-bottom: 34px;
}
.showcase-visual,
.showcase-copy {
  min-width: 0;
}
.showcase-visual {
  background: linear-gradient(180deg, rgba(255,252,247,0.98) 0%, rgba(251,248,242,0.96) 100%);
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 18px;
  box-shadow: var(--shadow-md);
}
.refined-topbar {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}
.refined-topbar span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #d8cfbf;
}
.excel-mockup {
  display: grid;
  grid-template-columns: 168px 1fr;
  gap: 14px;
  min-height: 320px;
}
.excel-sidebar {
  background: #f3ede3;
  border: 1px solid #e1d8ca;
  border-radius: 20px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.sheet-tab {
  display: block;
  padding: 11px 12px;
  border-radius: 14px;
  font-size: .9rem;
  font-weight: 700;
  color: #5e6a77;
  background: rgba(255,255,255,0.7);
  border: 1px solid rgba(214,204,189,0.75);
}
.sheet-tab.active {
  background: linear-gradient(180deg, #284260 0%, #1a2e45 100%);
  color: #f8f4eb;
  border-color: #243e5d;
}
.sheet-tab.warn {
  background: #eef4ef;
  color: #476353;
}
.excel-body {
  background: #fffdfa;
  border: 1px solid #e1d8ca;
  border-radius: 22px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.excel-row {
  display: grid;
  grid-template-columns: 1.3fr 1fr .8fr .8fr;
  gap: 10px;
}
.excel-row span {
  display: block;
  padding: 11px 12px;
  border-radius: 12px;
  background: #f8f6f1;
  border: 1px solid #ece4d7;
  color: #516171;
  font-size: .9rem;
}
.excel-row.header span {
  background: #edf2f6;
  color: #22384b;
  font-weight: 800;
}
.excel-row.subtle span {
  background: #f3f5f1;
  color: #5f7468;
}
.showcase-copy {
  display: grid;
  gap: 16px;
}
.showcase-point {
  border-radius: 24px;
  padding: 24px 22px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.showcase-point h3 {
  margin: 0 0 10px;
  font-size: 1.15rem;
  color: #22384b;
}
.showcase-point p {
  margin: 0;
  line-height: 1.85;
  color: var(--muted);
}
.tone-blue-soft {
  background: linear-gradient(180deg, #f7fafc 0%, #eef3f8 100%);
}
.tone-warm-soft {
  background: linear-gradient(180deg, #fffdfa 0%, #f7f1e8 100%);
}
.tone-green-soft {
  background: linear-gradient(180deg, #f7fbf8 0%, #edf5ef 100%);
}
.compact-output-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.compact-output-grid .output-card {
  min-height: 190px;
}
@media (max-width: 980px) {
  .outputs-showcase {
    grid-template-columns: 1fr;
  }
  .excel-mockup {
    grid-template-columns: 1fr;
  }
  .excel-sidebar {
    flex-direction: row;
    flex-wrap: wrap;
  }
}
@media (max-width: 860px) {
  .compact-output-grid {
    grid-template-columns: 1fr;
  }
  .excel-row {
    grid-template-columns: 1fr 1fr;
  }
}


/* v9 layout + icons refinement */
.hero { padding-bottom: 44px; }
.hero-grid {
  align-items: center;
  gap: 46px;
}
.hero-copy { max-width: 620px; }
.hero-points {
  gap: 14px;
  max-width: 560px;
}
.mini-card {
  position: relative;
  padding: 18px 16px 16px 18px;
}
.mini-icon,
.section-icon,
.trust-icon,
.step-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}
.mini-icon,
.section-icon,
.trust-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid rgba(201,165,106,.28);
  background: linear-gradient(180deg, rgba(255,255,255,.92), rgba(246,239,227,.92));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8);
  margin-bottom: 12px;
}
.trust-strip {
  padding: 8px 0 0;
}
.trust-strip-inner {
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 18px;
}
.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px;
  min-height: 108px;
  background: linear-gradient(180deg, rgba(255,253,249,.92), rgba(251,247,240,.88));
}
.trust-item div { min-width: 0; }
.trust-item strong { margin-bottom: 6px; }
.outputs-section { padding-top: 60px; }
.outputs-showcase {
  gap: 24px;
  align-items: start;
}
.showcase-visual,
.showcase-copy {
  height: 100%;
}
.showcase-copy {
  align-content: start;
}
.showcase-point {
  position: relative;
  padding-top: 22px;
  min-height: 155px;
}
.compact-output-grid {
  margin-top: 8px;
  gap: 18px;
}
.compact-output-grid .output-card {
  min-height: 168px;
}
.output-card {
  padding-top: 22px;
}
.output-card h3,
.showcase-point h3 {
  margin-top: 2px;
}
.step-card {
  position: relative;
  padding-top: 18px;
}
.step-card span {
  margin-bottom: 10px;
}
.step-icon {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  margin-bottom: 12px;
  background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(247,240,228,.95));
  border: 1px solid rgba(201,165,106,.26);
}
.icon-sheet::before,
.icon-group::before,
.icon-alert::before,
.icon-time::before,
.icon-flow::before,
.icon-grid::before,
.icon-safe::before,
.icon-upload::before,
.icon-calc::before,
.icon-search::before,
.icon-download::before {
  content: "";
  position: absolute;
}
.icon-sheet::before {
  width: 18px; height: 22px; border-radius: 4px;
  border: 2px solid #27425f; top: 9px; left: 11px;
  box-shadow: inset 0 -6px 0 rgba(111,139,122,.18);
}
.icon-sheet::after {
  content:""; position:absolute; width:10px; height:2px; background:#b28a4a; left:15px; top:17px;
  box-shadow: 0 5px 0 #d1bf9d, 0 10px 0 #d1bf9d;
}
.icon-group::before {
  width: 9px; height: 9px; border-radius:50%; background:#27425f; left:10px; top:12px;
  box-shadow: 12px 0 0 #b28a4a, 6px 12px 0 #6f8b7a;
}
.icon-group::after {
  content:""; position:absolute; width:22px; height:10px; border-radius:999px; border:2px solid rgba(39,66,95,.45); left:10px; top:23px;
}
.icon-alert::before {
  width: 0; height: 0; border-left: 10px solid transparent; border-right:10px solid transparent; border-bottom:18px solid #b28a4a; left:11px; top:8px;
}
.icon-alert::after {
  content:""; position:absolute; width:3px; height:8px; background:#fff; left:19px; top:15px; box-shadow: 0 11px 0 0 #fff; border-radius:2px;
}
.icon-time::before {
  width: 20px; height:20px; border-radius:50%; border:2px solid #27425f; left:10px; top:10px;
}
.icon-time::after {
  content:""; position:absolute; width:2px; height:7px; background:#b28a4a; left:20px; top:14px; transform-origin:bottom center; box-shadow: 4px 4px 0 0 #6f8b7a;
}
.icon-flow::before {
  width:18px; height:2px; background:#27425f; left:8px; top:16px; box-shadow: 0 8px 0 #6f8b7a;
}
.icon-flow::after {
  content:""; position:absolute; width:7px; height:7px; border-top:2px solid #b28a4a; border-right:2px solid #b28a4a; transform: rotate(45deg); right:9px; top:13px; box-shadow: 0 8px 0 0 rgba(0,0,0,0);
}
.icon-grid::before {
  width: 8px; height: 8px; background:#27425f; left:11px; top:11px;
  box-shadow: 12px 0 0 #b28a4a, 0 12px 0 #6f8b7a, 12px 12px 0 #d1bf9d;
}
.icon-safe::before {
  width: 18px; height: 20px; border:2px solid #27425f; border-top-left-radius:10px; border-top-right-radius:10px; border-bottom-left-radius:8px; border-bottom-right-radius:8px; left:11px; top:10px;
}
.icon-safe::after {
  content:""; position:absolute; width:8px; height:4px; border-left:2px solid #6f8b7a; border-bottom:2px solid #6f8b7a; transform: rotate(-45deg); left:17px; top:18px;
}
.icon-upload::before {
  width: 16px; height: 16px; border-left:2px solid #27425f; border-top:2px solid #27425f; transform: rotate(45deg); left:13px; top:8px;
}
.icon-upload::after {
  content:""; position:absolute; width:18px; height:10px; border:2px solid #b28a4a; border-top:none; border-radius:0 0 8px 8px; left:11px; bottom:9px;
}
.icon-calc::before {
  width: 18px; height: 22px; border-radius: 5px; border:2px solid #27425f; left:11px; top:9px;
}
.icon-calc::after {
  content:""; position:absolute; width:10px; height:2px; background:#b28a4a; left:15px; top:15px; box-shadow: 0 7px 0 #6f8b7a, -4px 11px 0 #d1bf9d, 4px 11px 0 #d1bf9d;
}
.icon-search::before {
  width: 14px; height:14px; border-radius:50%; border:2px solid #27425f; left:10px; top:10px;
}
.icon-search::after {
  content:""; position:absolute; width:9px; height:2px; background:#b28a4a; transform: rotate(45deg); right:10px; bottom:13px;
}
.icon-download::before {
  width: 2px; height: 14px; background:#27425f; left:20px; top:9px;
}
.icon-download::after {
  content:""; position:absolute; width: 12px; height: 12px; border-left:2px solid #b28a4a; border-bottom:2px solid #b28a4a; transform: rotate(-45deg); left:14px; top:14px; box-shadow: 0 14px 0 -4px #6f8b7a;
}
@media (max-width: 1180px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: none; }
  .trust-strip { padding-top: 20px; }
}
@media (max-width: 860px) {
  .trust-strip-inner { grid-template-columns: 1fr; }
  .trust-item { min-height: auto; }
}


/* final homepage cleanup */
.hero{
  padding-top: 18px;
  padding-bottom: 32px;
}
.hero-grid{
  align-items: start;
  gap: 34px;
}
.hero-copy{
  padding-top: 0;
  margin-top: -18px;
}
.hero-copy .eyebrow{
  margin-bottom: 10px;
}
.hero-copy h1{
  margin-top: 0;
  margin-bottom: 16px;
}
.hero-copy .lead{
  margin-bottom: 20px;
}
.hero-actions{
  margin-bottom: 20px;
}
.hero-points{
  margin-top: 0;
}
.trust-strip,
.compact-output-grid{
  display: none !important;
}
.outputs-section{
  padding-top: 42px;
}
@media (max-width: 980px){
  .hero{
    padding-top: 10px;
  }
  .hero-copy{
    margin-top: 0;
  }
}


/* query layout merged overrides */

.site-banner {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: linear-gradient(180deg, rgba(251,248,242,0.92) 0%, rgba(247,242,234,0.88) 100%);
  border-bottom: 1px solid rgba(207,197,181,0.78);
  box-shadow: 0 10px 28px rgba(34,42,55,0.05);
}
.banner-inner {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}
.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}
.logo-wrap {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  box-shadow: 0 12px 24px rgba(33,58,86,0.14);
}
.tb-logo {
  width: 52px;
  height: 52px;
  display: block;
}
.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.brand-copy strong {
  font-family: Georgia, "Noto Serif TC", serif;
  font-size: 1.32rem;
  letter-spacing: .02em;
  color: #1f324a;
}
.brand-copy small {
  color: var(--muted);
  font-size: .73rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.site-nav a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 800;
  font-size: .95rem;
  padding: 11px 15px;
  border-radius: 999px;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}
.site-nav a:hover {
  background: rgba(255,255,255,0.8);
  color: var(--brand);
  transform: translateY(-1px);
}

.refined-brand { position: relative; }
.refined-brand::after {
  content: "";
  position: absolute;
  left: 70px;
  right: 0;
  bottom: -8px;
  height: 1px;
  background: linear-gradient(90deg, rgba(201,165,106,.55), rgba(201,165,106,0));
  pointer-events: none;
}
.logo-wrap {
  position: relative;
  width: 56px;
  height: 56px;
  background: linear-gradient(180deg, rgba(255,255,255,.72), rgba(244,238,229,.62));
  border: 1px solid rgba(212,200,181,.75);
}
.logo-wrap::before {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.55);
}
.tb-logo {
  width: 56px;
  height: 56px;
}
.brand-copy strong {
  letter-spacing: .04em;
}
.brand-copy small {
  color: #6e796d;
  font-size: .76rem;
  letter-spacing: .04em;
  text-transform: none;
}
.site-nav {
  gap: 8px;
}
.site-nav a {
  color: #304459;
  font-weight: 700;
}
.site-nav a:hover {
  background: rgba(255,255,255,0.9);
  color: var(--brand);
  box-shadow: 0 10px 20px rgba(33,58,86,0.08);
}
.site-nav .nav-cta {
  margin-left: 4px;
  background: linear-gradient(180deg, var(--accent) 0%, #9b7539 100%);
  color: #fff7ea;
  border: 1px solid rgba(140,103,48,.6);
  box-shadow: 0 14px 28px rgba(178,138,74,0.24);
}
.site-nav .nav-cta:hover {
  background: linear-gradient(180deg, #c7a166 0%, #886229 100%);
  color: #fffdf7;
}
.plans-section {
  background: linear-gradient(180deg, #fbfaf7 0%, #f5f1e8 100%);
  border-top: 1px solid #e6dfd4;
  border-bottom: 1px solid #e6dfd4;
}
.plans-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 18px;
}
.plan-card {
  background: linear-gradient(180deg, rgba(255,253,249,0.98) 0%, rgba(255,250,244,0.93) 100%);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 24px 22px;
  box-shadow: var(--shadow-sm);
}
.featured-plan {
  position: relative;
  overflow: hidden;
}
.featured-plan::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--jump));
}
.plan-tag {
  display: inline-flex;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-deep);
  font-weight: 800;
  font-size: .82rem;
  margin-bottom: 12px;
}
.plan-card h3 {
  margin: 0 0 10px;
  color: #22384b;
  font-size: 1.14rem;
}
.plan-price {
  font-family: Georgia, "Noto Serif TC", serif;
  font-size: 2rem;
  color: var(--brand);
  margin-bottom: 10px;
}
.plan-card p, .plan-card li {
  color: var(--muted);
  line-height: 1.85;
}
.plan-card ul {
  margin: 0;
  padding-left: 1.2em;
}

:root {
  --bg: #f6f4ef;
  --bg-soft: #efe8dc;
  --card: rgba(255, 252, 247, 0.96);
  --card-strong: #fffdfa;
  --ink: #243447;
  --ink-soft: #34465c;
  --muted: #6f7a86;
  --line: #ddd6c9;
  --line-strong: #cfc5b5;
  --brand: #213a56;
  --brand-dark: #182a3f;
  --brand-soft: #eef2f6;
  --accent: #b28a4a;
  --accent-soft: #f6eddc;
  --accent-deep: #8f6a31;
  --jump: #6f8b7a;
  --jump-soft: #e8f0eb;
  --success: #2e6a4a;
  --warning: #9a5a00;
  --danger: #b42318;
  --shadow-sm: 0 12px 28px rgba(34, 42, 55, 0.05);
  --shadow-md: 0 22px 48px rgba(28, 37, 49, 0.08);
  --shadow-lg: 0 34px 78px rgba(24, 34, 48, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Noto Sans TC", Arial, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(255,255,255,0.92), transparent 30%),
    linear-gradient(180deg, #fbfaf7 0%, var(--bg) 30%, #faf8f3 100%);
  color: var(--ink);
}
a { color: inherit; }
.container { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }

.hero {
  position: relative;
  overflow: clip;
  padding: 84px 0 58px;
  background:
    linear-gradient(180deg, rgba(250,247,240,0.96) 0%, rgba(246,243,236,0.98) 58%, rgba(246,244,239,1) 100%);
  border-bottom: 1px solid #e2dbcf;
}
.upgraded-hero { isolation: isolate; }
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,0.14), rgba(255,255,255,0));
  pointer-events: none;
}
.hero-bg-orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(14px);
  z-index: -1;
  opacity: .95;
}
.orb-1 {
  width: 360px;
  height: 360px;
  right: -70px;
  top: -60px;
  background: radial-gradient(circle, rgba(111,139,122,.22) 0%, rgba(111,139,122,0) 72%);
}
.orb-2 {
  width: 300px;
  height: 300px;
  left: -70px;
  bottom: -100px;
  background: radial-gradient(circle, rgba(178,138,74,.16) 0%, rgba(178,138,74,0) 74%);
}
.hero-grid { display: grid; grid-template-columns: 1.06fr 0.94fr; gap: 40px; align-items: start; }
.hero-copy { padding-top: 10px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  color: var(--brand);
  font-size: .9rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 30px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), rgba(178,138,74,0));
}
.hero-copy h1 {
  font-family: Georgia, "Noto Serif TC", serif;
  font-size: clamp(2.65rem, 5vw, 4.55rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin: 0 0 20px;
  color: #1f2f43;
}
.lead {
  margin: 0;
  max-width: 760px;
  color: var(--ink-soft);
  font-size: 1.04rem;
  line-height: 1.95;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.hero-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 30px; }
.mini-card {
  background: linear-gradient(180deg, rgba(255,253,250,0.94) 0%, rgba(255,250,244,0.88) 100%);
  border: 1px solid rgba(221,214,201,0.95);
  border-radius: 22px;
  padding: 18px 16px;
  box-shadow: var(--shadow-sm);
}
.mini-card strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 6px;
  color: #243447;
}
.mini-card span {
  display: block;
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.7;
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  min-height: 50px;
  border-radius: 14px;
  padding: 12px 18px;
  text-decoration: none;
  border: 1px solid var(--line);
  font-weight: 800;
  font-size: .98rem;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease, color .18s ease;
}
.button:hover { transform: translateY(-1px); }
.button.primary {
  background: linear-gradient(180deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: #fff;
  border-color: var(--brand-dark);
  box-shadow: 0 14px 28px rgba(33,58,86,0.18);
}
.button.primary:hover {
  background: linear-gradient(180deg, #274564 0%, #16273b 100%);
}
.button.ghost {
  background: rgba(255,253,249,0.78);
  color: var(--brand);
  border-color: #d7d0c2;
}
.button.ghost:hover { background: rgba(255,255,255,0.98); }
.button.wide { width: 100%; }
.hidden { display: none !important; }

.section { padding: 76px 0; }
.section.muted {
  background: linear-gradient(180deg, #f1ebe1 0%, #f7f4ee 100%);
  border-top: 1px solid #e6dfd4;
  border-bottom: 1px solid #e6dfd4;
}
.two-col { display: grid; gap: 26px; grid-template-columns: 1.08fr 0.92fr; align-items: start; }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 22px;
  margin-bottom: 30px;
}
.section-head h2 {
  margin: 0;
  font-family: Georgia, "Noto Serif TC", serif;
  font-size: clamp(1.85rem, 3vw, 2.55rem);
  line-height: 1.18;
  letter-spacing: -0.025em;
  color: #203245;
}
.section-head p {
  margin: 0;
  max-width: 520px;
  color: var(--muted);
  line-height: 1.9;
}
.compact-head { margin-bottom: 24px; }

.panel {
  background: var(--card-strong);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 28px;
  box-shadow: var(--shadow-md);
}
.glass-panel {
  background: linear-gradient(180deg, rgba(255,253,249,0.95) 0%, rgba(255,250,244,0.9) 100%);
  backdrop-filter: blur(10px);
}
.panel-topline {
  color: var(--accent-deep);
  font-size: .86rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.panel-title {
  margin: 0 0 22px;
  font-size: 1.48rem;
  line-height: 1.35;
  color: #22364b;
}
.panel label { display: block; font-weight: 800; margin-bottom: 16px; color: #304253; }
.panel input[type="text"],
.panel input[type="email"],
.panel input[type="file"] {
  width: 100%;
  margin-top: 8px;
  padding: 13px 14px;
  border-radius: 14px;
  border: 1px solid var(--line-strong);
  font: inherit;
  background: rgba(255,255,255,0.96);
  box-shadow: inset 0 1px 2px rgba(17,39,63,0.03);
}
.panel input:hover { border-color: #c3b8a7; }
.panel input:focus {
  outline: none;
  border-color: var(--jump);
  box-shadow: 0 0 0 4px rgba(111,139,122,0.12);
}
.upload-panel-hero {
  position: relative;
  border-color: #d9d0c2;
}
.upload-panel-hero::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  border-radius: 28px 28px 0 0;
  background: linear-gradient(90deg, var(--accent) 0%, var(--jump) 100%);
}
.pricing-note {
  margin-bottom: 16px;
  color: var(--accent-deep);
  background: linear-gradient(180deg, #fbf2e2 0%, #fff8ee 100%);
  border: 1px solid #ead8b3;
  padding: 15px 16px;
  border-radius: 18px;
}
.pricing-note strong { display: block; margin-bottom: 6px; }
.pricing-note p { margin: 0; line-height: 1.8; }
.checkbox { display: flex; gap: 12px; align-items: start; font-weight: 400; }
.checkbox input { margin-top: 3px; flex: 0 0 auto; }
.disclaimer-box {
  background: linear-gradient(180deg, #f8faf7 0%, #f4f7f3 100%);
  border: 1px solid #d8e2da;
  border-radius: 18px;
  padding: 15px 15px 13px;
}
.disclaimer-box strong { display: block; margin-bottom: 6px; font-size: .98rem; color: #294138; }
.disclaimer-box small { display: block; color: var(--muted); font-size: .84rem; line-height: 1.84; }

.output-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.output-card {
  position: relative;
  overflow: hidden;
  min-height: 198px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 24px 22px;
  box-shadow: var(--shadow-sm);
}
.output-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 72px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), rgba(178,138,74,0));
}
.output-card::after {
  content: "";
  position: absolute;
  inset: auto -26px -34px auto;
  width: 118px;
  height: 118px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(111,139,122,.10) 0%, rgba(111,139,122,0) 68%);
}
.tone-blue { background: linear-gradient(180deg, #fffdfa 0%, #f7f8f9 100%); }
.tone-white { background: linear-gradient(180deg, #fffdfb 0%, #fcfbf8 100%); }
.tone-accent {
  background: linear-gradient(180deg, #f9faf7 0%, #eef3ef 100%);
  border-color: #cddacc;
}
.output-card h3 { margin: 0 0 10px; font-size: 1.14rem; color: #22384b; }
.output-card p { margin: 0; color: var(--muted); line-height: 1.86; }
.emphasis-card::before { background: linear-gradient(90deg, var(--jump), rgba(111,139,122,0)); }

.steps-section { position: relative; }
.steps-shell { position: relative; }
.step-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.step-card {
  background: linear-gradient(180deg, rgba(255,253,249,0.98) 0%, rgba(255,250,244,0.93) 100%);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 20px 18px;
  box-shadow: var(--shadow-sm);
}
.step-card span {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(180deg, #f6eddc 0%, #efe2c2 100%);
  color: var(--accent-deep);
  font-weight: 800;
  margin-bottom: 12px;
}
.step-card strong { display: block; margin-bottom: 8px; font-size: 1rem; color: #23374b; }
.step-card p { margin: 0; color: var(--muted); font-size: .94rem; line-height: 1.8; }

.payment-shell { max-width: 820px; }
.payment-header { margin-bottom: 18px; }
.payment-header h2 {
  margin: 0 0 8px;
  font-family: Georgia, "Noto Serif TC", serif;
  color: #203245;
}
.payment-header p { margin: 0; color: var(--muted); line-height: 1.84; }
.payment-summary-grid { display: grid; grid-template-columns: 230px 1fr; gap: 18px; align-items: start; }
.payment-panel { background: linear-gradient(180deg, #fffdfa 0%, #fcfaf5 100%); }
.payment-highlight {
  background: linear-gradient(180deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: white;
  border-radius: 22px;
  padding: 20px;
  box-shadow: 0 16px 32px rgba(33,58,86,0.18);
}
.payment-highlight span { display: block; font-size: .95rem; opacity: .88; margin-bottom: 10px; }
.payment-highlight strong { display: block; font-size: 2rem; line-height: 1.08; }
.summary-list { margin: 0; display: grid; gap: 10px; }
.summary-list div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px dashed #d9cfbf;
}
.summary-list.compact div:last-child { border-bottom: 0; padding-bottom: 0; }
.summary-list dt { font-weight: 800; color: var(--ink); }
.summary-list dd { margin: 0; text-align: right; font-weight: 800; color: var(--brand); }
.payment-box {
  margin-top: 18px;
  padding: 15px 16px;
  background: linear-gradient(180deg, #eef2f0 0%, #f6f8f7 100%);
  border: 1px solid #d7dfda;
  border-radius: 18px;
}
.payment-box p { margin: 0 0 8px; }
.payment-box p:last-child { margin-bottom: 0; }
.simple-box { color: var(--ink); }

.query-section {
  background: linear-gradient(180deg, rgba(255,253,249,0.98) 0%, rgba(250,247,241,1) 100%);
  border-top: 1px solid #e6dfd4;
  border-bottom: 1px solid #e6dfd4;
}
.query-layout { align-items: center; }
.query-tip-card {
  margin-top: 18px;
  max-width: 460px;
  background: linear-gradient(180deg, #f8faf7 0%, #f1f5f2 100%);
  border: 1px solid #d6e0d8;
  border-radius: 20px;
  padding: 18px;
}
.query-tip-card strong { display: block; margin-bottom: 6px; color: #294138; }
.query-tip-card p { margin: 0; color: var(--muted); line-height: 1.82; }
.result { margin-top: 16px; color: var(--muted); }
.result-block { min-height: 110px; }
.status-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px;
  background: #fffdfa;
}
.status-card.only-status { text-align: left; }
.status-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 7px 12px;
  font-weight: 800;
}
.status-badge.pending_payment { background: #fff1d8; color: var(--warning); }
.status-badge.queued, .status-badge.processing { background: #edf3ef; color: var(--jump); }
.status-badge.completed { background: #edf6f1; color: var(--success); }
.status-badge.failed { background: #fdecec; color: var(--danger); }
.query-note { margin: 10px 0 0; color: var(--muted); }
.task-detail-list { margin: 14px 0 0; display: grid; gap: 9px; }
.task-detail-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 8px;
  border-bottom: 1px dashed #ddd4c7;
}
.task-detail-row:last-child { border-bottom: 0; padding-bottom: 0; }
.task-detail-label { color: var(--muted); }
.task-detail-value { font-weight: 800; color: var(--ink); text-align: right; }

.faq-section { background: transparent; }
.faq-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.faq-card {
  background: linear-gradient(180deg, #fffdfa 0%, #fcfaf6 100%);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 24px 22px;
  box-shadow: var(--shadow-sm);
}
.faq-card h3 {
  margin: 0 0 10px;
  font-size: 1.08rem;
  color: #24384b;
}
.faq-card p { margin: 0; color: var(--muted); line-height: 1.86; }

.retention-note { margin-top: 10px; color: var(--muted); font-size: .95rem; }
.muted-text { color: var(--muted); font-size: .92rem; }
.admin-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.full-width { grid-column: 1 / -1; }
.button-row { display: flex; gap: 10px; flex-wrap: wrap; }
.button.small { padding: 8px 12px; font-size: .9rem; min-height: auto; }
.admin-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.admin-form-grid .full { grid-column: 1 / -1; }
.table-wrap { overflow: auto; }
.admin-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.admin-table th, .admin-table td { border-bottom: 1px solid var(--line); padding: 10px; vertical-align: top; text-align: left; }
.tiny { font-size: .8rem; color: var(--muted); margin-top: 6px; line-height: 1.4; }
.stack-buttons { display: flex; flex-direction: column; gap: 8px; }
.coupon-item { padding: 8px 0; border-bottom: 1px dashed var(--line); }

@media (max-width: 1080px) {
  .hero-grid, .two-col, .query-layout, .section-head { grid-template-columns: 1fr; }
  .section-head { align-items: start; }
  .hero-points, .output-grid, .faq-grid { grid-template-columns: 1fr 1fr; }
  .step-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .container { width: min(1120px, calc(100% - 24px)); }
  .hero { padding: 58px 0 42px; }
  .panel { padding: 22px; border-radius: 24px; }
  .hero-copy h1 { font-size: clamp(2.15rem, 10vw, 3.2rem); }
  .hero-points, .output-grid, .faq-grid, .step-grid, .admin-layout, .admin-form-grid { grid-template-columns: 1fr; }
  .button, .button.primary, .button.ghost { width: 100%; }
  .hero-actions { flex-direction: column; }
  .section { padding: 58px 0; }
}

@media (max-width: 860px) {
  .banner-inner { min-height: 72px; flex-direction: column; align-items: flex-start; justify-content: center; padding: 10px 0; }
  .site-nav { width: 100%; gap: 8px; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 2px; }
  .site-nav a { white-space: nowrap; padding: 10px 14px; font-size: .9rem; background: rgba(255,255,255,0.56); }
  .plans-grid { grid-template-columns: 1fr; }
}

@media (max-width: 980px) {
  .banner-inner {
    min-height: auto;
    padding: 12px 0;
    flex-direction: column;
    align-items: stretch;
  }
  .site-nav {
    justify-content: space-between;
  }
}
@media (max-width: 700px) {
  .site-nav {
    gap: 6px;
  }
  .site-nav a {
    padding: 10px 12px;
    font-size: .9rem;
  }
  .site-nav .nav-cta {
    width: 100%;
    justify-content: center;
  }
  .refined-brand::after {
    display: none;
  }
}


/* v7 polish */
.site-banner{
  background: linear-gradient(180deg, rgba(252,249,243,.92), rgba(248,244,236,.88));
  border-bottom: 1px solid rgba(207,197,181,.72);
}
.banner-inner{min-height:76px;}
.hero-copy h1{max-width: 11.5ch; letter-spacing: .01em;}
.hero-copy .lead{max-width: 760px; font-size: 1.04rem; line-height: 1.95; color: #5e6975;}
.hero-actions{margin-top: 26px;}
.hero-actions .button{min-width: 168px;}
.button.primary{
  background: linear-gradient(180deg, var(--brand) 0%, var(--brand-dark) 100%);
  border-color: rgba(24,42,63,.9);
  box-shadow: 0 16px 30px rgba(33,58,86,.18);
}
.button.primary:hover{transform: translateY(-1px);}
.button.ghost{background: rgba(255,255,255,.68); border-color: rgba(207,197,181,.92);}
.glass-panel{
  background: linear-gradient(180deg, rgba(255,253,249,.92), rgba(255,250,244,.86));
  border: 1px solid rgba(214,204,188,.92);
  box-shadow: 0 28px 56px rgba(31,45,63,.10);
}
.upload-panel-hero{position: relative;}
.upload-panel-hero::after{
  content:""; position:absolute; inset:0 0 auto 0; height:5px;
  background: linear-gradient(90deg, var(--accent), var(--jump));
  border-radius: 24px 24px 0 0;
}
.trust-strip{padding: 0 0 18px;}
.trust-strip-inner{
  display:grid; grid-template-columns: repeat(3,1fr); gap:14px;
}
.trust-item{
  background: rgba(255,252,247,.76); border:1px solid rgba(220,213,200,.9);
  border-radius: 18px; padding: 14px 16px; box-shadow: var(--shadow-sm);
}
.trust-item strong{display:block; margin-bottom:5px; color:#20354e; font-size:.95rem;}
.trust-item span{display:block; color:#6b7682; font-size:.9rem; line-height:1.7;}
.results-preview-shell{margin: 4px 0 22px;}
.results-preview-card{
  background: linear-gradient(180deg, rgba(255,253,249,.96), rgba(250,246,239,.92));
  border:1px solid rgba(214,204,188,.95); border-radius: 28px; padding: 18px;
  box-shadow: var(--shadow-md);
}
.preview-topbar{display:flex; gap:8px; margin-bottom:16px;}
.preview-topbar span{width:10px; height:10px; border-radius:50%; background:#d5cab9; display:inline-block;}
.preview-grid{display:grid; grid-template-columns:1.25fr 1fr; gap:14px;}
.preview-sheet{
  min-height: 118px; border-radius: 20px; padding: 18px; border:1px solid rgba(220,214,203,.92);
  background: linear-gradient(180deg, rgba(255,255,255,.9), rgba(245,241,234,.8));
}
.preview-sheet strong{display:block; color:#243a52; margin-bottom:8px; font-size:1rem;}
.preview-sheet span{display:block; color:#6a7480; line-height:1.8; font-size:.93rem;}
.preview-sheet-main{grid-row: span 2; min-height:250px; background: linear-gradient(180deg, rgba(233,240,246,.86), rgba(255,255,255,.92));}
.preview-warn{background: linear-gradient(180deg, rgba(246,237,220,.88), rgba(255,251,245,.92));}
.output-card, .faq-card, .step-card, .plan-card{transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;}
.output-card:hover, .faq-card:hover, .step-card:hover, .plan-card:hover{transform: translateY(-2px); box-shadow: var(--shadow-md);}
.section-head p{max-width: 600px; line-height: 1.9;}
.query-tip-card{
  margin-top:20px; padding:16px 18px; border-radius:18px; background:linear-gradient(180deg, rgba(246,237,220,.62), rgba(255,252,247,.75));
  border:1px solid rgba(214,204,188,.86);
}
.query-tip-card strong{display:block; margin-bottom:6px; color:#253c55;}
.query-tip-card p{margin:0; color:#6b7581; line-height:1.8;}
.status-card.upgraded-status{background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(247,243,236,.94)); box-shadow: var(--shadow-sm);}
.status-meta-grid{display:grid; grid-template-columns:repeat(2,1fr); gap:12px; margin-top:14px;}
.status-meta-item{padding:12px 14px; border-radius:16px; background:#fffdfa; border:1px solid rgba(220,214,203,.9);}
.status-meta-item.full{grid-column:1/-1;}
.status-meta-item span{display:block; color:#7a8490; font-size:.82rem; margin-bottom:4px;}
.status-meta-item strong{display:block; color:#23384f; font-size:.96rem; word-break:break-all;}
@media (max-width: 900px){
  .trust-strip-inner, .preview-grid{grid-template-columns:1fr;}
  .preview-sheet-main{grid-row:auto; min-height:150px;}
}


.outputs-section .section-head {
  margin-bottom: 28px;
}
.refined-outputs-head {
  align-items: end;
}
.outputs-showcase {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: stretch;
  margin-bottom: 34px;
}
.showcase-visual,
.showcase-copy {
  min-width: 0;
}
.showcase-visual {
  background: linear-gradient(180deg, rgba(255,252,247,0.98) 0%, rgba(251,248,242,0.96) 100%);
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 18px;
  box-shadow: var(--shadow-md);
}
.refined-topbar {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}
.refined-topbar span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #d8cfbf;
}
.excel-mockup {
  display: grid;
  grid-template-columns: 168px 1fr;
  gap: 14px;
  min-height: 320px;
}
.excel-sidebar {
  background: #f3ede3;
  border: 1px solid #e1d8ca;
  border-radius: 20px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.sheet-tab {
  display: block;
  padding: 11px 12px;
  border-radius: 14px;
  font-size: .9rem;
  font-weight: 700;
  color: #5e6a77;
  background: rgba(255,255,255,0.7);
  border: 1px solid rgba(214,204,189,0.75);
}
.sheet-tab.active {
  background: linear-gradient(180deg, #284260 0%, #1a2e45 100%);
  color: #f8f4eb;
  border-color: #243e5d;
}
.sheet-tab.warn {
  background: #eef4ef;
  color: #476353;
}
.excel-body {
  background: #fffdfa;
  border: 1px solid #e1d8ca;
  border-radius: 22px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.excel-row {
  display: grid;
  grid-template-columns: 1.3fr 1fr .8fr .8fr;
  gap: 10px;
}
.excel-row span {
  display: block;
  padding: 11px 12px;
  border-radius: 12px;
  background: #f8f6f1;
  border: 1px solid #ece4d7;
  color: #516171;
  font-size: .9rem;
}
.excel-row.header span {
  background: #edf2f6;
  color: #22384b;
  font-weight: 800;
}
.excel-row.subtle span {
  background: #f3f5f1;
  color: #5f7468;
}
.showcase-copy {
  display: grid;
  gap: 16px;
}
.showcase-point {
  border-radius: 24px;
  padding: 24px 22px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.showcase-point h3 {
  margin: 0 0 10px;
  font-size: 1.15rem;
  color: #22384b;
}
.showcase-point p {
  margin: 0;
  line-height: 1.85;
  color: var(--muted);
}
.tone-blue-soft {
  background: linear-gradient(180deg, #f7fafc 0%, #eef3f8 100%);
}
.tone-warm-soft {
  background: linear-gradient(180deg, #fffdfa 0%, #f7f1e8 100%);
}
.tone-green-soft {
  background: linear-gradient(180deg, #f7fbf8 0%, #edf5ef 100%);
}
.compact-output-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.compact-output-grid .output-card {
  min-height: 190px;
}
@media (max-width: 980px) {
  .outputs-showcase {
    grid-template-columns: 1fr;
  }
  .excel-mockup {
    grid-template-columns: 1fr;
  }
  .excel-sidebar {
    flex-direction: row;
    flex-wrap: wrap;
  }
}
@media (max-width: 860px) {
  .compact-output-grid {
    grid-template-columns: 1fr;
  }
  .excel-row {
    grid-template-columns: 1fr 1fr;
  }
}


/* v9 layout + icons refinement */
.hero { padding-bottom: 44px; }
.hero-grid {
  align-items: center;
  gap: 46px;
}
.hero-copy { max-width: 620px; }
.hero-points {
  gap: 14px;
  max-width: 560px;
}
.mini-card {
  position: relative;
  padding: 18px 16px 16px 18px;
}
.mini-icon,
.section-icon,
.trust-icon,
.step-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}
.mini-icon,
.section-icon,
.trust-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid rgba(201,165,106,.28);
  background: linear-gradient(180deg, rgba(255,255,255,.92), rgba(246,239,227,.92));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8);
  margin-bottom: 12px;
}
.trust-strip {
  padding: 8px 0 0;
}
.trust-strip-inner {
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 18px;
}
.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px;
  min-height: 108px;
  background: linear-gradient(180deg, rgba(255,253,249,.92), rgba(251,247,240,.88));
}
.trust-item div { min-width: 0; }
.trust-item strong { margin-bottom: 6px; }
.outputs-section { padding-top: 60px; }
.outputs-showcase {
  gap: 24px;
  align-items: start;
}
.showcase-visual,
.showcase-copy {
  height: 100%;
}
.showcase-copy {
  align-content: start;
}
.showcase-point {
  position: relative;
  padding-top: 22px;
  min-height: 155px;
}
.compact-output-grid {
  margin-top: 8px;
  gap: 18px;
}
.compact-output-grid .output-card {
  min-height: 168px;
}
.output-card {
  padding-top: 22px;
}
.output-card h3,
.showcase-point h3 {
  margin-top: 2px;
}
.step-card {
  position: relative;
  padding-top: 18px;
}
.step-card span {
  margin-bottom: 10px;
}
.step-icon {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  margin-bottom: 12px;
  background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(247,240,228,.95));
  border: 1px solid rgba(201,165,106,.26);
}
.icon-sheet::before,
.icon-group::before,
.icon-alert::before,
.icon-time::before,
.icon-flow::before,
.icon-grid::before,
.icon-safe::before,
.icon-upload::before,
.icon-calc::before,
.icon-search::before,
.icon-download::before {
  content: "";
  position: absolute;
}
.icon-sheet::before {
  width: 18px; height: 22px; border-radius: 4px;
  border: 2px solid #27425f; top: 9px; left: 11px;
  box-shadow: inset 0 -6px 0 rgba(111,139,122,.18);
}
.icon-sheet::after {
  content:""; position:absolute; width:10px; height:2px; background:#b28a4a; left:15px; top:17px;
  box-shadow: 0 5px 0 #d1bf9d, 0 10px 0 #d1bf9d;
}
.icon-group::before {
  width: 9px; height: 9px; border-radius:50%; background:#27425f; left:10px; top:12px;
  box-shadow: 12px 0 0 #b28a4a, 6px 12px 0 #6f8b7a;
}
.icon-group::after {
  content:""; position:absolute; width:22px; height:10px; border-radius:999px; border:2px solid rgba(39,66,95,.45); left:10px; top:23px;
}
.icon-alert::before {
  width: 0; height: 0; border-left: 10px solid transparent; border-right:10px solid transparent; border-bottom:18px solid #b28a4a; left:11px; top:8px;
}
.icon-alert::after {
  content:""; position:absolute; width:3px; height:8px; background:#fff; left:19px; top:15px; box-shadow: 0 11px 0 0 #fff; border-radius:2px;
}
.icon-time::before {
  width: 20px; height:20px; border-radius:50%; border:2px solid #27425f; left:10px; top:10px;
}
.icon-time::after {
  content:""; position:absolute; width:2px; height:7px; background:#b28a4a; left:20px; top:14px; transform-origin:bottom center; box-shadow: 4px 4px 0 0 #6f8b7a;
}
.icon-flow::before {
  width:18px; height:2px; background:#27425f; left:8px; top:16px; box-shadow: 0 8px 0 #6f8b7a;
}
.icon-flow::after {
  content:""; position:absolute; width:7px; height:7px; border-top:2px solid #b28a4a; border-right:2px solid #b28a4a; transform: rotate(45deg); right:9px; top:13px; box-shadow: 0 8px 0 0 rgba(0,0,0,0);
}
.icon-grid::before {
  width: 8px; height: 8px; background:#27425f; left:11px; top:11px;
  box-shadow: 12px 0 0 #b28a4a, 0 12px 0 #6f8b7a, 12px 12px 0 #d1bf9d;
}
.icon-safe::before {
  width: 18px; height: 20px; border:2px solid #27425f; border-top-left-radius:10px; border-top-right-radius:10px; border-bottom-left-radius:8px; border-bottom-right-radius:8px; left:11px; top:10px;
}
.icon-safe::after {
  content:""; position:absolute; width:8px; height:4px; border-left:2px solid #6f8b7a; border-bottom:2px solid #6f8b7a; transform: rotate(-45deg); left:17px; top:18px;
}
.icon-upload::before {
  width: 16px; height: 16px; border-left:2px solid #27425f; border-top:2px solid #27425f; transform: rotate(45deg); left:13px; top:8px;
}
.icon-upload::after {
  content:""; position:absolute; width:18px; height:10px; border:2px solid #b28a4a; border-top:none; border-radius:0 0 8px 8px; left:11px; bottom:9px;
}
.icon-calc::before {
  width: 18px; height: 22px; border-radius: 5px; border:2px solid #27425f; left:11px; top:9px;
}
.icon-calc::after {
  content:""; position:absolute; width:10px; height:2px; background:#b28a4a; left:15px; top:15px; box-shadow: 0 7px 0 #6f8b7a, -4px 11px 0 #d1bf9d, 4px 11px 0 #d1bf9d;
}
.icon-search::before {
  width: 14px; height:14px; border-radius:50%; border:2px solid #27425f; left:10px; top:10px;
}
.icon-search::after {
  content:""; position:absolute; width:9px; height:2px; background:#b28a4a; transform: rotate(45deg); right:10px; bottom:13px;
}
.icon-download::before {
  width: 2px; height: 14px; background:#27425f; left:20px; top:9px;
}
.icon-download::after {
  content:""; position:absolute; width: 12px; height: 12px; border-left:2px solid #b28a4a; border-bottom:2px solid #b28a4a; transform: rotate(-45deg); left:14px; top:14px; box-shadow: 0 14px 0 -4px #6f8b7a;
}
@media (max-width: 1180px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: none; }
  .trust-strip { padding-top: 20px; }
}
@media (max-width: 860px) {
  .trust-strip-inner { grid-template-columns: 1fr; }
  .trust-item { min-height: auto; }
}


/* query layout refine v2 */
.query-shell{
  display:grid;
  grid-template-columns:minmax(320px, 0.95fr) minmax(420px, 0.92fr);
  gap:30px;
  align-items:start;
}
.query-copy{
  padding-top:18px;
}
.query-copy h2{
  max-width: 12ch;
}
.query-helper-card{
  margin-top:16px;
  max-width:460px;
  padding:16px 18px;
  border-radius:18px;
  background:linear-gradient(180deg, rgba(255,253,249,.94), rgba(248,244,237,.92));
  border:1px solid rgba(214,204,188,.88);
}
.query-helper-card strong{display:block; margin-bottom:8px; color:#24384f;}
.query-helper-card ul{margin:0; padding-left:18px; color:#6b7581; line-height:1.85;}
.query-side{
  display:grid;
  gap:16px;
  align-content:start;
}
.query-form-card{
  margin:0;
}
.query-form-card .button{margin-top:4px;}
.query-response{
  display:grid;
  gap:14px;
}
.query-response.hidden{display:none;}
.query-result-card{
  border:1px solid rgba(214,204,188,.92);
  border-radius:24px;
  background:linear-gradient(180deg, rgba(255,253,249,.97), rgba(248,244,237,.95));
  box-shadow: var(--shadow-sm);
  padding:18px;
}
.query-result-card--error{
  border-color: rgba(213,136,136,.5);
  background:linear-gradient(180deg, rgba(254,244,244,.98), rgba(255,249,249,.96));
}
.query-result-card--loading{
  background:linear-gradient(180deg, rgba(247,250,248,.98), rgba(251,252,251,.96));
}
.query-result-hero{
  display:flex;
  align-items:flex-start;
  gap:12px;
  margin-bottom:14px;
}
.query-result-copy h3{
  margin:2px 0 6px;
  color:#24384f;
  font-size:1.24rem;
}
.query-result-copy p{
  margin:0;
  color:var(--muted);
  line-height:1.82;
}
.query-stage-card{
  margin-bottom:14px;
  padding:14px 16px;
  border-radius:18px;
  background:#fffdfa;
  border:1px solid rgba(220,214,203,.9);
}
.query-stage-card span{
  display:block;
  font-size:.82rem;
  color:#7a8490;
  margin-bottom:5px;
}
.query-stage-card strong{
  display:block;
  color:#23384f;
  font-size:1rem;
}
.query-stage-card p{
  margin:6px 0 0;
  color:var(--muted);
  line-height:1.8;
  word-break:break-word;
}
.progress-card--query{
  margin:0 0 14px;
}
.progress-summary{
  margin-top:10px;
  color:#4f5964;
  font-weight:700;
}
.query-info-grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0,1fr));
  gap:12px;
}
.query-info-item{
  padding:13px 14px;
  border-radius:16px;
  background:#fffdfa;
  border:1px solid rgba(220,214,203,.9);
}
.query-info-item span{
  display:block;
  color:#7a8490;
  font-size:.8rem;
  margin-bottom:4px;
}
.query-info-item strong{
  display:block;
  color:#23384f;
  font-size:.95rem;
  line-height:1.55;
  word-break:break-word;
}
.query-download-note{
  margin-top:14px;
  padding:14px 16px;
  border-radius:18px;
  background:linear-gradient(180deg, rgba(243,247,244,.96), rgba(250,252,250,.94));
  border:1px solid rgba(214,224,216,.9);
}
.query-download-note strong{
  display:block;
  margin-bottom:6px;
  color:#294138;
}
.query-download-note p{
  margin:0;
  color:var(--muted);
  line-height:1.8;
}
.query-note{
  margin:14px 0 0;
  color:var(--muted);
}
#downloadButton{
  margin-top:0;
}
.query-section.has-result .query-copy{
  padding-top:6px;
}
.query-section.has-result .query-form-card{
  padding-bottom:20px;
}
@media (max-width: 1080px){
  .query-shell{
    grid-template-columns:1fr;
  }
  .query-copy h2{max-width:none;}
}
@media (max-width: 700px){
  .query-info-grid{
    grid-template-columns:1fr;
  }
}


body.modal-open {
  overflow: hidden;
}

.inline-link-button {
  margin-top: 8px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #1f4e78;
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
  text-align: left;
}

.disclaimer-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.disclaimer-modal.hidden {
  display: none;
}

.disclaimer-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, .56);
}

.disclaimer-modal__dialog {
  position: relative;
  width: min(820px, 100%);
  max-height: calc(100vh - 48px);
  overflow: auto;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 24px 80px rgba(15, 23, 42, .22);
  padding: 28px 28px 20px;
}

.disclaimer-modal__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.disclaimer-modal__header h3 {
  margin: 6px 0 0;
  font-size: 1.55rem;
}

.disclaimer-modal__close {
  border: 0;
  background: transparent;
  font-size: 1.9rem;
  line-height: 1;
  color: #51606f;
  cursor: pointer;
}

.disclaimer-list {
  margin: 0;
  padding-left: 1.2rem;
  display: grid;
  gap: 14px;
}

.disclaimer-list li p {
  margin: 6px 0 0;
  color: #334155;
  line-height: 1.75;
}

.disclaimer-modal__footer {
  display: flex;
  justify-content: flex-end;
  margin-top: 20px;
}


/* ===== Official footer refresh ===== */
.site-footer {
  position: relative;
  background:
    radial-gradient(circle at top right, rgba(201,165,106,.14), transparent 28%),
    linear-gradient(180deg, #172435 0%, #101923 100%);
  color: rgba(244,247,250,.92);
  padding: 64px 0 28px;
  margin-top: 0;
}

.site-footer::before {
  content: "";
  display: block;
  width: min(1120px, calc(100% - 48px));
  height: 1px;
  margin: 0 auto 36px;
  background: linear-gradient(90deg, rgba(201,165,106,0), rgba(201,165,106,.55), rgba(201,165,106,0));
}

.footer-top {
  display: grid;
  gap: 28px;
}

.footer-brand-block {
  display: grid;
  gap: 14px;
  padding: 0 0 8px;
}

.footer-brand-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.footer-brand-title {
  font-family: Georgia, "Noto Serif TC", serif;
  font-size: 1.7rem;
  font-weight: 700;
  color: #f8f5ef;
  letter-spacing: .02em;
}

.footer-brand-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: .76rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: rgba(201,165,106,.14);
  border: 1px solid rgba(201,165,106,.28);
  color: #e3c794;
}

.footer-brand-desc {
  max-width: 840px;
  margin: 0;
  line-height: 1.9;
  color: rgba(230,236,242,.82);
}

.footer-contact-inline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  font-size: .96rem;
  color: rgba(230,236,242,.85);
}

.footer-contact-inline span {
  color: rgba(208,218,227,.72);
}

.footer-contact-inline a,
.footer-links a {
  color: #f0d4a1;
  text-decoration: none;
}

.footer-contact-inline a:hover,
.footer-links a:hover {
  text-decoration: underline;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.footer-card {
  padding: 22px 20px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.04);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.03);
}

.footer-card h3 {
  margin: 0 0 12px;
  font-size: 1rem;
  color: #fff;
}

.footer-card ul {
  margin: 0;
  padding-left: 1.05rem;
  display: grid;
  gap: 10px;
  color: rgba(224,232,239,.8);
  line-height: 1.75;
}

.footer-card li::marker {
  color: rgba(201,165,106,.85);
}

.footer-links {
  list-style: none;
  padding-left: 0 !important;
}

.footer-links li {
  position: relative;
  padding-left: 0;
}

.footer-bottom {
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 18px;
}

.footer-bottom p {
  margin: 0;
  font-size: .88rem;
  color: rgba(203,213,222,.72);
  line-height: 1.7;
}

@media (max-width: 980px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .site-footer {
    padding: 52px 0 24px;
  }

  .footer-brand-title {
    font-size: 1.42rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
  }
}
