:root {
  color-scheme: light;
  --ink: #17233d;
  --ink-soft: #334155;
  --muted: #607089;
  --blue: #075fca;
  --blue-dark: #064b9c;
  --blue-bright: #0788e8;
  --cyan: #12a8c4;
  --blue-soft: #eef6ff;
  --blue-pale: #f7fbff;
  --line: #dce6f0;
  --line-strong: #bdcede;
  --white: #ffffff;
  --navy: #101d35;
  --success: #138a72;
  --warning: #9a5b00;
  --shadow: 0 26px 60px rgba(20, 45, 79, 0.14);
  font-family: Roboto, -apple-system, BlinkMacSystemFont, "Segoe UI", Oxygen-Sans, Ubuntu, Cantarell, Helvetica, Arial, sans-serif;
  background: var(--white);
  color: var(--ink-soft);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  background: var(--white);
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  z-index: -2;
  top: 0;
  right: 0;
  width: min(58vw, 820px);
  height: 720px;
  background: radial-gradient(circle at 70% 20%, rgba(7, 136, 232, 0.12), transparent 64%);
  content: "";
  pointer-events: none;
}

a {
  color: var(--blue);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--blue-dark);
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  transform: translateY(-160%);
  border-radius: 4px;
  padding: 8px 12px;
  background: var(--navy);
  color: var(--white);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
}

.site-header__inner,
main,
.site-footer__inner {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header__inner {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  text-decoration: none;
}

.brand-mark {
  color: var(--blue);
  font-size: 1.6rem;
  font-style: italic;
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 1;
}

.brand-byline {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 26px;
}

nav a {
  position: relative;
  color: var(--ink);
  font-size: 0.76rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

nav a::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  transform: scaleX(0);
  background: var(--blue);
  content: "";
  transition: transform 160ms ease;
}

nav a:hover::after,
nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

main {
  padding-block: 76px 96px;
}

.hero {
  max-width: 780px;
}

.hero-split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  align-items: center;
  gap: clamp(44px, 7vw, 88px);
}

.eyebrow {
  margin: 0 0 24px;
  color: var(--blue-dark);
  font-size: 0.76rem;
  font-weight: 750;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  color: var(--ink);
  font-family: "Roboto Slab", Georgia, "Times New Roman", serif;
  font-weight: 700;
}

h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(3rem, 6.7vw, 5.5rem);
  letter-spacing: -0.052em;
  line-height: 1.04;
}

h1 .accent {
  color: var(--blue);
}

h2 {
  margin: 0;
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  letter-spacing: -0.035em;
  line-height: 1.14;
}

h3 {
  margin: 0;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.lead {
  max-width: 700px;
  margin: 28px 0 0;
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  line-height: 1.65;
}

/* The proof ID is an opaque string, so the certificate says what it is
   rather than leaving the reader to guess. */
.proof-id-note {
  max-width: 640px;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button,
button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--blue);
  border-radius: 6px;
  padding: 11px 20px;
  background: var(--blue);
  box-shadow: 0 8px 18px rgba(7, 95, 202, 0.16);
  color: var(--white);
  font: inherit;
  font-size: 0.92rem;
  font-weight: 750;
  line-height: 1.25;
  text-decoration: none;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.button:hover,
button:hover {
  transform: translateY(-1px);
  border-color: var(--blue-dark);
  background: var(--blue-dark);
  color: var(--white);
}

.button:disabled,
button:disabled {
  transform: none;
  border-color: var(--line-strong);
  background: #d9e1ea;
  box-shadow: none;
  color: #647386;
  cursor: not-allowed;
}

.button.secondary,
button.secondary {
  border-color: var(--line-strong);
  background: var(--white);
  box-shadow: none;
  color: var(--ink);
}

.button.secondary:hover,
button.secondary:hover {
  border-color: var(--blue);
  background: var(--blue-soft);
  color: var(--blue-dark);
}

:focus-visible {
  outline: 3px solid rgba(7, 136, 232, 0.34);
  outline-offset: 3px;
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin: 25px 0 0;
  padding: 0;
  color: var(--muted);
  font-size: 0.83rem;
  list-style: none;
}

.trust-list li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.trust-list li::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
  content: "";
}

