/* =========================================================
   Accessible pages — shared stylesheet
   Soft baby-blue palette, chosen so all body text clears
   WCAG AA contrast (verified 4.5:1+).
   ========================================================= */
:root {
  --cream:      #E7F1FB;  /* page background (baby blue)     */
  --paper:      #F3F9FF;  /* cards / panels (lightest blue)  */
  --ink:        #21303D;  /* body text (very dark slate)     */
  --heading:    #1C3A5E;  /* headings (deep navy)            */
  --link:       #0B5FA5;  /* links (accessible blue)         */
  --link-hover: #08436F;  /* link hover (darker)             */
  --sage:       #9DC1E6;  /* decorative sky-blue accent      */
  --sage-deep:  #35689C;  /* deeper blue for text on cream   */
  --terracotta: #C36A4F;  /* warm accent (personal notes)    */
  --leaf:       #277A33;  /* green box-tips & retro bullets   */
  --border:     #C2DAF0;  /* soft blue borders               */
  --focus:      #1B4D8F;  /* high-contrast focus ring        */
  --radius: 18px;
  --maxw: 70ch;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background-color: var(--cream);
  /* subtle, non-flashing texture using soft dots */
  background-image:
    radial-gradient(var(--border) 1px, transparent 1px);
  background-size: 26px 26px;
  color: var(--ink);
  font-family: "Verdana", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 1.125rem;       /* 18px base — comfortable, scalable */
  line-height: 1.75;
  -webkit-text-size-adjust: 100%;
}
/* ---- Skip link for keyboard & screen-reader users ---- */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--heading);
  color: #fff;
  padding: 0.6rem 1rem;
  border-radius: 0 0 var(--radius) 0;
  z-index: 100;
  text-decoration: none;
}
.skip-link:focus { left: 0; }
/* ---- Layout ---- */
.wrap {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 1.25rem;
}
main {
  max-width: var(--maxw);
  margin: 0 auto;
}
/* ---- Header / banner ---- */
.banner {
  text-align: center;
  background: var(--paper);
  border: 3px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.25rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 6px 0 rgba(157, 193, 230, 0.45);
}
.banner h1 {
  margin: 0.2rem 0;
  font-size: 2.1rem;
}
.banner p { margin: 0.3rem 0 0; color: var(--ink); }
.sprig { font-size: 1.4rem; letter-spacing: 0.3rem; }
/* ---- Navigation ---- */
nav.sitenav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 1.75rem;
}
nav.sitenav a {
  display: inline-block;
  background: var(--paper);
  border: 2px solid var(--border);
  border-radius: 999px;
  padding: 0.4rem 0.95rem;
  text-decoration: none;
  color: var(--link);
  font-weight: bold;
}
nav.sitenav a:hover { background: var(--sage); color: var(--heading); }
nav.sitenav a[aria-current="page"] {
  background: var(--sage);
  color: var(--heading);
  border-color: var(--sage-deep);
}
/* ---- Typography ---- */
h1, h2, h3 {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--heading);
  line-height: 1.3;
}
h2 {
  font-size: 1.7rem;
  border-bottom: 3px dotted var(--sage);
  padding-bottom: 0.3rem;
  margin-top: 2.2rem;
}
h3 { font-size: 1.3rem; margin-top: 1.6rem; }
p, li { max-width: var(--maxw); }
li { margin-bottom: 0.4rem; }
a { color: var(--link); text-decoration: underline; text-underline-offset: 2px; }
a:hover { color: var(--link-hover); }
/* ---- Visible focus for everyone navigating by keyboard ---- */
a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
  border-radius: 4px;
}
/* ---- Cards (home page link grid) ---- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.cards li { max-width: none; margin: 0; }
.card {
  display: block;
  height: 100%;
  background: var(--paper);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem 1.2rem;
  text-decoration: none;
  color: var(--ink);
  box-shadow: 0 5px 0 rgba(157, 193, 230, 0.45);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 0 rgba(157, 193, 230, 0.6);
  background: #FBFDFF;
}
.card .emoji { font-size: 2rem; display: block; }
.card .title {
  display: block;
  font-family: Georgia, serif;
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--heading);
  margin: 0.35rem 0 0.25rem;
}
.card .desc { display: block; font-size: 0.98rem; }
/* ---- Callout boxes ---- */
.note {
  background: var(--paper);
  border-left: 8px solid var(--leaf);
  border-radius: 10px;
  padding: 0.9rem 1.1rem;
  margin: 1.4rem 0;
}
.note.warm  { border-left-color: var(--terracotta); }
.note .label {
  display: block;
  font-weight: bold;
  font-family: Georgia, serif;
  color: var(--heading);
  margin-bottom: 0.2rem;
}
/* ---- Quick checklist styling ---- */
/* Retro four-point star bullet — solid green, sized up for visibility. */
.checklist { list-style: none; padding-left: 0; }
.checklist li { padding-left: 2.1rem; position: relative; }
.checklist li::before {
  content: "\2726";          /* ✦ heavy four-pointed star */
  position: absolute;
  left: 0;
  top: 0.02em;
  color: var(--leaf);
  font-size: 1.35em;
  line-height: 1.3;
}
/* ---- Standards table ---- */
table.specs {
  width: 100%;
  border-collapse: collapse;
  margin: 1.2rem 0;
  background: var(--paper);
  border-radius: var(--radius);
  overflow: hidden;
}
table.specs caption {
  caption-side: top;
  text-align: left;
  font-style: italic;
  margin-bottom: 0.5rem;
  color: var(--ink);
}
table.specs th, table.specs td {
  border: 1px solid var(--border);
  padding: 0.6rem 0.8rem;
  text-align: left;
}
table.specs th { background: var(--sage); color: var(--heading); }
/* ---- Photo / figure ---- */
figure.portrait {
  text-align: center;
  margin: 2rem auto;
  max-width: 360px;
}
figure.portrait img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  border: 5px solid var(--paper);
  box-shadow: 0 6px 0 var(--sage), 0 6px 18px rgba(28, 58, 94, 0.18);
}
figure.portrait figcaption {
  margin-top: 0.6rem;
  font-style: italic;
  color: var(--ink);
}
/* ---- Footer ---- */
footer {
  text-align: center;
  margin: 2.5rem auto 1rem;
  padding-top: 1.2rem;
  border-top: 3px dotted var(--sage);
  font-size: 0.98rem;
}
/* ---- Decorative divider ---- */
.divider {
  text-align: center;
  font-size: 1.3rem;
  letter-spacing: 0.5rem;
  color: var(--sage-deep);
  margin: 2rem 0;
}
/* ---- Back-to-home button ---- */
.backhome {
  display: inline-block;
  margin: 1.75rem 0 0.5rem;
  background: var(--sage);
  color: var(--heading);
  border: 2px solid var(--sage-deep);
  border-radius: 999px;
  padding: 0.55rem 1.3rem;
  text-decoration: none;
  font-weight: bold;
  font-family: Georgia, serif;
}
.backhome:hover { background: var(--heading); color: #fff; }
/* ---- Stat tidbits ---- */
.stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1.2rem 0;
}
.stat {
  flex: 1 1 170px;
  background: var(--paper);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  text-align: center;
}
.stat .num {
  display: block;
  font-family: Georgia, serif;
  font-size: 2.1rem;
  font-weight: bold;
  color: var(--heading);
  line-height: 1.1;
}
.stat .cap { display: block; font-size: 0.98rem; margin-top: 0.3rem; }
/* =========================================================
   Respect users who ask for less motion.
   No part of this site flashes or auto-plays; transitions
   are gentle and fully removed here.
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .card:hover { transform: none; }
}





/* interactive checklist styling */
.interactive-checklist {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 1.5rem 0;
}

.check-item {
  display: flex;
  align-items: flex-start;
  background: var(--paper);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.2rem;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.check-item:hover {
  background: #FBFDFF;
  border-color: var(--sage);
  transform: translateY(-2px);
}

/* custom checkbox appearance */
.check-item input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 1.5rem;
  height: 1.5rem;
  border: 2px solid var(--sage-deep);
  border-radius: 4px;
  margin: 0.3rem 1rem 0 0;
  flex-shrink: 0;
  cursor: pointer;
  display: grid;
  place-content: center;
  background: #fff;
}

/* creates the checkmark shape inside the box */
.check-item input[type="checkbox"]::before {
  content: "";
  width: 0.85rem;
  height: 0.85rem;
  transform: scale(0);
  transition: 120ms transform ease-in-out;
  box-shadow: inset 1em 1em var(--leaf);
  transform-origin: center;
  clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
}

.check-item input[type="checkbox"]:checked::before {
  transform: scale(1);
}

.check-item input[type="checkbox"]:checked {
  border-color: var(--leaf);
}

.check-item input[type="checkbox"]:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

.check-text {
  line-height: 1.6;
}

.check-text strong {
  color: var(--heading);
  display: inline-block;
  margin-bottom: 0.2rem;
}




