/* Autism Family / Resources — presentation only (owner design 2026-11-16, "improve this as well").
   Copied from the approved design. Loaded after the existing stylesheets; resources.html <body> gets af-resources-design.
   All layout rules are limited to this page's existing #af-main section.
   No content, routes, IDs, form hooks, API calls or script behavior are changed.
   Fonts: the design bundled Inter + Outfit files; here the same fonts come from Google Fonts (linked in the page head). */

body.af-resources-design #af-main{
  --resource-ink:#202c29;--resource-copy:#56635e;--resource-muted:#63706a;
  --resource-line:#dfe6e0;--resource-purple:#756193;--resource-lavender:#f2eef9;
  --resource-mint:#edf4e9;--resource-blue:#edf4fa;--resource-peach:#fbefe5;
  --resource-body:Inter,system-ui,sans-serif;
  --resource-heading:Outfit,Inter,system-ui,sans-serif;
  padding:64px 0 70px!important;background:#ffffff!important;color:var(--resource-ink);
  font-family:var(--resource-body);font-size:16px;line-height:1.75;scroll-margin-top:94px;
}
body.af-resources-design #af-main *,body.af-resources-design #af-main *::before,body.af-resources-design #af-main *::after{box-sizing:border-box}
body.af-resources-design #af-main>.container{width:100%;max-width:1392px;padding:0 44px;margin:0 auto}
body.af-resources-design #af-main>.container>.row{display:grid;grid-template-columns:minmax(0,1fr) 286px;gap:52px;margin:0;align-items:start}
body.af-resources-design #af-main>.container>.row::before,body.af-resources-design #af-main>.container>.row::after{display:none}
body.af-resources-design #af-main>.container>.row>.af-rich,body.af-resources-design #af-main>.container>.row>aside{width:100%;max-width:none;flex:none;padding:0;margin:0;min-width:0}
body.af-resources-design #af-main :is(h2,h3,h6){font-family:var(--resource-heading);font-weight:500;color:var(--resource-ink)!important;letter-spacing:-.025em;text-transform:none;text-shadow:none}
body.af-resources-design #af-main p{font-family:var(--resource-body);font-size:16px;line-height:1.8;color:var(--resource-copy)!important}
body.af-resources-design #af-main a{text-decoration:none}
body.af-resources-design #af-main :is(a,button,input):focus-visible{outline:3px solid #836ba8!important;outline-offset:4px!important}
body.af-resources-design #af-main .af-intro{display:block;margin:0}
body.af-resources-design #af-main .af-intro h2{font-size:clamp(34px,3.6vw,52px);line-height:1.13;max-width:680px;margin:0 0 22px;padding:0}
body.af-resources-design #af-main .af-intro h2::before{content:"";display:block;width:28px;height:5px;background:#b7a4dc;border-radius:2px;margin-bottom:21px}
body.af-resources-design #af-main .af-lead{font-size:18px;line-height:1.8;margin:0;max-width:790px;color:#54635a!important;font-weight:400}
body.af-resources-design #af-main .af-based{display:flex;align-items:center;flex-wrap:wrap;gap:9px;margin:22px 0 0;font-size:12px;color:#627063!important;line-height:1.6}
body.af-resources-design #af-main .af-based-chip{font-family:var(--resource-body);font-size:10px;font-weight:500;letter-spacing:.02em;padding:4px 8px;min-height:0;background:var(--resource-mint)!important;color:#51664a!important;border:1px solid #dfe8d9!important;border-radius:4px!important;box-shadow:none!important}
body.af-resources-design #af-main .af-based a{font-size:12px;text-decoration:underline;text-underline-offset:4px;color:#77608f!important}

