/*
 * startosoft.com — the product's own site.
 *
 * Deliberately not the school website's stylesheet: that one is repainted by whatever
 * theme a school picks, this one is our brand and never changes at runtime. Nothing here
 * depends on Bootstrap or jQuery, so these pages load with two small files and no vendor
 * copies to keep in step with the product.
 *
 * Colours: ink for the dark bands, teal as the brand, terracotta for the one thing on a
 * screen we want clicked. The school site is navy and amber — the two are meant to look
 * like different things, because they are.
 */

:root {
  --ink: #0c1a2b;
  --ink-2: #14293f;
  --brand: #087c72;
  --brand-dark: #0b6f67;
  --brand-tint: #e6f4f2;
  --accent: #b94727;
  --accent-dark: #9e381e;
  --text: #1f2a37;
  --muted: #5c6b7a;
  --line: #e2e8ea;
  --surface: #f5f8f8;
  --white: #fff;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(12, 26, 43, .06), 0 8px 24px rgba(12, 26, 43, .06);
  /* One gutter for the whole site. Every band — the menu bar, the hero, every section
     and the footer — is full width and inset by this much, so the brand, the hero
     heading and the first card of every grid all sit on the same vertical line. */
  --gutter: clamp(20px, 4vw, 64px);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  color: var(--text);
  background: var(--white);
  font: 16px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; letter-spacing: -.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 4.4vw, 3rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 2.8vw, 2.125rem); font-weight: 750; }
h3 { font-size: 1.1875rem; font-weight: 700; }
p { margin: 0 0 1rem; }
a { color: var(--brand-dark); text-decoration: none; }
a:hover, a:focus-visible { text-decoration: underline; }
img { max-width: 100%; height: auto; }
ul { margin: 0 0 1rem; padding-left: 1.15rem; }
li { margin-bottom: .35rem; }
small { font-size: .8125rem; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .9em; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

.wrap { width: 100%; max-width: none; margin: 0 auto; padding-inline: var(--gutter); }
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px;
}
.skip-link:focus { left: 0; }

/* ── Header ──────────────────────────────────────────────────────────────
 * Fixed and transparent, sitting over the dark band every page opens with, and
 * darkening into a solid bar once you scroll past it. Every page here starts with
 * either .hero or .section.dark.page-intro, which is what makes a transparent bar
 * safe — put a light section first and the white nav would vanish into it.
 */
