:root {
  --ink: #1b2421;
  --muted: #65706b;
  --green-950: #006336;
  --green-900: #008f4c;
  --green-800: #00a85a;
  --cream-50: #fffdf6;
  --cream-100: #fff8dc;
  --cream-200: #f5e8b5;
  --yellow: #fbc000;
  --yellow-soft: #fff0a8;
  --yellow-text: #b37400;
  --red: #df2443;
  --red-dark: #bd1732;
  --white: #fffdfa;
  --line: rgba(23, 61, 53, 0.14);
  --shadow-1: 0 10px 30px rgba(26, 43, 38, 0.08);
  --shadow-2: 0 24px 70px rgba(13, 38, 32, 0.15);
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --max-width: 1200px;
  --ease: 220ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 104px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream-50);
  font-family: "Noto Sans TC", "Microsoft JhengHei", sans-serif;
  font-size: 17px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(circle at 90% 8%, rgba(251, 192, 0, 0.18), transparent 26%), radial-gradient(circle at 4% 42%, rgba(223, 36, 67, 0.07), transparent 23%);
  content: "";
  pointer-events: none;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 8px;
  color: var(--white);
  background: var(--green-950);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(251, 248, 242, 0.92);
  backdrop-filter: blur(18px);
}

.header-inner,
.section-inner,
.footer-inner {
  width: min(calc(100% - 40px), var(--max-width));
  margin-inline: auto;
}

.header-inner {
  display: flex;
  min-height: 84px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 12px;
  color: var(--green-950);
  text-decoration: none;
}

.brand-text {
  font-family: "Noto Serif TC", "Source Han Serif TC", "PMingLiU", serif;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.brand-yellow {
  color: var(--yellow-text);
}

.brand-green {
  color: var(--green-950);
}

.brand-red {
  color: var(--red-dark);
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 2px;
}

.nav-home,
.nav-trigger {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border: 0;
  border-radius: 10px;
  color: var(--ink);
  background: transparent;
  font-size: 15px;
  font-weight: 650;
  text-decoration: none;
  cursor: pointer;
  transition: color var(--ease), background var(--ease);
}

.nav-home:hover,
.nav-trigger:hover,
.nav-group.is-open .nav-trigger {
  color: var(--green-900);
  background: rgba(23, 61, 53, 0.08);
}

.nav-group {
  position: relative;
}

.chevron {
  transition: transform var(--ease);
}

.nav-group.is-open .chevron {
  transform: rotate(180deg);
}

.dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  display: grid;
  width: 244px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-2);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -8px);
  transition: opacity var(--ease), transform var(--ease);
}

.nav-group.is-open .dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.nav-group:last-child .dropdown {
  right: 0;
  left: auto;
  transform: translate(0, -8px);
}

.nav-group:last-child.is-open .dropdown {
  transform: translate(0, 0);
}

.dropdown-link {
  padding: 10px 12px;
  border-radius: 9px;
  color: var(--ink);
  font-size: 15px;
  text-decoration: none;
  transition: color var(--ease), background var(--ease), transform var(--ease);
}

.dropdown-link:hover,
.dropdown-link:focus-visible {
  color: var(--green-900);
  background: var(--cream-100);
  transform: translateX(3px);
}

.mobile-toggle,
.mobile-panel {
  display: none;
}

.home-top-anchor {
  position: relative;
  top: -1px;
  height: 1px;
  pointer-events: none;
}

.hero {
  position: relative;
  overflow: clip;
  padding: clamp(64px, 9vw, 128px) 0 80px;
}

.hero-grid {
  max-width: 900px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 22px;
  color: var(--green-800);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.eyebrow::before {
  width: 28px;
  height: 1px;
  background: linear-gradient(90deg, var(--yellow) 0 64%, var(--red) 64% 100%);
  content: "";
}

h1,
h2,
h3 {
  font-family: "Noto Serif TC", "Source Han Serif TC", "PMingLiU", serif;
  text-wrap: pretty;
}

h1 {
  max-width: 760px;
  margin: 0;
  color: var(--green-950);
  font-size: clamp(48px, 6.3vw, 88px);
  font-weight: 850;
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.hero-lead {
  max-width: 620px;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 21px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-weight: 750;
  text-decoration: none;
  transition: transform var(--ease), box-shadow var(--ease), background var(--ease);
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--white);
  background: var(--red);
  box-shadow: 0 12px 28px rgba(223, 36, 67, 0.2);
}

.button-primary:hover {
  background: var(--red-dark);
  box-shadow: 0 16px 34px rgba(223, 36, 67, 0.27);
}

.button-secondary {
  border-color: var(--line);
  color: var(--green-900);
  background: rgba(255, 253, 250, 0.7);
}

.trust-line {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  margin-top: 50px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.section {
  padding: 104px 0;
}

.section-title {
  max-width: 760px;
  margin: 0;
  color: var(--green-950);
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.18;
  letter-spacing: -0.035em;
}

.section-intro {
  max-width: 680px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 19px;
}

.story-list {
  display: grid;
  gap: 72px;
  margin-top: 64px;
}

.story-item {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  align-items: center;
  gap: clamp(34px, 7vw, 88px);
}

.story-item:nth-child(even) .image-slot {
  order: 2;
}

.image-slot {
  position: relative;
  display: grid;
  min-height: 360px;
  place-items: center;
  overflow: hidden;
  border: 1px dashed rgba(23, 61, 53, 0.3);
  border-radius: var(--radius-lg);
  color: var(--green-800);
  background: linear-gradient(145deg, var(--cream-100), var(--yellow-soft));
}

.image-slot::before {
  position: absolute;
  inset: 24px;
  border: 1px solid rgba(23, 61, 53, 0.1);
  border-radius: 20px;
  content: "";
}

.image-slot span {
  position: relative;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 253, 250, 0.72);
  font-size: 14px;
  font-weight: 750;
}

.story-copy h3 {
  margin: 0;
  color: var(--green-950);
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.3;
}

.story-copy p {
  margin: 20px 0 0;
  color: var(--muted);
}

.tools-section {
  color: var(--white);
  background: var(--green-950);
}

.tools-section .section-title,
.tools-section .section-intro {
  color: var(--white);
}

.tools-section .section-intro {
  color: rgba(255, 253, 250, 0.66);
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 54px;
}

.tool-card {
  position: relative;
  min-height: 290px;
  padding: 30px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.045);
  transition: background var(--ease), transform var(--ease), border-color var(--ease);
}

.tool-card:hover {
  border-color: rgba(232, 211, 174, 0.38);
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-4px);
}

.tool-index {
  color: var(--yellow-soft);
  font-family: "Noto Serif TC", "Source Han Serif TC", serif;
  font-size: 14px;
}

.tool-card h3 {
  margin: 70px 0 12px;
  font-size: 28px;
}

.tool-card p {
  margin: 0;
  color: rgba(255, 253, 250, 0.64);
  font-size: 15px;
}

.tool-card-cta {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  margin-top: 22px;
  padding: 8px 14px;
  border-radius: 10px;
  color: var(--green-950);
  background: var(--yellow);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  transition: background var(--ease), transform var(--ease);
}

.tool-card-cta:hover {
  background: var(--yellow-soft);
  transform: translateY(-2px);
}

.knowledge-band {
  background: linear-gradient(180deg, var(--cream-100), rgba(255, 240, 168, 0.58));
}

.knowledge-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 8vw, 100px);
  align-items: start;
}

.knowledge-list {
  border-top: 1px solid var(--line);
}

.knowledge-row {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.knowledge-row strong {
  color: var(--green-800);
  font-size: 14px;
}

.knowledge-row span {
  font-weight: 700;
}

.coming-soon {
  padding: 88px 0;
  text-align: center;
}

.coming-soon-box {
  padding: 48px 24px;
  border: 1px dashed rgba(23, 61, 53, 0.3);
  border-radius: var(--radius-lg);
}

.coming-soon h2 {
  margin: 0;
  color: var(--green-950);
  font-size: clamp(30px, 4vw, 46px);
}

.coming-soon p {
  margin: 14px 0 0;
  color: var(--muted);
}

.site-footer {
  padding: 70px 0 32px;
  color: rgba(255, 253, 250, 0.74);
  background: #0b2721;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 70px;
}

.footer-brand {
  margin: 0;
  color: var(--white);
  font-family: "Noto Serif TC", "Source Han Serif TC", serif;
  font-size: clamp(30px, 4vw, 46px);
}

.footer-brand-row {
  display: flex;
  align-items: center;
  gap: clamp(22px, 4vw, 42px);
}

.footer-brand-row .footer-brand {
  flex: 1 1 auto;
}

.footer-brand-row .line-qr-card {
  flex: 0 0 148px;
}

.footer-copy {
  max-width: 500px;
  margin: 18px 0 0;
}

.contact-list {
  display: grid;
  gap: 13px;
  margin: 0;
}

.contact-row {
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 14px;
  padding-bottom: 13px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-row dt {
  color: var(--yellow-soft);
  font-weight: 750;
}

.contact-row dd {
  margin: 0;
}

.contact-row a {
  color: var(--white);
  font-weight: 750;
  text-decoration-color: rgba(251, 192, 0, 0.48);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  overflow-wrap: anywhere;
}

.contact-row a:hover {
  color: var(--yellow);
}

.line-qr-card {
  display: grid;
  gap: 11px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.07);
  text-align: center;
  text-decoration: none;
  transition: border-color var(--ease), background var(--ease), transform var(--ease);
}

.line-qr-card:hover {
  border-color: var(--yellow);
  background: rgba(255, 255, 255, 0.11);
  transform: translateY(-3px);
}

.line-qr-card img {
  display: block;
  width: 100%;
  height: auto;
  border: 7px solid var(--white);
  border-radius: 9px;
  background: var(--white);
}

.line-qr-card strong,
.line-qr-card small {
  display: block;
}

.line-qr-card strong {
  color: var(--yellow);
  font-size: 13px;
}

.line-qr-card small {
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 11px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 13px;
}

/* 青安 3.0 試算工具 */
.calculator-page {
  background: #f8f5eb;
}

.calculator-page h1 {
  max-width: 820px;
  font-size: clamp(44px, 6vw, 78px);
}

.calculator-header .header-inner {
  min-height: 76px;
}

.calculator-back {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--green-950);
  background: var(--white);
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
}

.calculator-hero {
  padding: clamp(62px, 8vw, 108px) 0 70px;
  color: var(--white);
  background: var(--green-950);
}

.calculator-hero h1 {
  color: var(--white);
}

.calculator-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  align-items: end;
  gap: clamp(36px, 7vw, 90px);
}

.calculator-kicker {
  margin: 0 0 18px;
  color: var(--yellow-soft);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.11em;
}

/* 淺色頁首的小標題使用深綠字與淡黃底，避免黃色文字融入背景。 */
.process-intro .calculator-kicker,
.bank-comparison-hero .calculator-kicker,
.first-buyer-hero .calculator-kicker {
  display: inline-flex;
  padding: 7px 11px;
  border: 1px solid var(--cream-200);
  border-radius: 999px;
  color: var(--green-950);
  background: var(--yellow-soft);
  font-size: 14px;
  letter-spacing: 0.08em;
}

.calculator-lead {
  max-width: 680px;
  margin: 28px 0 0;
  color: rgba(255, 253, 250, 0.72);
  font-size: 19px;
}

.policy-snapshot {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.06);
}

.policy-snapshot > span {
  color: var(--yellow-soft);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.11em;
}

.policy-snapshot dl {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
}

.policy-snapshot dl div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.policy-snapshot dt {
  color: rgba(255, 253, 250, 0.62);
  font-size: 13px;
}

.policy-snapshot dd {
  margin: 0;
  color: var(--white);
  font-weight: 800;
}

.calculator-section {
  padding: 82px 0 108px;
}

.calculator-page main > .calculator-section:first-child {
  padding-top: clamp(36px, 6vw, 72px);
}

.calculator-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  align-items: start;
  gap: 24px;
}

.loan-form,
.loan-results {
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-1);
}

.loan-results {
  position: sticky;
  top: 100px;
}

.form-heading,
.result-heading {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 34px;
}

.form-heading > span,
.result-heading > span {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  color: var(--green-950);
  background: var(--yellow);
  font-size: 12px;
  font-weight: 900;
}

.form-heading h2,
.result-heading h2 {
  margin: 0;
  color: var(--green-950);
  font-size: 30px;
  line-height: 1.25;
}

.form-heading p,
.result-heading p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.field {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 750;
}

.field-wide {
  grid-column: 1 / -1;
}

.field input,
.field select {
  width: 100%;
  min-height: 52px;
  border: 1px solid rgba(23, 61, 53, 0.2);
  border-radius: var(--radius-sm);
  color: var(--ink);
  background: #fffefb;
  font: inherit;
  font-size: 16px;
  font-weight: 650;
}

.field input {
  padding: 10px 66px 10px 14px;
}

.field select {
  padding: 10px 14px;
}

.field input:focus,
.field select:focus {
  border-color: var(--green-800);
  outline: 3px solid rgba(0, 168, 90, 0.12);
}

.input-with-unit {
  position: relative;
  display: block;
}

.input-with-unit > small {
  position: absolute;
  top: 50%;
  right: 14px;
  color: var(--muted);
  font-size: 13px;
  transform: translateY(-50%);
  pointer-events: none;
}

.field-note {
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.55;
}

.purchase-type-field {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.purchase-type-field legend {
  margin-bottom: 10px;
  color: var(--ink);
  font-weight: 750;
}

.purchase-type-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.purchase-type-option {
  position: relative;
  display: block;
  cursor: pointer;
}

.purchase-type-option input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.purchase-type-option > span {
  display: grid;
  gap: 3px;
  min-height: 82px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fffefb;
  transition: border-color var(--ease), background var(--ease), box-shadow var(--ease), transform var(--ease);
}

.purchase-type-option strong {
  color: var(--green-950);
}

.purchase-type-option small {
  color: var(--muted);
  font-size: 12px;
}

.purchase-type-option:hover > span {
  border-color: rgba(0, 168, 90, 0.42);
  transform: translateY(-1px);
}

.purchase-type-option input:checked + span {
  border-color: var(--green-800);
  background: rgba(0, 168, 90, 0.08);
  box-shadow: 0 0 0 3px rgba(0, 168, 90, 0.1);
}

.purchase-type-option input:focus-visible + span {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
}

.rate-preview {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 18px;
  margin-top: 26px;
  padding: 16px 18px;
  border: 1px solid rgba(0, 168, 90, 0.18);
  border-radius: var(--radius-sm);
  color: var(--green-950);
  background: rgba(0, 168, 90, 0.07);
  font-size: 13px;
}

.rate-preview strong {
  font-size: 14px;
}

.eligibility-checks {
  display: grid;
  gap: 12px;
  margin: 30px 0 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--cream-100);
}

.eligibility-checks legend {
  padding: 0 8px;
  color: var(--green-950);
  font-weight: 850;
}

.eligibility-checks label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  font-weight: 650;
}

.eligibility-checks input {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
  margin-top: 4px;
  accent-color: var(--green-800);
}

.eligibility-status {
  display: grid;
  gap: 3px;
  padding: 16px 18px;
  border-radius: var(--radius-sm);
}

.eligibility-status.is-pass {
  color: var(--green-950);
  background: rgba(0, 168, 90, 0.1);
}

.eligibility-status.is-review {
  color: #7e2619;
  background: rgba(223, 36, 67, 0.1);
}

.eligibility-status strong {
  font-size: 16px;
}

.eligibility-status span {
  font-size: 13px;
}

.result-primary {
  display: grid;
  gap: 6px;
  margin-top: 22px;
  padding: 26px;
  border-radius: var(--radius-md);
  color: var(--white);
  background: var(--green-950);
}

.result-primary > span,
.result-primary > small {
  color: rgba(255, 253, 250, 0.66);
  font-size: 13px;
}

.result-primary strong {
  color: var(--yellow-soft);
  font-family: "Noto Serif TC", "Source Han Serif TC", serif;
  font-size: clamp(34px, 5vw, 48px);
  line-height: 1.2;
}

.result-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.result-card {
  display: grid;
  align-content: start;
  gap: 6px;
  min-height: 150px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fffefb;
}

.result-card-yellow {
  background: var(--cream-100);
}

.result-card-green {
  background: rgba(0, 168, 90, 0.08);
}

.result-card-red {
  background: rgba(223, 36, 67, 0.07);
}

.result-card-wide {
  grid-column: 1 / -1;
}

.result-card > span,
.result-card > small {
  color: var(--muted);
  font-size: 12px;
}

