/* Legible copy for students and supervisors. Loaded after responsive styles so
   small-screen rules cannot dim the text or shrink instructions back to 6px. */
:root {
  --text: #f5f7f0;
  --muted: #c4cfbc;
  --dim: #aaba9e;
  --line: rgba(220, 239, 214, .22);
}

/* The logo asset has real transparency; avoid the white-matte workaround. */
.school-brand img {
  filter: none;
  mix-blend-mode: normal;
}

/* Real instructions and secondary labels share a high-contrast neutral tone.
   The paper illustration keeps its own dark ink on a light surface. */
:is(.hero-description, .hero-trust, .section-description, .feature-text p,
    .privacy-strip div > span, .workflow-step > p, .download-copy > p:not(.section-kicker, .install-note),
    .install-note, .checksum, .workbench-heading p:not(.section-kicker), .back-home,
    .panel-description, .dropzone > span:not(.upload-orbit), .dropzone small,
    .selected-file > div > span, .upload-footer, .sidebar-label, .sidebar-help p,
    .sidebar-download, .progress-filename, .progress-tip, .result-meta,
    .result-heading p:not(.section-kicker), .download-results p, .issues-heading p,
    .pagination, .result-bottom, .evidence-source, .dialog-summary) {
  color: #c4cfbc;
}

:is(.section-kicker, .eyebrow, .eyebrow-number, .card-number, .privacy-tag,
    .download-meta, .sidebar-rule, .sidebar-help h3, .panel-eyebrow,
    .issue-row-main > span, .evidence-grid strong) {
  color: #c9dbb9;
}

