:root {
  --ink: #202522;
  --muted: #6b7280;
  --muted-light: #9ca3af;
  --line: #e2e5e8;
  --paper: #ffffff;
  --wash: #f6f7f6;
  --warm: #f0ede8;
  --sage: #4b5666;
  --sage-dark: #3a4252;
  --sage-soft: #eef0f3;
  --brand-accent: #7c8e9a;
  --radius-sm: 4px;
  --radius: 8px;
  --radius-lg: 14px;
  --shadow-card: 0 2px 16px rgba(40,50,60,0.07), 0 1px 4px rgba(40,50,60,0.04);
  --shadow-cta: 0 8px 28px rgba(58,66,82,0.22);
  --max-w: 1080px;
  --font-serif: "Noto Serif TC", Georgia, serif;
  --font-sans: "Noto Sans TC", "PingFang TC", system-ui, sans-serif;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--font-sans); font-size: 1rem; line-height: 1.75; font-weight: 300; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea { font: inherit; }

/* Hero */
.hero {
  min-height: 52vh;
  background: #f0ede8;
  display: flex;
  align-items: stretch;
  position: relative;
}


.hero-inner {
  position: relative;
  width: 100%;
  max-width: calc(var(--max-w) + 80px);
  margin: 0 auto;
  padding: 40px 40px 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
  box-sizing: border-box;
}
.hero-top {
  display: flex;
  align-items: flex-start;
}
.hero-logo {
  display: block;
  width: min(140px, 32%);
  height: auto;
  object-fit: contain;
  object-position: left;
  mix-blend-mode: multiply;
}
.hero-mid {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px 0;
}
.hero-tag {
  font-family: var(--font-sans);
  font-size: 0.66rem;
  font-weight: 300;
  letter-spacing: 0.28em;
  color: #a8b4bc;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.hero-title {
  font-family: var(--font-sans);
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  font-weight: 200;
  letter-spacing: 0.06em;
  color: #3a4252;
  line-height: 1.2;
  margin: 0;
}
.hero-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 48px;
}
.hero-desc {
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 300;
  line-height: 2.0;
  color: #8a9aa6;
  margin: 0;
  max-width: 480px;
}
.hero-cta {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 22px;
  background: #3a4252;
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  border-radius: 3px;
  box-shadow: 0 6px 20px rgba(58,66,82,0.15);
  transition: background 180ms, transform 180ms;
  cursor: pointer;
  border: 0;
  white-space: nowrap;
}
.hero-cta::after { content: "→"; transition: transform 180ms; }
.hero-cta:hover { background: #4b5666; transform: translateY(-2px); }
.hero-cta:hover::after { transform: translateX(4px); }
@media (max-width: 860px) {
  .hero-inner { padding: 28px 24px; width: 100%; }
  .hero { min-height: auto; }
  .hero-bottom { flex-direction: column; align-items: flex-start; gap: 16px; }
  .hero-cta { width: 100%; justify-content: center; }
}
@media (max-width: 560px) {
  .hero-inner { padding: 20px 20px; width: 100%; }
  .hero-logo { width: min(130px, 50%); }
  .hero-title { font-size: clamp(1.4rem, 7vw, 1.8rem); }
}

.content-section { padding: 80px 0; }
.section-inner { width: min(var(--max-w), calc(100% - 48px)); margin: 0 auto; display: grid; grid-template-columns: 120px 1fr; gap: 0 60px; align-items: start; }
.section-inner--narrow { max-width: 760px; grid-template-columns: 1fr; }
.section-label { padding-top: 6px; font-size: 0.72rem; font-weight: 400; letter-spacing: 0.28em; color: var(--muted-light); text-transform: uppercase; position: relative; }
.section-label::before { content: ""; position: absolute; top: 14px; right: 0; width: 1px; height: 36px; background: var(--line); }
.section-title { margin: 0 0 22px; font-family: var(--font-sans); font-size: clamp(1.2rem, 2.4vw, 1.6rem); font-weight: 200; color: var(--sage-dark); letter-spacing: 0.06em; line-height: 1.3; }
.section-text { margin: 0 0 18px; color: var(--muted); font-size: 1rem; font-weight: 300; line-height: 1.85; max-width: 620px; }

/* 02 Service */
.section-service { background: var(--paper); border-top: 1px solid var(--line); }
.warranty-note { display: flex; gap: 14px; align-items: flex-start; margin-top: 28px; padding: 16px 20px; background: var(--sage-soft); border-left: 3px solid var(--sage); border-radius: 0 4px 4px 0; max-width: 620px; }
.warranty-icon { flex-shrink: 0; margin-top: 2px; color: var(--sage); }
.warranty-note strong { display: block; font-size: 0.88rem; font-weight: 400; color: var(--sage-dark); margin-bottom: 4px; }
.warranty-note p { margin: 0; font-size: 0.92rem; font-weight: 300; color: var(--sage); line-height: 1.65; }

/* 03 Prepare */
.section-prepare { background: var(--wash); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.prepare-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 28px; }
.prepare-card { padding: 26px 24px 28px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-card); transition: transform 200ms, box-shadow 200ms; }
.prepare-card:hover { transform: translateY(-3px); box-shadow: 0 8px 28px rgba(40,50,60,0.1); }
.prepare-card-num { font-size: 0.72rem; font-weight: 400; letter-spacing: 0.22em; color: var(--muted-light); margin-bottom: 14px; }
.prepare-card h3 { margin: 0 0 10px; font-family: var(--font-sans); font-size: 0.95rem; font-weight: 300; color: var(--sage-dark); line-height: 1.4; }
.prepare-card p { margin: 0; font-size: 0.9rem; font-weight: 300; color: var(--muted); line-height: 1.75; }

