:root {
  --teal: #1f5859; --teal-nav: #2b5859; --teal-tint: #88abac; --magenta: #ec008b; --magenta-dark: #c8007a;
  --ink: #222222; --text: #666666; --surface: #ffffff; --subtle: #eeeeee; --border: #cccccc; --error: #cc3333;
  --font: Roboto, Arial, Verdana, Geneva, Helvetica, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { font: 500 16px/22px var(--font); color: var(--text); background: var(--surface); -webkit-font-smoothing: antialiased; }
#app { min-height: 100vh; display: flex; flex-direction: column; }
a { color: var(--magenta); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, p { margin: 0; }
img { max-width: 100%; }
button { font-family: var(--font); }

.wrap { max-width: 1180px; width: 100%; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.topbar { background: var(--ink); color: #fff; font-size: 14px; line-height: 20px; }
.topbar .wrap { padding-top: 8px; padding-bottom: 8px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.topbar .contact { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.header .wrap { padding-top: 20px; padding-bottom: 20px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; }
.header.bordered { border-bottom: 1px solid var(--border); }
.header.white { background: var(--surface); }
.logo { height: 30px; width: auto; display: block; }
.logo-link { display: inline-block; }
.nav { background: var(--teal-nav); }
.nav .wrap { padding-left: 6px; padding-right: 6px; display: flex; flex-wrap: wrap; }
.navlink { color: #fff; font-weight: 900; font-size: 15px; line-height: 16px; text-transform: uppercase; letter-spacing: .04em; padding: 16px 18px; display: inline-block; background: transparent; border: 0; cursor: pointer; }
.navlink:hover { color: #fff; text-decoration: none; }
.navlink.on { outline: 1px solid #fff; outline-offset: -8px; }
.footer { background: var(--ink); color: #fff; margin-top: auto; }
.footer .wrap { padding-top: 40px; padding-bottom: 40px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px 40px; align-items: flex-start; }
.footer .cols { display: flex; flex-wrap: wrap; gap: 16px 40px; font-size: 14px; line-height: 20px; }
.footer .cols b { display: block; font-weight: 900; }
.footer a { color: #fff; }

main.page { padding-top: 48px; padding-bottom: 80px; flex-grow: 1; }
main.hero { padding-top: 72px; padding-bottom: 64px; flex-grow: 1; }
.col { max-width: 720px; }
.col.wide { max-width: 760px; }
.eyebrow { color: var(--magenta); font-weight: 900; font-size: 16px; line-height: 20px; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 10px; }
.display { color: var(--teal); font-size: 48px; line-height: 54px; font-weight: 500; margin-bottom: 16px; }
.question { color: var(--teal); font-size: 40px; line-height: 48px; font-weight: 500; margin-bottom: 8px; }
.lead { font-size: 18px; line-height: 26px; margin-bottom: 32px; }
.lead.tight { margin-bottom: 40px; }
.addr-line { display: flex; align-items: center; gap: 8px; margin-bottom: 36px; }
.addr-line svg { flex-shrink: 0; }
.hint { font-size: 14px; line-height: 20px; margin-top: 8px; }
.hint .teal, .teal { color: var(--teal); }
.ink { color: var(--ink); }
.small { font-size: 14px; line-height: 20px; }

.lbl { display: block; font-size: 16px; line-height: 22px; color: var(--ink); margin-bottom: 8px; }
.lbl.big { font-size: 22px; line-height: 28px; margin-bottom: 12px; }
.lbl .opt { color: var(--text); }
.field { width: 100%; height: 56px; padding: 0 16px; font: 500 18px/24px var(--font); color: var(--ink); background: var(--surface); border: 1px solid var(--border); border-radius: 5px; outline: none; appearance: none; -webkit-appearance: none; }
.field::placeholder { color: #767676; }
.field:focus { border-color: var(--teal); box-shadow: inset 0 -2px 0 var(--teal); }
.field.icon { padding-left: 56px; }
.field.money { padding-left: 34px; }
.field.subtle { background: var(--subtle); }
textarea.field { height: auto; min-height: 112px; padding: 14px 16px; resize: vertical; }
select.field { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%231f5859' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 44px; }
.rel { position: relative; }
.ico { position: absolute; left: 18px; top: 14px; color: var(--magenta); pointer-events: none; }
.ico.door { left: 20px; }
.dollar { position: absolute; left: 16px; top: 15px; color: var(--ink); font-size: 18px; pointer-events: none; }
.clear { position: absolute; right: 6px; top: 6px; width: 44px; height: 44px; border: 0; background: transparent; color: var(--text); cursor: pointer; border-radius: 5px; display: inline-flex; align-items: center; justify-content: center; }
.clear:hover { background: var(--subtle); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.grid.two { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.stack { display: flex; flex-direction: column; gap: 28px; }
.stack.tight { gap: 24px; }
.row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.row.between { justify-content: space-between; }
.mt-16 { margin-top: 16px; } .mt-20 { margin-top: 20px; } .mt-28 { margin-top: 28px; } .mt-36 { margin-top: 36px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 0 32px; border: 0; border-radius: 7px; background: var(--magenta); color: #fff; font: 500 18px/24px var(--font); letter-spacing: .02em; text-transform: uppercase; cursor: pointer; text-decoration: none; }
.btn:hover { background: var(--magenta-dark); color: #fff; text-decoration: none; }
.btn:disabled { opacity: .6; cursor: wait; }
.btn.sec { background: var(--surface); color: var(--teal); border: 2px solid var(--teal); text-transform: none; letter-spacing: 0; }
.btn.sec:hover { background: var(--subtle); color: var(--teal); }
.btn.sm { min-height: 48px; font-size: 16px; padding: 0 24px; }
.btn.full { width: 100%; }
.ghost { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 6px; border: 0; background: transparent; color: var(--teal); font: 500 16px/22px var(--font); cursor: pointer; border-radius: 5px; text-decoration: none; }
.ghost:hover { text-decoration: underline; color: var(--teal); }
.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pills.col { flex-direction: column; align-items: flex-start; }
.pill { display: inline-flex; align-items: center; min-height: 48px; padding: 10px 18px; border: 1px solid var(--border); border-radius: 7px; background: var(--surface); color: var(--ink); font: 500 16px/22px var(--font); cursor: pointer; text-align: left; }
.pill:hover { border-color: var(--teal); }
.pill.on { border-color: var(--teal); background: var(--teal); color: #fff; }
.pill.yn { min-width: 84px; justify-content: center; }
.pill.wide { min-width: 120px; justify-content: center; }
.qrow { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 24px; }
.qrow .q { color: var(--ink); flex: 1 1 320px; }
.card { border: 1px solid var(--border); border-radius: 5px; background: var(--surface); }
.card.pad { padding: 24px; }
.sugg-box { position: absolute; left: 0; right: 0; top: 60px; z-index: 5; box-shadow: 0 8px 24px rgba(0,0,0,.12); overflow: hidden; }
.sugg { display: flex; align-items: center; gap: 14px; width: 100%; min-height: 56px; padding: 10px 18px; border: 0; background: var(--surface); text-align: left; cursor: pointer; font: 500 16px/22px var(--font); color: var(--ink); }
.sugg:hover, .sugg:focus { background: var(--subtle); outline: none; }
.sugg .main { flex-grow: 1; }
.sugg .kind { font-size: 14px; line-height: 20px; color: var(--teal); }
.sugg-foot { padding: 8px 18px; border-top: 1px solid var(--border); font-size: 12px; line-height: 16px; }
.alert { color: var(--error); font-size: 16px; line-height: 22px; margin-top: 24px; }
.alert.tight { margin-top: 12px; }
.stepnav { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.section-h { color: var(--magenta); font-size: 20px; line-height: 26px; font-weight: 900; margin-bottom: 14px; }
.section-h.lg { font-size: 24px; line-height: 30px; }
.divider { border-top: 1px solid var(--border); padding-top: 24px; }
.props { margin-top: 88px; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 32px; max-width: 980px; }
.prop { border-top: 2px solid var(--teal); padding-top: 16px; }
.prop h2 { color: var(--magenta); font-size: 20px; line-height: 26px; font-weight: 900; margin-bottom: 6px; }

.step { animation: stepIn .45s cubic-bezier(.2,.7,.2,1) both; }
.rise { animation: stepIn .35s cubic-bezier(.2,.7,.2,1) both; }
@keyframes stepIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .step, .rise { animation: none; } }

.map { position: relative; height: 300px; background: var(--subtle); overflow: hidden; }
.map img { width: 100%; height: 100%; object-fit: cover; display: block; }
.map svg { width: 100%; height: 100%; display: block; }
.map .tag { position: absolute; left: 12px; bottom: 10px; font-size: 12px; line-height: 16px; color: var(--text); background: rgba(255,255,255,.85); padding: 2px 6px; border-radius: 3px; }
.addr-card { padding: 20px 24px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; border-top: 1px solid var(--border); }
.addr-card .l1 { color: var(--ink); font-size: 20px; line-height: 26px; }

.save-wrap { position: relative; }
.pop { position: absolute; right: 0; top: 52px; width: 320px; padding: 20px; z-index: 6; box-shadow: 0 8px 24px rgba(0,0,0,.12); }
.pop h3 { color: var(--teal); font-size: 20px; line-height: 26px; font-weight: 500; margin-bottom: 6px; }
.pop p { font-size: 14px; line-height: 20px; margin-bottom: 14px; }
.pop .link { word-break: break-all; font-size: 13px; line-height: 18px; background: var(--subtle); padding: 10px; border-radius: 5px; margin-bottom: 12px; color: var(--ink); }

.quote-card { display: flex; flex-wrap: wrap; overflow: hidden; }
.quote-price { flex: 1 1 260px; padding: 28px; background: var(--teal); color: #fff; }
.quote-price .label { font-size: 14px; line-height: 20px; text-transform: uppercase; letter-spacing: .06em; font-weight: 900; }
.quote-price .amt { margin-top: 14px; display: flex; align-items: baseline; gap: 6px; }
.quote-price .amt b { font-size: 56px; line-height: 60px; font-weight: 500; }
.quote-price .sub { margin-top: 6px; font-size: 16px; line-height: 22px; }
.quote-price .fine { margin-top: 20px; font-size: 14px; line-height: 20px; opacity: .9; }
.quote-body { flex: 2 1 360px; padding: 24px 28px; }
dl.cov { display: grid; grid-template-columns: 1fr auto; gap: 10px 24px; margin: 0; }
dl.cov dt { color: var(--ink); } dl.cov dd { margin: 0; color: var(--teal); text-align: right; }
.breakdown { margin-top: 18px; border-top: 1px solid var(--border); padding-top: 14px; font-size: 14px; line-height: 20px; }
.breakdown div { display: flex; justify-content: space-between; gap: 16px; padding: 3px 0; }
.breakdown .tot { border-top: 1px solid var(--border); margin-top: 6px; padding-top: 8px; color: var(--ink); }

.check { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; }
.check input { width: 22px; height: 22px; margin: 0; accent-color: var(--teal); flex-shrink: 0; }

.portal { background: var(--subtle); flex-grow: 1; display: flex; flex-direction: column; }
.portal main { padding-top: 40px; padding-bottom: 64px; flex-grow: 1; }
.notice { padding: 18px 24px; margin-bottom: 28px; border-left: 4px solid var(--teal); display: flex; gap: 14px; align-items: flex-start; }
.notice .t { color: var(--ink); font-size: 18px; line-height: 24px; }
.ptitle { color: var(--teal); font-size: 36px; line-height: 42px; font-weight: 500; margin-bottom: 20px; }
.pgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; align-items: start; }
.span { grid-column: 1 / -1; }
.pol-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 32px; }
.pol-head .addr { margin-top: 6px; color: var(--ink); font-size: 22px; line-height: 28px; }
.pol-head .right { text-align: right; }
.pol-head .big { color: var(--teal); font-size: 32px; line-height: 38px; }
.pol-cov { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--border); display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; }
.pol-cov div div:first-child { font-size: 14px; } .pol-cov div div:last-child { color: var(--ink); }
.card-h { padding: 18px 18px 12px; display: flex; justify-content: space-between; align-items: center; }
.card-h h2 { margin: 0; color: var(--magenta); font-size: 20px; line-height: 26px; font-weight: 900; }
.doc { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-top: 1px solid var(--border); color: var(--teal); }
.doc a, .doc button { color: var(--teal); flex-grow: 1; text-align: left; background: none; border: 0; padding: 0; font: 500 16px/22px var(--font); cursor: pointer; }
.doc .meta { font-size: 14px; color: var(--text); }
.lock { margin-top: 28px; font-size: 14px; line-height: 20px; display: flex; gap: 8px; align-items: center; }
.signin-wrap { padding-top: 64px; padding-bottom: 80px; display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; flex-grow: 1; }
.signin-card { flex: 1 1 360px; max-width: 480px; padding: 36px; }
.signin-side { flex: 1 1 300px; max-width: 420px; padding-top: 8px; }
.signin-side ul { margin: 0; padding-left: 15px; display: flex; flex-direction: column; gap: 8px; }
.or { margin: 24px 0; display: flex; align-items: center; gap: 12px; font-size: 14px; }
.or span { flex-grow: 1; height: 1px; background: var(--border); }
.two-col { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; }
.two-col aside { flex: 1 1 260px; max-width: 340px; }
.two-col section { flex: 999 1 520px; min-width: 0; }
.opt-link { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-top: 1px solid var(--border); color: var(--teal); border-left: 3px solid transparent; background: none; width: 100%; text-align: left; font: 500 16px/22px var(--font); cursor: pointer; }
.opt-link:first-child { border-top: 0; }
.opt-link.on { color: var(--magenta); border-left-color: var(--magenta); background: var(--subtle); }
.opt-link:hover { background: var(--subtle); text-decoration: none; }
.diff { font-size: 14px; color: var(--text); }
.busy { opacity: .5; pointer-events: none; }

@media (max-width: 640px) {
  .display { font-size: 32px; line-height: 38px; }
  .question { font-size: 30px; line-height: 36px; }
  main.hero { padding-top: 40px; }
  .pop { width: min(320px, calc(100vw - 48px)); }
  .pol-head .right { text-align: left; }
}
