/*
 * Green Shift Group theme for the inspection portal, on top of quillflow.css.
 * Colours and type from greenshiftgroup.com: green #51A728 / #3F851E, Poppins.
 * Mobile first; the step rail and the certificate preview appear on wide screens.
 */

@font-face { font-family: "Poppins"; font-weight: 300; font-display: swap; src: url("/assets/fonts/Poppins-Light.ttf") format("truetype"); }
@font-face { font-family: "Poppins"; font-weight: 400; font-display: swap; src: url("/assets/fonts/Poppins-Regular.ttf") format("truetype"); }
@font-face { font-family: "Poppins"; font-weight: 500; font-display: swap; src: url("/assets/fonts/Poppins-Medium.ttf") format("truetype"); }
@font-face { font-family: "Poppins"; font-weight: 600; font-display: swap; src: url("/assets/fonts/Poppins-SemiBold.ttf") format("truetype"); }
@font-face { font-family: "Poppins"; font-weight: 700; font-display: swap; src: url("/assets/fonts/Poppins-Bold.ttf") format("truetype"); }

:root {
  --green: #51a728;
  --green-dark: #3f851e;
  --green-darker: #2c5f14;
  --lime: #92d050;
  --tint: #f1f7ec;
  --ink: #1b1f1d;
  --muted: #5f6360;
  --line: #e2e2e2;
  --page: #f5f6f4;
  --card: #ffffff;
  --amber: #b26a00;
  --red: #b42318;
  --focus: #ffd23f;
  --radius: 14px;
  --header-h: 64px;
  --heading: "Poppins", system-ui, sans-serif;
  --body: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}

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

html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 3.5rem); }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--page);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
}

a { color: var(--green-dark); }

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

/* ---- header ----------------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgb(255 255 255 / 96%);
  backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--line);
  padding-top: env(safe-area-inset-top);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: 76rem;
  height: var(--header-h);
  margin: 0 auto;
  padding: 0 1rem;
}

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

.site-header__product {
  display: none;
  padding-left: 1rem;
  border-left: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.language {
  display: flex;
  margin-left: auto;
  padding: 3px;
  border-radius: 999px;
  background: var(--page);
  border: 1px solid var(--line);
}

.language button {
  min-width: 2.75rem;
  min-height: 2.25rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font: 600 0.8125rem/1 var(--heading);
  letter-spacing: 0.06em;
  cursor: pointer;
}
.language button[aria-pressed="true"] { background: var(--green-dark); color: #fff; }
.language button:focus-visible { outline: 3px solid var(--focus); outline-offset: 1px; }

.progress { height: 4px; background: var(--line); }
.progress__bar {
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--lime), var(--green) 60%, var(--green-dark));
  transition: width 0.4s ease;
}
.progress__label {
  margin: 0;
  padding: 0.45rem 1rem;
  color: var(--green-darker);
  font: 500 0.8125rem/1.3 var(--heading);
  background: var(--tint);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.progress__label:empty { display: none; }

/* ---- hero ------------------------------------------------------------------------------------- */

.hero {
  color: #fff;
  background:
    radial-gradient(120% 140% at 100% 0%, rgb(146 208 80 / 35%), transparent 55%),
    linear-gradient(135deg, var(--green-darker), var(--green-dark) 55%, var(--green));
}
.hero__inner { max-width: 76rem; margin: 0 auto; padding: 1.5rem 1rem 3.75rem; }
.eyebrow {
  margin: 0 0 0.35rem;
  font: 500 0.75rem/1.4 var(--heading);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.85;
}
.hero h1 { margin: 0; font: 600 1.6rem/1.2 var(--heading); letter-spacing: -0.01em; }
.hero__lead { margin: 0.5rem 0 0; max-width: 40rem; font-weight: 300; font-size: 0.975rem; opacity: 0.95; }

/* ---- layout ----------------------------------------------------------------------------------- */

