/* Calculator pages. Builds on agent.css. */
.eye { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.65); margin-bottom: 18px; }
.ch { padding: 72px 0 72px; }
.ch h1 { max-width: 16ch; }
.ch .lead { margin-top: 22px; max-width: 56ch; font-size: 18px; line-height: 1.55; color: rgba(255,255,255,.82); }
.ch .hfine { margin-top: 14px; font-size: 13px; color: rgba(255,255,255,.62); max-width: 60ch; }
.calcs { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.calc { border-top: 3px solid var(--navy); padding-top: 24px; min-width: 0; }
.calc h2 { font-size: 28px; letter-spacing: -0.035em; }
.calc .sub { margin: 8px 0 22px; font-size: 15px; color: var(--muted); }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.f { min-width: 0; margin-bottom: 18px; }
.f label { margin-bottom: 6px; }
.f input[type=text], .f select { margin-bottom: 0; }
.f .help { margin: 6px 0 0; font-size: 13px; line-height: 1.5; color: var(--muted); }
.f .help a { color: var(--navy); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.f input::placeholder { color: #8a8478; }
.f select { width: 100%; height: 50px; padding: 0 40px 0 14px; border: 1px solid var(--line); border-radius: 0; font: inherit; font-size: 15px; color: var(--ink); -webkit-appearance: none; appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%230B1F3A' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 14px center / 12px 8px; }
.f select:focus { outline: none; border-color: var(--navy); }
form input:focus-visible, form select:focus-visible, form button:focus-visible, .go:focus-visible, .rlink:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; }
.calc .go { margin-top: 6px; }
.form-err { color: #a4161a; font-size: 15px; margin: 0 0 14px; }
.form-err[hidden] { display: none; }
.result { margin-top: 26px; border-top: 3px solid var(--navy); background: var(--soft); padding: 22px 22px 24px; }
.result[hidden] { display: none; }
.result .k { font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.result .v { margin-top: 6px; font-family: Montserrat, sans-serif; font-weight: 600; font-size: 36px; line-height: 1.12; letter-spacing: -0.04em; color: var(--navy); font-variant-numeric: tabular-nums; }
.result .v.sm { font-size: 30px; }
.result .k + .v + .k { margin-top: 20px; }
.result .how { margin-top: 16px; font-size: 14px; color: var(--muted); }
.result .edu { margin-top: 16px; font-size: 14px; line-height: 1.55; color: var(--ink); }
.result .rlink { display: inline-flex; margin-top: 14px; font-weight: 600; font-size: 15px; color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
.cfaq { margin-top: 0; border-top: 0; }
.faq { margin-top: 0; border-top: 0; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--navy); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; align-items: center; padding: 22px 0; font-family: Montserrat, sans-serif; font-weight: 700; font-size: 19px; color: var(--navy); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: 0 0 36px; height: 36px; border-radius: 50%; background: #F5F2EB; display: grid; place-items: center; font-size: 22px; font-weight: 600; }
.faq details[open] summary::after { content: "\00d7"; background: var(--navy); color: #fff; }
.faq .a { padding: 0 56px 24px 0; font-size: 16px; color: var(--ink); max-width: 70ch; }
.faq .a a { color: var(--navy); font-weight: 600; }
.closing p { margin-top: 10px; color: rgba(255,255,255,.82); max-width: 46ch; }
@media (max-width: 1000px) {
  .calcs { grid-template-columns: 1fr; gap: 56px; }
}
@media (max-width: 860px) {
  form input, form select, form textarea { font-size: 16px; }
  .ch { padding: 36px 0 36px; }
  .ch h1 { font-size: 34px; }
  .ch .lead { font-size: 16.5px; margin-top: 16px; }
  .calc h2 { font-size: 24px; }
  .faq summary { font-size: 17px; gap: 16px; padding: 18px 0; }
  .faq .a { padding-right: 0; }
  .calc .go { width: 100%; justify-content: space-between; }
  .result .v { font-size: 32px; }
  .result .v.sm { font-size: 26px; }
}
@media (max-width: 560px) {
  .fields { grid-template-columns: 1fr; }
}

/* hub cards */
.ccards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--navy); border-bottom: 1px solid var(--line); }
.ccards.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ccard { display: flex; flex-direction: column; padding: 40px 36px 40px 0; text-decoration: none; color: var(--ink); min-width: 0; transition: background-color .3s var(--ease); }
.ccard + .ccard { border-left: 1px solid var(--line); padding-left: 36px; }
.ccard:last-child { padding-right: 0; }
.ccard:hover { background: var(--soft); }
.ccard:first-child:hover { background: linear-gradient(90deg, #fff 0, var(--soft) 0); }
.ccard .tag { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.ccard h2, .ccard h3 { margin-top: 12px; font-size: 26px; letter-spacing: -0.035em; }
.ccard .what { margin: 10px 0 0; font-size: 16px; max-width: 42ch; }
.ccard dl { margin: 22px 0 0; display: grid; gap: 14px; }
.ccard dt { font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.ccard dd { margin: 4px 0 0; font-size: 15px; line-height: 1.5; }
.ccard .open { margin-top: auto; padding-top: 28px; display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; color: var(--navy); text-decoration: underline; text-underline-offset: 4px; }
.ccard .open svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.6; transition: transform .35s var(--ease); }
.ccard:hover .open svg { transform: translateX(5px); }
.hubnote { margin-top: 28px; font-size: 14px; line-height: 1.55; color: var(--muted); max-width: 90ch; }
/* single calculator pages */
.crumb { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.65); margin-bottom: 18px; }
.crumb a { color: inherit; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.35); }
.crumb a:hover { color: #fff; }
.cpage { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 64px; align-items: start; }
.cpage .calc { border-top: 3px solid var(--navy); }
.cside { position: sticky; top: 24px; }
.cside .empty { border-top: 3px solid var(--line); background: var(--soft); padding: 22px; font-size: 15px; color: var(--muted); }
.cside .empty[hidden] { display: none; }
.cside .result { margin-top: 0; }
.cside .edu { margin-top: 16px; }
.also { display: block; margin-top: 56px; padding: 26px 0 28px; border-top: 1px solid var(--navy); border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.also strong { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-family: Montserrat, sans-serif; font-weight: 600; font-size: 20px; letter-spacing: -0.02em; color: var(--navy); }
.also svg { width: 20px; height: 20px; stroke: var(--navy); fill: none; stroke-width: 1.6; flex: none; transition: transform .35s var(--ease); }
.also:hover svg { transform: translateX(6px); }
.also span { display: block; margin-top: 6px; font-size: 15px; color: var(--muted); }
.also:hover strong { text-decoration: underline; text-underline-offset: 4px; }
/* agent side page head and lead calculator */
.phead { padding: 72px 0 64px; }
.phead h1 { color: #fff; font-size: clamp(34px, 4.4vw, 52px); letter-spacing: -0.03em; }
.phead p { margin-top: 16px; max-width: 56ch; font-size: 18px; color: rgba(255,255,255,.82); }
.phead .crumb { margin-bottom: 14px; }
.f .help.ex { color: var(--navy); font-weight: 500; }
.ftable { width: 100%; border-collapse: collapse; margin-top: 18px; font-variant-numeric: tabular-nums; }
.ftable th, .ftable td { padding: 10px 0; border-bottom: 1px solid var(--line); text-align: right; font-size: 15px; }
.ftable thead th { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.ftable tbody th { text-align: left; font-weight: 600; color: var(--navy); }
.ftable tbody tr:last-child th, .ftable tbody tr:last-child td { border-bottom: 0; font-weight: 700; color: var(--navy); }
.ftable thead th:first-child { text-align: left; }
.result .sub2 { margin-top: 6px; font-size: 15px; color: var(--ink); }
.result .overall { margin-top: 14px; font-size: 14px; color: var(--ink); }
.plan { margin-top: 16px; font-size: 14px; line-height: 1.55; color: var(--ink); }
.src { margin-top: 18px; font-size: 12.5px; line-height: 1.55; color: var(--muted); max-width: 90ch; }
.src a { color: var(--navy); }
.defs { margin: 26px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line); font-size: 14px; line-height: 1.6; color: var(--muted); }
.defs b { color: var(--navy); font-weight: 600; }
@media (max-width: 1000px) {
  .cpage { grid-template-columns: 1fr; gap: 40px; }
  .cside { position: static; }
  .ccards.three { grid-template-columns: 1fr; }
  .ccards.three .ccard, .ccards.three .ccard + .ccard { padding: 32px 0; border-left: 0; }
  .ccards.three .ccard + .ccard { border-top: 1px solid var(--line); }
}
@media (max-width: 860px) {
  .phead { padding: 48px 0 44px; }
  .ccards { grid-template-columns: 1fr; }
  .ccard, .ccard + .ccard { padding: 32px 0; border-left: 0; }
  .ccard + .ccard { border-top: 1px solid var(--line); }
  .ccard h2, .ccard h3 { font-size: 23px; }
  .also { margin-top: 40px; }
}
