/* Trimble Insurance Agency main site. Direction "Friendly Neighbor": navy, blue, green on cream; DM Sans + Source Sans 3. */
:root {
  --navy: #193B59; --blue: #377CB3; --green: #34866D; --cream: #F8F6F0; --sage: #E8F2EE;
  --ink: #1D2A36; --muted: #5A6672; --line: #DDE3E0; --card: #FFFFFF; --bg: #F8F6F0; --focus: #377CB3;
  --on-dark: #FFFFFF; --band: #193B59; --warn-bg: #FFF6DB; --warn-ink: #6B4E00;
  --head: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --body: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r: 18px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --ink: #E8EDF1; --muted: #A9B4BD; --line: #2F3D47; --card: #1B2630; --bg: #121B22; --cream: #182229; --sage: #1C2B26; --navy: #9CC3E6; --blue: #6FA8DA; --green: #5DBE96; --band: #1B3A55; --warn-bg: #3A2F12; --warn-ink: #F3D58A; color-scheme: dark; }
}
:root[data-theme="dark"] { --ink: #E8EDF1; --muted: #A9B4BD; --line: #2F3D47; --card: #1B2630; --bg: #121B22; --cream: #182229; --sage: #1C2B26; --navy: #9CC3E6; --blue: #6FA8DA; --green: #5DBE96; --band: #1B3A55; --warn-bg: #3A2F12; --warn-ink: #F3D58A; color-scheme: dark; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 5rem; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1.0625rem/1.6 var(--body); padding-bottom: env(safe-area-inset-bottom); }
h1, h2, h3 { font-family: var(--head); color: var(--navy); line-height: 1.15; margin: 0 0 .5rem; text-wrap: balance; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); }
p { margin: 0 0 1rem; }
a { color: var(--blue); }
img { max-width: 100%; }
[hidden] { display: none !important; }
.wrap { max-width: 72rem; margin: 0 auto; padding-inline: max(1rem, env(safe-area-inset-left)) max(1rem, env(safe-area-inset-right)); }
.narrow { max-width: 46rem; }
:is(a, button, input, select, textarea, summary):focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--card); padding: .5rem 1rem; z-index: 20; }
.skip:focus { left: 1rem; }

/* Header */
header.top { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); padding-top: env(safe-area-inset-top); }
header.top .wrap { display: flex; align-items: center; gap: 1rem; min-height: 4.5rem; }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--navy); font: 700 1.1rem var(--head); line-height: 1.2; }
.brand img { width: 46px; height: auto; }
.brand small { display: block; font: 600 .7rem var(--body); color: var(--green); letter-spacing: .08em; text-transform: uppercase; }
nav.links { margin-left: auto; display: none; gap: 1.25rem; align-items: center; }
nav.links a { color: var(--ink); text-decoration: none; font-weight: 600; }
nav.links a[aria-current="page"] { color: var(--green); }
.call { margin-left: auto; font-weight: 700; text-decoration: none; color: var(--green); white-space: nowrap; }
.menu-btn { border: 2px solid var(--line); background: var(--card); color: var(--navy); border-radius: 12px; height: 44px; padding: 0 .8rem; font: 700 .95rem var(--head); cursor: pointer; }
.mobile-nav { border-top: 1px solid var(--line); padding-block: .5rem 1rem; }
.mobile-nav a { display: block; padding: .6rem 0; color: var(--ink); font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--line); }
@media (max-width: 520px) { .brand { font-size: .98rem; } .brand img { width: 38px; } .brand small { letter-spacing: .04em; } header.top .call { display: none; } header.top .mobile-nav .call-link { display: block; } }
.mobile-nav .call-link { display: none; color: var(--green); font-weight: 700; }
@media (min-width: 960px) { nav.links { display: flex; } .call { margin-left: 1.25rem; } .menu-btn, .mobile-nav { display: none !important; } }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; min-height: 52px; padding: 0 1.4rem; border: 0; border-radius: 999px; background: var(--blue); color: #fff; font: 700 1.05rem var(--head); text-decoration: none; cursor: pointer; }
.btn.green { background: var(--green); }
.btn.ghost { background: transparent; color: var(--navy); border: 2px solid var(--line); }
.btn.small { min-height: 40px; padding: .4rem .9rem; font-size: .92rem; }
.btn:disabled { opacity: .55; cursor: not-allowed; }