/* The three existing age / location cards. */
body.af-resources-design #af-main .af-facts{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin:34px 0 0;overflow:visible;padding:0;scroll-snap-type:none}
body.af-resources-design #af-main .af-fact{width:100%;max-width:none;flex:none;scroll-snap-align:none;padding:23px 21px 20px;gap:0;border:1px solid #dfe6ee!important;border-radius:14px!important;background:var(--resource-blue)!important;box-shadow:none!important;text-align:left}
body.af-resources-design #af-main .af-fact-green{background:var(--resource-mint)!important;border-color:#dfe8d8!important}
body.af-resources-design #af-main .af-fact-red{background:var(--resource-peach)!important;border-color:#ecdccc!important}
body.af-resources-design #af-main .af-fact>.af-ico{height:40px;width:40px;padding:9px;border-radius:10px!important;background:#fff!important;stroke-width:1.6;color:#638da6!important;margin:0 0 20px;border:1px solid #dce5ee}
body.af-resources-design #af-main .af-fact-green>.af-ico{color:#6c875d!important;border-color:#dce6d6}
body.af-resources-design #af-main .af-fact-red>.af-ico{color:#a97952!important;border-color:#eadacb}
body.af-resources-design #af-main .af-fact strong{font-family:var(--resource-heading);font-size:29px;font-weight:500;line-height:1.15;letter-spacing:-.025em;color:var(--resource-ink)!important;margin:0 0 12px}
body.af-resources-design #af-main .af-fact>span{font-family:var(--resource-body);font-size:13px;line-height:1.8;color:#52635b!important;margin:0 0 20px}
body.af-resources-design #af-main .af-fact em{font-family:var(--resource-body);font-size:11px;line-height:1.65;font-weight:500;letter-spacing:0;margin-top:auto}
body.af-resources-design #af-main .af-fact em a{color:#4d6265!important;display:inline-block;padding:7px 0;min-height:32px;text-decoration:underline;text-decoration-color:#b9c8c7;text-underline-offset:4px}
body.af-resources-design #af-main .af-fact em .icon{font-size:9px;margin-left:5px;color:inherit!important}

/* Same resource anchors, same order, same descriptions and destinations. */
body.af-resources-design #af-main .af-sec{margin-top:50px}
body.af-resources-design #af-main .af-sec>h3{font-size:34px;line-height:1.2;margin:0 0 24px;display:flex;gap:13px;align-items:center}
body.af-resources-design #af-main .af-sec>h3::before{content:"";display:block;flex:0 0 8px;height:8px;border-radius:2px;background:#b7a4dc;transform:rotate(-7deg)}
body.af-resources-design #af-main .af-res-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px;margin:0}
body.af-resources-design #af-main .af-res{--tile:#f1edf8;--tile-ink:#806997;position:relative;display:grid;grid-template-columns:43px minmax(0,1fr);grid-template-rows:43px auto 1fr auto;column-gap:13px;row-gap:0;padding:25px 25px 21px;border:1px solid #e0e6e0!important;border-radius:14px!important;background:#fff!important;box-shadow:0 2px 3px #24382b02!important;color:var(--resource-ink)!important;min-width:0;transition:border-color .18s,box-shadow .18s,transform .18s}
body.af-resources-design #af-main .af-res:nth-child(4n+2){--tile:#edf3fa;--tile-ink:#618ca7}
body.af-resources-design #af-main .af-res:nth-child(4n+3){--tile:#eef4e9;--tile-ink:#6c875d}
body.af-resources-design #af-main .af-res:nth-child(4n){--tile:#fbefe5;--tile-ink:#a67d59}
body.af-resources-design #af-main .af-res:hover{transform:translateY(-2px);border-color:#baa9d2!important;background:#ffffff!important;box-shadow:0 9px 23px #493c6310!important}
body.af-resources-design #af-main .af-res-ico{grid-column:1;grid-row:1;width:43px;height:43px;display:flex;align-items:center;justify-content:center;background:var(--tile)!important;color:var(--tile-ink)!important;border:1px solid #00000004;border-radius:11px!important;margin:0}
body.af-resources-design #af-main .af-res-ico .af-ico{width:23px;height:23px;stroke-width:1.55}
body.af-resources-design #af-main .af-res-kind{grid-column:2;grid-row:1;align-self:center;font-family:var(--resource-body);font-size:10px!important;font-weight:500;line-height:1.65;letter-spacing:.06em;text-transform:uppercase;color:#63705f!important;margin:0;padding:0}
body.af-resources-design #af-main .af-res>strong{grid-column:1/-1;grid-row:2;font-family:var(--resource-heading);font-size:24px;font-weight:500;line-height:1.25;letter-spacing:-.018em;color:var(--resource-ink)!important;margin:20px 0 12px}
body.af-resources-design #af-main .af-res-desc{grid-column:1/-1;grid-row:3;font-family:var(--resource-body);font-size:14px;line-height:1.85;font-weight:400;color:#59665f!important;margin:0 0 25px}
body.af-resources-design #af-main .af-res .af-ext{grid-column:1/-1;grid-row:4;display:flex;align-items:center;justify-content:space-between;gap:10px;font-family:var(--resource-body);font-size:12px;line-height:1.6;font-weight:500;color:#705b87!important;border-top:1px solid #e9e8ed;padding:16px 0 0;margin:auto 0 0}
body.af-resources-design #af-main .af-res .af-ext .icon{font-size:12px;color:#8e78a5!important}
body.af-resources-design #af-main .af-res:last-child:nth-child(odd){grid-column:1/-1;grid-template-columns:43px minmax(0,1fr) 190px;grid-template-rows:43px auto auto;column-gap:15px}
body.af-resources-design #af-main .af-res:last-child:nth-child(odd)>strong{grid-column:1/3;margin-bottom:8px}
body.af-resources-design #af-main .af-res:last-child:nth-child(odd) .af-res-desc{grid-column:1/3;margin-bottom:0;max-width:640px}
body.af-resources-design #af-main .af-res:last-child:nth-child(odd) .af-ext{grid-column:3;grid-row:1/4;border-top:0;border-left:1px solid #e7e6ed;align-self:center;margin:0;padding:22px 0 22px 25px}

