/* National Access help page (NA-1132). The portal's light palette (apps/ui/theme.light.js):
   square corners, neutral surfaces, primary blue, ink for headings. */

:root {
  --background: #fafafa;
  --surface: #ffffff;
  --surface-muted: #f5f5f5;
  --border: #e5e5e5;
  --text: #171717;
  --text-muted: #525252;
  --ink: #1d3557;
  --primary: #2962ff;
  --primary-hover: #1e4fd6;
  --warning-surface: #fff8e6;
  --warning-border: #f5c451;
  --gutter: 16px;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--background);
  color: var(--text);
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--primary);
  text-underline-offset: 2px;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px var(--gutter);
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}

.topbar-link {
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}

.page {
  flex: 1;
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding: 40px var(--gutter) 56px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

h1 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: clamp(28px, 6vw, 40px);
  line-height: 1.15;
}

h2 {
  margin: 0 0 6px;
  color: var(--ink);
  font-size: 17px;
}

.lead {
  margin: 0 0 24px;
  color: var(--text-muted);
  font-size: 18px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 20px;
  border: 1px solid transparent;
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

.button-primary {
  background: var(--primary);
  color: #ffffff;
}

.button-primary:hover:not(:disabled) {
  background: var(--primary-hover);
}

.button-primary:disabled {
  opacity: 0.55;
  cursor: default;
}

.button-secondary {
  background: var(--surface);
  border-color: var(--border);
  color: var(--text);
}

.button-secondary:hover {
  background: var(--surface-muted);
}

.status {
  min-height: 1.5em;
  margin: 12px 0 0;
  color: var(--text-muted);
  font-size: 14px;
}

.notes {
  display: grid;
  gap: 16px;
  margin-top: 40px;
}

.note {
  padding: 16px 18px;
  background: var(--surface);
  border: 1px solid var(--border);
}

.note p {
  margin: 0;
  color: var(--text-muted);
}

.note-warning {
  background: var(--warning-surface);
  border-color: var(--warning-border);
}

.contact {
  margin-top: 40px;
}

.contact ul {
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.contact li {
  padding: 6px 0;
}

.fine {
  margin: 16px 0 0;
  color: var(--text-muted);
  font-size: 14px;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding: 16px var(--gutter);
  border-top: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-muted);
  font-size: 14px;
}

@media (min-width: 720px) {
  .notes {
    grid-template-columns: 1fr 1fr;
  }
}