/* Hero with the two starting choices */
.hero .wrap { display: grid; gap: 1.5rem; align-items: center; padding-block: 2.25rem 3rem; }
@media (min-width: 900px) { .hero .wrap { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 2.5rem; padding-block: 3.25rem 4rem; } }
.hero .copy { min-width: 0; }
.hero h1 { font-size: clamp(2.1rem, 5vw, 3.3rem); max-width: 15ch; }
.hero p.sub { font-size: 1.2rem; max-width: 32rem; }
.hero figure { margin: 0; position: relative; }
.hero figure img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 28px; box-shadow: 0 18px 40px rgba(25,59,89,.18); }
.hero figure figcaption { position: absolute; left: 1rem; bottom: 1rem; background: var(--card); color: var(--ink); border-radius: 14px; padding: .55rem .8rem; font-weight: 600; font-size: .95rem; box-shadow: 0 6px 18px rgba(25,59,89,.15); }
.hero figure figcaption b { color: var(--green); }
@media (max-width: 899px) { .hero figure img { aspect-ratio: 16 / 10; } }
.starter { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); box-shadow: 0 10px 30px rgba(25,59,89,.10); margin-top: 1.25rem; max-width: 32rem; overflow: hidden; }
.tabs { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--line); }
.tabs button { border: 0; background: var(--bg); color: var(--muted); font: 700 1.05rem var(--head); padding: .9rem .5rem; cursor: pointer; border-bottom: 3px solid transparent; }
.tabs button[aria-selected="true"] { background: var(--card); color: var(--navy); border-bottom-color: var(--green); }
.tabs button span { display: block; font: 400 .82rem var(--body); color: var(--muted); }
.panel { padding: 1.1rem; }
.panel .row { display: flex; gap: .6rem; }
.panel .fine, .fine { color: var(--muted); font-size: .9rem; margin: .6rem 0 0; }
.trust { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; margin-top: 1rem; color: var(--muted); font-weight: 600; font-size: .95rem; }
.trust span::before { content: "✓ "; color: var(--green); }

