/* Short, one-off motion for the pricing page. Content is visible without JS. */
.pricing-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.pricing-page .estimate-total{font-variant-numeric:tabular-nums}
/* Share label, control and feedback rows so notes cannot displace a neighbour's input. */
.calculator-form{container-type:inline-size}
.calculator-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 22px;margin-top:28px}
.calculator-field{display:grid;grid-template-rows:subgrid;grid-row:span 3;min-width:0}
.calculator-field label{flex:none;min-height:0}
.calculator-field-feedback{min-width:0;padding-bottom:26px}
.calculator-field:last-child .calculator-field-feedback{padding-bottom:0}
.calculator-field-period{grid-column:1/-1}
@container(max-width:calc(18rem + 22px)){
 .calculator-fields{grid-template-columns:1fr}
}
.network-picker{min-width:0;padding:0;margin:0;border:0}
.network-picker legend{width:100%;padding:0;font-size:1rem;font-weight:500;color:var(--text)}
.network-picker-heading{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px}
.network-count{max-width:100%;padding:6px 10px;border:1px solid var(--line);border-radius:6px;background:var(--surface);color:var(--accent);font-size:.875rem;line-height:1.5;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.network-count[data-invalid="true"]{border-color:var(--line);color:var(--error)}
.legacy-platform-field{display:block;max-width:280px;margin-bottom:14px}
.network-picker>.field-error{margin:0 0 16px}
.legacy-platform-field[hidden]{display:none}
:root[data-theme="light"] .network-count{background:var(--soft);border-color:var(--line);color:var(--muted)}
:root[data-theme="light"] .network-count[data-invalid="true"]{border-color:var(--line);color:var(--error)}
.network-hint,.network-legacy-note{font-size:.875rem;line-height:1.6;color:var(--muted);margin:8px 0 16px}
.network-legacy-note{border-left:2px solid var(--accent);padding-left:12px}
.network-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,8.5rem),1fr));gap:9px}
.network-option{position:relative;display:flex;align-items:center;min-height:62px;gap:10px;padding:14px 12px;border:1px solid var(--line);border-radius:8px;background:var(--surface);color:var(--text);cursor:pointer;transition:background .18s,border-color .18s}
.network-option input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer}
.network-option svg{width:22px;height:22px;flex:0 0 22px;fill:currentColor}
.network-option span{font-size:.875rem;line-height:1.4;overflow-wrap:anywhere;padding-right:13px}
.network-option:has(input:checked){background:var(--surface);border-color:var(--accent);color:var(--accent-ink)}
.network-option:has(input:checked):after{content:'';position:absolute;right:10px;top:10px;width:5px;height:9px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg);pointer-events:none}
.network-option:has(input:focus-visible){outline:2px solid var(--accent);outline-offset:3px}
.network-option-other{border-style:dashed}
.custom-platform-field{margin-top:18px}
.custom-platform-field label{display:block;color:var(--text);font-size:.875rem;margin-bottom:10px}
.custom-platform-field textarea{display:block;box-sizing:border-box;width:100%;min-height:100px;resize:vertical;padding:12px 15px;border:1px solid var(--line);border-radius:7px;background:var(--surface);color:var(--text);font:400 1rem/1.6 var(--font)}
.custom-platform-field textarea:focus-visible{outline:2px solid var(--accent);outline-offset:4px}
.custom-platform-field textarea[aria-invalid="true"]{border-color:var(--line)}
.custom-platform-field .network-hint{margin-bottom:0}
.custom-platform-selection{margin-top:18px}
.custom-platform-selection[hidden]{display:none}
.custom-platform-heading{margin:0 0 10px;color:var(--muted);font-size:.875rem;line-height:1.5}
.custom-platform-tags{display:flex;flex-wrap:wrap;gap:8px;margin:0;padding:0;list-style:none}
.custom-platform-tag{display:flex;align-items:center;min-width:0;max-width:100%;gap:8px;padding-left:12px;border:1px solid var(--line);border-radius:8px;background:var(--surface);color:var(--text)}
.custom-platform-tag-label{min-width:0;padding-block:8px;font-size:.875rem;line-height:1.5;overflow-wrap:anywhere}
.custom-platform-tag-note{display:block;color:var(--muted);font-size:.875rem}
.custom-platform-remove{display:grid;place-items:center;flex:0 0 44px;align-self:stretch;min-height:44px;padding:0;border:0;border-radius:0 7px 7px 0;background:transparent;color:var(--muted);cursor:pointer;font-size:1.5rem;line-height:1}
.custom-platform-remove:hover{background:var(--soft);color:var(--accent)}
.custom-platform-remove:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
:root[data-theme="light"] .custom-platform-tag{background:var(--soft);border-color:var(--line)}
:root[data-theme="light"] .custom-platform-remove:hover{background:var(--soft)}
.custom-platform-field[hidden],.network-legacy-note[hidden]{display:none}
:root[data-theme="light"] .network-option,:root[data-theme="light"] .custom-platform-field textarea{background:var(--soft);color:var(--text);border-color:var(--line)}
:root[data-theme="light"] .network-option:has(input:checked){background:var(--soft);color:var(--muted);border-color:var(--line)}
:root[data-theme="light"] .custom-platform-field textarea[aria-invalid="true"]{border-color:var(--line)}
.platform-preview{margin-top:26px;padding:18px;border:1px solid var(--line);border-radius:10px;background:var(--surface)}
.platform-preview-heading{display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap}
.platform-preview-heading h3{margin:0;font-size:.875rem;font-weight:400;color:var(--muted)}
.platform-preview-heading strong{font-size:.9375rem;font-weight:500;color:var(--accent);font-variant-numeric:tabular-nums}
.platform-tiles{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,7rem),1fr));grid-auto-rows:1fr;gap:8px;margin-top:16px}
.platform-tiles[hidden],.platform-tile-more[hidden],.platform-preview-actions[hidden]{display:none}
.platform-tile{display:flex;min-width:0;min-height:88px;align-items:center;justify-content:center;flex-direction:column;gap:8px;padding:10px 5px;border:1px solid var(--line);border-radius:8px;background:var(--surface);color:var(--accent-ink)}
.platform-tile svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round}
.platform-tile svg.network-icon{fill:currentColor;stroke:none}
.platform-tile-number{max-width:100%;text-align:center;overflow-wrap:anywhere;font-size:.875rem;line-height:1.4;color:var(--muted);font-variant-numeric:tabular-nums}
.platform-tile-more{width:100%;gap:4px;border-style:dashed;background:transparent;font:inherit;cursor:pointer}
.platform-tile-more:hover{background:var(--surface);border-color:var(--accent)}
.platform-tile:focus-visible,.platform-collapse:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.platform-preview-actions{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px 16px;margin-top:12px}
.platform-preview-progress{font-size:.875rem;line-height:1.6;color:var(--muted)}
.platform-collapse{min-height:44px;padding:8px 0;border:0;background:transparent;color:var(--accent);font:400 .875rem/1.5 var(--font);text-decoration:underline;text-underline-offset:4px;cursor:pointer}
.platform-tile-more strong{font-size:1rem;font-weight:500;max-width:100%;padding-inline:6px;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.platform-preview-note{margin:14px 0 0;font-size:.8125rem;line-height:1.65;color:var(--muted)}
:root[data-theme="light"] .platform-preview{background:var(--soft);border-color:var(--line)}
:root[data-theme="light"] .platform-preview-heading h3,:root[data-theme="light"] .platform-preview-note{color:var(--muted)}
:root[data-theme="light"] .platform-tile{background:var(--soft);border-color:var(--line);color:var(--muted)}
:root[data-theme="light"] .platform-tile-number{color:var(--muted)}
:root[data-theme="light"] .platform-tile-more{background:transparent}
:root[data-theme="light"] .platform-tile-more:hover{background:var(--soft);border-color:var(--line)}
.pricing-page .button{transition:background .18s ease,border-color .18s ease,box-shadow .22s ease,transform .22s cubic-bezier(.2,.7,.2,1)}
.pricing-page .button:focus-visible{box-shadow:0 0 0 5px transparent}
@media(hover:hover) and (pointer:fine){
 .pricing-page .button:not(:disabled):hover{transform:translateY(-3px);box-shadow:0 8px 24px transparent}
 .pricing-page .button-primary:hover{box-shadow:0 8px 28px transparent}
 :root[data-theme="light"] .pricing-page .button:not(:disabled):hover{box-shadow:0 7px 22px transparent}
}
.pricing-page .button:not(:disabled):active{transform:translateY(0) scale(.985);box-shadow:none;transition-duration:.08s}
.pricing-page .button:disabled{transform:none;box-shadow:none}
@media(prefers-reduced-motion:reduce){
 .network-option{transition:none}
 .pricing-page .button{transition:none}
 .pricing-page .button:not(:disabled):hover,.pricing-page .button:not(:disabled):active{transform:none}
}

/* Keep the estimate reachable while the account form grows. */
.price-estimate{scroll-margin-top:20px}
.price-estimate:focus-visible{outline:2px solid var(--accent);outline-offset:4px}
@media(min-width:621px){
 .price-estimate{position:sticky;top:20px;max-height:calc(100vh - 40px);max-height:calc(100dvh - 40px);overflow-y:auto;scrollbar-gutter:stable}
 .price-estimate :is(a,button,summary,input){scroll-margin-block:16px}
}
.mobile-estimate{display:none}
@media(max-width:620px){
 html.has-mobile-estimate{scroll-padding-bottom:var(--mobile-estimate-space,100px)}
 .mobile-estimate{position:fixed;z-index:5;inset:auto 0 0;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px 16px;padding:12px max(16px,env(safe-area-inset-right)) calc(12px + env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left));background:var(--bg);border-top:1px solid var(--line);box-shadow:0 -8px 28px transparent}
 .mobile-estimate-summary{flex:1 1 8rem;min-width:0}
 .mobile-estimate-summary>span{display:block;font-size:.875rem;line-height:1.5;color:var(--muted)}
 .mobile-estimate-summary>strong{display:block;margin-top:3px;font-size:1.5rem;line-height:1.2;font-weight:500;font-variant-numeric:tabular-nums;color:var(--accent);overflow-wrap:anywhere}
 .mobile-estimate-link{flex:0 1 auto;max-width:100%;min-height:44px;padding:12px 16px;font-size:.875rem;line-height:1.5;text-align:center}
 .mobile-estimate[data-invalid="true"] .mobile-estimate-summary>span{color:var(--error)}
 :root[data-theme="light"] .mobile-estimate[data-invalid="true"] .mobile-estimate-summary>span{color:var(--error)}
}
.mobile-estimate[hidden]{display:none}

