/* Minimal, mobile-friendly — no frameworks */
:root {
  --bg: #f6f8fb;
  --surface: #ffffff;
  --text: #1a2332;
  --muted: #5a6577;
  --border: #d8dee8;
  --accent: #0b6bcb;
  --accent-hover: #084a8c;
  --warn-bg: #fff6e5;
  --warn-border: #e8c56a;
  --radius: 10px;
  --shadow: 0 1px 3px rgba(16, 24, 40, 0.08);
  --max: 960px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu, Cantarell, "Noto Sans", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: #fff;
  padding: 0.5rem 1rem;
  z-index: 100;
}

.skip-link:focus {
  left: 0.5rem;
  top: 0.5rem;
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 0 1.75rem;
}

.disclosure {
  background: var(--warn-bg);
  border: 1px solid var(--warn-border);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  margin: 0 0 1.25rem;
  font-size: 0.95rem;
}

h1 {
  font-size: clamp(1.45rem, 4vw, 2rem);
  line-height: 1.25;
  margin: 0 0 0.75rem;
}

h2 {
  font-size: clamp(1.2rem, 3vw, 1.45rem);
  margin: 0 0 0.75rem;
}

h3 {
  font-size: 1.05rem;
  margin: 0 0 0.5rem;
}

.lead {
  margin: 0;
  color: var(--muted);
  max-width: 42rem;
}

.note {
  color: var(--muted);
  font-size: 0.95rem;
}

main {
  padding: 1.75rem 0 2.5rem;
}

.table-wrap {
  overflow-x: auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin: 1rem 0 2rem;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
  font-size: 0.92rem;
}

th,
td {
  padding: 0.75rem 0.85rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--border);
}

thead th {
  background: #eef3f9;
  font-weight: 600;
  white-space: nowrap;
}

tbody th {
  font-weight: 600;
}

tbody tr:last-child th,
tbody tr:last-child td {
  border-bottom: none;
}

.cta {
  display: inline-block;
  background: var(--accent);
  color: #fff !important;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.88rem;
  padding: 0.55rem 0.85rem;
  border-radius: 8px;
  white-space: nowrap;
}

.cta:hover,
.cta:focus-visible {
  background: var(--accent-hover);
  outline: 2px solid var(--accent-hover);
  outline-offset: 2px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin: 1rem 0 2rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.1rem 1.15rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.card ul {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--muted);
  flex: 1;
}

.card .cta {
  align-self: flex-start;
  margin-top: 0.35rem;
}

.howto {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.15rem 1.25rem;
  box-shadow: var(--shadow);
}

.howto ol {
  margin: 0.5rem 0 1rem;
  padding-left: 1.25rem;
}

.site-footer {
  background: #152033;
  color: #d5dce8;
  padding: 1.75rem 0 2.25rem;
  font-size: 0.92rem;
}

.footer-title {
  color: #fff;
  font-size: 1.05rem;
}

.site-footer p {
  margin: 0.5rem 0;
  max-width: 48rem;
}

.fineprint {
  color: #9aa8bd;
  font-size: 0.85rem;
}

@media (max-width: 560px) {
  .cta {
    white-space: normal;
  }
}