/* Form fields */
.input, .fields input, .fields select, .fields textarea { width: 100%; min-width: 0; height: 52px; border: 2px solid var(--line); border-radius: 12px; padding: 0 .9rem; font: 400 1.05rem var(--body); background: var(--bg); color: var(--ink); }
.fields textarea { height: auto; min-height: 7rem; padding: .7rem .9rem; resize: vertical; }
.input.zip { font-weight: 600; font-size: 1.15rem; letter-spacing: .06em; flex: 1; }
label.lbl { display: block; font-weight: 600; margin-bottom: .35rem; }
.fields { display: grid; gap: .75rem; }
@media (min-width: 640px) { .fields.two { grid-template-columns: 1fr 1fr; } .fields .full { grid-column: 1 / -1; } }
.fields label { display: grid; gap: .3rem; font-weight: 600; min-width: 0; }
.tcpa { font-size: .85rem; color: var(--muted); margin: 1rem 0; }
.hp { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }
.formmsg { min-height: 1.4em; margin: .6rem 0 0; font-weight: 600; }
.formmsg.err, .enrollmsg.err { color: #B3261E; }
.done { background: var(--sage); border-radius: 14px; padding: 1rem 1.1rem; }
.done h3 { margin-bottom: .25rem; }
.done h3:focus { outline: none; }

/* Sections */
section { padding: 3.5rem 0; }
section.alt { background: var(--sage); }
.kicker { font: 700 .8rem var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--green); margin-bottom: .4rem; }
.lead { font-size: 1.15rem; max-width: 46rem; }
.grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); margin-top: 1.5rem; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 1.25rem; min-width: 0; }
.card .ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--sage); font-size: 1.4rem; margin-bottom: .6rem; }
.card h3 { font-size: 1.2rem; }
.card p { margin: 0; color: var(--muted); }
.card.primary { border: 2px solid var(--green); }
.steps { counter-reset: s; }
.steps .card h3::before { counter-increment: s; content: counter(s); display: inline-grid; place-items: center; width: 30px; height: 30px; margin-right: .5rem; border-radius: 50%; background: var(--green); color: #fff; font-size: .95rem; }
.page-head { padding-block: 2.5rem 1rem; }
.page-head h1 { font-size: clamp(2rem, 4.5vw, 2.8rem); }
.prose { max-width: 46rem; }
.prose h2 { font-size: 1.45rem; margin-top: 2rem; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: .4rem; }

/* Quote tool */
.tool { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 1.25rem; max-width: 46rem; margin: 1.5rem auto 0; }
.progress { height: 6px; background: var(--line); border-radius: 3px; overflow: hidden; margin-bottom: 1.25rem; }
.progress span { display: block; height: 100%; width: 20%; background: var(--green); transition: width .3s; }
.tool .q { font: 700 1.35rem var(--head); color: var(--navy); margin-bottom: .9rem; }
.opts { display: grid; gap: .6rem; grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr)); }
.opt { min-height: 56px; border: 2px solid var(--line); border-radius: 14px; background: var(--bg); color: var(--ink); font: 600 1.05rem var(--body); cursor: pointer; padding: .4rem; }
.opt[aria-pressed="true"] { border-color: var(--blue); background: color-mix(in srgb, var(--blue) 10%, var(--bg)); }
.tool .nav { display: flex; justify-content: space-between; margin-top: 1.25rem; }
.ziprow { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: .5rem; }
.ziprow input, .ziprow select { height: 54px; border: 2px solid var(--line); border-radius: 12px; padding: 0 .9rem; font: 600 1.15rem var(--body); background: var(--bg); color: var(--ink); min-width: 0; }
.ziprow input { flex: 0 1 9rem; letter-spacing: .08em; }
.ziprow select { flex: 1 1 14rem; }
.zipmsg { min-height: 1.5em; color: var(--muted); }
.zipmsg b { color: var(--green); }
.ages { display: grid; grid-template-columns: repeat(auto-fill, minmax(9rem, 1fr)); gap: .75rem; margin-bottom: .75rem; }
.ages label { display: grid; gap: .3rem; font-weight: 600; min-width: 0; }
.ages input { height: 54px; width: 100%; border: 2px solid var(--line); border-radius: 12px; padding: 0 .9rem; font: 600 1.15rem var(--body); background: var(--bg); color: var(--ink); min-width: 0; }
.addkid { margin-bottom: .5rem; }
.note { background: var(--sage); border-radius: 12px; padding: .8rem .95rem; margin-bottom: 1rem; }

