:root {
  --navy-950: #061829;
  --navy-900: #0a243e;
  --navy-800: #123b61;
  --navy-700: #1e567c;
  --gold: #c99b45;
  --gold-soft: #ead6ab;
  --gold-pale: #f6eddd;
  --cream: #f5f2eb;
  --paper: #fffdf9;
  --white: #fff;
  --ink: #112537;
  --muted: #687986;
  --line: #ddd8ce;
  --success: #17665a;
  --danger: #a7473d;
  --shadow: 0 24px 70px rgba(6,24,41,.14);
  --shadow-soft: 0 12px 35px rgba(6,24,41,.08);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 15px;
  --container: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
summary { cursor: pointer; }
.container { width: min(var(--container), calc(100% - 42px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  color: var(--white);
  background: rgba(6,24,41,.96);
  border-bottom: 1px solid rgba(255,255,255,.1);
  backdrop-filter: blur(16px);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 88px; }
.logo-link { display: inline-flex; flex: 0 0 auto; padding: 6px 9px; background: var(--white); border-radius: 12px; box-shadow: 0 10px 25px rgba(0,0,0,.18); }
.logo-link img { width: 68px; height: 64px; object-fit: contain; }
.site-nav { display: flex; align-items: center; gap: 2px; }
.site-nav a { padding: 10px 11px; border-radius: 99px; color: rgba(255,255,255,.72); font-size: 13px; font-weight: 800; letter-spacing: .035em; text-decoration: none; transition: .2s ease; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--white); background: rgba(255,255,255,.1); }
.site-nav .nav-cta { margin-left: 6px; padding-inline: 15px; color: var(--navy-950); background: var(--gold-soft); }
.site-nav .nav-cta:hover { color: var(--navy-950); background: var(--white); }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.2); border-radius: 12px; color: var(--white); background: rgba(255,255,255,.06); }
.nav-toggle span, .nav-toggle::before, .nav-toggle::after { content: ""; display: block; width: 20px; height: 2px; margin: 4px auto; border-radius: 99px; background: currentColor; }

.hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 82% 10%, rgba(234,214,171,.25), transparent 25%),
    linear-gradient(125deg, var(--navy-950), var(--navy-900) 55%, var(--navy-700));
}
.hero::before { content: ""; position: absolute; width: 560px; height: 560px; right: -175px; top: -230px; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; box-shadow: 0 0 0 62px rgba(255,255,255,.025), 0 0 0 128px rgba(255,255,255,.016); }
.hero::after { content: ""; position: absolute; left: -5%; right: -5%; bottom: -115px; height: 155px; border-radius: 50% 50% 0 0 / 100% 100% 0 0; background: var(--cream); }
.hero-inner { position: relative; z-index: 2; }
.home-hero .hero-inner { display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 64px; min-height: 660px; padding: 72px 0 150px; }
.page-hero .hero-inner { min-height: 420px; padding: 78px 0 130px; }
.page-hero .hero-copy { max-width: 800px; }
.eyebrow { display: inline-flex; align-items: center; gap: 11px; color: var(--gold-soft); font-size: 12px; font-weight: 900; letter-spacing: .18em; }
.eyebrow::before { content: ""; width: 38px; height: 1px; background: currentColor; }
h1, h2, h3 { font-family: "Noto Serif TC", "PMingLiU", serif; }
h1 { margin: 21px 0; font-size: clamp(43px, 6vw, 76px); line-height: 1.17; letter-spacing: .035em; }
.page-hero h1 { font-size: clamp(40px, 5vw, 62px); }
.hero-lead { max-width: 700px; margin: 0; color: rgba(255,255,255,.74); font-size: clamp(16px, 2vw, 19px); line-height: 1.9; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 30px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 22px; border: 1px solid transparent; border-radius: 999px; font-weight: 900; letter-spacing: .035em; text-decoration: none; transition: .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-gold { color: var(--navy-950); background: var(--gold-soft); box-shadow: 0 12px 28px rgba(0,0,0,.15); }
.btn-gold:hover { background: var(--white); }
.btn-light { color: var(--white); border-color: rgba(255,255,255,.25); background: rgba(255,255,255,.06); }
.btn-light:hover { background: rgba(255,255,255,.14); }
.btn-navy { color: var(--white); background: var(--navy-900); }
.btn-navy:hover { background: var(--navy-700); }
.btn-outline { color: var(--navy-900); border-color: var(--navy-900); background: transparent; }
.btn-outline:hover { color: var(--white); background: var(--navy-900); }
.btn-small { min-height: 42px; padding-inline: 17px; font-size: 13px; }

.platform-card { padding: 28px; color: var(--ink); background: rgba(255,255,255,.97); border: 1px solid rgba(234,214,171,.75); border-radius: 28px; box-shadow: 0 28px 70px rgba(0,0,0,.23); }
.platform-card-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.platform-card-head img { width: 90px; }
.platform-card-head span { color: var(--gold); font-size: 10px; font-weight: 900; letter-spacing: .14em; }
.platform-card-head strong { display: block; margin-top: 4px; color: var(--navy-900); font-size: 19px; }
.platform-paths { display: grid; grid-template-columns: repeat(2, 1fr); gap: 11px; margin-top: 20px; }
.platform-paths a { min-height: 108px; padding: 18px; border: 1px solid var(--line); border-radius: 17px; background: var(--paper); text-decoration: none; transition: .2s ease; }
.platform-paths a:hover { border-color: var(--gold); transform: translateY(-2px); box-shadow: var(--shadow-soft); }
.platform-paths span { color: var(--gold); font-size: 10px; font-weight: 900; }
.platform-paths strong { display: block; margin-top: 11px; color: var(--navy-900); font-family: "Noto Serif TC", "PMingLiU", serif; font-size: 18px; }
.platform-card-note { margin: 18px 0 0; padding: 15px; border-left: 3px solid var(--gold); border-radius: 9px; color: var(--muted); background: var(--gold-pale); font-size: 12px; line-height: 1.7; }

.section { padding: 92px 0; }
.section-tight { padding: 62px 0; }
.section-white { background: var(--paper); }
.section-navy { color: var(--white); background: linear-gradient(125deg, var(--navy-950), var(--navy-800)); }
.section-head { max-width: 780px; margin-bottom: 36px; }
.section-kicker { color: var(--gold); font-size: 11px; font-weight: 900; letter-spacing: .18em; }
.section-title { margin: 10px 0 13px; font-size: clamp(31px, 4vw, 47px); line-height: 1.3; letter-spacing: .025em; }
.section-desc { margin: 0; color: var(--muted); line-height: 1.85; }
.section-navy .section-desc { color: rgba(255,255,255,.68); }
.section-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; margin-bottom: 36px; }
.section-head-row .section-head { margin: 0; }
.text-link { display: inline-flex; align-items: center; gap: 7px; color: var(--navy-800); font-size: 13px; font-weight: 900; text-decoration: none; }
.text-link::after { content: "→"; }
.text-link:hover { color: var(--gold); }

.trust-strip { position: relative; z-index: 5; margin-top: -55px; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); overflow: hidden; background: var(--paper); border: 1px solid rgba(201,155,69,.28); border-radius: 21px; box-shadow: var(--shadow); }
.trust-item { padding: 23px 20px; text-align: center; }
.trust-item + .trust-item { border-left: 1px solid var(--line); }
.trust-item strong { display: block; color: var(--navy-900); font-family: "Noto Serif TC", "PMingLiU", serif; font-size: 21px; }
.trust-item span { display: block; margin-top: 7px; color: var(--muted); font-size: 12px; line-height: 1.55; }

.action-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.action-card { position: relative; min-height: 270px; padding: 27px; overflow: hidden; border: 1px solid var(--line); border-radius: 21px; background: var(--paper); box-shadow: var(--shadow-soft); text-decoration: none; transition: .2s ease; }
.action-card:hover { transform: translateY(-5px); border-color: var(--gold); box-shadow: var(--shadow); }
.action-card::after { content: ""; position: absolute; right: -50px; bottom: -50px; width: 145px; height: 145px; border: 1px solid rgba(201,155,69,.18); border-radius: 50%; box-shadow: 0 0 0 30px rgba(201,155,69,.04); }
.action-no { color: var(--gold); font-size: 10px; font-weight: 900; letter-spacing: .15em; }
.action-card h3 { position: relative; z-index: 1; margin: 50px 0 13px; color: var(--navy-900); font-size: 25px; }
.action-card p { position: relative; z-index: 1; margin: 0; color: var(--muted); line-height: 1.75; }
.action-arrow { position: absolute; z-index: 2; right: 25px; bottom: 22px; color: var(--gold); font-size: 22px; }