.result-card strong {
  color: var(--green-950);
  font-size: clamp(20px, 2.4vw, 27px);
  line-height: 1.3;
}

.result-warnings {
  margin-top: 18px;
  padding: 20px;
  border: 1px solid rgba(223, 36, 67, 0.2);
  border-radius: var(--radius-md);
  background: rgba(223, 36, 67, 0.06);
}

.result-warnings[hidden] {
  display: none;
}

.result-warnings h3 {
  margin: 0;
  color: var(--red-dark);
  font-size: 18px;
}

.result-warnings ul {
  margin: 10px 0 0;
  padding-left: 20px;
  color: #6c3a31;
  font-size: 13px;
}

.rate-breakdown-section {
  padding: 96px 0 110px;
  background: var(--cream-100);
}

.rate-breakdown-heading {
  display: grid;
  grid-template-columns: 1fr 0.72fr;
  align-items: end;
  gap: clamp(32px, 8vw, 100px);
}

.rate-breakdown-heading .calculator-kicker {
  color: var(--red-dark);
}

.rate-breakdown-heading h2 {
  max-width: 780px;
  margin: 0;
  color: var(--green-950);
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.15;
}

.rate-breakdown-heading > p {
  margin: 0;
  color: var(--muted);
}

.rate-table-wrap {
  margin-top: 48px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-1);
}

.rate-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}

.rate-table th,
.rate-table td {
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  text-align: right;
  white-space: nowrap;
}

.rate-table th:first-child,
.rate-table td:first-child {
  text-align: left;
}

.rate-table thead th {
  color: rgba(255, 253, 250, 0.7);
  background: var(--green-950);
  font-size: 12px;
  letter-spacing: 0.04em;
}

.rate-table tbody th {
  color: var(--green-950);
  font-size: 14px;
}

.rate-table tbody td {
  color: var(--ink);
  font-size: 14px;
}

.rate-table tbody tr:nth-child(even) {
  background: rgba(255, 240, 168, 0.18);
}


.calculator-notes {
  padding: 92px 0;
  color: var(--white);
  background: #0b2721;
}

.notes-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(40px, 8vw, 110px);
}

.calculator-notes h2 {
  margin: 0;
  color: var(--white);
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.2;
}

.note-list {
  display: grid;
  gap: 0;
}

.note-list p {
  margin: 0;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 253, 250, 0.7);
}

.source-links a,
.calculator-footer a {
  color: var(--yellow-soft);
}

.calculator-footer {
  padding-top: 24px;
}

.calculator-footer .footer-bottom {
  margin-top: 0;
}

.tax-hero {
  background:
    radial-gradient(circle at 78% 22%, rgba(251, 192, 0, 0.18), transparent 24%),
    linear-gradient(155deg, var(--green-950), var(--green-800));
}

.tax-calculator-layout {
  align-items: start;
}

.tax-form {
  display: grid;
  gap: 28px;
}

.transaction-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.transaction-panel {
  display: grid;
  align-content: start;
  gap: 18px;
  min-width: 0;
  margin: 0;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 253, 250, 0.72);
}

.transaction-panel legend {
  padding: 5px 12px;
  border-radius: 999px;
  color: var(--white);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.transaction-panel-acquisition legend {
  background: var(--green-800);
}

.transaction-panel-sale legend {
  background: var(--red);
}

.tax-option-field {
  margin-top: 0;
}

.tax-option-field .purchase-type-options {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.eligibility-check {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 14px;
  padding: 20px;
  border: 1px solid rgba(0, 143, 76, 0.24);
  border-radius: var(--radius-md);
  background: rgba(0, 143, 76, 0.06);
  cursor: pointer;
}

.eligibility-check input {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: var(--green-800);
}

.eligibility-check span {
  display: grid;
  gap: 6px;
}

.eligibility-check strong {
  color: var(--green-950);
  font-size: 16px;
}

.eligibility-check small {
  color: var(--muted);
  line-height: 1.65;
}

.tax-result-primary {
  background: var(--green-950);
}

.tax-equation {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 18px 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.tax-equation b {
  color: var(--red);
}

.tax-result-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tax-results .result-card strong {
  font-size: clamp(22px, 2.5vw, 30px);
}

.field.is-muted {
  opacity: 0.5;
}

.field input[readonly] {
  color: var(--green-900);
  font-weight: 800;
  background: rgba(0, 143, 76, 0.08);
  cursor: default;
}

.tax-notes {
  background: #f5f0e7;
}

.rental-form {
  display: grid;
  gap: 28px;
}

.rental-result-primary {
  background: var(--green-950);
}

.rental-result-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.rental-results .result-card strong {
  font-size: clamp(22px, 2.5vw, 30px);
}

.rental-hero {
  background:
    radial-gradient(circle at 76% 18%, rgba(251, 192, 0, 0.18), transparent 25%),
    linear-gradient(155deg, var(--green-950), var(--green-800));
}

.rental-notes {
  background: #f5f0e7;
}

@media (max-width: 620px) {
  .transaction-columns,
  .tax-option-field .purchase-type-options,
  .tax-result-grid,
  .rental-result-grid {
    grid-template-columns: 1fr;
  }
}

/* Selling service: process and suggested-price calculator */
.selling-process-page, .selling-price-page { color: var(--ink); background: var(--cream-50); }
.selling-process-hero { padding: 88px 0 82px; color: var(--white); background: var(--green-950); }
.selling-process-hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(330px, 0.72fr); align-items: center; gap: clamp(48px, 8vw, 112px); }
.selling-eyebrow, .selling-price-intro p { margin: 0 0 18px; color: var(--yellow); font-size: 14px; font-weight: 900; letter-spacing: 0.12em; }
.selling-process-hero h1, .selling-price-intro h1 { margin: 0; font-family: "Noto Serif TC", "Source Han Serif TC", "PMingLiU", serif; font-size: clamp(43px, 5.4vw, 72px); line-height: 1.22; letter-spacing: -0.03em; text-wrap: pretty; }
.selling-process-hero h1 em, .selling-price-intro h1 em { color: var(--yellow); font-style: normal; }
.selling-hero-lead { max-width: 690px; margin: 28px 0 0; color: rgba(255, 255, 255, 0.76); font-size: clamp(17px, 1.7vw, 21px); line-height: 1.9; }
.selling-start-card { padding: 30px; border-radius: var(--radius-lg); color: var(--ink); background: var(--white); box-shadow: 15px 15px 0 var(--yellow); }
.selling-start-card > span { color: var(--red-dark); font-size: 13px; font-weight: 900; letter-spacing: 0.08em; }
.selling-start-card ol { margin: 20px 0 24px; padding: 0; border-top: 1px solid var(--line); list-style: none; }
.selling-start-card li { display: grid; gap: 3px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.selling-start-card strong { font-size: 17px; }
.selling-start-card small { color: var(--muted); }
.selling-start-card a, .selling-price-source-link { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 17px; border-radius: 12px; color: var(--white); background: var(--red); font-weight: 900; text-decoration: none; transition: background var(--ease), transform var(--ease); }
.selling-start-card a:hover, .selling-price-source-link:hover { background: var(--red-dark); transform: translateY(-2px); }
.selling-quick-nav { border-bottom: 1px solid var(--line); background: var(--white); }
.selling-quick-nav .section-inner { display: grid; grid-template-columns: repeat(3, 1fr); }
.selling-quick-nav a { padding: 19px; border-right: 1px solid var(--line); color: var(--green-950); font-size: 14px; font-weight: 900; text-align: center; text-decoration: none; }
.selling-quick-nav a:first-child { border-left: 1px solid var(--line); }
.selling-quick-nav a:hover { color: var(--red-dark); background: var(--cream-100); }
.selling-process-section { padding: 96px 0 110px; }
.selling-section-heading { display: flex; align-items: flex-start; gap: 20px; margin-bottom: 40px; }
.selling-section-heading > span { display: grid; width: 48px; height: 48px; flex: 0 0 auto; place-items: center; border-radius: 50%; color: var(--white); background: var(--red); font-weight: 900; }
.selling-section-heading p { margin: 0 0 5px; color: var(--green-900); font-size: 12px; font-weight: 900; letter-spacing: 0.13em; }
.selling-section-heading h2 { margin: 0; font-family: "Noto Serif TC", "Source Han Serif TC", "PMingLiU", serif; font-size: clamp(30px, 4vw, 48px); line-height: 1.25; }
.selling-timeline { margin: 0; padding: 0; border-top: 1px solid var(--line); list-style: none; }
.selling-timeline li { display: grid; grid-template-columns: 68px minmax(0, 1fr) auto; align-items: center; gap: 26px; min-height: 150px; padding: 25px 22px; border-bottom: 1px solid var(--line); transition: background var(--ease), transform var(--ease); }
.selling-timeline li:hover { background: var(--white); transform: translateX(5px); }
.selling-timeline li > span { color: var(--red); font-family: Georgia, serif; font-size: 32px; font-weight: 700; }
.selling-timeline small { color: var(--green-900); font-size: 12px; font-weight: 900; letter-spacing: 0.08em; }
.selling-timeline h3 { margin: 4px 0 7px; font-family: "Noto Serif TC", "Source Han Serif TC", "PMingLiU", serif; font-size: clamp(22px, 2.4vw, 30px); }
.selling-timeline p { max-width: 720px; margin: 0; color: var(--muted); }
.selling-timeline li > strong { padding: 8px 12px; border-radius: 999px; color: var(--green-950); background: rgba(251, 192, 0, 0.25); font-size: 13px; white-space: nowrap; }
.selling-checklist-section { padding: 100px 0; background: #ecebe3; }
.selling-checklist-layout { display: grid; grid-template-columns: minmax(260px, 0.65fr) minmax(0, 1.35fr); gap: clamp(45px, 8vw, 110px); align-items: start; }
.selling-checklist-intro { position: sticky; top: 100px; }
.selling-checklist-intro > p:first-child { margin: 0 0 8px; color: var(--red-dark); font-size: 13px; font-weight: 900; letter-spacing: 0.1em; }
.selling-checklist-intro h2 { margin: 0 0 14px; font-family: "Noto Serif TC", "Source Han Serif TC", "PMingLiU", serif; font-size: clamp(34px, 4.5vw, 54px); }
.selling-checklist-intro > p { color: var(--muted); }
.selling-progress { margin-top: 34px; padding: 22px; border-radius: var(--radius-md); color: var(--white); background: var(--green-950); }
.selling-progress > div { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 13px; }
.selling-progress strong { color: var(--yellow); font-size: 25px; }
.selling-progress progress { width: 100%; height: 10px; overflow: hidden; border: 0; border-radius: 99px; background: rgba(255, 255, 255, 0.2); }
.selling-progress progress::-webkit-progress-bar { background: rgba(255, 255, 255, 0.2); }
.selling-progress progress::-webkit-progress-value, .selling-progress progress::-moz-progress-bar { background: var(--yellow); }
.selling-checklist { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); box-shadow: var(--shadow-1); }
.selling-checklist label { display: flex; min-height: 104px; align-items: flex-start; gap: 17px; padding: 23px 25px; border-bottom: 1px solid var(--line); cursor: pointer; transition: background var(--ease); }
.selling-checklist label:last-child { border-bottom: 0; }
.selling-checklist label:hover { background: var(--cream-100); }
.selling-checklist input { width: 24px; height: 24px; flex: 0 0 auto; margin-top: 2px; accent-color: var(--green-900); }
.selling-checklist span, .selling-checklist strong, .selling-checklist small { display: block; }
.selling-checklist strong { font-size: 18px; }
.selling-checklist small { margin-top: 4px; color: var(--muted); }
.selling-checklist input:checked + span strong { color: var(--green-900); text-decoration: line-through; text-decoration-thickness: 1px; }
.selling-reminders { padding: 100px 0; color: var(--white); background: #19241f; }
.selling-section-heading-light p { color: var(--yellow); }
.selling-reminder-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.selling-reminder-grid article { min-height: 250px; padding: clamp(28px, 4vw, 46px); border: 1px solid rgba(255, 255, 255, 0.18); border-radius: var(--radius-lg); }
.selling-reminder-grid article > span { display: inline-block; padding: 6px 11px; border-radius: 999px; color: var(--ink); background: var(--yellow); font-size: 13px; font-weight: 900; }
.selling-reminder-grid h3 { margin: 20px 0 12px; font-family: "Noto Serif TC", "Source Han Serif TC", "PMingLiU", serif; font-size: clamp(25px, 3vw, 36px); }
.selling-reminder-grid p { margin: 0; color: rgba(255, 255, 255, 0.68); line-height: 1.8; }
.selling-sources { padding: 42px 0; color: var(--white); background: var(--green-950); }
.selling-sources .section-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.selling-sources p { max-width: 740px; margin: 5px 0 0; color: rgba(255, 255, 255, 0.68); font-size: 14px; }
.selling-sources nav { display: flex; flex: 0 0 auto; gap: 9px; }
.selling-sources a { padding: 10px 13px; border: 1px solid rgba(255, 255, 255, 0.34); border-radius: 999px; font-size: 13px; font-weight: 900; text-decoration: none; }
.selling-sources a:hover { color: var(--green-950); background: var(--white); }
.selling-price-intro { padding: 68px 0 72px; color: var(--white); background: var(--green-950); }
.selling-price-intro h1 { max-width: 980px; font-size: clamp(38px, 5vw, 65px); }
.selling-price-intro .section-inner > span { display: inline-block; margin-top: 26px; padding: 9px 14px; border-radius: 999px; color: var(--ink); background: var(--yellow); font-size: 14px; font-weight: 900; }
.selling-price-calculator { padding-top: 72px; }
.selling-price-layout { align-items: start; }
.selling-price-form, .selling-price-results { min-width: 0; }
.selling-comps { display: grid; gap: 13px; }
.selling-price-source-link { margin: 18px 0 28px; background: var(--green-950); }
.selling-price-fields { margin-top: 0; }
.selling-floor-heading { margin-top: 38px; padding-top: 30px; border-top: 1px solid var(--line); }
.selling-price-result-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 14px; }
.selling-price-result-grid .result-card { min-width: 0; }
.selling-price-result-grid .result-card strong { overflow-wrap: anywhere; }
.selling-price-status { margin-top: 18px; padding: 22px; border-radius: var(--radius-md); }
.selling-price-status strong { display: block; font-size: 19px; }
.selling-price-status p { margin: 6px 0 0; }
.selling-price-status.is-warning { border: 1px solid rgba(223, 36, 67, 0.28); color: #6f2632; background: #fff0f2; }
.selling-price-status.is-ready { border: 1px solid rgba(0, 143, 76, 0.28); color: var(--green-950); background: #e9f6ed; }
.selling-price-breakdown { margin-top: 20px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--cream-100); }
.selling-price-breakdown h3 { margin: 0 0 12px; font-size: 16px; }
.selling-price-breakdown dl { margin: 0; }
.selling-price-breakdown dl > div { display: flex; justify-content: space-between; gap: 18px; padding: 9px 0; border-top: 1px solid var(--line); }
.selling-price-breakdown dt { color: var(--muted); }
.selling-price-breakdown dd { margin: 0; font-weight: 900; white-space: nowrap; }
.selling-price-guide { padding: 92px 0 105px; background: var(--white); }
.selling-price-guide-grid { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.selling-price-guide-grid article { min-height: 210px; padding: 27px 22px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.selling-price-guide-grid span { color: var(--red); font-weight: 900; }
.selling-price-guide-grid strong { display: block; margin: 28px 0 9px; font-family: "Noto Serif TC", "Source Han Serif TC", "PMingLiU", serif; font-size: 25px; }
.selling-price-guide-grid p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
@media (max-width: 980px) {
  .selling-process-hero-grid, .selling-checklist-layout { grid-template-columns: 1fr; }
  .selling-start-card { max-width: 620px; }
  .selling-checklist-intro { position: static; }
  .selling-price-guide-grid { grid-template-columns: repeat(2, 1fr); }
  .selling-price-guide-grid article:last-child { grid-column: 1 / -1; min-height: 160px; }
}
@media (max-width: 680px) {
  .selling-process-hero { padding: 54px 0 62px; }
  .selling-process-hero h1, .selling-price-intro h1 { font-size: clamp(38px, 11vw, 53px); }
  .selling-start-card { padding: 24px 21px; box-shadow: 10px 10px 0 var(--yellow); }
  .selling-quick-nav .section-inner { display: flex; padding: 0; overflow-x: auto; }
  .selling-quick-nav a { min-width: 145px; flex: 1 0 auto; }
  .selling-process-section, .selling-checklist-section, .selling-reminders, .selling-price-guide { padding: 66px 0 74px; }
  .selling-section-heading { gap: 13px; margin-bottom: 28px; }
  .selling-section-heading > span { width: 42px; height: 42px; }
  .selling-timeline li { grid-template-columns: 48px minmax(0, 1fr); gap: 10px; min-height: 0; padding: 23px 5px; }
  .selling-timeline li > span { font-size: 25px; }
  .selling-timeline li > strong { grid-column: 2; justify-self: start; }
  .selling-checklist label { min-height: 0; padding: 21px 18px; }
  .selling-reminder-grid, .selling-price-result-grid, .selling-price-guide-grid { grid-template-columns: 1fr; }
  .selling-reminder-grid article { min-height: 0; }
  .selling-sources .section-inner { align-items: flex-start; flex-direction: column; }
  .selling-sources nav, .selling-sources a { width: 100%; }
  .selling-sources nav { flex-direction: column; }
  .selling-sources a { text-align: center; }
  .selling-price-intro { padding: 48px 0 55px; }
  .selling-price-calculator { padding-top: 40px; }
  .selling-price-guide-grid article, .selling-price-guide-grid article:last-child { grid-column: auto; min-height: 0; }
  .selling-price-breakdown dl > div { align-items: flex-start; flex-direction: column; gap: 2px; }
}

/* 重購退稅試算與注意事項 */
.repurchase-intro, .repurchase-guide-hero { padding: 76px 0; color: var(--white); background: var(--green-950); }
.repurchase-intro-grid, .repurchase-guide-hero-grid { display: grid; grid-template-columns: 1.25fr .75fr; align-items: end; gap: clamp(45px, 8vw, 105px); }
.repurchase-intro h1, .repurchase-guide-hero h1 { margin: 18px 0 24px; font-family: "Noto Serif TC", "Source Han Serif TC", "PMingLiU", serif; font-size: clamp(48px, 6vw, 80px); line-height: 1.1; letter-spacing: -.04em; text-wrap: pretty; }
.repurchase-intro p, .repurchase-guide-hero p { max-width: 720px; margin-bottom: 0; color: rgba(255,255,255,.72); font-size: 19px; }
.repurchase-intro aside, .repurchase-guide-hero aside { display: grid; gap: 12px; padding: 28px; border-radius: var(--radius-lg); color: var(--ink); background: var(--yellow); box-shadow: 14px 14px 0 rgba(0,0,0,.14); }
.repurchase-intro aside span { padding: 10px 0; border-top: 1px solid rgba(27,36,33,.2); }
.repurchase-intro aside a { color: var(--red-dark); font-weight: 900; text-underline-offset: 4px; }
.repurchase-tool { padding: 80px 0 110px; }
.repurchase-tax-tabs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 24px; }
.repurchase-tax-tabs button { display: grid; grid-template-columns: 44px 1fr; gap: 4px 14px; min-height: 116px; align-items: center; padding: 22px 24px; border: 2px solid var(--line); border-radius: var(--radius-lg); color: var(--ink); background: var(--white); text-align: left; cursor: pointer; transition: border-color var(--ease), transform var(--ease), box-shadow var(--ease); }
.repurchase-tax-tabs button:hover { border-color: var(--green-900); transform: translateY(-2px); }
.repurchase-tax-tabs button[aria-selected="true"] { border-color: var(--green-950); box-shadow: 8px 8px 0 var(--yellow); }
.repurchase-tax-tabs button > span { grid-row: 1 / span 2; color: var(--red); font-weight: 900; }
.repurchase-tax-tabs strong, .repurchase-tax-tabs small { display: block; }
.repurchase-tax-tabs strong { font-size: 20px; }
.repurchase-tax-tabs small { color: var(--muted); }
.repurchase-panel[hidden] { display: none; }
.repurchase-layout { align-items: start; }
.repurchase-form { position: static; }
.repurchase-eligibility { display: grid; gap: 10px; margin-top: 24px; }
.repurchase-eligibility label { display: flex; align-items: flex-start; gap: 12px; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--cream-50); cursor: pointer; }
.repurchase-eligibility input { width: 20px; height: 20px; flex: 0 0 auto; margin-top: 3px; accent-color: var(--green-900); }
.repurchase-form-note { margin: 20px 0 0; padding: 14px; border-radius: var(--radius-sm); color: #695323; background: var(--cream-100); font-size: 14px; }
.repurchase-equation { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 22px 0; padding: 16px; border-radius: var(--radius-sm); background: var(--cream-100); font-size: 13px; }
.repurchase-equation strong { color: var(--red-dark); }
.repurchase-disclaimer { padding: 42px 0; color: var(--white); background: #18241f; }
.repurchase-disclaimer .section-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.repurchase-disclaimer p { max-width: 700px; margin: 4px 0 0; color: rgba(255,255,255,.65); font-size: 14px; }
.repurchase-disclaimer nav { display: flex; gap: 9px; }
.repurchase-disclaimer a { padding: 9px 13px; border: 1px solid rgba(255,255,255,.3); border-radius: 99px; font-size: 13px; font-weight: 800; text-decoration: none; }
.repurchase-disclaimer a:hover { color: var(--green-950); background: var(--white); }

.repurchase-guide-page { background: #fbfaf4; }
.repurchase-guide-hero aside > span { color: var(--red-dark); font-size: 13px; font-weight: 900; letter-spacing: .1em; }
.repurchase-guide-hero aside > strong { font-family: "Noto Serif TC", "Source Han Serif TC", "PMingLiU", serif; font-size: 24px; line-height: 1.55; }
.repurchase-two-tax, .repurchase-timeline, .repurchase-conditions, .repurchase-docs { padding: 96px 0; }
.repurchase-guide-heading { margin-bottom: 38px; }
.repurchase-guide-heading p { margin: 0 0 8px; color: var(--red); font-size: 13px; font-weight: 900; letter-spacing: .12em; }
.repurchase-guide-heading h2 { max-width: 800px; margin: 0; font-family: "Noto Serif TC", "Source Han Serif TC", "PMingLiU", serif; font-size: clamp(34px, 4.5vw, 54px); line-height: 1.25; text-wrap: pretty; }
.repurchase-tax-compare { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.repurchase-tax-compare article { overflow: hidden; padding: 34px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); box-shadow: var(--shadow-1); }
.repurchase-tax-compare article > span { display: inline-block; padding: 5px 10px; border-radius: 99px; color: var(--white); background: var(--green-950); font-size: 12px; font-weight: 900; }
.repurchase-tax-compare article:nth-child(2) > span { background: var(--red); }
.repurchase-tax-compare h3 { margin: 24px 0; font-family: "Noto Serif TC", "Source Han Serif TC", "PMingLiU", serif; font-size: 30px; }
.repurchase-tax-compare dl { margin: 0; }
.repurchase-tax-compare dl div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); }
.repurchase-tax-compare dt { color: var(--muted); }
.repurchase-tax-compare dd { margin: 0; font-weight: 800; }
.repurchase-timeline { background: var(--cream-100); }
.repurchase-timeline-track { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.repurchase-timeline-track article { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 15px; padding: 30px; border-radius: var(--radius-lg); background: var(--white); }
.repurchase-timeline-track article > span { grid-column: 1 / -1; color: var(--green-900); font-size: 13px; font-weight: 900; }
.repurchase-timeline-track i { width: 36px; height: 2px; background: var(--red); }
.repurchase-timeline-track small { grid-column: 1 / -1; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); }
.repurchase-date-warning { margin: 18px 0 0; padding: 16px 20px; border-radius: var(--radius-sm); color: #67331f; background: #ffe5dc; }
.repurchase-condition-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.repurchase-condition-grid article { min-height: 230px; padding: 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--white); }
.repurchase-condition-grid article > span { color: var(--red); font-weight: 900; }
.repurchase-condition-grid h3 { margin: 28px 0 8px; font-size: 21px; }
.repurchase-condition-grid p { margin: 0; color: var(--muted); font-size: 15px; }
.repurchase-five-year { padding: 86px 0; color: var(--white); background: var(--green-950); }
.repurchase-five-year-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(45px, 9vw, 120px); }
.repurchase-five-year-grid > div span { color: var(--yellow); font-size: 13px; font-weight: 900; letter-spacing: .12em; }
.repurchase-five-year-grid > div strong { display: block; margin: 12px 0 18px; font-family: "Noto Serif TC", "Source Han Serif TC", "PMingLiU", serif; font-size: clamp(36px, 5vw, 60px); line-height: 1.2; }
.repurchase-five-year-grid > div p { color: rgba(255,255,255,.7); }
.repurchase-five-year ul { margin: 0; padding: 0; border-top: 1px solid rgba(255,255,255,.2); list-style: none; }
.repurchase-five-year li { padding: 18px 5px; border-bottom: 1px solid rgba(255,255,255,.2); }
.repurchase-doc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.repurchase-doc-grid > div { display: grid; gap: 8px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--white); }
.repurchase-doc-grid strong { margin-bottom: 8px; color: var(--green-950); font-size: 19px; }
.repurchase-doc-grid span { padding-top: 8px; border-top: 1px solid var(--line); color: var(--muted); }
.repurchase-tool-link { display: inline-flex; margin-top: 28px; padding: 13px 20px; border-radius: 99px; color: var(--white); background: var(--red); font-weight: 900; text-decoration: none; }

@media (max-width: 880px) {
  .repurchase-intro-grid, .repurchase-guide-hero-grid, .repurchase-five-year-grid { grid-template-columns: 1fr; }
  .repurchase-condition-grid { grid-template-columns: repeat(2, 1fr); }
  .repurchase-disclaimer .section-inner { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 620px) {
  .repurchase-intro, .repurchase-guide-hero { padding: 52px 0 58px; }
  .repurchase-intro h1, .repurchase-guide-hero h1 { font-size: clamp(40px, 12vw, 57px); }
  .repurchase-tax-tabs, .repurchase-tax-compare, .repurchase-timeline-track, .repurchase-condition-grid, .repurchase-doc-grid { grid-template-columns: 1fr; }
  .repurchase-tax-tabs button { min-height: 105px; padding: 18px; }
  .repurchase-tool, .repurchase-two-tax, .repurchase-timeline, .repurchase-conditions, .repurchase-docs { padding: 68px 0; }
  .repurchase-timeline-track article { grid-template-columns: 1fr; }
  .repurchase-timeline-track i { width: 2px; height: 26px; }
  .repurchase-disclaimer nav, .repurchase-disclaimer a { width: 100%; }
  .repurchase-disclaimer nav { flex-direction: column; }
  .repurchase-disclaimer a { text-align: center; }
}

.earnest-guide-page {
  background: var(--cream-50);
}

.earnest-hero {
  padding: 82px 0 68px;
}

.earnest-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(310px, 0.55fr);
  align-items: end;
  gap: clamp(42px, 7vw, 96px);
}

.earnest-hero .calculator-kicker {
  display: inline-flex;
  padding: 7px 11px;
  border: 1px solid var(--cream-200);
  border-radius: 999px;
  color: var(--green-950);
  background: var(--yellow-soft);
  font-size: 14px;
  letter-spacing: 0.08em;
}

.earnest-guide-page h1 {
  max-width: 850px;
  margin: 12px 0 22px;
  font-size: clamp(48px, 6.3vw, 82px);
  line-height: 1.12;
  letter-spacing: -0.055em;
  text-wrap: pretty;
}

.earnest-lead {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
  text-wrap: pretty;
}

.earnest-alert {
  position: relative;
  overflow: hidden;
  padding: 30px;
  border-radius: var(--radius-lg);
  color: var(--white);
  background: var(--red-dark);
  box-shadow: var(--shadow-2);
}

.earnest-alert::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 7px;
  background: var(--yellow);
  content: "";
}

.earnest-alert span,
.earnest-alert strong {
  display: block;
}

.earnest-alert span {
  color: var(--yellow-soft);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.earnest-alert strong {
  margin-top: 9px;
  font-size: 21px;
  line-height: 1.48;
}

.earnest-alert p {
  margin: 10px 0 0;
  color: rgba(255, 253, 250, 0.75);
  font-size: 14px;
}

.earnest-basics,
.earnest-compare,
.earnest-flow,
.earnest-checklist {
  padding: 86px 0;
}

.earnest-basics,
.earnest-checklist {
  background: var(--white);
}

.earnest-section-heading {
  max-width: 830px;
}

.earnest-section-heading > p,
.earnest-checklist-heading > div > p {
  margin: 0 0 7px;
  color: var(--green-950);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.earnest-section-heading h2,
.earnest-checklist-heading h2 {
  margin: 0;
  font-size: clamp(31px, 4.2vw, 52px);
  line-height: 1.22;
  letter-spacing: -0.04em;
  text-wrap: pretty;
}

.earnest-basic-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 38px;
}

.earnest-basic-grid article {
  min-height: 240px;
  padding: 27px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--cream-50);
}

.earnest-basic-grid article > span {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 50%;
  color: var(--green-950);
  background: var(--yellow);
  font-size: 11px;
  font-weight: 900;
}

.earnest-basic-grid h3 {
  margin: 31px 0 9px;
  font-size: 23px;
}

.earnest-basic-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.earnest-compare {
  background: var(--cream-50);
}

.earnest-compare-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 38px;
}

.earnest-option {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-1);
}

