/* For universities (universities.html only). Loaded after page.css (the
   plain page, its tokens, header, section title, reveals, footer, toast)
   and fm.css (the product pages' shared pieces: section sub line, links
   and CTA, hero grid, price, contact line, proof pill, question list).
   This adds only what this page draws differently: the hero's Classroom
   card, the 2027 cards, the program cards, the Classroom feature lists,
   the price table and the sign-up forms. One plain page, as the others:
   nothing here is a lane (no study lane owns faculty work), so it is ink
   on paper, with the brand green only where fm.css already spends it
   (Free, the proof figure, ticks, the commit button). Every colour is a
   Clear token or a page.css / fm.css token. */

/* ── 1 · Hero ──────────────────────────────────────────────────────── */
.uni-hero .kicker { margin-bottom: 16px; }
.uni-hero__title { font-size: clamp(48px, 5.6vw, 72px); }
.uni-hero .prod-hero__grid { grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr); }
.price.uni-price { margin-bottom: 12px; }
.uni-terms { display: grid; row-gap: 6px; margin-bottom: 26px; }
.uni-terms li { display: flex; align-items: flex-start; gap: 8px; font-size: 16px; line-height: 22px; color: var(--muted-foreground); }
.uni-terms b { font-weight: 650; color: var(--ink); }
.uni-terms svg { flex-shrink: 0; width: 16px; height: 16px; margin-top: 3px; fill: none; stroke: var(--success); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* The contact's initials, the Q&A post's avatar at the contact line's size. */
.uni-av { display: grid; place-items: center; flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%; background: var(--bubble-q); font-size: 14px; font-weight: 650; letter-spacing: 0.02em; color: var(--ink); }
.uni-av--lg { width: 56px; height: 56px; font-size: 17px; }

/* The Classroom card: the app's chrome (logo lockup, the class), its
   section tabs with Class progress lit, then Progress by topic as the app
   draws it (topic, lessons done, practice score over "N of 28 practiced",
   below 60%). A size container: narrower than 440 px it drops Lessons
   done so the topic keeps its room. */
.cls { container-type: inline-size; width: 100%; max-width: 560px; margin-left: auto; border-radius: var(--radius-2xl); box-shadow: var(--card-shadow); overflow: hidden; }
.cls__chrome { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 46px; padding: 0 20px; border-bottom: 1px solid var(--chrome-edge); background: var(--chrome-bg); }
.cls__chrome .lockup__mark { width: 18px; }
.cls__word { font-size: 15px; font-weight: 650; letter-spacing: -0.01em; color: var(--ink); }
.cls__class { font-size: 13px; color: var(--muted-foreground); white-space: nowrap; }
.cls__class b { font-weight: 600; color: var(--card-foreground); }
.cls__body { padding: 14px 20px 18px; }
.cls__tabs { display: flex; gap: 4px; padding-bottom: 12px; border-bottom: 1px solid var(--rule); }
.cls__tabs li { display: inline-flex; align-items: center; height: 30px; padding: 0 11px; border-radius: 6px; font-size: 13.5px; font-weight: 500; color: var(--muted-foreground); white-space: nowrap; }
.cls__tabs li.is-on { background: var(--hl-bg); box-shadow: inset 0 0 0 1px var(--hl-edge); font-weight: 600; color: var(--card-foreground); }
.cls__label { margin-top: 16px; font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-foreground); }
.cls__table { margin-top: 8px; border: 1px solid var(--rule); border-radius: var(--radius-xl); overflow: hidden; }
.cls__row { display: grid; grid-template-columns: minmax(0, 1fr) 88px 116px 76px; align-items: center; column-gap: 12px; min-height: 52px; padding: 6px 14px; border-top: 1px solid var(--rule); }
.cls__row:first-child { border-top: 0; }
.cls__row > span:not(.cls__topic) { text-align: right; }
.cls__row--head { min-height: 36px; background: var(--chrome-bg); }
.cls__row--head span { font-size: 11px; line-height: 14px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; white-space: nowrap; color: var(--muted-foreground); }
.cls__topic { font-size: 14px; line-height: 19px; font-weight: 500; color: var(--card-foreground); }
.cls__row b { display: block; font-size: 15px; line-height: 20px; font-weight: 600; color: var(--card-foreground); }
.cls__row small { display: block; font-size: 12px; line-height: 16px; color: var(--muted-foreground); white-space: nowrap; }
@container (max-width: 439px) {
  .cls__chrome { height: 40px; padding: 0 14px; }
  .cls__body { padding: 12px 14px 14px; }
  .cls__tabs li { padding: 0 9px; font-size: 13px; }
  .cls__lessons { display: none; }
  .cls__row { grid-template-columns: minmax(0, 1fr) 104px 50px; column-gap: 10px; padding: 6px 12px; }
  .cls__row--head span { white-space: normal; }
  .cls__row > span:last-child small { display: none; }
}
/* The proof pill sits on the card's bottom-left corner, as on the FM page. */
.uni-hero .prod-hero__card { align-items: flex-end; }