/* 04 Flow */
.section-flow { background: var(--paper); border-bottom: 1px solid var(--line); }
.flow-steps { display: flex; align-items: flex-start; margin-top: 28px; max-width: 700px; }
.flow-step { display: flex; flex-direction: column; align-items: center; flex: 1; text-align: center; gap: 12px; }
.flow-step-dot { display: none; }
.flow-step-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid var(--muted-light);
  color: var(--muted-light);
  font-size: 0.68rem;
  font-weight: 300;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: transparent;
  opacity: 0.7;
}
.flow-step-line { flex: 1; height: 1px; background: var(--line); margin-top: 5px; align-self: flex-start; min-width: 20px; }
.flow-step-content strong { display: block; font-size: 0.9rem; font-weight: 400; color: var(--sage-dark); margin-bottom: 6px; }
.flow-step-content p { margin: 0; font-size: 0.84rem; font-weight: 300; color: var(--muted); line-height: 1.65; }

/* 05 Form */
.section-form { background: var(--wash); border-bottom: 1px solid var(--line); }
.tally-wrapper { margin-top: 28px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-card); }
.tally-placeholder { min-height: 280px; display: flex; align-items: center; justify-content: center; padding: 60px 32px; }
.tally-placeholder-inner { display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; color: var(--muted-light); }
.tally-placeholder-inner p { margin: 0; font-size: 0.95rem; font-weight: 300; line-height: 1.7; max-width: 320px; }
.tally-placeholder-note { font-size: 0.82rem; color: var(--brand-accent); opacity: 0.8; }

