/* Landing declutter (Oct 23, 2026): the public pages (home, About us, How it works, How this site helps, Disclaimer,
   For parents) show one headline and one short line per section; longer text sits in "fold" rows: native <details>,
   closed by default, a Lucide line icon (aria-hidden) beside a visible label, and a chevron. Keyboard: Tab to the row,
   Enter or Space opens it; screen readers hear "collapsed/expanded" from the native element. */
.fold{ border:2px solid var(--line); border-radius:14px; background:var(--card); margin:0 0 10px; }
.fold > summary{ list-style:none; cursor:pointer; display:flex; align-items:center; gap:12px; padding:10px 14px; min-height:52px; font-weight:700; border-radius:12px; line-height:1.3; }
.fold > summary::-webkit-details-marker{ display:none; }
.fold > summary::marker{ content:""; }
.fold > summary:hover{ background:var(--soft); }
.fold > summary:focus-visible{ outline:3px solid var(--focus); outline-offset:2px; }
.fold-ico{ flex:0 0 auto; display:inline-flex; align-items:center; justify-content:center; width:2.2em; height:2.2em; border-radius:10px; background:var(--soft); color:var(--accent); }
.fold-ico .li{ width:1.3em; height:1.3em; }
.fold-t{ flex:1 1 auto; min-width:0; overflow-wrap:anywhere; }
.fold-sub{ display:block; font-weight:400; font-size:.88em; color:var(--muted); margin-top:2px; }
.fold-chev{ flex:0 0 auto; display:inline-flex; color:var(--muted); transition:transform .15s ease; }
.fold-chev .li{ width:1.2em; height:1.2em; }
.fold[open] > summary .fold-chev{ transform:rotate(180deg); }
.fold[open] > summary{ border-bottom-left-radius:0; border-bottom-right-radius:0; }
.fold-body{ padding:2px 16px 14px calc(14px + 2.2em + 12px); }
.fold-body > :first-child{ margin-top:0; } .fold-body > :last-child{ margin-bottom:0; }
.fold-body img{ display:block; width:100%; max-width:560px; height:auto; border-radius:12px; border:2px solid var(--line); margin-top:10px; }
.fold-plain{ border:0; background:none; margin:4px 0; }
.fold-plain > summary{ padding:6px 0; min-height:44px; color:var(--accent); font-weight:600; gap:8px; }
.fold-plain > summary:hover{ background:none; text-decoration:underline; }
.fold-plain .fold-ico{ width:auto; height:auto; background:none; }
.fold-plain > .fold-body{ padding:0 0 8px; }
@media (prefers-reduced-motion:reduce){ .fold-chev{ transition:none; } }
@media (max-width:520px){ .fold-body{ padding-left:16px; } }
/* Home page */
.lp-lede{ color:var(--muted); font-size:1.05em; margin:0 0 14px; max-width:40em; }
.lp-folds{ list-style:none; padding:0; margin:0; display:grid; grid-template-columns:repeat(auto-fit,minmax(min(340px,100%),1fr)); gap:0 14px; align-items:start; }
.lp-folds > li{ margin:0; }
.lp-hero .lp-cta{ align-items:center; margin-top:14px; }
.lp-howlink{ display:inline-flex; align-items:center; gap:4px; min-height:44px; padding:0 6px; font-weight:600; }
.lp-howlink .li{ width:1.1em; height:1.1em; }
.lp-ico-check{ color:var(--accent); }
.lp-comfort ul.lp-folds{ grid-template-columns:1fr; padding-left:0; } .lp-comfort .lp-folds > li{ margin:0; }
.lp-login .fold-plain{ margin:2px 0; }
.lp-demo-btns{ display:flex; flex-wrap:wrap; gap:8px; } .lp-demo-btns button{ margin:0; }
@media (max-width:760px){
  .lp-hero{ gap:12px; padding:14px 16px 18px; }
  .lp-hero .lp-mark{ display:none; }   /* the header already shows the AcePace wordmark on phones */
  .lp-hero h1{ margin-top:.1em; }
  .lp-hero-img img{ max-height:150px; object-fit:cover; object-position:center 30%; }
  .lp-hero .lp-cta .btn.big{ flex:1 1 9em; }
}
body.bigtext .lp-hero-img img{ max-height:120px; }
ul.lp-folds, ol.lp-folds{ padding-left:0 !important; list-style:none; }
.lp-folds > li{ margin:0 !important; }
.lp-folds > li::marker{ content:""; }
/* For parents: testing accommodations guide parts fold (js/test-accommodations.js) */
.ta-fold > summary.ta-head{ list-style:none; cursor:pointer; min-height:48px; padding:6px 4px; border-radius:10px; }
.ta-fold > summary.ta-head::-webkit-details-marker{ display:none; }
.ta-fold > summary.ta-head::marker{ content:""; }
.ta-fold > summary.ta-head h3{ flex:1 1 auto; min-width:0; font-size:1.05em; }
.ta-fold > summary.ta-head:hover{ background:var(--soft); }
.ta-fold > summary.ta-head:focus-visible{ outline:3px solid var(--focus); outline-offset:2px; }
.ta-fold[open] > summary .fold-chev{ transform:rotate(180deg); }
.ta-ico-wrap{ display:inline-flex; flex:0 0 32px; }
.ta-fold-body{ padding:4px 0 6px; }
/* Landing declutter (Oct 23, Lisa): no Resources link on the signed-out front page; the footer keeps it on every other page */
body.public:has(#main #lpRegisterBtn) footer .foot-res{display:none}