/* ── 2 · Ready for 2027 ────────────────────────────────────────────── */
.need { padding-top: var(--rhythm); }
.need__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 52px; }
.need__card { display: flex; flex-direction: column; padding: 28px 30px 26px; border-radius: var(--radius-2xl); border: 1px solid var(--edge); background: var(--paper); box-shadow: var(--lift-1); }
.need__ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--page); box-shadow: inset 0 0 0 1px var(--art-edge); color: var(--ink); }
.need__ic svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.need__ic .fill { fill: currentColor; stroke: none; }
.need__title { margin-top: 20px; font-size: 24px; line-height: 1.15; font-weight: 700; letter-spacing: -0.025em; color: var(--ink); }
.need__copy { margin-top: 10px; max-width: 36em; font-size: 16.5px; line-height: 1.55; color: var(--muted-foreground); text-wrap: pretty; }
.need__stat { margin-top: 14px; font-size: 64px; line-height: 0.95; font-weight: 700; letter-spacing: -0.05em; color: var(--primary-text); }
.need__card--stat .need__copy { margin-top: 8px; }
/* The dated fact: a neutral pill, pushed to the card's foot so the four
   line up across a row. */
.need__when { align-self: flex-start; display: inline-flex; align-items: center; min-height: 30px; margin-top: auto; padding: 4px 12px; border-radius: 999px; border: 1px solid var(--border); font-size: 13.5px; line-height: 18px; font-weight: 600; color: var(--card-foreground); }
.need__card .need__copy { margin-bottom: 20px; }

/* ── 3 · Four programs ─────────────────────────────────────────────── */
.progs { padding-top: var(--rhythm); }
.progs__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 16px; row-gap: 16px; margin-top: 52px; }
/* Each card spans five rows of the grid and shares them (subgrid), so the
   names, lists, prices and buttons line up across a row of cards. */
