/* VECTORETICO hosted pages: the single stylesheet (§11). No external assets, no scripts. */
:root {
  --ink: #1b1f24;
  --muted: #4a5360;
  --paper: #ffffff;
  --surface: #f4f6f8;
  --line: #c9d0d8;
  --accent: #1d4ed8;
  --accent-ink: #ffffff;
  --danger: #b42318;
  --success: #116b3a;
  --warning-bg: #fff4d6;
  --focus: #f5b700;
  --radius: 6px;
  --max: 42rem;
  color-scheme: light;
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: var(--paper);
  padding: 0.5rem 1rem;
  z-index: 10;
}
.skip:focus {
  left: 1rem;
}

header.site {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--line);
}
.brand {
  font-weight: 700;
  letter-spacing: 0.04em;
}
header.site nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.5rem 1rem 4rem;
}
main.wide,
body.wide main {
  max-width: 64rem;
}
main:focus {
  outline: none;
}

h1 {
  font-size: 1.75rem;
  line-height: 1.25;
  margin: 0.5rem 0 1rem;
}
h2 {
  font-size: 1.3rem;
  margin: 2rem 0 0.75rem;
}
h3 {
  font-size: 1.1rem;
  margin: 1.5rem 0 0.5rem;
}
p,
ul,
ol,
dl {
  margin: 0 0 1rem;
}

a {
  color: var(--accent);
  text-underline-offset: 0.15em;
}
a:hover {
  text-decoration-thickness: 2px;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

.banner-test {
  background: var(--danger);
  color: #ffffff;
  font-weight: 700;
  text-align: center;
  padding: 0.6rem 1rem;
}

.legal-pending {
  font-size: 0.85rem;
  color: var(--muted);
  border-left: 4px solid var(--line);
  padding-left: 0.75rem;
}

.lead {
  font-size: 1.15rem;
}
.muted {
  color: var(--muted);
}

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
  margin: 0 0 1rem;
  background: var(--paper);
}
.card > :last-child {
  margin-bottom: 0;
}

.notice {
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  margin: 0 0 1rem;
  border-left: 6px solid var(--accent);
  background: var(--surface);
}
.notice-success {
  border-left-color: var(--success);
}
.notice-warning {
  border-left-color: #8a5a00;
  background: var(--warning-bg);
}

.error-summary {
  border: 3px solid var(--danger);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  margin: 0 0 1.5rem;
}
.error-summary h2 {
  margin-top: 0;
  font-size: 1.1rem;
}
.error-summary a {
  color: var(--danger);
  font-weight: 600;
}

form {
  margin: 0 0 1.5rem;
}
form.inline {
  display: inline-block;
  margin: 0 0.5rem 0.5rem 0;
}

.field {
  margin: 0 0 1.25rem;
  border: 0;
  padding: 0;
  min-width: 0;
}
.field-error {
  border-left: 4px solid var(--danger);
  padding-left: 0.75rem;
}
label,
legend {
  display: block;
  font-weight: 600;
  margin-bottom: 0.25rem;
}
.optional {
  font-weight: 400;
  color: var(--muted);
}
.hint {
  color: var(--muted);
  margin: 0 0 0.4rem;
  font-weight: 400;
}
.error {
  color: var(--danger);
  font-weight: 600;
  margin: 0 0 0.4rem;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="date"],
select,
textarea {
  display: block;
  width: 100%;
  font: inherit;
  color: inherit;
  background: var(--paper);
  padding: 0.6rem 0.7rem;
  border: 2px solid var(--muted);
  border-radius: var(--radius);
  min-height: 2.75rem;
}
input[readonly] {
  background: var(--surface);
}
input[type="file"] {
  font: inherit;
  max-width: 100%;
}
textarea {
  resize: vertical;
}

.choice {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  margin: 0.4rem 0;
}
.choice input {
  width: 1.4rem;
  height: 1.4rem;
  margin: 0.15rem 0 0;
  flex: none;
}
.choice label {
  font-weight: 400;
  margin: 0;
}

.button {
  display: inline-block;
  font: inherit;
  font-weight: 600;
  min-height: 2.75rem;
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
}
.button-primary {
  background: var(--accent);
  color: var(--accent-ink);
}
.button-secondary {
  background: var(--paper);
  color: var(--accent);
  border-color: var(--accent);
}
.button-danger {
  background: var(--danger);
  color: #ffffff;
}
a.button {
  line-height: 1.5;
}

.secret {
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 1.35rem;
  letter-spacing: 0.06em;
  background: var(--surface);
  border: 1px dashed var(--muted);
  border-radius: var(--radius);
  padding: 0.5rem 0.75rem;
  display: inline-block;
}

.qr svg {
  width: 12rem;
  height: 12rem;
  max-width: 100%;
}

dl.facts {
  display: grid;
  grid-template-columns: minmax(8rem, max-content) 1fr;
  gap: 0.35rem 1rem;
}
dl.facts dt {
  font-weight: 600;
}
dl.facts dd {
  margin: 0;
}

.table-wrap {
  overflow-x: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  margin: 0 0 1rem;
}
th,
td {
  text-align: left;
  border-bottom: 1px solid var(--line);
  padding: 0.5rem;
  vertical-align: top;
}

.tag {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.05rem 0.5rem;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
}
.tag-overdue {
  background: var(--danger);
  color: #ffffff;
  border-color: var(--danger);
}

.message {
  border-left: 4px solid var(--line);
  padding: 0.25rem 0 0.25rem 0.75rem;
  margin: 0 0 1rem;
}
.message-handler {
  border-left-color: var(--accent);
}
.message .meta {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0;
}
.message .body {
  white-space: pre-wrap;
  margin: 0.25rem 0 0;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

@media (max-width: 30rem) {
  h1 {
    font-size: 1.5rem;
  }
  dl.facts {
    grid-template-columns: 1fr;
  }
  dl.facts dd {
    margin-bottom: 0.5rem;
  }
}

body.print header.site,
body.print .no-print {
  display: none;
}

@media print {
  header.site,
  .no-print,
  .skip {
    display: none;
  }
  body {
    font-size: 12pt;
  }
  a {
    color: inherit;
  }
}