.earnest-option > div:first-child {
  padding: 29px 32px;
  color: var(--white);
  background: var(--green-950);
}

.earnest-option-money > div:first-child {
  background: var(--red-dark);
}

.earnest-option > div:first-child span {
  color: var(--yellow-soft);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.13em;
}

.earnest-option h3 {
  margin: 4px 0 3px;
  font-size: 32px;
}

.earnest-option > div:first-child strong {
  color: var(--yellow);
  font-size: 14px;
}

.earnest-option dl {
  margin: 0;
  padding: 10px 30px 22px;
}

.earnest-option dl > div {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 20px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}

.earnest-option dt {
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.earnest-option dd {
  margin: 0;
  font-size: 15px;
}

.earnest-flow {
  background: var(--white);
}

.earnest-flow-list {
  overflow: hidden;
  margin: 38px 0 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-1);
  list-style: none;
}

.earnest-flow-list li {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  align-items: center;
  gap: 22px;
  padding: 28px 36px;
}

.earnest-flow-list li + li {
  border-top: 1px solid var(--line);
}

.earnest-flow-list li > span {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 2px solid var(--green-950);
  border-radius: 50%;
  color: var(--green-950);
  font-size: 12px;
  font-weight: 900;
}

.earnest-flow-list h3 {
  margin: 0 0 6px;
  font-size: 21px;
}

.earnest-flow-list p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.earnest-flow-list li > strong {
  padding: 7px 12px;
  border-radius: 999px;
  color: var(--red-dark);
  background: rgba(223, 36, 67, 0.08);
  font-size: 13px;
}

.earnest-scenarios {
  padding: 86px 0;
  color: var(--white);
  background: var(--green-950);
}

.earnest-scenarios .earnest-section-heading > p {
  color: var(--yellow);
}

.earnest-scenarios-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(44px, 8vw, 105px);
}

.earnest-scenario-list article {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255, 253, 250, 0.16);
}

.earnest-scenario-list article:first-child {
  padding-top: 0;
}

.earnest-scenario-list article > span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  color: var(--green-950);
  background: var(--yellow);
  font-size: 11px;
  font-weight: 900;
}

.earnest-scenario-list h3 {
  margin: 0 0 5px;
  font-size: 19px;
}

.earnest-scenario-list p {
  margin: 0;
  color: rgba(255, 253, 250, 0.72);
  font-size: 14px;
}

.earnest-checklist-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}

.earnest-checklist-heading aside {
  width: 220px;
  flex: 0 0 auto;
}

.earnest-checklist-heading aside > span,
.earnest-checklist-heading aside > strong,
.earnest-checklist-heading aside > small {
  display: block;
}

.earnest-checklist-heading aside > span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.earnest-checklist-heading aside > strong {
  color: var(--green-950);
  font-size: 29px;
}

.earnest-checklist-heading aside > div {
  overflow: hidden;
  height: 7px;
  border-radius: 999px;
  background: var(--cream-200);
}

.earnest-checklist-heading aside i {
  display: block;
  width: 0;
  height: 100%;
  background: var(--green-800);
  transition: width var(--ease);
}

.earnest-checklist-heading aside > small {
  margin-top: 4px;
  color: var(--muted);
}

.earnest-check-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 36px;
}

.earnest-check-grid label {
  display: flex;
  min-height: 94px;
  align-items: center;
  gap: 15px;
  padding: 18px 21px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--cream-50);
  cursor: pointer;
}

.earnest-check-grid label:has(input:checked) {
  border-color: var(--green-800);
  background: rgba(0, 168, 90, 0.07);
}