/* Existing state destination, source block and notices. */
body.af-resources-design #af-main #states{padding:33px 34px 31px;border:1px solid #dfe8d7;border-radius:16px;background:var(--resource-mint)!important;margin-top:34px;scroll-margin-top:110px}
body.af-resources-design #af-main #states>h3{font-size:32px;margin-bottom:17px}
body.af-resources-design #af-main #states>h3::before{background:#91b881}
body.af-resources-design #af-main #states>p{font-size:15px;line-height:1.85;margin:0;color:#52664c!important;max-width:770px}
body.af-resources-design #af-main #states .offset-top-20{margin-top:23px}
body.af-resources-design #af-main #states .btn{font-family:var(--resource-body);font-size:13px;font-weight:500;min-height:48px;padding:12px 19px;gap:25px;background:#344a2d!important;color:#fff!important;border:0!important;border-radius:8px!important;box-shadow:none!important;letter-spacing:0}
body.af-resources-design #af-main #states .btn:hover{background:#253e1d!important}
body.af-resources-design #af-main #states .btn .icon{font-size:13px;color:#fff!important}
body.af-resources-design #af-main .af-sources{margin-top:34px;padding:26px 28px;border:1px solid #e1e5df!important;border-radius:13px!important;background:#ffffff!important;scroll-margin-top:110px;box-shadow:none!important}
body.af-resources-design #af-main .af-sources h6{font-size:23px;line-height:1.2;margin:0 0 13px}
body.af-resources-design #af-main .af-sources p{font-size:12px;line-height:1.85;margin:10px 0 0;color:#596950!important}
body.af-resources-design #af-main .af-sources a{color:#6f5787!important;text-decoration:underline;text-underline-offset:3px}
body.af-resources-design #af-main .af-sources .af-meta{font-size:11px;padding-top:15px;margin-top:16px;border-top:1px solid #e1e8db;color:#65765d!important}
body.af-resources-design #af-main .af-notice{padding:20px 0 0;margin:24px 0 0;border:0!important;border-top:1px solid #e4e8df!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
body.af-resources-design #af-main .af-notice p{font-size:11px;line-height:1.85;color:#627059!important;margin:0}
body.af-resources-design #af-main .af-notice p+p{margin-top:10px}

