/* VOLAR, the page for flight schools (schools.html).
   Loads AFTER landing.css and adds only what this page has that "/" does
   not: five renders of the real app inside device frames, the section
   leads that carry them, the "Also included" grid and the closing demo ask.
   Every colour is a landing.css token; the two shadows are the handoff's.
   Rebuilt 2026-09-15 from design_handoff_for_schools: one argument in five
   beats, and every product screen is a hand-built render, never a photo. */

/* ── Tokens this page adds ────────────────────────────────────────────
   Tints of the landing's own olive, and the one wash the app's active nav
   item carries, so no row, chip or highlight is a literal. */

:root {
  --olive-wash: rgba(99, 121, 90, 0.16);
  --olive-wash-lit: rgba(99, 121, 90, 0.18);
  --olive-edge-soft: rgba(99, 121, 90, 0.4);
  --ui-active: rgba(198, 203, 208, 0.06);
  --device-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.9), 0 0 0 1px var(--rule);
  --base-shadow: 0 14px 30px -12px rgba(0, 0, 0, 0.8);
}

/* ── Section shell ─────────────────────────────────────────────────── */

.sband { padding: 140px 0 0; }
.sband__ruled { padding-top: 56px; border-top: 1px solid var(--rule-faint); }
.slead { max-width: 720px; display: flex; flex-direction: column; }
.seyebrow { font: 400 12px var(--mono); letter-spacing: 0.18em; color: var(--olive-text); margin-bottom: 22px; }
.seyebrow--warn { color: var(--amber-text); }
.slead h2, .shero__copy h1, .scta h2 { margin: 0; font-weight: 600; text-wrap: pretty; }
.slead h2 { font-size: clamp(30px, 3.4vw, 44px); line-height: 1.08; letter-spacing: -0.02em; }
.slead h2.sh2--sm { font-size: clamp(26px, 2.8vw, 36px); line-height: 1.1; }
.slead p { margin: 20px 0 0; font-size: 17px; line-height: 1.6; color: var(--body); max-width: 52ch; }
.slead p.slead__p--sm { margin-top: 18px; font-size: 16px; max-width: 50ch; }
/* The fix: the heading on the left and the paragraph on the right, both
   sitting on the same baseline. */
.slead--two { max-width: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 48px; align-items: end; }
.slead--two > div { display: flex; flex-direction: column; }
.slead--two p { margin: 0; max-width: 48ch; }

/* ── Hero ───────────────────────────────────────────────────────────── */

.shero { border-top: 0; padding: calc(84px + 96px) 0 0; }
.shero__copy { max-width: 880px; display: flex; flex-direction: column; }
.shero__copy .seyebrow { margin-bottom: 28px; animation: vl-rise 760ms var(--reveal) both; }
.shero__copy h1 {
  font-size: clamp(38px, 5.6vw, 72px); line-height: 1.02; letter-spacing: -0.025em; max-width: 20ch;
  animation: vl-rise 760ms var(--reveal) both;
}
.shero__copy p {
  margin: 24px 0 0; font-size: clamp(17px, 1.5vw, 21px); line-height: 1.5; color: var(--body); max-width: 56ch;
  animation: vl-rise 760ms var(--reveal) 120ms both;
}
.shero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 40px; animation: vl-rise 760ms var(--reveal) 240ms both; }
/* Page-level buttons on this page are the handoff's: 10px corners and a
   fuller pad than the nav's. The nav keeps landing.css's own. */
.shero__actions .btn, .scta__actions .btn { border-radius: 10px; padding: 15px 28px; font-size: 15px; }
.shero__actions .btn--ghost { padding: 15px 22px; font-weight: 500; color: var(--body); }
.shero__actions .btn--ghost:hover { color: var(--ink); }