.earnest-check-grid input {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  accent-color: var(--green-950);
}

.earnest-check-grid span,
.earnest-check-grid strong,
.earnest-check-grid small {
  display: block;
}

.earnest-check-grid small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 13px;
}

.earnest-sources {
  padding: 0 0 86px;
  background: var(--white);
}

.earnest-sources .section-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 27px 30px;
  border-radius: var(--radius-md);
  background: var(--cream-100);
}

.earnest-sources p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.earnest-sources nav {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  gap: 9px;
}

.earnest-sources a {
  padding: 9px 13px;
  border: 1px solid rgba(0, 99, 54, 0.22);
  border-radius: 999px;
  color: var(--green-950);
  background: var(--white);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.earnest-sources a:hover {
  border-color: var(--green-950);
}

.home-viewing-page {
  background: var(--cream-50);
}

.home-viewing-hero {
  padding: 82px 0 66px;
}

.home-viewing-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(310px, 0.55fr);
  align-items: end;
  gap: clamp(42px, 7vw, 96px);
}

.home-viewing-hero .calculator-kicker {
  display: inline-flex;
  padding: 7px 11px;
  border: 1px solid var(--cream-200);
  border-radius: 999px;
  color: var(--green-950);
  background: var(--yellow-soft);
  font-size: 14px;
  letter-spacing: 0.08em;
}

.home-viewing-page h1 {
  max-width: 850px;
  margin: 12px 0 22px;
  font-size: clamp(48px, 6.3vw, 82px);
  line-height: 1.12;
  letter-spacing: -0.055em;
  text-wrap: pretty;
}

.home-viewing-lead {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
  text-wrap: pretty;
}

.viewing-summary {
  position: relative;
  overflow: hidden;
  padding: 29px;
  border-radius: var(--radius-lg);
  color: var(--white);
  background: var(--green-950);
  box-shadow: var(--shadow-2);
}

.viewing-summary::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 7px;
  background: linear-gradient(90deg, var(--yellow) 0 34%, var(--green-800) 34% 67%, var(--red) 67%);
  content: "";
}

.viewing-summary-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
}

.viewing-summary-top span {
  font-size: 14px;
  font-weight: 800;
}

.viewing-summary-top strong {
  color: var(--yellow);
  font-size: 37px;
}

.viewing-progress-track {
  overflow: hidden;
  height: 9px;
  margin-top: 12px;
  border-radius: 999px;
  background: rgba(255, 253, 250, 0.2);
}

.viewing-progress-track span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--yellow);
  transition: width var(--ease);
}

.viewing-summary dl {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 20px 0 0;
}

.viewing-summary dl > div {
  padding: 10px;
  border-radius: 10px;
  background: rgba(255, 253, 250, 0.08);
  text-align: center;
}

.viewing-summary dt {
  color: rgba(255, 253, 250, 0.68);
  font-size: 11px;
}

.viewing-summary dd {
  margin: 2px 0 0;
  font-size: 20px;
  font-weight: 900;
}

.viewing-property-info {
  padding: 26px 0;
  border-block: 1px solid var(--line);
  background: var(--white);
}

.viewing-property-info-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.35fr) auto;
  align-items: end;
  gap: 14px;
}

.viewing-property-info label > span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.viewing-property-info input {
  width: 100%;
  min-height: 48px;
  padding: 10px 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--ink);
  background: var(--cream-50);
  font: inherit;
}

.viewing-property-info button {
  min-height: 48px;
  padding: 10px 16px;
  border: 1px solid rgba(223, 36, 67, 0.25);
  border-radius: var(--radius-sm);
  color: var(--red-dark);
  background: rgba(223, 36, 67, 0.06);
  font-weight: 800;
  cursor: pointer;
}

.viewing-property-info button:hover {
  border-color: var(--red);
}

.viewing-workspace {
  padding: 68px 0 92px;
}

.viewing-tabs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 9px;
  margin-bottom: 20px;
}

.viewing-tabs button {
  min-height: 84px;
  padding: 14px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--ink);
  background: var(--white);
  text-align: center;
  cursor: pointer;
  transition: transform var(--ease), border-color var(--ease), background var(--ease), color var(--ease);
}

.viewing-tabs button:hover {
  transform: translateY(-2px);
  border-color: var(--green-950);
}

.viewing-tabs button span,
.viewing-tabs button strong {
  display: block;
}

.viewing-tabs button span {
  color: var(--red);
  font-size: 11px;
  font-weight: 900;
}

.viewing-tabs button strong {
  margin-top: 2px;
  font-size: 16px;
}

.viewing-tabs button[aria-selected="true"] {
  border-color: var(--green-950);
  color: var(--white);
  background: var(--green-950);
  box-shadow: var(--shadow-1);
}

.viewing-tabs button[aria-selected="true"] span {
  color: var(--yellow);
}

.viewing-panel[hidden] {
  display: none;
}

.viewing-panel {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-1);
}

.viewing-panel-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  padding: 32px 38px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(135deg, var(--cream-100), var(--white));
}

.viewing-panel-heading p {
  margin: 0 0 4px;
  color: var(--green-950);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.viewing-panel-heading h2 {
  margin: 0;
  font-size: clamp(29px, 3.8vw, 45px);
  line-height: 1.2;
}

.viewing-panel-heading > span {
  color: var(--muted);
  font-size: 14px;
}

.viewing-check {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 30px;
  padding: 27px 38px;
  transition: background var(--ease);
}

.viewing-check + .viewing-check {
  border-top: 1px solid var(--line);
}

.viewing-check[data-current-state="ok"] {
  background: rgba(0, 168, 90, 0.06);
}

.viewing-check[data-current-state="review"] {
  background: rgba(251, 192, 0, 0.13);
}

.viewing-check > div:first-child {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 4px 15px;
}

.viewing-check > div:first-child > span {
  grid-row: 1 / span 2;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  color: var(--green-950);
  background: var(--yellow-soft);
  font-size: 11px;
  font-weight: 900;
}

.viewing-check h3 {
  margin: 1px 0 5px;
  font-size: 20px;
  line-height: 1.35;
}

.viewing-check p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.viewing-state-actions {
  display: flex;
  gap: 7px;
}

.viewing-state-actions button {
  min-width: 82px;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: var(--white);
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.viewing-state-actions button:hover {
  border-color: var(--green-950);
  color: var(--green-950);
}

.viewing-state-actions [data-check-state="ok"][aria-pressed="true"] {
  border-color: var(--green-950);
  color: var(--white);
  background: var(--green-950);
}

.viewing-state-actions [data-check-state="review"][aria-pressed="true"] {
  border-color: var(--yellow-text);
  color: var(--ink);
  background: var(--yellow);
}

.viewing-second-visit {
  padding: 84px 0;
  color: var(--white);
  background: var(--green-950);
}

.viewing-second-visit-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(46px, 8vw, 110px);
}

.viewing-second-visit p {
  margin: 0 0 7px;
  color: var(--yellow);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.viewing-second-visit h2 {
  margin: 0;
  font-size: clamp(32px, 4.3vw, 52px);
  line-height: 1.22;
  letter-spacing: -0.04em;
}

.viewing-second-visit ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.viewing-second-visit li {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 20px;
  padding: 19px 0;
  border-bottom: 1px solid rgba(255, 253, 250, 0.16);
}

.viewing-second-visit li:first-child {
  padding-top: 0;
}

.viewing-second-visit li strong {
  color: var(--yellow);
}

.viewing-second-visit li span {
  color: rgba(255, 253, 250, 0.75);
}

.viewing-sources {
  padding: 72px 0 86px;
  background: var(--white);
}

.viewing-sources .section-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 27px 30px;
  border-radius: var(--radius-md);
  background: var(--cream-100);
}

.viewing-sources p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.viewing-sources nav {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  gap: 9px;
}

.viewing-sources a {
  padding: 9px 13px;
  border: 1px solid rgba(0, 99, 54, 0.22);
  border-radius: 999px;
  color: var(--green-950);
  background: var(--white);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.viewing-sources a:hover {
  border-color: var(--green-950);
}

.first-buyer-page {
  background: var(--cream-50);
}

.first-buyer-hero {
  padding: 82px 0 66px;
}

.first-buyer-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.55fr);
  align-items: end;
  gap: clamp(42px, 7vw, 96px);
}

.first-buyer-page h1 {
  max-width: 820px;
  margin: 12px 0 22px;
  font-size: clamp(48px, 6.3vw, 82px);
  line-height: 1.12;
  letter-spacing: -0.055em;
  text-wrap: pretty;
}

.first-buyer-lead {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
  text-wrap: pretty;
}

.first-buyer-progress {
  position: relative;
  overflow: hidden;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--green-950);
  box-shadow: var(--shadow-2);
}

.first-buyer-progress::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 7px;
  background: linear-gradient(90deg, var(--yellow) 0 34%, var(--green-800) 34% 67%, var(--red) 67%);
  content: "";
}

.first-buyer-progress > div:first-child {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  color: var(--white);
}

.first-buyer-progress > div:first-child span {
  font-size: 15px;
  font-weight: 800;
}

.first-buyer-progress > div:first-child strong {
  color: var(--yellow);
  font-size: 38px;
}

.guide-progress-track {
  overflow: hidden;
  height: 9px;
  margin-top: 12px;
  border-radius: 999px;
  background: rgba(255, 253, 250, 0.2);
}

.guide-progress-track span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--yellow);
  transition: width var(--ease);
}

.first-buyer-progress p {
  margin: 12px 0 0;
  color: rgba(255, 253, 250, 0.75);
  font-size: 14px;
}

.first-buyer-start,
.first-buyer-path,
.first-buyer-checklist {
  padding: 86px 0;
}

.first-buyer-start {
  border-top: 1px solid var(--line);
  background: var(--white);
}

.first-buyer-section-heading {
  max-width: 760px;
}

.first-buyer-section-heading > p,
.checklist-heading p {
  margin: 0 0 7px;
  color: var(--green-950);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.first-buyer-section-heading h2,
.checklist-heading h2 {
  margin: 0;
  font-size: clamp(31px, 4.2vw, 52px);
  line-height: 1.22;
  letter-spacing: -0.04em;
  text-wrap: pretty;
}

.first-buyer-question-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 38px;
}

.first-buyer-question-grid article {
  min-height: 260px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--cream-50);
  transition: transform var(--ease), box-shadow var(--ease);
}

.first-buyer-question-grid article:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-1);
}

.first-buyer-question-grid article > span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  color: var(--green-950);
  background: var(--yellow);
  font-size: 12px;
  font-weight: 900;
}

.first-buyer-question-grid h3 {
  margin: 34px 0 10px;
  font-size: 23px;
  line-height: 1.35;
}

.first-buyer-question-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.first-buyer-tool-links {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-top: 18px;
  padding: 28px 30px;
  border-radius: var(--radius-md);
  color: var(--white);
  background: var(--green-950);
}

.first-buyer-tool-links p {
  margin: 3px 0 0;
  color: rgba(255, 253, 250, 0.7);
  font-size: 14px;
}

.first-buyer-tool-links nav {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 9px;
}

.first-buyer-tool-links a {
  padding: 9px 13px;
  border: 1px solid rgba(255, 253, 250, 0.28);
  border-radius: 999px;
  color: var(--white);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  transition: color var(--ease), border-color var(--ease), background var(--ease);
}

.first-buyer-tool-links a:hover {
  border-color: var(--yellow);
  color: var(--green-950);
  background: var(--yellow);
}

.first-buyer-path {
  background: var(--cream-50);
}

.first-buyer-phases {
  overflow: hidden;
  margin: 38px 0 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-1);
  list-style: none;
}

.first-buyer-phases > li {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr) minmax(150px, 0.25fr);
  align-items: center;
  gap: 26px;
  padding: 30px 40px;
}

.first-buyer-phases > li + li {
  border-top: 1px solid var(--line);
}

.phase-number {
  display: flex;
  align-items: center;
  gap: 11px;
}

.phase-number span {
  display: grid;
  width: 50px;
  height: 50px;
  flex: 0 0 auto;
  place-items: center;
  border: 2px solid var(--green-950);
  border-radius: 50%;
  color: var(--green-950);
  font-size: 13px;
  font-weight: 900;
}

.phase-number small {
  color: var(--red);
  font-size: 13px;
  font-weight: 900;
  writing-mode: vertical-rl;
}

.first-buyer-phases h3 {
  margin: 0 0 8px;
  font-size: 22px;
}

.first-buyer-phases p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.first-buyer-phases > li > strong {
  justify-self: end;
  padding: 7px 12px;
  border-radius: 999px;
  color: var(--red-dark);
  background: rgba(223, 36, 67, 0.08);
  font-size: 13px;
  text-align: center;
}

.first-buyer-mistakes {
  padding: 86px 0;
  color: var(--white);
  background: var(--green-950);
}

.first-buyer-mistakes .first-buyer-section-heading > p {
  color: var(--yellow);
}

.first-buyer-mistakes-grid {
  display: grid;
  grid-template-columns: minmax(290px, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(44px, 8vw, 110px);
}

.first-buyer-mistakes ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.first-buyer-mistakes li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(255, 253, 250, 0.18);
}

.first-buyer-mistakes li:first-child {
  padding-top: 0;
}

.first-buyer-mistakes li > span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  color: var(--green-950);
  background: var(--yellow);
  font-size: 11px;
  font-weight: 900;
}

.first-buyer-mistakes strong {
  font-size: 19px;
}

.first-buyer-mistakes li p {
  margin: 5px 0 0;
  color: rgba(255, 253, 250, 0.72);
  font-size: 14px;
}

.first-buyer-checklist {
  background: var(--white);
}

.checklist-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
}

.checklist-heading button {
  flex: 0 0 auto;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: var(--cream-50);
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.checklist-heading button:hover {
  border-color: var(--red);
  color: var(--red-dark);
}

.guide-checklist-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 36px;
}

.guide-checklist-grid label {
  display: flex;
  min-height: 96px;
  align-items: center;
  gap: 16px;
  padding: 19px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--cream-50);
  cursor: pointer;
  transition: border-color var(--ease), background var(--ease), transform var(--ease);
}

.guide-checklist-grid label:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 99, 54, 0.36);
}

.guide-checklist-grid label:has(input:checked) {
  border-color: var(--green-800);
  background: rgba(0, 168, 90, 0.07);
}

.guide-checklist-grid input {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  accent-color: var(--green-950);
}

.guide-checklist-grid span,
.guide-checklist-grid strong,
.guide-checklist-grid small {
  display: block;
}

.guide-checklist-grid small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 13px;
}

.first-buyer-sources {
  padding: 0 0 86px;
  background: var(--white);
}

.first-buyer-sources .section-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 27px 30px;
  border-radius: var(--radius-md);
  background: var(--cream-100);
}

.first-buyer-sources p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.first-buyer-sources nav {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 9px;
}

.first-buyer-sources a {
  padding: 9px 13px;
  border: 1px solid rgba(0, 99, 54, 0.22);
  border-radius: 999px;
  color: var(--green-950);
  background: var(--white);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.first-buyer-sources a:hover {
  border-color: var(--green-950);
}

.bank-comparison-page {
  background: var(--cream-50);
}

.bank-comparison-hero {
  padding: 80px 0 62px;
}

.bank-comparison-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.55fr);
  align-items: end;
  gap: clamp(40px, 7vw, 94px);
}

.bank-comparison-page h1 {
  max-width: 820px;
  margin: 12px 0 22px;
  font-size: clamp(46px, 6.2vw, 80px);
  line-height: 1.12;
  letter-spacing: -0.055em;
  text-wrap: pretty;
}

.bank-comparison-lead {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
  text-wrap: pretty;
}

.comparison-date-card {
  position: relative;
  overflow: hidden;
  padding: 29px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-1);
}

.comparison-date-card::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 7px;
  background: linear-gradient(90deg, var(--yellow) 0 34%, var(--green-800) 34% 67%, var(--red) 67%);
  content: "";
}

.comparison-date-card span,
.comparison-date-card strong {
  display: block;
}

.comparison-date-card span {
  color: var(--green-950);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.comparison-date-card strong {
  margin-top: 6px;
  font-size: 27px;
  letter-spacing: 0.04em;
}

.comparison-date-card p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.bank-comparison-workspace {
  padding: 14px 0 92px;
}

.comparison-tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 30px;
}

.comparison-tabs button {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 2px 16px;
  min-height: 118px;
  padding: 23px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  color: var(--ink);
  background: rgba(255, 253, 250, 0.86);
  text-align: left;
  cursor: pointer;
  transition: transform var(--ease), border-color var(--ease), box-shadow var(--ease), background var(--ease);
}

