/* =====================================================================
   SITE v10 — Visual refresh · 2026-10-18
   "Spark Doodles": the illustration family (img/illos/*.svg) — plum line art,
   coral + marigold fills, lilac badges, sparkle accents. Every spot sits on its
   own light badge so it reads in light, dark and extra-contrast modes.
   Loaded after v9-refresh.css and BEFORE v8-access.css (accessibility wins).
   ===================================================================== */

/* ---------- page-hero spot illustration ---------- */
.hero-spot{float:right;width:clamp(110px,15vw,180px);height:auto;margin:0 0 1rem 2rem;
  filter:drop-shadow(6px 6px 0 rgba(229,85,59,.22))}
@media (max-width:640px){.hero-spot{float:none;display:block;width:104px;margin:0 0 .8rem}}

/* ---------- section + card icons ---------- */
.sec-spot{display:block;width:88px;height:88px;margin:0 0 .5rem}
.section-head .sec-spot{margin-bottom:.4rem}
.card-spot{display:block;width:84px;height:84px;margin:0 0 .7rem}
.dl-card .card-spot,.page-safe .card .card-spot{width:92px;height:92px}

/* ---------- Downloads: color per collection ---------- */
.dl-card{position:relative;border-top:6px solid #E5553B}
.coll-legacy .dl-card{border-top-color:#F5A623}
.coll-everyday .dl-card{border-top-color:#241A3A}
.dl-card .tag{position:absolute;top:1.1rem;right:1.1rem}
.dl-card .dl-size{display:block;font-size:.88rem;color:#4A3F5C;margin-top:.35rem}
.coll-head{display:flex;align-items:center;gap:1rem;margin:0 0 1.2rem}
.coll-head .sec-spot{margin:0;width:76px;height:76px}
.coll-head h2{margin:0}

/* ---------- Home: refrigerator ---------- */
.h6-fridge-grid{display:grid;grid-template-columns:minmax(150px,230px) 1fr;gap:2.4rem;align-items:center}
.fridge-art{width:100%;height:auto;filter:drop-shadow(8px 8px 0 rgba(36,26,58,.10))}
@media (max-width:760px){.h6-fridge-grid{grid-template-columns:1fr}.fridge-art{width:150px;margin:0 auto}}
.h6-papers .paper-spot{display:block;width:64px;height:64px;margin:.2rem 0 .5rem}

/* ---------- Home: a note from my desk (legal pad) ---------- */
.h6-letter.desk-pad{position:relative;background:#FFF3B0;
  background-image:repeating-linear-gradient(to bottom,transparent 0,transparent 1.95rem,rgba(36,26,58,.13) 1.95rem,rgba(36,26,58,.13) 2rem);
  border-radius:6px 6px 14px 14px;padding:2rem 2rem 2rem 4rem;box-shadow:8px 8px 0 #E5553B;border:2px solid #241A3A}
.h6-letter.desk-pad::before{content:"";position:absolute;left:2.6rem;top:0;bottom:0;width:2px;background:#C7362B;opacity:.75}
.h6-letter.desk-pad::after{content:"";position:absolute;left:50%;top:-14px;width:120px;height:26px;transform:translateX(-50%) rotate(-2deg);
  background:rgba(245,166,35,.55);border-radius:3px}
.desk-top{display:flex;align-items:center;gap:1.1rem;margin-bottom:.6rem}
.desk-photo{width:112px;height:112px;border-radius:50%;object-fit:cover;border:4px solid #fff;box-shadow:0 0 0 3px #E5553B;flex:none}
.desk-top h2{margin:0}
.desk-mug{position:absolute;right:1.1rem;top:1.1rem;width:80px;height:80px;opacity:.95}
.desk-top{padding-right:5.5rem}
@media (max-width:560px){.h6-letter.desk-pad{padding:1.6rem 1.2rem 1.6rem 3rem}.h6-letter.desk-pad::before{left:2rem}.desk-mug{display:none}
  .desk-top{padding-right:0;flex-wrap:wrap}.desk-photo{width:84px;height:84px}}

/* ---------- Home: One Good AI Thing ---------- */
.h6-optin.optin-fun{position:relative;overflow:hidden}
.optin-fun .optin-art{float:right;width:120px;height:120px;margin:-.4rem -.4rem .6rem 1rem}
.optin-perks{list-style:none;margin:0 0 1.2rem;padding:0;display:grid;gap:.55rem}
.optin-perks li{display:flex;align-items:center;gap:.7rem;font-weight:700;color:#fff}
.optin-perks li span.dot{flex:none;width:2.2rem;height:2.2rem;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;
  background:#F5A623;color:#241A3A;font-size:1.05rem}
.optin-perks li:nth-child(2) span.dot{background:#FF9C85}
.optin-perks li:nth-child(3) span.dot{background:#FFD27A}
.optin-fun .spark-bg{position:absolute;width:26px;height:26px;opacity:.85;pointer-events:none}

/* ---------- Stay Safe: lineup banner, phrases, printable tiles ---------- */
.lineup-art{display:block;width:100%;max-width:900px;height:auto;margin:0 0 1.6rem;border-radius:14px}
.phrase-list{list-style:none;padding:0;margin:0;display:grid;gap:.7rem}
.phrase-list li{position:relative;background:#fff;border:2px solid #241A3A;border-radius:18px 18px 18px 4px;
  padding:.8rem 1rem .8rem 3.4rem;font-weight:700;box-shadow:4px 4px 0 #F5A623}
.phrase-list li::before{content:"";position:absolute;left:.8rem;top:50%;width:1.9rem;height:1.9rem;transform:translateY(-50%);
  background:#C7362B url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M4 15c4-4 12-4 16 0l-2 3-3-1v-3c-2-1-4-1-6 0v3l-3 1z' fill='white'/></svg>") center/1.3rem no-repeat;border-radius:50%}
.print-tiles{list-style:none;margin:0 0 1rem;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(13rem,1fr));gap:1rem}
.print-tiles li{background:#fff;border:2px solid #241A3A;border-radius:14px;padding:1rem;box-shadow:5px 5px 0 #E5553B;display:flex;flex-direction:column;gap:.35rem}
.print-tiles li:nth-child(2n){box-shadow:5px 5px 0 #F5A623}
.print-tiles img{width:72px;height:72px}
.print-tiles a{font-weight:700;font-size:1.05rem}
.print-tiles span{font-size:.95rem;color:#4A3F5C}

/* ---------- 50-state page ---------- */
.state-grid .card{border-top:6px solid #E5553B}
.state-grid .card:nth-child(3n+2){border-top-color:#F5A623}
.state-grid .card:nth-child(3n){border-top-color:#241A3A}
.state-grid .card h3{display:flex;align-items:center;gap:.5rem}
.state-grid .card h3::before{content:"";flex:none;width:1.6rem;height:1.6rem;
  background:url("../img/illos/pin.svg") center/contain no-repeat}

/* ---------- YouTube call to action ---------- */
.yt-cta{margin:.9rem 0 0}
.btn-yt{display:inline-flex;align-items:center;gap:.6rem;background:#C7362B;color:#fff!important;border:2px solid #C7362B;
  border-radius:12px;padding:.75em 1.2em;font-weight:700;text-decoration:none}
.btn-yt:hover{background:#9E2A22;border-color:#9E2A22}
.btn-yt .yt-play{display:inline-block;width:0;height:0;border-left:.75em solid #fff;border-top:.45em solid transparent;border-bottom:.45em solid transparent}

/* ---------- "facts effective" date chip ---------- */
.facts-date{display:inline-flex;align-items:center;gap:.5rem;font-size:.92rem;font-weight:700;color:#241A3A;background:#ECE7F3;
  border-radius:999px;padding:.35rem .9rem;margin:.6rem 0 0}
.facts-date::before{content:"";width:1.1rem;height:1.1rem;background:url("../img/illos/check-dot.svg") center/contain no-repeat}
.page-hero-navy .facts-date{background:#fff}

/* ---------- printable viewer pages ---------- */
.pv-actions{display:flex;flex-wrap:wrap;gap:.8rem;margin:1.2rem 0 1.6rem}
.pv-actions .btn{font-size:1.1rem}
.pv-meta{font-size:1rem;color:#4A3F5C}
.pv-pages{display:grid;gap:1.6rem;justify-items:center;margin:0 0 2rem}
.pv-pages figure{margin:0;max-width:820px;width:100%}
.pv-pages img{width:100%;height:auto;border:1px solid rgba(36,26,58,.25);border-radius:4px;box-shadow:0 6px 24px rgba(36,26,58,.16);background:#fff}
.pv-pages figcaption{text-align:center;font-size:.9rem;color:#4A3F5C;margin-top:.4rem}
.pv-help{background:#F4F1F8;border-left:8px solid #E5553B;border-radius:12px;padding:1rem 1.2rem;margin:0 0 1.6rem}
@media print{.pv-actions,.pv-help{display:none}}
/* ---------- YouTube player (click to load) ---------- */
.yt-lite{position:relative;width:100%;aspect-ratio:16/9;background:#241A3A;border-radius:14px;overflow:hidden}
.yt-lite iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.yt-lite-btn{position:absolute;inset:0;display:block;width:100%;height:100%;padding:0;border:0;margin:0;background:none;cursor:pointer;color:#fff;text-decoration:none}
.yt-lite-btn img{width:100%;height:100%;object-fit:cover;display:block}
.yt-lite-play{position:absolute;left:50%;top:50%;width:84px;height:84px;margin:-42px 0 0 -42px;border-radius:50%;background:#C7362B;
  border:4px solid #fff;box-shadow:0 6px 22px rgba(0,0,0,.35)}
.yt-lite-play::after{content:"";position:absolute;left:31px;top:22px;border-left:30px solid #fff;border-top:18px solid transparent;border-bottom:18px solid transparent}
.yt-lite-label{position:absolute;left:50%;bottom:.9rem;transform:translateX(-50%);max-width:calc(100% - 1.5rem);text-overflow:ellipsis;overflow:hidden;background:rgba(36,26,58,.88);color:#fff;font-weight:700;
  border-radius:999px;padding:.4rem 1rem;white-space:nowrap;font-size:1rem}
.yt-lite-btn:hover .yt-lite-play,.yt-lite-btn:focus-visible .yt-lite-play{background:#9E2A22}
.yt-soon{font-size:.95rem;font-weight:700;color:#241A3A;background:#FFF3B0;border-radius:10px;padding:.45rem .8rem;margin:.6rem 0 0}
.h6-fridge-grid .h6-papers{grid-template-columns:repeat(2,minmax(0,1fr))!important}
@media (max-width:560px){.h6-fridge-grid .h6-papers{grid-template-columns:1fr!important}}

/* ---------- dark mode for the v10 pieces (manual Dark, and Auto on a dark device) ---------- */
html[data-theme="dark"] :is(.read-time,.pv-meta,.pv-pages figcaption,.dl-card .dl-size,.print-tiles span,.optin-perks li){color:#C9BEDB}
html[data-theme="dark"] .pv-help{background:#2A2142;color:#EEE9F5}
html[data-theme="dark"] :is(.phrase-list li,.print-tiles li){background:#221A38;color:#EEE9F5;border-color:#C9BEDB}
html[data-theme="dark"] .h6-letter.desk-pad,html[data-theme="dark"] .h6-letter.desk-pad :is(h2,h3,p,li,strong,em,span){color:#241A3A}
html[data-theme="dark"] .h6-letter.desk-pad a{color:#9E2A22}
html[data-theme="dark"] .facts-date{background:#2A2142;color:#EEE9F5}
html[data-theme="dark"] .yt-soon{background:#3A3216;color:#FFF7D6}
html[data-theme="dark"] :is(.state-grid .card){color:#EEE9F5}
@media (prefers-color-scheme:dark){
html:not([data-theme="light"]):not([data-theme="dark"]):not([data-theme="contrast"]) :is(.read-time,.pv-meta,.pv-pages figcaption,.dl-card .dl-size,.print-tiles span,.optin-perks li){color:#C9BEDB}
html:not([data-theme="light"]):not([data-theme="dark"]):not([data-theme="contrast"]) .pv-help{background:#2A2142;color:#EEE9F5}
html:not([data-theme="light"]):not([data-theme="dark"]):not([data-theme="contrast"]) :is(.phrase-list li,.print-tiles li){background:#221A38;color:#EEE9F5;border-color:#C9BEDB}
html:not([data-theme="light"]):not([data-theme="dark"]):not([data-theme="contrast"]) .h6-letter.desk-pad,html:not([data-theme="light"]):not([data-theme="dark"]):not([data-theme="contrast"]) .h6-letter.desk-pad :is(h2,h3,p,li,strong,em,span){color:#241A3A}
html:not([data-theme="light"]):not([data-theme="dark"]):not([data-theme="contrast"]) .h6-letter.desk-pad a{color:#9E2A22}
html:not([data-theme="light"]):not([data-theme="dark"]):not([data-theme="contrast"]) .facts-date{background:#2A2142;color:#EEE9F5}
html:not([data-theme="light"]):not([data-theme="dark"]):not([data-theme="contrast"]) .yt-soon{background:#3A3216;color:#FFF7D6}
html:not([data-theme="light"]):not([data-theme="dark"]):not([data-theme="contrast"]) :is(.state-grid .card){color:#EEE9F5}
}