.proof-console {
  position: relative;
  overflow: hidden;
  transform: rotate(1.2deg);
  border: 1px solid rgba(146, 177, 213, 0.22);
  border-radius: 12px;
  background: var(--navy);
  box-shadow: var(--shadow);
  color: #dcecff;
}

.proof-console::after {
  position: absolute;
  right: -90px;
  bottom: -110px;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: rgba(7, 136, 232, 0.17);
  content: "";
}

.console-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(187, 210, 239, 0.13);
  padding: 14px 18px;
  color: #8fa5c1;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.72rem;
}

.console-dots {
  display: flex;
  gap: 6px;
}

.console-dots i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue-bright);
}

.console-dots i:nth-child(2) {
  background: var(--cyan);
}

.console-dots i:nth-child(3) {
  background: #6fe0cb;
}

.console-body {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 22px;
  padding: 28px;
}

.console-label {
  margin: 0 0 6px;
  color: #71cfff;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.console-value {
  margin: 0;
  color: #f0f7ff;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.86rem;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.console-status {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(111, 224, 203, 0.3);
  border-radius: 999px;
  padding: 5px 10px;
  background: rgba(111, 224, 203, 0.08);
  color: #9ff1df;
  font-size: 0.74rem;
  font-weight: 700;
}

.console-status::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #6fe0cb;
  content: "";
}

.section-heading {
  max-width: 720px;
  margin-top: 104px;
}

.section-heading p:last-child {
  margin: 18px 0 0;
  color: var(--muted);
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 36px;
}

.card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px;
  background: var(--white);
}

.feature-card {
  min-height: 260px;
  border-top: 3px solid var(--blue);
}

/* Our own records carry a muted rule, so the page shows the distinction
   between independent corroboration and operator attestation before the
   reader finishes the text. */
.feature-card.supporting-card {
  border-top-color: var(--line);
}

.feature-number {
  margin: 0 0 42px;
  color: var(--blue);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.card p,
.card li {
  color: var(--muted);
  line-height: 1.65;
}

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

.use-cases {
  margin-top: 104px;
}

.use-cases .section-heading {
  margin-top: 0;
}

.use-case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 36px;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: var(--line);
  box-shadow: 0 22px 60px rgba(20, 45, 79, 0.08);
}

