/* PatrolAir placeholder. Tokens first; dark mode redefines them below.
   Accent is a deep teal (PatrolAir); the school button uses SchoolAir green. */
:root {
  --ink: #1f2a2c;
  --body: #3f4a4c;
  --muted: #667375;
  --canvas: #ffffff;
  --surface: #f4f7f7;
  --hairline: #dde4e4;
  --accent: #0f6b73;
  --accent-active: #0b5359;
  --on-accent: #ffffff;
  --school: #2e7d32;
  --school-soft: #e8f5e8;
  --radius-card: 14px;
  --radius-pill: 999px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ink: #eef3f3;
    --body: #c9d3d3;
    --muted: #93a1a2;
    --canvas: #121718;
    --surface: #1b2223;
    --hairline: #2c3637;
    --accent: #4fb8c0;
    --accent-active: #6fcad1;
    --on-accent: #0c1415;
    --school: #66bb6a;
    --school-soft: #1d2b1e;
  }
}
:root[data-theme="dark"] {
  --ink: #eef3f3; --body: #c9d3d3; --muted: #93a1a2; --canvas: #121718;
  --surface: #1b2223; --hairline: #2c3637; --accent: #4fb8c0; --accent-active: #6fcad1;
  --on-accent: #0c1415; --school: #66bb6a; --school-soft: #1d2b1e;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: var(--body);
  background: var(--canvas);
}
a { color: var(--accent); }
h1, h2, h3 { color: var(--ink); margin: 0; }

.top, main, .foot { max-width: 64rem; margin: 0 auto; padding-left: 16px; padding-right: 16px; }

/* Header */
.top { display: flex; align-items: center; justify-content: space-between; padding-top: 20px; padding-bottom: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 20px; color: var(--ink); text-decoration: none; }
.brand-mark { width: 32px; height: 32px; }
.brand-mark circle { fill: var(--accent); }
.brand-mark path { stroke: var(--on-accent); stroke-width: 2.5; fill: none; stroke-linecap: round; }
.badge { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--accent); border: 1px solid var(--hairline); border-radius: var(--radius-pill); padding: 4px 12px; }

/* Hero */
.hero { padding: 56px 0 48px; max-width: 42rem; }
.hero h1 { font-size: clamp(32px, 6vw, 48px); line-height: 1.1; letter-spacing: -0.02em; font-weight: 700; margin-bottom: 20px; }
.lead { font-size: 18px; margin: 0 0 12px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Buttons */
.button { display: inline-block; padding: 12px 24px; border-radius: var(--radius-pill); font-weight: 600; text-decoration: none; }
.button.primary { background: var(--accent); color: var(--on-accent); }
.button.primary:hover { background: var(--accent-active); }
.button.ghost { border: 1px solid var(--hairline); color: var(--ink); }
.button.ghost:hover { background: var(--surface); }
.button.school { background: var(--school); color: #ffffff; white-space: nowrap; }
.button:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* Use cases */
.uses { padding: 32px 0; }
.uses h2, .contact h2 { font-size: 26px; font-weight: 600; letter-spacing: -0.01em; }
.section-lead { margin: 8px 0 24px; color: var(--muted); }
.cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: 1fr; }
/* Six cards: 2 or 3 per row so no row is left half empty. */
@media (min-width: 600px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card { background: var(--surface); border-radius: var(--radius-card); padding: 20px; }
.card h3 { font-size: 17px; font-weight: 600; margin-bottom: 6px; }
.card p { margin: 0; font-size: 15px; }

/* Schools band */
.schools { margin: 40px 0; padding: 28px; border-radius: var(--radius-card); background: var(--school-soft); display: flex; gap: 24px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.schools > div { max-width: 38rem; }
.schools h2 { font-size: 24px; font-weight: 600; margin-bottom: 8px; }
.schools p { margin: 0; }

.contact { padding: 8px 0 48px; }
.contact p { margin: 8px 0 0; }

.foot { border-top: 1px solid var(--hairline); padding-top: 20px; padding-bottom: 32px; font-size: 14px; color: var(--muted); }
.foot p { margin: 0; }