/* ── Device frames ──────────────────────────────────────────────────
   A laptop (12px bezel, 8px screen, a base strip) or an iPad (18px bezel,
   18px screen, a camera dot). The screen is a .frame__box; a render sits in
   it as .frame__ui. Two screens keep a ratio and clip their last row on
   purpose (Knowledge gaps, Question trends); the others are as tall as
   what they hold, because a transcript or a board is long. */
.frame { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.device { position: relative; margin: 56px auto 0; width: 100%; max-width: 1120px; }
.device--laptop { max-width: 1180px; }
.device--hero { margin-top: 72px; }
.device__glow {
  position: absolute; left: 50%; top: -60px; transform: translateX(-50%); width: 80%; height: 220px;
  background: radial-gradient(60% 100% at 50% 0%, rgba(99, 121, 90, 0.22), transparent 70%);
  filter: blur(24px); pointer-events: none;
}
.device__bezel { position: relative; border: 12px solid var(--panel); border-radius: 18px; background: var(--panel); box-shadow: var(--device-shadow); }
.device--pad .device__bezel { border-width: 18px; border-radius: 34px; background: var(--rule-faint); border-color: var(--rule-faint); }
.device--pad .device__bezel::before {
  content: ""; position: absolute; top: -11px; left: 50%; transform: translateX(-50%);
  width: 6px; height: 6px; border-radius: 50%; background: var(--edge);
}
.device__base {
  width: 64%; max-width: 760px; height: 12px; margin: 0 auto;
  background: linear-gradient(var(--inset), var(--panel)); border-radius: 0 0 10px 10px; box-shadow: var(--base-shadow);
}
.device .frame__cap { margin-top: 0; }
.frame__box { position: relative; overflow: hidden; border-radius: 8px; background: var(--paper); width: 100%; }
.device--pad .frame__box { border-radius: 18px; }
.frame__ui { display: flex; flex-direction: column; overflow: hidden; }
/* A ratio AND a min-height need an explicit width, or the ratio sizes the
   box from the min-height and the page scrolls sideways. */
.frame__box--ratio { aspect-ratio: 16 / 10; min-height: 420px; width: 100%; }
.frame__box--ratio.frame__box--tall { aspect-ratio: 16 / 11; min-height: 460px; }
.frame__box--ratio .frame__ui { position: absolute; inset: 0; }
.frame__cap { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; font-size: 12.5px; color: var(--muted); }
.frame__cap span:last-child { margin-left: auto; font: 400 11px var(--mono); letter-spacing: 0.1em; color: var(--dim); }
/* The data renders say what they are, in the same voice as the label. */
.frame__cap--mono span:first-child { font: 400 11.5px var(--mono); letter-spacing: 0.02em; color: var(--muted); }

/* ── The app shell, at render scale ─────────────────────────────────
   The app's own header bar, its promise chip, its buttons and tables, at
   the size a 1120px device shows them. */
.ui { font-family: var(--sans); color: var(--ink); font-size: 13px; line-height: 1.45; }
.ui--nav { flex-direction: row; }
.ui__main { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
.ui__nav {
  flex: 0 0 190px; border-right: 1px solid var(--rule-faint); background: var(--paper-darkest);
  padding: 20px 0; display: flex; flex-direction: column; gap: 22px;
}
.ui__powered { padding: 0 18px; display: flex; flex-direction: column; gap: 8px; }
.ui__powered span { font-size: 12px; color: var(--dim); }
.ui__powered img { height: 24px; width: auto; }
.ui__navgroup { display: flex; flex-direction: column; }
.ui__navcap { font: 400 9.5px var(--mono); letter-spacing: 0.14em; color: var(--dim); padding: 0 18px 8px; }
.ui__navitem { padding: 9px 18px; font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.ui__navitem.on { font-weight: 600; color: var(--ink); background: var(--ui-active); border-left: 2px solid var(--olive-text); padding-left: 16px; }
.ui__count { padding: 1px 6px; border-radius: 2px; background: var(--amber); color: var(--paper); font-size: 10px; font-weight: 600; }
.ui__head {
  padding: 20px 26px; border-bottom: 1px solid var(--rule-faint); background: var(--paper);
  display: flex; align-items: flex-start; gap: 16px; flex: none;
}
.ui__headcopy { min-width: 0; }
.ui__eyebrow { display: block; font: 400 10px var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); }
.ui__h1 { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; color: var(--ink); margin-top: 4px; }
.ui__h1--sm { font-size: 20px; margin-top: 0; }
.ui__sub { font-size: 13px; color: var(--muted); margin-top: 4px; }
.ui__right { margin-left: auto; flex: none; display: flex; align-items: center; justify-content: flex-end; gap: 8px; flex-wrap: wrap; }
.ui__chip {
  display: inline-flex; align-items: center; padding: 8px 12px; border: 1px solid var(--rule); border-radius: 2px;
  font: 400 10px var(--mono); letter-spacing: 0.1em; color: var(--body); white-space: nowrap;
}
.ui__chip--panel { background: var(--panel); color: var(--ink); font-size: 10.5px; letter-spacing: 0.08em; }
.ui__stage { font: 400 11px var(--mono); letter-spacing: 0.1em; color: var(--muted); }
.promise {
  display: inline-flex; align-items: center; padding: 7px 11px; border: 1px solid var(--rule); border-radius: 2px;
  font: 400 9.5px var(--mono); letter-spacing: 0.09em; text-transform: uppercase; color: var(--muted); white-space: nowrap;
}
.ui__btn {
  display: inline-flex; align-items: center; padding: 7px 11px; border: 1px solid var(--rule); border-radius: 2px;
  background: none; color: var(--body); font-size: 12px; white-space: nowrap;
}
.ui__btn--primary { background: var(--ink); color: var(--paper); border-color: var(--ink); font-weight: 600; padding: 8px 12px; }
.ui__btn--lg { padding: 9px 16px; font-size: 12.5px; }
.ui__btn--olive { border-color: var(--olive-border); color: var(--olive-text); font-weight: 600; padding: 7px 12px; }
.ui__body { padding: 20px 26px; display: flex; flex-direction: column; gap: 18px; flex: 1 1 auto; min-height: 0; }
/* Nothing inside a render body shrinks to fit: the frame clips instead. */
.ui__body > * { flex: none; }
.ui__mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.ui__composer { padding: 16px 26px 20px; border-top: 1px solid var(--rule-faint); }
.ui__composer span, .ask__input {
  display: block; border: 1px solid var(--rule); border-radius: 2px; background: var(--paper-darkest);
  padding: 13px 16px; font-size: 13.5px; color: var(--dim);
}
.ui__composer--flush { padding: 8px 0 0; border-top: 0; margin-top: 0; }
.ui__composer--flush span { font-size: 13px; }

/* The hero's conversation */
.chat { gap: 18px; }
.chat__you, .turn--you {
  align-self: flex-end; max-width: 70%; background: var(--panel); border: 1px solid var(--rule-faint);
  border-radius: 2px; padding: 12px 16px; font-size: 14px; line-height: 1.5;
}
.chat__ai { border-left: 2px solid var(--olive); padding-left: 16px; display: flex; flex-direction: column; gap: 10px; }
.chat__ai p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--ink); }
.chat__ai b { font-weight: 600; }
.chat__ai .chat__note { font-size: 13px; line-height: 1.55; color: var(--muted); }
.chat__src { display: flex; align-items: center; gap: 14px; font-size: 12.5px; color: var(--muted); }
.refuse {
  border: 1px solid var(--rule); border-radius: 2px; background: var(--panel-deep);
  padding: 14px 16px; display: flex; flex-direction: column; gap: 9px;
}
.refuse__mark { font: 400 10.5px var(--mono); letter-spacing: 0.12em; color: var(--amber-text); }
.refuse p { margin: 0; font-size: 13.5px; line-height: 1.55; color: var(--body); }
.refuse__logged { font-size: 12.5px; color: var(--olive-text); }

