/* ==========================================================================
   Verus.black — neo-brutalist theme
   Exactly three colours. No greys, tints, gradients or transparency.
     --ink     #000000  text, borders, hard shadows   (the record)
     --paper   #FFFFFF  page ground                   (the document)
     --signal  #FF5F1F  actions and emphasis          (flight-recorder orange)
   Orange always carries black text (6.9:1). Never white on orange.
   ========================================================================== */
:root {
  --ink: #000000;
  --paper: #FFFFFF;
  --signal: #FF5F1F;

  --line: 3px solid var(--ink);
  --shadow: 6px 6px 0 var(--ink);
  --shadow-l: 10px 10px 0 var(--ink);
  --shadow-press: 2px 2px 0 var(--ink);

  --display: "Archivo", "Arial Black", "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --max: 1240px;
  --section-y: clamp(72px, 9vw, 120px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; font-family: var(--display); font-size: 18px; line-height: 1.55; color: var(--ink); background: var(--paper); }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
a { color: var(--ink); text-decoration-thickness: 2px; text-underline-offset: 3px; }
::selection { background: var(--signal); color: var(--ink); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; }
.section--black :focus-visible, .site-footer :focus-visible { outline-color: var(--paper); }
.skip-link { position: absolute; left: 16px; top: -80px; z-index: 100; padding: 12px 18px; background: var(--signal); color: var(--ink); border: var(--line); font-weight: 800; text-decoration: none; }
.skip-link:focus { top: 16px; }

/* ---------- Layout ---------- */
.wrap { max-width: var(--max); margin-inline: auto; padding-inline: 24px; }
.section { padding-block: var(--section-y); }
.section--black { background: var(--ink); color: var(--paper); }
.section--orange { background: var(--signal); border-block: var(--line); }
.section--rule { border-top: var(--line); }
.stack { display: flex; flex-direction: column; gap: 24px; }
.stack--l { gap: 56px; }
.split { display: flex; flex-wrap: wrap; gap: 40px 64px; }
.split > * { flex: 1 1 440px; min-width: 0; }
.split--end { align-items: flex-end; }

/* ---------- Type ---------- */
.display { font-size: clamp(48px, 7.4vw, 104px); line-height: 0.92; font-weight: 900; font-stretch: 125%; letter-spacing: -0.035em; }
.h1 { font-size: clamp(34px, 4.4vw, 58px); line-height: 1; font-weight: 900; font-stretch: 118%; letter-spacing: -0.025em; max-width: 17em; }
.h1--xl { font-size: clamp(44px, 6.4vw, 92px); line-height: 0.92; font-stretch: 125%; letter-spacing: -0.035em; }
.h3 { font-size: 23px; line-height: 1.15; font-weight: 800; font-stretch: 112%; letter-spacing: -0.01em; }
.lead { font-size: clamp(19px, 1.7vw, 22px); line-height: 1.5; font-weight: 500; max-width: 32em; }
.body { font-size: 19px; line-height: 1.6; max-width: 34em; }
.mono { font-family: var(--mono); font-weight: 500; }
.tag {
  align-self: flex-start; display: inline-block; padding: 6px 12px; border: var(--line);
  background: var(--signal); font-size: 15px; font-weight: 700; line-height: 1.3; box-shadow: var(--shadow-press);
}
.callout {
  padding: 20px 24px; background: var(--signal); border: var(--line); box-shadow: var(--shadow);
  font-size: 20px; line-height: 1.4; font-weight: 800; max-width: 30em;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 0 28px;
  border: var(--line); box-shadow: var(--shadow); font: inherit; font-size: 18px; font-weight: 800; text-decoration: none;
  color: var(--ink); transition: transform .08s ease, box-shadow .08s ease;
}
.btn:hover { transform: translate(3px, 3px); box-shadow: 3px 3px 0 var(--ink); }
.btn:active { transform: translate(6px, 6px); box-shadow: 0 0 0 var(--ink); }
.btn--s { min-height: 46px; padding: 0 18px; font-size: 16px; box-shadow: 4px 4px 0 var(--ink); }
.btn--s:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ink); }
.btn--orange { background: var(--signal); }
.btn--white { background: var(--paper); }
.btn--black { background: var(--ink); color: var(--paper); }
.btn--full { width: 100%; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--paper); border-bottom: var(--line); }
.nav { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; text-decoration: none; color: var(--ink); }
.brand__mark { width: 40px; height: 40px; display: grid; place-items: center; background: var(--signal); border: var(--line); box-shadow: var(--shadow-press); }
.brand__word { font-size: 24px; font-weight: 900; font-stretch: 125%; letter-spacing: -0.02em; }
.nav__links { display: flex; gap: 4px; list-style: none; padding: 0; margin: 0 auto 0 16px; }
.nav__links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; font-size: 16px; font-weight: 700; text-decoration: none; border: 3px solid transparent; }
.nav__links a:hover { border-color: var(--ink); background: var(--signal); }
.nav > .btn { margin-left: auto; }
.nav__links + .btn { margin-left: 0; }
@media (max-width: 900px) { .nav__links { display: none; } }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(56px, 8vw, 104px) clamp(72px, 9vw, 120px); }
.hero__grid { display: flex; flex-wrap: wrap; align-items: center; gap: 64px; }
.hero__copy { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.actions { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 4px; }

.cert { position: relative; flex: 1 1 400px; max-width: 480px; margin-inline: auto; background: var(--paper); border: var(--line); box-shadow: var(--shadow-l); }
.cert__bar { display: flex; justify-content: space-between; gap: 12px; padding: 12px 20px; background: var(--ink); color: var(--paper); font-size: 15px; font-weight: 700; }
.cert__body { padding: 24px 24px 28px; display: flex; flex-direction: column; gap: 18px; }
.cert__id { font-family: var(--mono); font-size: 20px; font-weight: 700; padding-right: 96px; }
.cert__kv { display: grid; grid-template-columns: minmax(92px, 118px) minmax(0, 1fr); border-top: var(--line); }
.cert__kv dt, .cert__kv dd { padding: 10px 0; border-bottom: 2px solid var(--ink); font-size: 16px; line-height: 1.35; }
.cert__kv dt { font-weight: 800; }
.cert__hash { display: flex; flex-direction: column; gap: 6px; }
.cert__hash .mono { font-size: 13px; line-height: 1.5; word-break: break-all; }
.cert__label { font-size: 15px; font-weight: 800; }
.sticker {
  position: absolute; top: 46px; right: -22px; width: 112px; height: 112px; border-radius: 50%;
  display: grid; place-items: center; background: var(--signal); border: var(--line); box-shadow: var(--shadow);
  font-size: 19px; font-weight: 900; font-stretch: 112%; transform: rotate(-12deg);
}
@media (max-width: 560px) { .sticker { right: 10px; top: 52px; width: 92px; height: 92px; font-size: 16px; } .cert__id { padding-right: 104px; font-size: 17px; } }

/* ---------- Workflow band ---------- */
.band { background: var(--signal); border-block: var(--line); }
.band__list { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; list-style: none; padding-block: 22px; }
.band__list li { display: inline-flex; align-items: center; gap: 14px; font-size: clamp(17px, 1.8vw, 22px); font-weight: 900; font-stretch: 112%; }
.band__list li::before { content: ""; width: 14px; height: 14px; background: var(--ink); flex: 0 0 auto; }

/* ---------- Cards ---------- */
.cards { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.cards--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr)); }
.card { display: flex; flex-direction: column; gap: 14px; padding: 28px; background: var(--paper); color: var(--ink); border: var(--line); box-shadow: var(--shadow); }
.card p { font-size: 17px; line-height: 1.55; }
.card--on-black { box-shadow: 8px 8px 0 var(--signal); border-color: var(--paper); }
.card__icon { width: 52px; height: 52px; display: grid; place-items: center; background: var(--signal); border: var(--line); }