.use-case-card {
  min-height: 245px;
  padding: 30px;
  background: linear-gradient(145deg, #ffffff 58%, #f4f9ff 100%);
}

.use-case-kicker {
  margin: 0 0 50px;
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.use-case-card h3 {
  margin-bottom: 12px;
}

.use-case-card p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.65;
}

.agent-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  margin-top: 24px;
  border: 1px solid rgba(36, 116, 204, 0.3);
  border-radius: 10px;
  padding: 30px;
  background: linear-gradient(135deg, var(--blue-pale), #ffffff 68%);
}

.agent-banner h2 {
  margin-bottom: 10px;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
}

.agent-banner p:last-child {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.agent-banner .button {
  flex: 0 0 auto;
}

.page-agents .hero {
  max-width: 920px;
}

.page-agents .privacy-strip {
  margin-top: 48px;
}

.agent-endpoint {
  border-top: 3px solid var(--blue);
}

.agent-endpoint h2 {
  margin-bottom: 18px;
}

.agent-endpoint code {
  overflow-wrap: anywhere;
}

.proof-boundary {
  display: grid;
  grid-template-columns: minmax(180px, 0.65fr) minmax(0, 1.75fr);
  gap: 28px;
  align-items: start;
  margin-top: 24px;
  border-left: 4px solid var(--blue);
  border-radius: 4px 8px 8px 4px;
  padding: 24px 28px;
  background: var(--blue-pale);
}

.proof-boundary strong {
  color: var(--ink);
  font-family: "Roboto Slab", Georgia, "Times New Roman", serif;
  font-size: 1.08rem;
}

.proof-boundary p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.network-note {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 650;
}

.network-note span {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--warning);
}

.proof-form {
  display: grid;
  gap: 20px;
  margin-top: 46px;
}

.form-shell {
  max-width: 840px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: clamp(24px, 5vw, 46px);
  background: var(--blue-pale);
  box-shadow: 0 20px 48px rgba(20, 45, 79, 0.08);
}

.file-picker {
  display: grid;
  min-width: 0;
  gap: 10px;
  border: 2px dashed #9bb8d6;
  border-radius: 8px;
  padding: clamp(24px, 5vw, 40px);
  background: var(--white);
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease;
}

.file-picker:hover {
  border-color: var(--blue);
  background: #fbfdff;
}

.file-picker strong {
  color: var(--ink);
  font-family: "Roboto Slab", Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
}

.file-picker span {
  color: var(--muted);
  font-size: 0.92rem;
}

input[type="file"] {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  margin-block: 8px;
  font: inherit;
}

input[type="file"]::file-selector-button {
  margin-right: 12px;
  border: 1px solid var(--line-strong);
  border-radius: 5px;
  padding: 8px 12px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.result {
  display: none;
  gap: 18px;
  margin-top: 24px;
  border-top: 3px solid var(--success);
}

.result.visible {
  display: grid;
}

dl {
  display: grid;
  grid-template-columns: minmax(140px, 190px) minmax(0, 1fr);
  gap: 12px 20px;
  margin: 0;
}

dt {
  color: var(--muted);
  font-weight: 750;
}

dd {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
  color: var(--ink);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
}

.status {
  min-height: 24px;
  margin: 0;
  color: var(--ink-soft);
  font-weight: 650;
}

.proof-link {
  width: fit-content;
  color: var(--blue-dark);
  font-weight: 750;
  text-underline-offset: 3px;
}

.proof-actions {
  margin-top: 0;
}

.certificate-header {
  display: none;
}

.proof-qr-panel {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  margin: 6px 0 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: var(--blue-pale);
}

.proof-qr-panel img {
  display: block;
  width: 180px;
  height: 180px;
  border: 8px solid var(--white);
  background: var(--white);
}

.proof-qr-panel figcaption {
  min-width: 0;
  color: var(--ink);
  font-weight: 750;
}

.proof-qr-panel figcaption span {
  display: block;
  margin-top: 8px;
  overflow-wrap: anywhere;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.82rem;
  font-weight: 500;
}

.receipt-boundary {
  margin: 0;
  border-left: 4px solid var(--blue);
  padding: 14px 16px;
  background: var(--blue-pale);
  color: var(--muted);
  line-height: 1.65;
}

.privacy-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 42px;
  border: 1px solid var(--line);
  background: var(--line);
}

.privacy-strip div {
  padding: 18px 20px;
  background: var(--white);
}

.privacy-strip strong {
  display: block;
  color: var(--ink);
  font-size: 0.86rem;
}

.privacy-strip span {
  color: var(--muted);
  font-size: 0.78rem;
}

.warning {
  border-left: 4px solid var(--warning);
  padding: 13px 16px;
  background: #fff8e8;
  color: #6f4300;
}

[hidden] {
  display: none !important;
}

pre,
code {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
}

pre {
  max-width: 100%;
  overflow-x: auto;
  border-radius: 8px;
  padding: 22px;
  background: var(--navy);
  color: #e8f2ff;
  font-size: 0.88rem;
  line-height: 1.6;
}

.content-section {
  margin-top: 42px;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #fbfdff;
}

.site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 28px 40px;
  color: var(--muted);
  font-size: 0.82rem;
}

