@font-face {
  font-family: Inter;
  src: url("inter-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --navy: #10293e;
  --deep: #0b1c2c;
  --blue: #075473;
  --gold: #dfc39b;
  --teal: #116d79;
  --progress: #168597;
  --paper: #f5f8f9;
  --white: #fff;
  --slate: #526779;
  --line: #d6e0e5;
  --on-dark: #d1dfe7;
  --field-border: #80929d;
  --focus: #168597;
  --panel-radius: 22px;
  font-family: Inter, system-ui, sans-serif;
  font-size: 100%;
  color: var(--navy);
  background: var(--deep);
  scroll-padding: 18px;
}
*, *::before, *::after {box-sizing: border-box}
[hidden] {display: none !important}
body, h1, h2, p, dl, dd {margin: 0}
body {background: var(--paper); line-height: 1.5}
a {color: inherit; text-underline-offset: .2em}
button, input, select {font: inherit; color: inherit}
button {border: 0; background: none}
button, summary, select {cursor: pointer}
button, a, input, select, summary {touch-action: manipulation}
:focus-visible {outline: 3px solid var(--focus); outline-offset: 3px}
h1:focus:not(:focus-visible), h2:focus:not(:focus-visible) {outline: none}
.wrap {width: min(1280px, calc(100% - clamp(64px, 9vw, 144px))); margin-inline: auto}
.sr, .skip:not(:focus) {position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%)}
.skip:focus {position: absolute; z-index: 2; padding: 12px 20px; background: white}
header {background: var(--white); border-bottom: 1px solid var(--line)}
.nav, .brand, .producer, .progress-head, .result-top, .title-row, .legal-identity {display: flex; align-items: center}
.nav {min-height: 78px; justify-content: space-between; gap: 12px}
.brand {gap: clamp(12px, 1.6vw, 24px); text-decoration: none; font-weight: 650; font-size: 1.0625rem; letter-spacing: -.035em}
.brand-mark {display: flex; flex-direction: column; align-items: center; gap: 1px}
.brand-mark img {display: block; width: 105px; height: auto}
.brand-mark small {font-size: .7rem; font-weight: 560; letter-spacing: .01em; line-height: 1.15}
.brand > span + span {border-left: 1px solid var(--line); padding: 5px 0 5px clamp(12px, 1.6vw, 24px)}
.nav-action, .button, .outline {
  display: inline-flex; align-items: center; justify-content: center; gap: .65em;
  min-height: 46px; padding: 11px 18px; border-radius: 9px; text-decoration: none;
  font-size: .9375rem; line-height: 1.32; font-weight: 620; text-align: center;
  transition: background-color .16s, border-color .16s, color .16s;
}
.nav-action {min-height: 44px; border: 1px solid var(--field-border); color: var(--navy); font-size: .875rem}
.nav-action:hover, .outline:hover {background: #edf3f5; border-color: var(--navy)}
.button {min-height: 52px; background: var(--navy); color: white}
.button:hover {background: #18435b}
.button > span {font-size: 1.25em; line-height: 1; font-weight: 450}
.button:disabled {opacity: .55; cursor: default}
.outline {border: 1px solid var(--field-border); background: var(--white)}
.wide {width: 100%}
#guide {
  background: radial-gradient(ellipse at 80% 26%, #183d51 0%, transparent 54%),
              linear-gradient(120deg, #102c40 0%, var(--deep) 67%, #102d40 100%);
  color: white;
}
.stage {
  display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  grid-template-areas: "intro panel" "profile panel";
  gap: 26px clamp(48px, 5.4vw, 80px); align-items: start;
  padding-block: clamp(38px, 4vw, 62px);
}
.intro {grid-area: intro}
.intro h1 {font-size: clamp(3.38rem, 4.5vw, 4.2rem); font-weight: 700; letter-spacing: -.047em; line-height: 1.065}
.intro h1 span, .intro h1 em {display: block}
.intro h1 em {color: var(--gold); font-style: normal}
.hero-question, .hero-benefit {max-width: 46ch; line-height: 1.5; font-size: clamp(1.03rem, 1.3vw, 1.15rem)}
.hero-question, .hero-benefit {text-wrap: balance}
.hero-question {margin-top: 19px; color: white; font-weight: 550}
.hero-benefit {margin-top: 6px; color: var(--on-dark)}
.profile {grid-area: profile; border-top: 1px solid #455b6c; padding-top: 22px; max-width: 520px}
.producer {gap: 16px}
.producer img {width: 76px; height: 91px; object-fit: cover; object-position: center 22%; border-radius: 10px; background: #eef2f3}
.producer strong {display: block; font-size: 1.19rem; font-weight: 650; letter-spacing: -.025em}
.producer p {font-size: .875rem; color: var(--on-dark); margin-top: 3px}
.producer p span[aria-hidden] {color: #96aab7; margin-inline: 3px}
.nmls-byline {white-space: nowrap}
.credentials {display: flex; margin-block: 20px 15px; gap: clamp(18px, 2.2vw, 32px)}
.credentials > div {display: flex; flex-direction: column-reverse}
.credentials > div + div {border-left: 1px solid #455b6c; padding-left: clamp(18px, 2.2vw, 32px)}
.credentials dd {color: var(--gold); font-size: clamp(2.2rem, 3.1vw, 2.85rem); font-weight: 600; line-height: 1.06; letter-spacing: -.05em; font-variant-numeric: tabular-nums}
.credentials dt {font-size: .85rem; margin-top: 5px; color: var(--on-dark)}
.personal {font-size: .95rem; line-height: 1.55; color: var(--on-dark); max-width: 54ch}
.panel {
  grid-area: panel; color: var(--navy); background: white; border-radius: var(--panel-radius);
  padding: clamp(27px, 3.1vw, 46px);
  box-shadow: 0 14px 44px #05152229;
  min-width: 0;
}
.progress-head {justify-content: space-between; gap: 12px; font-size: .875rem; font-weight: 590}
#step-label {color: var(--teal)}
.duration {display: inline-flex; align-items: center; gap: 6px; color: var(--slate); font-weight: 470; font-size: .8125rem}
.duration svg, .form-privacy svg {fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; width: 17px; height: 17px; flex: none}
.tracks {display: flex; gap: 5px; margin: 11px 0 28px}
.tracks i {flex: 1; height: 4px; border-radius: 3px; background: #e2e9ec; transition: background-color .18s}
.tracks i:first-child, .tracks i.filled {background: var(--progress)}
.panel h2, .call-invite h2, .section-card h2, #result-title {font-size: clamp(2rem, 2.7vw, 2.375rem); line-height: 1.12; letter-spacing: -.043em; font-weight: 700; text-wrap: balance}
.lead, .body, .call-invite > p {font-size: clamp(1rem, 1.25vw, 1.1rem); line-height: 1.55}
.lead, .body {color: var(--slate); margin-top: 9px}
.fields {display: grid; align-items: end; grid-template-columns: minmax(0,.82fr) minmax(0,1.18fr); gap: 14px; margin-top: 24px}
label, legend {display: block; font-size: .875rem; font-weight: 600; line-height: 1.4}
.field, select {width: 100%; border: 1px solid var(--field-border); border-radius: 9px; background: #f6f9fa; margin-top: 7px}
.field {display: flex; align-items: center; gap: 8px; padding: 0 12px; min-height: 49px}
.field > span {font-size: .875rem; font-weight: 550; color: var(--slate)}
.field input {min-width: 0; width: 100%; height: 47px; padding: 0; background: transparent; border: 0; font-size: 1.0625rem; font-weight: 500; font-variant-numeric: tabular-nums; letter-spacing: -.014em}
.field input::placeholder {color: #627585; opacity: 1; font-weight: 400; font-size: 1rem}
.field:focus-within {outline: 2px solid var(--focus); outline-offset: 1px; background: white}
.field input:focus-visible {outline: 0}
.field:has([aria-invalid=true]) {border-color: #a33834}
select {min-height: 49px; font-size: 1rem; padding: 8px}
.hint {font-size: .8125rem; line-height: 1.5; color: var(--slate); margin-block: 6px}
#production .rate {margin-top: 18px}
form > .button {margin-top: 20px}
form > .outline {margin-top: 9px}
#fees > label {margin-top: 24px}
#back {display: block; margin: 2px auto 0}
.text-btn, .adjust-link {color: var(--teal); min-height: 44px; font-size: .875rem; font-weight: 600; text-decoration: underline; text-underline-offset: .23em; padding: 7px 0}
.error {color: #9e3428; font-weight: 550; font-size: .875rem; margin-top: .6rem}
.form-privacy {display: grid; justify-items: center; gap: 2px; margin-top: 18px; line-height: 1.45}
.form-privacy strong {display: inline-flex; align-items: center; gap: 7px; font-size: .85rem; font-weight: 550}
.form-privacy svg {color: var(--teal)}
.form-privacy > span {color: var(--slate); font-size: .8125rem}
.has-result .stage {grid-template-areas: "panel call"; grid-template-columns: minmax(0,1.18fr) minmax(0,.82fr); align-items: center}
.has-result .intro, .has-result .profile {display: none}
.result-top, .title-row {justify-content: space-between; gap: 12px}
#result-title {font-size: clamp(1.55rem,2.4vw,2.05rem)}
.result-top .text-btn {flex-shrink: 0}
.difference {padding: clamp(19px,2.3vw,30px); background: var(--navy); color: white; border-radius: 13px; margin: 14px 0 20px}
.metric-label {font-size: .9375rem; font-weight: 550}
.delta-values, #income-range {display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 .23em; font-variant-numeric: tabular-nums}
.delta-values {font-size: clamp(1.8rem,3.05vw,2.9rem); font-weight: 620; letter-spacing: -.048em; line-height: 1.18; color: var(--gold); margin-block: 8px}
.delta-values > span, #income-range > span {max-width: 100%; overflow-wrap: anywhere}
.delta-values small {font-size: .45em; font-weight: 450; letter-spacing: normal; color: var(--on-dark)}
.metric-context {font-size: .875rem; line-height: 1.5; color: var(--on-dark)}
.range-line {font-size: .875rem; color: var(--slate); margin-bottom: 12px}
#income-range {font-size: clamp(1.3rem, 1.7vw, 1.6rem); letter-spacing: -.035em; color: var(--navy); margin-top: 2px; font-weight: 620}
#income-range small {font-size: .75em; font-weight: 450}
.result-row {display: grid; grid-template-columns: minmax(0,1fr) minmax(0,auto); align-items: center; gap: 8px; border-top: 1px solid var(--line); padding: 10px 0}
.result-row dt {font-size: .9375rem}
.result-row dt small {display: block; margin-top: 2px; font-size: .8rem; color: var(--slate)}
.result-row dd {font-weight: 650; font-variant-numeric: tabular-nums; text-align: right; overflow-wrap: anywhere}
.expense-total, .estimate-notice {font-size: .8125rem; line-height: 1.5}
.expense-total {color: var(--slate); border-top: 1px solid var(--line); padding-top: 12px}
.estimate-notice {background: var(--paper); border-left: 2px solid #93aab4; margin: 12px 0 3px; padding: 11px 14px}
.call-invite {grid-area: call; max-width: 45ch}
.call-invite h2 {margin: 24px 0 12px}
.call-invite > p {margin-top: 12px; color: var(--on-dark)}
.call-invite .call-close {color: white; font-size: .9375rem}
.primary-book {margin-top: 25px; background: white; color: var(--navy)}
.primary-book:hover {background: #eaf0f3}
.call-invite .booking-format {font-size: .875rem; margin-top: 9px}
#after {padding-block: 8px 24px}
.section-card {background: white; border: 1px solid var(--line); border-radius: 16px; padding: clamp(20px,3vw,36px); margin-top: 20px}
.kicker {font-size: .8125rem; font-weight: 650; color: var(--teal); margin-bottom: 4px}
.section-card h2 {font-size: clamp(1.45rem,2.3vw,1.95rem)}
summary {font-weight: 610; padding-block: 12px; min-height: 44px}
.settings, .expense-grid, .team-fields {display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; align-items: start}
.settings {padding-block: 8px 18px}
.check {display: flex; gap: 8px; min-height: 44px; align-items: center}
.check input {accent-color: var(--teal); width: 18px; height: 18px; flex: none}
.expense-grid fieldset {min-width: 0; margin: 0; padding: 13px; border: 1px solid var(--line); border-radius: 9px}
.expense-grid legend {padding-inline: 4px}
.expense-grid .hint {margin: 4px 0 12px}
#assumptions, #share-assumptions {border-block: 1px solid var(--line); margin-top: 15px}
.scroll {overflow-x: auto; margin-top: 16px}
.scroll table {width: 100%; border-collapse: collapse; font-size: .875rem}
.scroll th, .scroll td {text-align: right; border-bottom: 1px solid var(--line); padding: 9px; font-variant-numeric: tabular-nums}
.scroll th:first-child {text-align: left}
.scroll tbody th {font-weight: 500}
.net, .note, .share-result {background: #edf4f5}
.note {border-left: 2px solid var(--teal); padding: 12px 16px; margin: 16px 0; font-size: .9375rem}
.invite {display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 15px}
.invite > div:first-child {flex: 1 1 320px}
#recruit-body {flex: 0 0 100%; min-width: 0; padding-top: 16px; border-top: 1px solid var(--line)}
#share-assumptions .rate {max-width: 320px}
.share-result {display: grid; gap: 4px; margin: 16px 0; padding: 18px 22px; border-radius: 8px}
.share-result strong {font-size: 2rem; font-variant-numeric: tabular-nums; overflow-wrap: anywhere}
.tools {display: flex; justify-content: flex-end; margin-top: 8px}
footer {background: var(--deep); color: #c1d0d9; border-top: 1px solid #354b5c; padding-block: 28px 24px; font-size: .875rem}
.legal-identity {gap: 20px; justify-content: space-between}
.legal-identity strong {color: white}
.legal-identity p, footer .privacy p {margin-block: 5px; line-height: 1.55}
.housing {display: flex; align-items: center; gap: 10px}
.housing img {background: white; border: 3px solid white; box-sizing: content-box}
.legal-links {display: flex; flex-wrap: wrap; column-gap: 22px; margin-block: 6px; border-bottom: 1px solid #344958}
.legal-links a, footer .text-btn {display: inline-flex; align-items: center; min-height: 44px}
footer a, footer summary, footer .text-btn {color: #deeaef}
footer .purpose {margin-top: 12px}
footer .privacy {max-width: 850px}
@media (max-width: 1040px) and (min-width: 851px) {
  .wrap {width: calc(100% - 64px)}
  .stage {column-gap: 38px}
  .panel {padding: 28px}
  .fields {gap: 10px}
}
@media (max-width: 850px) {
  .wrap {width: min(640px, calc(100% - 40px))}
  .stage, .has-result .stage {grid-template-columns: minmax(0,1fr); gap: 24px; padding-block: 28px 32px}
  .stage {grid-template-areas: "intro" "panel" "profile"}
  .has-result .stage {grid-template-areas: "panel" "call"}
  .intro h1 {font-size: clamp(2.15rem,6.6vw,3.25rem); max-width: 18ch; line-height: 1.1}
  .intro h1 span, .intro h1 em {display: inline}
  .intro h1 em {white-space: nowrap}
  .hero-question {margin-top: 12px}
  .hero-benefit {margin-top: 4px}
  .profile {border-top: 0; padding-top: 4px}
  .call-invite {max-width: 54ch}
  .settings, .expense-grid {grid-template-columns: 1fr}
  .team-fields {grid-template-columns: 1fr 1fr}
  .legal-identity {align-items: flex-start}
}
@media (max-width: 540px) {
  .wrap {width: calc(100% - 36px)}
  .nav {min-height: 66px}
  .brand {font-size: .85rem; gap: 10px}
  .brand > span + span {padding-left: 10px}
  .brand-mark img {width: 77px}
  .brand-mark small {font-size: .62rem}
  .nav-action {padding-inline: 10px; font-size: .8rem}
  .stage, .has-result .stage {gap: 18px; padding-block: 19px 28px}
  .hero-question, .hero-benefit {font-size: 1rem; line-height: 1.45}
  .panel {padding: 21px 19px; border-radius: 20px}
  .tracks {margin: 9px 0 17px}
  .panel h2 {font-size: clamp(1.7rem,7.4vw,2rem)}
  .fields {gap: 9px; margin-top: 17px; grid-template-columns: minmax(8.25rem,.85fr) minmax(0,1.15fr)}
  .field {padding-inline: 9px; gap: 5px}
  .field > span {font-size: .8rem}
  .field input {font-size: 1rem}
  #production .rate {margin-top: 14px}
  .form-privacy {margin-top: 14px}
  .credentials {margin-top: 17px}
  .personal {font-size: .925rem}
  .result-row {font-size: .875rem}
  .primary-book {width: 100%}
  .call-invite .booking-format {text-align: center}
  .title-row {align-items: flex-start; flex-wrap: wrap}
  .team-fields {grid-template-columns: 1fr}
  .scroll th, .scroll td {font-size: .8rem; padding: 7px 6px}
  .legal-identity {flex-wrap: wrap}
  .legal-identity p a {display: inline-flex; align-items: center; min-height: 44px}
  .legal-links {column-gap: 18px}
}
@media (max-width: 359px) {
  .nav {gap: 4px}
  .brand {gap: 6px}
  .brand > span + span {padding-left: 6px}
  .fields {grid-template-columns: 1fr}
  .credentials {gap: 12px}
  .credentials > div + div {padding-left: 12px}
}
@media (prefers-reduced-motion: no-preference) {
  #fees:not([hidden]), #result:not([hidden]) {animation: appear .18s ease-out both}
  @keyframes appear {from {opacity: .65} to {opacity: 1}}
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {transition: none !important}
}

.has-result.needs-review .stage {grid-template-areas: "panel"; grid-template-columns: minmax(0, 720px); justify-content: center}
#personal-review {margin-block: 18px 24px}
#personal-review > p {color: var(--slate); max-width: 57ch; line-height: 1.55}
#personal-review .review-inputs {color: var(--navy); font-weight: 600; margin-bottom: 10px}
#personal-review .producer {margin: 20px 0; gap: 12px}
#personal-review .producer img {width: 48px; height: 58px}
#personal-review .producer p {color: var(--slate)}
#personal-review .booking-format {margin-top: 7px; font-size: .875rem}
@media (max-width: 540px) {
  #personal-review .button {width: 100%}
  #personal-review .booking-format {text-align: center}
}

@media print {
  @page {margin: 12mm}
  body, #guide, footer, .difference {color: black; background: white}
  .wrap {width: 100%}
  .nav-action, .skip, .intro, .profile, .call-invite, .tools, #progress, #form-privacy, #production, #fees, #dive, #edit, #print, #assumptions, #show-recruits, #expense-editor, .legal-links, footer .privacy {display: none !important}
  .stage, .has-result .stage {display: block; padding: 10px 0}
  .panel, .section-card {box-shadow: none; border: 1px solid var(--line); padding: 14px}
  .difference {border: 1px solid var(--line)}
  .delta-values, .delta-values small, .metric-context, footer a, footer .legal-identity strong {color: black}
  .section-card:has(#recruit-body[hidden]) {display: none}
  .scroll {overflow: visible}
  .estimate-notice, .difference, .note, .legal-identity {break-inside: avoid}
}