.muted-heading { color: #c4cfbc; }
.hero-description { font-size: 16px; font-weight: 400; }
.eyebrow { font-size: 12px; flex-wrap: wrap; row-gap: 8px; }
.eyebrow-number { font-size: 12px; letter-spacing: .5px; }
.hero-trust { font-size: 12px; flex-wrap: wrap; }
.hero-actions .text-link { font-size: 13px; color: #d8e3ce; }
.section .section-kicker, .workbench-heading .section-kicker {
  font-size: 12px;
  letter-spacing: 1px;
}
.section-description { font-size: 14px; }
.feature-card .card-number { font-size: 12px; letter-spacing: 1px; }
.feature-text p { font-size: 14px; line-height: 1.9; }
.feature-text h3 { font-size: 20px; }
.privacy-strip strong { font-size: 14px; }
.privacy-strip div > span { font-size: 13px; line-height: 1.9; }
.privacy-tag { font-size: 11px; letter-spacing: 1px; }
.workflow-step > p { font-size: 14px; }
.workflow-step { padding-right: 10px; }
.download-copy > p:not(.section-kicker, .install-note) { font-size: 14px; }
.download-meta { font-size: 12px; flex-wrap: wrap; }
.install-note { font-size: 12px; }
.checksum, .checksum code { font-size: 12px; }
.main-nav { color: #d5dfcc; }
.floating-note .note-label { color: #c4cfbc; font-size: 10px; }
.floating-note strong { font-size: 12px; }
.note-two .note-label { color: #403453; }
.ticker span { color: #b9c9a8; }

.workbench-heading p:not(.section-kicker) { font-size: 14px; max-width: 720px; }
.workbench-heading h1 > span { margin-left: .3em; }
.back-home, .sidebar-label, .sidebar-rule, .sidebar-download { font-size: 12px; }
.journey strong { font-size: 14px; }
.journey small { font-size: 11px; }
.journey > li { color: #a8b99b; }
.journey > li.active { color: #f1f6e9; }
.sidebar-help h3 { font-size: 13px; }
.sidebar-help p { font-size: 12px; }
.upload-panel .panel-eyebrow, .progress-panel .panel-eyebrow { font-size: 11px; letter-spacing: 1px; }
.panel-description { font-size: 14px; }
.dropzone > span:not(.upload-orbit) { font-size: 14px; }
.dropzone small { font-size: 12px; letter-spacing: .3px; }
.selected-file strong { font-size: 14px; }
.selected-file > div > span, .upload-footer { font-size: 12px; }
.notice { font-size: 13px; }
.progress-panel > p:not(.progress-tip), .progress-tip { font-size: 13px; }
.progress-filename { font-size: 12px; }
.progress-stages { font-size: 12px; color: #a8b99b; flex-wrap: wrap; }
.progress-stages > span.done { color: #d5e6c3; }
.progress-center > span + span { color: #c9dbb9; font-size: 9px; letter-spacing: 1px; }
.failed-panel > p:not(.section-kicker) { font-size: 14px; }
.result-heading p:not(.section-kicker), .result-meta { font-size: 12px; }
.text-button, .result-heading .text-button { font-size: 12px; }
.stat-card span { color: #d4dfcb; font-size: 12px; }
.download-results p { font-size: 13px; }
.result-download-buttons > div > .button { font-size: 12px; }
.issues-heading p { font-size: 12px; }
.small-tag { font-size: 11px; color: #d4e5c3; }
.search-field input, .filter-select select { font-size: 13px; }
.search-field input::placeholder { color: #b2c1a5; }
.filter-select select { color: #d8e6cb; }
.issue-row-main > strong { font-size: 13px; }
.issue-row-main > span, .issue-row-main b { font-size: 11px; }
.issue-row-main b { color: #d1e4bd; }
.status-badge { font-size: 11px; }
.pagination, .pagination button { font-size: 12px; }
.result-bottom, .result-bottom > .text-button { font-size: 12px; }
.empty-results { font-size: 13px; }
.finding-evidence summary, .dialog-summary, .dialog-suggestion { font-size: 13px; }
.dialog-suggestion strong, .evidence-grid strong { font-size: 12px; }
.evidence-grid pre, .evidence-source { font-size: 12px; }
.toast { font-size: 13px; }
.footer-center { font-size: 14px; color: #f1f6e9; }
.footer-center > span + span { color: #c4cfbc; font-size: 12px; letter-spacing: 0; }
.footer-note { color: #c4cfbc; font-size: 11px; }
.footer-note > span + span { letter-spacing: .3px; }
.footer-brand > span { color: #c4cfbc; font-size: 9px; }

@media (max-width: 1150px) {
  .download-results { flex-wrap: wrap; }
  .result-download-buttons { flex: 1; }
  .footer-note { max-width: 230px; }
}

@media (max-width: 900px) {
  .site-footer { flex-wrap: wrap; }
  .footer-note { max-width: none; }
  .download-meta { gap: 8px; }
  .download-meta > span + span:before { padding-right: 8px; }
  .sidebar-rule { font-size: 11px; }
  .sidebar-download { flex-wrap: wrap; }
  .sidebar-help p { font-size: 12px; }
}

@media (max-width: 650px) {
  .eyebrow-number { display: inline; margin-left: 0; flex-basis: 100%; padding-left: 13px; }
  .hero-description { font-size: 14px; }
  .hero-description br { display: none; }
  .hero-actions { gap: 17px; }
  .hero-actions .button { font-size: 13px; }
  .hero-trust { gap: 7px; font-size: 11px; }
  .workbench-heading h1 > span { margin-left: 0; }
  .workbench-heading p:not(.section-kicker) { font-size: 13px; }
  .journey strong { font-size: 12px; }
  .journey > li { gap: 6px; }
  .journey > li > span { width: 23px; height: 23px; }
  .journey { gap: 7px; }
  .submit-button { font-size: 13px; }
  .upload-footer { font-size: 11px; flex-wrap: wrap; text-align: center; }
  .result-download-buttons > div > .button { padding-left: 9px; padding-right: 9px; }
  .issue-row { flex-wrap: wrap; }
  .issue-row-main { flex-basis: calc(100% - 18px); }
  .issue-row .status-badge { margin-left: 13px; }
  .pagination { flex-wrap: wrap; }
  .issues-heading p { max-width: none; }
  .footer-center { grid-column: 1 / -1; text-align: left; }
  .footer-note { flex-wrap: wrap; font-size: 11px; }
  .closing h2 { font-size: clamp(24px, 6.8vw, 32px); }
}