.site-head {
  position: fixed; inset: 0 0 auto; z-index: 50;
  color: #fff; background: transparent;
  transition: background-color .28s ease, box-shadow .28s ease, backdrop-filter .28s ease;
}
.site-head .wrap {
  height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  transition: height .28s ease;
}
.brand { display: flex; align-items: center; gap: 11px; font-weight: 800; letter-spacing: -.02em; }
.brand:hover { text-decoration: none; }
.site-head .brand { color: #fff; font-size: 1.35rem; }
.site-head .brand span { color: #8ee5da; }
@supports ((background-clip: text) or (-webkit-background-clip: text)) {
  /* The wordmark is a gradient; the flat colour above is the fallback, not a nicety —
     -webkit-text-fill-color:transparent without a working background-clip renders it
     invisible. */
  .site-head .brand span {
    background: linear-gradient(96deg, #bff7ee 0%, #8ee5da 45%, #4fc3b4 100%);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
  }
}
.brand-mark { width: 37px; height: 37px; border-radius: 11px; flex: none; }

.nav { margin-left: auto; display: flex; align-items: center; gap: 30px; }
.nav a:not(.btn) {
  padding: 0; border-radius: 0; background: none;
  font-size: .92rem; font-weight: 650; color: rgba(255, 255, 255, .82);
}
.nav a:not(.btn):hover,
.nav a:not(.btn)[aria-current="page"] { color: #fff; background: none; text-decoration: none; }
.nav-toggle {
  display: none; width: 44px; height: 44px; padding: 10px; margin-left: auto;
  border: 0; background: transparent; color: #fff; cursor: pointer;
}
.nav-toggle span { display: block; width: 100%; height: 2px; margin: 6px 0; background: currentColor; }

/* Once you have scrolled off the dark band the bar has to carry its own ground. */
.site-head.is-stuck { background: rgba(12, 26, 43, .92); box-shadow: 0 6px 26px rgba(5, 15, 35, .26); }
@supports (backdrop-filter: blur(10px)) or (-webkit-backdrop-filter: blur(10px)) {
  .site-head.is-stuck {
    background: rgba(12, 26, 43, .78);
    -webkit-backdrop-filter: saturate(150%) blur(12px);
    backdrop-filter: saturate(150%) blur(12px);
  }
}
/* Shorter once stuck, so it takes less of the screen while you are reading. */
.site-head.is-stuck .wrap { height: 70px; }

/* A fixed bar covers whatever an in-page link jumps to. */
section[id], h1[id], h2[id], h3[id], [id].feature { scroll-margin-top: 104px; }

@media (max-width: 900px) {
  .nav-toggle { display: block; position: relative; z-index: 2; }
  /* A full-height panel from the right, rather than a tray under the bar. */
  .nav {
    position: fixed; inset: 0 0 0 25%; z-index: 1;
    flex-direction: column; align-items: stretch; gap: 6px;
    padding: 105px 30px 30px;
    background: var(--ink); border: 0; box-shadow: none;
    transform: translateX(100%); transition: transform .25s ease;
  }
  .nav.open { transform: none; }
  .nav a:not(.btn) { padding: 10px 2px; font-size: 1rem; }
  .nav .btn { margin: 10px 0 0; text-align: center; }
  /* While the panel is open the bar behind it must be solid whatever the scroll
     position, or the brand sits on transparent ground. */
  body.menu-open .site-head { background: rgba(12, 26, 43, .97); box-shadow: none; }
}
@media (max-width: 620px) {
  .site-head .wrap { height: 72px; }
  .site-head.is-stuck .wrap { height: 64px; }
  .nav { inset: 0 0 0 12%; }
  section[id], h1[id], h2[id], h3[id], [id].feature { scroll-margin-top: 88px; }
}

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.btn {
  display: inline-block; cursor: pointer;
  font: inherit; font-weight: 650; line-height: 1.2;
  padding: 12px 20px; border-radius: var(--radius);
  border: 1px solid transparent; background: var(--brand); color: #fff;
}
.btn:hover, .btn:focus-visible { background: var(--brand-dark); color: #fff; text-decoration: none; }
.btn-accent { background: var(--accent); }
.btn-accent:hover, .btn-accent:focus-visible { background: var(--accent-dark); }
.btn-outline { background: transparent; border-color: var(--line); color: var(--ink); }
.btn-outline:hover, .btn-outline:focus-visible { background: var(--surface); color: var(--ink); border-color: #cfd9db; }
.btn-ghost { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .45); color: #fff; }
.btn-ghost:hover, .btn-ghost:focus-visible { background: rgba(255, 255, 255, .18); color: #fff; }
.btn[disabled] { opacity: .6; cursor: not-allowed; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ── Sections ────────────────────────────────────────────────────────────── */
.section { padding: clamp(3rem, 6vw, 5rem) 0; }
.section.tint { background: var(--surface); }
.section.dark {
  background: linear-gradient(140deg, var(--ink) 0%, var(--ink-2) 100%);
  color: #cfd9e2;
}
.section.dark h1, .section.dark h2, .section.dark h3, .section.dark h4 { color: #fff; }
.section.dark a { color: #7ad6cc; }
.section-head { max-width: 46rem; margin-bottom: 2.25rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.full { max-width: none; }
.lead { font-size: 1.0625rem; color: var(--muted); }
.dark .lead { color: #a9bbcb; }
.eyebrow {
  display: inline-block; margin-bottom: .75rem;
  font-size: .75rem; font-weight: 750; letter-spacing: .1em; text-transform: uppercase;
  color: var(--brand-dark);
}
.dark .eyebrow { color: #7ad6cc; }

/* ── Hero ────────────────────────────────────────────────────────────────── */
.hero {
  background:
    radial-gradient(1000px 420px at 88% -8%, rgba(13, 143, 132, .28), transparent 62%),
    linear-gradient(140deg, var(--ink) 0%, var(--ink-2) 100%);
  color: #cfd9e2;
  padding: clamp(3.5rem, 8vw, 6rem) 0 clamp(3rem, 6vw, 4.5rem);
}
.hero h1 { color: #fff; max-width: 15ch; }
.hero .lead { color: #b4c5d4; font-size: 1.125rem; max-width: 34rem; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 3.5rem); align-items: center; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }
.hero-note { margin-top: 1.25rem; font-size: .875rem; color: #91a6b8; }

/* A drawn stand-in for a screenshot: honest, and it never goes out of date. */
.mock {
  background: #fff; border-radius: 14px; box-shadow: 0 24px 60px rgba(0, 0, 0, .35);
  overflow: hidden; color: var(--text);
}
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #eef2f3; border-bottom: 1px solid var(--line); }
.mock-dot { width: 10px; height: 10px; border-radius: 50%; background: #cbd5d8; }
.mock-title { margin-left: 8px; font-size: .75rem; color: var(--muted); font-weight: 600; }
.mock-body { padding: 16px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.mock-card { border: 1px solid var(--line); border-radius: 8px; padding: 12px; background: #fff; }
.mock-card .k { font-size: .6875rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; }
.mock-card .v { font-size: 1.375rem; font-weight: 800; color: var(--ink); }
.mock-card .d { font-size: .75rem; color: var(--muted); }
.mock-wide { grid-column: 1 / -1; }
.mock-row { display: flex; justify-content: space-between; font-size: .8125rem; padding: 6px 0; border-bottom: 1px solid #f0f4f4; }
.mock-row:last-child { border-bottom: 0; }
.mock-pill { font-size: .6875rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: var(--brand-tint); color: var(--brand-dark); }
.mock-pill.warn { background: #fdece6; color: var(--accent-dark); }

/* ── Strips and stats ────────────────────────────────────────────────────── */
.strip { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 2.5rem; padding-top: 1.5rem; display: flex; flex-wrap: wrap; gap: 2rem; }
.strip div { font-size: .875rem; color: #a9bbcb; }
.strip strong { display: block; color: #fff; font-size: 1.25rem; font-weight: 800; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
@media (max-width: 800px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.stat strong { display: block; font-size: 1.75rem; font-weight: 800; color: var(--ink); line-height: 1.1; }
.stat span { font-size: .875rem; color: var(--muted); }

/* ── Cards ───────────────────────────────────────────────────────────────── */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 950px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow);
}
.card h3 { margin-bottom: .35rem; }
.card p { color: var(--muted); font-size: .9375rem; margin-bottom: 0; }
.card ul { color: var(--muted); font-size: .9375rem; margin-bottom: 0; }
.card-link { display: inline-block; margin-top: .85rem; font-weight: 650; font-size: .9375rem; }
.card-link::after { content: " →"; }
.dark .card { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .14); box-shadow: none; }
.dark .card p, .dark .card ul { color: #a9bbcb; }

.icon {
  width: 38px; height: 38px; border-radius: 9px; margin-bottom: 14px;
  background: var(--brand-tint); color: var(--brand-dark);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: .9375rem;
}
.dark .icon { background: rgba(122, 214, 204, .16); color: #7ad6cc; }

/* ── Feature rows ────────────────────────────────────────────────────────── */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; padding: 2.25rem 0; border-top: 1px solid var(--line); }
.feature:first-of-type { border-top: 0; padding-top: 0; }
@media (max-width: 880px) { .feature { grid-template-columns: 1fr; } }
.feature h3 { font-size: 1.375rem; }
.feature .points { list-style: none; padding: 0; margin: 0; }
.feature .points li { position: relative; padding-left: 26px; color: var(--muted); font-size: .9375rem; margin-bottom: .6rem; }
.feature .points li::before {
  content: ""; position: absolute; left: 6px; top: .55em;
  width: 7px; height: 7px; border-radius: 50%; background: var(--brand);
}

/* ── Steps ───────────────────────────────────────────────────────────────── */
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 950px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step { counter-increment: s; }
.step::before {
  content: counter(s); display: flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; margin-bottom: 12px;
  border-radius: 50%; background: var(--ink); color: #fff; font-weight: 800; font-size: .875rem;
}
.dark .step::before { background: var(--brand); }
.step h3 { font-size: 1.0625rem; }
.step p { color: var(--muted); font-size: .9375rem; margin: 0; }
.dark .step p { color: #a9bbcb; }

/* ── Pricing ─────────────────────────────────────────────────────────────── */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }
@media (max-width: 950px) { .plans { grid-template-columns: 1fr; max-width: 32rem; margin: 0 auto; } }
.plan { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 26px; box-shadow: var(--shadow); }
.plan.featured { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-tint), var(--shadow); }
.plan-tag {
  display: inline-block; font-size: .6875rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase;
  color: var(--brand-dark); background: var(--brand-tint); border-radius: 999px; padding: 3px 10px; margin-bottom: 10px;
}
.price { font-size: 2rem; font-weight: 800; color: var(--ink); line-height: 1.1; }
.price span { font-size: .875rem; font-weight: 600; color: var(--muted); }
.plan ul { list-style: none; padding: 0; margin: 1.25rem 0; }
.plan li { position: relative; padding-left: 24px; font-size: .9375rem; color: var(--muted); }
.plan li::before { content: "✓"; position: absolute; left: 2px; color: var(--brand); font-weight: 800; }
.plan .btn { width: 100%; text-align: center; }

/* ── Tables ──────────────────────────────────────────────────────────────── */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
table { border-collapse: collapse; width: 100%; font-size: .9375rem; }
th, td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--surface); font-weight: 700; color: var(--ink); white-space: nowrap; }
tbody tr:last-child td { border-bottom: 0; }

/* ── FAQ ─────────────────────────────────────────────────────────────────── */
.faq { width: 100%; max-width: none; }
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary { cursor: pointer; font-weight: 650; color: var(--ink); padding: 14px 0; list-style: none; position: relative; padding-right: 32px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 12px; font-size: 1.25rem; color: var(--brand-dark); }
.faq details[open] summary::after { content: "–"; }
.faq p { color: var(--muted); font-size: .9375rem; margin: 0 0 14px; }

/* ── Forms ───────────────────────────────────────────────────────────────── */
.form { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 26px; box-shadow: var(--shadow); }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 650; font-size: .875rem; margin-bottom: 6px; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: .9375rem; color: var(--text);
  padding: 11px 13px; border: 1px solid #cfd9db; border-radius: 8px; background: #fff;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brand); outline: 3px solid var(--brand-tint); outline-offset: 0; }
.field textarea { min-height: 110px; resize: vertical; }
.field .hint { font-size: .8125rem; color: var(--muted); margin-top: 4px; }
.field .err { font-size: .8125rem; color: #b3261e; margin-top: 4px; }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #b3261e; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 620px) { .form-row { grid-template-columns: 1fr; } }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.notice { border-radius: 8px; padding: 14px 16px; font-size: .9375rem; margin-bottom: 18px; }
.notice.good { background: #e8f6f2; border: 1px solid #b9e2d8; color: #0b6f67; }
.notice.bad { background: #fdecea; border: 1px solid #f5c6c0; color: #b3261e; }

/* ── Credentials block on the demo page ──────────────────────────────────── */
.creds { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (max-width: 680px) { .creds { grid-template-columns: 1fr; } }
.cred { border: 1px solid rgba(255, 255, 255, .16); border-radius: var(--radius); padding: 16px; background: rgba(255, 255, 255, .05); }
.cred h3 { font-size: 1rem; margin-bottom: 8px; }
.cred dl { margin: 0; font-size: .875rem; }
.cred dt { color: #91a6b8; font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; margin-top: 8px; }
.cred dd { margin: 2px 0 0; color: #fff; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }

/* ── CTA band ────────────────────────────────────────────────────────────── */
.cta { background: var(--ink); color: #cfd9e2; padding: clamp(2.5rem, 5vw, 3.5rem) 0; }
.cta h2 { color: #fff; }
.cta .lead { color: #a9bbcb; }
.cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta-inner > div { max-width: 40rem; }

/* ── Footer ──────────────────────────────────────────────────────────────── */
.site-foot { background: #071220; color: #93a6b8; padding: 3rem 0 1.5rem; font-size: .9375rem; }
.site-foot a { color: #b8c8d6; }
.site-foot a:hover { color: #fff; }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 28px; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr; } }
.site-foot h4 { color: #fff; font-size: .8125rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: .9rem; }
.site-foot ul { list-style: none; padding: 0; margin: 0; }
.site-foot li { margin-bottom: .5rem; }
.site-foot .brand { color: #fff; margin-bottom: .75rem; }
.foot-bottom {
  margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid rgba(255, 255, 255, .1);
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; font-size: .8125rem;
}
.credit { color: #93a6b8; }
.credit a { font-weight: 650; }

/* Utilities */
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 1.5rem; }
.muted { color: var(--muted); }
[hidden] { display: none !important; }


/* Imagery and accessible colour treatments, shared by all public pages. */
.hero .eyebrow { color: #8ee5da; }
.hero .lead, .dark .lead, .cta .lead { color: #d0dee8; }
.hero-note, .strip div, .cred dt, .dark .card p, .dark .card ul,
.dark .step p, .dark .muted { color: #bdcfdd; }
.nav a.btn, .section.dark a.btn { color: #fff; }
.nav a.btn-accent:hover, .nav a.btn-accent:focus-visible { background: var(--accent-dark); color: #fff; }
.section.dark a.btn-outline { color: var(--ink); background: #fff; }
.section.dark a.btn-ghost { color: #fff; }
.site-foot { color: #b7c8d7; }
.site-foot a { color: #d1dfe9; }
.credit { color: #b7c8d7; }
.field input, .field select, .field textarea { border-color: #7d8d99; }
.field input::placeholder, .field textarea::placeholder { color: #5c6b7a; opacity: 1; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--brand-dark); outline-offset: 2px; }
.hero :focus-visible, .dark :focus-visible, .cta :focus-visible,
.site-foot :focus-visible { outline-color: #8ee5da; }
.hero-visual { min-width: 0; }
.hero-photo { display: block; width: 100%; aspect-ratio: 3/2; object-fit: cover; border-radius: 20px; border: 1px solid rgba(255,255,255,.2); box-shadow: 0 20px 55px rgba(0,0,0,.22); }
.hero-visual .mock { position: relative; width: 92%; margin: -38px auto 0; border: 1px solid #d7e3e2; }
.hero-visual .mock-body { padding: 12px; gap: 8px; }
.hero-visual .mock-card { padding: 9px 12px; }
.hero-grid > * { min-width: 0; }
.hero h1 { max-width: 17ch; }
.hero { background: radial-gradient(ellipse at 80% 12%, #16483f 0, transparent 55%), linear-gradient(140deg, #0c1a2b, #14293f); }
.page-intro { position: relative; isolation: isolate; background: #0c1a2b; }
.section.dark.page-intro { background: #0c1a2b; }
.page-intro::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(12,26,43,.97), rgba(12,26,43,.84)), url('../img/school-community.webp') center 46% / cover; }
.page-intro .section-head { margin-bottom: 1.5rem; }
.editorial-image { display: block; width: 100%; object-fit: cover; aspect-ratio: 16/9; border-radius: 16px; }
.editorial-figure { margin: 0 0 2rem; }
.editorial-figure figcaption { font-size: .8125rem; color: var(--muted); margin-top: .65rem; }
.contact-image { margin: 1.5rem 0 0; }
.feature-image { margin: 1.25rem 0; aspect-ratio: 2/1; }
.cred dd { overflow-wrap: anywhere; }
.mock-row { gap: 10px; }
.mock-pill { flex-shrink: 0; }
@media (max-width: 900px) {
  .hero-visual { width: 100%; max-width: 600px; margin-inline: auto; }
  .hero h1 { max-width: 22ch; }
}
@media (max-width: 560px) {
  .hero-visual .mock { width: 96%; margin-top: -20px; }
  .mock-row { flex-wrap: wrap; }
  .hero-photo { border-radius: 14px; }
  .page-intro::before { background-image: linear-gradient(rgba(12,26,43,.92), rgba(12,26,43,.92)), url('../img/school-community.webp'); }
}

/* Keep school-management illustrations fully visible at every screen size. */
.hero-visual .mock { margin-top: 16px; }
.feature-image { aspect-ratio: 3/2; }

/* Use the graduation-cap favicon for the header and footer identity. */
img.brand-mark { display: block; width: 37px; height: 37px; object-fit: contain; background: none; }

/* The hero used to be the only full-width band, which left the menu bar and every
   section below it centred at a narrower width and visibly out of line with it. The
   gutter above now applies to every .wrap, so nothing here needs to widen a container —
   only to release the reading-width caps on the headline and the intro paragraph, which
   are set narrower further up. */
.hero h1,
.hero .lead,
.page-intro .section-head {
  width: 100%;
  max-width: none;
}

/* ══ Movement ═══════════════════════════════════════════════════════════════
 *
 * Three kinds, and all three are decoration: the pages read correctly with every
 * animation switched off, with JavaScript off, and for anyone who has asked their
 * system for less motion.
 *
 *   1. the name spelling itself out, on a loop
 *   2. the hero arriving, in CSS alone — no script, so it can never flash
 *   3. everything further down arriving as it is scrolled to
 *
 * Nothing animates a property that forces layout: opacity and transform only.
 */

/* ── 1. STARTO ──────────────────────────────────────────────────────────────
 * A light runs left to right across the six letters, and each letter of the name
 * lights at the same moment as the word it stands for. The delays are classes
 * (a1…a6) rather than inline styles, because these pages carry style-src 'self'.
 */
.acronym {
  --acr-rest: #6cc3b7;
  --acr-lit: #bff7ee;
  display: flex; flex-wrap: wrap; align-items: baseline; gap: .35rem .6rem;
  margin: 0 0 1.15rem; color: #bdcfdd; font-size: 1rem;
}
.acr-name { font-weight: 800; font-size: 1.0625rem; letter-spacing: .16em; }
.acr-sep { opacity: .45; }
.acr-words { font-weight: 600; }
.acronym b { color: var(--acr-rest); font-weight: 800; }

@media (prefers-reduced-motion: no-preference) {
  .acronym b { animation: acr-wave 5.4s ease-in-out infinite; }
  .acronym .a1 { animation-delay: 0s; }
  .acronym .a2 { animation-delay: .17s; }
  .acronym .a3 { animation-delay: .34s; }
  .acronym .a4 { animation-delay: .51s; }
  .acronym .a5 { animation-delay: .68s; }
  .acronym .a6 { animation-delay: .85s; }
}
@keyframes acr-wave {
  0%, 46%, 100% { color: var(--acr-rest); text-shadow: none; }
  13%           { color: var(--acr-lit); text-shadow: 0 0 14px rgba(191, 247, 238, .45); }
}

/* Smaller, quieter, in the footer of every page. */
.site-foot .acronym { font-size: .8125rem; margin: .35rem 0 .9rem; color: #9fb3c4; }
.site-foot .acr-name { font-size: .875rem; }

/* ── 2. The hero, on load ───────────────────────────────────────────────────
 * Pure CSS with `both`, so the first painted frame is already the first frame of
 * the animation. A script cannot do this without a flash of the finished state.
 */
@media (prefers-reduced-motion: no-preference) {
  /* Scoped to the hero itself. `.hero-grid` is reused further down the home page, and
     a finished `both` animation pins opacity to 1 — which would quietly cancel the
     scroll reveal on that section without anything looking broken. */
  .hero > .hero-grid > *,
  .page-intro .section-head { animation: rise-in .75s cubic-bezier(.22, .61, .36, 1) both; }

  /* The visual arrives a beat later and then breathes, so the page is never quite still. */
  .hero > .hero-grid > *:nth-child(2) {
    animation:
      rise-in .75s cubic-bezier(.22, .61, .36, 1) .14s both,
      float-y 7.5s ease-in-out 1.2s infinite;
  }
}
@keyframes rise-in { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes float-y { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* ── 3. Sections arriving ───────────────────────────────────────────────────
 * `.reveal` is added by marketing.js, and only to blocks that are below the fold
 * when the page loads — so nothing on screen is ever hidden and then shown, and a
 * visitor with no JavaScript simply gets the finished page.
 */
.reveal {
  opacity: 0; transform: translateY(18px);
  transition: opacity .6s cubic-bezier(.22, .61, .36, 1), transform .6s cubic-bezier(.22, .61, .36, 1);
}
.reveal.is-in { opacity: 1; transform: none; }
.reveal.d2 { transition-delay: .07s; }
.reveal.d3 { transition-delay: .14s; }
.reveal.d4 { transition-delay: .21s; }
.reveal.d5 { transition-delay: .28s; }
.reveal.d6 { transition-delay: .35s; }
.reveal.d7 { transition-delay: .42s; }
.reveal.d8 { transition-delay: .49s; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal.is-in { opacity: 1; transform: none; transition: none; }
  .acronym b { color: var(--acr-lit); }
}

/* Photo tiles for the homepage's school-management modules. */
.card.module-card { padding: 0; overflow: hidden; }
.module-card-image { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; background: var(--surface); }
.module-card-body { padding: 22px; }

/* ── Feature rows ───────────────────────────────────────────────────────────
 * Text on one side, a photograph on the other, and the two swap every row so the
 * eye is led down the page in a zigzag rather than straight along one edge.
 *
 * The swap is `order`, and only at the two-column width. On a phone each row is
 * read in the order it is written — heading, explanation, list, then the picture —
 * because a photograph arriving before the heading it belongs to explains nothing.
 */
.feature { align-items: center; }
.feature-text { min-width: 0; }
.feature-text .points { margin-top: 1.1rem; }
.feature-media { min-width: 0; }
.feature-media .feature-image {
  display: block; width: 100%; height: auto; margin: 0;
  aspect-ratio: 3 / 2; object-fit: cover;
  border-radius: 16px; box-shadow: var(--shadow);
}
@media (min-width: 881px) {
  .feature:nth-of-type(even) .feature-media { order: -1; }
}

/* ── Room for the fixed bar ─────────────────────────────────────────────────
 * The header no longer takes up space in the flow, so the first band on every
 * page has to make room for it — 84px, or 72px on a small screen.
 */
.hero { padding-top: calc(84px + clamp(2.5rem, 5vw, 4rem)); }
.section.dark.page-intro { padding-top: calc(84px + clamp(2rem, 4vw, 3rem)); }
@media (max-width: 620px) {
  .hero { padding-top: calc(72px + 2rem); }
  .section.dark.page-intro { padding-top: calc(72px + 1.5rem); }
}