.footer-brand {
  color: var(--ink);
  font-weight: 800;
  letter-spacing: 0.04em;
}

.operator-link,
.operator-link:visited,
.operator-link:hover,
.operator-link:active {
  color: inherit;
  text-decoration: none;
}

.operator-link {
  cursor: pointer;
}

@media (max-width: 900px) {
  .hero-split {
    grid-template-columns: 1fr;
  }

  .proof-console {
    max-width: 620px;
    transform: none;
  }

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

  .agent-banner {
    display: grid;
  }

  .agent-banner .button {
    justify-self: start;
  }

  .use-case-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-card {
    min-height: 0;
  }

  .feature-number {
    margin-bottom: 26px;
  }
}

@media (max-width: 680px) {
  .site-header__inner {
    min-height: 0;
    align-items: flex-start;
    padding-block: 16px;
  }

  .site-header__inner,
  .site-footer__inner {
    display: grid;
  }

  .site-header__inner {
    gap: 14px;
  }

  /* The navigation becomes one swipeable strip instead of wrapping onto
     several lines. This holds for any number of menu items. Scroll snapping
     is deliberately not used: it would align the first item against the
     scroll port and cancel the leading padding. */
  nav {
    gap: 20px;
    flex-wrap: nowrap;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    margin-inline: -20px;
    padding-block: 2px 8px;
    padding-inline: 20px;
    /* Fades the trailing edge so more items are visibly available. */
    mask-image: linear-gradient(to right, #000 calc(100% - 32px), transparent 100%);
    -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 32px), transparent 100%);
  }

  nav::-webkit-scrollbar {
    display: none;
  }

  nav a {
    flex: 0 0 auto;
  }

  nav a::after {
    bottom: -4px;
  }

  main {
    padding-block: 52px 72px;
  }

  h1 {
    font-size: clamp(2.75rem, 14vw, 4.2rem);
  }

  .section-heading {
    margin-top: 76px;
  }

  .use-cases {
    margin-top: 76px;
  }

  .use-case-grid,
  .proof-boundary {
    grid-template-columns: 1fr;
  }

  .use-case-card {
    min-height: 0;
  }

  .use-case-kicker {
    margin-bottom: 28px;
  }

  .privacy-strip {
    grid-template-columns: 1fr;
  }

  dl {
    grid-template-columns: 1fr;
  }

  dd + dt {
    margin-top: 8px;
  }

  .proof-qr-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 400px) {
  nav {
    gap: 16px;
  }

  nav a {
    font-size: 0.72rem;
    letter-spacing: 0.06em;
  }

  .brand-mark {
    font-size: 1.45rem;
  }
}

@page {
  size: A4;
  margin: 18mm;
}