/* Coverage card, Knowledge gaps */
.cover {
  border: 1px solid var(--olive-border); border-radius: 2px;
  background: linear-gradient(135deg, rgba(99, 121, 90, 0.14), transparent);
  padding: 16px 20px; display: flex; gap: 22px; align-items: center;
}
.cover__fig { display: flex; flex-direction: column; gap: 6px; flex: none; }
.cover__fig b { font: 500 30px var(--mono); line-height: 1; color: var(--olive-text); font-variant-numeric: tabular-nums; }
.cover__fig span { font-size: 11.5px; font-weight: 600; color: var(--muted); }
.cover__right { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 9px; }
.cover__track { height: 7px; border-radius: 999px; background: var(--panel); overflow: hidden; }
.cover__track > i { display: block; height: 100%; background: var(--olive); border-radius: 999px; }
.cover__line { font-size: 12.5px; color: var(--body); }
.cover__line b { color: var(--ink); font-weight: 600; }

.segs { display: inline-flex; align-items: center; gap: 6px; padding: 3px; border: 1px solid var(--rule-faint); border-radius: 999px; align-self: flex-start; }
.segs span { padding: 6px 14px; border-radius: 999px; font-size: 12.5px; color: var(--muted); }
.segs span.on { background: var(--olive-wash-lit); color: var(--olive-text); font-weight: 600; }