.prog { display: grid; grid-row: span 5; grid-template-rows: subgrid; row-gap: 0; min-width: 0; padding: 24px 22px 22px; border-radius: var(--radius-2xl); border: 1px solid var(--edge); background: var(--paper); box-shadow: var(--lift-1); }
.prog__name { font-size: 21px; line-height: 1.2; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); }
.prog__for { margin-top: 6px; font-size: 15.5px; line-height: 1.45; color: var(--muted-foreground); }
.prog__list { display: grid; align-content: start; row-gap: 9px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--hair-soft); }
.prog__list li { position: relative; padding-left: 24px; font-size: 15px; line-height: 1.45; color: var(--foreground); text-wrap: pretty; }
.prog__list li::before, .feats4__list li::before { content: ""; position: absolute; left: 0; top: 3px; width: 16px; height: 16px; background: var(--success);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 8.5l3 3 6-7'/%3E%3C/svg%3E") center / 16px 16px no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 8.5l3 3 6-7'/%3E%3C/svg%3E") center / 16px 16px no-repeat; }
@media (forced-colors: active) { .prog__list li::before, .feats4__list li::before { background: CanvasText; } }
.prog__price { align-self: start; padding-top: 22px; }
.prog__price strong { display: block; font-size: 30px; line-height: 1.1; font-weight: 700; letter-spacing: -0.03em; color: var(--ink); }
.prog__price strong.is-free { color: var(--primary-text); }
.prog__price span { display: block; margin-top: 4px; font-size: 14.5px; line-height: 20px; color: var(--muted-foreground); }
.prog__cta { align-self: end; margin-top: 18px; width: 100%; background: var(--paper); border-color: var(--border-strong); }
.prog__cta:hover { background: var(--nav-hover) !important; }

/* The student-to-instructor line: one quiet strip on the page. */
.share { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 28px; margin-top: 20px; padding: 14px 18px 14px 24px; border-radius: var(--radius-2xl); border: 1px solid var(--edge); background: var(--paper); }
.share__text { flex: 1 1 26em; font-size: 16.5px; line-height: 1.5; color: var(--muted-foreground); }
.share__text b { font-weight: 650; color: var(--ink); }
.clubs { margin-top: 40px; }
.clubs__h { font-size: 13px; line-height: 16px; font-weight: 650; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted-foreground); }
.clubs__list { margin-top: 12px; max-width: 62em; font-size: 16px; line-height: 1.75; color: var(--card-foreground); text-wrap: pretty; }

/* ── 4 · What TIA Classroom does ───────────────────────────────────── */
.cls-feats { padding-top: var(--rhythm); }
.feats4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 36px; row-gap: 40px; margin-top: 52px; }
.feats4__h { padding-bottom: 14px; border-bottom: 1px solid var(--border); font-size: 19px; line-height: 24px; font-weight: 700; letter-spacing: -0.014em; color: var(--ink); }
.feats4__list { display: grid; row-gap: 11px; margin-top: 16px; }
.feats4__list li { position: relative; padding-left: 24px; font-size: 15.5px; line-height: 1.45; color: var(--foreground); text-wrap: pretty; }
/* The one scheduled item, said as such: a neutral badge, then the line. */
.kit { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 48px; padding: 18px 24px; border-radius: var(--radius-2xl); border: 1px dashed var(--border-strong); }
.kit__badge { flex-shrink: 0; font-size: 12.5px; color: var(--card-foreground); border-color: var(--border-strong); background: var(--paper); }
.kit__text { flex: 1 1 28em; font-size: 16.5px; line-height: 1.5; color: var(--muted-foreground); }
.kit__text b { font-weight: 650; color: var(--ink); }

/* ── 5 · Student prices ────────────────────────────────────────────── */
.prices { padding-top: var(--rhythm); }
.prices__card { max-width: 860px; margin-top: 44px; border-radius: var(--radius-2xl); border: 1px solid var(--edge); background: var(--paper); box-shadow: var(--lift-1); overflow: hidden; }
.prices__table { width: 100%; border-collapse: collapse; }
.prices__table th, .prices__table td { padding: 14px 24px; border-top: 1px solid var(--hair-soft); text-align: right; vertical-align: top; }
.prices__table thead th { white-space: nowrap; border-top: 0; padding-top: 16px; padding-bottom: 12px; font-size: 12.5px; line-height: 16px; font-weight: 650; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-foreground); }
.prices__table thead th:first-child, .prices__table tbody th { text-align: left; }
.prices__table tbody th { font-size: 16.5px; line-height: 22px; font-weight: 600; color: var(--ink); }
.prices__table tbody th small { display: block; margin-top: 2px; font-size: 14px; line-height: 19px; font-weight: 400; color: var(--muted-foreground); }
.prices__table td { width: 9.5em; font-size: 17px; line-height: 22px; color: var(--muted-foreground); white-space: nowrap; }
.prices__table td:last-child { font-weight: 650; color: var(--ink); }
.prices__table td.is-free { font-weight: 650; color: var(--primary-text); }
.prices__foot { margin-top: 16px; }

