/* Scholarship Finder — minimal, fast, mobile-first */
:root {
  --ink: #1b2733; --muted: #5b6b7b; --line: #dbe2e8;
  --brand: #0b5fa5; --brand-ink: #ffffff; --bg: #ffffff; --bg-soft: #f4f7fa;
  --good: #0a7d3b; --warn: #9a6b00; --bad: #b3261e;
}
* { box-sizing: border-box; }
html { font-size: 16px; }
body { margin: 0; color: var(--ink); background: var(--bg);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; line-height: 1.55; }
main, header, footer { padding-inline: clamp(1rem, 4vw, 2.5rem); max-width: 62rem; margin-inline: auto; }
a { color: var(--brand); }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { position: static; display: inline-block; padding: .4rem .8rem; background: var(--brand); color: var(--brand-ink); }
.site-header { background: var(--bg-soft); border-bottom: 1px solid var(--line); padding-block: .6rem; }
.site-nav { display: flex; gap: 1rem; align-items: baseline; flex-wrap: wrap; }
.site-brand { font-weight: 700; text-decoration: none; color: var(--ink); }
.lang-switch { margin-inline-start: auto; }
.hero h1, h2 { line-height: 1.2; }
.search-form { display: grid; gap: .7rem; padding: 1rem; background: var(--bg-soft);
  border: 1px solid var(--line); border-radius: .6rem; margin-block: 1rem; }
.search-form-inline { grid-template-columns: repeat(2, 1fr); }
.field { display: grid; gap: .2rem; }
label { font-size: .85rem; color: var(--muted); }
input, select, button { font: inherit; padding: .5rem .6rem; border: 1px solid var(--line); border-radius: .4rem; background: #fff; }
button { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); cursor: pointer; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid #7db4e8; outline-offset: 2px; }
.result-list, .evidence { list-style: none; padding: 0; display: grid; gap: .6rem; }
.result-list li, .result-card { padding: .6rem .8rem; border: 1px solid var(--line); border-radius: .5rem; }
.meta { color: var(--muted); font-size: .9rem; margin: .1rem 0; }
.badge { display: inline-block; padding: .1rem .5rem; border-radius: 999px; font-size: .8rem; color: #fff; }
.badge.match { background: var(--good); } .badge.possible { background: var(--warn); }
.badge.not-eligible { background: var(--bad); }
.hidden { display: none; }
table { width: 100%; border-collapse: collapse; }
th, td { border: 1px solid var(--line); padding: .4rem .5rem; text-align: left; }
.site-footer { color: var(--muted); border-top: 1px solid var(--line); margin-top: 2rem; padding-block: 1rem; }
dl { display: grid; grid-template-columns: max-content 1fr; gap: .3rem 1rem; }
dt { color: var(--muted); }
@media (min-width: 48rem) {
  .search-form { grid-template-columns: repeat(3, 1fr); }
  .search-form button { align-self: end; }
}
