@charset "UTF-8";

:root {
  --orange: #f47716;
  --orange-dark: #bd500b;
  --ink: #342b24;
  --muted: #74675c;
  --line: #e7dccd;
  --cream: #fffbf5;
  --beige: #f3ebdf;
  --soft-orange: #fff0df;
  --serif: "Noto Serif SC", "Songti SC", "SimSun", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body {
  margin: 0;
  color: var(--ink);
  background: radial-gradient(ellipse at 5% 4%, #f9e5c9, transparent 45%), #e9e3db;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  font-size: 17px;
  line-height: 1.75;
  overflow-wrap: break-word;
}
button, input, a { -webkit-tap-highlight-color: transparent; }
button, input { font: inherit; }
button, a { touch-action: manipulation; }
button { cursor: pointer; color: inherit; border: 0; }
button:disabled { cursor: default; }
a { color: inherit; text-decoration: none; }
button, a { transition: background .18s, color .18s, box-shadow .18s; }
button:focus-visible, a:focus-visible, input:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid #d87429;
  outline-offset: 4px;
}
img { display: block; max-width: 100%; }
p, h1, h2, h3, h4 { margin: 0; }
h2 { font-family: var(--serif); font-size: 32px; font-weight: 600; line-height: 1.45; }
h3, h4 { font-size: 19px; font-weight: 650; line-height: 1.5; }
[hidden] { display: none !important; }
.page-shell {
  width: calc(100% - 40px);
  max-width: 1200px;
  margin: 24px auto;
  border-radius: 26px;
  background: var(--cream);
  overflow: hidden;
  box-shadow: 0 20px 80px #67533618;
}
.header { display: flex; align-items: center; gap: 24px; min-height: 92px; padding: 16px 40px; }
.brand { flex-shrink: 0; }
.brand img { width: 68px; height: 58px; object-fit: contain; }
.header-title { flex: 1; font-size: 17px; font-weight: 550; letter-spacing: .6px; }
.header-action {
  flex-shrink: 0;
  color: var(--orange-dark);
  font-size: 16px;
  border: 1px solid #edc09d;
  padding: 10px 18px;
  border-radius: 24px;
}
.header-action span { margin-left: 14px; }
.header-action:hover { background: var(--soft-orange); }
.hero {
  position: relative;
  margin: 0 18px;
  border-radius: 8px 8px 26px 26px;
  background: linear-gradient(90deg, #2e211ae8 0%, #33271eae 46%, #33271e20 100%), url('assets/hero.jpg') center 52% / cover;
  color: #fff9ef;
  isolation: isolate;
}
.hero-inner { padding: 42px 48px 56px; }
.eyebrow { color: var(--orange-dark); font-size: 14px; font-weight: 700; letter-spacing: 1.4px; line-height: 1.6; }
.eyebrow.light { color: #f6c491; }
.hero h1 { font-family: var(--serif); font-size: 46px; font-weight: 600; line-height: 1.35; letter-spacing: 1px; margin: 13px 0 18px; }
.hero h1 span { color: #ffbf7d; }
.hero-copy { max-width: 650px; font-size: 18px; line-height: 1.8; color: #f4e6d7; }
.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  margin-top: 25px;
  padding: 13px 22px;
  border-radius: 10px;
  background: var(--orange);
  color: #fff;
  font-size: 17px;
  font-weight: 650;
}
.primary-button:hover { background: #e4690b; }
.hero-caption { position: absolute; right: 24px; bottom: 17px; display: flex; align-items: center; gap: 9px; color: #fff5e6; font-size: 14px; letter-spacing: .6px; }
.small-dot { width: 6px; height: 6px; border-radius: 50%; display: inline-block; background: var(--orange); flex-shrink: 0; }
.stage-strip { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 24px 40px 0; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.stage-strip > div { flex: 1; display: flex; align-items: flex-start; min-width: 0; gap: 12px; }
.stage-number { width: 34px; height: 34px; display: inline-flex; justify-content: center; align-items: center; flex-shrink: 0; border-radius: 50%; border: 1px solid #ddc5aa; color: var(--orange-dark); font-size: 14px; margin-top: 1px; }
.stage-strip strong { display: block; font-size: 18px; font-weight: 650; line-height: 1.5; }
.stage-strip p span { display: block; color: var(--muted); font-size: 16px; line-height: 1.7; margin-top: 4px; }
.stage-arrow { color: #a58c74; font-size: 21px; align-self: flex-start; padding-top: 4px; }
.content-section { padding: 0 40px; margin-top: 40px; }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 22px; }
.section-heading h2 { margin-top: 6px; }
.section-hint { font-size: 16px; color: var(--muted); }
.overview-intro { color: var(--muted); font-size: 17px; line-height: 1.8; margin: -6px 0 22px; }

.summary-table { border: 1px solid var(--line); border-radius: 16px; background: #fffdfa; overflow: hidden; }
.summary-head, .summary-row { display: grid; grid-template-columns: 162px 156px 162px minmax(0, 1fr); column-gap: 22px; align-items: center; padding: 22px 25px; }
.summary-head { background: #f3e9dc; color: #846a52; padding-top: 14px; padding-bottom: 14px; font-size: 16px; font-weight: 600; }
.summary-row { min-width: 0; color: var(--ink); border-top: 1px solid var(--line); }
.summary-row:hover { background: #fff2e1; }
.summary-row:focus-visible { outline-offset: -4px; }
.summary-row > * { min-width: 0; }
.summary-name { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; }
.summary-name strong { font-size: 19px; font-weight: 650; }
.summary-name small { color: #aa7445; font-size: 14px; line-height: 1.5; }
.summary-rate strong { display: block; color: var(--orange-dark); font-size: 30px; font-weight: 650; line-height: 1.25; font-variant-numeric: tabular-nums; letter-spacing: -.5px; }
.summary-rate span, .summary-rate small { display: block; color: var(--muted); font-size: 16px; line-height: 1.65; margin-top: 4px; }
.summary-timing { font-size: 16px; line-height: 1.65; }
.summary-timing .pill, .summary-timing .badge { display: inline-block; padding: 4px 9px; border-radius: 6px; background: var(--soft-orange); color: #a4470b; font-size: 16px; font-weight: 600; }
.summary-timing small, .summary-timing > span:not(.pill):not(.badge) { display: block; color: var(--muted); font-size: 16px; margin-top: 4px; }
.summary-purpose { font-size: 16px; color: #65594e; line-height: 1.8; }
.summary-purpose strong { color: #a84e0f; font-weight: 600; }

#fee-sections { margin-top: 36px; }
.fee-section { background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; scroll-margin-top: 24px; }
.fee-section + .fee-section { margin-top: 30px; }
.fee-section:target { border-color: #dcaa7d; box-shadow: 0 0 0 3px #f3d4b34d; }
.panel-head { padding: 28px 30px; display: flex; align-items: center; justify-content: space-between; gap: 24px; background: #fffaf3; border-bottom: 1px solid var(--line); }
.panel-heading-group { min-width: 0; display: flex; align-items: center; gap: 16px; }
.panel-heading-group > div { min-width: 0; }
.panel-icon { display: inline-flex; flex-shrink: 0; padding: 15px; color: var(--orange-dark); background: var(--soft-orange); border-radius: 13px; }
.line-icon svg, .panel-icon svg { display: block; width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.panel-head h2, .panel-head h3 { font-family: var(--serif); font-size: 30px; font-weight: 600; line-height: 1.4; }
.panel-subtitle { color: #7a6858; font-size: 16px; line-height: 1.7; margin-top: 5px; }
.panel-rate { flex-shrink: 0; max-width: 250px; text-align: right; }
.panel-rate strong { color: var(--orange-dark); font-size: 36px; font-weight: 650; line-height: 1.25; font-variant-numeric: tabular-nums; }
.panel-rate span { display: block; margin-top: 5px; color: #786553; font-size: 16px; line-height: 1.65; }
.panel-body { padding: 28px 30px 30px; }
.fee-core-summary { border-left: 3px solid var(--orange); padding: 14px 18px; border-radius: 0 8px 8px 0; background: #fff4e7; color: #634b36; font-size: 18px; line-height: 1.85; margin-bottom: 25px; }
.fee-core-summary strong { color: #9f480b; font-weight: 650; }
.fee-core-summary > span { display: block; color: #a65012; font-size: 15px; line-height: 1.6; font-weight: 650; margin-bottom: 5px; }
.fee-core-summary > p { margin: 0; }
.panel-intro { font-size: 17px; color: var(--muted); line-height: 1.85; margin-bottom: 24px; }
.service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 30px; }
.service-item { min-width: 0; border-bottom: 1px solid #eee4d7; padding: 22px 0; }
.service-item:nth-child(-n+2) { padding-top: 5px; }
.service-heading { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 12px; }
.service-heading h3, .service-heading h4 { font-family: inherit; font-size: 19px; font-weight: 650; line-height: 1.55; padding-top: 1px; }
.service-index { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 32px; height: 32px; color: #ad530f; background: #fff0df; border-radius: 7px; font-size: 14px; font-weight: 600; }
.service-item p { color: #726457; font-size: 17px; line-height: 1.9; padding-left: 44px; }
.panel-note { display: flex; align-items: flex-start; gap: 11px; background: #f7f3ec; color: #766656; padding: 15px 17px; border-radius: 10px; font-size: 14px; line-height: 1.9; margin-top: 26px; }
.panel-note .note-mark { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 18px; height: 18px; border: 1px solid #b99f87; color: #9a7655; border-radius: 50%; font-size: 14px; margin-top: 4px; line-height: 1; }
.section-return { display: flex; align-items: center; justify-content: flex-end; gap: 12px; font-size: 15px; color: var(--orange-dark); padding: 16px 30px; border-top: 1px solid #eee4d7; background: #fffdf9; }
.panel-body > .section-return { margin: 25px -30px -30px; }
.section-return:hover { background: #fff2e1; }

.delivery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.delivery-card { min-width: 0; border: 1px solid #eadfce; background: #fcf8f1; border-radius: 12px; padding: 21px; }
.delivery-number { display: block; color: var(--orange-dark); font-size: 14px; font-weight: 600; letter-spacing: .6px; }
.delivery-card h4 { font-size: 19px; margin: 12px 0 9px; }
.delivery-card p { font-size: 17px; line-height: 1.85; color: var(--muted); }
.subtle-link { display: inline-flex; align-items: center; gap: 25px; font-size: 16px; color: var(--orange-dark); border-bottom: 1px solid #d8ac85; padding: 7px 0; margin-top: 23px; }
.subtle-link:hover { color: #873606; }
.formula-banner { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 15px; background: var(--soft-orange); border-radius: 12px; padding: 24px 20px; margin-bottom: 27px; font-size: 18px; }
.formula-banner strong { color: var(--orange-dark); font-size: 29px; line-height: 1.3; }
.formula-banner > span { max-width: 100%; text-align: center; }
.formula-banner .operator { color: #a57952; font-size: 25px; }
.section-subheading { font-size: 20px; margin-bottom: 22px; font-weight: 650; }
.support-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 25px; }
.support-item { min-width: 0; }
.support-item .line-icon { display: inline-flex; color: var(--orange-dark); margin-bottom: 13px; }
.support-item h4 { font-size: 19px; margin-bottom: 9px; }
.support-item p { font-size: 17px; color: var(--muted); line-height: 1.9; }
.ops-example { display: flex; align-items: flex-start; gap: 25px; border-top: 1px solid var(--line); margin-top: 27px; padding-top: 22px; font-size: 16px; color: var(--muted); line-height: 1.9; }
.ops-example > span:first-child { flex-shrink: 0; color: var(--orange-dark); font-weight: 650; }
.ops-example strong { color: #754a2a; font-size: 18px; font-weight: 600; }
.brand-detail { display: grid; grid-template-columns: 1.05fr 1fr; gap: 30px; }
.brand-explanation { display: flex; flex-direction: column; gap: 25px; min-width: 0; }
.brand-explanation h4 { font-size: 21px; margin-bottom: 10px; }
.brand-explanation p { color: var(--muted); font-size: 17px; line-height: 1.9; }
.year-pill { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; width: fit-content; padding: 11px 14px; border: 1px solid #e6c2a0; border-radius: 8px; background: #fff5e8; color: var(--orange-dark); font-size: 16px; font-weight: 550; }
.channel-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; align-items: start; }
.channel-card { min-width: 0; width: 100%; padding: 9px; border-radius: 11px; background: #f4ecdf; text-align: left; }
.channel-card:hover { background: #ecd9c2; }
.channel-card img { width: 100%; height: 320px; object-fit: contain; border-radius: 7px; background: #fff; }
.channel-card span { display: flex; justify-content: space-between; gap: 5px; padding: 10px 3px 3px; color: #806347; font-size: 14px; line-height: 1.6; }
.cashflow { display: flex; align-items: center; gap: 20px; background: #faf4ea; padding: 27px 22px; border: 1px solid #eee0ce; border-radius: 13px; margin-bottom: 27px; }
.flow-node { flex: 1; min-width: 0; text-align: center; }
.flow-node .line-icon { display: inline-flex; margin-bottom: 10px; color: var(--orange-dark); }
.flow-node strong { display: block; font-size: 20px; font-weight: 650; }
.flow-node small { display: block; color: var(--muted); font-size: 16px; margin-top: 5px; line-height: 1.7; }
.flow-arrow { color: #ac8a66; font-size: 29px; }
.deposit-callout { display: flex; align-items: center; gap: 25px; }
.deposit-amount { flex-shrink: 0; padding: 16px 25px 16px 0; border-right: 1px solid var(--line); text-align: center; }
.deposit-amount strong { display: block; color: var(--orange-dark); font-size: 34px; line-height: 1.4; font-weight: 650; font-variant-numeric: tabular-nums; }
.deposit-amount span { display: block; font-size: 16px; color: var(--muted); margin-top: 4px; }
.deposit-callout h4 { font-size: 21px; margin-bottom: 10px; }
.deposit-callout p { font-size: 17px; color: var(--muted); line-height: 1.9; }

.calculator-section { margin-top: 44px; }
.text-button { background: transparent; padding: 10px 0; font-size: 16px; color: #826d58; white-space: nowrap; }
.text-button span { color: var(--orange-dark); font-size: 20px; margin-left: 7px; }
.text-button:hover { color: var(--orange-dark); }
.calculator-layout { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: #fff; }
.calculator-inputs { padding: 29px; min-width: 0; }
.input-intro { display: flex; align-items: center; gap: 9px; font-size: 17px; margin-bottom: 24px; }
.input-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 18px; }
.input-field { display: block; min-width: 0; font-size: 16px; color: #756453; }
.input-field > div { display: flex; align-items: center; gap: 10px; border: 1px solid #d8c7b3; border-radius: 9px; margin-top: 10px; padding: 13px 14px; background: #fffdf9; }
.input-field input { width: 100%; min-width: 0; appearance: textfield; -moz-appearance: textfield; border: 0; background: transparent; color: var(--ink); font-size: 25px; font-weight: 550; line-height: 1.4; padding: 0; }
.input-field input::-webkit-inner-spin-button, .input-field input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.input-field input:focus-visible { outline: 0; }
.input-field > div:focus-within { outline: 2px solid #d98948; outline-offset: 2px; }
.input-field span { font-size: 16px; color: #93785f; white-space: nowrap; }
.input-note { color: #81715f; font-size: 14px; line-height: 1.85; margin-top: 21px; }
.calc-error { color: #a63d25; font-size: 15px; line-height: 1.7; margin-top: 12px; }
.calculator-results { min-width: 0; background: #f6ecdd; border-left: 1px solid #e4d2bb; padding: 28px 30px; }
.upfront-result > span { display: block; color: #7f5d3e; font-size: 18px; }
.upfront-result > strong { display: block; color: var(--orange-dark); font-size: 42px; line-height: 1.4; font-weight: 650; letter-spacing: -.8px; font-variant-numeric: tabular-nums; margin: 6px 0; }
.upfront-result small { color: #856a4f; font-size: 15px; line-height: 1.8; }
.upfront-result small b { font-weight: 550; }
.result-breakdown { border-top: 1px solid #dfccb3; margin: 22px 0 0; padding-top: 15px; font-size: 16px; }
.result-breakdown > div { display: flex; align-items: flex-start; justify-content: space-between; gap: 15px; margin: 11px 0; }
.result-breakdown dt { color: #7f654d; min-width: 0; }
.result-breakdown dt span { display: inline-block; color: #8c6540; background: #ece0cf; font-size: 14px; padding: 1px 5px; margin-left: 5px; border-radius: 4px; }
.result-breakdown dd { margin: 0; font-weight: 650; font-variant-numeric: tabular-nums; white-space: nowrap; }
.footnote { color: #84715f; font-size: 14px; line-height: 1.9; margin-top: 16px; }
.closing { text-align: center; padding: 49px 25px 42px; }
.closing h2 { font-size: 29px; margin: 14px 0 12px; }
.closing p { font-size: 16px; color: var(--muted); }
.closing > a { display: inline-block; font-size: 16px; color: var(--orange-dark); margin-top: 20px; }
.closing > a span { margin-left: 12px; }
footer { display: flex; align-items: center; gap: 20px; border-top: 1px solid var(--line); padding: 22px 40px; background: #f7f0e6; }
footer img { width: 50px; height: 46px; object-fit: contain; flex-shrink: 0; }
footer p { flex: 1; font-size: 15px; color: #88715c; }
footer > span { font-size: 14px; color: #88715c; }
.mobile-only { display: none; }
dialog { width: max-content; max-width: min(94vw, 600px); max-height: 94vh; border: 0; border-radius: 16px; background: #fffaf3; box-shadow: 0 25px 100px #0006; color: var(--ink); padding: 48px 20px 17px; }
dialog::backdrop { background: #211a14c7; backdrop-filter: blur(4px); }
dialog img { max-height: 75vh; max-width: 100%; margin: auto; object-fit: contain; }
dialog p { text-align: center; color: var(--muted); font-size: 16px; line-height: 1.7; padding-top: 12px; }
.dialog-close { position: absolute; top: 6px; right: 10px; width: 40px; height: 40px; background: transparent; color: #806043; font-size: 32px; line-height: 1; }

@media (max-width: 1100px) {
  .page-shell { width: calc(100% - 28px); margin: 14px auto; }
  .header { padding-right: 30px; padding-left: 30px; }
  .content-section { padding: 0 30px; }
  .stage-strip { margin-left: 30px; margin-right: 30px; gap: 12px; }
  .stage-strip > div { gap: 10px; }
  .summary-head, .summary-row { grid-template-columns: 140px 130px 145px minmax(0, 1fr); column-gap: 18px; padding-left: 22px; padding-right: 22px; }
  .summary-name strong { font-size: 18px; }
  .summary-rate strong { font-size: 28px; }
  .panel-head { padding: 25px; }
  .panel-body { padding: 25px; }
  .panel-body > .section-return { margin-left: -25px; margin-right: -25px; margin-bottom: -25px; }
  .delivery-grid { gap: 15px; }
  .delivery-card { padding: 18px; }
  .service-grid { gap: 0 24px; }
  .brand-detail { gap: 23px; grid-template-columns: 1fr 1fr; }
  .channel-gallery { gap: 11px; }
  .channel-card img { height: 290px; }
  .calculator-inputs, .calculator-results { padding: 25px; }
  footer { padding-left: 30px; padding-right: 30px; }
}

@media (max-width: 880px) {
  .stage-strip { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 22px; padding-bottom: 23px; }
  .stage-strip > div { align-items: center; gap: 14px; }
  .stage-strip p span { margin-top: 2px; }
  .stage-arrow { display: none; }
  .summary-head { display: none; }
  .summary-table { background: transparent; border: 0; border-radius: 0; display: grid; grid-template-columns: 1fr; gap: 12px; overflow: visible; }
  .summary-row { grid-template-columns: minmax(0, 1fr) minmax(110px, .8fr); column-gap: 22px; row-gap: 12px; padding: 22px 24px; border: 1px solid var(--line); border-radius: 13px; background: #fffdfa; }
  .summary-name strong { font-size: 20px; }
  .summary-rate { text-align: right; }
  .summary-rate strong { font-size: 30px; }
  .summary-timing, .summary-purpose { grid-column: 1 / -1; }
  .summary-timing { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
  .summary-timing small, .summary-timing > span:not(.pill):not(.badge) { display: inline; margin-top: 0; }
  .summary-purpose { padding-top: 10px; border-top: 1px solid #f0e5d8; }
  .panel-head h2, .panel-head h3 { font-size: 28px; }
  .panel-rate { max-width: 220px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-item:nth-child(2) { padding-top: 22px; }
  .service-item p { padding-left: 44px; }
  .delivery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .support-grid { grid-template-columns: 1fr; gap: 23px; }
  .support-item { display: grid; grid-template-columns: 30px minmax(0, 1fr); column-gap: 13px; }
  .support-item .line-icon { grid-row: 1 / 3; margin-top: 2px; margin-bottom: 0; }
  .support-item h4 { margin-bottom: 6px; }
  .brand-detail { grid-template-columns: 1fr; }
  .channel-gallery { max-width: 600px; width: 100%; gap: 18px; }
  .channel-card img { height: 360px; }
  .calculator-layout { grid-template-columns: 1fr; }
  .calculator-results { border-left: 0; border-top: 1px solid #e4d2bb; }
  .input-note { max-width: 640px; }
}

@media (max-width: 620px) {
  body { font-size: 16px; background: #eee6db; }
  .page-shell { width: 100%; max-width: none; margin: 0; border-radius: 0; box-shadow: none; }
  .header { min-height: 80px; padding: 13px 20px; gap: 12px; }
  .brand { order: 3; margin-left: auto; }
  .brand img { width: 56px; height: 50px; }
  .header-title { flex: initial; order: 1; font-size: 16px; font-weight: 600; letter-spacing: 0; }
  .header-action { display: none; }
  .hero { margin: 0 12px; border-radius: 5px 5px 22px 22px; background-position: 58% center; background-image: linear-gradient(90deg, #2f231ae3, #35271e94 90%), url('assets/hero.jpg'); }
  .hero-inner { padding: 30px 22px 56px; }
  .eyebrow { font-size: 14px; letter-spacing: .8px; }
  .hero .eyebrow { font-size: 14px; letter-spacing: 1px; }
  .hero h1 { font-size: 35px; letter-spacing: 0; line-height: 1.4; margin: 12px 0 15px; }
  .hero-copy { font-size: 16px; line-height: 1.85; }
  .primary-button { gap: 23px; font-size: 16px; padding: 12px 18px; margin-top: 21px; }
  .hero-caption { right: 17px; bottom: 15px; font-size: 14px; letter-spacing: 0; gap: 7px; }
  .mobile-only { display: block; }
  .stage-strip { margin: 21px 20px 0; padding-bottom: 23px; gap: 17px; }
  .stage-strip > div { gap: 12px; }
  .stage-strip strong { font-size: 18px; }
  .stage-strip p span { font-size: 16px; line-height: 1.65; }
  .stage-number { width: 34px; height: 34px; font-size: 14px; }
  .content-section { padding: 0 18px; margin-top: 30px; }
  .section-heading { gap: 12px; align-items: flex-start; margin-bottom: 19px; }
  .section-heading h2 { font-size: 28px; line-height: 1.45; margin-top: 6px; }
  .section-hint { display: none; }
  .overview-intro { font-size: 16px; line-height: 1.85; margin-top: -4px; margin-bottom: 19px; }
  .summary-row { column-gap: 14px; row-gap: 10px; grid-template-columns: minmax(0, 1fr) minmax(100px, .9fr); padding: 19px 18px; border-radius: 12px; }
  .summary-name { gap: 4px; }
  .summary-name strong { font-size: 19px; }
  .summary-name small { font-size: 14px; }
  .summary-rate strong { font-size: 30px; }
  .summary-rate span, .summary-rate small { font-size: 16px; line-height: 1.6; }
  .summary-timing, .summary-timing .pill, .summary-timing .badge, .summary-timing small, .summary-timing > span:not(.pill):not(.badge) { font-size: 16px; }
  .summary-purpose { font-size: 16px; padding-top: 10px; }
  #fee-sections { margin-top: 27px; }
  .fee-section { border-radius: 15px; scroll-margin-top: 14px; }
  .fee-section + .fee-section { margin-top: 24px; }
  .panel-head { display: block; padding: 22px 19px; }
  .panel-heading-group { gap: 12px; align-items: flex-start; }
  .panel-icon { padding: 11px; border-radius: 10px; margin-top: 2px; }
  .panel-icon svg { width: 25px; height: 25px; }
  .panel-head h2, .panel-head h3 { font-size: 27px; }
  .panel-subtitle { font-size: 16px; margin-top: 5px; line-height: 1.75; }
  .panel-rate { display: flex; align-items: baseline; flex-wrap: wrap; gap: 5px 12px; max-width: none; text-align: left; padding-top: 16px; margin-top: 17px; border-top: 1px solid #e9dcca; }
  .panel-rate strong { font-size: 34px; line-height: 1.3; }
  .panel-rate span { font-size: 16px; margin-top: 0; line-height: 1.7; }
  .panel-body { padding: 21px 19px 23px; }
  .fee-core-summary { font-size: 17px; line-height: 1.85; padding: 13px 14px; margin-bottom: 22px; }
  .panel-intro { font-size: 16px; line-height: 1.85; margin-bottom: 22px; }
  .service-grid { gap: 0; }
  .service-item { padding: 20px 0; }
  .service-item:nth-child(2) { padding-top: 20px; }
  .service-heading { gap: 10px; margin-bottom: 11px; }
  .service-heading h3, .service-heading h4 { font-size: 18px; line-height: 1.6; }
  .service-index { width: 29px; height: 29px; font-size: 14px; }
  .service-item p { padding-left: 0; font-size: 16px; line-height: 1.95; }
  .panel-note { padding: 13px 13px; gap: 9px; margin-top: 23px; font-size: 14px; line-height: 1.9; }
  .panel-note .note-mark { font-size: 14px; }
  .section-return { padding: 15px 19px; font-size: 15px; }
  .panel-body > .section-return { margin-left: -19px; margin-right: -19px; margin-bottom: -23px; }
  .delivery-grid { grid-template-columns: 1fr; gap: 13px; }
  .delivery-card { padding: 18px; }
  .delivery-number { font-size: 14px; }
  .delivery-card h4 { font-size: 19px; margin: 8px 0 8px; }
  .delivery-card p { font-size: 16px; line-height: 1.85; }
  .subtle-link { font-size: 16px; gap: 20px; margin-top: 21px; }
  .formula-banner { gap: 9px; font-size: 17px; line-height: 1.65; padding: 21px 15px; margin-bottom: 24px; }
  .formula-banner strong { font-size: 28px; }
  .formula-banner .operator { font-size: 23px; }
  .section-subheading { font-size: 20px; margin-bottom: 21px; }
  .support-grid { gap: 23px; }
  .support-item { grid-template-columns: 26px minmax(0, 1fr); column-gap: 12px; }
  .support-item .line-icon svg { width: 24px; height: 24px; }
  .support-item h4 { font-size: 18px; margin-bottom: 7px; }
  .support-item p { font-size: 16px; line-height: 1.9; }
  .ops-example { display: block; font-size: 16px; margin-top: 24px; padding-top: 19px; }
  .ops-example > span { display: block; }
  .ops-example > span:first-child { margin-bottom: 7px; }
  .ops-example strong { font-size: 17px; }
  .brand-detail { gap: 24px; }
  .brand-explanation { gap: 22px; }
  .brand-explanation h4 { font-size: 20px; margin-bottom: 9px; }
  .brand-explanation p { font-size: 16px; line-height: 1.9; }
  .year-pill { font-size: 16px; padding: 10px 12px; gap: 7px; }
  .channel-gallery { gap: 12px; }
  .channel-card { padding: 7px; border-radius: 9px; }
  .channel-card img { height: auto; aspect-ratio: 282 / 612; object-fit: contain; }
  .channel-card span { font-size: 14px; padding: 9px 2px 3px; }
  .cashflow { flex-direction: column; align-items: stretch; gap: 9px; padding: 20px; margin-bottom: 24px; }
  .flow-node { display: grid; grid-template-columns: 35px minmax(0, 1fr); column-gap: 10px; text-align: left; }
  .flow-node .line-icon { grid-row: 1 / 3; margin: 3px 0 0; }
  .flow-node strong { font-size: 19px; }
  .flow-node small { grid-column: 2; font-size: 16px; margin-top: 3px; }
  .flow-arrow { transform: rotate(90deg); align-self: flex-start; margin-left: 7px; font-size: 24px; line-height: 1.4; }
  .deposit-callout { display: block; }
  .deposit-amount { display: flex; align-items: baseline; gap: 13px; text-align: left; padding: 0 0 17px; margin-bottom: 18px; border-right: 0; border-bottom: 1px solid var(--line); }
  .deposit-amount strong { font-size: 32px; }
  .deposit-amount span { font-size: 16px; margin-top: 0; }
  .deposit-callout h4 { font-size: 20px; margin-bottom: 9px; }
  .deposit-callout p { font-size: 16px; line-height: 1.9; }
  .calculator-section { margin-top: 33px; }
  .calculator-section .section-heading { align-items: flex-end; flex-wrap: wrap; }
  .text-button { font-size: 16px; padding: 5px 0; }
  .text-button span { font-size: 20px; }
  .calculator-layout { border-radius: 14px; }
  .calculator-inputs { padding: 23px 19px; }
  .input-intro { font-size: 16px; margin-bottom: 21px; }
  .input-grid { gap: 18px 13px; }
  .input-field { font-size: 16px; }
  .input-field > div { padding: 12px; margin-top: 9px; }
  .input-field input { font-size: 25px; }
  .input-field span { font-size: 16px; }
  .input-note { font-size: 14px; margin-top: 19px; line-height: 1.9; }
  .calc-error { font-size: 15px; }
  .calculator-results { padding: 24px 21px; }
  .upfront-result > span { font-size: 18px; }
  .upfront-result > strong { font-size: 39px; }
  .upfront-result small { font-size: 15px; }
  .result-breakdown { font-size: 16px; padding-top: 13px; }
  .result-breakdown dt span { font-size: 14px; }
  .footnote { font-size: 14px; line-height: 1.9; margin-top: 17px; }
  .closing { padding: 38px 22px 34px; }
  .closing h2 { font-size: 26px; line-height: 1.5; margin: 12px 0; }
  .closing p, .closing > a { font-size: 16px; }
  footer { padding: 20px; gap: 14px; }
  footer img { width: 46px; height: 43px; }
  footer p { font-size: 14px; line-height: 1.8; }
  footer > span { display: none; }
  dialog { max-width: calc(100vw - 24px); padding: 46px 12px 16px; }
  dialog p { font-size: 16px; }
}

@media (max-width: 360px) {
  .header { padding-left: 16px; padding-right: 16px; }
  .header-title { font-size: 15px; }
  .hero-inner { padding-left: 18px; padding-right: 18px; }
  .hero h1 { font-size: 32px; }
  .hero .eyebrow { letter-spacing: 0; }
  .hero-caption { right: 13px; }
  .content-section { padding-left: 14px; padding-right: 14px; }
  .summary-row { padding: 18px 15px; grid-template-columns: minmax(0, 1fr) 112px; gap: 11px; }
  .summary-name strong { font-size: 18px; }
  .panel-head, .panel-body { padding-left: 16px; padding-right: 16px; }
  .panel-head h2, .panel-head h3 { font-size: 26px; }
  .panel-heading-group { gap: 10px; }
  .panel-icon { padding: 9px; }
  .panel-body > .section-return { margin-left: -16px; margin-right: -16px; }
  .input-grid { grid-template-columns: 1fr; }
  .deposit-amount { flex-wrap: wrap; gap: 4px 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
/* V3: append after the V2 stylesheet. Keep the V2 font scale and content styles. */

.fee-tabs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  align-items: stretch;
}

button.fee-tab {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-width: 0;
  min-height: 272px;
  padding: 20px 17px 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fffdf9;
  color: var(--ink);
  text-align: left;
  line-height: 1.6;
  appearance: none;
}

button.fee-tab:hover {
  border-color: #dc9c6e;
  background: #fff3e6;
}

.fee-tab-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 7px;
  min-height: 29px;
  margin-bottom: 20px;
}

.fee-tab-top > small,
.fee-tab-top > .fee-tab-index {
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}

.fee-tab .pill {
  display: inline-block;
  max-width: 100%;
  padding: 3px 7px;
  border-radius: 5px;
  background: #f3eadf;
  color: #785b43;
  font-size: 14px;
  font-weight: 550;
  line-height: 1.6;
  white-space: normal;
}

.fee-tab .fee-tab-title {
  margin: 0 0 12px;
  font-family: inherit;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
}

.fee-tab-rate {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
}

.fee-tab-rate strong {
  color: var(--orange-dark);
  font-size: 30px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.5px;
}

.fee-tab-rate > span {
  color: #715c4b;
  font-size: 16px;
  line-height: 1.65;
}

.fee-tab-purpose {
  margin: 13px 0 0;
  color: #65564a;
  font-size: 16px;
  line-height: 1.75;
}

.fee-tab-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  padding-top: 16px;
  color: var(--orange-dark);
  font-size: 15px;
  font-weight: 650;
  line-height: 1.6;
}

button.fee-tab[aria-selected="true"] {
  border-color: var(--orange);
  background: var(--orange);
  color: #3b210d;
  box-shadow: 0 7px 20px #a34a0917;
}

.fee-tab[aria-selected="true"] .fee-tab-top > small,
.fee-tab[aria-selected="true"] .fee-tab-top > .fee-tab-index,
.fee-tab[aria-selected="true"] .fee-tab-rate strong,
.fee-tab[aria-selected="true"] .fee-tab-rate > span,
.fee-tab[aria-selected="true"] .fee-tab-purpose,
.fee-tab[aria-selected="true"] .fee-tab-action {
  color: #3b210d;
}

.fee-tab[aria-selected="true"] .pill {
  background: #ffffff47;
  color: #3b210d;
}

button.fee-tab:focus-visible {
  outline: 3px solid var(--orange-dark);
  outline-offset: 4px;
}

#fee-panel.fee-section {
  margin-top: 24px;
  scroll-margin-top: 24px;
}

/* Native disclosure keeps the ten services readable without a long initial panel. */
#fee-panel .service-grid { align-items: start; }
details.service-item { min-width: 0; }
details.service-item > summary.service-heading {
  display: flex;
  align-items: center;
  min-height: 44px;
  margin: 0;
  list-style: none;
  cursor: pointer;
  touch-action: manipulation;
}
details.service-item > summary.service-heading::-webkit-details-marker { display: none; }
details.service-item > summary.service-heading::marker { content: ""; }
details.service-item > summary.service-heading h3 {
  flex: 1;
  min-width: 0;
  font-size: 19px;
  line-height: 1.6;
}
.service-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin-left: auto;
  flex: 0 0 28px;
  color: var(--orange-dark);
  font-size: 24px;
  font-weight: 400;
  line-height: 1;
  transition: transform .18s;
}
details.service-item[open] .service-toggle { transform: rotate(45deg); }
details.service-item[open] > p { margin-top: 12px; }
details.service-item > summary:focus-visible {
  outline: 3px solid #d87429;
  outline-offset: 5px;
  border-radius: 4px;
}

/* The four fee roles are kept together at the bottom, immediately before the calculator. */
.fee-roles {
  padding: 0 25px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #f7efe3;
}
.fee-role {
  display: grid;
  grid-template-columns: 28px 140px minmax(0, 1fr);
  align-items: start;
  column-gap: 19px;
  padding: 22px 0;
}
.fee-role + .fee-role { border-top: 1px solid #e3d5c3; }
.fee-role > .line-icon,
.fee-role > svg {
  width: 26px;
  height: 26px;
  margin-top: 2px;
  color: var(--orange-dark);
}
.fee-role > .line-icon svg { width: 26px; height: 26px; }
.fee-role h3 {
  margin: 0;
  font-family: inherit;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.75;
}
.fee-role p {
  margin: 0;
  color: #6e5947;
  font-size: 17px;
  line-height: 1.85;
}
.fee-role p strong { color: var(--orange-dark); font-weight: 650; }

@media (max-width: 1100px) {
  .fee-tabs { gap: 10px; }
  button.fee-tab { padding: 18px 13px 16px; }
  .fee-tab-top { margin-bottom: 16px; }
}

@media (max-width: 960px) {
  .fee-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  button.fee-tab { min-height: 250px; padding: 20px; }
  button.fee-tab:last-child { grid-column: 1 / -1; min-height: 0; }
  .fee-tab-purpose { max-width: 35em; }
  .fee-role { grid-template-columns: 26px 125px minmax(0, 1fr); column-gap: 14px; }
}

@media (max-width: 620px) {
  .fee-tabs { gap: 10px; }
  button.fee-tab { min-height: 260px; padding: 16px 13px; border-radius: 13px; }
  .fee-tab-top { align-items: flex-start; margin-bottom: 15px; }
  .fee-tab-top > small,
  .fee-tab-top > .fee-tab-index,
  .fee-tab .pill { font-size: 14px; }
  .fee-tab .fee-tab-title { font-size: 18px; margin-bottom: 11px; }
  .fee-tab-rate strong { font-size: 30px; }
  .fee-tab-rate > span,
  .fee-tab-purpose { font-size: 16px; line-height: 1.75; }
  .fee-tab-purpose { margin-top: 10px; }
  .fee-tab-action { font-size: 15px; padding-top: 13px; }
  #fee-panel.fee-section { margin-top: 19px; }
  details.service-item > summary.service-heading h3 { font-size: 18px; }
  .fee-roles { padding: 0 18px; border-radius: 14px; }
  .fee-role {
    grid-template-columns: 26px minmax(0, 1fr);
    gap: 5px 12px;
    padding: 19px 0;
  }
  .fee-role h3 { grid-column: 2; font-size: 18px; }
  .fee-role p { grid-column: 2; font-size: 16px; line-height: 1.85; }
}

@media (max-width: 360px) {
  .fee-tabs { gap: 8px; }
  button.fee-tab { padding-right: 11px; padding-left: 11px; }
  .fee-tab .pill { padding: 3px 5px; }
  .fee-roles { padding-right: 14px; padding-left: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .service-toggle { transition: none; }
}

/* Separate summary and signing-cost page. */
.summary-entry { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 28px 30px; border: 1px solid #e5c5a5; border-radius: 18px; background: #f7efe3; }
.summary-entry:hover { background: #fff0df; border-color: var(--orange); }
.summary-entry-copy { display: block; min-width: 0; }
.summary-entry h2 { margin: 7px 0 10px; font-size: 28px; }
.summary-entry-description { display: block; font-size: 17px; line-height: 1.8; color: var(--muted); }
.summary-entry-action { display: inline-flex; align-items: center; gap: 18px; flex-shrink: 0; padding: 12px 18px; border-radius: 10px; background: var(--orange); color: #3b210d; font-size: 17px; font-weight: 650; }
.header-return { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 44px; color: var(--orange-dark); font-size: 17px; font-weight: 600; }
.header-return:hover { color: #873606; }
.calculator-page .header { border-bottom: 1px solid var(--line); }
.calculator-page .header-title { text-align: center; }
.calculator-page .difference-section { margin-top: 30px; }
.subpage-end { display: flex; justify-content: center; padding: 28px 20px 36px; }
@media (max-width: 620px) {
  .summary-entry { display: block; padding: 23px 20px; border-radius: 14px; }
  .summary-entry h2 { font-size: 26px; line-height: 1.5; }
  .summary-entry-description { font-size: 16px; }
  .summary-entry-action { display: flex; justify-content: space-between; margin-top: 20px; font-size: 16px; }
  .calculator-page .header-title { display: none; }
  .calculator-page .header-return { font-size: 16px; }
  .calculator-page .difference-section { margin-top: 24px; }
  .subpage-end { padding: 24px 18px 30px; }
}
