/* LOCAL (see PATCHES.md patch 491): /for-schools, the one page school-owner ads send to, and its
 * checklist page. The site brand, as /for-students (patch 251): navy #01102F, panel #011F5D,
 * gold #FFD800, Archivo headings, Manrope body.
 *
 * Mobile first: one column, a 16px gutter at 375px, no sideways scroll. LOGICAL properties only, so
 * a right-to-left page mirrors by itself. Everything is scoped under .fsc.
 * Contrast (tests/brand/contrast_test.php's palette): white on navy 18.8:1, the body text
 * rgba(255,255,255,.80) on navy about 12:1 and on the panel about 9.6:1, gold on navy 13.6:1,
 * navy on gold 13.6:1. */

html.fsc-page body, body:has(#fsc) { background: #01102F; }
html.fsc-page, body:has(#fsc), .fsc { --oss-link-hover: #FFD800; }
html.fsc-page footer { background: #01102F; border-top: 1px solid rgba(255,255,255,.13); }
html.fsc-page footer, html.fsc-page footer a, html.fsc-page footer p, html.fsc-page footer .text-dark-r, html.fsc-page footer .text-muted, html.fsc-page footer .text-link { color: rgba(255,255,255,.75) !important; }

.fsc {
    --fsc-navy: #01102F;
    --fsc-panel: #011F5D;
    --fsc-gold: #FFD800;
    --fsc-line: rgba(255,255,255,.14);
    --fsc-dim: rgba(255,255,255,.80);
    background: var(--fsc-navy);
    color: var(--fsc-dim);
    font-family: Manrope, system-ui, sans-serif;
    font-size: 16px;
    line-height: 1.55;
    overflow-x: clip;
}
.fsc *, .fsc *::before, .fsc *::after { box-sizing: border-box; }
.fsc h1, .fsc h2, .fsc h3, .fsc p, .fsc ul, .fsc ol, .fsc figure { margin: 0; }
.fsc ul, .fsc ol { padding: 0; list-style: none; }
.fsc h1, .fsc h2, .fsc h3 { font-family: Archivo, system-ui, sans-serif; color: #fff; letter-spacing: -0.02em; }
.fsc h1, .fsc h2 { font-weight: 900; }
.fsc h2 { font-size: 26px; line-height: 1.15; }
.fsc h3 { font-weight: 800; font-size: 18px; line-height: 1.3; }
.fsc a:focus-visible, .fsc button:focus-visible, .fsc input:focus-visible { outline: 3px solid var(--fsc-gold); outline-offset: 3px; }
.fsc .fsc-btn-gold:focus-visible { outline-color: #fff; }
.fsc-gold { color: var(--fsc-gold); }

.fsc-wrap { max-width: 1040px; margin-inline: auto; padding-inline: 16px; }
.fsc-narrow { max-width: 640px; }
@media (min-width: 768px) { .fsc-wrap { padding-inline: 32px; } .fsc h2 { font-size: 32px; } }

/* ---- buttons and links ---- */
.fsc-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 12px 28px; border-radius: 999px; font: 800 17px/1.2 Manrope, system-ui, sans-serif; text-decoration: none; text-align: center; border: 2px solid transparent; cursor: pointer; }
.fsc-btn-gold { background: var(--fsc-gold); border-color: var(--fsc-gold); color: #011F5D; }
.fsc-btn-gold:hover, .fsc-btn-gold:focus, .fsc-btn-gold:active { background: #E6C200; border-color: #E6C200; color: #011F5D; text-decoration: none; }
.fsc-btn-ghost { background: transparent; border-color: rgba(255,255,255,.55); color: #fff; }
.fsc-btn-ghost:hover, .fsc-btn-ghost:focus, .fsc-btn-ghost:active { border-color: #fff; color: #fff; text-decoration: none; }
.fsc-small-link { display: inline-flex; align-items: center; min-height: 44px; color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.fsc-small-link:hover, .fsc-small-link:focus { color: var(--fsc-gold); }

/* ---- header ---- */
.fsc-head { border-bottom: 1px solid var(--fsc-line); }
.fsc-head-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; }
.fsc-logo { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font: 900 22px Archivo, system-ui, sans-serif; letter-spacing: -0.03em; color: #fff !important; text-decoration: none !important; }
.fsc-logo img { display: block; width: 25px; height: auto; }
.fsc-link { display: inline-flex; align-items: center; min-height: 44px; padding-inline: 4px; color: #fff; font-weight: 700; font-size: 15px; text-decoration: none; }
.fsc-link:hover { color: var(--fsc-gold); }

/* ---- hero, with the proof on top ---- */
.fsc-hero { padding-block: 28px 44px; }
.fsc .fsc-proof { display: grid; gap: 10px; padding: 16px 18px; margin-block-end: 28px; border: 1px solid rgba(255,216,0,.45); border-radius: 14px; background: rgba(255,216,0,.06); }
.fsc-proof figcaption { font-size: 14px; font-weight: 700; color: #fff; }
.fsc-proof-nums { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.fsc-proof-nums p { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.fsc-proof-nums strong { font: 900 30px/1 Archivo, system-ui, sans-serif; color: var(--fsc-gold); letter-spacing: -0.02em; }
.fsc-proof-nums span { font-size: 15px; color: var(--fsc-dim); }
.fsc-eyebrow { font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--fsc-gold); margin-block-end: 12px !important; }
.fsc h1 { font-size: 38px; line-height: 1.05; letter-spacing: -0.03em; max-width: 18ch; }
.fsc-lead { margin-block-start: 16px !important; font-size: 18px; line-height: 1.6; color: rgba(255,255,255,.88); max-width: 54ch; }
.fsc-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; margin-block-start: 24px; }
.fsc-note { margin-block-start: 8px !important; font-size: 14px; color: var(--fsc-dim); }
@media (max-width: 575px) {
    .fsc-ctas .fsc-btn { flex: 1 1 100%; }
}
@media (min-width: 992px) {
    .fsc-hero { padding-block: 48px 72px; }
    .fsc h1 { font-size: 60px; }
    .fsc-lead { font-size: 20px; }
    .fsc-proof { width: fit-content; max-width: 100%; }
}

/* ---- sections ---- */
.fsc-section { padding-block: 44px; border-top: 1px solid var(--fsc-line); }
.fsc-panel { background: var(--fsc-panel); }
.fsc-sub { margin-block: 10px 22px !important; font-size: 17px; }
.fsc-does { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; margin-block-start: 22px !important; }
.fsc-does li { padding: 18px; border: 1px solid var(--fsc-line); border-radius: 14px; background: rgba(255,255,255,.03); border-inline-start: 4px solid var(--fsc-gold); }
.fsc-does p { margin-block-start: 6px !important; }
@media (min-width: 768px) { .fsc-does { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.fsc-price { padding-block: 32px; }
.fsc .fsc-price-line { font-size: 22px; line-height: 1.3; }
@media (min-width: 768px) { .fsc .fsc-price-line { font-size: 26px; } }

/* ---- forms ---- */
.fsc-form { display: grid; gap: 16px; }
.fsc-field label { display: block; margin-block-end: 6px; font-size: 14px; font-weight: 700; color: #fff; }
.fsc-field input { width: 100%; min-height: 48px; padding: 10px 14px; border-radius: 10px; border: 1px solid rgba(255,255,255,.35); background: rgba(255,255,255,.06); color: #fff; font: 500 16px Manrope, system-ui, sans-serif; }
.fsc-field input::placeholder { color: rgba(255,255,255,.62); }
.fsc-field input:focus { outline: none; border-color: var(--fsc-gold); background: rgba(255,255,255,.1); }
.fsc-check { display: flex; gap: 12px; align-items: center; min-height: 44px; cursor: pointer; color: rgba(255,255,255,.88); font-size: 15px; }
.fsc-check input { width: 22px; height: 22px; flex: 0 0 auto; accent-color: #FFD800; }
.fsc-form .fsc-btn { width: 100%; }
@media (min-width: 576px) { .fsc-form .fsc-btn { width: auto; justify-self: start; } }
.fsc-fine { font-size: 13px; color: rgba(255,255,255,.72); }
.fsc-fine a { color: #fff; text-decoration: underline; }
.fsc-error { margin-block-start: 6px; color: #FFB4A8; font-size: 14px; font-weight: 600; }
.fsc-flash { padding: 16px 18px; border-radius: 12px; background: rgba(255,216,0,.12); border: 1px solid rgba(255,216,0,.5); color: #fff; font-weight: 700; }
.fsc-hp { position: absolute; inset-inline-start: -10000px; width: 1px; height: 1px; overflow: hidden; }
.fsc .captcha-field { margin: 0; }
/* Patch 503: each form's own robot-check box. The space is kept and labelled until the box is drawn, so a
   visitor never sees an empty gap where the box should be; the note under it says what to do. */
.fsc-hint { margin: 0 !important; font-size: 14px; color: rgba(255,255,255,.80); }
.fsc-human { display: grid; gap: 8px; scroll-margin-block: 120px; }
.fsc-human-box { min-height: 65px; max-width: 100%; }
.fsc-human-box:empty { display: flex; align-items: center; padding: 0 14px; border: 1px dashed rgba(255,255,255,.45); border-radius: 10px; color: rgba(255,255,255,.80); font-size: 14px; }
.fsc-human-box:empty::before { content: attr(data-fsc-loading); }
.fsc-human-note { margin: 0 !important; padding: 10px 12px; border-radius: 10px; background: rgba(255,216,0,.12); border: 1px solid rgba(255,216,0,.5); color: #fff; font-size: 14px; font-weight: 600; }
.fsc-human.is-problem .fsc-human-box:empty { display: none; }
.fsc-human.is-problem .fsc-human-note { background: rgba(255,180,168,.12); border-color: #FFB4A8; }

/* ---- the checklist page: a printable sheet ---- */
.fsc-sheet { background: #fff; color: #1a2233; border-radius: 16px; padding: 24px 18px; margin-block: 28px 44px; }
.fsc-sheet h1, .fsc-sheet h2, .fsc-sheet h3 { color: #01102F; }
.fsc .fsc-sheet h1 { font-size: 30px; max-width: none; }
.fsc .fsc-sheet h2 { font-size: 20px; margin-block-start: 22px !important; padding-block-end: 6px; border-bottom: 2px solid #01102F; }
.fsc-sheet-intro { margin-block-start: 8px !important; color: #33405a; }
.fsc-sheet ol { counter-reset: fsc-step; display: grid; gap: 10px; margin-block-start: 12px !important; }
.fsc-sheet ol li { counter-increment: fsc-step; position: relative; padding-inline-start: 36px; }
.fsc-sheet ol li::before { content: ""; position: absolute; inset-inline-start: 0; top: 3px; width: 20px; height: 20px; border: 2px solid #01102F; border-radius: 4px; }
.fsc-sheet strong { color: #01102F; }
.fsc-sheet-tool { margin-block-start: 4px; font-size: 14px; color: #4a5670; }
.fsc-sheet-foot { margin-block-start: 24px !important; padding-block-start: 14px; border-top: 1px solid #d5dae4; font-size: 14px; color: #33405a; }
.fsc-sheet-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
@media (min-width: 768px) { .fsc-sheet { padding: 40px 48px; } }
@media print {
    html.fsc-page body, .fsc { background: #fff !important; }
    .fsc-head, .fsc-sheet-actions, .fsc-noprint, footer, #tell-us, .tell-us, .language-selector-box { display: none !important; }
    .fsc-sheet { margin: 0; padding: 0; border-radius: 0; }
    .fsc-wrap { padding: 0; max-width: none; }
}