/* Plan results (real quotes) */
.tool.wide { max-width: 72rem; }
.tool .row { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; }
.dollar { position: relative; flex: 0 1 12rem; min-width: 0; }
.dollar::before { content: "$"; position: absolute; left: .85rem; top: 50%; transform: translateY(-50%); color: var(--muted); font-weight: 600; }
.dollar .input { padding-left: 1.7rem; width: 100%; }
.incomeopen { margin-top: 1rem; }
.incomebox { background: var(--bg); border: 1px solid var(--line); border-radius: 14px; padding: .8rem 1rem; margin-bottom: 1rem; }
.incomebox .fine { margin-top: .4rem; }
#planCount:focus { outline: none; }
.results { display: grid; gap: 1rem; }
@media (min-width: 860px) { .results { grid-template-columns: 16rem minmax(0, 1fr); align-items: start; } }
.list { min-width: 0; }
.filters { border: 1px solid var(--line); border-radius: 14px; padding: .75rem 1rem; background: var(--bg); min-width: 0; }
.filters summary { font: 700 1rem var(--head); color: var(--navy); cursor: pointer; padding: .25rem 0; }
.fgroup { border: 0; border-top: 1px solid var(--line); margin: .75rem 0 0; padding: .75rem 0 0; display: grid; gap: .45rem; min-width: 0; }
.flabel { font-weight: 700; padding: 0; }
.fgroup select { height: 44px; border: 2px solid var(--line); border-radius: 10px; padding: 0 .6rem; font: 400 1rem var(--body); background: var(--card); color: var(--ink); min-width: 0; width: 100%; }
.fgroup input[type=range] { width: 100%; accent-color: var(--green); }
.check { display: flex; gap: .5rem; align-items: center; font-size: .95rem; min-height: 28px; }
.check input { width: 1.1rem; height: 1.1rem; accent-color: var(--green); flex: none; }
.filters #f_clear { margin-top: .9rem; }
.plan { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 1rem; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .25rem 1rem; margin-bottom: .75rem; }
.plan .name { font: 700 1.1rem var(--head); color: var(--navy); margin: 0; overflow-wrap: anywhere; }
.plan .carrier { color: var(--muted); font-size: .9rem; font-weight: 600; overflow-wrap: anywhere; }
.plan .price { text-align: right; font: 700 1.5rem var(--head); color: var(--green); font-variant-numeric: tabular-nums; white-space: nowrap; }
.plan .price small { display: block; font: 400 .8rem var(--body); color: var(--muted); }
.plan .tag { display: inline-block; background: var(--sage); color: var(--green); border-radius: 999px; padding: .1rem .6rem; font-size: .8rem; font-weight: 700; margin: 0 .3rem .3rem 0; }
.plan .facts { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; font-size: .92rem; color: var(--muted); margin-top: .35rem; }
.plan .facts b { color: var(--ink); font-variant-numeric: tabular-nums; }
.plan .links { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: .25rem 1rem; font-size: .92rem; }
.plan .act { grid-column: 1 / -1; margin-top: .5rem; display: flex; flex-wrap: wrap; gap: .6rem; }
@media (max-width: 480px) { .plan { grid-template-columns: 1fr; } .plan .price { text-align: left; } .plan .act .btn { width: 100%; } }
.justcall { border-top: 1px solid var(--line); margin-top: 1rem; padding-top: 1rem; }
.justcall p { margin: 0 0 .5rem; font-weight: 600; }
.picked { background: var(--sage); border-radius: 12px; padding: .8rem .95rem; margin-bottom: 1rem; display: grid; gap: .15rem; }
.picked strong { font: 700 1.1rem var(--head); color: var(--navy); overflow-wrap: anywhere; }
.picked .carrier { color: var(--green); font-weight: 700; font-size: .9rem; }
.enrollhint { margin: -.4rem 0 1rem; }
/* "Enroll myself" on the contact step (states HealthSherpa can enroll online): skips the contact form */
.selfenroll { background: var(--bg); border: 1px solid var(--line); border-radius: 14px; padding: .8rem 1rem; margin: -.4rem 0 1rem; }
.selfenroll p { margin: 0 0 .6rem; }
.selfenroll .fine { margin: .5rem 0 0; }
.enrollmsg { margin: .4rem 0 0; font-weight: 600; }
.enrollmsg:empty { display: none; }
@media (max-width: 480px) { .selfenroll .btn { width: 100%; } }
/* Confirmation after the contact step: plan summary on a card so it stands out on the sage panel */
.done .picked { background: var(--card); margin: .25rem 0 1rem; }
.done .picked:last-child { margin-bottom: 0; }
.done .formmsg:empty { min-height: 0; margin: 0; }
@media (max-width: 480px) { .done .btn { width: 100%; } }

