/* PreveriDom · 2026-10-09 · useful, complete first screens across 27 routes.
   Decision routes retain their distinct custom identity; no mock statistics. */
:root{--pd-rich-ink:#162f29;--pd-rich-sub:#365248}
body:not([data-ux-family="overview"]):not([data-ux-family="buying"]) .next-hero .hero-support{
  align-self:start;min-width:0;padding:23px;border:1px solid #b6cabc;
  border-top:6px solid var(--hero-accent,#21654b);border-radius:20px;
  background:linear-gradient(145deg,#fff 0%,#f7faf8 100%);
  color:var(--pd-rich-ink);box-shadow:0 16px 38px rgba(16,43,31,.105)
}
.next-hero .hero-guidance{display:grid;gap:13px;margin-top:18px;padding-top:16px;border-top:1px solid #cbd9d0}
.next-hero .hero-guidance-copy{
  font-size:15px;line-height:1.6;letter-spacing:0;font-weight:560;
  color:#244136;background:#eaf3ed;padding:14px 15px;
  margin:0;border-radius:12px;border-left:4px solid var(--hero-accent,#21654b);
  overflow-wrap:anywhere
}
.next-hero .hero-guidance-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.next-hero .hero-guidance-links a{
  display:flex;align-items:center;justify-content:space-between;gap:8px;
  min-height:54px;padding:11px 12px;text-decoration:none;
  font-size:14px;line-height:1.4;font-weight:850;
  background:#fff;color:#1c4d3d;border:1px solid #a8c5b6;
  border-radius:11px;overflow-wrap:anywhere;
  transition:border-color .18s ease,background .18s ease,transform .18s ease
}
.next-hero .hero-guidance-links a:hover{background:#daf0e5;border-color:#387c63;transform:translateY(-2px);text-decoration:underline;text-underline-offset:3px}
.next-hero .hero-guidance-links a:focus-visible,
.next-hero .hero-guide-mosaic a:focus-visible,
.next-hero .hero-tool-map a:focus-visible,
.next-hero .hero-guide-choice a:focus-visible{outline:3px solid #f0ad37;outline-offset:3px}
.next-hero .hero-guidance-links a span{margin-left:auto;flex:none;font-size:18px;color:#145b43}
body[data-ux-family="guides"] .tool-hero.next-hero,
body[data-ux-family="directory"] .tool-hero.next-hero{
  background:linear-gradient(125deg,#eaf4f6,#f8fbfd 57%,#eaf1fb)!important;
  border-color:#a8bfcc!important
}
.tool-hero.next-hero{
  grid-template-columns:minmax(0,1.04fr) minmax(320px,.96fr);
  align-items:start;gap:14px 32px;padding-top:36px!important
}
.tool-hero.next-hero>.hero-support{grid-column:2;grid-row:1/6;align-self:start}
.tool-hero.next-hero>h1{max-width:22ch;font-size:clamp(37px,4.6vw,62px);text-wrap:balance}
.tool-hero.next-hero>.lead{max-width:59ch;margin-bottom:10px;font-size:18px;line-height:1.6}
.tool-hero.next-hero>.tool-route-nav{margin-top:12px}
.hero.next-hero .hero-grid>.hero-support{align-self:start}
body:not([data-ux-family="overview"]):not([data-ux-family="buying"]) .hero.next-hero .hero-grid{max-width:1160px;gap:15px 34px}
body:not([data-ux-family="overview"]):not([data-ux-family="buying"]) .hero.next-hero h1{font-size:clamp(38px,4.5vw,61px);line-height:1.07;max-width:18ch}
body:not([data-ux-family="overview"]):not([data-ux-family="buying"]) .hero.next-hero .lead{max-width:52ch;font-size:18px;line-height:1.6}
.hero-guide-mosaic{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important}
.hero-guide-mosaic a{
  display:flex;flex-direction:column;align-items:flex-start;justify-content:center;
  gap:4px;min-height:78px;padding:13px 14px;
  background:#eef6fc;color:#183a57;border:1px solid #abc2d8;
  border-radius:12px;font-size:14px;line-height:1.36;font-weight:850;text-decoration:none
}
.hero-guide-mosaic a:hover{background:#dceefc;border-color:#5b83a3;text-decoration:none}
.hero-guide-mosaic a b{font-size:17px;color:#174c76;font-weight:950}
.hero-tool-map{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
.hero-tool-map a{
  display:flex;align-items:center;min-height:49px;padding:12px 14px;
  border:1px solid #a8c9b4;border-radius:11px;background:#fff;
  color:#194936;font-size:15px;font-weight:850;text-decoration:none
}
.hero-tool-map a:hover{background:#e3f4e9;border-color:#367f58}
.hero-tool-map a:last-child{grid-column:1/-1}
.hero-guide-choice{display:flex;flex-wrap:wrap;gap:9px;margin:5px 0 12px;grid-column:1}
.hero-guide-choice a{
  display:inline-flex;align-items:center;justify-content:center;min-height:48px;
  padding:10px 14px;border:1px solid #8eb2cc;border-radius:11px;
  background:#195675;color:#fff;font-size:15px;font-weight:850;text-decoration:none
}
.hero-guide-choice a:hover{background:#0e3e5b;color:#fff}
body[data-ux-family="buying"] .hero.next-hero .hero-grid>.hero-support{
  align-self:start!important;height:auto!important;min-height:0!important;
  grid-row:1/7
}
body[data-ux-family="buying"] .buying-roadmap a{min-height:80px}
body[data-ux-family="buying"] .buying-roadmap a:hover,
body[data-ux-family="buying"] .buying-roadmap a:focus-visible{border-color:#7c4e23}
@media(max-width:900px){
  .tool-hero.next-hero{grid-template-columns:1fr!important;gap:13px!important}
  .tool-hero.next-hero>.hero-support,.tool-hero.next-hero>.breadcrumbs,.tool-hero.next-hero>.kicker,
  .tool-hero.next-hero>h1,.tool-hero.next-hero>.lead,.tool-hero.next-hero>.hero-guide-choice,
  .tool-hero.next-hero>.tool-route-nav{grid-column:1!important;grid-row:auto!important}
  .next-hero .hero-guidance-links{grid-template-columns:repeat(2,minmax(0,1fr))}
  body:not([data-ux-family="overview"]):not([data-ux-family="buying"]) .hero.next-hero .hero-grid{grid-template-columns:1fr!important}
  body:not([data-ux-family="overview"]):not([data-ux-family="buying"]) .hero.next-hero .hero-grid>.hero-support{
    grid-column:1!important;grid-row:auto!important
  }
}
@media(max-width:570px){
  .tool-hero.next-hero>h1{font-size:clamp(33px,9vw,45px)}
  .next-hero .hero-guidance-links{grid-template-columns:1fr}
  .next-hero .hero-guidance-links a{min-height:48px}
  .hero-guide-mosaic{grid-template-columns:1fr!important}
  .hero-guide-mosaic a{min-height:61px}
  .hero-tool-map{grid-template-columns:1fr!important}
  .hero-tool-map a:last-child{grid-column:1}
  .hero-guide-choice a{width:100%}
  body:not([data-ux-family="overview"]):not([data-ux-family="buying"]) .next-hero .hero-support{padding:17px}
  .next-hero .hero-guidance-copy{padding:12px}
}
@media(prefers-reduced-motion:reduce){
  .next-hero .hero-guidance-links a{transition:none}
  .next-hero .hero-guidance-links a:hover{transform:none}
}
@media print{.hero-guide-choice,.hero-guidance-links{display:none!important}}

/* Distinct page families: accessible CTA to the actual address checker. */
body:not([data-ux-family="overview"]):not([data-ux-family="buying"]) .next-hero .hero-support{border-top-color:var(--hero-accent,#21654b);background:linear-gradient(155deg,#fff,#f1f7f4);box-shadow:0 22px 45px rgba(16,43,31,.13)}
.hero-address-shortcut{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;min-height:52px;margin-top:18px;padding:12px 15px;border-radius:12px;border:2px solid transparent;background:#153f37;color:#fff!important;font-size:16px;line-height:1.4;font-weight:900;text-decoration:none!important;transition:transform .16s ease,background .16s ease}
.hero-address-shortcut span{font-size:22px;color:#daf9a2;font-weight:900}
.hero-address-shortcut:hover{background:#0b312e;color:#fff!important;transform:translateY(-2px)}
.hero-address-shortcut:focus-visible{outline:3px solid #e6a43e;outline-offset:3px}
body[data-ux-family="flood"] .hero-address-shortcut,body[data-ux-family="municipality"] .hero-address-shortcut{background:#174e73}
body[data-ux-family="earthquake"] .hero-address-shortcut,body[data-ux-family="solar"] .hero-address-shortcut{background:#714020}
body[data-ux-family="heritage"] .hero-address-shortcut,body[data-ux-family="documents"] .hero-address-shortcut{background:#553b71}
body[data-ux-family="etn"] .hero-address-shortcut,body[data-ux-family="natura"] .hero-address-shortcut{background:#165c46}
body:not([data-ux-family="overview"]):not([data-ux-family="buying"]) .next-hero .hero-guidance-links a{border-left:4px solid var(--hero-accent,#21654b);background:#fcfefd}
body:not([data-ux-family="overview"]):not([data-ux-family="buying"]) .next-hero .hero-guidance-links a:hover{background:#e5f2eb}
@media(max-width:570px){.hero-address-shortcut{min-height:50px;margin-top:15px}}
@media(prefers-reduced-motion:reduce){.hero-address-shortcut{transition:none}.hero-address-shortcut:hover{transform:none}}