/* Original sidebar cards and forms; field names and event hooks stay intact. */
body.af-resources-design #af-main .af-sticky{position:sticky;top:100px;display:grid;grid-template-columns:1fr;gap:15px;margin:4px 0 0;overflow:visible;padding:0}
body.af-resources-design #af-main .af-promo{display:flex;flex-direction:column;gap:0;max-width:none;margin:0;padding:24px;border:1px solid #e3ddee!important;border-radius:14px!important;background:#f6f2fc!important;box-shadow:none!important;transition:border-color .18s,transform .18s;min-width:0}
body.af-resources-design #af-main a.af-promo:hover{transform:translateY(-2px);border-color:#bea8d8!important;box-shadow:none!important}
body.af-resources-design #af-main .af-promo .af-chip{width:47px;height:47px;margin:0 0 15px;display:block}
body.af-resources-design #af-main .af-promo .af-chip video,body.af-resources-design #af-main .af-promo .af-chip img{width:100%;height:100%;object-fit:contain;margin:0}
body.af-resources-design #af-main .af-promo>strong{font-family:var(--resource-heading);font-weight:500;font-size:25px;line-height:1.22;letter-spacing:-.02em;color:var(--resource-ink)!important;margin:0 0 12px}
body.af-resources-design #af-main .af-promo>span:not(.af-chip):not(.af-free):not(.af-promo-go):not(.af-form-status){font-family:var(--resource-body);font-size:13px;line-height:1.85;color:#5d6560!important;margin:0}
body.af-resources-design #af-main .af-promo .af-promo-go{display:flex;align-items:center;justify-content:space-between;gap:12px;font-family:var(--resource-body);font-weight:500;font-size:12px;line-height:1.7;padding-top:17px;border-top:1px solid #e4dded;margin-top:19px;color:#6d5784!important}
body.af-resources-design #af-main .af-promo .af-promo-go .icon{font-size:12px;color:inherit!important}
body.af-resources-design #af-main .af-promo-market{background:#fbf4ed!important;border-color:#ebe1d6!important}
body.af-resources-design #af-main .af-promo-market .af-promo-go{border-color:#e9dfd3;color:#8c6847!important}
body.af-resources-design #af-main .af-promo-screen{background:#f0f5eb!important;border-color:#dfe9d6!important}
body.af-resources-design #af-main .af-promo-screen>strong{padding-right:0;margin-top:13px}
body.af-resources-design #af-main .af-promo-screen .af-free{position:static;align-self:flex-start;font-family:var(--resource-body);font-size:9px;line-height:1.5;font-weight:600;letter-spacing:.08em;padding:4px 8px;min-width:0;border-radius:4px!important;background:#e1edd7!important;color:#4e703b!important;border:1px solid #d6e4ca}
body.af-resources-design #af-main .af-promo-screen .af-promo-go{border-color:#dfe7d6;color:#577349!important}
body.af-resources-design #af-main .af-promo-signup{background:#fff!important;border-color:#e0e6df!important}
body.af-resources-design #af-main .af-promo-signup strong{font-size:23px}
body.af-resources-design #af-main .af-promo-signup label{display:block;margin:17px 0 10px;width:100%}
body.af-resources-design #af-main .af-promo-signup input{display:block;width:100%;min-height:46px;height:46px;border:1px solid #d8e0d6!important;border-radius:7px!important;background:#ffffff!important;font-family:var(--resource-body);font-size:13px;font-weight:400;line-height:1.4;padding:12px 13px;color:#263326!important;box-shadow:none!important;margin:0}
body.af-resources-design #af-main .af-promo-signup input::placeholder{color:#697568!important;opacity:1}
body.af-resources-design #af-main .af-promo-btn{font-family:var(--resource-body);font-size:12px;font-weight:500;line-height:1.4;height:44px;min-height:44px;width:100%;border:1px solid #e0d9eb!important;border-radius:7px!important;background:#eee8f7!important;color:#604b79!important;box-shadow:none!important;padding:11px 15px;margin:0;letter-spacing:0}
body.af-resources-design #af-main .af-promo-btn:hover{background:#e5dcf2!important;color:#503969!important}
body.af-resources-design #af-main .af-form-status{font-family:var(--resource-body);font-size:12px;line-height:1.7;margin-top:9px;color:#596b50!important}
body.af-resources-design #af-main .af-form-status:empty{margin:0}
body.af-resources-design #af-main .af-form-status.is-err{color:#a34230!important}