/* ---------- Benefits ---------- */
.benefit { display: flex; flex-direction: column; gap: 20px; padding: 28px; background: var(--paper); border: var(--line); box-shadow: var(--shadow); }
.benefit__compare { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px 14px; align-items: baseline; border-top: var(--line); padding-top: 18px; }
.benefit__compare dd { font-size: 17px; line-height: 1.45; }
.benefit__compare dd:last-of-type { font-weight: 800; }
.benefit__label { justify-self: start; padding: 2px 8px; border: 2px solid var(--ink); font-size: 14px; font-weight: 800; white-space: nowrap; }
.benefit__label--after { background: var(--ink); color: var(--paper); }
.benefit__summary { align-self: flex-start; padding: 18px 24px; background: var(--ink); color: var(--paper); border: var(--line); box-shadow: 6px 6px 0 var(--paper);
  font-size: clamp(22px, 2.6vw, 32px); line-height: 1.2; font-weight: 900; font-stretch: 112%; }

/* ---------- Steps ---------- */
.steps { list-style: none; padding: 0; display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); counter-reset: none; }
.step { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 28px; border: var(--line); box-shadow: var(--shadow); background: var(--paper); }
.step p { font-size: 17px; line-height: 1.55; }
.step__num { width: 56px; height: 56px; display: grid; place-items: center; background: var(--ink); color: var(--paper); font-size: 28px; font-weight: 900; font-stretch: 125%; }
.step--last { background: var(--signal); }