/* ── 7 · Get started ───────────────────────────────────────────────── */
.start { padding-top: var(--rhythm); }
.start__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 620px); column-gap: 64px; align-items: start; }
.start__head { position: sticky; top: 96px; }
.lee { margin-top: 36px; max-width: 26em; }
.lee__top { display: flex; align-items: center; gap: 14px; }
.lee__name { font-size: 17px; line-height: 22px; font-weight: 650; color: var(--ink); }
.lee__name span { display: block; margin-top: 2px; font-size: 14.5px; line-height: 20px; font-weight: 400; color: var(--muted-foreground); }
.lee__bio { margin-top: 16px; font-size: 16px; line-height: 1.55; color: var(--muted-foreground); text-wrap: pretty; }
.lee__call { margin-top: 6px; }

/* The form card: four tabs as a two-by-two segmented choice, then the
   chosen form. Without JS the tabs stay hidden and every form shows under
   its own heading. */
.forms { padding: 8px 28px 30px; border-radius: var(--radius-2xl); border: 1px solid var(--edge); background: var(--paper); box-shadow: var(--lift-1); }
.tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; margin: 12px -12px 4px; padding: 4px; border-radius: var(--radius-xl); background: var(--page); box-shadow: inset 0 0 0 1px var(--edge); }
.tabs[hidden] { display: none; }
.tab { min-height: 44px; padding: 8px 12px; border: 0; border-radius: 9px; background: transparent; font: 600 14.5px/20px var(--font-sans); color: var(--card-foreground); cursor: pointer; transition: background-color 150ms ease, box-shadow 150ms ease; -webkit-tap-highlight-color: transparent; }
@media (hover: hover) { .tab:hover { background: var(--nav-hover); } }
.tab[aria-selected="true"] { background: var(--paper); box-shadow: 0 0 0 1px var(--border-strong), 0 1px 2px rgb(var(--shade) / calc(0.08 * var(--shade-k))); }
.tab:focus-visible { outline: 2px solid var(--ring); outline-offset: 2px; }
.panel { padding-top: 22px; }
.panel[hidden] { display: none; }
.forms:not(.is-tabbed) .panel + .panel { margin-top: 28px; border-top: 1px solid var(--hair-soft); padding-top: 28px; }
.panel__h { font-size: 22px; line-height: 1.2; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); }
.forms.is-tabbed .panel__h { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.panel__lede { margin-top: 6px; font-size: 16px; line-height: 1.5; color: var(--muted-foreground); }
.forms.is-tabbed .panel__lede { margin-top: 0; }
.form { display: grid; row-gap: 18px; margin-top: 22px; }
.field { display: grid; row-gap: 7px; }
.field__label { font-size: 14.5px; line-height: 20px; font-weight: 600; color: var(--ink); }
.field__input { box-sizing: border-box; width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid var(--input-border); border-radius: var(--radius-lg); background: var(--field-bg); color: var(--card-foreground); font: 16px/24px var(--font-sans); }
.field__input:focus { outline: 2px solid var(--ring); outline-offset: 1px; border-color: var(--ring); }
.field__select { appearance: none; padding-right: 42px; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted-foreground) 50%), linear-gradient(135deg, var(--muted-foreground) 50%, transparent 50%);
  background-position: calc(100% - 20px) 21px, calc(100% - 15px) 21px; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; }