/* 06 Urgent */
.section-urgent { background: var(--paper); padding: 56px 0; }
.urgent-block { display: flex; gap: 18px; align-items: flex-start; padding: 22px 26px; border: 1px solid #e0c8b0; border-left: 3px solid #b07c50; border-radius: 0 4px 4px 0; background: #fdf9f5; }
.urgent-icon { flex-shrink: 0; margin-top: 2px; color: #b07c50; }
.urgent-text strong { display: block; font-size: 0.92rem; font-weight: 400; color: #7a4f2e; margin-bottom: 6px; }
.urgent-text p { margin: 0; font-size: 0.95rem; font-weight: 300; color: #8c6040; line-height: 1.75; }

/* 07 Footer */
.site-footer { background: var(--sage-dark); padding: 44px 0 44px; }
.footer-inner { width: min(var(--max-w), calc(100% - 80px)); margin: 0 auto; display: flex; flex-direction: column; gap: 24px; align-items: center; text-align: center; }
.footer-brand { display: flex; align-items: baseline; gap: 10px; padding-bottom: 20px; border-bottom: 1px solid rgba(255,255,255,0.1); justify-content: center; }
.footer-brand-zh { font-family: var(--font-sans); font-size: 0.95rem; font-weight: 300; letter-spacing: 0.12em; color: rgba(255,255,255,0.88); }
.footer-brand-en { font-size: 0.72rem; font-weight: 300; letter-spacing: 0.18em; color: rgba(255,255,255,0.35); }
.footer-contacts { display: flex; gap: 32px; flex-wrap: wrap; justify-content: center; }
.footer-contact-item { display: flex; gap: 12px; align-items: baseline; text-decoration: none; color: rgba(255,255,255,0.6); font-size: 0.85rem; font-weight: 300; letter-spacing: 0.02em; transition: color 160ms; }
.footer-contact-item:hover { color: rgba(255,255,255,0.9); }
.footer-section-title { font-size: 0.82rem; font-weight: 300; letter-spacing: 0.18em; color: rgba(255,255,255,0.55); margin: -4px 0 0; }
.footer-contact-label { font-size: 0.62rem; font-weight: 400; letter-spacing: 0.22em; color: rgba(255,255,255,0.28); flex-shrink: 0; }
.footer-copy { font-size: 0.72rem; font-weight: 300; letter-spacing: 0.06em; color: rgba(255,255,255,0.22); margin: 0; padding-top: 16px; border-top: 1px solid rgba(255,255,255,0.08); }
@media (max-width: 560px) { .footer-contacts { flex-direction: column; gap: 14px; align-items: flex-start; } .footer-inner { width: calc(100% - 48px); align-items: flex-start; text-align: left; } .footer-brand { justify-content: flex-start; } .footer-copy { text-align: left; } .site-footer { padding: 36px 0 36px; } }

/* Responsive */
@media (max-width: 860px) {
  .content-section { padding: 60px 0; }
  .section-inner { grid-template-columns: 1fr; gap: 22px; }
  .section-label::before { display: none; }
  .prepare-cards { grid-template-columns: 1fr; gap: 14px; }
  .flow-steps { flex-direction: column; align-items: flex-start; gap: 0; }
  .flow-step { flex-direction: row; text-align: left; align-items: flex-start; gap: 16px; padding: 0 0 20px; flex: unset; width: 100%; }
  .flow-step-line { display: none; }
  .flow-step-dot { margin-top: 5px; flex-shrink: 0; }
  .flow-step-content strong { font-size: 0.88rem; }
  .flow-step-content p { font-size: 0.82rem; display: block; }
  .hero { min-height: auto; }
  .hero-top { margin-bottom: 0; }
  .hero-logo { width: min(140px, 55%); }
  .hero-bottom { flex-direction: column; align-items: flex-start; gap: 16px; padding-top: 20px; }
  .hero-title { font-size: clamp(1.5rem, 7vw, 2rem); }
  .hero-desc { padding-left: 0; padding-top: 0; font-size: 0.88rem; }
  .hero-cta { width: 100%; justify-content: center; }
}
@media (max-width: 560px) {
  .content-section { padding: 44px 0; }
  .section-inner { width: calc(100% - 36px); }
  .hero-logo { width: min(130px, 52%); }
  .hero-title { font-size: clamp(1.4rem, 8vw, 1.8rem); }
  .hero-tag { font-size: 0.6rem; letter-spacing: 0.2em; }
  .prepare-card { padding: 18px; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 8px; }
  .footer-copy { margin-left: 0; }
}
@media (max-width: 560px) {
  .hero-scroll-hint { display: none; }
  .content-section { padding: 48px 0; }
  .section-inner { width: calc(100% - 32px); }
  .hero-cta { width: 100%; justify-content: center; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 10px; }
  .footer-copy { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Scroll reveal */
.reveal-pending { opacity: 0; transform: translateY(14px); transition: opacity 520ms ease, transform 520ms ease; }
.reveal-pending.reveal-done { opacity: 1; transform: none; }