/* ---------- Roles ---------- */
.roles { display: grid; gap: 0; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); border: var(--line); box-shadow: var(--shadow-l); }
.role { display: flex; flex-direction: column; gap: 14px; padding: 28px; border: 1.5px solid var(--ink); }
.role p { font-size: 18px; line-height: 1.5; }
.role__name { align-self: flex-start; padding: 4px 10px; background: var(--signal); border: var(--line); font-size: 20px; font-weight: 900; font-stretch: 112%; }

/* ---------- Contact ---------- */
.contact { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; padding: clamp(28px, 5vw, 56px); background: var(--signal); border: var(--line); box-shadow: 14px 14px 0 var(--ink); }
.contact__copy { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.contact__card { flex: 1 1 320px; max-width: 440px; display: flex; flex-direction: column; gap: 16px; padding: 28px; background: var(--paper); border: var(--line); box-shadow: var(--shadow); }
.contact__label { font-size: 16px; font-weight: 800; }
.contact__email { font-size: clamp(24px, 2.6vw, 32px); font-weight: 900; font-stretch: 112%; word-break: break-word; }
.contact__note { font-size: 15px; font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--paper); padding: 64px 0 32px; font-size: 16px; }
.site-footer a { color: var(--paper); }
.footer__top { display: flex; flex-wrap: wrap; gap: 40px 64px; }
.footer__brand { flex: 1 1 240px; display: flex; flex-direction: column; gap: 10px; }
.brand--footer { color: var(--paper); }
.footer__nav { flex: 3 1 600px; display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.footer__heading { font-weight: 900; font-stretch: 112%; margin-bottom: 12px; color: var(--signal); }
.footer__col ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer__col a { text-decoration: none; }
.footer__col a:hover { text-decoration: underline; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; margin-top: 48px; padding-top: 20px; border-top: 3px solid var(--paper); font-size: 15px; }

/* ---------- Mobile menu (no JavaScript: <details>) ---------- */
.menu { display: none; position: relative; margin-left: auto; }
.menu__toggle { list-style: none; cursor: pointer; display: inline-flex; align-items: center; min-height: 46px; padding: 0 16px; border: var(--line); background: var(--paper); font-weight: 800; box-shadow: 4px 4px 0 var(--ink); }
.menu__toggle::-webkit-details-marker { display: none; }
.menu[open] .menu__toggle { background: var(--signal); }
.menu__list { position: absolute; right: 0; top: calc(100% + 10px); z-index: 60; min-width: 240px; list-style: none; padding: 8px; margin: 0; background: var(--paper); border: var(--line); box-shadow: var(--shadow); }
.menu__list a { display: flex; align-items: center; min-height: 44px; padding: 0 12px; font-weight: 700; text-decoration: none; }
.menu__list a:hover, .menu__list a[aria-current="page"] { background: var(--signal); }
.nav__links a[aria-current="page"] { border-color: var(--ink); background: var(--signal); }
@media (max-width: 900px) { .menu { display: block; } .nav > .btn { margin-left: 0; } }
@media (max-width: 420px) { .nav > .btn { display: none; } }

/* ---------- Breadcrumbs ---------- */
.crumbs { padding-top: 24px; }
.crumbs ol { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: 15px; font-weight: 700; }
.crumbs li + li::before { content: "/"; margin-right: 6px; }
.crumbs a { text-decoration-thickness: 2px; }

/* ---------- Inner page hero ---------- */
.page-hero { padding-block: clamp(40px, 6vw, 72px) clamp(40px, 6vw, 64px); border-bottom: var(--line); }
.display--page { font-size: clamp(40px, 6vw, 84px); max-width: 15em; }
.meta { font-size: 15px; font-weight: 700; }

/* ---------- Article layout ---------- */
.prose-layout { display: flex; flex-wrap: wrap; gap: 40px 64px; align-items: flex-start; }
.toc { flex: 1 1 220px; max-width: 280px; position: sticky; top: 104px; padding: 20px; border: var(--line); box-shadow: var(--shadow); background: var(--paper); }
.toc__title { font-weight: 900; margin-bottom: 10px; }
.toc ol { padding-left: 20px; display: flex; flex-direction: column; gap: 8px; font-weight: 700; font-size: 16px; }
@media (max-width: 900px) { .toc { position: static; max-width: none; } }
.prose { flex: 999 1 560px; min-width: 0; max-width: 760px; }
.prose > * + * { margin-top: 18px; }
.prose h2 { margin-top: 48px; font-size: clamp(28px, 3vw, 38px); line-height: 1.1; font-weight: 900; font-stretch: 118%; letter-spacing: -0.02em; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { font-size: 19px; line-height: 1.6; }
.prose ul, .prose ol { padding-left: 24px; display: flex; flex-direction: column; gap: 10px; }
.checklist { list-style: none; padding-left: 0 !important; counter-reset: item; }
.checklist li { counter-increment: item; position: relative; padding: 14px 16px 14px 64px; border: var(--line); background: var(--paper); }
.checklist li::before { content: counter(item); position: absolute; left: 0; top: 0; bottom: 0; width: 48px; display: grid; place-items: center; background: var(--ink); color: var(--paper); font-weight: 900; }
.note { font-size: 16px !important; font-weight: 600; padding: 12px 16px; border: 2px dashed var(--ink); }
.callout--inline { max-width: none; }
.link-inverse { color: var(--paper); }

/* ---------- Tables ---------- */
.table-scroll { overflow-x: auto; border: var(--line); box-shadow: var(--shadow); }
.table-scroll table { width: 100%; min-width: 620px; border-collapse: collapse; font-size: 17px; line-height: 1.45; }
.table-scroll th, .table-scroll td { padding: 14px 16px; text-align: left; vertical-align: top; border-bottom: 2px solid var(--ink); }
.table-scroll thead th { background: var(--ink); color: var(--paper); font-weight: 800; }
.table-scroll tbody th { font-weight: 800; }
.table-scroll tbody tr:last-child > * { border-bottom: 0; }
.compare { min-width: 880px !important; }
.compare td.compare__us, .compare tbody td.compare__us { background: var(--signal); font-weight: 800; }
.compare thead th.compare__us { background: var(--signal); color: var(--ink); }

/* ---------- FAQ ---------- */
.faq { display: flex; flex-direction: column; gap: 32px; }
.faq__list { display: flex; flex-direction: column; gap: 16px; max-width: 900px; }
.faq__item { border: var(--line); box-shadow: var(--shadow); background: var(--paper); }
.faq__item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 20px; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; flex: 0 0 auto; width: 36px; height: 36px; display: grid; place-items: center; border: var(--line); font-weight: 900; font-size: 22px; background: var(--signal); }
.faq__item[open] summary::after { content: "−"; }
.faq__item[open] summary { border-bottom: var(--line); }
.faq__q { font-size: 20px; line-height: 1.25; font-weight: 800; font-stretch: 108%; }
.faq__a { padding: 18px 20px; font-size: 18px; line-height: 1.6; }
.faq__a > * + * { margin-top: 10px; }

/* ---------- Misc components ---------- */
.card--link { text-decoration: none; transition: transform .08s ease, box-shadow .08s ease; }
.card--link:hover { transform: translate(3px, 3px); box-shadow: 3px 3px 0 var(--ink); }
.card--on-black.card--link:hover { box-shadow: 3px 3px 0 var(--signal); }
.jump { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.jump a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border: var(--line); background: var(--paper); font-weight: 800; text-decoration: none; box-shadow: 4px 4px 0 var(--ink); }
.jump a:hover { background: var(--signal); }
.usecase-list { display: flex; flex-direction: column; gap: 32px; }
.usecase { display: flex; flex-direction: column; gap: 20px; padding: clamp(24px, 4vw, 40px); border: var(--line); box-shadow: var(--shadow-l); background: var(--paper); scroll-margin-top: 104px; }
.usecase--alt { background: var(--signal); }
.usecase .benefit__compare dd { font-size: 19px; }
.usecase--alt .benefit__label:not(.benefit__label--after) { background: var(--paper); }
.roles--single { grid-template-columns: 1fr; }
.contact__list { padding-left: 22px; display: flex; flex-direction: column; gap: 8px; font-size: 18px; font-weight: 600; }
