/* Shared interaction layer for the homepage and comparison tools. */
:root{--ease-out:cubic-bezier(.22,1,.36,1);--field-border:#bacde5;--field-surface:#f8fbff;--focus-ring:#155eef24}
.button,.header-start{border-radius:9px;transition:background .16s,border-color .16s,transform .2s var(--ease-out)}
.button:active,.header-start:active{transform:translateY(1px)}
.button .icon{width:26px;height:26px}.button:not(.secondary) .icon{--icon-accent:currentColor}
.header nav a{position:relative;padding:8px 0}.header nav a:after{content:'';position:absolute;left:0;right:0;bottom:1px;height:2px;background:var(--blue);transform:scaleX(0);transform-origin:left;transition:transform .22s var(--ease-out)}.header nav a:hover:after,.header nav a:focus-visible:after{transform:scaleX(1)}.header nav a:hover{text-decoration:none}
.category-grid{column-gap:12px;padding:12px 0}.category-link{padding:22px 13px 22px 12px;margin-right:0;border-right:0;border-radius:12px;min-height:225px;transition:background .18s,color .18s,transform .22s var(--ease-out)}
.category-link .icon{box-sizing:content-box;width:46px;height:46px;padding:10px;border-radius:18px;background:var(--wash);margin-bottom:20px;transition:transform .25s var(--ease-out),background .18s,color .18s}
.category-link>span:not(.category-arrow){font-size:14px;letter-spacing:-.15px}.category-link small{font-size:12px;line-height:1.6}.category-arrow{top:29px;right:12px;font-size:20px;transition:transform .22s var(--ease-out)}
.category-link[aria-current=true]{background:#edf4ff}.category-link[aria-current=true] .icon{background:var(--blue);color:white;--icon-accent:#24d5e8}.category-link[aria-current=true]:after{left:12px;right:12px;border-radius:2px;bottom:0}
.trust-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;border-radius:18px;padding:18px 16px 28px;font-size:18px;line-height:1.45}.benefit-link{display:flex;flex-direction:column;align-items:center;text-align:center;padding:0 24px 12px;min-width:0;border-radius:12px;color:var(--ink);font-weight:500;transition:background .2s}.benefit-link img{display:block;width:200px;max-width:100%;height:180px;object-fit:contain;transition:transform .25s var(--ease-out)}.benefit-link>span{max-width:290px}.benefit-arrow{display:inline-block;margin-left:8px;color:var(--blue);transition:transform .2s var(--ease-out)}.benefit-link:hover{text-decoration:none;background:#ffffff80}.benefit-link:hover img{transform:translateY(-4px)}.benefit-link:hover .benefit-arrow{transform:translate(2px,-2px)}.benefit-link:focus-visible{outline:3px solid var(--blue);outline-offset:3px}
.hero-finder{background:var(--wash);padding:20px;border:1px solid var(--line);border-radius:15px;margin-top:27px}.hero-finder label{font-size:13px;margin-bottom:12px}.hero-finder>div{gap:10px}.hero-finder .button{min-height:60px;padding-inline:20px}.hero-finder .select-shell{flex:1;min-width:0}.hero-finder .select-button{background:white}.hero-finder+ .quiet-link{font-size:12px}
.finder-controls{gap:22px}.finder-controls label,.cost-fields label,.comparison-controls>div>label{font-size:13px;margin-bottom:10px}
input:not([type=checkbox]),select{min-height:58px;background:var(--field-surface);border:1px solid var(--field-border);border-radius:10px;padding:15px;font-size:14px;transition:border-color .16s,box-shadow .16s,background .16s}
input:not([type=checkbox]):hover,select:hover{border-color:#789bd0}input:not([type=checkbox]):focus{outline:0;border-color:var(--blue);box-shadow:0 0 0 4px var(--focus-ring);background:white}
.select-shell{position:relative;min-width:0;width:100%}.select-shell .native-select{display:none!important}.select-button{display:flex;align-items:center;gap:11px;width:100%;min-width:0;min-height:58px;text-align:left;background:var(--field-surface);border:1px solid var(--field-border);border-radius:10px;padding:13px 14px;transition:border-color .16s,box-shadow .16s,background .16s;font-size:14px;line-height:1.4}
.select-button:hover{border-color:#789bd0;background:#f2f7ff}.select-button:focus-visible,.select-button[aria-expanded=true]{outline:0;border-color:var(--blue);box-shadow:0 0 0 4px var(--focus-ring);background:white}.select-button:disabled{opacity:.55;cursor:not-allowed}.select-leading{display:flex;align-items:center;justify-content:center;color:var(--blue);flex:none}.control-icon{width:24px;height:24px;display:block;color:inherit;--icon-accent:#087c91}.select-value{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:500}.select-chevron{flex:none;color:#566e8c;transition:transform .23s var(--ease-out)}.select-chevron .control-icon{width:18px;height:18px}.select-button[aria-expanded=true] .select-chevron{transform:rotate(180deg);color:var(--blue)}
.select-popover{position:fixed;z-index:200;background:white;border:1px solid #c0d2e9;border-radius:14px;box-shadow:0 16px 40px #153d7724;overflow-y:auto;overscroll-behavior:contain;padding:6px;scrollbar-width:thin;scrollbar-color:#a8bdd9 transparent}
.select-option{display:flex;align-items:center;gap:12px;padding:12px;min-height:52px;border-radius:9px;cursor:pointer;color:var(--ink);transition:background .12s}.select-option[aria-disabled=true]{opacity:.5;cursor:not-allowed}.select-option.is-highlighted{background:#edf4ff}.select-option[aria-selected=true]{background:#e7f1ff}.option-icon{display:grid;place-items:center;flex:none;width:36px;height:36px;border-radius:10px;background:#f0f6ff;color:var(--blue)}.option-icon .control-icon{width:25px;height:25px}.option-copy{min-width:0;flex:1;font-size:14px;font-weight:500;line-height:1.35}.option-copy small{display:block;font-size:11px;line-height:1.5;color:var(--muted);font-weight:400;margin-top:4px}.option-check{color:var(--blue);width:20px;flex:none;visibility:hidden}.option-check .control-icon{width:20px;height:20px}.select-option[aria-selected=true] .option-check{visibility:visible}.option-monogram{font:400 24px var(--serif);line-height:1}.select-leading .option-monogram{width:25px;text-align:center;font-size:25px}
.search-shell{position:relative;display:flex;align-items:center}.search-shell input[type=search]{appearance:none;-webkit-appearance:none;padding-left:54px;padding-right:56px;min-height:60px;border-radius:12px;font-size:14px;background:white}.search-shell input::-webkit-search-cancel-button{display:none}.search-shell input::placeholder{color:#64748b;opacity:1}.search-icon{position:absolute;left:18px;pointer-events:none;color:var(--blue);z-index:1}.search-icon .control-icon{width:24px;height:24px}.search-clear{position:absolute;right:8px;width:44px;height:44px;min-height:44px;display:grid;place-items:center;background:transparent;border:0;border-radius:9px;color:#526174}.search-clear:hover{background:#e8f1ff;color:var(--blue)}.search-clear .control-icon{width:19px;height:19px}.search-shortcut{position:absolute;right:17px;border:1px solid var(--line);border-radius:5px;padding:1px 8px;font:12px var(--sans);color:#64748b;background:#f8fbff;pointer-events:none}
.search-suggestions{display:flex;align-items:center;gap:8px;margin-top:8px;flex-wrap:wrap;font-size:11px;color:var(--muted)}.search-suggestions button{border:0;background:transparent;border-radius:6px;color:var(--blue);display:flex;align-items:center;gap:9px;padding:8px;min-height:36px;font-size:12px}.search-suggestions button:hover{background:#edf4ff}.search-suggestions button span{font-size:14px}
.preferences{padding:16px 0}.preferences summary{display:flex;justify-content:space-between;align-items:center;min-height:44px;list-style:none;font-size:14px}.preferences summary::-webkit-details-marker{display:none}.preferences summary:after{content:'+';display:grid;place-items:center;font-size:22px;font-weight:400;color:var(--blue);width:30px;height:30px;background:var(--wash);border-radius:50%}.preferences[open] summary:after{content:'−'}.preferences[open] .preference-fields{animation:controls-appear .22s var(--ease-out)}
.program-card{border-radius:13px;transition:border-color .18s,transform .22s var(--ease-out)}.provider-monogram{width:50px;height:50px;font-size:30px}.program-top{margin-bottom:22px}.program-actions{flex-wrap:wrap}.program-actions .button{min-height:46px}.program-card.is-selected{background:#fbfdff}.program-card.is-selected .provider-monogram{background:#155eef;color:white}.program-card .button[aria-pressed=true]{background:#155eef;color:white;border-color:#155eef}
.comparison-controls>div{min-width:260px;max-width:330px;flex:1}.comparison-controls .select-shell{min-width:0}.checkbox-label input{appearance:none;-webkit-appearance:none;position:relative;width:40px;height:24px;border-radius:30px;background:#cad7e8;border:0;cursor:pointer;margin:0;transition:background .18s;flex:none}.checkbox-label input:after{content:'';position:absolute;left:3px;top:3px;width:18px;height:18px;border-radius:50%;background:white;box-shadow:0 1px 3px #10131825;transition:transform .2s var(--ease-out)}.checkbox-label input:checked{background:var(--blue)}.checkbox-label input:checked:after{transform:translateX(16px)}.checkbox-label{min-height:48px;gap:11px}.comparison-scroll,.cost-output{border-radius:12px}.cost-fields{gap:20px}.cost-fields>div{min-width:0}.quote-editor summary{min-height:44px;display:flex;align-items:center;font-size:14px}.quote-editor[open] form{animation:controls-appear .22s var(--ease-out)}.before-join li:has(input:checked) label>span{color:#a8c8ef}.before-join li:has(input:checked) label>span:first-of-type{text-decoration:line-through;text-decoration-color:#a8c8ef}.before-join input{width:21px;height:21px;accent-color:var(--cyan)}
.compare-tray{border-radius:13px;padding:12px 17px}.interaction-feedback{position:fixed;bottom:100px;left:50%;transform:translateX(-50%);z-index:150;max-width:min(500px,calc(100vw - 32px));width:max-content;background:#101318;color:white;border-radius:10px;padding:14px 20px;font-size:13px;box-shadow:0 8px 28px #10131820;pointer-events:none;text-align:center}
@keyframes controls-appear{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}
@media(hover:hover){.category-link:hover{background:#f3f8ff;transform:translateY(-2px)}.category-link:hover .icon{transform:translateY(-3px)}.category-link:hover .category-arrow{transform:translate(2px,-2px)}.program-card:hover{border-color:#81a8de;transform:translateY(-2px)}.button:hover{transform:translateY(-1px)}}
@media(max-width:1100px){.category-link{min-height:210px}.category-link:nth-child(n+5){border-top:0}.category-grid{row-gap:8px}.hero-finder>div{flex-wrap:wrap}.hero-finder .select-shell{flex-basis:100%}.hero-finder .button{width:100%}.comparison-controls>div{max-width:none}}
@media(max-width:750px){.category-link{min-height:192px;padding:18px 14px}.category-link:nth-child(n+3){border-top:0}.category-link .icon{width:42px;height:42px;padding:10px;margin-bottom:16px}.category-link>span:not(.category-arrow){font-size:15px}.category-link small{font-size:13px}.category-link:last-child{padding:20px 48px 20px 94px;min-height:108px}.category-link:last-child .icon{left:14px;top:23px;width:42px;height:42px;position:absolute}.category-arrow{top:24px;right:13px}.category-grid{gap:10px 6px}.hero-finder{padding:16px;margin-top:25px}.hero-finder>div{flex-wrap:nowrap}.hero-finder .select-shell{flex-basis:auto}.hero-finder .button{width:auto;min-height:58px;padding-inline:14px}.hero-finder .select-button{gap:7px;padding:12px 10px;font-size:13px}.hero-finder .select-leading .control-icon{width:21px;height:21px}.hero-finder .select-chevron .control-icon{width:16px;height:16px}.trust-strip{grid-template-columns:minmax(0,1fr);padding:12px 14px;gap:0;font-size:16px}.benefit-link{flex-direction:row;text-align:left;gap:18px;padding:12px 4px}.benefit-link+ .benefit-link{border-top:1px solid var(--line);border-radius:0}.benefit-link img{width:104px;height:104px;flex-shrink:0}.benefit-link>span{max-width:none}.finder-controls label,.cost-fields label{font-size:14px}.search-shell input[type=search]{font-size:16px;padding-left:48px;padding-right:48px}.search-icon{left:14px}.search-shortcut{display:none}.search-clear{right:3px}.search-suggestions button{min-height:44px;font-size:13px}.select-button{font-size:14px;min-height:58px}.select-option{min-height:58px;padding:12px 10px}.option-copy{font-size:14px}.option-copy small{font-size:12px}.select-popover{border-radius:12px}.cost-fields{grid-template-columns:1fr;gap:18px}.comparison-controls>div{min-width:0;flex-basis:100%}.comparison-controls .button{flex:1}.interaction-feedback{bottom:92px;font-size:12px}.compare-tray{gap:9px;padding:10px 12px}.compare-tray .button{font-size:12px}.compare-tray>span{font-size:12px}.program-summary,.program-card dl{font-size:14px}.plan-name{font-size:13px}.program-category,.source-note{font-size:11px}.program-actions>a{font-size:13px}}
@media(max-width:360px){.hero-finder>div{flex-wrap:wrap}.hero-finder .select-shell{flex-basis:100%}.hero-finder .button{width:100%}.brand{font-size:21px}.brand>span{font-size:26px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.category-link:hover,.category-link:hover .icon,.program-card:hover,.button:hover,.benefit-link:hover img,.benefit-link:hover .benefit-arrow{transform:none}}
@media print{.select-popover,.interaction-feedback,.search-suggestions,.select-shell,.hero-finder{display:none!important}.comparison-scroll,.cost-output{border-radius:0}.checkbox-label input{appearance:auto}.before-join li:has(input:checked) label>span{color:black}}
.cost-layout>*{min-width:0}.cost-figures{grid-template-columns:repeat(2,minmax(0,1fr))}.cost-figures>div{min-width:0}.cost-figures .unconfirmed-amount{font-size:clamp(17px,4.3vw,24px);letter-spacing:-.3px}
@media(max-width:750px){.cost-layout{grid-template-columns:minmax(0,1fr)}}

/* Keep original brand artwork legible, uncropped and independent of selection colors. */
.provider-logo{display:flex;align-items:center;justify-content:center;width:152px;height:58px;flex:none;background:white;border-radius:6px;padding:4px;max-width:100%}
.provider-logo img{display:block;width:100%;height:100%;object-fit:contain}
.program-top{gap:12px;align-items:center}.program-top .provider-logo{width:152px;max-width:55%}.program-category{text-align:right}
.comparison-table .provider-logo{width:128px;height:48px;margin-bottom:12px}.cost-output>.provider-logo{width:142px;height:52px;margin-bottom:18px}
.program-popover .option-icon{width:84px;height:40px;background:white;border-radius:6px}.program-popover .provider-logo{width:84px;height:36px;padding:3px}
.program-select .select-leading .provider-logo{width:62px;height:30px;padding:2px}.program-select .select-button{gap:10px}
@media(max-width:360px){.program-top{flex-wrap:wrap;gap:8px}.program-top .provider-logo{max-width:100%}.program-category{text-align:left}}
@media print{.comparison-table .provider-logo{width:100px;height:36px;break-inside:avoid}}
