:root {
  --ink: #142233;
  --muted: #4A5A6C;
  --line: #D9E1EA;
  --soft: #F4F7FB;
  --brand: #1F4E8F;
  --brand-dark: #173D70;
  --accent: #B9562F;
  --accent-dark: #9A4524;
  --accent-soft: #F7E6DE;
  --mint: #F3C9B6;
  --on-dark: #D6E3F5;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #FFFFFF;
  color: var(--ink);
  font-family: Inter, "Noto Sans TC", system-ui, -apple-system, "Segoe UI", sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--brand); }
a:hover { color: var(--brand-dark); }
h1, h2, h3, .brand, .stage-num, .stage-name {
  font-family: "Space Grotesk", "Noto Sans TC", system-ui, sans-serif;
}
h1, h2, h3, p, ul, ol { margin: 0; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
section { padding: 88px 0; }
.soft { background: var(--soft); }
.section-head { display: flex; flex-direction: column; gap: 12px; max-width: 760px; margin-bottom: 40px; }
.section-head h2 { font-size: 40px; font-weight: 700; letter-spacing: -0.015em; line-height: 1.1; }
.section-head p { font-size: 18px; line-height: 1.6; color: var(--muted); }

/* Buttons */
.btn {
  display: inline-block; text-decoration: none; font-weight: 600; font-family: inherit; font-size: 16px;
  padding: 14px 22px; border-radius: 8px; text-align: center; min-height: 44px; border: 0; cursor: pointer;
}
.btn-primary { background: var(--accent); color: #FFFFFF; }
.btn-primary:hover { background: var(--accent-dark); color: #FFFFFF; }
.btn-ghost { border: 1.5px solid rgba(255, 255, 255, 0.55); color: #FFFFFF; }
.btn-ghost:hover { border-color: #FFFFFF; color: #FFFFFF; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: #FFFFFF; }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; padding-bottom: 14px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 700; font-size: 22px; letter-spacing: -0.01em; color: var(--brand); text-decoration: none; }
.brand:hover { color: var(--brand); }
.brand img { height: 44px; width: 44px; display: block; }
.brand span { white-space: nowrap; }
.tagline { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--on-dark); margin-top: 4px; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; font-size: 15px; font-weight: 500; }
.nav a { color: var(--ink); text-decoration: none; }
.nav a:hover { color: var(--brand); }
.nav .lang { border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; font-size: 14px; }
.nav .btn { padding: 11px 18px; font-size: 15px; }
.nav .btn-primary, .nav .btn-primary:hover { color: #FFFFFF; }

/* Hero */
.hero { background: var(--brand); color: #FFFFFF; padding: 96px 0 88px; }
.hero .wrap { display: flex; flex-direction: column; gap: 28px; }
.eyebrow { font-size: 14px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mint); }
.hero h1 { font-weight: 700; font-size: clamp(38px, 5.6vw, 66px); line-height: 1.06; letter-spacing: -0.02em; max-width: 900px; }
.hero .lead { font-size: 20px; line-height: 1.55; color: var(--on-dark); max-width: 700px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; }
.hero .btn { font-size: 17px; padding: 16px 24px; }

/* Process */
.stages { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.stage { background: #FFFFFF; border: 1px solid var(--line); border-top: 4px solid var(--brand); border-radius: 12px; padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.stage-top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.stage-num { font-weight: 700; font-size: 32px; color: var(--accent); }
.stage-grade { font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); text-align: right; }
.stage-name { font-weight: 700; font-size: 26px; }
.stage p { font-size: 16px; line-height: 1.55; color: var(--muted); }
.stage ul { padding-left: 18px; display: flex; flex-direction: column; gap: 8px; font-size: 15px; line-height: 1.45; }

/* What every family gets */
.gets { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.gets li { display: flex; gap: 12px; align-items: flex-start; border: 1px solid var(--line); border-radius: 12px; padding: 20px 22px; font-size: 16px; line-height: 1.5; }
.gets strong { font-weight: 600; }
.gets svg { flex: none; margin-top: 2px; stroke: var(--brand); }
.stay { margin-top: 28px; background: var(--accent-soft); border-radius: 12px; padding: 20px 24px; font-size: 17px; line-height: 1.55; }
.plans-note { margin-top: 18px; font-size: 16px; color: var(--muted); }
.plans-note a { font-weight: 600; }

/* Who */
.who { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 32px; }
.who h2 { font-size: 32px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 14px; }
.who p { font-size: 17px; line-height: 1.6; color: var(--muted); }
.card { background: #FFFFFF; border: 1px solid var(--line); border-radius: 12px; padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.card h3 { font-size: 19px; font-weight: 600; }
.card p { font-size: 16px; line-height: 1.55; }

/* Team */
.team { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; max-width: 960px; }
.person { border: 1px solid var(--line); border-radius: 12px; padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.photo { width: 96px; height: 96px; border-radius: 999px; background: var(--line); overflow: hidden; }
.photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.person h3 { font-size: 22px; font-weight: 700; }
.person p { font-size: 16px; line-height: 1.6; color: var(--muted); }

/* FAQ */
.faq { max-width: 860px; }
.faq-list { display: flex; flex-direction: column; gap: 22px; }
.faq-item h3 { font-size: 18px; font-weight: 600; margin-bottom: 6px; font-family: inherit; }
.faq-item p { font-size: 16px; line-height: 1.6; color: var(--muted); }

/* Contact and form */
.contact-head { max-width: 760px; margin-bottom: 32px; display: flex; flex-direction: column; gap: 12px; }
.contact-head h2 { font-size: 40px; font-weight: 700; letter-spacing: -0.015em; line-height: 1.1; }
.contact-head p { font-size: 18px; line-height: 1.6; color: var(--muted); }
.form { border: 1px solid var(--line); border-radius: 14px; padding: 32px; display: flex; flex-direction: column; gap: 28px; max-width: 900px; }
.form fieldset { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 20px; }
.form legend { font-family: "Space Grotesk", "Noto Sans TC", sans-serif; font-weight: 700; font-size: 19px; padding: 0; margin-bottom: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label, .field .label { font-size: 14px; font-weight: 600; }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 16px; color: var(--ink); background: #FFFFFF;
  border: 1px solid #B8C4D2; border-radius: 8px; padding: 11px 12px; width: 100%; min-height: 44px;
}
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--brand); outline-offset: 1px; border-color: var(--brand); }
.choices { display: flex; flex-wrap: wrap; gap: 8px 20px; padding-top: 4px; }
.choices label { display: inline-flex; align-items: center; gap: 8px; font-weight: 400; font-size: 16px; }
.choices input { width: 18px; height: 18px; min-height: 0; margin: 0; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.5; }
.consent input { width: 18px; height: 18px; margin: 3px 0 0 0; flex: none; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.contact-email { font-size: 16px; color: var(--muted); }
.hp { position: absolute; left: -9999px; }

/* Simple pages */
.page { padding: 72px 0 88px; }
.page .wrap { max-width: 820px; display: flex; flex-direction: column; gap: 18px; }
.page h1 { font-size: 40px; font-weight: 700; letter-spacing: -0.015em; line-height: 1.1; }
.page h2 { font-size: 21px; font-weight: 700; margin-top: 14px; }
.page p, .page li { font-size: 16px; line-height: 1.65; color: var(--ink); }
.page ul { padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.page .muted { color: var(--muted); }

/* Footer */
.site-footer { background: var(--brand); color: var(--on-dark); padding: 32px 0; font-size: 14px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }
.site-footer .brand { color: #FFFFFF; font-size: 18px; }
.site-footer a { color: var(--on-dark); }

@media (max-width: 640px) {
  section { padding: 64px 0; }
  .hero { padding: 72px 0 64px; }
  .section-head h2, .contact-head h2, .page h1 { font-size: 32px; }
  .hero .lead { font-size: 18px; }
  .nav { gap: 8px 16px; font-size: 14px; }
  .brand { font-size: 19px; }
  .brand img { height: 38px; width: 38px; }
  .form { padding: 22px 18px; }
  .form fieldset { grid-template-columns: minmax(0, 1fr); }
}
