:root {
  --navy: #1E3A52;
  --navy-deep: #16293A;
  --gold: #C89A5C;
  --gold-deep: #B07F3E;
  --sage: #8FA396;
  --cream: #FAF8F3;
  --text: #2B3A46;
  --text-muted: #55636D;
  --text-faint: #78848D;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Noto Sans TC', system-ui, sans-serif;
  background: var(--cream);
  color: var(--text);
}

h1, h2, h3 {
  font-family: 'Noto Serif TC', 'Noto Sans TC', serif;
  margin: 0;
}

a { text-decoration: none; color: inherit; }

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

button { font-family: inherit; }

.navlink { color: var(--text); font-size: 15px; font-weight: 500; }
.navlink:hover { color: var(--gold-deep); }

.btn-primary { background: var(--gold); transition: background 0.2s ease; }
.btn-primary:hover { background: var(--gold-deep); }

.btn-outline { border: 1.5px solid var(--navy); color: var(--navy); transition: background 0.2s ease, color 0.2s ease; }
.btn-outline:hover { background: var(--navy); color: var(--cream); }

.card { transition: transform 0.2s ease, box-shadow 0.2s ease; }
.card:hover { transform: translateY(-4px); box-shadow: 0 16px 32px rgba(30,58,82,0.10); }

input, textarea { font-family: 'Noto Sans TC', sans-serif; }
input:focus, textarea:focus { outline: 2px solid var(--sage); outline-offset: 1px; }

@keyframes slideIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
.step-anim { animation: slideIn 0.45s ease; }

.hidden { display: none !important; }

.dot {
  height: 8px;
  border-radius: 4px;
  background: rgba(30,58,82,0.15);
  transition: all 0.3s ease;
  width: 8px;
}
.dot.active { width: 28px; background: var(--navy); }
.dot.passed { background: var(--navy); }

.step-back-btn {
  align-self: flex-start;
  display: flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  color: var(--text-faint);
  font-size: 14px;
  cursor: pointer;
  padding: 0;
}

@media (max-width: 860px) {
  header { padding: 16px 24px !important; }
  header nav { display: none !important; }
  section { padding: 56px 24px !important; }
  #hero > div[style*="max-width: 1100px"],
  .step3-wrap { flex-direction: column !important; gap: 32px !important; }
  #hero form, #hero .step3-left { width: 100% !important; }
  .two-col { flex-direction: column !important; gap: 40px !important; }
  .choice-cards { flex-direction: column !important; align-items: center !important; }
}
