:root {
  color-scheme: light;
  --ink: #172b44;
  --muted: #52647a;
  --line: #d7e2ed;
  --blue: #0753aa;
  --wash: #f3f7fb;
  font-family: system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--wash);
  line-height: 1.55;
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: var(--blue); }
a:focus-visible, button:focus-visible, summary:focus-visible, :is(input,select,textarea):focus-visible {
  outline: 3px solid #1682db;
  outline-offset: 3px;
}
.wrap { width: min(1120px, calc(100% - 36px)); margin-inline: auto; }
.site-header { background: #fff; border-bottom: 1px solid var(--line); }
.nav, .nav nav, .actions, .heading, .filters {
  display: flex; align-items: center; flex-wrap: wrap; gap: 12px;
}
.nav, .heading { justify-content: space-between; }
.nav { min-height: 76px; padding-block: 10px; }
.nav a { text-decoration: none; font-weight: 650; }
.brand { display: flex; gap: 8px; align-items: center; color: var(--ink); font-size: 1.13rem; }
.brand img { object-fit: contain; }
.brand span, .eyebrow { color: var(--blue); }
main { padding-block: 34px 52px; min-height: 70vh; }
.hero {
  background: linear-gradient(125deg, #102d50, #085cb2);
  color: #fff;
  border-radius: 22px;
  padding: clamp(24px, 6vw, 68px);
  margin-bottom: 42px;
}
.hero .eyebrow { color: #d1e6ff; }
.hero h1 { font-size: clamp(2.3rem, 6vw, 4rem); letter-spacing: -.045em; }
.hero p { max-width: 60ch; }
.hero .button { background: #fff; color: #12365c; }
.hero .secondary { background: transparent; color: #fff; border-color: #b1d8ff; }
h1,h2,h3 { line-height: 1.2; overflow-wrap: anywhere; }
h1,h2 { margin: 0 0 12px; }
h3 { margin: 0 0 10px; }
.eyebrow { text-transform: uppercase; font-size: .77rem; font-weight: 750; letter-spacing: .12em; margin: 0 0 8px; }
.faq-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%, 300px),1fr)); gap: 16px; }
.card, .notice { background: #fff; padding: clamp(16px, 3vw, 28px); border: 1px solid var(--line); border-radius: 16px; }
.card { box-shadow: 0 6px 24px #213c5b0b; }
details { border-top: 1px solid var(--line); padding-block: 12px; }
summary { cursor: pointer; font-weight: 650; }
details p { margin-bottom: 0; color: var(--muted); }
.button, button {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 8px;
  border: 1px solid var(--blue);
  background: var(--blue);
  color: #fff;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}
.secondary { background: #fff; color: var(--blue); }
.form-card { max-width: 680px; margin-inline: auto; }
label { display: block; font-weight: 650; margin-block: 14px; }
input,select,textarea {
  display: block; width: 100%; margin-top: 5px; border: 1px solid #a7b9cc; border-radius: 8px;
  padding: 9px 12px; background: #fff; color: var(--ink); font: inherit;
}
textarea { min-height: 125px; resize: vertical; }
.notice { padding: 12px 16px; border-left: 4px solid var(--blue); }
.error { border-left-color: #a92c38; }
.filters { margin-block: 14px; }
.filters a { text-decoration: none; padding: 7px 12px; border-radius: 8px; }
.filters .active { background: #dcecff; font-weight: 700; }
.queue { padding-block: 0; }
.queue-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 0; text-decoration: none; overflow-wrap: anywhere; }
.queue-row + .queue-row { border-top: 1px solid var(--line); }
.queue-row:hover strong { text-decoration: underline; }
small { display: block; color: var(--muted); }
.badge { border-radius: 20px; padding: 4px 10px; font-size: .78rem; font-weight: 750; background: #dcecff; color: #164a7b; }
.badge.waiting { background: #fff0c6; color: #634700; }
.badge.closed { background: #e6edf3; color: #344b62; }
.queue + .actions { margin-top: 14px; }
.thread { max-width: 820px; overflow-wrap: anywhere; }
.message { border-top: 1px solid var(--line); padding-top: 12px; }
.message p { white-space: pre-wrap; }
.footer { padding-block: 24px; border-top: 1px solid var(--line); color: var(--muted); }
.footer span { margin-inline: 8px; }
