/* Novo Engineering verification pages. Brand colours from the Novo brand kit. */

@font-face {
  font-family: "Hanken Grotesk";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/hanken-grotesk-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Hanken Grotesk";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/hanken-grotesk-latin-600-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Hanken Grotesk";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/hanken-grotesk-latin-700-normal.woff2") format("woff2");
}

:root {
  --navy: #243b52;
  --ink: #1b2c3d;
  --teal: #2bbecb;
  --terracotta: #ca6a52;
  --paper: #fafbfc;
  --line: #d7dee4;
  --text: #3c4d5e;
  --muted: #5a6b7a;
  --current: #13784a;
  --superseded: #b42318;
  --unknown: #8a4b08;
  --radius: 10px;
}

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

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

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.5;
  color: var(--text);
  background: var(--paper);
}

a {
  color: var(--navy);
}

.wrap {
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  padding: 0 18px;
}

/* Masthead */

.masthead {
  background: #fff;
  border-bottom: 3px solid var(--teal);
}

.masthead-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 14px;
  padding-bottom: 14px;
}

.brand img {
  display: block;
  height: 40px;
  width: auto;
}

.masthead-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: right;
  color: var(--navy);
}

main.wrap {
  flex: 1;
  padding-top: 18px;
  padding-bottom: 20px;
}

/* Status panel */

.status {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px 18px 20px;
  margin-bottom: 14px;
  border-radius: var(--radius);
  color: #fff;
  -webkit-print-color-adjust: exact;
  print-color-adjust: exact;
}

.status-current {
  background: var(--current);
}

.status-superseded {
  background: var(--superseded);
}

.status-unknown {
  background: var(--unknown);
}

.status-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}

.status-icon svg {
  width: 26px;
  height: 26px;
}

.status-word {
  margin: 2px 0 4px;
  font-size: 30px;
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.status-text {
  margin: 4px 0 0;
  font-size: 17px;
  line-height: 1.4;
}

/* Cards */

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  margin-bottom: 14px;
}

.card h1,
.card h2 {
  margin: 0 0 10px;
  font-size: 19px;
  line-height: 1.3;
  font-weight: 700;
  color: var(--ink);
}

.card p {
  margin: 0 0 10px;
}

.card p:last-child {
  margin-bottom: 0;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.eyebrow::before {
  content: "";
  width: 18px;
  height: 3px;
  border-radius: 2px;
  background: var(--teal);
}

.card .project {
  margin: 0;
  font-size: 21px;
  letter-spacing: 0.01em;
}

.card .address {
  margin: 4px 0 0;
  font-size: 18px;
  color: var(--ink);
}

.facts {
  margin: 16px 0 0;
}

.fact {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 0;
  border-top: 1px solid var(--line);
}

.fact dt {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.fact dd {
  margin: 0;
  font-weight: 600;
  text-align: right;
  color: var(--ink);
}

.fact-revision dd {
  font-size: 28px;
  line-height: 1.1;
  font-weight: 700;
  color: var(--navy);
}

.sheets-heading {
  margin: 18px 0 6px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.sheets-heading span {
  letter-spacing: 0;
}

.sheets {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.sheets th {
  padding: 6px 10px 6px 0;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-align: left;
  text-transform: uppercase;
  color: var(--muted);
}

.sheets td {
  padding: 8px 10px 8px 0;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  color: var(--ink);
}

.sheets td:first-child {
  white-space: nowrap;
  font-weight: 600;
}

.sheets th:last-child,
.sheets td:last-child {
  padding-right: 0;
  text-align: right;
  white-space: nowrap;
}

.reference {
  margin-top: 14px;
  font-size: 14px;
  color: var(--muted);
}

.ref {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.95em;
  letter-spacing: 0.04em;
  color: var(--ink);
}

/* Steps */

.steps ol {
  margin: 0;
  padding-left: 22px;
}

.steps li + li {
  margin-top: 6px;
}

.steps li::marker {
  font-weight: 700;
  color: var(--navy);
}

/* Contact */

.contact-actions {
  display: grid;
  gap: 10px;
}

.button {
  display: block;
  padding: 13px 16px;
  border: 1.5px solid var(--navy);
  border-radius: 8px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  color: var(--navy);
  background: #fff;
}

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

.contact-note {
  margin-top: 12px;
  font-size: 14px;
  color: var(--muted);
}

.card .contact-note {
  margin-top: 12px;
}

/* Test records */

.test-banner {
  margin-bottom: 14px;
  padding: 12px 14px;
  border: 2px dashed var(--terracotta);
  border-radius: var(--radius);
  font-size: 15px;
  color: #7a3524;
  background: #fbf1ee;
}

/* Footer */

.site-footer {
  padding: 18px 0 26px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--muted);
  background: #fff;
}

.site-footer p {
  margin: 0 0 4px;
}

.footer-name {
  font-weight: 600;
  color: var(--ink);
}

@media (min-width: 560px) {
  .contact-actions {
    grid-template-columns: 1fr 1fr;
  }

  .masthead-label {
    font-size: 13px;
  }
}

@media print {
  .contact-actions {
    display: none;
  }
}
