/* Shared launch layout. Plain type, clear controls and consistent spacing. */
:root { --muted: #545e57; --text: #222a25; }
body { min-height: 100vh; display: flex; flex-direction: column; font-size: 16px; line-height: 1.6; }
body > main { flex: 1; }
h1, h2, h3, .brand, .eyebrow { font-family: Arial, Helvetica, sans-serif; font-style: normal; letter-spacing: normal; }
h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); overflow-wrap: anywhere; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
h3 { line-height: 1.4; }
a { text-underline-offset: 4px; }
a:hover { text-decoration: underline; }
.container { width: min(1080px, calc(100% - 48px)); }
.header-inner { min-height: 80px; gap: 24px; padding-block: 12px; }
.brand { font-size: 23px; line-height: 1.25; }
.brand:hover { text-decoration: none; }
.main-nav { display: flex; gap: 24px; font-size: 14px; }
.main-nav > a:not(:first-child):not(.nav-cta) { display: inline-flex; }
.main-nav a { align-items: center; min-height: 44px; }
.eyebrow { font-size: 12px; }
.home-hero { padding-block: clamp(48px, 7vw, 88px); background: var(--background); }
.hero-content { max-width: 1080px; }
.home-hero h1 { max-width: 760px; font-size: clamp(2.3rem, 5.4vw, 4rem); line-height: 1.12; }
.hero-copy { font-size: 18px; margin-block: 20px 26px; }
.home-note { margin: 20px 0 0; color: var(--muted); font-size: 14px; }
.button { min-height: 46px; font-size: 14px; padding: 12px 20px; text-decoration: none; }
.button:hover { text-decoration: none; }
button:disabled { cursor: not-allowed; }
.section { padding-block: 48px; }
.how-it-works h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 24px; }
.step-card { min-height: 0; padding: 24px; border-radius: 6px; }
.step-card p { font-size: 15px; }
.step-number { margin-bottom: 16px; }
.notice-section { padding-top: 0; }
.notice-box { padding: 24px; }
.page-heading { padding-block: 42px 28px; }
.page-heading h1 { max-width: 900px; font-size: clamp(2rem, 4.2vw, 3.2rem); line-height: 1.2; margin-bottom: 16px; }
.section-description { max-width: 760px; color: var(--muted); font-size: 16px; line-height: 1.7; }
.privacy-note { color: var(--muted); font-size: 14px; }
.small-print, .form-help, .policy-date { font-size: 14px; line-height: 1.6; color: var(--muted); }
.filters { display: grid; grid-template-columns: minmax(180px, 1fr) minmax(220px, 350px) auto; align-items: stretch; gap: 12px; }
.filters input, .filters #department-filter { width: 100%; min-width: 0; }
input, select, textarea { min-height: 46px; font-size: 16px; }
textarea { line-height: 1.6; }
input[type="checkbox"] { width: 18px; height: 18px; min-height: 0; accent-color: var(--primary); }
.form { max-width: 720px; gap: 24px; }
.form .field label, .form label { font-size: 15px; }
.form input:not([type="checkbox"]), .form select { width: 100%; min-width: 0; }
.form > label { font-size: 15px !important; }
.form .text-link { font-size: inherit; }
.form-grid { gap: 18px; }
.notice, .error-message { font-size: 15px; line-height: 1.6; overflow-wrap: anywhere; }
.teacher-card { grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "badge name action" "badge department action" "badge score action"; column-gap: 20px; row-gap: 6px; padding-block: 20px; }
.teacher-card h3 { font-size: 17px; line-height: 1.4; overflow-wrap: anywhere; }
.teacher-card > p:not(.small-print) { grid-area: department; font-size: 14px; line-height: 1.6; margin: 0; }
.teacher-card .small-print { display: block; grid-area: score; text-align: left; font-size: 13px; }
.teacher-card .text-link { display: inline-flex; grid-area: action; min-height: 44px; gap: 10px; font-size: 14px; }
.teacher-card .text-link span { font-size: inherit; }
.teacher-card .text-link span:last-child { font-size: 20px; }
.teacher-acronym { width: 48px; height: 48px; font-family: Arial, Helvetica, sans-serif; font-size: 13px; }
#teacher-department { text-transform: none; }
#teacher-designation { font-size: 17px; }
.text-link { font-size: 14px; }
.published-review p { font-size: 16px; }
.published-review h3 { font-size: 17px; }
.published-review h4 { font-size: 15px; }
.report-lookup { margin-top: 24px; }
summary { cursor: pointer; color: var(--primary); min-height: 44px; padding-block: 10px; font-weight: 600; }
.report-receipt { user-select: text; }
.site-footer { padding-block: 28px; }
.footer-main { padding: 0; gap: 24px; align-items: flex-start; }
.footer-main .brand { font-size: 20px; }
.footer-main .footer-note { display: block; max-width: 380px; font-size: 13px; margin-block: 10px 0; line-height: 1.6; }
.footer-links { gap: 8px 20px; font-size: 14px; padding: 0; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; }
.policy-date { margin-bottom: 30px; }
main article.section h2 { margin-top: 30px; font-size: 24px; }
main article.section .section-description { max-width: 72ch; }
:focus-visible { outline: 3px solid #315d49; outline-offset: 4px; }
@media (max-width: 760px) {
  .container { width: calc(100% - 36px); }
  .header-inner { flex-direction: column; align-items: flex-start; gap: 6px; min-height: 0; padding-block: 16px 8px; }
  .main-nav { width: 100%; justify-content: flex-start; gap: 24px; font-size: 14px; }
  .home-hero { padding-block: 44px; }
  .home-hero h1 { font-size: clamp(2.2rem, 9vw, 3rem); }
  .hero-copy { font-size: 16px; }
  .hero-actions { gap: 10px; }
  .section { padding-block: 36px; }
  .page-heading { padding-block: 32px 20px; }
  .section-description { font-size: 16px; }
  .steps-grid { grid-template-columns: 1fr; gap: 14px; }
  .step-card { padding: 20px; }
  .filters { grid-template-columns: minmax(0, 1fr); }
  .filters .button { width: 100%; }
  .teacher-card { column-gap: 12px; }
  .teacher-card h3 { font-size: 16px; }
  .teacher-card .text-link span:first-child { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .teacher-card .text-link { padding-inline: 8px; }
  .teacher-card .small-print { display: block; }
  .teacher-acronym { width: 40px; height: 40px; font-size: 11px; }
  .form-grid { grid-template-columns: 1fr; }
  .section-heading { flex-direction: column; align-items: flex-start; gap: 20px; }
  .footer-main { flex-direction: column; gap: 14px; }
  .footer-links { justify-content: flex-start; gap: 0 18px; }
  .notice-section { padding-top: 0; }
  #security-check-container { max-width: 100%; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.main-nav a { display: inline-flex; }

@media (max-width: 360px) { .container { width: calc(100% - 20px); } }
/* Theme the actual options menu, not just the closed field. */
select {
  appearance: none;
  background-color: var(--surface);
  border-color: var(--border);
  border-radius: 6px;
  color: var(--text);
  padding: 12px 40px 12px 14px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23314d40' stroke-width='1.8' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E");
  background-position: right 14px center;
  background-repeat: no-repeat;
  cursor: pointer;
  transition: border-color 120ms ease, box-shadow 120ms ease;
}
select:hover { border-color: var(--primary); }
select:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }
select:disabled { opacity: .55; cursor: not-allowed; }
@supports (appearance: base-select) {
  select, select::picker(select) { appearance: base-select; }
  select { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; background-image: none; }
  select::picker-icon { color: var(--primary); transition: transform 120ms ease; }
  select:open::picker-icon { transform: rotate(180deg); }
  select:open { border-color: var(--primary); }
  select::picker(select) {
    margin-block: 6px;
    padding: 6px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--surface);
    color: var(--text);
    box-shadow: 0 8px 24px rgb(37 40 36 / 12%);
    max-height: min(360px, 55dvh);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #a9b9ad var(--surface);
  }
  select option { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 10px 12px; border-radius: 4px; white-space: normal; overflow-wrap: anywhere; font-size: 15px; line-height: 1.5; cursor: pointer; }
  select option:hover, select option:focus { background: var(--soft); color: var(--primary); outline: none; }
  select option:checked { background: var(--primary); color: #fff; font-weight: 600; }
  select option::checkmark { order: 1; margin-inline-start: auto; }
  select option:disabled { color: var(--muted); cursor: not-allowed; }
}
/* The same menu for browsers without customizable select support. */
.themed-select { position: relative; display: block; width: 100%; min-width: 0; }
.themed-select > select.themed-select-native { position: absolute; width: 1px; height: 1px; min-height: 0; padding: 0; margin: 0; opacity: 0; pointer-events: none; clip-path: inset(50%); }
.themed-select-button { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 46px; padding: 12px 14px; border: 1px solid var(--border); border-radius: 6px; background: var(--surface); color: var(--text); font: inherit; font-size: 16px; line-height: 1.5; text-align: left; cursor: pointer; }
.themed-select-button::after { content: ''; flex-shrink: 0; width: 7px; height: 7px; margin: 0 3px 4px; border-right: 2px solid var(--primary); border-bottom: 2px solid var(--primary); transform: rotate(45deg); }
.themed-select-button[aria-expanded="true"] { border-color: var(--primary); }
.themed-select-button[aria-expanded="true"]::after { transform: rotate(225deg); margin-top: 5px; }
.themed-select-button:hover { border-color: var(--primary); }
.themed-select-button:disabled { opacity: .55; cursor: not-allowed; }
.themed-select-popup { position: fixed; z-index: 1000; margin: 0; padding: 6px; border: 1px solid var(--border); border-radius: 8px; background: var(--surface); color: var(--text); box-shadow: 0 8px 24px rgb(37 40 36 / 12%); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #a9b9ad var(--surface); }
.themed-select-option { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 44px; padding: 10px 12px; border-radius: 4px; font-size: 15px; line-height: 1.5; cursor: pointer; overflow-wrap: anywhere; }
.themed-select-option.is-active { background: var(--soft); color: var(--primary); }
.themed-select-option[aria-selected="true"] { background: var(--primary); color: #fff; font-weight: 600; }
.themed-select-option[aria-selected="true"]::after { content: '✓'; }
.themed-select-option[aria-disabled="true"] { opacity: .5; cursor: not-allowed; }
.themed-select-error { display: block; margin-top: 6px; color: #a93225; font-size: 14px; }
@media (prefers-reduced-motion: reduce) { select, select::picker-icon { transition: none; } }
@media (forced-colors: active) { select option:checked, .themed-select-option[aria-selected="true"] { background: Highlight; color: HighlightText; } }
