/* HiddenHelp V70 publish-ready polish layer
   Safe additive layer: keeps the locked header/logo/load behaviour intact. */
:root{
  --hh-ink:#243044;
  --hh-muted:#657185;
  --hh-line:rgba(36,48,68,.12);
  --hh-soft:#fbf8ff;
  --hh-card:#ffffff;
  --hh-lav:#9b74b6;
  --hh-blue:#78c7f2;
  --hh-mint:#dff8ec;
  --hh-cream:#fff8df;
  --hh-pink:#faeefe;
  --hh-radius:22px;
  --hh-shadow:0 16px 42px rgba(47,33,76,.08);
}
html{scroll-behavior:smooth;}
body{color:var(--hh-ink);background:
  radial-gradient(circle at 10% 4%, rgba(250,238,254,.95), transparent 34rem),
  radial-gradient(circle at 92% 10%, rgba(238,249,255,.95), transparent 32rem),
  linear-gradient(180deg,#fff 0%,#fbf8ff 46%,#f7fbff 100%);
}
main, .wrap, .container, .page-wrap, .hh-page-wrap{max-width:1120px;margin-left:auto;margin-right:auto;}
section{scroll-margin-top:118px;}

/* Keep site navigation simple and publish-ready: Partnerships stays reachable from footer/page links, not the busy main nav. */
.hh-sitewide-header .hh-desktop-nav a[href*="partnerships"],
.hh-sitewide-header .hh-mobile-nav a[href*="partnerships"]{display:none!important;}
.hh-desktop-nav,.hh-mobile-nav{gap:.42rem!important;}
.hh-desktop-nav a,.hh-mobile-nav a{white-space:nowrap;}

/* calmer card system */
.card,.tile,.result-card,.saving-card,.guide-card,.activity-card,.local-card,
article[class*="card"],div[class*="card"],article[class*="tile"],div[class*="tile"]{
  border-color:var(--hh-line)!important;
  box-shadow:var(--hh-shadow);
}
.card:hover,.tile:hover,.result-card:hover,.saving-card:hover,.guide-card:hover,
article[class*="card"]:hover,div[class*="card"]:hover{
  transform:translateY(-1px);
}
@media (prefers-reduced-motion:reduce){
  *{scroll-behavior:auto!important;transition:none!important;animation:none!important;}
  .card:hover,.tile:hover,.result-card:hover,.saving-card:hover,.guide-card:hover,
  article[class*="card"]:hover,div[class*="card"]:hover{transform:none!important;}
}

/* typography: less shouty, easier to scan */
h1{letter-spacing:-.035em;line-height:1.02;max-width:920px;}
h2{letter-spacing:-.02em;line-height:1.12;}
h3{line-height:1.18;}
p,.muted,li{line-height:1.62;}
.muted,small,.sub{color:var(--hh-muted)!important;}
.pill,.tag,.badge{font-weight:800;letter-spacing:.01em;}

/* buttons and links */
a.btn,button,.btn,input[type="button"],input[type="submit"]{
  min-height:44px;border-radius:999px;font-weight:800;
}
a.btn:not(.primary),button:not(.primary):not([aria-pressed="true"]){background:#fff;}
.actions,.hero-start-actions,.hh-v26-plan-actions{gap:.65rem;align-items:center;}
.links a,.hh-v26-plan-links a,.result-card a:not(.btn){text-underline-offset:3px;}

/* forms: tidy, mobile-first, fewer awkward widths */
input,select,textarea{border-radius:16px!important;border:1.5px solid var(--hh-line)!important;background:#fff;min-height:44px;}
label{font-weight:750;}
fieldset{border-color:var(--hh-line)!important;border-radius:var(--hh-radius)!important;}

/* support/radar/results: make loaded tiles feel intentionally placed */
#results,#quick-wins,#supportPlanPanel,#savedSupportPanel,#loadedSupportTiles,#radarResults{
  scroll-margin-top:128px;
}
#results:not(:empty),#supportPlanPanel:not(:empty),#savedSupportPanel:not(:empty),#loadedSupportTiles:not(:empty),#radarResults:not(:empty){
  position:relative;
}
#results:not(:empty)::before,#supportPlanPanel:not(:empty)::before,#savedSupportPanel:not(:empty)::before,#loadedSupportTiles:not(:empty)::before,#radarResults:not(:empty)::before{
  content:"";position:absolute;inset:-10px;border-radius:28px;pointer-events:none;
  background:linear-gradient(135deg,rgba(250,238,254,.32),rgba(238,249,255,.28));z-index:-1;
}

/* home quick cards and rails */
.hh-hero-side-card,.hh-v33-guide-card{
  border:1.5px solid var(--hh-line)!important;border-radius:24px!important;background:rgba(255,255,255,.88)!important;
}
.hh-v33-guide-rail{padding-bottom:.55rem;scroll-padding-left:1rem;}
.hh-v33-guide-rail::-webkit-scrollbar{height:8px;}
.hh-v33-guide-rail::-webkit-scrollbar-thumb{background:rgba(155,116,182,.25);border-radius:999px;}

/* reduce old stacked QA/legacy visual noise if any note blocks leaked into pages */
[class*="qa-note"],[class*="version"],[data-legacy-note="true"]{display:none!important;}

/* mobile polish */
@media (max-width:760px){
  body{background:linear-gradient(180deg,#fff 0%,#fbf8ff 55%,#f7fbff 100%);}
  main,.wrap,.container,.page-wrap,.hh-page-wrap{width:min(100% - 24px,1120px);}
  section{scroll-margin-top:92px;}
  h1{font-size:clamp(2rem,10vw,3rem);}
  h2{font-size:clamp(1.35rem,6vw,2rem);}
  .actions,.hero-start-actions,.hh-v26-plan-actions{display:grid!important;grid-template-columns:1fr;}
  .actions a,.actions button,.hero-start-actions a,.hero-start-actions button{width:100%;justify-content:center;text-align:center;}
  .card,.tile,.result-card,.saving-card,.guide-card,.activity-card,.local-card,
  article[class*="card"],div[class*="card"],article[class*="tile"],div[class*="tile"]{border-radius:20px!important;box-shadow:0 10px 28px rgba(47,33,76,.07);}
  input,select,textarea,button,.btn{font-size:16px!important;}
  .hh-mobile-menu summary{min-height:44px;display:flex;align-items:center;justify-content:center;}
  .hh-mobile-nav a{min-height:42px;display:flex;align-items:center;}
}

/* print stays clean and avoids decorative blocks */
@media print{
  .hh-sitewide-header nav,.hh-mobile-menu,.accessibility-panel,.floating-accessibility,.cookie-banner,.no-print{display:none!important;}
  body{background:#fff!important;color:#111!important;}
  .card,.tile,.result-card,article[class*="card"],div[class*="card"]{box-shadow:none!important;border:1px solid #ddd!important;break-inside:avoid;}
}