.comparison-tabs button:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 99, 54, 0.35);
  box-shadow: var(--shadow-1);
}

.comparison-tabs button > span {
  grid-row: 1 / span 2;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 50%;
  color: var(--green-950);
  background: var(--yellow);
  font-size: 13px;
  font-weight: 900;
}

.comparison-tabs button > strong {
  font-size: 23px;
  line-height: 1.25;
}

.comparison-tabs button > small {
  grid-column: 2;
  color: var(--muted);
  font-size: 14px;
}

.comparison-tabs button[aria-selected="true"] {
  border-color: var(--green-950);
  color: var(--white);
  background: var(--green-950);
  box-shadow: var(--shadow-2);
}

.comparison-tabs button[aria-selected="true"] > small {
  color: rgba(255, 253, 250, 0.74);
}

.bank-comparison-panel[hidden] {
  display: none;
}

.bank-comparison-panel {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-1);
}

.comparison-panel-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  padding: 36px 40px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(135deg, var(--cream-100), var(--white));
}

.comparison-panel-heading p {
  margin: 0 0 6px;
  color: var(--green-950);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.comparison-panel-heading h2 {
  margin: 0;
  font-size: clamp(27px, 3.5vw, 43px);
  line-height: 1.25;
  letter-spacing: -0.035em;
  text-wrap: pretty;
}

.comparison-status {
  flex: 0 0 auto;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
}

.comparison-status-open {
  color: var(--green-950);
  background: var(--yellow);
}

.comparison-status-quote {
  color: var(--white);
  background: var(--red);
}

.policy-rate-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-bottom: 1px solid var(--line);
}

.policy-rate-strip > div {
  padding: 24px 20px;
  text-align: center;
}

.policy-rate-strip > div + div {
  border-left: 1px solid var(--line);
}

.policy-rate-strip small,
.policy-rate-strip strong {
  display: block;
}

.policy-rate-strip small {
  color: var(--muted);
  font-size: 13px;
}

.policy-rate-strip strong {
  margin-top: 4px;
  color: var(--green-950);
  font-size: 23px;
}

.qingan-bank-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding: 32px 40px;
}

.qingan-bank-grid article {
  display: flex;
  min-height: 86px;
  align-items: center;
  gap: 13px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--cream-50);
}

.qingan-bank-grid article > span {
  display: grid;
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--green-950);
  font-size: 11px;
  font-weight: 900;
}

.qingan-bank-grid article > strong {
  font-size: 17px;
  line-height: 1.35;
}

.comparison-note,
.comparison-warning {
  display: grid;
  grid-template-columns: minmax(200px, 0.35fr) minmax(0, 1fr);
  gap: 30px;
  padding: 30px 40px;
}

.comparison-note {
  color: var(--white);
  background: var(--green-950);
}

.comparison-note strong {
  color: var(--yellow);
}

.comparison-note p,
.comparison-warning p {
  margin: 0;
}

.comparison-warning {
  color: var(--red-dark);
  background: rgba(223, 36, 67, 0.08);
}

.comparison-warning p {
  color: var(--ink);
}

.general-bank-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding: 32px 40px;
}

.general-bank-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--cream-50);
}

.bank-card-title {
  padding: 22px;
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.bank-card-title span {
  color: var(--red);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.bank-card-title h3 {
  margin: 3px 0 0;
  font-size: 24px;
}

.general-bank-card dl {
  margin: 0;
  padding: 8px 22px;
}

.general-bank-card dl > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.general-bank-card dt {
  color: var(--muted);
  font-size: 14px;
}

.general-bank-card dd {
  margin: 0;
  font-size: 14px;
  font-weight: 800;
  text-align: right;
}

.general-bank-card dd strong {
  color: var(--green-950);
  font-size: 23px;
}

.general-bank-card > p {
  margin: 0;
  padding: 14px 22px 22px;
  color: var(--muted);
  font-size: 13px;
}

.general-bank-card > p a {
  display: inline-block;
  margin-left: 5px;
  color: var(--green-950);
  font-weight: 800;
}

.comparison-sources {
  padding: 0 0 86px;
}

.comparison-sources .section-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 28px 30px;
  border-radius: var(--radius-md);
  background: var(--cream-100);
}

.comparison-sources p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.source-links {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  gap: 10px;
}

.source-links a {
  padding: 9px 13px;
  border: 1px solid rgba(0, 99, 54, 0.22);
  border-radius: 999px;
  color: var(--green-950);
  background: var(--white);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.source-links a:hover {
  border-color: var(--green-950);
}

.buying-process-page {
  background: var(--cream-50);
}

.process-intro {
  padding: 86px 0 70px;
}

.process-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(310px, 0.55fr);
  align-items: end;
  gap: clamp(40px, 7vw, 96px);
}

.buying-process-page h1 {
  max-width: 800px;
  margin: 12px 0 22px;
  font-size: clamp(48px, 6.4vw, 82px);
  line-height: 1.12;
  letter-spacing: -0.055em;
}

.process-lead {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
}

.process-start-note {
  position: relative;
  overflow: hidden;
  padding: 30px;
  border: 1px solid rgba(0, 99, 54, 0.12);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-1);
}

.process-start-note::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 7px;
  background: linear-gradient(90deg, var(--yellow) 0 34%, var(--green-800) 34% 67%, var(--red) 67%);
  content: "";
}

.process-start-note span,
.process-start-note strong {
  display: block;
}

.process-start-note span {
  color: var(--green-950);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.process-start-note strong {
  margin-top: 10px;
  font-size: 22px;
  line-height: 1.45;
}

.process-start-note p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.process-workspace {
  padding: 20px 0 96px;
}

.process-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 34px;
}

.process-tabs button {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0 14px;
  min-height: 138px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  color: var(--ink);
  background: rgba(255, 253, 250, 0.8);
  text-align: left;
  cursor: pointer;
  transition: transform var(--ease), border-color var(--ease), box-shadow var(--ease), background var(--ease);
}

.process-tabs button:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 99, 54, 0.3);
  box-shadow: var(--shadow-1);
}

.process-tabs button > span {
  grid-row: 1 / span 2;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 50%;
  color: var(--green-950);
  background: var(--yellow);
  font-size: 13px;
  font-weight: 900;
}

.process-tabs button > strong {
  font-size: 25px;
  line-height: 1.2;
}

.process-tabs button > small {
  grid-column: 2;
  margin-top: 6px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.process-tabs button[aria-selected="true"] {
  border-color: var(--green-950);
  color: var(--white);
  background: var(--green-950);
  box-shadow: var(--shadow-2);
}

.process-tabs button[aria-selected="true"] > small {
  color: rgba(255, 253, 250, 0.76);
}

.process-panel[hidden] {
  display: none;
}

.process-panel {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-1);
}

.process-panel-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  padding: 38px 42px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(135deg, var(--cream-100), var(--white));
}