/* Team */
.team-layout { display: grid; gap: 1rem; margin-top: 1.5rem; }
@media (min-width: 860px) { .team-layout { grid-template-columns: 19rem 1fr; align-items: start; } }
.lead-agent { background: var(--card); border: 2px solid var(--green); border-radius: var(--r); padding: 1.25rem; display: flex; gap: 1rem; align-items: center; text-decoration: none; color: inherit; }
@media (min-width: 860px) { .lead-agent { flex-direction: column; text-align: center; } }
.lead-agent h3 { margin: 0; }
.lead-agent .role { margin: .1rem 0 .4rem; color: var(--green); font-weight: 700; }
.lead-agent .bio { margin: 0; color: var(--muted); font-size: .95rem; }
.agents { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 640px) { .agents { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.agents li > * { display: flex; align-items: center; gap: .6rem; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: .55rem .7rem; min-width: 0; height: 100%; color: inherit; text-decoration: none; }
.agents a:hover { border-color: var(--green); }
.agents strong { display: block; color: var(--navy); font: 700 .98rem var(--head); line-height: 1.2; }
.agents small { color: var(--muted); font-size: .8rem; }
.avatar { flex: none; border-radius: 24%; object-position: 50% 22%; display: grid; place-items: center; background: var(--sage); color: var(--green); font-family: var(--head); font-weight: 700; object-fit: cover; }
.avatar.lg { width: 96px; height: 96px; font-size: 1.6rem; }
.avatar.sm { width: 40px; height: 40px; font-size: .85rem; }
.profile { display: grid; gap: 1.5rem; padding-block: 2.5rem 3rem; }
@media (min-width: 820px) { .profile { grid-template-columns: 20rem minmax(0, 1fr); align-items: start; } }
.profile img.photo { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 22px; }
.profile .role { color: var(--green); font-weight: 700; margin: 0 0 .25rem; }
.contact-lines { list-style: none; padding: 0; margin: 1rem 0; display: grid; gap: .35rem; }
.contact-lines b { color: var(--navy); }

/* Reviews */
.reviews { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); margin-top: 1.5rem; }
.reviews blockquote { margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 1.1rem 1.2rem; }
.reviews blockquote p { margin: 0 0 .6rem; }
.reviews cite { font-style: normal; font-weight: 700; color: var(--navy); }
.stars { color: #E2A400; letter-spacing: .1em; }

details.faq { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 1rem 1.1rem; margin-bottom: .6rem; }
details.faq summary { font-weight: 700; cursor: pointer; color: var(--navy); }
details.faq p { margin: .6rem 0 0; }
.cta { background: var(--band); color: var(--on-dark); border-radius: var(--r); padding: 2rem 1.25rem; text-align: center; }
.cta h2 { color: var(--on-dark); }

footer { padding: 2.5rem 0 3rem; color: var(--muted); font-size: .9rem; border-top: 1px solid var(--line); }
footer .cols { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); }
footer a { color: var(--muted); }
footer strong { color: var(--navy); }

/* Shop plans: centered heading and question steps (owner 2026-10-14). Plan results (.tool.wide) and the contact form keep their own layout. */
#shop > .wrap > .kicker, #shop > .wrap > h2, #shop > .wrap > p { text-align: center; }
#shop > .wrap > p { max-width: 40rem; margin-inline: auto; }
.tool:not(.wide) [data-step="1"], .tool:not(.wide) [data-step="2"], .tool:not(.wide) [data-step="3"], .tool:not(.wide) [data-step="4"] { text-align: center; }
.tool:not(.wide) .ziprow, .tool:not(.wide) .opts, .tool:not(.wide) .ages { justify-content: center; }
.tool:not(.wide) [data-step="1"] .nav, .tool:not(.wide) .nav:has(> :only-child) { justify-content: center; }

/* Coverage explainer pages and linked coverage cards (2026-10-14) */
.link-card { display: flex; flex-direction: column; color: inherit; text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.link-card:hover, .link-card:focus-within { border-color: var(--green); box-shadow: 0 6px 18px rgba(25,59,89,.10); }
.link-card p { flex: 1; }
.link-card .more { margin-top: .75rem; color: var(--blue); font-weight: 700; }
.link-card:hover h3 { text-decoration: underline; text-underline-offset: 3px; }
.actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.25rem; }
.actions.center { justify-content: center; }
.cta .btn.ghost { color: var(--on-dark); border-color: color-mix(in srgb, var(--on-dark) 45%, transparent); }
.crumbs { font-size: .92rem; color: var(--muted); margin-bottom: .75rem; }
.crumbs a { color: var(--muted); }
.prose h2:first-child { margin-top: 0; }
.prose .note p:last-child, .prose .disclaimer p:last-child { margin-bottom: 0; }
.prose .disclaimer { margin-top: 2rem; font-size: .95rem; }
@media (max-width: 480px) { .actions .btn { width: 100%; } }
/* Card with two links (whole card opens the page; a second link sits on top), e.g. ACA card + tax credit quiz */
.link-card.stretch { position: relative; }
.link-card.stretch h3 a { color: inherit; text-decoration: none; }
.link-card.stretch h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.link-card .sub-link { position: relative; z-index: 1; margin-top: .4rem; color: var(--green); font-weight: 700; align-self: flex-start; }
/* Tax credit quiz (ACA Marketplace page, public/taxcredit.js) */
#tax-credit-quiz, #employee-estimator { scroll-margin-top: 5rem; }
.tcq [data-tc]:not([data-tc="result"]) { text-align: center; }
.tcq .ziprow, .tcq .opts, .tcq .ages { justify-content: center; }
.tcq .nav:has(> :only-child) { justify-content: center; }
.tcq #tcSize { grid-template-columns: repeat(auto-fit, minmax(4rem, 1fr)); }
.tcq .tcfield { display: grid; justify-items: center; margin-bottom: .9rem; }
.tcq .tcfield .dollar { width: min(100%, 14rem); }
.tcq .tcfield .input { font-weight: 600; font-size: 1.15rem; }

.tcq .stats, .emp .stats { display: grid; gap: .75rem; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); margin-bottom: 1rem; }
.tcq .stat, .emp .stat { background: var(--bg); border: 1px solid var(--line); border-radius: 14px; padding: .9rem 1rem; min-width: 0; }
.tcq .stat b, .emp .stat b { display: block; font: 700 1.35rem var(--head); color: var(--navy); }
/* Employer tax credit estimator (Small business group page) */
.emp { max-width: none; margin-top: 1rem; }
.emp .emp-row { border: 1px solid var(--line); border-radius: 14px; padding: .8rem .9rem .9rem; margin: 0 0 .75rem; background: var(--bg); display: grid; gap: .6rem; grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); align-items: end; min-width: 0; }
.emp .emp-row legend { font: 700 1rem var(--head); color: var(--navy); padding: 0 .3rem; }
.emp .emp-row label { display: grid; gap: .3rem; font-weight: 600; font-size: .95rem; min-width: 0; }
.emp .emp-row .dollar { flex: none; width: 100%; }
.emp .emp-remove { justify-self: start; }
.emp .row { margin-top: .25rem; }
.emp h3 { margin-top: 1rem; }
.tablewrap { overflow-x: auto; margin-bottom: 1rem; }
.emp-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.emp-table th, .emp-table td { text-align: left; padding: .55rem .6rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.emp-table thead th { font-size: .85rem; color: var(--muted); }
.emp-table tbody th small { display: block; font-weight: 400; color: var(--muted); font-size: .82rem; }
@media (max-width: 560px) {
  .emp-table thead { display: none; }
  .emp-table tr { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--line); padding: .4rem 0; }
  .emp-table th, .emp-table td { border: 0; padding: .25rem .3rem; }
  .emp-table tbody th, .emp-table td[colspan] { grid-column: 1 / -1; }
  .emp-table td:not([colspan])::before { display: block; font-size: .78rem; color: var(--muted); }
  .emp-table td:nth-of-type(1)::before { content: "Est. monthly credit"; }
  .emp-table td:nth-of-type(2)::before { content: "Lowest Silver after credit"; }
  .emp-table td:nth-of-type(3)::before { content: "Lowest plan after credit"; }
}
.emp .emp-fam { grid-column: 1 / -1; display: grid; gap: .6rem; grid-template-columns: repeat(auto-fill, minmax(9rem, 1fr)); }
.emp .emp-fam[hidden] { display: none; }

