/* One spacing scale and one content axis for the public page and ordering. */
.top { min-height:80px; padding:18px 32px; flex-wrap:wrap; gap:20px; }
.top .brand { margin-right:auto; }
.top .brand span { display:grid; gap:5px; }
.top .brand strong { font-size:18px; line-height:1.2; font-weight:650; }
.top .brand small { font-size:10px; letter-spacing:.1em; line-height:1.4; }
.top nav { gap:28px; }
.top .account-link,.top .grant-menu-toggle,.top .exit-order { font-size:16px; font-weight:450; text-decoration:none; min-height:44px; display:flex; align-items:center; }
.top a:hover,.top .grant-menu-toggle:hover { text-decoration:underline; }
.top .grant-menu { position:relative; }
.top .grant-menu-toggle { padding:0; border:0; border-radius:0; background:none; filter:none; }
.top .grant-menu-panel { position:absolute; right:0; top:52px; display:grid; gap:0; padding:8px; width:288px; min-width:0; background:var(--surface); border:1px solid var(--line); border-radius:8px; box-shadow:0 12px 32px #0002; z-index:20; }
.top .grant-menu-panel[hidden] { display:none; }
.top .grant-menu-panel>a { display:flex; align-items:center; padding:12px 14px; min-height:48px; text-decoration:none; font-size:16px; font-weight:450; border-radius:4px; }
.top .grant-menu-panel>a:hover { background:var(--wash); }
.top .grant-menu-panel .mobile-account-link { display:none; }
.menu-settings { margin-top:8px; padding:16px 14px 8px; border-top:1px solid var(--line); }
.menu-settings .display-mode-control { font-size:16px; font-weight:450; justify-content:space-between; gap:16px; }
.menu-settings select { min-height:42px; width:auto; font-size:16px; padding:6px 10px; }
.grant-home { max-width:1180px; margin:0 auto; padding:0 32px 40px; }
.home-hero { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.1fr); align-items:center; gap:48px; padding:64px 0; }
.home-intro h1 { font-size:56px; line-height:1.08; letter-spacing:-.04em; font-weight:650; margin:0 0 24px; }
.home-lead { font-size:19px; line-height:1.6; color:var(--muted); max-width:600px; margin-bottom:32px; }
.home-actions { display:flex; flex-wrap:wrap; gap:12px; }
.home-cta { min-height:54px; padding:13px 28px; font-size:17px; }
.home-start { padding:32px; border:1px solid var(--line); border-radius:12px; background:var(--surface); }
.home-caption { font-size:17px; font-weight:600; margin-bottom:12px; }
.home-price { font-size:48px; line-height:1; letter-spacing:-.04em; font-weight:600; margin-bottom:24px; font-variant-numeric:tabular-nums; }
.home-price span { font-size:30px; font-weight:450; }
.home-start p:not(.home-caption,.home-price) { font-size:17px; line-height:1.6; }
.home-start .home-credit { margin:24px 0 0; padding-top:24px; border-top:1px solid var(--line); color:var(--muted); }
.home-pricing { --price-service-width:34%; padding:28px; }
.home-pricing h2 { font-size:24px; margin:0 0 20px; }
.price-heading { margin-bottom:28px; }
.price-heading h2 { margin:0; }
/* The persistent selector occupies the table's empty first header cell. */
.price-matrix { display:grid; }
#municipality-prices { grid-area:1/1; min-width:0; }
.price-location { grid-area:1/1; align-self:start; justify-self:start; z-index:1; width:var(--price-service-width); min-width:0; display:grid; margin:0; padding-right:12px; font-size:13px; font-weight:450; }
.price-location span { color:var(--muted); line-height:18px; }
.home-pricing .price-location select { width:100%; min-width:0; margin:0; border:0; border-radius:0; box-shadow:none; background:transparent; font-size:15px; font-weight:600; line-height:1.4; min-height:36px; padding:2px 0; cursor:pointer; }
.price-location select:hover { text-decoration:underline; text-underline-offset:.2em; }
.inline-info { display:inline; border:0; border-radius:0; min-height:0; padding:0; background:none; font:inherit; text-decoration:underline; text-underline-offset:.2em; }
.price-attribution { display:block; font-size:12px; margin-top:8px; line-height:1.6; }
.home-price-table { width:100%; table-layout:fixed; border-collapse:collapse; font-size:18px; line-height:1.5; }
.home-price-table .price-service-column { width:var(--price-service-width); }
.home-price-table th,.home-price-table td { padding:18px 4px; border-bottom:1px solid color-mix(in srgb,var(--line) 60%,transparent); text-align:center; }
.home-price-table thead th { font-size:14px; font-weight:600; padding-top:0; padding-bottom:16px; }
.home-price-table small { display:block; font-size:13px; font-weight:400; color:var(--muted); margin-top:4px; white-space:nowrap; }
.home-price-table tbody th { text-align:left; font-size:14px; font-weight:450; padding-left:0; padding-right:8px; }
.home-price-table tbody td { white-space:nowrap; font-variant-numeric:tabular-nums; font-weight:600; }
.home-price-table tbody tr:last-child th,.home-price-table tbody tr:last-child td { border-bottom:0; }
.home-price-table tbody tr:last-child th { font-weight:650; }
.home-price-table tbody tr:last-child td { font-size:22px; }
.home-start.home-pricing .home-price-travel { display:flex; flex-wrap:wrap; gap:4px 14px; font-size:14px; line-height:1.6; margin:0; padding:0 0 20px; border-bottom:1px solid var(--line); }
.home-price-travel span { white-space:nowrap; }
.home-price-scope { display:grid; gap:12px; font-size:14px; line-height:1.6; margin:20px 0 0; }
.home-price-scope>div { display:grid; grid-template-columns:104px minmax(0,1fr); gap:12px; }
.home-price-scope dt { font-weight:550; }
.home-price-scope dd { margin:0; color:var(--muted); }
.home-start.home-pricing .home-credit { font-size:12px; line-height:1.6; color:var(--muted); margin-top:20px; padding-top:0; border:0; }
.home-service { border-top:1px solid var(--line); padding:48px 0; }
.home-service h2 { font-size:32px; line-height:1.2; margin:0 0 36px; font-weight:600; }
.home-stages { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:40px; list-style:none; margin:0; padding:0; }
.home-stages li { min-width:0; }
.home-stages h3 { font-size:21px; line-height:1.3; margin:0 0 12px; font-weight:600; }
.home-stages p { color:var(--muted); font-size:17px; line-height:1.6; margin:0; }
.home-questions { border-top:1px solid var(--line); padding-top:16px; }
.home-questions details { margin:0; padding:20px 0; border-bottom:1px solid var(--line); }
.home-questions summary { font-size:18px; font-weight:500; }
.home-questions p { max-width:760px; margin:16px 0; line-height:1.65; }
.grant-home .footer { margin-top:32px; align-items:center; }
body[data-view="order"] .shell { max-width:820px; padding-top:32px; }
body[data-view="order"] { overflow-anchor:none; }
.guided-toolbar { display:flex; align-items:center; justify-content:space-between; gap:24px; margin-bottom:40px; font-size:14px; color:var(--muted); }
.back-link { min-height:44px; padding:8px 0; border:0; border-radius:0; background:none; font-size:16px; font-weight:450; text-decoration:underline; }
.guided-question h1,body[data-view="order"] .shell>h1 { font-size:40px; line-height:1.15; font-weight:600; margin-bottom:20px; }
.guided-lead { font-size:18px; line-height:1.65; color:var(--muted); margin-bottom:32px; max-width:680px; }
.guided-option { width:100%; display:flex; justify-content:space-between; align-items:center; gap:24px; padding:22px 24px; margin:0 0 14px; text-align:left; font-weight:450; border-radius:8px; background:var(--surface); }
.guided-option:hover { border-color:var(--focus); background:var(--wash); filter:none; }
.guided-option[data-selected="true"] { border-color:var(--accent); box-shadow:inset 0 0 0 1px var(--accent); }
.guided-option>span:first-child { min-width:0; }
.guided-option strong { display:block; font-size:18px; line-height:1.4; font-weight:550; }
.guided-option small { display:block; font-size:15px; line-height:1.6; margin-top:8px; }
.option-price { flex:0 0 180px; text-align:right; font-size:18px; line-height:1.4; font-weight:550; font-variant-numeric:tabular-nums; }
.option-price small { font-size:14px; font-weight:450; }
.guided-question input { margin-top:10px; }
.input-hint { color:var(--muted); font-size:14px; line-height:1.6; margin:12px 0 24px; }
.guided-source { font-size:15px; margin-top:28px; }
.guided-question .suggestions .guided-option { margin-bottom:8px; }
body[data-view="order"] .shell:has([data-form="checkout"]) { max-width:1100px; }
[data-form="checkout"] { display:grid; grid-template-columns:minmax(0,1fr) 360px; gap:48px; align-items:start; }
.checkout-details { grid-column:1; grid-row:1; min-width:0; }
.checkout-details>.fields { margin-bottom:24px; }
.checkout-summary { grid-column:2; grid-row:1; padding:24px; border:1px solid var(--line); background:var(--surface); border-radius:8px; }
.checkout-summary h2,body[data-view="order"] legend,.checkout-details>h2 { font-size:25px; line-height:1.25; font-weight:600; margin-bottom:20px; }
.order-address { font-size:15px; color:var(--muted); margin-bottom:24px; }
.order-product { font-size:17px; line-height:1.5; margin-bottom:8px; }
.price-details { margin:0 0 16px; }
.price-details summary { font-size:15px; font-weight:450; }
.checkout-summary .input-hint:last-child { margin-bottom:0; }
.checkout-summary .rows dt { min-width:0; }
.checkout-summary .rows dd { font-size:17px; }
.checkout-summary .rows>div:last-child { border-bottom:0; }
.checkout-summary .total { margin:8px 0 20px; flex-direction:column; align-items:flex-start; gap:8px; }
.checkout-summary .total strong { font-size:32px; }
@media(max-width:1024px) {
  .home-hero { gap:40px; padding:64px 0; }
  .home-intro h1 { font-size:48px; }
  .home-start { padding:24px; }
  .home-pricing { padding:20px 16px; }
  .home-price-table { font-size:17px; }
  .home-price-table tbody th { font-size:13px; padding-right:8px; }
  .home-price-table thead th { font-size:13px; }
  .home-stages { gap:28px; }
}
@media(max-width:800px) {
  [data-form="checkout"] { grid-template-columns:1fr; gap:32px; }
  .checkout-summary,.checkout-details { grid-column:1; grid-row:auto; }
  .home-hero { grid-template-columns:1fr; gap:40px; }
  .home-intro { max-width:640px; }
  .home-start { max-width:640px; }
  .home-stages { grid-template-columns:1fr; gap:28px; }
  .home-stages li { display:block; }
}
@media(max-width:600px) {
  .top { min-height:76px; padding:12px 20px; gap:12px; }
  .top .brand strong { font-size:15px; }
  .top .brand small { font-size:9px; letter-spacing:.06em; }
  .top .account-link { display:none; }
  .top .grant-menu-panel .mobile-account-link { display:flex; }
  .top .grant-menu-panel { width:min(288px,calc(100vw - 40px)); }
  .grant-home { padding:0 20px 28px; }
  .home-hero { padding:40px 0; gap:32px; }
  .home-intro h1 { font-size:40px; }
  .home-lead { font-size:18px; margin-bottom:28px; }
  .home-cta { width:100%; }
  .home-service { padding:32px 0; }
  .home-service h2 { font-size:28px; margin-bottom:28px; }
  .home-start { padding:24px; }
  .home-pricing { --price-service-width:36%; padding:20px 16px; }
  .price-heading { margin-bottom:24px; }
  .price-matrix { display:block; }
  .price-location { width:100%; display:flex; align-items:center; gap:16px; padding:0; margin-bottom:12px; }
  .home-pricing .price-location select { width:auto; max-width:calc(100% - 56px); min-height:44px; padding:4px 0; font-size:16px; }
  .home-price-table th,.home-price-table td { padding:16px 2px; }
  .home-price-table thead th { font-size:12px; }
  .home-price-table small { font-size:12px; }
  .home-price-table tbody th { font-size:13px; }
  .home-price-table tbody tr:last-child td { font-size:19px; }
  .home-price-scope>div { grid-template-columns:1fr; gap:2px; }
  .home-price { font-size:40px; }
  body[data-view="order"] .shell { padding:20px 20px 64px; }
  .guided-toolbar { margin-bottom:28px; gap:16px; }
  .guided-question h1,body[data-view="order"] .shell>h1 { font-size:32px; }
  .guided-lead { font-size:17px; margin-bottom:28px; }
  .guided-option { padding:18px; gap:14px; flex-wrap:wrap; }
  .option-price { flex:auto; text-align:left; }
  .guided-option:has(.option-price)>span:first-child { flex-basis:100%; }
  .checkout-summary { padding:20px; margin-bottom:0; }
  .checkout-summary .total { align-items:flex-start; flex-direction:column; gap:8px; }
}
@media(max-width:360px) {
  .home-pricing { --price-service-width:30%; padding:18px 12px; }
  .home-price-table { font-size:16px; }
  .home-price-table thead th,.home-price-table small { font-size:11px; }
  .home-price-table tbody th { font-size:11px; padding-right:4px; }
  .home-price-table tbody tr:last-child td { font-size:17px; }
}
@media print { .home-cta,.guided-toolbar,.home-questions,.top { display:none!important; } }
.project-context{font-size:15px;color:var(--muted);margin-bottom:24px;line-height:1.6}
.screening-section{margin-block:28px}.screening-section h2{font-size:22px;line-height:1.35;margin-bottom:12px}.screening-section ul{padding-left:24px;line-height:1.65}.screening-section li+li{margin-top:12px}.screening-section li p{color:var(--muted);margin-top:8px}.screening-notice{font-size:15px;line-height:1.65;color:var(--muted);margin-block:28px}.screening-check{min-height:52px;padding-block:12px}.screening-answers dl{margin-block:20px}.screening-answers dl>div+div{margin-top:18px}.screening-answers dt{font-size:15px;color:var(--muted)}.screening-answers dd{margin:4px 0 0}.screening-answers summary{min-height:44px}
.project-context span{white-space:nowrap}
.project-task>h1{max-width:22ch}
.calendar-day{margin-top:32px}
.calendar-day h2{font-size:20px;font-weight:600;margin-bottom:14px;letter-spacing:0}
.calendar-day .slots{grid-template-columns:repeat(3,minmax(0,1fr))}
.calendar-day .slots button{flex-direction:column;align-items:flex-start;justify-content:center;font-variant-numeric:tabular-nums}
.chat-choices{display:flex;flex-wrap:wrap;gap:10px;margin:22px 0}
.chat-choices button{font-weight:500;padding:10px 16px}
.copy-contact{align-self:flex-start;font-size:15px;text-align:left}
.summary-item{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:start;margin-bottom:16px}
.summary-item p{margin:0}
.checkout-summary .edit-order{font-size:14px;padding:0;justify-content:flex-start;min-height:44px}
.status:not(.sr-only):not(:empty){position:fixed;z-index:20;bottom:20px;left:50%;transform:translateX(-50%);max-width:calc(100% - 32px);padding:10px 20px;background:var(--surface);color:var(--ink);border:1px solid var(--line);border-radius:8px;box-shadow:0 4px 18px #0002}
@media(max-width:600px){.calendar-day .slots{grid-template-columns:repeat(2,minmax(0,1fr))}.calendar-day .slots button{padding:12px;font-size:14px}}
.guide-fields{margin-block:2rem}.guide-fields>div{padding-block:1.25rem;border-bottom:1px solid var(--line,#d7dce5)}.guide-fields dt{font-weight:650}.guide-fields dd{margin:0;display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:1rem;align-items:center}.guide-fields dd p{margin-block:.65rem}.guide-fields dd>.input-hint,.guide-fields dd>.muted{grid-column:1/-1}.guide-fields .report{white-space:pre-wrap;overflow-wrap:anywhere}