@media print {
  html {
    height: auto;
    min-height: 0;
  }

  body.page-viewer {
    height: auto;
    min-height: 0;
    overflow: visible;
    background: var(--white);
    color: #000000;
  }

  body.page-viewer::before {
    display: none !important;
    content: none !important;
  }

  .page-viewer .skip-link,
  .page-viewer .site-header,
  .page-viewer .site-footer,
  .page-viewer .hero,
  .page-viewer .actions,
  .page-viewer #receipt-status,
  .page-viewer #error {
    display: none !important;
  }

  .page-viewer main {
    width: auto;
    max-width: none;
    padding: 0;
  }

  .page-viewer .content-section {
    margin: 0;
  }

  .page-viewer .result {
    display: grid !important;
    gap: 14px;
    border: 1px solid #9aa8bb;
    border-top: 5px solid #1469c9;
    border-radius: 0;
    padding: 14mm;
    box-shadow: none;
    break-inside: auto;
    page-break-inside: auto;
  }

  .page-viewer .certificate-header {
    position: relative;
    display: block;
    border-bottom: 1px solid #cbd5e1;
    padding-bottom: 8mm;
  }

  /* The seal is stamped in the corner of the printed receipt. */
  .page-viewer .certificate-seal {
    position: absolute;
    top: 0;
    right: 0;
    display: block;
    width: 22mm;
    height: 22mm;
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }

  .page-viewer .certificate-header h2 {
    margin: 5mm 0 2mm;
    font-size: 26pt;
  }

  .page-viewer .certificate-header p {
    margin: 0;
  }

  .page-viewer .certificate-url {
    margin-top: 4mm;
    overflow-wrap: anywhere;
    font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
    font-size: 8.5pt;
  }

  .page-viewer .certificate-brand {
    color: #1469c9;
    font-family: "Roboto Slab", Georgia, "Times New Roman", serif;
    font-size: 15pt;
    font-weight: 800;
    letter-spacing: -0.02em;
  }

  .page-viewer .certificate-brand span {
    color: #42526a;
    font-family: Roboto, Arial, sans-serif;
    font-size: 8pt;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .page-viewer .eyebrow {
    display: none;
  }

  .page-viewer dl {
    grid-template-columns: 42mm minmax(0, 1fr);
    gap: 3mm 5mm;
    font-size: 9pt;
  }

  .page-viewer .proof-qr-panel {
    grid-template-columns: 42mm minmax(0, 1fr);
    gap: 5mm;
    border-color: #cbd5e1;
    padding: 5mm;
    background: #f8fafc;
  }

  .page-viewer .proof-qr-panel img {
    width: 38mm;
    height: 38mm;
    border-width: 2mm;
  }

  .page-viewer .receipt-boundary {
    border-color: #1469c9;
    background: #f8fafc;
    color: #26364d;
    font-size: 8.5pt;
  }
}

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

.actions .attention {
  animation: verifyum-attention 1.6s ease-in-out infinite;
}

@keyframes verifyum-attention {
  0%, 100% {
    box-shadow: 0 0 0 0 color-mix(in srgb, var(--blue) 60%, transparent);
  }
  50% {
    box-shadow: 0 0 0 12px transparent;
  }
}

@media (prefers-reduced-motion: reduce) {
  .actions .attention {
    animation: none;
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--blue) 45%, transparent);
  }
}

/* The Verifyum seal: the V from the wordmark inside a circle. Served as a
   plain image so it cannot degrade into a coloured block and so it survives
   printing, where CSS masks are unreliable. Deliberately absent from the site
   header, where the wordmark already carries the identity. */
.footer-seal {
  display: inline-block;
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  opacity: 0.85;
}

.site-footer {
  position: relative;
  overflow: hidden;
}

/* The same seal again as a quiet background mark, bleeding off the corner in
   the same spirit as the other decorative circles. */
.site-footer::after {
  position: absolute;
  z-index: 0;
  right: -70px;
  bottom: -96px;
  width: 260px;
  height: 260px;
  opacity: 0.13;
  background: url("/seal.svg") center / contain no-repeat;
  content: "";
  pointer-events: none;
}

.site-footer__inner {
  position: relative;
  z-index: 1;
}

.footer-brand-line {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

/* Only shown on the printed receipt, where .certificate-header appears. */
.certificate-seal {
  display: none;
}

@media print {
  .page-viewer .certificate-seal {
    display: block;
  }
}

.channel-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.4;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--ink-soft);
}
.channel-status-badge--healthy {
  border-color: rgba(16, 185, 129, 0.35);
  background: rgba(16, 185, 129, 0.08);
  color: #065f46;
}
.channel-status-badge--pending {
  border-color: rgba(245, 158, 11, 0.35);
  background: rgba(245, 158, 11, 0.08);
  color: #92400e;
}
.channel-status-badge--lagging {
  border-color: rgba(239, 68, 68, 0.35);
  background: rgba(239, 68, 68, 0.08);
  color: #991b1b;
}
.channel-status-indicator {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: currentColor;
}