/* About page, "Meet the people" layout (2026-10-14) */
.meet-head { padding-block: 3rem 1.5rem; text-align: center; }
.meet-head h1 { font-size: clamp(2.2rem, 5.5vw, 3.6rem); max-width: 16ch; margin-inline: auto; }
.meet-head .lead { margin-inline: auto; color: var(--muted); }
.owner-card { background: var(--sage); border-radius: 28px; padding: 1.5rem; display: grid; gap: 1.25rem; align-items: center; justify-items: center; text-align: center; }
@media (min-width: 760px) { .owner-card { grid-template-columns: 15rem minmax(0, 1fr); justify-items: start; text-align: left; padding: 2.25rem 2.5rem; gap: 2.5rem; } }
.owner-card img { width: 13rem; height: 13rem; border-radius: 50%; object-fit: cover; object-position: 50% 22%; border: 6px solid var(--card); }
.owner-card h2 { margin: 0; }
.owner-card .role { color: var(--green); font-weight: 700; margin: .15rem 0 .9rem; }
.owner-card ul { margin: 0 0 1rem; padding-left: 1.2rem; text-align: left; }
.owner-card li { margin-bottom: .35rem; }
.reach { display: flex; flex-wrap: wrap; gap: .25rem .9rem; font-weight: 600; }
.reach a { overflow-wrap: anywhere; }
@media (max-width: 759px) { .owner-card .reach { justify-content: center; } }
.people { list-style: none; margin: 1.25rem 0 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 540px) { .people { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 900px) { .people { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.person { background: var(--sage); border-radius: 22px; padding: 1.5rem 1.1rem 1rem; text-align: center; }
.person img { width: 9rem; height: 9rem; border-radius: 50%; object-fit: cover; object-position: 50% 22%; border: 5px solid var(--card); display: block; margin: 0 auto .8rem; }
.person h3 { font-size: 1.2rem; margin: 0; }
.person .role { color: var(--muted); font-size: .92rem; margin: .2rem 0 0; line-height: 1.35; }
.person details { margin-top: .5rem; text-align: left; }
.person summary { list-style: none; cursor: pointer; display: flex; justify-content: flex-end; align-items: center; gap: .5rem; color: var(--green); font-weight: 700; font-size: .9rem; min-height: 44px; }
.person summary::-webkit-details-marker { display: none; }
.person summary::after { content: "+"; display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 2px solid currentColor; font: 700 1.1rem/1 var(--head); }
.person details[open] summary::after { content: "\2013"; }
.person .about { border-top: 1px solid color-mix(in srgb, var(--green) 30%, transparent); padding-top: .8rem; font-size: .95rem; }
.person .about p { margin: 0 0 .7rem; }
.person .about .reach { flex-direction: column; gap: .15rem; margin-bottom: .6rem; }
.person .call-only { margin: .8rem 0 .2rem; font-weight: 600; font-size: .95rem; }
.values { display: grid; gap: 1.5rem; margin-top: 1.25rem; }
@media (min-width: 760px) { .values { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.values h3 { font-size: 1.15rem; }
.values p { margin: 0; color: var(--muted); }

/* Home: the quote tool lives inside the hero's Shop plans tab (owner 2026-10-15: one place to get a quote).
   Question steps fit the hero box; once plans load (.tool.wide) the hero turns into one full-width column and the photo steps aside. */
.starter .tool { background: none; border: 0; border-radius: 0; padding: 0; margin: 0; max-width: none; }
.starter .tool .q { font-size: 1.2rem; }
.hero:has(.tool.wide) .wrap { grid-template-columns: minmax(0, 1fr); }
.hero:has(.tool.wide) figure { display: none; }
.hero:has(.tool.wide) .starter { max-width: 72rem; }
.hero:has(.tool.wide) h1, .hero:has(.tool.wide) p.sub { display: none; }

/* Home coverage cards flip over on click (owner 2026-10-15): front = icon, name, one line; back = details + Learn more. */
.flip { perspective: 1200px; min-width: 0; }
.flip-inner { display: grid; height: 100%; transition: transform .55s cubic-bezier(.2,.7,.2,1); transform-style: preserve-3d; }
.flip.is-flipped .flip-inner { transform: rotateY(180deg); }
.flip-face { grid-area: 1 / 1; display: flex; flex-direction: column; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.flip-face.back { transform: rotateY(180deg); }
.flip.primary .flip-face { border: 2px solid var(--green); }
.flip-face.front { font: inherit; color: inherit; text-align: left; cursor: pointer; width: 100%; transition: border-color .15s, box-shadow .15s; }
.flip-face.front:hover, .flip-face.front:focus-visible { border-color: var(--green); box-shadow: 0 6px 18px rgba(25,59,89,.10); }
.flip-face.front:focus-visible, .flip-close:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.flip-face.front p { flex: 1; }
.flip-face .more { margin-top: .75rem; color: var(--blue); font-weight: 700; }
.flip-face.back p { flex: 1; }
.flip-face.back .sub-link { margin-top: .4rem; color: var(--green); font-weight: 700; }
.flip-close { align-self: flex-start; margin-top: .75rem; background: none; border: 0; padding: .25rem 0; color: var(--muted); font: 600 .95rem var(--body); cursor: pointer; }
.flip-close:hover { color: var(--ink); }
@media (prefers-reduced-motion: reduce) { .flip-inner { transition: none; } }