.project-brief{margin-top:26px;border:1px solid var(--line);border-radius:10px;background:var(--surface)}
.project-brief>summary{display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px;min-height:58px;padding:16px;cursor:pointer;font-size:1rem;line-height:1.5;list-style:none}
.project-brief>summary::-webkit-details-marker{display:none}
.project-brief>summary:after{content:'+';margin-left:auto;color:var(--accent);font-size:1.25rem}
.project-brief[open]>summary:after{content:'−'}
.project-brief>summary:focus-visible{outline:2px solid var(--accent);outline-offset:3px;border-radius:10px}
.brief-optional{font-size:.875rem;color:var(--muted)}
.project-brief-fields{padding:0 16px 18px}
.brief-hint{margin:0;color:var(--muted);font-size:.875rem;line-height:1.6}
.brief-field{margin-top:20px;min-width:0}
.brief-field label{display:block;margin-bottom:8px;font-size:.875rem;line-height:1.5;color:var(--text)}
.brief-field input{display:block;width:100%;min-width:0;min-height:48px;padding:12px;border:1px solid var(--line);border-radius:7px;background:var(--bg);color:var(--text);font:400 1rem/1.5 var(--font)}
.brief-field input:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.brief-field .brief-hint{margin-top:8px}
:root[data-theme="light"] .project-brief{background:var(--soft);border-color:var(--line)}
:root[data-theme="light"] .brief-field input{border-color:var(--line)}

