:root {
  --hx-bg: #f8fafc;
  --hx-surface: #ffffff;
  --hx-ink: #0f172a;
  --hx-text: #1e293b;
  --hx-muted: #475569;
  --hx-border: #e2e8f0;
  --hx-blue: #2563eb;
  --hx-blue-soft: #dbeafe;
  --hx-warning: #b45309;
  --hx-warning-soft: #fef3c7;
  --hx-radius: 12px;
  --hx-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

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

body {
  margin: 0;
  min-height: 100dvh;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Inter, Arial, sans-serif;
  color: var(--hx-ink);
  background: var(--hx-bg);
}

.trust-header,
.trust-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 16px 24px;
  background: var(--hx-surface);
  border-bottom: 1px solid var(--hx-border);
}

.trust-footer {
  border-top: 1px solid var(--hx-border);
  border-bottom: 0;
  color: var(--hx-muted);
  font-size: 13px;
}

.brand-wordmark {
  display: inline-flex;
  align-items: baseline;
  color: var(--hx-ink);
  font-size: 22px;
  font-weight: 760;
  letter-spacing: 0;
  text-decoration: none;
  white-space: nowrap;
}

.brand-wordmark__writer {
  color: var(--hx-blue);
}

.brand-wordmark:hover {
  text-decoration: none;
}

.trust-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  align-items: center;
  justify-content: flex-end;
}

a {
  color: var(--hx-blue);
  text-decoration: none;
  font-weight: 650;
}

a:hover {
  text-decoration: underline;
}

.trust-nav a {
  border-radius: 8px;
  color: var(--hx-blue);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  padding: 8px 9px;
  text-decoration: none;
  white-space: nowrap;
}

.trust-nav a:hover {
  background: rgba(37, 99, 235, 0.08);
  text-decoration: none;
}

.trust-nav a[aria-current="page"] {
  background: var(--hx-blue-soft);
  color: #1d4ed8;
}

.trust-shell {
  width: min(1040px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 28px 0;
  display: grid;
  gap: 18px;
}

.trust-card {
  background: var(--hx-surface);
  border: 1px solid var(--hx-border);
  border-radius: var(--hx-radius);
  box-shadow: var(--hx-shadow);
  padding: 22px;
}

.trust-card h1,
.trust-card h2,
.trust-card h3 {
  margin: 0 0 10px;
  line-height: 1.2;
}

.trust-card h1 {
  font-size: clamp(28px, 4vw, 42px);
}

.trust-card h2 {
  margin-top: 24px;
  font-size: 20px;
}

.trust-card h3 {
  margin-top: 18px;
  font-size: 16px;
}

.trust-card p,
.trust-card li {
  color: var(--hx-text);
  line-height: 1.58;
}

.trust-card p {
  margin: 0 0 12px;
}

.trust-card ul,
.trust-card ol {
  margin: 8px 0 16px;
  padding-left: 22px;
}

.trust-eyebrow {
  display: inline-flex;
  width: fit-content;
  min-height: 28px;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.1);
  color: var(--hx-blue);
  font-size: 12px;
  font-weight: 750;
  margin-bottom: 12px;
}

.draft-note {
  border: 1px solid rgba(180, 83, 9, 0.24);
  background: var(--hx-warning-soft);
  color: #713f12;
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 14px;
  line-height: 1.5;
}

.resource-grid,
.summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
}

.resource-card,
.summary-card {
  border: 1px solid var(--hx-border);
  border-radius: 10px;
  background: #fff;
  padding: 14px;
}

.resource-card strong,
.summary-card strong {
  display: block;
  margin-bottom: 6px;
}

.resource-card span,
.summary-card span {
  display: block;
  color: var(--hx-muted);
  font-size: 14px;
  line-height: 1.45;
}

.trust-table {
  width: 100%;
  border-collapse: collapse;
  margin: 14px 0 18px;
  font-size: 14px;
}

.trust-table th,
.trust-table td {
  vertical-align: top;
  text-align: left;
  border: 1px solid var(--hx-border);
  padding: 10px;
}

.trust-table th {
  background: #f1f5f9;
}

.print-box {
  border: 1px dashed var(--hx-border);
  border-radius: 10px;
  padding: 16px;
  background: #fff;
}

.trust-form {
  display: grid;
  gap: 14px;
  margin: 14px 0 20px;
}

.trust-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.trust-form label,
.trust-form-full,
.trust-checkbox {
  display: grid;
  gap: 6px;
  color: var(--hx-text);
  font-size: 14px;
  font-weight: 650;
}

