.relocation-page {
  --rf-ink: #071b38;
  --rf-deep: #031126;
  --rf-cream: #f2f0e8;
  --rf-paper: #fbfaf6;
  --rf-mint: #3ce0b5;
  --rf-gold: #ddb77d;
  --rf-coral: #d94870;
  color: var(--rf-ink);
  background: var(--rf-paper);
}

.rf-kicker,
.rf-step-number {
  margin: 0;
  color: var(--rf-mint);
  letter-spacing: .16em;
  text-transform: uppercase;
  font-size: 10px;
  font-weight: 800;
}

.rf-hero {
  min-height: min(740px, calc(100vh - 92px));
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(320px, .6fr);
  align-items: end;
  gap: clamp(38px, 8vw, 120px);
  padding: clamp(58px, 8vw, 118px) 4vw clamp(50px, 7vw, 88px);
  color: var(--rf-cream);
  background:
    radial-gradient(circle at 88% 20%, rgba(45,107,255,.32), transparent 27rem),
    linear-gradient(115deg, var(--rf-deep) 0%, #08234b 100%);
  overflow: hidden;
  position: relative;
}

.rf-hero::after {
  content: '深';
  position: absolute;
  right: -.05em;
  bottom: -.38em;
  color: rgba(221,183,125,.055);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(330px, 48vw, 760px);
  line-height: 1;
  pointer-events: none;
}

.rf-hero-copy { position: relative; z-index: 1; max-width: 1030px; }
.rf-hero .crumb { margin-bottom: clamp(52px, 8vw, 104px); }
.rf-hero h1 {
  max-width: 1020px;
  margin: 17px 0 24px;
  color: var(--rf-cream);
  letter-spacing: -.065em;
  text-wrap: balance;
  font-family: Arial, Helvetica Neue, sans-serif;
  font-size: clamp(58px, 7.7vw, 124px);
  font-weight: 800;
  line-height: .84;
  text-transform: uppercase;
}
.rf-hero h1 em {
  color: var(--rf-gold);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: .64em;
  font-weight: 400;
  text-transform: none;
}
.rf-hero-copy > p:not(.crumb, .rf-kicker, .verified) {
  max-width: 720px;
  margin: 0;
  color: rgba(242,240,232,.76);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(18px, 1.7vw, 25px);
  line-height: 1.48;
}
.rf-start {
  min-height: 50px;
  width: fit-content;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-top: 28px;
  padding: 0 20px;
  color: var(--rf-ink);
  background: var(--rf-mint);
  letter-spacing: .11em;
  text-transform: uppercase;
  font-size: 9px;
  font-weight: 800;
  transition: background .18s, color .18s;
}
.rf-start:hover { color: var(--rf-cream); background: transparent; box-shadow: inset 0 0 0 1px var(--rf-cream); }
.rf-hero .verified { margin: 20px 0 0; color: rgba(242,240,232,.54); font-size: 9px; }

.rf-hero-board {
  position: relative;
  z-index: 1;
  display: grid;
  border: 1px solid rgba(255,255,255,.24);
  background: rgba(255,255,255,.045);
  backdrop-filter: blur(10px);
}
.rf-hero-board div { min-height: 108px; display: grid; grid-template-columns: 84px 1fr; align-items: center; gap: 18px; padding: 18px; }
.rf-hero-board div + div { border-top: 1px solid rgba(255,255,255,.18); }
.rf-hero-board strong { color: var(--rf-gold); font-family: Georgia, 'Times New Roman', serif; font-size: 49px; font-weight: 400; line-height: 1; }
.rf-hero-board span { color: rgba(242,240,232,.72); letter-spacing: .11em; text-transform: uppercase; font-size: 8px; font-weight: 800; line-height: 1.45; }

.rf-planner { padding: clamp(56px, 7vw, 98px) 4vw; background: var(--rf-cream); }
.rf-planner-head,
.rf-sales > header,
.rf-result-head {
  max-width: 1450px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, .65fr);
  align-items: end;
  gap: 32px;
}
.rf-planner-head h2,
.rf-sales > header h2,
.rf-result h2 {
  margin: 10px 0 0;
  letter-spacing: -.045em;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(40px, 5vw, 72px);
  font-weight: 400;
  line-height: 1;
}
.rf-planner-head > p,
.rf-sales > header > p { margin: 0; color: rgba(7,27,56,.68); font-size: 14px; line-height: 1.65; }