/* The gaps table and its folder tree */
.ui__table { width: 100%; border-collapse: collapse; border: 1px solid var(--rule-faint); border-radius: 2px; }
.ui__table th {
  text-align: left; padding: 11px 16px; font-size: 11.5px; font-weight: 400; color: var(--muted);
  border-bottom: 1px solid var(--rule-faint); white-space: nowrap;
}
.ui__table td { padding: 12px 16px; font-size: 13px; border-bottom: 1px solid var(--rule-faint); vertical-align: middle; }
.ui__table tr:last-child td { border-bottom: 0; }
.ui__table th.r, .ui__table td.r { text-align: right; width: 1%; white-space: nowrap; }
.ui__table td.r { font-size: 12px; color: var(--body); }
.ui__table td.r.meta { font-size: 11.5px; color: var(--muted); }
.tree-area td { background: var(--panel-deep); }
.tree-head { display: flex; align-items: center; gap: 10px; min-height: 20px; }
.tree-icon {
  width: 20px; height: 20px; border-radius: 2px; background: var(--olive-wash-lit);
  display: inline-grid; place-items: center; font-size: 10px; color: var(--olive-text); flex: none;
}
.tree-name { font-size: 13px; font-weight: 600; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tree-count { margin-left: auto; font-size: 11.5px; color: var(--muted); white-space: nowrap; }
.tree-doc td { padding: 11px 16px 11px 40px; }
.tree-doc .tree-name { font-size: 12.5px; font-weight: 500; color: var(--body); }
.tree-q td:first-child { padding-left: 56px; }
.q { display: flex; align-items: center; gap: 9px; min-width: 0; }
.dot { width: 6px; height: 6px; border-radius: 50%; flex: none; }
.dot--hi { background: var(--amber-text); }
.dot--mid { background: var(--amber); }
.dot--lo { background: var(--dim); }
.q__text { font-weight: 600; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.badge { flex: none; padding: 2px 7px; border-radius: 2px; font-size: 10.5px; font-weight: 600; white-space: nowrap; }
.badge--doc { background: var(--olive-wash-lit); color: var(--olive-text); }

/* Question trends */
.filters { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.pill { padding: 6px 12px; border-radius: 2px; border: 1px solid var(--rule); font-size: 12px; color: var(--muted); }
.pill.on { border-color: var(--olive-border); background: var(--olive-wash-lit); color: var(--olive-text); font-weight: 600; }
.kpis {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 20px;
  padding: 16px 20px; border: 1px solid var(--rule-faint); border-radius: 2px; background: var(--panel-deep);
}
.kpi { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.kpi__label { font-size: 11.5px; color: var(--muted); white-space: nowrap; }
.kpi__value { font: 500 26px var(--mono); line-height: 1.05; color: var(--ink); font-variant-numeric: tabular-nums; }
.kpi__value--text { font: 400 15px var(--mono); line-height: 1.3; color: var(--body); padding-top: 4px; }
.kpi__value--warn { color: var(--amber-text); }
.sumcard {
  display: flex; align-items: center; gap: 16px; padding: 14px 18px;
  border: 1px solid var(--rule-faint); border-radius: 2px; background: var(--panel-deep);
}
.sumcard > div { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.sumcard b { font-size: 13px; font-weight: 600; color: var(--ink); }
.sumcard span:not(.ui__btn) { font-size: 12px; color: var(--muted); }
.sumcard .ui__btn { margin-left: auto; }
.chart { flex: 1 1 auto !important; min-height: 120px; border: 1px solid var(--rule-faint); border-radius: 2px; padding: 16px 18px; display: flex; flex-direction: column; gap: 10px; }
.chart__label { font-size: 12.5px; color: var(--muted); }
.chart__plot { flex: 1 1 auto; min-height: 80px; }
.chart__plot svg { width: 100%; height: 100%; display: block; }
.chart__axis { display: flex; justify-content: space-between; font: 400 10.5px var(--mono); color: var(--dim); }

/* Briefing simulator */
.metar { padding: 12px 26px; border-bottom: 1px solid var(--rule-faint); display: flex; align-items: center; gap: 14px; flex-wrap: wrap; font-family: var(--mono); }
.metar span:first-child { font-size: 10.5px; letter-spacing: 0.1em; color: var(--dim); }
.metar span:last-child { font-size: 12.5px; color: var(--body); }
.brief { flex: 1 1 auto; min-height: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.brief__chat { padding: 20px 24px; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.turn { padding-left: 14px; border-left: 2px solid var(--olive); }
.turn p { margin: 0; font-size: 13.5px; line-height: 1.6; color: var(--ink); }
.turn--coach { border-left-color: var(--amber); }
.turn--coach span { display: block; font: 400 10px var(--mono); letter-spacing: 0.12em; color: var(--amber-text); }
.turn--coach p { margin-top: 8px; color: var(--body); }
.brief .turn--you { max-width: 82%; padding: 11px 14px; font-size: 13.5px; line-height: 1.55; }
.tracker { border-left: 1px solid var(--rule-faint); padding: 20px 24px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.tracker__tabs { display: flex; gap: 20px; font-size: 12.5px; padding-bottom: 10px; border-bottom: 1px solid var(--rule-faint); }
.tracker__tabs span { color: var(--muted); }
.tracker__tabs span.on { font-weight: 600; color: var(--ink); border-bottom: 2px solid var(--olive-text); padding-bottom: 9px; margin-bottom: -11px; }
.trow {
  display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--panel);
  font: 400 11px var(--mono); letter-spacing: 0.06em;
}
.trow--last { border-bottom: 0; }
.trow span:first-child { color: var(--muted); }
.trow span:last-child { color: var(--ink); }
.trow .trow__warn { color: var(--amber-text); }
.tracker__prog { margin-top: 8px; display: flex; flex-direction: column; gap: 8px; }
.tracker__prog > div:first-child { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); }
.tracker__track { height: 5px; border-radius: 999px; background: var(--panel); overflow: hidden; }
.tracker__track > i { display: block; height: 100%; background: var(--olive); border-radius: 999px; }
.stages { margin-top: 18px; display: flex; flex-direction: column; gap: 2px; }
.stage { display: flex; align-items: center; gap: 10px; padding: 11px 0; border-top: 1px solid var(--panel); font-size: 13px; color: var(--muted); }
.stage--done { color: var(--body); }
.stage--now { color: var(--ink); font-weight: 600; }
.stage__dot { width: 18px; height: 18px; border-radius: 50%; border: 1px solid var(--rule); flex: none; display: grid; place-items: center; font-size: 10px; line-height: 1; }
.stage--done .stage__dot { border-color: var(--olive-border); background: var(--olive-wash-lit); color: var(--olive-text); }
.stage--now .stage__dot { border-color: var(--amber); color: var(--amber-text); font-size: 9px; }
.stage__tag { margin-left: auto; font: 400 10.5px var(--mono); letter-spacing: 0.08em; color: var(--olive-text); }
.stage--now .stage__tag { color: var(--amber-text); }

/* Community: the "Ask the school" board */
.comm { display: grid; grid-template-columns: 210px 1fr; align-items: stretch; }
.comm__side { border-right: 1px solid var(--rule-faint); background: var(--paper-darkest); padding: 16px 0; display: flex; flex-direction: column; min-width: 0; }
.comm__title { padding: 0 16px 14px; display: flex; align-items: center; gap: 10px; }
.comm__title span:first-child { font-size: 16px; font-weight: 600; letter-spacing: -0.015em; color: var(--ink); }
.comm__plus { margin-left: auto; display: grid; place-items: center; width: 22px; height: 22px; border: 1px solid var(--rule); border-radius: 2px; color: var(--body); font-size: 14px; line-height: 1; }
.comm__chan { padding: 8px 16px; font-size: 13px; color: var(--body); }
.comm__chan.on { background: var(--panel); border-left: 2px solid var(--olive); padding-left: 14px; font-weight: 600; color: var(--ink); }
.comm__cap { padding: 14px 16px 6px; font-size: 11.5px; font-weight: 600; color: var(--muted); }
.comm__item { padding: 7px 16px; font-size: 12.5px; color: var(--body); }
.comm__main { min-width: 0; display: flex; flex-direction: column; }
.ui__head--plain { align-items: center; }
.ask { border: 1px solid var(--rule-faint); border-radius: 2px; background: var(--panel-deep); padding: 16px 18px; display: flex; flex-direction: column; gap: 12px; }
.ask b, .ask__yours { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.ask__input { padding: 12px 14px; font-size: 13px; }
.ask__row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.ask__row > span:last-child { font-size: 11.5px; color: var(--muted); }
.askq { border: 1px solid var(--rule-faint); border-radius: 2px; padding: 14px 16px; display: flex; flex-direction: column; gap: 9px; }
.askq + .askq { margin-top: -6px; }
.askq__meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 11px; color: var(--muted); }
.askq__status { padding: 3px 9px; border: 1px solid var(--olive-border); border-radius: 999px; background: var(--olive-wash-lit); color: var(--olive-text); font-weight: 600; }
.askq__q { font-size: 14px; font-weight: 600; color: var(--ink); }
.askq__a { border-left: 2px solid var(--olive-border); padding-left: 12px; display: flex; flex-direction: column; gap: 4px; }
.askq__a span:first-child { font-size: 11.5px; font-weight: 600; color: var(--olive-text); }
.askq__a span:last-child { font-size: 13px; color: var(--body); }

/* ── Also included ──────────────────────────────────────────────────── */

/* Twelve cells. The column count is always a divisor of twelve (4, 3, 2,
   1), so the last row is full at every width and there is never a run of
   empty cells at the end. The lines are the cells' own borders rather than
   a painted container, so a short row could not show as a bar either. */
.incl {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 44px; border-top: 1px solid var(--rule-faint); border-left: 1px solid var(--rule-faint);
}
.incl__cell {
  display: flex; align-items: center; gap: 12px; padding: 20px 22px; background: var(--paper); min-width: 0;
  border-right: 1px solid var(--rule-faint); border-bottom: 1px solid var(--rule-faint);
}
@media (max-width: 960px) { .incl { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .incl { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 400px) { .incl { grid-template-columns: minmax(0, 1fr); } }
.incl__glyph { font: 400 15px var(--mono); color: var(--olive-text); width: 18px; text-align: center; flex: none; }
.incl__cell > span:last-child { font-size: 15px; font-weight: 500; color: var(--ink); }

/* ── The demo ask ───────────────────────────────────────────────────── */

.scta { padding: 150px 0 160px; }
.scta__copy { max-width: 720px; display: flex; flex-direction: column; }
.scta h2 { font-size: clamp(30px, 3.8vw, 52px); line-height: 1.05; letter-spacing: -0.025em; }
.scta p { margin: 20px 0 0; font-size: 17px; line-height: 1.6; color: var(--body); max-width: 48ch; }
.scta__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 36px; }
.scta__note { font-size: 14px; color: var(--dim); }
.scta__note a { color: var(--olive-text); }
.scta__note a:hover { color: var(--ink); }

/* ── Responsive ─────────────────────────────────────────────────────
   The grids collapse on their own. What needs a hand at phone width: the
   render sidebars go (a 190px rail in a 330px screen leaves nothing for the
   page), the ratio frames grow to their content, the last table column
   hides, and the bezels thin so the screen keeps its width. */

@media (max-width: 1080px) {
  .shero { padding: calc(84px + 64px) 0 0; }
  .sband { padding-top: 110px; }
  .scta { padding: 120px 0 130px; }
}

@media (max-width: 720px) {
  .ui__nav { display: none; }
  .comm { grid-template-columns: 1fr; }
  .comm__side { border-right: 0; border-bottom: 1px solid var(--rule-faint); flex-direction: row; flex-wrap: wrap; align-items: center; gap: 2px 6px; padding: 12px 10px; }
  .comm__title { width: 100%; padding: 0 6px 8px; }
  .comm__cap { width: 100%; padding: 8px 6px 2px; }
  .comm__chan, .comm__item { padding: 6px 10px; }
  .tracker { border-left: 0; border-top: 1px solid var(--rule-faint); }
}

@media (max-width: 600px), (pointer: coarse) and (max-height: 500px) {
  .shero { padding: 48px 0 0; }
  .shero__copy h1 { font-size: clamp(34px, 10vw, 44px); }
  .shero__actions .btn, .scta__actions .btn { width: 100%; }
  .sband { padding-top: 88px; }
  .scta { padding: 96px 0 110px; }
  .device { margin-top: 40px; }
  .device--hero { margin-top: 48px; }
  .device__bezel { border-width: 6px; border-radius: 12px; }
  .device--pad .device__bezel { border-width: 8px; border-radius: 18px; }
  .device--pad .device__bezel::before { top: -6px; width: 4px; height: 4px; }
  .frame__box, .device--pad .frame__box { border-radius: 6px; }
  .frame__box--ratio, .frame__box--ratio.frame__box--tall { aspect-ratio: auto; min-height: 0; }
  .frame__box--ratio .frame__ui { position: static; }
  .ui__head, .ui__body, .ui__composer { padding-left: 16px; padding-right: 16px; }
  .ui__head { flex-wrap: wrap; }
  .ui__right { margin-left: 0; }
  .ui__h1 { font-size: 19px; }
  .chat__you, .brief .turn--you { max-width: 88%; }
  /* A 330px screen has room for the questions and nothing beside them: the
     figure columns go, the badge wraps under its question, the promise chip
     wraps, and the tab group wraps as whole pills. */
  .ui__table th, .ui__table td { padding-left: 12px; padding-right: 12px; }
  .ui__table th.r, .ui__table td.r { display: none; }
  .tree-doc td { padding-left: 24px; }
  .tree-q td:first-child { padding-left: 28px; }
  .q { flex-wrap: wrap; gap: 6px 9px; }
  .q__text { white-space: normal; flex: 1 1 0; min-width: 0; }
  .promise { white-space: normal; }
  .segs { flex-wrap: wrap; border-radius: 16px; }
  .segs span { white-space: nowrap; }
  .brief__chat, .tracker { padding: 16px; }
  .metar { padding: 10px 16px; }
}
