:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f4f7fb;
  color: #172033;
}

* { box-sizing: border-box; }

body { margin: 0; }

main {
  width: min(960px, calc(100% - 32px));
  margin: 0 auto;
  padding: 64px 0 40px;
}

header, form, section, footer {
  background: #fff;
  border: 1px solid #dfe6ef;
  border-radius: 20px;
  box-shadow: 0 18px 48px rgba(41, 55, 82, 0.08);
  padding: 28px;
}

form, section, footer { margin-top: 20px; }

h1, h2, p { margin-top: 0; }
h1 { font-size: clamp(2rem, 6vw, 3.5rem); line-height: 1.02; letter-spacing: -0.04em; }
h2 { margin-bottom: 0; }
p { color: #536176; line-height: 1.65; }

.eyebrow {
  color: #0b75d1;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

label { display: grid; gap: 8px; margin-bottom: 18px; }
label span { font-weight: 750; }
input, textarea, button { font: inherit; }
input, textarea {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  padding: 13px 14px;
}
textarea { resize: vertical; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
input:focus, textarea:focus { outline: 3px solid rgba(11, 117, 209, 0.18); border-color: #0b75d1; }

button {
  border: 0;
  border-radius: 999px;
  background: #0b75d1;
  color: white;
  cursor: pointer;
  font-weight: 800;
  padding: 13px 20px;
}
button:hover { background: #075fa9; }

.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.section-heading .eyebrow { margin-bottom: 0; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { border-bottom: 1px solid #e6ebf2; padding: 13px 10px; text-align: left; }
th { color: #536176; font-size: 0.8rem; text-transform: uppercase; }
tr[data-allowed="true"] td:nth-child(3) { color: #147443; font-weight: 800; }
tr[data-allowed="false"] td:nth-child(3) { color: #b22929; font-weight: 800; }
.note { font-size: 0.9rem; margin: 18px 0 0; }

footer { display: flex; flex-wrap: wrap; gap: 12px 24px; }
footer a { color: #075fa9; font-weight: 750; }

@media (max-width: 640px) {
  main { padding-top: 24px; }
  header, form, section, footer { border-radius: 14px; padding: 20px; }
  .section-heading { align-items: start; flex-direction: column; }
}