.rf-progress {
  max-width: 1450px;
  margin: 36px auto 0;
  border: 1px solid rgba(7,27,56,.2);
  border-bottom: 0;
  padding: 18px 24px 0;
  background: var(--rf-paper);
}
.rf-progress-copy { display: flex; justify-content: space-between; gap: 20px; color: rgba(7,27,56,.65); letter-spacing: .09em; text-transform: uppercase; font-size: 9px; font-weight: 800; }
.rf-progress-copy strong { color: var(--rf-coral); }
.rf-progress-track { height: 3px; margin: 12px 0 17px; background: rgba(7,27,56,.12); }
.rf-progress-track span { width: 25%; height: 100%; display: block; background: var(--rf-mint); transition: width .28s ease; }
.rf-progress ol { margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); list-style: none; }
.rf-progress li { border-top: 1px solid rgba(7,27,56,.15); padding: 12px 8px; color: rgba(7,27,56,.48); text-align: center; font-size: 10px; font-weight: 800; }
.rf-progress li[aria-current='step'] { color: var(--rf-ink); border-top-color: var(--rf-mint); background: rgba(60,224,181,.1); }
.rf-progress li[data-complete='true'] { color: var(--rf-coral); }

.rf-form {
  max-width: 1450px;
  min-height: 610px;
  margin: 0 auto;
  border: 1px solid rgba(7,27,56,.2);
  background: var(--rf-paper);
  padding: clamp(30px, 5vw, 72px);
  display: flex;
  flex-direction: column;
}
.rf-step[hidden] { display: none; }
.rf-step h3 {
  max-width: 920px;
  margin: 13px 0 12px;
  letter-spacing: -.045em;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(38px, 5.3vw, 76px);
  font-weight: 400;
  line-height: 1;
}
.rf-step > p:not(.rf-step-number, .rf-field-error) { max-width: 680px; margin: 0; color: rgba(7,27,56,.66); font-size: 14px; line-height: 1.6; }
.rf-options { margin-top: 34px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid rgba(7,27,56,.2); }
.rf-options label { min-height: 170px; display: block; position: relative; padding: 22px; cursor: pointer; transition: background .18s, color .18s; }
.rf-options label + label { border-left: 1px solid rgba(7,27,56,.2); }
.rf-options input { position: absolute; top: 18px; right: 18px; accent-color: var(--rf-coral); }
.rf-options span { height: 100%; display: flex; flex-direction: column; justify-content: flex-end; gap: 7px; }
.rf-options strong { font-family: Georgia, 'Times New Roman', serif; font-size: 20px; font-weight: 400; line-height: 1.15; }
.rf-options small { color: rgba(7,27,56,.6); font-size: 11px; line-height: 1.45; }
.rf-options label:hover { background: rgba(7,27,56,.05); }
.rf-options label:has(input:checked) { color: var(--rf-cream); background: var(--rf-ink); }
.rf-options label:has(input:checked) small { color: rgba(242,240,232,.66); }
.rf-options--checks { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rf-options--checks label:nth-child(4) { border-left: 0; border-top: 1px solid rgba(7,27,56,.2); }
.rf-options--checks label:nth-child(n+5) { border-top: 1px solid rgba(7,27,56,.2); }
.rf-field-error { margin: 12px 0 0; color: var(--rf-coral); font-size: 12px; font-weight: 700; }

.rf-form-actions { margin-top: auto; padding-top: 42px; display: flex; align-items: center; gap: 10px; }
.rf-next,
.rf-back,
.rf-reset {
  min-height: 50px;
  border: 1px solid var(--rf-ink);
  padding: 0 20px;
  cursor: pointer;
  letter-spacing: .1em;
  text-transform: uppercase;
  font: 800 9px/1 Arial, Helvetica Neue, sans-serif;
}
.rf-next { min-width: 210px; margin-left: auto; color: var(--rf-cream); background: var(--rf-ink); }
.rf-next:hover { color: var(--rf-ink); background: var(--rf-mint); }
.rf-back,
.rf-reset { color: var(--rf-ink); background: transparent; }
.rf-back:hover,
.rf-reset:hover { background: rgba(7,27,56,.06); }

.rf-result {
  max-width: 1450px;
  margin: 0 auto;
  border: 1px solid rgba(255,255,255,.2);
  color: var(--rf-cream);
  background:
    radial-gradient(circle at 90% 0%, rgba(45,107,255,.25), transparent 30rem),
    var(--rf-ink);
  padding: clamp(30px, 5vw, 72px);
}
.rf-result-head { margin: 0; }
.rf-result h2 { color: var(--rf-cream); }
.rf-result-head > div > p:last-child { max-width: 720px; color: rgba(242,240,232,.68); font-size: 14px; line-height: 1.65; }
.rf-package { border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.05); padding: 22px; }
.rf-package span { display: block; color: var(--rf-mint); letter-spacing: .13em; text-transform: uppercase; font-size: 9px; font-weight: 800; }
.rf-package strong { display: block; margin-top: 10px; font-family: Georgia, 'Times New Roman', serif; font-size: 28px; font-weight: 400; }
.rf-package small { display: block; margin-top: 8px; color: rgba(242,240,232,.62); font-size: 11px; line-height: 1.5; }
.rf-plan-list { margin: 38px 0 0; padding: 0; list-style: none; counter-reset: rf-plan; display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid rgba(255,255,255,.2); }
.rf-plan-list li { min-height: 210px; counter-increment: rf-plan; padding: 22px; display: flex; flex-direction: column; justify-content: flex-end; }
.rf-plan-list li + li { border-left: 1px solid rgba(255,255,255,.2); }
.rf-plan-list li::before { content: '0' counter(rf-plan); margin-bottom: auto; color: var(--rf-gold); font-family: Georgia, 'Times New Roman', serif; font-size: 30px; }
.rf-plan-list strong { font-family: Georgia, 'Times New Roman', serif; font-size: 19px; font-weight: 400; }
.rf-plan-list span { margin-top: 8px; color: rgba(242,240,232,.64); font-size: 11px; line-height: 1.5; }
.rf-plan-list a { margin-top: 12px; color: var(--rf-mint); text-decoration: underline; text-underline-offset: 4px; font-size: 10px; font-weight: 800; }
.rf-result-actions { margin-top: 30px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.rf-book { min-height: 52px; display: inline-flex; align-items: center; gap: 26px; padding: 0 20px; color: var(--rf-ink); background: var(--rf-mint); letter-spacing: .1em; text-transform: uppercase; font-size: 9px; font-weight: 800; }
.rf-book:hover { color: var(--rf-cream); background: transparent; box-shadow: inset 0 0 0 1px var(--rf-cream); }
.rf-email { color: var(--rf-cream); text-decoration: underline; text-underline-offset: 4px; font-size: 11px; }
.rf-result .rf-reset { color: rgba(242,240,232,.6); border-color: rgba(255,255,255,.28); }
.rf-result-note { max-width: 860px; margin: 20px 0 0; color: rgba(242,240,232,.48); font-size: 10px; line-height: 1.5; }

.rf-sales { padding: clamp(56px, 7vw, 96px) 4vw; color: var(--rf-cream); background: var(--rf-deep); }
.rf-sales > header h2 { color: var(--rf-cream); }
.rf-sales > header > p { color: rgba(242,240,232,.63); }
.rf-service-grid { max-width: 1450px; margin: 38px auto 0; display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid rgba(255,255,255,.2); }
.rf-service-grid article { min-height: 440px; padding: 24px; display: flex; flex-direction: column; }
.rf-service-grid article + article { border-left: 1px solid rgba(255,255,255,.2); }
.rf-service-grid article > span { color: var(--rf-gold); font-family: Georgia, 'Times New Roman', serif; font-size: 30px; }
.rf-service-grid article > p { margin: 36px 0 8px; color: var(--rf-mint); letter-spacing: .14em; text-transform: uppercase; font-size: 9px; font-weight: 800; }
.rf-service-grid h3 { margin: 0; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(28px, 3vw, 42px); font-weight: 400; line-height: 1; }
.rf-service-grid article > strong { margin: 14px 0 0; color: var(--rf-gold); font-size: 13px; }
.rf-service-grid ul { margin: 24px 0 30px; padding: 0; list-style: none; display: grid; gap: 10px; }
.rf-service-grid li { color: rgba(242,240,232,.66); font-size: 12px; }
.rf-service-grid li::before { content: '—'; margin-right: 8px; color: var(--rf-mint); }
.rf-service-grid a { margin-top: auto; color: var(--rf-mint); text-decoration: underline; text-underline-offset: 4px; font-size: 11px; font-weight: 800; }

.rf-proof { max-width: 1450px; margin: 66px auto 0; border-top: 1px solid rgba(255,255,255,.2); padding-top: 32px; }
.rf-proof > div { margin-top: 22px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.rf-proof blockquote { margin: 0; border-left: 2px solid var(--rf-mint); padding: 2px 0 2px 18px; }
.rf-proof blockquote p { margin: 0 0 14px; font-family: Georgia, 'Times New Roman', serif; font-size: 17px; font-style: italic; line-height: 1.5; }
.rf-proof cite { color: rgba(242,240,232,.55); letter-spacing: .09em; text-transform: uppercase; font-size: 8px; font-style: normal; font-weight: 800; }
.rf-proof > a { display: inline-block; margin-top: 24px; color: var(--rf-mint); text-decoration: underline; text-underline-offset: 4px; font-size: 11px; }

@media (max-width: 960px) {
  .rf-hero { min-height: auto; grid-template-columns: 1fr; }
  .rf-hero-board { max-width: 520px; }
  .rf-planner-head,
  .rf-sales > header,
  .rf-result-head { grid-template-columns: 1fr; }
  .rf-options { grid-template-columns: repeat(2, 1fr); }
  .rf-options label:nth-child(3) { border-left: 0; border-top: 1px solid rgba(7,27,56,.2); }
  .rf-options label:nth-child(4) { border-top: 1px solid rgba(7,27,56,.2); }
  .rf-options--checks { grid-template-columns: repeat(2, 1fr); }
  .rf-options--checks label:nth-child(3),
  .rf-options--checks label:nth-child(5) { border-left: 0; }
  .rf-options--checks label:nth-child(3) { border-top: 1px solid rgba(7,27,56,.2); }
  .rf-options--checks label:nth-child(4) { border-left: 1px solid rgba(7,27,56,.2); }
  .rf-plan-list { grid-template-columns: 1fr; }
  .rf-plan-list li { min-height: 165px; }
  .rf-plan-list li + li { border-left: 0; border-top: 1px solid rgba(255,255,255,.2); }
  .rf-service-grid { grid-template-columns: 1fr; }
  .rf-service-grid article { min-height: 360px; }
  .rf-service-grid article + article { border-left: 0; border-top: 1px solid rgba(255,255,255,.2); }
}

@media (max-width: 680px) {
  .rf-hero { padding: 40px 5vw 48px; }
  .rf-hero .crumb { margin-bottom: 48px; }
  .rf-hero h1 { font-size: clamp(46px, 16vw, 78px); }
  .rf-planner,
  .rf-sales { padding-inline: 5vw; }
  .rf-progress { padding-inline: 12px; }
  .rf-progress li { font-size: 8px; }
  .rf-form { min-height: 650px; padding: 30px 18px; }
  .rf-options,
  .rf-options--checks { grid-template-columns: 1fr; }
  .rf-options label { min-height: 112px; }
  .rf-options label + label,
  .rf-options--checks label:nth-child(n) { border-left: 0; border-top: 1px solid rgba(7,27,56,.2); }
  .rf-proof > div { grid-template-columns: 1fr; }
  .rf-result { padding: 30px 20px; }
  .rf-book { width: 100%; justify-content: space-between; }
}

@media (prefers-reduced-motion: reduce) {
  .rf-progress-track span,
  .rf-options label,
  .rf-start,
  .rf-next { transition: none; }
}
