/* IBM Plex Sans, self-hosted so visitors' browsers never contact a font service (license: fonts/OFL.txt). */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/plex-sans-400.woff2') format('woff2');
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/plex-sans-600.woff2') format('woff2');
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/plex-sans-700.woff2') format('woff2');
}

/* Colors are built around SchoolVision's logo blue (--brand). Every text pairing below meets
   WCAG AA (4.5:1 or better); ratios are noted where they are closest to the line. */
:root {
  --brand: #376278; /* SchoolVision logo blue; white text on it is 6.6:1 */
  --brand-dark: #2b4e60; /* hover and pressed states */
  --brand-tint: #e6eef2; /* light fills behind brand-colored text (5.6:1) */
  --ink: #16303d; /* headings and the darkest surfaces */
  --text: #33454f;
  --muted: #5a6d78; /* 5.0:1 on --bg */
  --line: #d8e1e7;
  --bg: #f3f6f8;
  --surface: #ffffff;
  --warn-bg: #fff3d6;
  --warn: #7a4a00;
  --font: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.65 var(--font);
}
a {
  color: var(--brand);
}
a:hover {
  color: var(--brand-dark);
}
:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 2px;
  border-radius: 3px;
}
header,
main,
footer {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 16px;
}
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 24px;
  padding-bottom: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 700;
  font-size: 18px;
  text-decoration: none;
}
.brand span {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 7px;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
}
nav a {
  margin-left: 16px;
  font-size: 15px;
  color: var(--muted);
  text-decoration: none;
}
nav a:hover {
  color: var(--ink);
}
main {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 32px clamp(16px, 5vw, 48px) 40px;
}
h1,
h2,
h3 {
  color: var(--ink);
  text-wrap: balance;
}
h1 {
  font-size: clamp(26px, 5vw, 34px);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 8px;
}
h2 {
  font-size: 20px;
  font-weight: 600;
  margin: 32px 0 8px;
}
h3 {
  font-size: 16px;
  font-weight: 600;
  margin: 20px 0 4px;
}
.lede {
  font-size: 18px;
  color: var(--text);
}
.meta {
  color: var(--muted);
  font-size: 14px;
}
.draft {
  background: var(--warn-bg);
  color: var(--warn);
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 14px;
  margin-bottom: 24px;
}
.todo {
  background: var(--warn-bg);
  color: var(--warn);
  padding: 0 4px;
  border-radius: 3px;
}
ul {
  padding-left: 22px;
}
li {
  margin: 4px 0;
}
footer {
  padding-top: 20px;
  padding-bottom: 40px;
  color: var(--muted);
  font-size: 14px;
}
footer a {
  color: var(--muted);
  margin-right: 14px;
}
footer .notice {
  margin: 0 0 12px;
  max-width: 640px;
}
footer .notice a {
  margin-right: 0;
}
/* Marks a feature that switches on at launch. */
.soon {
  display: inline-block;
  vertical-align: middle;
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 5px;
  background: var(--brand-tint);
  color: var(--brand);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.button {
  display: inline-block;
  background: var(--brand);
  color: #fff;
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
}
.button:hover {
  background: var(--brand-dark);
  color: #fff;
}
.button.secondary {
  background: var(--surface);
  color: var(--brand);
  border: 1px solid var(--brand);
  padding: 9px 17px;
}
.button.secondary:hover {
  background: var(--brand-tint);
  color: var(--brand-dark);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

/* Home page: wider layout, sections instead of one card. */
.home header,
.home footer,
.home section {
  max-width: 1080px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}
.home nav a.cta {
  color: var(--brand);
  font-weight: 600;
}
.home section {
  padding-top: 40px;
  padding-bottom: 40px;
}
.hero {
  text-align: center;
}
.hero h1 {
  font-size: clamp(30px, 6vw, 46px);
}
.hero .lede {
  max-width: 640px;
  margin: 12px auto 20px;
}
figure {
  margin: 0;
}
figure img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 12px 32px rgba(22, 48, 61, 0.12);
}
.hero figure {
  margin-top: 32px;
}
figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
}
.home .band {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 32px clamp(16px, 4vw, 40px);
  margin-top: 24px;
  margin-bottom: 24px;
}
.band h2,
.feature h2 {
  margin-top: 0;
}
.cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 8px 32px;
}
.feature {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 32px;
  align-items: center;
}
.steps li {
  margin: 8px 0;
}
.home .faq {
  max-width: 760px;
}
.pilot {
  text-align: center;
}
@media (max-width: 760px) {
  .feature {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .home nav a:not(.cta) {
    display: none;
  }
}