.process-panel-heading p {
  margin: 0 0 6px;
  color: var(--green-950);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.process-panel-heading h2 {
  margin: 0;
  font-size: clamp(28px, 3.6vw, 46px);
  line-height: 1.24;
  letter-spacing: -0.035em;
}

.process-panel-heading > span {
  flex: 0 0 auto;
  color: var(--red);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.process-timeline {
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-timeline li {
  position: relative;
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr) minmax(150px, 0.35fr);
  align-items: start;
  gap: 24px;
  padding: 30px 42px;
  border-bottom: 1px solid var(--line);
}

.process-timeline li > span {
  position: relative;
  z-index: 1;
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border: 2px solid var(--green-950);
  border-radius: 50%;
  color: var(--green-950);
  background: var(--white);
  font-size: 14px;
  font-weight: 900;
}

.process-timeline li:not(:last-child)::before {
  position: absolute;
  top: 78px;
  bottom: -10px;
  left: 67px;
  width: 2px;
  background: var(--cream-200);
  content: "";
}

.process-timeline h3 {
  margin: 2px 0 8px;
  font-size: 21px;
  line-height: 1.4;
}

.process-timeline p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.process-timeline small {
  justify-self: end;
  padding: 7px 12px;
  border-radius: 999px;
  color: var(--red-dark);
  background: rgba(223, 36, 67, 0.08);
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}

.process-reminders {
  display: grid;
  grid-template-columns: minmax(190px, 0.35fr) minmax(0, 1fr);
  gap: 30px;
  padding: 36px 42px;
  color: var(--white);
  background: var(--green-950);
}

.process-reminders > strong {
  color: var(--yellow);
  font-size: 20px;
}

.process-reminders ul {
  margin: 0;
  padding-left: 20px;
}

.process-reminders li + li {
  margin-top: 7px;
}

.process-disclaimer {
  padding: 0 0 88px;
}

.process-disclaimer .section-inner {
  display: grid;
  grid-template-columns: minmax(220px, 0.35fr) minmax(0, 1fr);
  gap: 32px;
  padding: 28px 32px;
  border-left: 5px solid var(--yellow);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: var(--cream-100);
}

.process-disclaimer p {
  margin: 0;
  color: var(--muted);
}

@media (max-width: 1060px) {
  .desktop-nav {
    display: none;
  }

  .mobile-toggle {
    display: inline-flex;
    min-width: 48px;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: 12px;
    color: var(--green-900);
    background: var(--white);
    font-size: 15px;
    font-weight: 750;
    cursor: pointer;
  }

  .mobile-panel {
    position: absolute;
    top: 84px;
    right: 20px;
    left: 20px;
    display: block;
    max-height: calc(100vh - 104px);
    padding: 14px;
    overflow-y: auto;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--white);
    box-shadow: var(--shadow-2);
  }

  .mobile-panel[hidden] {
    display: none;
  }

  .mobile-nav {
    display: grid;
  }

  .mobile-home,
  .mobile-group summary,
  .mobile-link {
    min-height: 48px;
    padding: 11px 12px;
    border-radius: 10px;
    text-decoration: none;
  }

  .mobile-home,
  .mobile-group summary {
    display: flex;
    align-items: center;
    font-weight: 750;
    cursor: pointer;
  }

  .mobile-group summary::marker {
    color: var(--red);
  }

  .mobile-submenu {
    display: grid;
    padding: 2px 0 10px 18px;
  }

  .mobile-link {
    display: flex;
    align-items: center;
    color: var(--muted);
    font-size: 15px;
  }
}

@media (max-width: 820px) {
  .earnest-hero-grid,
  .earnest-scenarios-grid {
    grid-template-columns: 1fr;
  }

  .earnest-basic-grid,
  .earnest-compare-grid {
    grid-template-columns: 1fr;
  }

  .earnest-basic-grid article {
    min-height: auto;
  }

  .earnest-sources .section-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .home-viewing-hero-grid,
  .viewing-second-visit-grid {
    grid-template-columns: 1fr;
  }

  .viewing-property-info-grid {
    grid-template-columns: 1fr 1fr;
  }

  .viewing-property-info button {
    grid-column: 1 / -1;
  }

  .viewing-tabs {
    grid-template-columns: repeat(2, 1fr);
  }

  .viewing-check {
    grid-template-columns: 1fr;
  }

  .viewing-state-actions {
    padding-left: 57px;
  }

  .viewing-sources .section-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .first-buyer-hero-grid,
  .first-buyer-mistakes-grid {
    grid-template-columns: 1fr;
  }

  .first-buyer-question-grid {
    grid-template-columns: 1fr;
  }

  .first-buyer-question-grid article {
    min-height: auto;
  }

  .first-buyer-tool-links,
  .first-buyer-sources .section-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .first-buyer-tool-links nav,
  .first-buyer-sources nav {
    justify-content: flex-start;
  }

  .first-buyer-phases > li {
    grid-template-columns: 86px minmax(0, 1fr);
  }

  .first-buyer-phases > li > strong {
    grid-column: 2;
    justify-self: start;
  }

  .bank-comparison-hero-grid,
  .comparison-note,
  .comparison-warning {
    grid-template-columns: 1fr;
  }

  .comparison-tabs,
  .general-bank-grid {
    grid-template-columns: 1fr;
  }

  .policy-rate-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .policy-rate-strip > div + div {
    border-left: 0;
  }

  .policy-rate-strip > div:nth-child(even) {
    border-left: 1px solid var(--line);
  }

  .policy-rate-strip > div:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .qingan-bank-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .comparison-sources .section-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .process-intro-grid,
  .process-reminders,
  .process-disclaimer .section-inner {
    grid-template-columns: 1fr;
  }

  .process-tabs {
    grid-template-columns: 1fr;
  }

  .process-tabs button {
    min-height: 112px;
  }

  .process-timeline li {
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 18px;
  }

  .process-timeline small {
    grid-column: 2;
    justify-self: start;
  }

  .story-item,
  .knowledge-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .story-item:nth-child(even) .image-slot {
    order: initial;
  }

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

  .tool-card {
    min-height: 220px;
  }

  .tool-card h3 {
    margin-top: 42px;
  }

  .calculator-hero-grid,
  .calculator-layout,
  .rate-breakdown-heading,
  .notes-grid {
    grid-template-columns: 1fr;
  }

  .loan-results {
    position: static;
  }
}

@media (max-width: 520px) {
  .earnest-hero {
    padding: 52px 0 44px;
  }

  .earnest-guide-page h1 {
    font-size: clamp(40px, 12vw, 57px);
  }

  .earnest-alert {
    padding: 25px 22px;
  }

  .earnest-basics,
  .earnest-compare,
  .earnest-flow,
  .earnest-scenarios,
  .earnest-checklist {
    padding: 70px 0;
  }

  .earnest-option dl {
    padding-inline: 21px;
  }

  .earnest-option dl > div {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .earnest-flow-list li {
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 14px;
    padding: 23px 20px;
  }

  .earnest-flow-list li > span {
    width: 42px;
    height: 42px;
  }

  .earnest-flow-list li > strong {
    grid-column: 2;
    justify-self: start;
  }

  .earnest-checklist-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .earnest-checklist-heading aside {
    width: 100%;
  }

  .earnest-check-grid {
    grid-template-columns: 1fr;
  }

  .earnest-sources nav,
  .earnest-sources a {
    width: 100%;
  }

  .earnest-sources a {
    text-align: center;
  }

  .home-viewing-hero {
    padding: 52px 0 44px;
  }

  .home-viewing-page h1 {
    font-size: clamp(40px, 12vw, 57px);
  }

  .viewing-summary {
    padding: 24px 22px;
  }

  .viewing-property-info-grid {
    grid-template-columns: 1fr;
  }

  .viewing-property-info button {
    grid-column: auto;
  }

  .viewing-workspace {
    padding: 52px 0 70px;
  }

  .viewing-tabs button {
    min-height: 74px;
  }

  .viewing-panel-heading {
    align-items: flex-start;
    flex-direction: column;
    padding: 27px 21px;
  }

  .viewing-check {
    gap: 18px;
    padding: 24px 21px;
  }

  .viewing-check > div:first-child {
    grid-template-columns: 38px 1fr;
    gap: 5px 12px;
  }

  .viewing-check h3 {
    font-size: 18px;
  }

  .viewing-state-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding-left: 50px;
  }

  .viewing-state-actions button {
    min-width: 0;
  }

  .viewing-second-visit {
    padding: 70px 0;
  }

  .viewing-second-visit li {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .viewing-sources nav,
  .viewing-sources a {
    width: 100%;
  }

  .viewing-sources a {
    text-align: center;
  }

  .first-buyer-hero {
    padding: 52px 0 44px;
  }

  .first-buyer-page h1 {
    font-size: clamp(40px, 12vw, 57px);
  }

  .first-buyer-progress {
    padding: 24px 22px;
  }

  .first-buyer-start,
  .first-buyer-path,
  .first-buyer-mistakes,
  .first-buyer-checklist {
    padding: 70px 0;
  }

  .first-buyer-question-grid article {
    padding: 24px 22px;
  }

  .first-buyer-question-grid h3 {
    margin-top: 26px;
  }

  .first-buyer-tool-links {
    padding: 24px 22px;
  }

  .first-buyer-tool-links nav,
  .first-buyer-tool-links a,
  .first-buyer-sources nav,
  .first-buyer-sources a {
    width: 100%;
  }

  .first-buyer-tool-links a,
  .first-buyer-sources a {
    text-align: center;
  }

  .first-buyer-phases > li {
    grid-template-columns: 62px minmax(0, 1fr);
    gap: 14px;
    padding: 25px 21px;
  }

  .phase-number {
    flex-direction: column;
  }

  .phase-number span {
    width: 44px;
    height: 44px;
  }

  .phase-number small {
    writing-mode: initial;
  }

  .first-buyer-phases h3 {
    font-size: 19px;
  }

  .checklist-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .guide-checklist-grid {
    grid-template-columns: 1fr;
  }

  .guide-checklist-grid label {
    padding: 18px;
  }

  .bank-comparison-hero {
    padding: 52px 0 44px;
  }

  .bank-comparison-page h1 {
    font-size: clamp(40px, 12vw, 56px);
  }

  .comparison-date-card,
  .comparison-tabs button {
    padding: 22px;
  }

  .comparison-panel-heading {
    align-items: flex-start;
    flex-direction: column;
    padding: 28px 22px;
  }

  .policy-rate-strip strong {
    font-size: 20px;
  }

  .qingan-bank-grid,
  .general-bank-grid {
    grid-template-columns: 1fr;
    padding: 24px 18px;
  }

  .comparison-note,
  .comparison-warning {
    padding: 28px 22px;
  }

  .source-links {
    flex-direction: column;
    width: 100%;
  }

  .source-links a {
    text-align: center;
  }

  .process-intro {
    padding: 52px 0 44px;
  }

  .buying-process-page h1 {
    font-size: clamp(41px, 12vw, 58px);
  }

  .process-start-note {
    padding: 26px 22px;
  }

  .process-workspace {
    padding-top: 8px;
  }

  .process-tabs button {
    padding: 20px;
  }

  .process-panel-heading {
    align-items: start;
    flex-direction: column;
    padding: 28px 22px;
  }

  .process-timeline li {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 14px;
    padding: 24px 22px;
  }

  .process-timeline li > span {
    width: 42px;
    height: 42px;
  }

  .process-timeline li:not(:last-child)::before {
    top: 66px;
    left: 42px;
  }

  .process-timeline h3 {
    font-size: 19px;
  }

  .process-reminders {
    padding: 30px 22px;
  }

  .header-inner,
  .section-inner,
  .footer-inner {
    width: min(calc(100% - 28px), var(--max-width));
  }

  .header-inner {
    min-height: 74px;
  }

  .brand-text {
    font-size: 17px;
  }

  .mobile-panel {
    top: 74px;
    right: 14px;
    left: 14px;
  }

  .hero {
    padding-top: 52px;
  }

  h1 {
    font-size: clamp(43px, 14vw, 64px);
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .image-slot {
    min-height: 300px;
    padding: 26px;
  }

  .video-frame {
    width: min(100%, 320px);
  }

  .section {
    padding: 78px 0;
  }

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

  .calculator-page h1 {
    font-size: clamp(40px, 12vw, 58px);
  }

  .calculator-back {
    padding-inline: 10px;
    font-size: 13px;
  }

  .calculator-section {
    padding: 56px 0 72px;
  }

  .loan-form,
  .loan-results {
    padding: 22px 18px;
    border-radius: 20px;
  }

  .field-grid,
  .result-grid {
    grid-template-columns: 1fr;
  }

  .purchase-type-options {
    grid-template-columns: 1fr;
  }

  .field-wide {
    grid-column: auto;
  }

  .result-card {
    min-height: 126px;
  }

  .result-card-wide {
    grid-column: auto;
  }

  .rate-breakdown-section {
    padding: 72px 0 82px;
  }

  .rate-table-wrap {
    margin-right: -14px;
    border-radius: var(--radius-md) 0 0 var(--radius-md);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* 簽約與交屋、購屋常見問題 */
.handover-guide-page,
.buying-faq-page { background: #fbfaf4; }

.handover-guide-page h1,
.buying-faq-page h1 {
  margin: 20px 0 24px;
  font-family: "Noto Serif TC", "Source Han Serif TC", "PMingLiU", serif;
  font-size: clamp(52px, 6.5vw, 88px);
  line-height: 1.08;
  letter-spacing: -0.045em;
  text-wrap: pretty;
}

.handover-hero,
.faq-hero {
  position: relative;
  overflow: hidden;
  padding: 86px 0 78px;
  color: var(--white);
  background: var(--green-950);
}

.handover-hero::after,
.faq-hero::after {
  position: absolute;
  right: -12vw;
  bottom: -44%;
  width: 52vw;
  aspect-ratio: 1;
  border: 88px solid rgba(251, 192, 0, 0.16);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.handover-hero-grid,
.faq-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  align-items: end;
  gap: clamp(44px, 8vw, 110px);
}

.handover-hero .calculator-kicker,
.faq-hero .calculator-kicker {
  display: inline-flex;
  margin: 0;
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, 0.44);
  border-radius: 999px;
  color: #fff8d8;
  background: rgba(0, 0, 0, 0.18);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.handover-lead,
.faq-lead {
  max-width: 680px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.75;
  text-wrap: pretty;
}

.handover-progress-card {
  padding: 32px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-lg);
  color: var(--ink);
  background: var(--yellow);
  box-shadow: 18px 18px 0 rgba(0, 0, 0, 0.14);
}

.handover-progress-card > span,
.handover-progress-card > small { display: block; font-size: 14px; font-weight: 800; }
.handover-progress-card > strong {
  display: block;
  margin-block: 5px 16px;
  font-family: "Noto Serif TC", "Source Han Serif TC", "PMingLiU", serif;
  font-size: clamp(54px, 7vw, 82px);
  line-height: 1;
}
.handover-progress-track { height: 10px; overflow: hidden; border-radius: 99px; background: rgba(27, 36, 33, 0.2); }
.handover-progress-track i { display: block; width: 0; height: 100%; border-radius: inherit; background: var(--red); transition: width 320ms ease; }
.handover-progress-card p { margin: 14px 0 0; }
.handover-progress-card small { margin-top: 2px; color: rgba(27, 36, 33, 0.65); }

.handover-map { border-bottom: 1px solid var(--line); background: var(--white); }
.handover-type-picker { padding: 72px 0; border-bottom: 1px solid var(--line); background: var(--cream-100); }
.handover-type-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.handover-type-heading p { margin: 0; color: var(--red); font-size: 13px; font-weight: 900; letter-spacing: 0.12em; }
.handover-type-heading h2 { margin: 0; font-family: "Noto Serif TC", "Source Han Serif TC", "PMingLiU", serif; font-size: clamp(28px, 4vw, 46px); line-height: 1.25; text-wrap: pretty; }
.handover-type-options { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.handover-type-options button { position: relative; display: grid; grid-template-columns: 58px minmax(0, 1fr) auto; min-height: 138px; align-items: center; gap: 20px; padding: 25px 28px; border: 2px solid transparent; border-radius: var(--radius-lg); color: var(--ink); background: var(--white); box-shadow: var(--shadow-1); text-align: left; cursor: pointer; transition: border-color var(--ease), background var(--ease), transform var(--ease), box-shadow var(--ease); }
.handover-type-options button:hover { border-color: var(--green-900); transform: translateY(-2px); }
.handover-type-options button.is-active { border-color: var(--green-950); background: var(--green-950); color: var(--white); box-shadow: 10px 10px 0 var(--yellow); }
.handover-type-options button > span { display: grid; width: 54px; height: 54px; place-items: center; border-radius: 50%; color: var(--white); background: var(--red); font-size: 22px; font-weight: 900; }
.handover-type-options strong, .handover-type-options small { display: block; }
.handover-type-options strong { font-family: "Noto Serif TC", "Source Han Serif TC", "PMingLiU", serif; font-size: clamp(23px, 2.4vw, 31px); }
.handover-type-options small { margin-top: 4px; color: var(--muted); font-size: 14px; }
.handover-type-options button.is-active small { color: rgba(255, 255, 255, 0.68); }
.handover-type-options i { padding: 7px 11px; border-radius: 999px; color: var(--muted); background: #f0efe8; font-size: 12px; font-style: normal; font-weight: 800; white-space: nowrap; }
.handover-type-options button.is-active i { color: var(--ink); background: var(--yellow); }
[data-property-panel][hidden] { display: none; }
.handover-new-note { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 18px; margin-bottom: 20px; padding: 20px 24px; border: 1px solid rgba(223, 36, 67, 0.2); border-radius: var(--radius-md); background: #fff1f3; }
.handover-new-note strong { color: var(--red-dark); }
.handover-new-note p { margin: 0; color: #5d4c50; }
.handover-final-new { background: #203b31; }
.handover-map ol { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; padding: 0; list-style: none; }
.handover-map li { display: flex; min-height: 122px; align-items: center; gap: 16px; padding: 24px; border-left: 1px solid var(--line); }
.handover-map li:last-child { border-right: 1px solid var(--line); }
.handover-map li > span { color: var(--red); font-size: 14px; font-weight: 900; }
.handover-map strong, .handover-map small { display: block; }
.handover-map strong { font-size: 18px; }
.handover-map small { color: var(--muted); }

.handover-workspace { padding: 88px 0 110px; }
.handover-tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 20px; padding: 8px; border: 1px solid var(--line); border-radius: 20px; background: #ecece4; }
.handover-tabs button { display: flex; min-height: 62px; align-items: center; justify-content: center; gap: 10px; border: 0; border-radius: 14px; color: var(--muted); background: transparent; font-weight: 800; cursor: pointer; transition: color var(--ease), background var(--ease), transform var(--ease); }
.handover-tabs button:hover { color: var(--green-950); background: rgba(255, 255, 255, 0.64); }
.handover-tabs button[aria-selected="true"] { color: var(--white); background: var(--green-950); box-shadow: var(--shadow-1); }
.handover-tabs button:active { transform: translateY(1px); }
.handover-tabs span { font-size: 13px; }

.handover-stage { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); box-shadow: var(--shadow-1); }
.handover-stage[hidden] { display: none; }
.handover-stage-heading { display: flex; min-height: 180px; align-items: end; justify-content: space-between; gap: 30px; padding: clamp(28px, 4vw, 48px); color: var(--white); background: var(--green-950); }
.handover-stage-heading p, .handover-final p, .faq-next p { margin: 0 0 8px; color: var(--yellow); font-size: 13px; font-weight: 900; letter-spacing: 0.12em; }
.handover-stage-heading h2, .handover-final h2, .faq-next h2 { margin: 0; font-family: "Noto Serif TC", "Source Han Serif TC", "PMingLiU", serif; font-size: clamp(30px, 4vw, 48px); line-height: 1.25; text-wrap: pretty; }
.handover-stage-heading > strong { max-width: 230px; padding: 11px 16px; border-radius: 99px; color: var(--ink); background: var(--yellow); font-size: 14px; text-align: center; }

.handover-check-grid { display: grid; grid-template-columns: repeat(2, 1fr); }
.handover-check-grid label { display: flex; min-height: 142px; align-items: flex-start; gap: 16px; padding: 30px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); cursor: pointer; transition: background var(--ease); }
.handover-check-grid label:nth-child(even) { border-right: 0; }
.handover-check-grid label:nth-last-child(-n + 2) { border-bottom: 0; }
.handover-check-grid label:hover { background: var(--cream-100); }
.handover-check-grid input { width: 24px; height: 24px; flex: 0 0 auto; margin: 2px 0 0; accent-color: var(--green-900); }
.handover-check-grid span, .handover-check-grid strong, .handover-check-grid small { display: block; }
.handover-check-grid strong { font-size: 18px; }
.handover-check-grid small { margin-top: 5px; color: var(--muted); font-size: 14px; }
.handover-check-grid input:checked + span strong { color: var(--green-900); }

.handover-final { padding: 100px 0; color: var(--white); background: #19241f; }
.handover-final-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(50px, 9vw, 130px); }
.handover-final h2 { margin-bottom: 24px; }
.handover-final-grid > div > span { color: rgba(255, 255, 255, 0.66); }
.handover-final ul { margin: 0; padding: 0; border-top: 1px solid rgba(255, 255, 255, 0.18); list-style: none; }
.handover-final li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; padding: 18px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.18); }
.handover-final li strong { color: var(--yellow); }

.handover-sources, .faq-sources { padding: 42px 0; color: var(--white); background: var(--green-950); }
.handover-sources .section-inner, .faq-sources .section-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.handover-sources p, .faq-sources p { max-width: 720px; margin: 4px 0 0; color: rgba(255, 255, 255, 0.7); font-size: 14px; }
.handover-sources nav, .faq-sources nav { display: flex; flex: 0 0 auto; gap: 10px; }
.handover-sources a, .faq-sources a { padding: 10px 14px; border: 1px solid rgba(255, 255, 255, 0.36); border-radius: 999px; font-size: 13px; font-weight: 800; text-decoration: none; transition: color var(--ease), background var(--ease); }
.handover-sources a:hover, .faq-sources a:hover { color: var(--green-950); background: var(--white); }

.faq-search-card { padding: 30px; border-radius: var(--radius-lg); color: var(--ink); background: var(--white); box-shadow: 18px 18px 0 rgba(251, 192, 0, 0.9); }
.faq-search-card label, .faq-search-card small { display: block; }
.faq-search-card label { margin-bottom: 12px; font-weight: 900; }
.faq-search-card > div { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.faq-search-card input { width: 100%; min-width: 0; min-height: 54px; padding: 12px 15px; border: 1px solid var(--line); border-radius: 13px; color: var(--ink); background: #f5f4ee; font: inherit; }
.faq-search-card button, .faq-empty button { min-height: 54px; padding: 12px 20px; border: 0; border-radius: 13px; color: var(--white); background: var(--red); font-weight: 900; cursor: pointer; transition: background var(--ease), transform var(--ease); }
.faq-search-card button:hover, .faq-empty button:hover { background: var(--red-dark); }
.faq-search-card button:active, .faq-empty button:active { transform: translateY(1px); }
.faq-search-card small { margin-top: 10px; color: var(--muted); }

.faq-workspace { padding: 84px 0 110px; }
.faq-filter-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 30px; }
.faq-filter-row > p { flex: 0 0 auto; margin: 0; color: var(--muted); font-size: 14px; }
.faq-filter-row > p strong { color: var(--red); font-size: 20px; }
.faq-categories { display: flex; flex-wrap: wrap; gap: 8px; }
.faq-categories button { min-height: 44px; padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); background: var(--white); font-size: 14px; font-weight: 800; cursor: pointer; transition: color var(--ease), background var(--ease), border-color var(--ease); }
.faq-categories button:hover { border-color: var(--green-900); }
.faq-categories button.is-active { border-color: var(--green-950); color: var(--white); background: var(--green-950); }

.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); background: transparent; }
.faq-list details[hidden] { display: none; }
.faq-list summary { display: grid; grid-template-columns: 112px minmax(0, 1fr) 42px; align-items: center; gap: 24px; min-height: 106px; padding: 22px 10px; list-style: none; cursor: pointer; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary > span { color: var(--green-900); font-size: 13px; font-weight: 900; letter-spacing: 0.05em; }
.faq-list summary > strong { font-family: "Noto Serif TC", "Source Han Serif TC", "PMingLiU", serif; font-size: clamp(20px, 2.3vw, 27px); line-height: 1.45; text-wrap: pretty; }
.faq-list summary i { position: relative; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; background: var(--white); }
.faq-list summary i::before, .faq-list summary i::after { position: absolute; top: 50%; left: 50%; width: 14px; height: 2px; background: var(--green-950); content: ""; transform: translate(-50%, -50%); transition: transform var(--ease); }
.faq-list summary i::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-list details[open] summary i::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-list details[open] { background: var(--cream-100); }
.faq-list details > div { max-width: 860px; padding: 0 70px 32px 146px; }
.faq-list details p { margin: 0; color: #45524d; text-wrap: pretty; }
.faq-list details a { display: inline-flex; margin-top: 16px; color: var(--red-dark); font-weight: 900; text-underline-offset: 4px; }

.faq-empty { padding: 72px 24px; border: 1px dashed rgba(23, 61, 53, 0.32); border-radius: var(--radius-lg); text-align: center; background: var(--white); }
.faq-empty strong { display: block; font-family: "Noto Serif TC", "Source Han Serif TC", "PMingLiU", serif; font-size: 30px; }
.faq-empty p { margin: 8px 0 20px; color: var(--muted); }

.faq-next { padding: 96px 0; color: var(--white); background: #19241f; }
.faq-next .section-inner { display: grid; grid-template-columns: 0.7fr 1.3fr; gap: clamp(50px, 8vw, 110px); }
.faq-next nav { display: grid; gap: 12px; }
.faq-next a { display: grid; grid-template-columns: 48px 1fr auto; align-items: center; gap: 18px; padding: 19px 22px; border: 1px solid rgba(255, 255, 255, 0.18); border-radius: var(--radius-md); text-decoration: none; transition: border-color var(--ease), background var(--ease), transform var(--ease); }
.faq-next a:hover { border-color: var(--yellow); background: rgba(255, 255, 255, 0.06); transform: translateX(4px); }
.faq-next a > span { color: var(--yellow); font-weight: 900; }
.faq-next a strong, .faq-next a small { display: block; }
.faq-next a small { color: rgba(255, 255, 255, 0.58); }

@media (max-width: 900px) {
  .handover-hero-grid, .faq-hero-grid, .handover-final-grid, .faq-next .section-inner { grid-template-columns: 1fr; }
  .handover-hero-grid, .faq-hero-grid { align-items: start; }
  .handover-progress-card, .faq-search-card { width: min(100%, 600px); box-shadow: 12px 12px 0 rgba(0, 0, 0, 0.14); }
  .faq-search-card { box-shadow: 12px 12px 0 rgba(251, 192, 0, 0.9); }
  .handover-map ol { grid-template-columns: repeat(2, 1fr); }
  .handover-map li:nth-child(2) { border-right: 1px solid var(--line); }
  .handover-map li:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }
  .handover-tabs { grid-template-columns: repeat(2, 1fr); }
  .handover-sources .section-inner, .faq-sources .section-inner { align-items: flex-start; flex-direction: column; }
  .handover-type-options { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .handover-hero, .faq-hero { padding: 52px 0 58px; }
  .handover-guide-page h1, .buying-faq-page h1 { font-size: clamp(40px, 12vw, 57px); }
  .handover-progress-card, .faq-search-card { padding: 24px 22px; }
  .handover-map li { min-height: 102px; padding: 18px 16px; }
  .handover-map li > div small { display: none; }
  .handover-type-picker { padding: 54px 0; }
  .handover-type-heading { align-items: flex-start; flex-direction: column; }
  .handover-type-options button { grid-template-columns: 48px minmax(0, 1fr); min-height: 120px; gap: 14px; padding: 22px 18px; }
  .handover-type-options button > span { width: 46px; height: 46px; }
  .handover-type-options i { grid-column: 2; justify-self: start; }
  .handover-new-note { grid-template-columns: 1fr; gap: 5px; padding: 20px; }
  .handover-workspace, .faq-workspace { padding: 58px 0 74px; }
  .handover-tabs { gap: 5px; padding: 5px; }
  .handover-tabs button { min-height: 58px; padding: 8px; font-size: 14px; }
  .handover-stage-heading { min-height: 0; align-items: flex-start; flex-direction: column; padding: 27px 21px; }
  .handover-check-grid { grid-template-columns: 1fr; }
  .handover-check-grid label, .handover-check-grid label:nth-child(even), .handover-check-grid label:nth-last-child(-n + 2) { min-height: 0; padding: 23px 20px; border-right: 0; border-bottom: 1px solid var(--line); }
  .handover-check-grid label:last-child { border-bottom: 0; }
  .handover-final, .faq-next { padding: 70px 0; }
  .handover-sources nav, .handover-sources a, .faq-sources nav, .faq-sources a { width: 100%; }
  .handover-sources nav, .faq-sources nav { flex-direction: column; }
  .handover-sources a, .faq-sources a { text-align: center; }
  .faq-search-card > div { grid-template-columns: 1fr; }
  .faq-filter-row { align-items: flex-start; flex-direction: column; }
  .faq-categories { flex-wrap: nowrap; width: calc(100vw - 28px); padding-bottom: 8px; overflow-x: auto; }
  .faq-categories button { flex: 0 0 auto; }
  .faq-list summary { grid-template-columns: minmax(0, 1fr) 40px; gap: 14px; min-height: 112px; padding: 20px 4px; }
  .faq-list summary > span { grid-column: 1; margin-bottom: -9px; }
  .faq-list summary > strong { grid-column: 1; }
  .faq-list summary i { grid-row: 1 / span 2; grid-column: 2; }
  .faq-list details > div { padding: 0 4px 28px; }
  .faq-next a { grid-template-columns: 38px 1fr; gap: 12px; }
  .faq-next a small { grid-column: 2; }
}

/* Selling service: exclusive vs. general listing comparison */
.listing-comparison-page { color: var(--ink); background: var(--cream-50); }
.listing-comparison-hero { padding: 82px 0 88px; color: var(--white); background: var(--green-950); }
.listing-comparison-hero-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(340px, 0.68fr); align-items: center; gap: clamp(48px, 8vw, 112px); }
.listing-comparison-hero p { margin: 0 0 18px; color: var(--yellow); font-size: 14px; font-weight: 900; letter-spacing: 0.12em; }
.listing-comparison-hero h1 { margin: 0; font-family: "Noto Serif TC", "Source Han Serif TC", "PMingLiU", serif; font-size: clamp(44px, 5.5vw, 75px); line-height: 1.18; letter-spacing: -0.04em; text-wrap: pretty; }
.listing-comparison-hero h1 em { color: var(--yellow); font-style: normal; }
.listing-comparison-hero h1 + span { display: block; max-width: 690px; margin-top: 27px; color: rgba(255, 255, 255, 0.74); font-size: clamp(17px, 1.6vw, 20px); line-height: 1.8; }
.listing-hero-verdict { padding: 32px; border-radius: var(--radius-lg); color: var(--ink); background: var(--yellow); box-shadow: 15px 15px 0 var(--red); }
.listing-hero-verdict small { display: inline-block; margin-bottom: 15px; color: var(--green-950); font-size: 13px; font-weight: 900; letter-spacing: 0.08em; }
.listing-hero-verdict > strong { display: block; font-family: "Noto Serif TC", "Source Han Serif TC", "PMingLiU", serif; font-size: clamp(24px, 2.7vw, 34px); line-height: 1.45; }
.listing-hero-verdict ul { margin: 24px 0 20px; padding: 0; border-top: 1px solid rgba(23, 61, 53, 0.28); list-style: none; }
.listing-hero-verdict li { padding: 11px 0; border-bottom: 1px solid rgba(23, 61, 53, 0.28); font-weight: 900; }
.listing-hero-verdict li::before { margin-right: 9px; color: var(--red); content: "✓"; }
.listing-hero-verdict p { margin: 0; color: rgba(23, 61, 53, 0.72); font-size: 13px; font-weight: 700; letter-spacing: 0; }
.listing-structure-section { padding: 98px 0 112px; }
.listing-section-heading { display: flex; align-items: flex-start; gap: 19px; margin-bottom: 42px; }
.listing-section-heading > span { display: grid; width: 48px; height: 48px; flex: 0 0 auto; place-items: center; border-radius: 50%; color: var(--white); background: var(--red); font-weight: 900; }
.listing-section-heading p { margin: 0 0 5px; color: var(--green-900); font-size: 12px; font-weight: 900; letter-spacing: 0.13em; }
.listing-section-heading h2 { margin: 0; font-family: "Noto Serif TC", "Source Han Serif TC", "PMingLiU", serif; font-size: clamp(31px, 4vw, 48px); line-height: 1.25; text-wrap: pretty; }
.listing-structure-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.listing-system { position: relative; display: flex; min-width: 0; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); box-shadow: var(--shadow-1); }
.listing-system > header { min-height: 220px; padding: 35px; border-bottom: 1px solid var(--line); }
.listing-system > header > span { color: var(--muted); font-size: 13px; font-weight: 900; letter-spacing: 0.08em; }
.listing-system > header h3 { margin: 10px 0 10px; font-family: "Noto Serif TC", "Source Han Serif TC", "PMingLiU", serif; font-size: clamp(27px, 3vw, 39px); }
.listing-system > header p { margin: 0; color: var(--muted); line-height: 1.75; }
.listing-system-exclusive { border: 3px solid var(--green-950); box-shadow: 12px 12px 0 var(--yellow); }
.listing-system-exclusive > header { color: var(--white); background: var(--green-950); }
.listing-system-exclusive > header > span { color: var(--yellow); }
.listing-system-exclusive > header p { color: rgba(255, 255, 255, 0.7); }
.listing-recommended { position: absolute; z-index: 2; top: 0; right: 0; padding: 9px 14px; color: var(--ink); background: var(--yellow); font-size: 12px; font-weight: 900; }
.listing-general-diagram, .listing-exclusive-diagram { display: grid; min-height: 330px; place-items: center; padding: 36px; background: #f0efe8; }
.listing-general-diagram { grid-template-columns: 0.75fr 1.25fr; gap: 54px; }
.listing-house-node { position: relative; display: grid; width: 106px; height: 106px; place-items: center; border-radius: 50%; color: var(--white); background: var(--red); text-align: center; box-shadow: 0 0 0 9px rgba(223, 36, 67, 0.12); }
.listing-house-node span, .listing-house-node strong { display: block; }
.listing-house-node span { font-size: 12px; }
.listing-house-node strong { font-size: 20px; }
.listing-agent-nodes { display: grid; gap: 15px; width: 100%; }
.listing-agent-nodes > span { position: relative; display: grid; min-height: 64px; align-content: center; padding: 10px 17px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); font-weight: 900; }
.listing-agent-nodes > span::before { position: absolute; top: 50%; right: 100%; width: 48px; border-top: 1px dashed #9c9a90; content: ""; }
.listing-agent-nodes small { color: var(--muted); font-weight: 500; }
.listing-exclusive-diagram { grid-template-columns: auto 1fr; grid-template-rows: auto auto; gap: 24px 40px; background: #edf6ef; }
.listing-exclusive-diagram .listing-house-node { grid-row: 1 / span 2; background: var(--green-950); box-shadow: 0 0 0 9px rgba(0, 99, 54, 0.12); }
.listing-main-agent { position: relative; width: 100%; padding: 17px 20px; border-radius: 13px; color: var(--white); background: var(--green-900); }
.listing-main-agent::before { position: absolute; top: 50%; right: 100%; width: 40px; border-top: 3px solid var(--green-900); content: ""; }
.listing-main-agent small, .listing-main-agent strong { display: block; }
.listing-main-agent small { color: rgba(255, 255, 255, 0.68); }
.listing-main-agent strong { font-size: 19px; }
.listing-channel-nodes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; width: 100%; }
.listing-channel-nodes span { padding: 10px 8px; border: 1px solid rgba(0, 99, 54, 0.24); border-radius: 9px; color: var(--green-950); background: var(--white); font-size: 13px; font-weight: 900; text-align: center; }
.listing-system > footer { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding: 23px 28px 28px; }
.listing-system > footer strong { width: 100%; margin-bottom: 5px; font-size: 13px; }
.listing-system > footer span { padding: 7px 10px; border-radius: 999px; color: var(--muted); background: #ecebe5; font-size: 12px; font-weight: 900; }
.listing-system-exclusive > footer span { color: var(--green-950); background: #e2f2e7; }
.listing-chart-section { padding: 100px 0 112px; color: var(--white); background: #19241f; }
.listing-section-heading-light p { color: var(--yellow); }
.listing-comparison-table { overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.2); border-radius: var(--radius-lg); }
.listing-table-row { display: grid; grid-template-columns: 0.72fr 1fr 1fr; }
.listing-table-row > div { min-width: 0; padding: 23px 25px; border-right: 1px solid rgba(255, 255, 255, 0.14); border-bottom: 1px solid rgba(255, 255, 255, 0.14); }
.listing-table-row > div:last-child { border-right: 0; background: rgba(251, 192, 0, 0.08); }
.listing-table-row:last-child > div { border-bottom: 0; }
.listing-table-head > div { color: rgba(255, 255, 255, 0.68); background: #26342e; font-size: 13px; font-weight: 900; letter-spacing: 0.08em; }
.listing-table-head > div:last-child { color: var(--ink); background: var(--yellow); }
.listing-table-head > div:last-child span { display: block; margin-bottom: 3px; color: var(--red-dark); font-size: 11px; }
.listing-table-row [role="rowheader"] { display: flex; align-items: center; gap: 14px; }
.listing-table-row [role="rowheader"] span { color: var(--yellow); font-size: 12px; font-weight: 900; }
.listing-table-row b, .listing-table-row small { display: block; }
.listing-table-row b { font-size: 17px; }
.listing-table-row small { margin-top: 5px; color: rgba(255, 255, 255, 0.58); line-height: 1.55; }
.listing-table-row > div:last-child b { color: var(--yellow); }
.listing-value-section { padding: 108px 0; background: var(--white); }
.listing-value-layout { display: grid; grid-template-columns: minmax(270px, 0.72fr) minmax(0, 1.28fr); gap: clamp(50px, 8vw, 110px); align-items: start; }
.listing-value-intro { position: sticky; top: 100px; }
.listing-value-intro p { margin: 0 0 9px; color: var(--red-dark); font-size: 12px; font-weight: 900; letter-spacing: 0.1em; }
.listing-value-intro h2 { margin: 0 0 20px; font-family: "Noto Serif TC", "Source Han Serif TC", "PMingLiU", serif; font-size: clamp(34px, 4vw, 50px); line-height: 1.3; }
.listing-value-intro span { color: var(--muted); line-height: 1.75; }
.listing-value-chain { border-top: 1px solid var(--line); }
.listing-value-chain article { display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 18px; padding: 29px 5px; border-bottom: 1px solid var(--line); }
.listing-value-chain article > span { display: grid; width: 46px; height: 46px; place-items: center; border-radius: 50%; color: var(--white); background: var(--green-950); font-weight: 900; }
.listing-value-chain h3 { margin: 0 0 7px; font-family: "Noto Serif TC", "Source Han Serif TC", "PMingLiU", serif; font-size: clamp(22px, 2.3vw, 29px); }
.listing-value-chain p { margin: 0; color: var(--muted); line-height: 1.75; }
.listing-decision-section { padding: 102px 0 112px; background: #ecebe3; }
.listing-decision-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.listing-decision-grid article { padding: clamp(30px, 4vw, 46px); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); }
.listing-decision-grid article.is-featured { color: var(--white); background: var(--green-950); box-shadow: 12px 12px 0 var(--yellow); }
.listing-decision-grid small { color: var(--red-dark); font-weight: 900; }
.listing-decision-grid .is-featured small { color: var(--yellow); }
.listing-decision-grid h3 { margin: 10px 0 22px; font-family: "Noto Serif TC", "Source Han Serif TC", "PMingLiU", serif; font-size: clamp(27px, 3vw, 38px); }
.listing-decision-grid ul { margin: 0; padding: 0; list-style: none; }
.listing-decision-grid li { padding: 13px 0; border-top: 1px solid var(--line); font-weight: 800; }
.listing-decision-grid .is-featured li { border-color: rgba(255, 255, 255, 0.2); }
.listing-decision-grid li::before { margin-right: 9px; color: var(--green-900); content: "✓"; }
.listing-decision-grid .is-featured li::before { color: var(--yellow); }
.listing-decision-grid a { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-top: 25px; padding: 14px 17px; border-radius: 12px; color: var(--ink); background: var(--yellow); font-weight: 900; text-decoration: none; transition: transform var(--ease), background var(--ease); }
.listing-decision-grid a:hover { background: var(--white); transform: translateY(-2px); }
.listing-contract-note { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 24px; margin-top: 34px; padding: 24px 28px; border: 1px solid rgba(223, 36, 67, 0.25); border-radius: var(--radius-md); background: #fff1f3; }
.listing-contract-note strong { color: var(--red-dark); }
.listing-contract-note p { margin: 0; color: #5d4c50; }

@media (max-width: 940px) {
  .listing-comparison-hero-grid, .listing-structure-grid, .listing-value-layout { grid-template-columns: 1fr; }
  .listing-hero-verdict { max-width: 620px; }
  .listing-value-intro { position: static; }
}

@media (max-width: 680px) {
  .listing-comparison-hero { padding: 52px 0 62px; }
  .listing-comparison-hero h1 { font-size: clamp(39px, 11.5vw, 54px); }
  .listing-hero-verdict { padding: 24px 21px; box-shadow: 10px 10px 0 var(--red); }
  .listing-structure-section, .listing-chart-section, .listing-value-section, .listing-decision-section { padding: 66px 0 76px; }
  .listing-section-heading { gap: 13px; margin-bottom: 28px; }
  .listing-section-heading > span { width: 42px; height: 42px; }
  .listing-system > header { min-height: 0; padding: 29px 22px; }
  .listing-general-diagram, .listing-exclusive-diagram { min-height: 290px; padding: 26px 18px; }
  .listing-general-diagram { gap: 35px; }
  .listing-house-node { width: 86px; height: 86px; }
  .listing-agent-nodes > span::before { width: 29px; }
  .listing-exclusive-diagram { grid-template-columns: 86px 1fr; gap: 18px 25px; }
  .listing-main-agent::before { width: 25px; }
  .listing-channel-nodes { grid-template-columns: 1fr; }
  .listing-recommended { position: static; text-align: center; }
  .listing-table-head { display: none; }
  .listing-comparison-table { border: 0; border-radius: 0; }
  .listing-table-row { grid-template-columns: repeat(2, 1fr); margin-bottom: 14px; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 16px; }
  .listing-table-row > div { padding: 18px; border-bottom: 0; }
  .listing-table-row [role="rowheader"] { grid-column: 1 / -1; border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.15); background: #26342e; }
  .listing-table-row [role="cell"]::before { display: block; margin-bottom: 8px; color: rgba(255, 255, 255, 0.48); font-size: 11px; font-weight: 900; content: "一般委託"; }
  .listing-table-row [role="cell"]:last-child::before { color: var(--yellow); content: "專任委託"; }
  .listing-table-row b { font-size: 15px; }
  .listing-table-row small { font-size: 12px; }
  .listing-decision-grid { grid-template-columns: 1fr; }
  .listing-contract-note { grid-template-columns: 1fr; gap: 7px; padding: 22px; }
}

/* Selling service: top 10 Q&A and top 10 dispute prevention */
.selling-faq-hero { position: relative; overflow: hidden; }
.selling-faq-hero::after { position: absolute; right: -120px; bottom: -190px; width: 430px; height: 430px; border: 70px solid rgba(251, 192, 0, 0.1); border-radius: 50%; content: ""; pointer-events: none; }
.selling-faq-hero .section-inner { position: relative; z-index: 1; }
.selling-faq-totals { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 31px; }
.selling-faq-totals > span { display: inline-flex; align-items: center; gap: 9px; padding: 8px 14px; border: 1px solid rgba(255, 255, 255, 0.25); border-radius: 999px; color: rgba(255, 255, 255, 0.76); font-size: 13px; font-weight: 800; }
.selling-faq-totals strong { color: var(--yellow); font-family: Georgia, serif; font-size: 22px; }
.selling-faq-workspace { background: var(--cream-50); }
.selling-faq-filter-row { position: sticky; z-index: 4; top: 78px; margin: -24px 0 42px; padding: 14px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255, 253, 246, 0.94); box-shadow: var(--shadow-1); backdrop-filter: blur(12px); }
.selling-faq-section-label { display: grid; grid-template-columns: 54px minmax(0, 1fr); align-items: center; gap: 17px; padding: 26px 6px 22px; border-bottom: 1px solid var(--line); }
.selling-faq-section-label[hidden] { display: none; }
.selling-faq-section-label > span { display: grid; width: 48px; height: 48px; place-items: center; border-radius: 50%; color: var(--white); background: var(--green-950); font-weight: 900; }
.selling-faq-section-label small, .selling-faq-section-label strong { display: block; }
.selling-faq-section-label small { margin-bottom: 3px; color: var(--green-900); font-size: 11px; font-weight: 900; letter-spacing: 0.13em; }
.selling-faq-section-label strong { font-family: "Noto Serif TC", "Source Han Serif TC", "PMingLiU", serif; font-size: clamp(28px, 3.4vw, 41px); }
.selling-faq-dispute-label { margin-top: 72px; }
.selling-faq-dispute-label > span { background: var(--red); }
.selling-faq-dispute-label small { color: var(--red-dark); }
.selling-faq-list summary > span { color: var(--green-900); }
.selling-faq-list details[data-category="dispute"] summary > span { color: var(--red-dark); }
.selling-faq-list details[data-category="dispute"][open] { background: #fff1f3; }
.selling-faq-list details > div p b { color: var(--green-950); }
.selling-faq-list details[data-category="dispute"] > div p b { color: var(--red-dark); }
.selling-faq-safety { padding: 100px 0; color: var(--white); background: #19241f; }
.selling-faq-safety .section-inner { display: grid; grid-template-columns: minmax(260px, 0.75fr) minmax(0, 1.25fr); gap: clamp(50px, 8vw, 110px); align-items: start; }
.selling-faq-safety p { margin: 0 0 9px; color: var(--yellow); font-size: 12px; font-weight: 900; letter-spacing: 0.13em; }
.selling-faq-safety h2 { margin: 0; font-family: "Noto Serif TC", "Source Han Serif TC", "PMingLiU", serif; font-size: clamp(33px, 4vw, 50px); line-height: 1.35; text-wrap: pretty; }
.selling-faq-safety ol { margin: 0; padding: 0; border-top: 1px solid rgba(255, 255, 255, 0.2); list-style: none; }
.selling-faq-safety li { display: grid; grid-template-columns: 45px minmax(0, 1fr); gap: 13px; padding: 21px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.2); }
.selling-faq-safety li > span { grid-row: 1 / span 2; color: var(--yellow); font-weight: 900; }
.selling-faq-safety li strong, .selling-faq-safety li small { display: block; }
.selling-faq-safety li strong { font-size: 18px; }
.selling-faq-safety li small { color: rgba(255, 255, 255, 0.58); }
.selling-faq-sources nav { flex-wrap: wrap; justify-content: flex-end; }

@media (max-width: 900px) {
  .selling-faq-filter-row { position: static; margin: 0 0 36px; }
  .selling-faq-safety .section-inner { grid-template-columns: 1fr; }
  .selling-faq-sources nav { justify-content: flex-start; }
}

@media (max-width: 620px) {
  .selling-faq-totals { gap: 7px; }
  .selling-faq-totals > span { padding: 7px 11px; }
  .selling-faq-filter-row { padding: 12px; }
  .selling-faq-filter-row .faq-categories { width: calc(100vw - 58px); }
  .selling-faq-section-label { grid-template-columns: 43px minmax(0, 1fr); gap: 11px; padding-top: 18px; }
  .selling-faq-section-label > span { width: 40px; height: 40px; font-size: 13px; }
  .selling-faq-dispute-label { margin-top: 48px; }
  .selling-faq-safety { padding: 70px 0; }
}

@media (max-width: 620px) {
  .footer-brand-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-brand-row .line-qr-card {
    grid-template-columns: 126px minmax(0, 1fr);
    align-items: center;
    flex-basis: auto;
    width: 100%;
    max-width: 360px;
    padding: 12px;
    text-align: left;
  }

  .line-qr-card span {
    padding: 0 8px;
  }

  .line-qr-card strong {
    font-size: 15px;
  }
}

/* Keep the primary navigation within reach while browsing on phones and tablets. */
@media (max-width: 1060px) {
  html {
    scroll-padding-top: 88px;
  }

  body {
    padding-top: 76px;
  }

  .site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 1000;
    width: 100%;
    box-shadow: 0 8px 24px rgba(20, 43, 33, 0.1);
  }

  .header-inner,
  .calculator-header .header-inner {
    min-height: 76px;
  }

  .mobile-panel {
    top: 76px;
    max-height: calc(100vh - 92px);
    max-height: calc(100dvh - 92px);
  }
}

@media (max-width: 620px) {
  html {
    scroll-padding-top: 82px;
  }

  body {
    padding-top: 70px;
  }

  .header-inner,
  .calculator-header .header-inner {
    min-height: 70px;
  }

  .mobile-panel {
    top: 70px;
    max-height: calc(100vh - 84px);
    max-height: calc(100dvh - 84px);
  }
}

/* Recruitment-focused homepage v0 */
.recruitment-home .brand-text {
  color: #151515;
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 0.01em;
}

/* Mobile navigation mirrors the desktop controls without a hamburger panel. */
@media (max-width: 1060px) {
  html {
    scroll-padding-top: 116px;
  }

  body {
    padding-top: 108px;
  }

  .site-header {
    overflow: visible;
  }

  .header-inner,
  .calculator-header .header-inner {
    display: grid;
    width: 100%;
    min-height: 108px;
    grid-template-rows: 58px 50px;
    gap: 0;
    padding-inline: 14px;
  }

  .brand {
    min-width: 0;
    justify-self: start;
  }

  .desktop-nav {
    display: flex;
    width: 100%;
    min-width: 0;
    align-self: stretch;
    justify-content: flex-start;
    gap: 4px;
    padding: 3px 0;
    overflow-x: auto;
    overflow-y: visible;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
  }

  .desktop-nav::-webkit-scrollbar {
    display: none;
  }

  .desktop-nav .nav-home,
  .desktop-nav .nav-trigger {
    height: 44px;
    min-height: 44px;
    flex: 0 0 auto;
    padding: 8px 11px;
    border: 1px solid rgba(23, 61, 53, 0.1);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.74);
    font-size: 14px;
    line-height: 1;
    white-space: nowrap;
    scroll-snap-align: start;
  }

  .desktop-nav .nav-group.is-open .nav-trigger {
    border-color: #151515;
    color: #151515;
    background: var(--yellow);
    box-shadow: 0 3px 0 #151515;
  }

  .desktop-nav .nav-home:focus-visible,
  .desktop-nav .nav-trigger:focus-visible {
    outline: 3px solid rgba(255, 188, 0, 0.46);
    outline-offset: 1px;
  }

  .desktop-nav .dropdown {
    display: none;
  }

  .desktop-nav .dropdown-link {
    min-height: 48px;
    display: flex;
    align-items: center;
    border-radius: 9px;
    color: #151515;
    font-size: 16px;
    font-weight: 750;
  }

  .desktop-nav .dropdown-link + .dropdown-link {
    border-top: 1px solid rgba(23, 61, 53, 0.1);
  }

  .desktop-nav .nav-group.is-open .dropdown,
  .desktop-nav .nav-group:last-child.is-open .dropdown {
    display: none;
  }

  .mobile-toggle,
  .mobile-panel {
    display: none !important;
  }

  .mobile-panel.is-direct-submenu {
    position: fixed;
    top: 112px;
    right: 12px;
    left: 12px;
    z-index: 1020;
    display: block !important;
    width: auto;
    max-height: calc(100dvh - 128px);
    padding: 10px;
    overflow-y: auto;
    border: 2px solid var(--yellow);
    border-radius: 16px;
    background: #fffdf7;
    box-shadow: 0 18px 45px rgba(20, 43, 33, 0.24);
  }

  .mobile-panel.is-direct-submenu .mobile-nav {
    display: block;
  }

  .mobile-panel.is-direct-submenu .mobile-home,
  .mobile-panel.is-direct-submenu .mobile-group[hidden],
  .mobile-panel.is-direct-submenu .mobile-group summary {
    display: none;
  }

  .mobile-panel.is-direct-submenu .mobile-submenu {
    display: grid;
    padding: 0;
  }

  .mobile-panel.is-direct-submenu .mobile-link {
    min-height: 50px;
    display: flex;
    align-items: center;
    padding: 12px 14px;
    border-radius: 9px;
    color: #151515;
    font-size: 16px;
    font-weight: 750;
  }

  .mobile-panel.is-direct-submenu .mobile-link + .mobile-link {
    border-top: 1px solid rgba(23, 61, 53, 0.1);
  }
}

@media (max-width: 620px) {
  .recruitment-home .brand-text {
    font-size: 22px;
  }
}

.recruitment-home .brand-text span {
  color: inherit;
}

.recruitment-intro {
  padding: clamp(66px, 8vw, 102px) 0 clamp(58px, 7vw, 88px);
  border-bottom: 1px solid var(--line);
}

.recruitment-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(300px, 0.82fr);
  align-items: end;
  gap: clamp(38px, 7vw, 92px);
}

.recruitment-kicker,
.recruitment-section-heading > p {
  margin: 0 0 14px;
  color: var(--red-dark);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.13em;
}

.recruitment-intro h1 {
  max-width: 760px;
  color: var(--green-950);
  font-size: clamp(42px, 5.4vw, 72px);
  line-height: 1.16;
}

.recruitment-lead {
  margin: 0;
  padding: 26px 0 4px;
  border-top: 5px solid var(--yellow);
  color: var(--muted);
  font-size: clamp(17px, 1.65vw, 20px);
  line-height: 1.85;
}

.recruitment-advantages {
  padding: clamp(72px, 9vw, 112px) 0;
  background: var(--white);
}

.recruitment-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 40px;
}

.recruitment-section-heading > p {
  margin: 0 0 7px;
}

.recruitment-section-heading h2 {
  margin: 0;
  color: var(--green-950);
  font-size: clamp(34px, 4.5vw, 54px);
  line-height: 1.2;
}

.recruitment-advantage-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.recruitment-advantage {
  min-height: 330px;
  padding: clamp(26px, 3.5vw, 40px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--cream-50);
}

.recruitment-advantage.is-featured {
  color: var(--white);
  background: var(--green-950);
}

.recruitment-advantage > span {
  display: block;
  color: var(--red);
  font-family: Georgia, serif;
  font-size: 15px;
  font-weight: 700;
}

.recruitment-advantage.is-featured > span {
  color: var(--yellow);
}

.recruitment-advantage h3 {
  margin: 88px 0 16px;
  color: var(--green-950);
  font-size: clamp(25px, 2.7vw, 34px);
  line-height: 1.3;
}

.recruitment-advantage.is-featured h3 {
  color: var(--white);
}

.recruitment-advantage p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.recruitment-advantage.is-featured p {
  color: rgba(255, 255, 255, 0.7);
}

.recruitment-story {
  padding: clamp(72px, 9vw, 112px) 0;
  background: var(--cream-100);
}

.recruitment-story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
  gap: clamp(36px, 7vw, 88px);
  align-items: center;
}

.recruitment-photo-slot {
  position: relative;
  display: grid;
  min-height: 340px;
  aspect-ratio: 4 / 3;
  place-items: center;
  overflow: hidden;
  border: 1px dashed rgba(0, 99, 54, 0.34);
  border-radius: var(--radius-lg);
  color: var(--green-950);
  background: linear-gradient(145deg, var(--yellow-soft), var(--white));
}

.recruitment-photo-slot::before {
  position: absolute;
  inset: 22px;
  border: 1px solid rgba(0, 99, 54, 0.16);
  border-radius: calc(var(--radius-lg) - 8px);
  content: "";
}

.recruitment-photo-slot span {
  position: relative;
  z-index: 1;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 253, 250, 0.88);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.recruitment-story-copy {
  max-width: 520px;
}

.recruitment-story-label {
  margin: 0 0 18px;
  color: var(--red);
  font-family: Georgia, serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.recruitment-story-copy h2 {
  margin: 0 0 24px;
  color: var(--green-950);
  font-size: clamp(34px, 4.2vw, 52px);
  line-height: 1.24;
  text-wrap: pretty;
}

.recruitment-story-copy h2 + p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(17px, 1.65vw, 20px);
  line-height: 1.85;
  text-wrap: pretty;
}

.recruitment-fit {
  padding: clamp(72px, 9vw, 108px) 0;
  color: var(--white);
  background: linear-gradient(135deg, var(--green-950) 0%, var(--green-900) 100%);
}

.recruitment-fit-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(42px, 8vw, 110px);
}

.recruitment-section-heading-light {
  display: block;
  margin: 0;
}

.recruitment-section-heading-light > p {
  color: var(--yellow);
}

.recruitment-section-heading-light h2 {
  color: var(--white);
}

.recruitment-fit-list {
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.34);
  list-style: none;
}

.recruitment-fit-list li {
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 25px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.34);
}

.recruitment-fit-list span {
  color: var(--yellow);
  font-family: Georgia, serif;
  font-size: 15px;
  font-weight: 700;
}

.recruitment-fit-list p {
  margin: 0;
  color: rgba(255, 255, 255, 0.94);
  font-size: clamp(17px, 1.7vw, 20px);
  line-height: 1.7;
}

@media (max-width: 900px) {
  .recruitment-intro-grid,
  .recruitment-story-grid,
  .recruitment-fit-grid {
    grid-template-columns: 1fr;
  }

  .recruitment-intro-grid {
    align-items: start;
  }

  .recruitment-lead {
    max-width: 680px;
  }

  .recruitment-advantage-grid {
    grid-template-columns: 1fr;
  }

  .recruitment-advantage {
    min-height: 0;
  }

  .recruitment-advantage h3 {
    margin-top: 42px;
  }

  .recruitment-story-copy {
    max-width: 680px;
  }
}

@media (max-width: 620px) {
  .recruitment-home .brand-text {
    font-size: 20px;
  }

  .recruitment-intro {
    padding: 50px 0 58px;
  }

  .recruitment-intro h1 {
    font-size: clamp(38px, 11vw, 52px);
  }

  .recruitment-section-heading {
    display: block;
    margin-bottom: 28px;
  }

  .recruitment-advantage {
    padding: 27px 23px 30px;
  }

  .recruitment-story {
    padding: 64px 0;
  }

  .recruitment-photo-slot {
    min-height: 240px;
  }

  .recruitment-fit-list li {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 10px;
  }
}
