@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&display=swap");
/* Autism Family - ONE shared standard for every page (owner 2026-11-15, after the UI/UX audit; Affirm as the benchmark).
   Loaded LAST on every page. It only makes the pages match each other:
   true black text - one heading family (Inter) - square 4px corners, no pills, no circles - one button, one field -
   visible keyboard focus - one section spacing - the logo tile and card gaps on results and profile pages too. */

/* ---------- 1. text: true black, two families ---------- */
html body{color:#050505}
html body :is(p,li,dt,dd,td,th,label,legend,figcaption,blockquote,summary,address){color:#050505}
html body :is(h1,h2,h3,h4,h5,h6){font-family:Inter,"Open Sans",system-ui,Arial,sans-serif;color:#050505;text-shadow:none}
html body h1{font-weight:300;letter-spacing:-.025em}
html body :is(h2,h3){font-weight:600;letter-spacing:-.012em}
html body :is(h4,h5,h6){font-weight:600}
html body :is(.af-meta,.fine,.mk-note,.st-hint,small){color:#4a4a4a}
html body :is(.rd-navbar-nav > li > a,.band a,.hd a,.nav a){font-family:Inter,"Open Sans",system-ui,Arial,sans-serif;color:#050505}
html body :is(.eye,.eyebrow,.gi-eye,.af-nudge-kicker){color:#050505}
/* text that sits on a dark fill stays white */
html body :is(.btn-dark,.b-dark,.tick,.af-free,.ai-free) :is(p,li,span,label){color:inherit}

/* ---------- 2. square corners everywhere: 4px, no pills, no circles ---------- */
html body :is(.b,.btn,.ai-btn,.af-face,button,select,textarea,input:not([type=checkbox]):not([type=radio]):not([type=range])),
html body :is(.card,.af-res,.af-fact,.af-promo,.af-topic-card,.af-gi-card,.af-state-card,.af-study,.gi-card,.notice,.ack,.dlg,.af-nudge,.af-nudge-banner),
html body :is(.mk-pcard,.mk-pcard-media,.mk-bcard,.mk-tile,.mk-plogo,.mk-logo,.mk-logo-prev,.mk-ins-tile,.mk-ins-opt,.mk-ins-chip,.mk-badge,.mk-hero,.mk-hero-media,.mk-check-result),
html body :is(.st-card,.st-steps,.st-seg,.st-opt,.st-select,.st-chip,.st-tag,.mkh-state,.mkh-find input,.mk-filter span,.st-lab b),
html body :is(.pp-logo,.pp-card,.pp-ins-tile,.pp-cover,.pp-chip,.pp-tag),
html body :is(.sl,.sl-view,.sl-slide,.sl-dots button,.hero-art .ph,.hero-tag,.af-intro-photo img,.pic,.af-pic,.ph,.select2-selection,.select2-dropdown,.af-back-top,.ui-to-top){border-radius:4px!important}
html body :is(.af-pro-btns a,.hd-right a,.band a.b,.mpro a,.gi-btn,.af-nudge-go,.af-nudge-later){border-radius:4px!important}

/* ---------- 3. one button ---------- */
html body :is(.b,.btn,.ai-btn,.gi-btn,.af-nudge-go){display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding-top:0;padding-bottom:0;font-family:"Open Sans",system-ui,Arial,sans-serif;font-size:16px;font-weight:700;line-height:1.2;letter-spacing:0;text-transform:none}
html body :is(.b,.btn,.ai-btn,.gi-btn):not(.btn-dark):not(.b-dark){color:#050505!important}
html body :is(.af-pro-btns a,.hd-right a.b,.band a.b,.b-sm){min-height:40px}
html body .b.full,html body .btn.btn-block{display:flex;width:100%}

/* ---------- 4. one field ---------- */
html body :is(input[type=text],input[type=email],input[type=search],input[type=tel],input[type=url],input[type=password],input[type=number],select,.select2-selection--single){min-height:48px;font-size:16px;border-width:1px;color:#050505}
html body textarea{font-size:16px;border-width:1px;color:#050505}
html body :is(input,select,textarea)::placeholder{color:#4a4a4a;opacity:1}

/* ---------- 5. keyboard focus is always visible ---------- */
html body :is(a,button,input,select,textarea,summary,[tabindex],[role=tab],[role=button]):focus-visible{outline:3px solid #4e5fb2!important;outline-offset:2px!important;box-shadow:none}

/* ---------- 6. one section spacing: 64px desktop, 48px phone ---------- */
html body :is(.section-70.section-lg-114,.section-lg-114,.section-md-114){padding-top:64px!important;padding-bottom:64px!important}
@media (max-width:767px){html body :is(.section-70,.section-70.section-lg-114,.section-lg-114){padding-top:48px!important;padding-bottom:48px!important}}

/* ---------- 7. results and profile pages: the logo tile and card gaps (were only on banner pages) ---------- */
html body .mk-plogo{left:4%;bottom:8%;width:auto;min-width:21cqw;max-width:64cqw;height:21cqw;aspect-ratio:auto;padding:2.2cqw 2.8cqw;flex-direction:row;background:#fff}
html body .mk-plogo.is-dark-logo{background:#14234a}
html body .mk-plogo img{position:static;display:block;width:auto;height:100%;max-width:100%;object-fit:contain}
html body .mk-hero-media .mk-plogo{width:auto;min-width:150px;max-width:min(420px,62%);height:150px;padding:16px 20px;container-type:normal}
html body .pp-logo{width:auto;min-width:128px;max-width:min(400px,74%);height:128px;padding:14px 18px}
html body .pp-logo img{width:auto;height:100%;max-width:100%;object-fit:contain}
html body .mk-pgrid{gap:40px 32px}
html body .mk-bcard .mk-badge{display:none!important}
html body .mk-pcard-media > img{transition:transform 3s cubic-bezier(.22,.61,.36,1)}
html body .mk-pcard:hover .mk-pcard-media > img{transform:scale(1.07)}
@media (max-width:767px){
  html body .mk-pgrid{gap:32px}
  html body .mk-hero-media .mk-plogo{min-width:104px;height:104px;padding:12px 14px}
  html body .pp-logo{min-width:88px;height:88px;padding:10px 12px}
  /* phone tap targets: footer and back links at least 44px tall */
  html body :is(footer,.ft) li a{display:inline-flex;align-items:center;min-height:44px}
}
@media (prefers-reduced-motion:reduce){html body .mk-pcard-media > img{transition:none}html body .mk-pcard:hover .mk-pcard-media > img{transform:none}}

/* ---------- 8. the owner's illustrated banners (2026-11-15): shown whole, never cropped, no filter ---------- */
html body .af-ban-pic--art{background:#f4f1fb}
html body .af-ban-pic--art img{display:block;width:100%;height:auto!important;aspect-ratio:2172 / 724;object-fit:contain;filter:none!important;max-width:1600px;margin:0 auto}
/* home: Questions & Answers banner above the Family Questions card */
html body .qa-ban{display:block;margin:0;overflow:hidden;background:#f4f1fb;border-radius:4px 4px 0 0}
html body .qa-ban img{display:block;width:100%;height:auto;aspect-ratio:2172 / 724;object-fit:contain}

/* phones: the owner's tall banner version where one exists */
@media (max-width:767px){html body .af-ban-pic--art.has-m img{aspect-ratio:1086 / 1448;max-width:none}}
@media (max-width:767px){html body .qa-ban.has-m img{aspect-ratio:1086 / 1448}}
/* AI page: its banner above the assistant intro */
html body .ai-ban{margin:0 0 48px}
@media (max-width:767px){html body .ai-ban{margin:0 -16px 32px}}
/* owner 2026-11-16 ("all logos getting cut", "unorganized"): the logo always fits WHOLE inside its white tile (it was drawn
   310px tall in a 128px tile and cut); the tile never grows past 240px wide on desktop, so the name column keeps its room;
   a softer shadow keeps the white tile clean white. */
html body .pp-head .pp-logo{display:flex;align-items:center;justify-content:center;max-width:240px;box-shadow:0 2px 10px rgba(16,48,77,.08)}
html body .pp-head .pp-logo img{width:auto;height:auto;max-width:100%;max-height:100%;object-fit:contain}
@media (min-width:768px){html body .pp-head{grid-template-columns:auto minmax(260px,1fr) auto}}