.network-picker{scroll-margin-top:24px}
.network-picker:focus-visible{outline:2px solid var(--accent);outline-offset:6px}
.estimate-tools{display:flex;flex-wrap:wrap;gap:4px 20px;margin-top:12px}
.estimate-tools a,.estimate-tools button,.estimate-undo button{display:inline-flex;align-items:center;min-height:44px;padding:6px 0;border:0;background:transparent;font:400 .875rem/1.5 var(--font);color:var(--accent);text-align:left;text-decoration:underline;text-underline-offset:4px;cursor:pointer}
.estimate-tools button{color:var(--muted)}
.estimate-tools button:disabled{opacity:.5;cursor:default;text-decoration:none}
.estimate-tools a:focus-visible,.estimate-tools button:focus-visible,.estimate-undo button:focus-visible{outline:2px solid var(--accent);outline-offset:4px;border-radius:3px}
.estimate-undo{margin-top:12px;padding:12px 14px;border:1px solid var(--line);border-radius:8px;background:var(--bg)}
.estimate-undo[hidden]{display:none}
.estimate-undo p{margin:0;color:var(--muted);font-size:.875rem;line-height:1.6}

/* Editable volume presets reuse the calculator's selected platforms and options. */
.estimate-scenarios{margin-bottom:30px;padding-bottom:28px;border-bottom:1px solid var(--line)}
.estimate-scenarios h3{font-size:1rem;font-weight:500;line-height:1.5;margin:0 0 8px}
.scenarios-lead,.scenarios-note{font-size:.875rem;color:var(--muted);line-height:1.65;margin:0}
.scenario-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:18px 0 14px}
.scenario-option{display:flex;flex-direction:column;align-items:flex-start;gap:9px;min-width:0;padding:18px 16px;border:1px solid var(--line);border-radius:9px;background:var(--surface);color:var(--text);font:inherit;text-align:left;cursor:pointer;overflow-wrap:anywhere;transition:background .18s,border-color .18s}
.scenario-option:hover{background:var(--surface);border-color:var(--line)}
.scenario-option[aria-pressed="true"]{border-color:var(--accent);background:var(--surface)}
.scenario-option:focus-visible{outline:2px solid var(--accent);outline-offset:4px}
.scenario-name{font-size:1rem;line-height:1.4;font-weight:600}
.scenario-volume{font-size:.875rem;line-height:1.6;color:var(--muted)}
.scenario-selected{font-size:.875rem;line-height:1.4;color:var(--accent);visibility:hidden}
.scenario-option[aria-pressed="true"] .scenario-selected{visibility:visible}
.scenario-feedback{display:flex;flex-wrap:wrap;align-items:center;gap:0 16px}
.scenario-feedback p{flex:1 1 14rem;margin:12px 0 0;color:var(--text);font-size:.875rem;line-height:1.6}
.scenario-feedback p:empty{display:none}
#scenario-undo{min-height:44px;padding:8px 0;border:0;background:transparent;font:400 .875rem/1.5 var(--font);color:var(--accent);text-decoration:underline;text-underline-offset:4px;cursor:pointer}
#scenario-undo[hidden]{display:none}
:root[data-theme="light"] .scenario-option{background:var(--soft);border-color:var(--line)}
:root[data-theme="light"] .scenario-option:hover{background:var(--soft);border-color:var(--line)}
:root[data-theme="light"] .scenario-option[aria-pressed="true"]{background:var(--soft);border-color:var(--line)}
@container(max-width:24rem){.scenario-options{grid-template-columns:1fr}.scenario-option{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:12px}.scenario-volume{grid-column:1}.scenario-selected{grid-column:2;grid-row:1/3;align-self:center}}
@media(prefers-reduced-motion:reduce){.scenario-option{transition:none}}