.field__hint { font-size: 13.5px; line-height: 18px; color: var(--muted-foreground); }
.field__input[aria-invalid="true"] { border-color: var(--danger); }
.field__error { display: flex; align-items: flex-start; gap: 6px; font-size: 14px; line-height: 19px; font-weight: 500; color: var(--danger); }
/* The program choice: three radio rows, the picked one in selection ink. */
.choices { display: grid; row-gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.choices legend { margin-bottom: 7px; padding: 0; }
.choice { display: flex; align-items: flex-start; gap: 12px; padding: 12px 14px; border-radius: var(--radius-xl); border: 1px solid var(--border); background: var(--field-bg); cursor: pointer; transition: border-color 150ms ease; }
.choice:has(input:checked) { border-color: var(--selection); box-shadow: 0 0 0 1px var(--selection); }
@media (hover: hover) { .choice:hover { border-color: var(--border-strong); } .choice:has(input:checked):hover { border-color: var(--selection); } }
.choice input { flex-shrink: 0; width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--selection-solid); cursor: pointer; }
.choice input:focus-visible { outline: 2px solid var(--ring); outline-offset: 2px; }
.choice__body { display: grid; row-gap: 1px; }
.choice__body b { font-size: 15.5px; line-height: 21px; font-weight: 600; color: var(--ink); }
.choice__body span { font-size: 14px; line-height: 19px; color: var(--muted-foreground); }
.form__send { justify-self: start; min-width: 200px; margin-top: 4px; }

/* ── Responsive ────────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .progs__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feats4 { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; }
  .start__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 560px); column-gap: 48px; }
}
@media (max-width: 980px) {
  .uni-hero .prod-hero__grid { grid-template-columns: minmax(0, 1fr); }
  .uni-hero .prod-hero__card { align-items: flex-start; }
  .cls { max-width: 600px; margin-left: 0; }
}
@media (max-width: 860px) {
  .need__grid { grid-template-columns: minmax(0, 1fr); }
  .start__grid { grid-template-columns: minmax(0, 1fr); row-gap: 40px; }
  .start__head { position: static; }
  .lee { max-width: 36em; }
}
@media (max-width: 768px) {
  .need__grid, .progs__grid, .feats4 { margin-top: 40px; }
  .need__title { font-size: 22px; }
  .need__stat { font-size: 56px; }
  .prices__card { margin-top: 36px; }
}
@media (max-width: 600px) {
  .uni-hero__title { font-size: 46px; }
  .uni-hero .kicker { margin-bottom: 12px; }
  /* The pill's "on SOA preliminary exams, at our targets" line (Lee,
     2026-11-02) is wider than a phone; let it wrap here. */
  .uni-hero .proof__cond { white-space: normal; }
  .need__card { padding: 22px 20px 20px; }
  .need__copy { font-size: 16px; }
  .progs__grid, .feats4 { grid-template-columns: minmax(0, 1fr); }
  .feats4 { row-gap: 32px; }
  .prog { padding: 22px 20px 20px; }
  .share { padding: 14px 18px; }
  .share .prod-link { padding-left: 0; }
  .kit { padding: 16px 18px; }
  /* Each row stacks: the course across the top, its two prices under it,
     each named (the column headers stay for screen readers; the explicit
     table roles keep the semantics through the display change). */
  .prices__table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .prices__table tbody, .prices__table tr { display: block; }
  .prices__table tr { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; padding: 14px 18px 16px; border-top: 1px solid var(--hair-soft); }
  .prices__table tbody tr:first-child { border-top: 0; }
  .prices__table th, .prices__table td { padding: 0; border-top: 0; }
  .prices__table tbody th { grid-column: 1 / -1; font-size: 16px; line-height: 22px; }
  .prices__table tbody th small { font-size: 13.5px; line-height: 19px; }
  .prices__table td { width: auto; margin-top: 10px; text-align: left; font-size: 16px; }
  .prices__table td::before { content: attr(data-label); display: block; margin-bottom: 2px; font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted-foreground); }
  .forms { padding: 4px 16px 24px; }
  .tabs { margin: 12px -8px 4px; }
  .tab { font-size: 14px; padding: 8px 8px; }
  .form__send { justify-self: stretch; width: 100%; }
}