@media(min-width:1500px){body.af-resources-design #af-main .af-sticky{top:110px}}
@media(max-width:1199px){
 body.af-resources-design #af-main>.container{padding:0 32px}
 body.af-resources-design #af-main>.container>.row{grid-template-columns:minmax(0,1fr) 260px;gap:30px}
 body.af-resources-design #af-main .af-fact{padding:20px 17px}
 body.af-resources-design #af-main .af-res{padding:22px 21px 19px}
 body.af-resources-design #af-main .af-res>strong{font-size:23px}
 body.af-resources-design #af-main .af-promo{padding:22px}
}
@media(max-width:991px){
 body.af-resources-design #af-main{padding:45px 0 48px!important}
 body.af-resources-design #af-main>.container>.row{grid-template-columns:1fr;gap:38px}
 body.af-resources-design #af-main .af-intro h2{font-size:43px;max-width:680px}
 body.af-resources-design #af-main .af-sticky{position:static;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:0}
 body.af-resources-design #af-main .af-sticky>.af-promo-ai{grid-column:1/-1;display:grid;grid-template-columns:55px minmax(0,1fr) 130px;column-gap:16px}
 body.af-resources-design #af-main .af-promo-ai .af-chip{grid-column:1;grid-row:1/3;margin:0;align-self:center}
 body.af-resources-design #af-main .af-promo-ai>strong{grid-column:2;grid-row:1}
 body.af-resources-design #af-main .af-promo-ai>span:not(.af-chip):not(.af-promo-go){grid-column:2;grid-row:2}
 body.af-resources-design #af-main .af-promo-ai .af-promo-go{grid-column:3;grid-row:1/3;align-self:center;border-top:0;border-left:1px solid #ddd5e8;padding:15px 0 15px 19px;margin:0}
 body.af-resources-design #af-main .af-sticky>.af-promo{max-width:none;flex:none}
 body.af-resources-design #af-main .af-promo-signup input{font-size:16px}
}
@media(max-width:640px){
 body.af-resources-design #af-main{padding:34px 0 39px!important;scroll-margin-top:64px}
 body.af-resources-design #af-main>.container{padding:0 21px}
 body.af-resources-design #af-main>.container>.row{gap:30px}
 body.af-resources-design #af-main .af-intro h2{font-size:36px;line-height:1.16;letter-spacing:-.03em;margin-bottom:19px;max-width:360px}
 body.af-resources-design #af-main .af-intro h2::before{width:25px;height:4px;margin-bottom:20px}
 body.af-resources-design #af-main .af-lead{font-size:16px;line-height:1.85}
 body.af-resources-design #af-main .af-based{margin-top:20px;font-size:11px;gap:7px}
 body.af-resources-design #af-main .af-based a{font-size:11px}
 body.af-resources-design #af-main .af-facts{grid-template-columns:1fr;gap:12px;margin-top:27px}
 body.af-resources-design #af-main .af-fact{display:grid;grid-template-columns:38px minmax(0,1fr);column-gap:14px;row-gap:0;padding:21px 20px;border-radius:12px!important}
 body.af-resources-design #af-main .af-fact>.af-ico{grid-column:1;grid-row:1/4;margin:0;width:38px;height:38px;padding:8px;border-radius:9px!important}
 body.af-resources-design #af-main .af-fact strong{grid-column:2;grid-row:1;font-size:27px;margin:3px 0 11px}
 body.af-resources-design #af-main .af-fact>span{grid-column:2;grid-row:2;font-size:13px;line-height:1.85;margin:0 0 8px}
 body.af-resources-design #af-main .af-fact em{grid-column:2;grid-row:3;font-size:11px;line-height:1.7}
 body.af-resources-design #af-main .af-fact em a{min-height:32px;padding:5px 0}
 body.af-resources-design #af-main .af-sec{margin-top:36px}
 body.af-resources-design #af-main .af-sec>h3{font-size:29px;gap:10px;line-height:1.25;margin-bottom:19px}
 body.af-resources-design #af-main .af-sec>h3::before{flex-basis:7px;height:7px}
 body.af-resources-design #af-main .af-res-grid{grid-template-columns:1fr;gap:14px}
 body.af-resources-design #af-main .af-res,body.af-resources-design #af-main .af-res:last-child:nth-child(odd){grid-column:auto;grid-template-columns:39px minmax(0,1fr);grid-template-rows:39px auto 1fr auto;column-gap:12px;padding:23px 22px 20px;border-radius:13px!important}
 body.af-resources-design #af-main .af-res-ico{width:39px;height:39px;border-radius:10px!important}
 body.af-resources-design #af-main .af-res-ico .af-ico{width:21px;height:21px}
 body.af-resources-design #af-main .af-res-kind{font-size:10px!important;line-height:1.7;letter-spacing:.05em}
 body.af-resources-design #af-main .af-res>strong,body.af-resources-design #af-main .af-res:last-child:nth-child(odd)>strong{grid-column:1/-1;grid-row:2;font-size:25px;line-height:1.23;margin:18px 0 13px}
 body.af-resources-design #af-main .af-res-desc,body.af-resources-design #af-main .af-res:last-child:nth-child(odd) .af-res-desc{grid-column:1/-1;grid-row:3;font-size:14px;line-height:1.85;margin:0 0 23px}
 body.af-resources-design #af-main .af-res .af-ext,body.af-resources-design #af-main .af-res:last-child:nth-child(odd) .af-ext{grid-column:1/-1;grid-row:4;font-size:12px;border-left:0;border-top:1px solid #e9e8ed;padding:15px 0 0;margin:0}
 body.af-resources-design #af-main #states{padding:26px 23px;border-radius:14px;margin-top:27px;scroll-margin-top:76px}
 body.af-resources-design #af-main #states>h3{font-size:28px;line-height:1.2;display:block;margin:0 0 16px}
 body.af-resources-design #af-main #states>h3::before{width:8px;height:8px;margin-bottom:17px}
 body.af-resources-design #af-main #states>p{font-size:14px;line-height:1.9}
 body.af-resources-design #af-main #states .btn{display:flex;justify-content:space-between;width:100%;font-size:13px;padding:14px 17px;min-height:48px}
 body.af-resources-design #af-main .af-sources{padding:23px 22px;margin-top:26px;scroll-margin-top:76px}
 body.af-resources-design #af-main .af-sources h6{font-size:24px;margin-bottom:14px}
 body.af-resources-design #af-main .af-sources p{font-size:12px;line-height:1.9}
 body.af-resources-design #af-main .af-sources .af-meta{font-size:11px;line-height:1.85}
 body.af-resources-design #af-main .af-notice{margin-top:22px;padding-top:19px}
 body.af-resources-design #af-main .af-notice p{font-size:11px;line-height:1.9}
 body.af-resources-design #af-main .af-sticky{display:grid!important;grid-template-columns:1fr;gap:14px;overflow:visible;scroll-snap-type:none;flex-direction:column!important;padding:0}
 body.af-resources-design #af-main .af-sticky>.af-promo,body.af-resources-design #af-main .af-sticky>.af-promo-ai{display:flex;grid-column:auto;max-width:100%;flex:none;margin:0!important;padding:25px 24px;border-radius:13px!important;scroll-snap-align:none}
 body.af-resources-design #af-main .af-promo>strong{font-size:27px;margin-bottom:12px}
 body.af-resources-design #af-main .af-promo .af-chip{width:43px;height:43px;margin-bottom:17px;align-self:flex-start}
 body.af-resources-design #af-main .af-promo>span:not(.af-chip):not(.af-free):not(.af-promo-go):not(.af-form-status){font-size:14px;line-height:1.85}
 body.af-resources-design #af-main .af-promo .af-promo-go,body.af-resources-design #af-main .af-promo-ai .af-promo-go{font-size:13px;padding:17px 0 0;margin-top:20px;border-left:0;border-top:1px solid #e4dded;align-self:stretch}
 body.af-resources-design #af-main .af-promo-signup strong{font-size:26px}
 body.af-resources-design #af-main .af-promo-signup label{margin-top:20px}
 body.af-resources-design #af-main .af-promo-signup input{min-height:49px;height:49px;font-size:16px;padding:12px 14px}
 body.af-resources-design #af-main .af-promo-btn{height:46px;min-height:46px;font-size:13px}
}
@media(prefers-reduced-motion:reduce){
 body.af-resources-design #af-main .af-res,body.af-resources-design #af-main .af-promo{transition:none}
 body.af-resources-design #af-main .af-res:hover,body.af-resources-design #af-main a.af-promo:hover{transform:none}
}
