/* Rising Maple "For schools" page (public/schools.html). Loaded after /landing/home.css and shares its
   look: the hero key art, hill edges with a few leaves, white cards with a tinted drop edge, maple accents.
   Only what the home page does not have is here: the trial steps, the "what teachers see" cards and the
   questionnaire. Every control is at least 44px tall. Mobile first. */
.for-schools .footer { padding-bottom: 48px; }
.for-schools .footer nav a[aria-current] { text-decoration: underline; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.wide-only { display: none; }
@media (min-width: 900px) { .wide-only { display: inline; } .narrow-only { display: none; } }
.for-schools .hero h1 { font-size: clamp(2.125rem, 8.6vw, 3.5rem); }

/* How a trial works: numbered stops joined by a trail line */
.trail { position: relative; margin: 38px auto 0; max-width: 760px; display: grid; gap: 14px; counter-reset: stop; }
.trail::before { content: ""; position: absolute; left: 27px; top: 30px; bottom: 30px; width: 4px; border-radius: 4px; background: repeating-linear-gradient(180deg, var(--amber) 0 10px, transparent 10px 18px); }
.trail li { counter-increment: stop; position: relative; display: grid; grid-template-columns: 58px 1fr; column-gap: 16px; padding: 18px 20px 18px 0; }
.trail li::before { content: counter(stop); grid-row: span 2; align-self: start; position: relative; z-index: 1; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: var(--paper); color: var(--maple-ink); font: 600 1.5rem/1 var(--display); box-shadow: 0 4px 0 #f6cdb4, 0 10px 20px rgba(168, 50, 26, 0.12); }
.trail b { font: 600 1.25rem/1.25 var(--display); color: var(--heading); align-self: end; }
.trail span { margin-top: 4px; color: var(--ink); }
.trail li:last-child::before { background: linear-gradient(135deg, var(--leaf), var(--amber)); color: #fff; box-shadow: 0 4px 0 #c33a20, 0 10px 20px rgba(168, 50, 26, 0.2); }

/* What teachers see */
.sees { margin-top: 36px; display: grid; gap: 18px; }
.see-card { background: var(--sky); border-radius: 24px; padding: 24px 22px 8px; }
.see-card h3 { margin-top: 14px; }
.see-card .icon { background: var(--paper); box-shadow: 0 3px 0 var(--sky-deep); }
.see-card .ticks { margin: 14px 0 16px; }
.private { margin-top: 48px; }
.private h3 { text-align: center; font-size: clamp(1.5rem, 4.6vw, 1.875rem); }
.private .promises { margin-top: 22px; }

/* The questionnaire */
.ask-card { margin-top: 32px; padding: 26px 20px; background: var(--paper); border: 1px solid var(--outline); border-radius: 28px; box-shadow: var(--card-lift); }
.ask-form { display: none; gap: 20px; }
.js .ask-form { display: grid; }
.js .ask-plain { display: none; }
.req-note { color: var(--muted); font-size: 0.9375rem; }
.req { color: var(--maple-ink); font-weight: 700; }
.field { display: grid; gap: 6px; min-width: 0; margin: 0; padding: 0; border: 0; }
.field > label, .field legend { font-weight: 700; color: var(--heading); padding: 0; }
.field legend { margin-bottom: 8px; }
.ask-card input[type="text"], .ask-card input[type="email"], .ask-card select, .ask-card textarea {
  width: 100%; min-height: 50px; padding: 10px 14px; font: 400 1.0625rem/1.4 var(--body); color: var(--ink);
  background: #fbfdff; border: 2px solid var(--line); border-radius: 14px; appearance: none; -webkit-appearance: none;
}
.ask-card select { padding-right: 44px; background: #fbfdff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='10' viewBox='0 0 16 10'%3E%3Cpath d='M2 2l6 6 6-6' fill='none' stroke='%23a8321a' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 16px center; }
.ask-card textarea { resize: vertical; min-height: 110px; }
.ask-card input:hover, .ask-card select:hover, .ask-card textarea:hover { border-color: var(--edge); }
.ask-card input:focus-visible, .ask-card select:focus-visible, .ask-card textarea:focus-visible { outline: 3px solid #1f6fd8; outline-offset: 1px; border-color: #1f6fd8; border-radius: 14px; }
.ask-card ::placeholder { color: #7b87a6; }
.ask-card [aria-invalid="true"]:not(fieldset) { border-color: var(--maple-ink); background: #fff8f4; }
.hint { font-size: 0.9375rem; color: var(--muted); }
.err { font-weight: 700; color: var(--maple-ink); font-size: 0.9375rem; }
.err::before { content: "! "; }
.row { display: grid; gap: 20px; }

.choices { display: flex; flex-wrap: wrap; gap: 10px; }
.choice { position: relative; display: inline-flex; cursor: pointer; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice span { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 18px 0 14px; border-radius: 999px; background: var(--sky); color: var(--heading); font-weight: 700; box-shadow: 0 3px 0 var(--sky-deep); transition: background 0.12s ease, box-shadow 0.12s ease; }
.choice span::before { content: ""; flex: none; width: 18px; height: 18px; border-radius: 50%; border: 2px solid #9fb3d9; background: var(--paper); }
.choice input[type="checkbox"] + span::before { border-radius: 6px; }
.choice:hover span { background: #ddeffd; }
.choice input:checked + span { background: var(--maple-wash); box-shadow: 0 3px 0 #f6cdb4; color: var(--maple-ink); }
.choice input:checked + span::before { border-color: var(--maple-ink); background: var(--maple-ink); box-shadow: inset 0 0 0 3px var(--paper); }
.choice input[type="checkbox"]:checked + span::before { box-shadow: none; background: var(--maple-ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='10' viewBox='0 0 12 10'%3E%3Cpath d='M1.5 5l3 3 6-6.5' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center; }
.choice input:focus-visible + span { outline: 3px solid #1f6fd8; outline-offset: 2px; }
fieldset[aria-invalid="true"] .choice span { box-shadow: 0 3px 0 #f6cdb4, inset 0 0 0 2px #f2b79c; }

.send { display: grid; gap: 12px; margin-top: 4px; }
.send .btn { border: 0; cursor: pointer; }
.send-note { padding: 12px 16px; border-radius: 16px; background: var(--sky); color: var(--ink); font-size: 0.9875rem; text-wrap: pretty; }
.send-note b { color: var(--heading); }
.ask-plain .send-note { margin-top: 12px; }

.ready { padding: 20px; border-radius: 20px; background: #eefaf6; border: 1px solid #b6e0d6; display: grid; gap: 12px; }
.ready:focus { outline: none; }
.ready:focus-visible { outline: 3px solid #1f6fd8; }
.ready h3 { display: flex; align-items: center; gap: 12px; color: var(--teal-edge); }
.ready h3::before { content: ""; flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23087268' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 22px no-repeat; box-shadow: 0 3px 0 #b6e0d6; }
.ready textarea { min-height: 180px; font-size: 0.9375rem; background: var(--paper); }
.ready-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; }
.ready-actions .btn { border: 0; cursor: pointer; min-height: 48px; font-size: 1.0625rem; }

.ask-plain > p { color: var(--ink); }
.plain-list { margin: 12px 0 14px; padding-left: 24px; list-style: decimal; display: grid; gap: 6px; }
.plain-list li::marker { color: var(--maple-ink); font-weight: 700; }
.ask-plain .btn { margin-top: 16px; }

.address { margin-top: 26px; padding-top: 20px; border-top: 2px dashed var(--line); display: grid; gap: 10px; }
.address > p:first-child { color: var(--muted); font-size: 0.9875rem; }
.address-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.address-text { font: 600 clamp(1.125rem, 5vw, 1.375rem)/1.2 var(--display); color: var(--heading); user-select: all; -webkit-user-select: all; overflow-wrap: anywhere; }
.address .copy { border: 0; cursor: pointer; }
.copied { min-height: 1.4em; font-weight: 700; color: var(--teal); font-size: 0.9375rem; }

@media (min-width: 620px) {
  .ask-card { padding: 34px 36px; }
  .row { grid-template-columns: 1fr 1fr; }
  .private .promises { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 900px) {
  .sees { grid-template-columns: repeat(3, 1fr); gap: 22px; }
  .private .promises { grid-template-columns: repeat(4, 1fr); }
  .trail li { padding-right: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .choice span { transition: none; }
}
.private .promises li { align-content: start; }
.for-schools section[id], .for-schools .private { scroll-margin-top: 76px; }