.trust-form input,
.trust-form select,
.trust-form textarea {
  width: 100%;
  border: 1px solid var(--hx-border);
  border-radius: 8px;
  padding: 10px 11px;
  color: var(--hx-ink);
  background: #fff;
  font: inherit;
  font-weight: 500;
}

.trust-form textarea {
  min-height: 132px;
  resize: vertical;
}

.trust-form .trust-checkbox,
.trust-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-weight: 600;
}

.trust-checkbox input {
  width: auto;
  margin-top: 3px;
}

.trust-form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.trust-form button {
  border: 0;
  border-radius: 8px;
  padding: 10px 18px;
  color: #fff;
  background: var(--hx-blue);
  font: inherit;
  font-weight: 750;
  cursor: pointer;
}

.trust-form button:disabled {
  cursor: wait;
  opacity: 0.7;
}

.trust-form-status {
  color: var(--hx-muted);
  font-size: 14px;
}

.trust-form-status[data-tone="success"] {
  color: #166534;
}

.trust-form-status[data-tone="error"] {
  color: #b91c1c;
}

.incident-submit {
  border: 1px solid var(--hx-border);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
  margin: 24px 0 26px;
  overflow: hidden;
}

.incident-submit__intro {
  border-bottom: 1px solid var(--hx-border);
  background: linear-gradient(180deg, #eff6ff 0%, #f8fafc 100%);
  padding: 18px 22px;
}

.incident-submit__kicker {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(37, 99, 235, 0.18);
  border-radius: 999px;
  background: #fff;
  color: var(--hx-blue);
  padding: 5px 9px;
  font-size: 12px;
  font-weight: 760;
  line-height: 1;
}

.incident-submit__intro h2 {
  margin-top: 0;
  margin-bottom: 8px;
  font-size: 22px;
}

.incident-submit__intro p {
  max-width: 760px;
  margin: 0;
  color: var(--hx-muted);
  font-size: 14px;
  line-height: 1.55;
}

.incident-submit__signals {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 16px;
}

.incident-submit__signals span {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  border: 1px solid rgba(37, 99, 235, 0.14);
  border-radius: 999px;
  background: #fff;
  color: var(--hx-text);
  padding: 7px 10px;
  font-size: 13px;
  line-height: 1.38;
}

.incident-submit__signals span::before {
  content: "";
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--hx-blue);
  margin-top: 5px;
}

.incident-contact-form {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 18px 22px 20px;
  background: #fff;
}

.incident-form-panel {
  display: grid;
  grid-template-columns: minmax(170px, 0.7fr) repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 14px 16px;
  min-width: 0;
  border: 1px solid var(--hx-border);
  border-radius: 8px;
  background: #fff;
  padding: 16px;
}

.incident-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px 16px;
}

.incident-form-grid--identity {
  display: contents;
}

.incident-field--category {
  max-width: none;
}

.trust-field {
  display: grid;
  gap: 7px;
  min-width: 0;
  color: var(--hx-text);
  font-size: 13px;
  font-weight: 700;
}

.trust-field--wide {
  grid-column: 1 / -1;
}

.trust-field span {
  line-height: 1.35;
}

.incident-contact-form input,
.incident-contact-form select,
.incident-contact-form textarea {
  min-height: 44px;
  border-color: #cbd5e1;
  background: #fff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
}

.incident-contact-form textarea {
  min-height: 156px;
  line-height: 1.5;
}

.incident-form-note {
  color: #b45309;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.4;
}

.incident-contact-form input:focus,
.incident-contact-form select:focus,
.incident-contact-form textarea:focus {
  border-color: var(--hx-blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.14);
  outline: 0;
}

.incident-form-actions {
  grid-column: 1 / -1;
  justify-content: flex-start;
  min-height: auto;
  margin-top: 2px;
}

.incident-form-actions button {
  min-width: 120px;
}

@media print {
  .trust-header,
  .trust-footer,
  .no-print {
    display: none;
  }

  .trust-shell {
    width: 100%;
    padding: 0;
  }

  .trust-card {
    border: 0;
    box-shadow: none;
    padding: 0;
  }
}

@media (max-width: 900px) {
  .incident-contact-form,
  .incident-form-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .trust-header,
  .trust-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .trust-nav {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
    width: 100%;
  }

  .trust-form-grid {
    grid-template-columns: 1fr;
  }

  .incident-submit {
    margin: 22px 0;
  }

  .incident-form-grid,
  .incident-form-grid--identity {
    grid-template-columns: 1fr;
  }

  .incident-submit__intro,
  .incident-contact-form {
    padding: 16px;
  }

  .incident-form-actions {
    align-items: stretch;
    flex-direction: column-reverse;
  }

  .incident-form-actions button {
    width: 100%;
  }
}