.layout {
  flex: 1;
  width: 100%;
  max-width: 76rem;
  margin: -2.5rem auto 0;
  padding: 0 0.75rem 2rem;
}

.rail { display: none; }

.card {
  min-width: 0;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: 0 1px 2px rgb(0 0 0 / 5%), 0 8px 30px rgb(27 31 29 / 8%);
  padding: 1.25rem 1rem 0;
}

/* ---- the form --------------------------------------------------------------------------------- */

qf-form {
  --qf-font: var(--body);
  --qf-text: var(--ink);
  --qf-muted: var(--muted);
  --qf-border: #b9c0bb;
  --qf-primary: var(--green-dark);
  --qf-primary-hover: var(--green-darker);
  --qf-secondary: var(--page);
  --qf-error: var(--red);
  --qf-focus: var(--focus);
  --qf-radius: 10px;
  --qf-gap: 1.35rem;
  --qf-max-width: none;
  font-size: 1rem;
  line-height: 1.5;
}

.qf-progress {
  margin: 0 0 0.25rem;
  color: var(--green-dark);
  font: 600 0.75rem/1.4 var(--heading);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.qf-page-title {
  margin: 0 0 1.25rem;
  font: 600 1.45rem/1.25 var(--heading);
  letter-spacing: -0.01em;
  scroll-margin-top: calc(var(--header-h) + 4rem);
}
.qf-page-title:focus { outline: none; }

.qf-label, .qf-group__legend {
  font: 500 0.975rem/1.4 var(--heading);
  color: var(--ink);
}
.qf-label { margin-bottom: 0.35rem; }
.qf-optional { font-weight: 400; font-size: 0.85em; }
.qf-hint { margin: -0.1rem 0 0.5rem; font-size: 0.875rem; line-height: 1.45; }

.qf-input, .qf-select {
  min-height: 3rem;
  padding: 0.6rem 0.8rem;
  border: 1.5px solid var(--qf-border);
  font-size: 1rem; /* 16px stops iOS zooming on focus */
  transition: border-color 0.15s, box-shadow 0.15s;
}
.qf-input:hover, .qf-select:hover { border-color: #8d958f; }
.qf-input:focus, .qf-select:focus, .qf-search input:focus {
  outline: none;
  border-color: var(--green-dark);
  box-shadow: 0 0 0 4px rgb(81 167 40 / 22%);
}
.qf-input--number, .qf-input--date { max-width: 16rem; }
.qf-textarea { min-height: 6.5rem; resize: vertical; line-height: 1.5; }

/* Values from the vessel register: read-only, marked as fetched. */
.qf-input[readonly] {
  border: 1px solid transparent;
  background: var(--tint) url("/assets/register.svg") no-repeat right 0.8rem center / 1.1rem;
  padding-right: 2.4rem;
  color: var(--green-darker);
  font-weight: 600;
  min-height: 2.75rem;
}
.qf-field:has(.qf-input[readonly]) { margin-bottom: 0.85rem; }

/* Notes: the register match and the live overall result. */
.qf-note {
  padding: 0.85rem 1rem;
  border-radius: 10px;
  background: var(--tint);
  border-left: 4px solid var(--green);
}
.qf-note__text { font-weight: 500; }
.qf-note .qf-hint { margin: 0.25rem 0 0; }

/* Radios as cards; the rating questions (four answers) as a coloured 2×2 / 4-up grid. */
.qf-radios { display: grid; gap: 0.5rem; }
.qf-radios__item {
  position: relative;
  margin: 0;
  min-height: 3.25rem;
  padding: 0 0.9rem;
  gap: 0.7rem;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: #fff;
  transition: border-color 0.15s, background 0.15s;
}
.qf-radios__item:hover { border-color: #b9c0bb; }
.qf-radios__input { width: 1.25rem; height: 1.25rem; accent-color: var(--green-dark); }
.qf-radios__input:focus { outline: none; }
.qf-radios__item:has(.qf-radios__input:focus-visible) { box-shadow: 0 0 0 4px rgb(81 167 40 / 25%); }
.qf-radios__label { flex: 1; align-self: stretch; display: flex; align-items: center; padding: 0.6rem 0; font-size: 0.95rem; }
/* The whole card is clickable. */
.qf-radios__label::after { content: ""; position: absolute; inset: 0; }
.qf-radios__item:has(:checked) { border-color: var(--green-dark); background: var(--tint); }
.qf-radios__item:has(:checked) .qf-radios__label { font-weight: 600; }

.qf-radios:has(> :nth-child(4):last-child) { grid-template-columns: 1fr 1fr; }
.qf-radios:has(> :nth-child(4):last-child) .qf-radios__label { font-size: 0.875rem; line-height: 1.3; }
.qf-radios:has(> :nth-child(4):last-child) > :nth-child(1):has(:checked) { border-color: var(--green-dark); background: #eef7e8; }
.qf-radios:has(> :nth-child(4):last-child) > :nth-child(2):has(:checked) { border-color: var(--amber); background: #fff5e6; }
.qf-radios:has(> :nth-child(4):last-child) > :nth-child(2) .qf-radios__input { accent-color: var(--amber); }
.qf-radios:has(> :nth-child(4):last-child) > :nth-child(3):has(:checked) { border-color: var(--red); background: #fdeeed; }
.qf-radios:has(> :nth-child(4):last-child) > :nth-child(3) .qf-radios__input { accent-color: var(--red); }
.qf-radios:has(> :nth-child(4):last-child) > :nth-child(4):has(:checked) { border-color: #7a7f7c; background: #f2f3f2; }
.qf-radios:has(> :nth-child(4):last-child) > :nth-child(4) .qf-radios__input { accent-color: #5f6360; }

/* Rated areas read as separate blocks. */
.qf-field--select_one:has(.qf-radios > :nth-child(4):last-child) {
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
}

/* Remarks belong to the rating above them. */
.qf-field:has(.qf-textarea[name$="_remarks"]) {
  margin-top: -0.6rem;
  padding: 0.85rem 0.9rem;
  border-radius: 10px;
  background: #fffaf2;
  border: 1px dashed #e7c88f;
}

/* Declaration checkbox. */
.qf-checkboxes__item {
  align-items: flex-start;
  padding: 0.9rem 1rem;
  border: 1.5px solid var(--line);
  border-radius: 10px;
}
.qf-checkboxes__item:has(:checked) { border-color: var(--green-dark); background: var(--tint); }
.qf-checkboxes__input { width: 1.35rem; height: 1.35rem; margin-top: 0.15rem; accent-color: var(--green-dark); }
.qf-checkboxes__label { font-size: 0.925rem; }
/* The whole card is clickable, as with the radios. */
.qf-checkboxes__label::after { content: ""; position: absolute; inset: 0; }

/* Search suggestions. */
.qf-search__list { border: 1.5px solid var(--green-dark); border-radius: 0 0 10px 10px; overflow: hidden auto; }
.qf-search__option { padding: 0.75rem 0.9rem; }
.qf-search__option:hover, .qf-search__option--active { background: var(--green-dark); }

/* Errors. */
.qf-error-summary { border: 0; border-left: 5px solid var(--red); border-radius: 10px; background: #fdeeed; }
.qf-error-summary__title { font: 600 1.1rem/1.3 var(--heading); }
.qf-error-summary__list a { font-weight: 500; }
.qf-field--error, fieldset.qf-field--error { border-left-width: 4px; padding-left: 0.85rem; }
.qf-error-message { font-weight: 500; font-size: 0.925rem; }

/* Buttons: a sticky bar at the bottom of the screen on phones. */
.qf-actions {
  position: sticky;
  bottom: 0;
  z-index: 5;
  display: flex;
  flex-direction: row-reverse;
  gap: 0.6rem;
  margin: 1.5rem -1rem 0;
  padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom));
  background: rgb(255 255 255 / 96%);
  backdrop-filter: blur(6px);
  border-top: 1px solid var(--line);
  border-radius: 0 0 var(--radius) var(--radius);
}
.qf-button, .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0.65rem 1.4rem;
  border: 1.5px solid transparent;
  border-radius: 999px;
  box-shadow: none;
  font: 600 0.95rem/1.2 var(--heading);
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, transform 0.05s;
}
.qf-actions .qf-button { flex: 1; }
.qf-button { background: var(--green-dark); color: #fff; }
.qf-button:hover { background: var(--green-darker); }
.qf-button:active, .button:active { transform: translateY(1px); }
.qf-button:focus, .button:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; box-shadow: none; background: var(--green-dark); color: #fff; }
.qf-button--secondary, .qf-button--secondary:focus { background: #fff; color: var(--ink); border-color: var(--line); }
.qf-button--secondary:hover { background: var(--page); }
.qf-button:disabled { opacity: 0.7; cursor: progress; }

/* ---- signature pad ---------------------------------------------------------------------------- */

.signature {
  position: relative;
  display: block;
  height: 200px;
  border: 1.5px dashed #b9c0bb;
  border-radius: 12px;
  background: #fcfdfb;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
}
.signature:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.qf-field--error .signature { border-color: var(--red); }
.signature--signed { border-style: solid; border-color: var(--green-dark); background: #fff; }
.signature__canvas { position: absolute; inset: 0; width: 100%; height: 100%; cursor: crosshair; touch-action: none; }
.signature__line { position: absolute; left: 1.25rem; right: 1.25rem; bottom: 2.6rem; border-bottom: 1.5px solid #c9d3c4; pointer-events: none; }
.signature__hint {
  position: absolute;
  left: 1.25rem;
  bottom: 0.75rem;
  color: #8d958f;
  font: 500 0.8125rem/1 var(--heading);
  pointer-events: none;
}
.signature__hint::before { content: "✕ "; color: var(--green); }
.signature--signed .signature__hint { visibility: hidden; }
.signature__clear {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  min-height: 2.25rem;
  padding: 0 0.9rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  font: 500 0.8125rem/1 var(--heading);
  cursor: pointer;
}
.signature:not(.signature--signed) .signature__clear { display: none; }

/* ---- after submitting ------------------------------------------------------------------------- */

.success { padding: 0.75rem 0 2rem; text-align: center; }
.success[hidden], qf-form[hidden] { display: none; }
.success__badge {
  display: grid;
  place-items: center;
  width: 4.5rem;
  height: 4.5rem;
  margin: 0.5rem auto 1rem;
  border-radius: 50%;
  background: var(--tint);
  box-shadow: 0 0 0 8px rgb(81 167 40 / 10%);
  animation: pop 0.45s cubic-bezier(0.2, 1.6, 0.4, 1) both;
}
.success__badge svg { width: 2.4rem; fill: var(--green-dark); }
@keyframes pop { from { transform: scale(0.4); opacity: 0; } }
.success__title { margin: 0; font: 600 1.6rem/1.25 var(--heading); }
.success__title:focus { outline: none; }
.success__lead { margin: 0.4rem auto 0; max-width: 32rem; color: var(--muted); }
.success__reference {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem;
  margin: 1.1rem 0 1.25rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: var(--page);
  font-size: 0.9rem;
}
.success__reference strong { font-family: var(--heading); letter-spacing: 0.04em; color: var(--green-darker); }
.success__actions { display: flex; flex-direction: column; gap: 0.6rem; }
.button { background: #fff; color: var(--ink); border-color: var(--line); }
.button:hover { background: var(--page); }
.button svg { width: 1.2rem; fill: currentColor; }
.button--primary { background: var(--green-dark); color: #fff; border-color: var(--green-dark); }
.button--primary:hover { background: var(--green-darker); }
.button--link { margin-top: 1.25rem; background: none; border: 0; color: var(--green-dark); text-decoration: underline; text-underline-offset: 3px; }
.button--link:hover { background: none; color: var(--green-darker); }
.success__preview { display: none; }
.success__qr {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.5rem auto 0;
  max-width: 26rem;
  padding: 1rem;
  border-radius: 12px;
  background: var(--page);
  text-align: left;
  font-size: 0.875rem;
  color: var(--muted);
}
.success__qr img { width: 96px; height: 96px; flex: none; border-radius: 6px; background: #fff; padding: 4px; }
.success__qr p { margin: 0; }

/* ---- footer ----------------------------------------------------------------------------------- */

.site-footer {
  padding: 1.5rem 1rem calc(1.5rem + env(safe-area-inset-bottom));
  color: var(--muted);
  font-size: 0.8rem;
  text-align: center;
}
.site-footer p { margin: 0.2rem 0; }
.site-footer__demo { opacity: 0.8; }

/* ---- wider screens ---------------------------------------------------------------------------- */

@media (min-width: 40rem) {
  .card { padding: 2rem 2.25rem 0; }
  .qf-actions { margin: 2rem -2.25rem 0; padding: 1rem 2.25rem; justify-content: flex-start; }
  .qf-actions .qf-button { flex: none; min-width: 9rem; }
  .success__actions { flex-direction: row; justify-content: center; flex-wrap: wrap; }
  .hero__inner { padding: 2.25rem 1.5rem 4.5rem; }
  .hero h1 { font-size: 2.1rem; }
  .site-header__product { display: inline; }
  .layout { padding: 0 1.5rem 2.5rem; }
  .qf-radios:has(> :nth-child(6):last-child) { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 60rem) {
  :root { --header-h: 72px; }
  .brand img { height: 34px; }
  .progress__label { display: none; }
  .layout { display: grid; grid-template-columns: 17rem minmax(0, 1fr); gap: 1.75rem; align-items: start; }
  .rail {
    display: block;
    position: sticky;
    top: calc(var(--header-h) + 1.5rem);
    padding: 1.5rem 1.25rem;
    border-radius: var(--radius);
    background: var(--card);
    box-shadow: 0 1px 2px rgb(0 0 0 / 5%), 0 8px 30px rgb(27 31 29 / 8%);
  }
  .rail__title { margin: 0 0 1rem; color: var(--muted); font: 600 0.75rem/1.4 var(--heading); letter-spacing: 0.12em; text-transform: uppercase; }
  .steps { margin: 0; padding: 0; list-style: none; }
  .steps__item { position: relative; display: flex; align-items: center; gap: 0.75rem; padding: 0.5rem 0; color: var(--muted); font-size: 0.9rem; }
  .steps__item + .steps__item::before {
    content: "";
    position: absolute;
    left: 0.9rem;
    top: -0.55rem;
    height: 1.1rem;
    border-left: 2px solid var(--line);
  }
  .steps__number {
    display: grid;
    place-items: center;
    flex: none;
    width: 1.85rem;
    height: 1.85rem;
    border-radius: 50%;
    border: 2px solid var(--line);
    background: #fff;
    font: 600 0.8rem/1 var(--heading);
    transition: all 0.2s;
  }
  .steps__item--current { color: var(--ink); font-weight: 600; }
  .steps__item--current .steps__number { border-color: var(--green-dark); background: var(--green-dark); color: #fff; box-shadow: 0 0 0 4px rgb(81 167 40 / 18%); }
  .steps__item--done { color: var(--ink); }
  .steps__item--done .steps__number { border-color: var(--green); background: var(--tint); color: transparent; position: relative; }
  .steps__item--done .steps__number::after { content: "✓"; position: absolute; color: var(--green-dark); font-size: 0.9rem; }
  .steps__item--done + .steps__item::before { border-color: var(--green); }
  .rail__note {
    display: flex;
    gap: 0.6rem;
    margin-top: 1.5rem;
    padding: 0.9rem;
    border-radius: 10px;
    background: var(--tint);
    font-size: 0.8125rem;
    line-height: 1.5;
    color: var(--green-darker);
  }
  .rail__note svg { flex: none; width: 1.25rem; height: 1.25rem; fill: var(--green); }
  .rail__note p { margin: 0; }
  .card { padding: 2.25rem 2.75rem 0; }
  .qf-actions { margin: 2.25rem -2.75rem 0; padding: 1rem 2.75rem; }
  .qf-radios:has(> :nth-child(4):last-child) { grid-template-columns: repeat(4, 1fr); }
  .qf-page-title { font-size: 1.75rem; }
  .success__preview {
    display: block;
    margin: 1.75rem auto 0;
    max-width: 44rem;
    height: 34rem;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--line);
    background: var(--page);
  }
  .success__preview iframe { width: 100%; height: 100%; border: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---- commercial demo overlay ------------------------------------------------------------------ */

/* A large diagonal stamp over every page. It lets clicks and touches through, so the form works. */
body::after {
  content: "COMMERCIAL\A DEMO";
  white-space: pre;
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  text-align: center;
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
  color: rgb(180 35 24 / 13%);
  -webkit-text-stroke: 2px rgb(180 35 24 / 30%);
  font: 800 min(15vw, 10rem) / 0.95 var(--heading);
  letter-spacing: 0.04em;
  transform: rotate(-28deg);
}

/* And a solid label in the corner, so it is unmistakable in screenshots and recordings. */
body::before {
  content: "COMMERCIAL DEMO";
  position: fixed;
  right: 0;
  bottom: calc(1rem + env(safe-area-inset-bottom));
  z-index: 1001;
  padding: 0.35rem 0.8rem 0.35rem 1rem;
  border-radius: 999px 0 0 999px;
  background: var(--red);
  color: #fff;
  font: 700 0.75rem/1.2 var(--heading);
  letter-spacing: 0.14em;
  box-shadow: 0 2px 10px rgb(0 0 0 / 20%);
  pointer-events: none;
}
/* On phones the sticky button bar sits at the bottom; keep the label above it. */
@media (max-width: 39.99rem) {
  body:not(.is-done):not(.verify)::before { bottom: calc(5.25rem + env(safe-area-inset-bottom)); }
}

/* Tall, narrow screens: run along the steeper diagonal so the whole word fits. */
@media (max-aspect-ratio: 3/4) {
  body::after { transform: rotate(-58deg); font-size: min(16vw, 7rem); }
}

@media print {
  body::after { color: rgb(180 35 24 / 10%); }
}

/* ---- verify page (/verify/{ref}) -------------------------------------------------------------- */

.verify main { flex: 1; }
.verify-card {
  width: calc(100% - 2rem);
  max-width: 34rem;
  margin: 2.5rem auto;
  padding: 2rem 1.5rem;
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: 0 8px 30px rgb(27 31 29 / 8%);
  border-top: 6px solid var(--green);
}
.verify-card--unknown { border-top-color: var(--red); }
.verify-card__badge {
  display: inline-block;
  margin: 0 0 0.75rem;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  background: var(--tint);
  color: var(--green-darker);
  font: 600 0.8rem/1.3 var(--heading);
  letter-spacing: 0.04em;
}
.verify-card--unknown .verify-card__badge { background: #fdeeed; color: var(--red); }
.verify-card h1 { margin: 0 0 0.25rem; font: 600 1.5rem/1.3 var(--heading); letter-spacing: 0.02em; }
.verify-card p { color: var(--muted); }
.verify-card dl { display: grid; grid-template-columns: auto 1fr; gap: 0.5rem 1rem; margin: 1.25rem 0 1.5rem; }
.verify-card dt { color: var(--muted); font-size: 0.875rem; }
.verify-card dd { margin: 0; font-weight: 600; }
.verify-card .button { width: 100%; background: var(--green-dark); color: #fff; border-color: var(--green-dark); }
