/* ==========================================================
   INCARNA inner pages: the homepage's rules, applied everywhere.
   Pure black, one type family, rules instead of boxes.
   Green only ever means "verified". Red only ever means "fake".
   White is the action colour.
   ========================================================== */
body { background: #000; }
::selection { background: #fff; color: #000; }

/* ---------- Actions are white, never green ---------- */
.btn--go { background: #fff; color: #000; }
.btn--go:hover { background: #dcdcd6; }
.btn--white { background: #fff; color: #000; }

/* ---------- Navigation, same as the homepage ---------- */
.nav--solid { background: rgba(0,0,0,.86); border-bottom-color: rgba(255,255,255,.1); -webkit-backdrop-filter: blur(16px) saturate(1.2); backdrop-filter: blur(16px) saturate(1.2); }
.nav__links a[aria-current="page"] { color: #fff; }
.nav .wordmark { letter-spacing: .32em; }

/* ---------- Type: one scale for every page ---------- */
.h-xl, .tpage__title, .ahead h1 { font-weight: 800; letter-spacing: -.048em; line-height: .98; }
.tpage__title { font-size: clamp(48px, 5.8vw, 96px); }
.tblock > h2 { font-weight: 800; letter-spacing: -.04em; font-size: clamp(34px, 3.6vw, 56px); }
.lede { color: #cfcfc9; }

/* ---------- "Proves / doesn't prove": a ruled statement, not a box ---------- */
.proves { border: 0; border-radius: 0; border-top: 2px solid #fff; overflow: visible; }
.proves > div { padding: 18px 28px 4px 0; }
.proves > div + div { border-left: 0; padding-left: 28px; box-shadow: inset 1px 0 0 rgba(255,255,255,.14); }
.proves h3 { font-size: 18px; letter-spacing: -.01em; }

/* ---------- FAQ: topic on the left, questions on the right ---------- */
.faqpage .tblock { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 20px clamp(40px, 7vw, 120px); align-items: start; margin-top: clamp(64px, 8vw, 104px); padding-top: 22px; border-top: 2px solid #fff; }
.faqpage .tblock > h2 { position: sticky; top: 104px; font-size: clamp(30px, 3vw, 44px); }
.faqpage .tpage__head + .tblock { margin-top: clamp(56px, 7vw, 88px); }
.faqlist { border-top: 0; }
.faqlist details { border-bottom: 1px solid rgba(255,255,255,.14); }
.faqlist details:first-child summary { padding-top: 4px; }
.faqlist summary { position: relative; display: block; list-style: none; cursor: pointer; padding: 22px 56px 22px 0; font-size: clamp(19px, 1.5vw, 22px); font-weight: 650; line-height: 1.35; letter-spacing: -.012em; color: #fff; }
.faqlist summary::-webkit-details-marker { display: none; }
.faqlist summary::before, .faqlist summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 16px; height: 2px; margin-top: -1px; border-radius: 1px; background: #fff; transition: transform .3s cubic-bezier(.2,.8,.2,1), opacity .2s ease; }
.faqlist details:first-child summary::before, .faqlist details:first-child summary::after { margin-top: -10px; }
.faqlist summary::after { transform: rotate(90deg); }
.faqlist details[open] summary::after { transform: rotate(0); opacity: 0; }
.faqlist summary:hover { color: #dcdcd6; }
.faqlist summary:focus-visible { outline: 2px solid #fff; outline-offset: 4px; border-radius: 4px; }
.faqlist .faqx__a { padding: 0 56px 26px 0; }
.faqlist .faqx__a p { font-size: 17.5px; line-height: 1.65; color: #cfcfc9; max-width: 66ch; }
.faqlist .faqx__a p + p { margin-top: 12px; }
.faqlist .faqx__a a { color: #fff; text-underline-offset: 3px; text-decoration-color: rgba(255,255,255,.4); }

/* ---------- Agents directory: a wall of portraits ---------- */
.page__head .h-xl { font-size: clamp(56px, 7vw, 120px); }
.seg { padding: 0; gap: 26px; border: 0; border-radius: 0; background: none; }
.seg span { white-space: nowrap; padding: 10px 0; border-radius: 0; font-size: 16px; color: #8f8f89; box-shadow: inset 0 -2px 0 transparent; transition: color .15s ease, box-shadow .15s ease; }
.seg span:hover { color: #fff; }
.seg input:checked + span { background: none; color: #fff; box-shadow: inset 0 -2px 0 #fff; }
.dirbar { padding-bottom: 14px; border-bottom: 1px solid rgba(255,255,255,.14); margin-bottom: 2px; }
.dirbar__search .input { border-radius: 999px; background: transparent; }
.gallery { gap: 2px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.tile { border-radius: 0; border: 0; aspect-ratio: 3 / 4.2; }
.tile img { object-position: 50% 22%; filter: saturate(.92); transition: transform .8s cubic-bezier(.2,.8,.2,1), filter .4s ease; }
.tile:hover img { filter: saturate(1.05); }
.tile::after { background: linear-gradient(0deg, rgba(0,0,0,.86) 0%, rgba(0,0,0,0) 48%); }
.tile__pill, .tile__tags { display: none; }
.tile__meta { left: 20px; right: 20px; bottom: 18px; }
.tile__name { font-weight: 800; font-size: 32px; letter-spacing: -.04em; }
.tile__line { color: #bdbdb7; }
.tile__line b { font-size: 13px; color: #8f8f89; }
.tile--new { border: 0; border-radius: 0; background: #0c0c0b; box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); }
.tile--new svg { color: #fff; }
.tile--new span { font-weight: 800; letter-spacing: -.035em; }
.gallery + .fine { margin-top: 20px; }

/* ---------- Agent page ---------- */
.ahead__avatar { box-shadow: 0 0 0 2px #000, 0 0 0 3px rgba(255,255,255,.3); }
.ahead__pq { background: none !important; border: 0 !important; padding: 0 !important; }
.stage { border-radius: 6px; }
.lpill { border-radius: 6px; }
.apanels { gap: 0; border-top: 2px solid #fff; }
.apanel { border: 0; border-radius: 0; background: none; padding: 22px 28px 8px 0; }
.apanel + .apanel { padding-left: 28px; box-shadow: inset 1px 0 0 rgba(255,255,255,.14); }
.traits li, .traits li:first-child { border-radius: 4px; background: transparent; border-color: rgba(255,255,255,.2); color: #e9e9e3; }
.more { margin-top: clamp(56px, 7vw, 96px); }
.more__head { padding-top: 18px; border-top: 2px solid #fff; }
.more__head h2 { font: 800 clamp(28px, 2.6vw, 40px)/1 var(--display); letter-spacing: -.04em; }
.more__row { gap: 2px; }
.more__row .tile { border-radius: 0; }
.pqid { border-radius: 6px; }

/* ---------- Launch an agent ---------- */
.steps li, .wiz__step { border-radius: 6px; }

/* ---------- Verify: the headline beside a paper checking sheet ---------- */
.page--verify { padding-top: clamp(112px, 12vw, 152px); }
.vx { max-width: none; }
.vx__top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 560px); grid-template-areas: "head sheet" "proves sheet"; grid-template-rows: auto 1fr; column-gap: clamp(40px, 6vw, 96px); align-items: start; }
.vx__head { grid-area: head; }
.vx__proves { grid-area: proves; }
.vx__sheet { grid-area: sheet; }
.vx__head .h-xl { font-size: clamp(52px, 6.2vw, 104px); max-width: 10ch; }
.vx__head .lede { margin-top: 24px; max-width: 48ch; }
.vx__proves .proves { margin-top: clamp(36px, 4vw, 56px); }
.vx__sheet { position: sticky; top: 104px; padding: clamp(22px, 2.4vw, 30px); border-radius: 10px; background: #eceee9; color: #0a0b09; box-shadow: 0 30px 80px -40px rgba(0,0,0,.8); }
.vx__label { display: block; font: 500 13.5px/1.4 var(--mono); color: #0a0b09; padding-bottom: 12px; border-bottom: 2px solid #0a0b09; }
.vx__input { display: block; width: 100%; min-height: 168px; margin-top: 16px; padding: 14px 16px; resize: vertical; border-radius: 8px; border: 1px solid rgba(10,11,9,.2); background: #f8f9f6; color: #0a0b09; font: 18px/1.55 var(--sans); }
.vx__input::placeholder { color: #8a8d85; }
.vx__input:focus { outline: 2px solid #0a0b09; outline-offset: 1px; }
.vx__sheet .vfy__form { margin-top: 0; gap: 0; }
.vx__sheet .vfy__actions { margin-top: 14px; }
.vx__sheet .vfy__hint { color: #5b5e57; }
.btn--ink { background: #0a0b09; color: #fff; }
.btn--ink:hover { background: #2a2b28; }
.vx__sheet .vfy__result { margin-top: 20px; padding: 18px 0 0; border: 0; border-top: 1px solid rgba(10,11,9,.16); border-radius: 0; background: none; color: #3d3f3a; }
.vx__sheet .vfy__result h2 { color: #0a0b09; font-size: 22px; letter-spacing: -.02em; }
.vx__sheet .vfy__result.is-good h2 { color: #0a7a2c; }
.vx__sheet .vfy__result.is-bad h2 { color: #c4271d; }
.vx__sheet .vfy__result.is-bad { box-shadow: inset 0 2px 0 #ff453a; border-top-color: transparent; }
.vx__sheet .vfy__result.is-good { box-shadow: inset 0 2px 0 #30d158; border-top-color: transparent; }
.vx__sheet .vfy__seal svg { color: #0a7a2c; }
.vx__sheet .vfy__quote { background: #fff; color: #0a0b09; border-left-color: #30d158; }
.vx__sheet .vfy__facts dt { color: #5b5e57; }
.vx__sheet .vfy__facts dd { color: #0a0b09; }
.vx__sheet .fine { color: #5b5e57; }
.vx__sheet .btn--line { color: #0a0b09; border-color: rgba(10,11,9,.3); }
.vx__sheet .btn--line:hover { border-color: #0a0b09; background: rgba(10,11,9,.04); }

.vx__block { margin-top: clamp(88px, 10vw, 144px); padding-top: 22px; border-top: 2px solid #fff; display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: 24px clamp(40px, 6vw, 96px); align-items: start; }
.vx__bhead h2 { font: 800 clamp(34px, 3.6vw, 56px)/1 var(--display); letter-spacing: -.045em; color: #fff; }
.vx__bhead .lede { margin-top: 16px; font-size: 18px; }
.vtests__list { margin: 0; border-top: 0; }
.vtests__list li { grid-template-columns: minmax(0, 1fr) minmax(0, 260px) auto; gap: 10px 28px; padding: 20px 0; border-bottom: 1px solid rgba(255,255,255,.14); }
.vtests__list li:first-child { padding-top: 4px; }
.vt__what { display: grid; gap: 4px; }
.vt__name { font-size: 20px !important; font-weight: 700 !important; letter-spacing: -.015em; color: #fff !important; }
.vt__what span { font-size: 16px; line-height: 1.5; color: #bdbdb7; }
.vt__out { font-size: 15px !important; font-weight: 650 !important; line-height: 1.4; color: #8f8f89 !important; }
.vt__out.is-good { color: #30d158 !important; }
.vt__out.is-bad { color: #ff7a71 !important; }
.vtests__list .btn { min-width: 112px; }
.vx__chain { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); counter-reset: ln; }
.vx__chain li { counter-increment: ln; position: relative; display: grid; align-content: start; gap: 8px; padding: 44px 22px 0 0; }
.vx__chain li::before { content: counter(ln); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid #fff; font: 700 13px/1 var(--sans); color: #fff; background: #000; z-index: 1; }
.vx__chain li::after { content: ""; position: absolute; left: 28px; right: 0; top: 14px; height: 1px; background: rgba(255,255,255,.3); }
.vx__chain li:last-child::after { display: none; }
.vx__chain b { font-size: 18px; letter-spacing: -.01em; color: #fff; }
.vx__chain span { font-size: 15.5px; line-height: 1.55; color: #bdbdb7; }
.vx__chain code { font: 500 13px/1.5 var(--mono); color: #e6e6e0; overflow-wrap: anywhere; }
.vx__fine { grid-column: 2; margin-top: 8px; font-size: 14.5px; line-height: 1.6; color: #8f8f89; max-width: 76ch; }
@media (max-width: 1100px) {
  .vx__top { grid-template-columns: 1fr; grid-template-areas: "head" "sheet" "proves"; }
  .vx__head { margin-bottom: 32px; }
  .vx__block { grid-template-columns: 1fr; }
  .vx__sheet { position: static; }
  .vx__fine { grid-column: 1; }
  .vx__chain { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
  .vx__chain li:nth-child(2)::after { display: none; }
}
@media (max-width: 720px) {
  .vtests__list li { grid-template-columns: 1fr auto; }
  .vt__what { grid-column: 1 / -1; }
  .vx__chain { grid-template-columns: 1fr; }
  .vx__chain li::after { display: none; }
  .vx__chain li { padding: 0 0 0 44px; }
}

/* ---------- Not found ---------- */
.nf { min-height: 100svh; display: grid; align-content: center; padding: 140px 0 96px; }
.nf__code { font: 500 15px/1.4 var(--mono); color: #8f8f89; }
.nf__title { margin-top: 18px; font: 800 clamp(56px, 9vw, 152px)/.92 var(--display); letter-spacing: -.055em; color: #fff; max-width: 12ch; }
.nf__lede { margin-top: 24px; font-size: clamp(18px, 1.45vw, 21px); line-height: 1.6; color: #cfcfc9; max-width: 50ch; }
.nf__cta { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 12px; }

@media (max-width: 900px) {
  .faqpage .tblock { grid-template-columns: 1fr; }
  .faqpage .tblock > h2 { position: static; }
  .apanels { grid-template-columns: 1fr; }
  .apanel, .apanel + .apanel { padding: 22px 0 18px; box-shadow: none; }
  .apanel + .apanel { border-top: 1px solid rgba(255,255,255,.14); }
  .proves { grid-template-columns: 1fr; }
  .proves > div + div { padding-left: 0; box-shadow: none; border-top: 1px solid rgba(255,255,255,.14); padding-top: 16px; }
}
@media (max-width: 720px) {
  .seg { gap: 20px; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile__name { font-size: 24px; }
  .tile__meta { left: 14px; right: 14px; bottom: 14px; }
  .tile__line span { display: none; }
  .faqlist summary { padding-right: 40px; }
  .faqlist .faqx__a { padding-right: 0; }
}

.footer__root code:empty { display: none; }

/* ---------- Vera Grades scanner ---------- */
.tpage__scan { display: inline-flex; align-items: center; gap: 8px; }
.tpage__scan::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: scanpulse 1.8s ease-in-out infinite; }
.scan__top { display: grid; gap: 22px; }
.scan__live { display: flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 600; color: #fff; min-height: 26px; }
.scan__live i { width: 9px; height: 9px; border-radius: 50%; background: #5d5d58; flex: none; }
.scan.is-live .scan__live i { background: #fff; animation: scanpulse 1.8s ease-in-out infinite; }
.scan.is-reading .scan__live i { animation-duration: .5s; }
@keyframes scanpulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(255,255,255,.5); } 50% { box-shadow: 0 0 0 6px rgba(255,255,255,0); } }
.scan__stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; border-top: 1px solid rgba(255,255,255,.14); }
.scan__stats div { padding: 16px 20px 0 0; }
.scan__stats div + div { padding-left: 20px; box-shadow: inset 1px 0 0 rgba(255,255,255,.1); }
.scan__stats dt { font-size: 14px; color: #8f8f89; }
.scan__stats dd { margin: 6px 0 0; font-size: clamp(20px, 1.8vw, 26px); font-weight: 700; letter-spacing: -.02em; color: #fff; font-variant-numeric: tabular-nums; }
.scan__stats dd a { color: #fff; text-decoration-color: rgba(255,255,255,.35); text-underline-offset: 4px; }
.scan__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); margin-top: clamp(32px, 4vw, 48px); }
.scan__col h3, .scan__api h3 { font-size: 18px; font-weight: 700; letter-spacing: -.01em; color: #fff; padding-bottom: 12px; border-bottom: 2px solid #fff; }
.scan__log, .scan__events { list-style: none; margin: 0; padding: 0; }
.scan__log li { display: grid; grid-template-columns: 78px minmax(0, 1fr) minmax(0, 200px); gap: 14px; align-items: baseline; padding: 11px 0; border-bottom: 1px solid rgba(255,255,255,.1); font-size: 15px; }
.scan__log time { font: 500 13px/1.4 var(--mono); color: #8f8f89; font-variant-numeric: tabular-nums; }
.scan__who { min-width: 0; display: grid; gap: 2px; }
.scan__who b { color: #fff; font-weight: 650; }
.scan__who a { color: #8f8f89; font-size: 13.5px; text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.scan__who a:hover { color: #fff; text-decoration: underline; }
.scan__st { text-align: right; color: #bdbdb7; font-weight: 600; }
.scan__st small { display: block; font-weight: 400; font-size: 13px; color: #8f8f89; margin-top: 2px; }
.scan__log .is-same .scan__st { color: #8f8f89; font-weight: 500; }
.scan__log .is-new .scan__st { color: #fff; }
.scan__log .is-pending .scan__st, .scan__log .is-changed .scan__st { color: #ffc24d; }
.scan__log .is-down .scan__st { color: #8f8f89; }
.scan__log li.is-fresh { animation: scanfresh 1.6s ease-out; }
@keyframes scanfresh { from { background: rgba(255,255,255,.09); } to { background: transparent; } }
.scan__empty { padding: 16px 0; color: #8f8f89; font-size: 15px; border-bottom: 1px solid rgba(255,255,255,.1); }
.scan__ev { padding: 16px 0 16px 16px; border-bottom: 1px solid rgba(255,255,255,.1); box-shadow: inset 2px 0 0 rgba(255,255,255,.2); }
.scan__ev--changed, .scan__ev--entries { box-shadow: inset 2px 0 0 #ffc24d; }
.scan__ev--gone { box-shadow: inset 2px 0 0 #8f8f89; }
.scan__evhead { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.scan__evhead b { font-size: 17px; color: #fff; }
.scan__evhead span { font-size: 14px; font-weight: 650; color: #ffc24d; }
.scan__ev--baseline .scan__evhead span { color: #bdbdb7; }
.scan__evhead time { margin-left: auto; font-size: 13px; color: #8f8f89; }
.scan__ev p { margin-top: 6px; font-size: 15px; line-height: 1.55; color: #cfcfc9; }
.scan__ev .scan__new { color: #fff; }
.scan__ev .scan__new a { color: #fff; text-underline-offset: 3px; }
.scan__hash { font-size: 13px !important; color: #8f8f89 !important; }
.scan__hash code { font: 500 13px/1.4 var(--mono); color: #d8d8d2; }
.scan__links { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px !important; }
.scan__links a { color: #fff; text-underline-offset: 3px; text-decoration-color: rgba(255,255,255,.35); }
.scan__api { margin-top: clamp(40px, 5vw, 64px); }
.scan__api > p { margin-top: 14px; font-size: 16px; color: #cfcfc9; }
.scan__api > p a { color: #fff; }
.scan__ep { margin: 18px 0 0; }
.scan__ep div { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 6px 28px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.scan__ep dt code { font: 500 14px/1.5 var(--mono); color: #fff; }
.scan__ep dd { margin: 0; font-size: 15.5px; line-height: 1.55; color: #bdbdb7; }
.scan__ep dd code { font: 500 13.5px/1.4 var(--mono); color: #e6e6e0; }
.scan__curl { margin-top: 20px; padding: 16px 18px; border-radius: 8px; background: #0e0e0d; box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); overflow-x: auto; }
.scan__curl code { font: 500 14px/1.5 var(--mono); color: #e6e6e0; white-space: pre; }
.scan .tnote { margin-top: 28px; }
@media (max-width: 1000px) {
  .scan__grid { grid-template-columns: 1fr; }
  .scan__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .scan__stats div:nth-child(3) { padding-left: 0; box-shadow: none; }
  .scan__ep div { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .scan__log li { grid-template-columns: 64px minmax(0, 1fr); }
  .scan__st { grid-column: 2; text-align: left; }
}
@media (prefers-reduced-motion: reduce) { .scan.is-live .scan__live i, .tpage__scan::before, .scan__log li.is-fresh { animation: none; } }
.scan__live span { overflow-wrap: anywhere; }
@media (max-width: 600px) { .scan__log li:nth-child(n+8) { display: none; } .scan__live { align-items: flex-start; } .scan__live i { margin-top: 7px; } }