.search-panel { padding: 34px; border: 1px solid rgba(201,155,69,.3); border-radius: 25px; background: var(--paper); box-shadow: var(--shadow); }
.search-panel-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 25px; }
.search-panel-head h2 { margin: 7px 0 0; color: var(--navy-900); font-size: 30px; }
.search-panel-head p { max-width: 500px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.quick-search { display: grid; grid-template-columns: repeat(4, 1fr) auto; gap: 12px; align-items: end; }
.field { display: grid; gap: 8px; }
.field label { color: var(--ink); font-size: 13px; font-weight: 900; }
.field input, .field select, .field textarea { width: 100%; border: 1px solid var(--line); border-radius: 13px; color: var(--ink); background: var(--white); outline: none; transition: .2s ease; }
.field input, .field select { height: 54px; padding: 0 15px; }
.field textarea { min-height: 115px; padding: 14px 15px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(201,155,69,.12); }
.field small { color: var(--muted); font-size: 11px; line-height: 1.5; }
.hp-field { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }

.area-guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.area-guide-card { position: relative; min-height: 390px; padding: 30px; overflow: hidden; color: var(--white); background: linear-gradient(145deg, var(--navy-950), var(--navy-700)); border-radius: 23px; box-shadow: var(--shadow-soft); }
.area-guide-card:nth-child(2) { background: linear-gradient(145deg, #102f4d, #256184); }
.area-guide-card:nth-child(3) { background: linear-gradient(145deg, #173b56, #60778a); }
.area-guide-card::before { content: ""; position: absolute; top: -70px; right: -70px; width: 220px; height: 220px; border: 1px solid rgba(255,255,255,.13); border-radius: 50%; box-shadow: 0 0 0 38px rgba(255,255,255,.025); }
.area-station { position: relative; display: grid; place-items: center; width: 66px; height: 66px; border: 5px solid var(--gold-soft); border-radius: 50%; background: var(--navy-950); font-weight: 900; }
.area-guide-card h3 { position: relative; margin: 54px 0 13px; font-size: 29px; }
.area-guide-card p { position: relative; margin: 0; color: rgba(255,255,255,.7); line-height: 1.8; }
.area-guide-card a { position: absolute; left: 30px; bottom: 27px; color: var(--gold-soft); font-size: 13px; font-weight: 900; text-decoration: none; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: center; }
.feature-panel { position: relative; min-height: 450px; padding: 38px; overflow: hidden; color: var(--white); background: linear-gradient(145deg, var(--navy-950), var(--navy-700)); border-radius: 28px; box-shadow: var(--shadow); }
.feature-panel::before, .feature-panel::after { content: ""; position: absolute; border: 1px solid rgba(255,255,255,.14); }
.feature-panel::before { left: 11%; bottom: 0; width: 31%; height: 58%; border-bottom: 0; }
.feature-panel::after { right: 10%; bottom: 0; width: 39%; height: 78%; border-bottom: 0; }
.feature-panel-card { position: absolute; z-index: 1; left: 12%; right: 12%; bottom: 14%; padding: 25px; color: var(--ink); background: rgba(255,255,255,.96); border: 1px solid var(--gold-soft); border-radius: 20px; box-shadow: 0 22px 55px rgba(0,0,0,.25); }
.feature-panel-card span { color: var(--gold); font-size: 10px; font-weight: 900; letter-spacing: .15em; }
.feature-panel-card strong { display: block; margin-top: 11px; color: var(--navy-900); font-family: "Noto Serif TC", "PMingLiU", serif; font-size: 27px; }
.feature-panel-card p { margin: 10px 0 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.check-list { display: grid; gap: 14px; margin: 27px 0 0; padding: 0; list-style: none; }
.check-list li { position: relative; padding-left: 29px; color: var(--muted); line-height: 1.75; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--gold); font-weight: 900; }

.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.info-card { min-height: 275px; padding: 28px; border: 1px solid var(--line); border-radius: 20px; background: var(--paper); box-shadow: var(--shadow-soft); }
.info-card .card-label { color: var(--gold); font-size: 10px; font-weight: 900; letter-spacing: .15em; }
.info-card h3 { margin: 34px 0 12px; color: var(--navy-900); font-size: 24px; }
.info-card p { margin: 0; color: var(--muted); line-height: 1.78; }
.info-card .text-link { margin-top: 22px; }

.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.article-card { display: flex; flex-direction: column; min-height: 330px; padding: 26px; border: 1px solid var(--line); border-radius: 20px; background: var(--paper); box-shadow: var(--shadow-soft); }
.article-card-meta { display: flex; justify-content: space-between; gap: 10px; color: var(--muted); font-size: 11px; }
.article-card-meta span:first-child { color: var(--gold); font-weight: 900; }
.article-card h3 { margin: 34px 0 12px; color: var(--navy-900); font-size: 23px; line-height: 1.45; }
.article-card p { margin: 0; color: var(--muted); line-height: 1.75; }
.article-card .text-link { margin-top: auto; padding-top: 24px; }

.lead-layout { display: grid; grid-template-columns: .72fr 1.28fr; gap: 34px; align-items: start; }
.lead-aside { position: sticky; top: 120px; padding: 31px; color: var(--white); background: linear-gradient(145deg, var(--navy-950), var(--navy-700)); border-radius: 24px; box-shadow: var(--shadow); }
.lead-aside span { color: var(--gold-soft); font-size: 10px; font-weight: 900; letter-spacing: .16em; }
.lead-aside h2 { margin: 14px 0; font-size: 31px; }
.lead-aside p { margin: 0; color: rgba(255,255,255,.7); line-height: 1.8; }
.lead-aside ol { display: grid; gap: 17px; margin: 28px 0 0; padding: 0; list-style: none; counter-reset: lead; }
.lead-aside li { position: relative; padding-left: 39px; color: rgba(255,255,255,.8); font-size: 13px; line-height: 1.7; counter-increment: lead; }
.lead-aside li::before { content: counter(lead, decimal-leading-zero); position: absolute; left: 0; color: var(--gold); font-weight: 900; }
.lead-form-card { padding: 34px; border: 1px solid rgba(201,155,69,.28); border-radius: 24px; background: var(--paper); box-shadow: var(--shadow); }
.lead-form-card h2 { margin: 0 0 8px; color: var(--navy-900); font-size: 31px; }
.lead-form-card > p { margin: 0 0 25px; color: var(--muted); line-height: 1.7; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 24px; }
.form-note { color: var(--muted); font-size: 11px; line-height: 1.6; }
.lead-result { margin-top: 22px; padding: 20px; border: 1px solid rgba(23,102,90,.3); border-radius: 15px; background: #edf8f5; }
.lead-result[hidden] { display: none; }
.lead-result strong { color: var(--success); }
.lead-result p { margin: 7px 0 14px; color: var(--muted); font-size: 13px; line-height: 1.7; }
.lead-result textarea { width: 100%; min-height: 150px; padding: 13px; border: 1px solid #b9d7d0; border-radius: 11px; color: var(--ink); background: var(--white); font-size: 12px; line-height: 1.7; resize: vertical; }
.lead-result.is-success { border-color: rgba(23,102,90,.4); background: #edf8f5; }
.lead-result.is-error { border-color: rgba(160,61,61,.35); background: #fff1f1; }
.lead-result.is-error strong { color: var(--danger); }
.lead-result .form-actions { margin-top: 14px; }
.lead-result .btn-outline { color: var(--navy-900); border-color: rgba(6,24,41,.28); }
.lead-result .btn-outline:hover { color: var(--white); background: var(--navy-900); }
.lead-form-card button:disabled { cursor: wait; opacity: .68; transform: none; }

.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 17px; }
.process-card { min-height: 260px; padding: 25px; border-top: 3px solid var(--gold); background: var(--paper); box-shadow: var(--shadow-soft); }
.process-card span { color: var(--gold); font-size: 10px; font-weight: 900; letter-spacing: .15em; }
.process-card h3 { margin: 38px 0 11px; color: var(--navy-900); font-size: 22px; }
.process-card p { margin: 0; color: var(--muted); line-height: 1.75; }

.compare-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 20px; background: var(--paper); box-shadow: var(--shadow-soft); }
.compare-table { width: 100%; min-width: 760px; border-collapse: collapse; }
.compare-table th, .compare-table td { padding: 18px 20px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.compare-table th { color: var(--white); background: var(--navy-900); font-size: 12px; }
.compare-table td { color: var(--muted); line-height: 1.65; }
.compare-table td:first-child { color: var(--navy-900); font-weight: 900; }
.compare-table tr:last-child td { border-bottom: 0; }

.filter-bar { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 28px; }
.filter-btn { min-height: 42px; padding: 0 17px; border: 1px solid var(--line); border-radius: 999px; color: var(--navy-900); background: var(--paper); font-weight: 900; }
.filter-btn:hover, .filter-btn.is-active { color: var(--white); border-color: var(--navy-900); background: var(--navy-900); }
.community-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.community-card { padding: 27px; border: 1px solid var(--line); border-radius: 21px; background: var(--paper); box-shadow: var(--shadow-soft); }
.community-card[hidden] { display: none; }
.community-top { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.community-area { color: var(--gold); font-size: 10px; font-weight: 900; letter-spacing: .14em; }
.source-badge { padding: 5px 9px; border-radius: 99px; color: var(--success); background: #e9f5f2; font-size: 10px; font-weight: 900; }
.community-card h3 { margin: 28px 0 7px; color: var(--navy-900); font-size: 25px; }
.community-address { margin: 0; color: var(--muted); font-size: 12px; }
.community-specs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 22px; }
.community-specs div { padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); }
.community-specs span { display: block; color: var(--muted); font-size: 10px; }
.community-specs strong { display: block; margin-top: 5px; color: var(--navy-900); font-size: 14px; }
.community-card .text-link { margin-top: 20px; }
.community-index-head { margin: 45px 0 18px; }
.community-index-head h3 { margin: 8px 0 7px; color: var(--navy-900); font-size: 28px; }
.community-index-head p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.75; }
.community-index-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.community-index-grid a { display: flex; align-items: center; gap: 11px; min-height: 62px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 13px; color: var(--navy-900); background: var(--paper); text-decoration: none; transition: .2s ease; }
.community-index-grid a:hover { border-color: var(--gold); transform: translateY(-2px); box-shadow: var(--shadow-soft); }
.community-index-grid a[hidden] { display: none; }
.community-index-grid span { display: grid; place-items: center; flex: 0 0 29px; height: 29px; border-radius: 50%; color: var(--gold); background: var(--gold-pale); font-size: 9px; font-weight: 900; }
.community-index-grid strong { font-size: 13px; line-height: 1.4; }

.source-note { display: grid; grid-template-columns: 125px 1fr; gap: 22px; margin-top: 28px; padding: 21px 24px; border-left: 3px solid var(--gold); border-radius: 10px; background: var(--gold-pale); }
.source-note strong { color: var(--navy-900); font-family: "Noto Serif TC", "PMingLiU", serif; }
.source-note p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.75; }

.life-directory-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.life-directory-card { padding: 27px; border: 1px solid var(--line); border-radius: 21px; background: var(--paper); box-shadow: var(--shadow-soft); }
.life-directory-head { display: flex; align-items: center; gap: 15px; }
.life-directory-head > span { display: grid; place-items: center; width: 45px; height: 45px; border-radius: 50%; color: var(--gold); background: var(--gold-pale); font-size: 12px; font-weight: 900; }
.life-directory-head small { color: var(--gold); font-size: 9px; font-weight: 900; letter-spacing: .14em; }
.life-directory-head h3 { margin: 2px 0 0; color: var(--navy-900); font-size: 24px; }
.life-directory-card > p { min-height: 3.5em; color: var(--muted); font-size: 13px; line-height: 1.75; }
.place-list { display: grid; gap: 8px; margin: 20px 0 0; padding: 0; list-style: none; }
.place-list a { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 13px; border: 1px solid var(--line); border-radius: 12px; color: var(--navy-900); background: var(--white); text-decoration: none; }
.place-list a:hover { border-color: var(--gold); }
.place-list strong { font-size: 13px; }
.place-list span { color: var(--muted); font-size: 10px; text-align: right; }

.data-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.data-card { padding: 27px; border: 1px solid var(--line); border-radius: 20px; background: var(--paper); box-shadow: var(--shadow-soft); }
.data-card span { color: var(--gold); font-size: 10px; font-weight: 900; letter-spacing: .14em; }
.data-value { display: flex; align-items: baseline; gap: 7px; margin-top: 24px; color: var(--navy-900); }
.data-value strong { font-size: clamp(40px, 5vw, 60px); line-height: 1; }
.data-value small { color: var(--muted); font-weight: 800; }
.data-card p { margin: 16px 0 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.bar-chart { display: grid; gap: 17px; margin-top: 32px; padding: 30px; border: 1px solid var(--line); border-radius: 20px; background: var(--paper); box-shadow: var(--shadow-soft); }
.bar-row { display: grid; grid-template-columns: 120px 1fr 85px; gap: 16px; align-items: center; }
.bar-row span { color: var(--navy-900); font-weight: 900; }
.bar-track { height: 13px; overflow: hidden; border-radius: 99px; background: var(--gold-pale); }
.bar-fill { height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--navy-800), var(--gold)); }
.bar-row strong { color: var(--navy-900); text-align: right; }

.status-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.status-card { padding: 27px; border: 1px solid var(--line); border-radius: 19px; background: var(--paper); box-shadow: var(--shadow-soft); }
.status-pill { display: inline-flex; padding: 6px 10px; border-radius: 99px; color: var(--success); background: #e9f5f2; font-size: 10px; font-weight: 900; }
.status-pill.pending { color: #875e16; background: var(--gold-pale); }
.status-card h3 { margin: 27px 0 10px; color: var(--navy-900); font-size: 22px; }
.status-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.75; }

.faq-list { display: grid; gap: 12px; }
.faq-list details { border: 1px solid var(--line); border-radius: 15px; background: var(--paper); box-shadow: var(--shadow-soft); }
.faq-list summary { padding: 19px 22px; color: var(--navy-900); font-weight: 900; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; float: right; color: var(--gold); font-size: 20px; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { margin: 0; padding: 0 22px 21px; color: var(--muted); line-height: 1.75; }

.content-layout { display: grid; grid-template-columns: 240px 1fr; gap: 42px; align-items: start; }
.content-nav { position: sticky; top: 118px; padding: 20px; border: 1px solid var(--line); border-radius: 17px; background: var(--paper); box-shadow: var(--shadow-soft); }
.content-nav strong { color: var(--navy-900); }
.content-nav strong:not(:first-child) { display: block; margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line); }
.content-nav a { display: block; margin-top: 12px; color: var(--muted); font-size: 13px; font-weight: 800; text-decoration: none; }
.content-nav a:hover { color: var(--gold); }
.longform { display: grid; gap: 20px; }
.longform article { padding: 31px; border: 1px solid var(--line); border-radius: 21px; background: var(--paper); box-shadow: var(--shadow-soft); scroll-margin-top: 120px; }
.longform article span { color: var(--gold); font-size: 10px; font-weight: 900; letter-spacing: .14em; }
.longform article h2 { margin: 13px 0 15px; color: var(--navy-900); font-size: 31px; }
.longform article p { color: var(--muted); line-height: 1.9; }
.longform article h3 { margin-top: 26px; color: var(--navy-900); }
.longform article ul, .longform article ol { color: var(--muted); line-height: 1.9; }
.article-summary { margin: 18px 0 24px; padding: 17px 19px; border-left: 3px solid var(--gold); border-radius: 10px; background: var(--gold-pale); }
.article-summary strong { color: var(--navy-900); }
.article-links { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: 25px; padding-top: 20px; border-top: 1px solid var(--line); }
.formula-box { display: grid; gap: 8px; margin: 22px 0; padding: 22px; border: 1px solid rgba(201,155,69,.45); border-radius: 15px; background: var(--gold-pale); }
.formula-box span { color: var(--gold); }
.formula-box strong { color: var(--navy-900); font-size: 17px; line-height: 1.65; }
.longform article .article-disclaimer { margin-top: 24px; color: var(--muted); font-size: 11px; }

.brand-story { display: grid; grid-template-columns: .8fr 1.2fr; gap: 55px; align-items: center; }
.brand-logo-frame { display: grid; place-items: center; aspect-ratio: 1; padding: 42px; border: 1px solid var(--gold-soft); border-radius: 50%; background: var(--white); box-shadow: var(--shadow); }
.brand-logo-frame img { width: 86%; }
.brand-copy h2 { margin: 10px 0 18px; font-size: clamp(33px, 4vw, 47px); }
.brand-copy p { color: var(--muted); line-height: 1.95; }
.company-facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 28px; }
.company-facts div { padding: 16px; border: 1px solid var(--line); border-radius: 13px; background: var(--paper); }
.company-facts span { display: block; color: var(--muted); font-size: 10px; }
.company-facts strong, .company-facts a { display: block; margin-top: 7px; color: var(--navy-900); font-weight: 900; text-decoration: none; }

.cta-box { display: flex; align-items: center; justify-content: space-between; gap: 34px; padding: 40px 43px; color: var(--white); background: linear-gradient(125deg, var(--navy-950), var(--navy-700)); border-radius: 27px; box-shadow: var(--shadow); }
.cta-box h2 { margin: 0 0 9px; font-size: clamp(28px, 4vw, 42px); }
.cta-box p { margin: 0; color: rgba(255,255,255,.68); line-height: 1.7; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 10px; flex: 0 0 auto; }

.calculator-wrap { position: relative; z-index: 5; margin-top: -76px; padding-bottom: 90px; }
.calculator-card { display: grid; grid-template-columns: .9fr 1.1fr; overflow: hidden; border: 1px solid rgba(201,155,69,.3); border-radius: 27px; background: var(--paper); box-shadow: var(--shadow); }
.calc-inputs, .calc-results { padding: 40px; }
.calc-inputs { border-right: 1px solid var(--line); }
.calc-results { background: linear-gradient(145deg, #f8f4ec, #fffdfa); }
.calc-kicker { color: var(--gold); font-size: 10px; font-weight: 900; letter-spacing: .16em; }
.calc-title { margin: 10px 0 8px; color: var(--navy-900); font-size: 31px; }
.calc-sub { margin: 0 0 27px; color: var(--muted); line-height: 1.7; }
.calc-field-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 17px; }
.calc-message { min-height: 1.5em; margin: 14px 0 0; color: var(--danger); font-size: 12px; font-weight: 800; }
.live-note { margin: 18px 0 0; padding: 14px 15px; border-left: 3px solid var(--gold); border-radius: 8px; color: var(--muted); background: var(--gold-pale); font-size: 12px; line-height: 1.7; }
.result-label { color: var(--muted); font-size: 12px; font-weight: 900; letter-spacing: .08em; }
.monthly-payment { margin: 11px 0 24px; color: var(--navy-900); font-size: clamp(45px, 6vw, 66px); font-weight: 900; line-height: 1; font-variant-numeric: tabular-nums; }
.monthly-payment small { margin-left: 7px; color: var(--muted); font-size: 14px; }
.grace-highlight { margin: -3px 0 19px; padding: 18px; border: 1px solid rgba(201,155,69,.4); border-radius: 16px; background: var(--gold-pale); }
.grace-highlight[hidden], .grace-comparison[hidden] { display: none; }
.grace-highlight div { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; }
.grace-highlight span { color: var(--muted); font-size: 12px; font-weight: 800; }
.grace-highlight strong { color: var(--navy-900); font-size: 23px; }
.grace-highlight p { margin: 7px 0 0; color: var(--muted); font-size: 11px; line-height: 1.6; }
.result-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 11px; }
.result-box { padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--white); }
.result-box span { display: block; color: var(--muted); font-size: 11px; }
.result-box strong { display: block; margin-top: 7px; color: var(--navy-900); font-size: 19px; }
.grace-comparison { display: grid; grid-template-columns: repeat(2, 1fr); gap: 11px; margin-top: 11px; }
.grace-comparison > div { padding: 14px; border: 1px dashed var(--gold); border-radius: 13px; background: rgba(255,255,255,.75); }
.grace-comparison span { display: block; color: var(--muted); font-size: 11px; }
.grace-comparison strong { display: block; margin-top: 6px; color: var(--navy-900); }
.ratio { margin-top: 20px; }
.ratio-head, .ratio-legend { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 11px; }
.ratio-bar { display: flex; height: 10px; margin-top: 8px; overflow: hidden; border-radius: 99px; background: var(--line); }
.ratio-principal { width: 75%; background: var(--navy-800); }
.ratio-interest { width: 25%; background: var(--gold); }
.ratio-legend { margin-top: 9px; justify-content: flex-start; }
.disclaimer { color: var(--muted); font-size: 11px; line-height: 1.7; }

.site-footer { padding: 54px 0 25px; color: rgba(255,255,255,.68); background: var(--navy-950); }
.footer-top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 42px; }
.footer-brand img { width: 96px; padding: 7px; border-radius: 12px; background: var(--white); }
.footer-brand strong { display: block; margin-top: 17px; color: var(--white); font-family: "Noto Serif TC", "PMingLiU", serif; font-size: 20px; }
.footer-brand p { margin: 8px 0 0; font-size: 12px; line-height: 1.7; }
.footer-col strong { display: block; color: var(--gold-soft); font-size: 13px; }
.footer-col a { display: block; margin-top: 11px; color: rgba(255,255,255,.66); font-size: 12px; text-decoration: none; }
.footer-col > span { display: block; margin-top: 11px; color: rgba(255,255,255,.66); font-size: 12px; }
.footer-col a:hover { color: var(--white); }
.footer-contact { margin-top: 22px; font-size: 12px; line-height: 1.8; }
.footer-contact a { text-decoration: none; }
.footer-bottom { display: flex; justify-content: space-between; gap: 25px; margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.42); font-size: 10px; line-height: 1.7; }

@media (max-width: 1080px) {
  .site-nav a { padding-inline: 8px; font-size: 12px; }
  .home-hero .hero-inner { gap: 38px; }
  .action-grid { grid-template-columns: repeat(2, 1fr); }
  .amenity-grid, .status-grid { grid-template-columns: repeat(2, 1fr); }
  .quick-search { grid-template-columns: repeat(2, 1fr); }
  .quick-search .btn { grid-column: 1 / -1; }
  .community-grid { grid-template-columns: repeat(2, 1fr); }
  .community-index-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  .home-hero .hero-inner { grid-template-columns: 1fr; padding-top: 60px; }
  .platform-card { width: min(620px, 100%); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(3) { border-left: 0; }
  .trust-item:nth-child(n+3) { border-top: 1px solid var(--line); }
  .split, .lead-layout, .brand-story, .calculator-card { grid-template-columns: 1fr; }
  .lead-aside, .content-nav { position: static; }
  .calc-inputs { border-right: 0; border-bottom: 1px solid var(--line); }
  .area-guide-grid, .article-grid, .card-grid, .data-cards { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .content-layout { grid-template-columns: 1fr; }
  .content-nav { display: flex; flex-wrap: wrap; gap: 10px 16px; }
  .content-nav a { margin: 0; }
  .content-nav strong:not(:first-child) { width: 100%; margin-top: 8px; padding-top: 12px; }
  .footer-top { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 780px) {
  .header-inner { min-height: 76px; }
  .logo-link img { width: 57px; height: 53px; }
  .nav-toggle { display: block; }
  .site-nav { position: absolute; top: calc(100% + 1px); left: 14px; right: 14px; display: none; flex-direction: column; align-items: stretch; max-height: calc(100vh - 100px); overflow-y: auto; padding: 12px; border: 1px solid rgba(255,255,255,.12); border-radius: 15px; background: var(--navy-950); box-shadow: var(--shadow); }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 12px; text-align: center; }
  .site-nav .nav-cta { margin-left: 0; }
  .home-hero .hero-inner { min-height: auto; padding: 52px 0 135px; }
  .page-hero .hero-inner { min-height: 340px; padding: 56px 0 112px; }
  .section { padding: 70px 0; }
  .section-head-row, .search-panel-head, .cta-box { align-items: flex-start; flex-direction: column; }
  .cta-actions { width: 100%; }
  .cta-actions .btn { flex: 1 1 100%; }
  .lead-form-card, .search-panel { padding: 25px 20px; }
  .form-grid, .calc-field-grid { grid-template-columns: 1fr; }
  .life-directory-grid { grid-template-columns: 1fr; }
  .form-grid .full { grid-column: auto; }
  .calculator-wrap { margin-top: -56px; }
  .calc-inputs, .calc-results { padding: 27px 19px; }
  .footer-bottom { flex-direction: column; }
}

@media (max-width: 620px) {
  .container { width: min(var(--container), calc(100% - 28px)); }
  h1 { font-size: clamp(40px, 12vw, 58px); }
  .platform-paths, .action-grid, .area-guide-grid, .article-grid, .card-grid, .process-grid, .community-grid, .data-cards, .status-grid, .amenity-grid, .company-facts, .result-grid, .grace-comparison { grid-template-columns: 1fr; }
  .community-index-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-item + .trust-item { border-left: 0; border-top: 1px solid var(--line); }
  .quick-search { grid-template-columns: 1fr; }
  .quick-search .btn { grid-column: auto; }
  .search-panel-head h2 { font-size: 26px; }
  .area-guide-card { min-height: 350px; }
  .feature-panel { min-height: 390px; }
  .source-note { grid-template-columns: 1fr; gap: 7px; }
  .community-specs { grid-template-columns: 1fr; }
  .place-list a { align-items: flex-start; flex-direction: column; gap: 4px; }
  .place-list span { text-align: left; }
  .bar-row { grid-template-columns: 90px 1fr; }
  .bar-row strong { grid-column: 2; }
  .footer-top { grid-template-columns: 1fr; }
  .cta-box { padding: 31px 24px; }
  .longform article { padding: 25px 20px; }
  .longform article h2 { font-size: 27px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
