/*
 * The main landing (www.fingertrackid.com and its language pages). Promoted from the /4/ A/B
 * variant (site-variant-fingerprint-nodemo) on 2026-10-28; the language menu and list at the end
 * come from the previous landing.css, which the pricing page still uses.
 */
/*
 * A/B landing variant, structure inspired by fingerprint.com: a framed page split into cells by
 * hairlines, mono kickers ending in "_", one highlighted word per heading. Colors, type, space and
 * shape come only from tokens.css (a copy of the main landing's tokens). Nothing is shared with
 * site/ or with the other variants.
 */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink-1);
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
h1,
h2,
h3,
p,
ul,
ol,
dl,
dd,
pre {
  margin: 0;
}
ul,
ol {
  padding: 0;
  list-style: none;
}
img,
svg {
  display: block;
}
a {
  color: inherit;
}
.mono,
code,
pre {
  font-family: var(--font-mono);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 100;
  background: var(--indigo);
  color: var(--ink-on-indigo);
  padding: 8px 12px;
  border-radius: var(--r-btn);
}
.skip:focus {
  top: 12px;
}
:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
  border-radius: var(--r-inner);
}

/* ---------------------------------------------------------------- type */
.hl {
  color: var(--indigo);
}
.label {
  font: 500 var(--fs-label) / 1.3 var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-3);
}
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: var(--fs-small) var(--font-mono);
  color: var(--ink-3);
}
.kicker::before {
  content: "";
  width: 12px;
  height: 12px;
  border: 1.5px solid var(--rule-strong);
  border-radius: 2px;
  background: linear-gradient(var(--rule-strong), var(--rule-strong)) center / 6px 1.5px no-repeat;
}
.kicker--band {
  color: rgb(247 245 240 / 0.6);
}
.kicker--band::before {
  border-color: rgb(247 245 240 / 0.4);
  background: none;
}
.h2 {
  font-size: clamp(1.875rem, 1.25rem + 2vw, 2.875rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
  font-weight: 500;
  text-wrap: balance;
}
.h3 {
  font-size: var(--fs-body);
  font-weight: 600;
}
.lead {
  color: var(--ink-2);
  font-size: var(--fs-body);
  max-width: 52ch;
}
.lead b {
  color: var(--ink-1);
  font-weight: 600;
}

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 40px;
  padding: 0 16px;
  border-radius: var(--r-btn);
  border: 1px solid transparent;
  font: 600 var(--fs-small) / 1 var(--font-sans);
  text-decoration: none;
  cursor: pointer;
  transition:
    background-color 150ms var(--ease),
    border-color 150ms var(--ease),
    color 150ms var(--ease);
  white-space: nowrap;
}
.btn--sm {
  height: 34px;
  padding: 0 12px;
  font-size: 0.8125rem;
}
.btn--primary {
  background: var(--indigo);
  color: var(--ink-on-indigo);
}
.btn--primary:hover {
  background: var(--indigo-hover);
}
.btn--primary:active {
  background: var(--indigo-active);
}
.btn--outline {
  background: var(--panel);
  color: var(--ink-1);
  border-color: var(--rule-strong);
}
.btn--outline:hover {
  border-color: var(--indigo);
  color: var(--indigo);
}
.icon-btn {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--rule);
  background: var(--panel);
  color: var(--ink-2);
  border-radius: var(--r-btn);
  cursor: pointer;
  padding: 0;
}
.icon-btn:hover {
  color: var(--ink-1);
  border-color: var(--rule-strong);
}

/* ---------------------------------------------------------------- frame */
.frame {
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
  border-inline: var(--hairline);
}
.cell {
  position: relative;
  padding: clamp(28px, 4vw, 56px);
  border-bottom: var(--hairline);
}
.dots {
  background-image: radial-gradient(var(--rule) 1px, transparent 1px);
  background-size: 14px 14px;
}

/* Grid and flex items default to min-width: auto, so one long <pre> or nowrap <code> would widen
   its track past the viewport. Every cell may shrink; long code scrolls inside its own box. */
.cell,
.cell > *,
.pair > *,
.split > *,
.duo > *,
.cta > *,
.story__grid > *,
.dev__card > * {
  min-width: 0;
}
pre {
  max-width: 100%;
}

/* ---------------------------------------------------------------- nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: var(--hairline);
}
.nav__in {
  display: flex;
  align-items: center;
  gap: var(--sp-6);
  height: var(--nav-h);
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.wordmark__id {
  color: var(--indigo);
}
.nav__links {
  display: flex;
  gap: var(--sp-5);
}
.nav__links a,
.nav__mobile a:not(.btn) {
  text-decoration: none;
  font-size: var(--fs-small);
  color: var(--ink-2);
}
.nav__links a {
  white-space: nowrap;
}
.nav__links a:hover {
  color: var(--ink-1);
}
.nav__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}
/* Returning customers: a text link, so it never competes with "Create account" (the conversion
   CTA). Same height as `.btn--sm`, so the row stays aligned and the target stays 34 px tall. */
.nav__signin {
  display: inline-flex;
  align-items: center;
  height: 34px;
  padding: 0 10px;
  font: 600 0.8125rem / 1 var(--font-sans);
  color: var(--ink-1);
  text-decoration: none;
  white-space: nowrap;
  border-radius: var(--r-btn);
}
.nav__signin:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.nav__mobile a.nav__mobile-signin {
  color: var(--ink-1);
  font-weight: 600;
}
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
}
.nav__burger span {
  display: block;
  width: 15px;
  height: 1.5px;
  background: var(--ink-1);
  transition: transform 200ms var(--ease);
}
.nav__burger[aria-expanded="true"] span:first-child {
  transform: translateY(3.25px) rotate(45deg);
}
.nav__burger[aria-expanded="true"] span:last-child {
  transform: translateY(-3.25px) rotate(-45deg);
}
.nav__mobile {
  display: none;
  gap: var(--sp-4);
  padding: var(--sp-4) var(--gutter) var(--sp-6);
  border-top: var(--hairline);
}

/* ---------------------------------------------------------------- hero */
.hero {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: var(--sp-5);
  padding-top: clamp(48px, 6vw, 88px);
  background-image: radial-gradient(var(--rule) 1px, transparent 1px);
  background-size: 14px 14px;
  background-position: center top;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(70% 55% at 50% 30%, var(--paper) 40%, transparent 100%);
  pointer-events: none;
}
.hero > * {
  position: relative;
}
.news {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 4px 12px 4px 4px;
  border: var(--hairline);
  border-radius: var(--r-pill);
  background: var(--panel);
  text-decoration: none;
  font-size: 0.8125rem;
  color: var(--ink-1);
  transition: border-color 150ms var(--ease);
}
.news:hover {
  border-color: var(--indigo-edge);
}
.news__tag {
  padding: 2px 8px;
  border-radius: var(--r-pill);
  background: var(--indigo-tint);
  color: var(--indigo);
  font: 500 var(--fs-label) var(--font-mono);
}
.news__more {
  color: var(--ink-3);
}
.hero__title {
  font-size: clamp(2.75rem, 1.2rem + 5.2vw, 5.25rem);
  line-height: 1;
  letter-spacing: -0.04em;
  font-weight: 500;
}
.hero__lead {
  max-width: 60ch;
  color: var(--ink-2);
  font-size: var(--fs-lead);
  text-wrap: balance;
}

.install {
  width: min(100%, 680px);
  border: var(--hairline);
  border-radius: var(--r-panel);
  background: var(--panel);
  text-align: left;
  box-shadow: 0 12px 32px -24px rgb(20 24 43 / 0.35);
  overflow: hidden;
}
.install__tabs {
  display: flex;
  gap: 4px;
  padding: 0 12px;
  border-bottom: var(--hairline);
}
.install__tabs button {
  position: relative;
  padding: 12px 10px;
  border-radius: 0;
}
.install__tabs button::after {
  content: "";
  position: absolute;
  inset: auto 10px -1px;
  height: 2px;
  border-radius: 2px;
  background: var(--indigo);
  transform: scaleX(0);
  transition: transform 200ms var(--ease);
}
.install__tabs [aria-selected="true"]::after {
  transform: scaleX(1);
}
.install__tabs button,
.demo__tabs button,
.seg button {
  border: 0;
  background: transparent;
  padding: 6px 12px;
  border-radius: var(--r-inner);
  font: 500 0.8125rem var(--font-mono);
  color: var(--ink-3);
  cursor: pointer;
}
.install__tabs button:hover,
.demo__tabs button:hover,
.seg button:hover {
  color: var(--ink-1);
}
.install__tabs [aria-selected="true"] {
  color: var(--ink-1);
}
.demo__tabs [aria-selected="true"],
.seg [aria-selected="true"] {
  background: var(--indigo-tint);
  color: var(--indigo);
}
.install__pane {
  display: grid;
  gap: 10px;
  padding: 16px 16px 18px;
}
.install__pane[hidden] {
  display: none;
}
.install__hint {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--ink-3);
}
.install__line {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 12px 12px 14px;
  border-radius: var(--r-inner);
  background: var(--paper-sunken);
  /* Two lines tall at least, so switching tabs does not move the page below. */
  min-height: calc(var(--fs-code) * 1.6 * 2 + 24px);
}
.install__glyph {
  flex: none;
  font: 500 var(--fs-code) / 1.6 var(--font-mono);
  color: var(--indigo);
  user-select: none;
}
.install__line code {
  flex: 1;
  min-width: 0;
  font-size: var(--fs-code);
  line-height: 1.6;
  color: var(--ink-1);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.install__line .copy {
  margin-top: -3px;
}
/* On a phone the command gets the whole width and Copy drops below it. */
@media (max-width: 560px) {
  .install__line {
    flex-wrap: wrap;
  }
  .install__line code {
    flex-basis: calc(100% - 24px);
  }
  .install__line .copy {
    margin: 0 0 0 auto;
  }
}
.copy {
  flex: none;
  height: 30px;
  padding: 0 12px;
  border: var(--hairline-strong);
  background: var(--paper);
  border-radius: var(--r-btn);
  font: 500 var(--fs-label) var(--font-mono);
  color: var(--ink-2);
  cursor: pointer;
}
.copy:hover {
  color: var(--indigo);
  border-color: var(--indigo);
}
.copy.is-done {
  color: var(--sem-cool);
  border-color: var(--sem-cool);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.hero__note {
  max-width: 52ch;
  font-size: var(--fs-small);
  color: var(--ink-2);
  text-wrap: balance;
}
.hero__dev {
  font: 500 0.8125rem var(--font-mono);
  color: var(--indigo);
  text-decoration: none;
}
.hero__dev:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* demo panel */
.demo {
  width: 100%;
  max-width: 980px;
  margin-top: var(--sp-6);
  text-align: left;
  background: var(--panel);
  border: var(--hairline);
  border-radius: var(--r-panel);
  box-shadow: 0 32px 64px -40px rgb(20 24 43 / 0.45);
  overflow: hidden;
}
.demo__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border-bottom: var(--hairline);
}
.demo__hello {
  font-weight: 600;
  font-size: var(--fs-body);
  overflow-wrap: anywhere;
}
.demo__hello .mono {
  font-weight: 500;
  font-size: var(--fs-small);
}
.demo__score {
  display: grid;
  justify-items: end;
  gap: 2px;
  padding: 6px 12px;
  border: 1px solid currentColor;
  border-radius: var(--r-panel);
  color: var(--escala-100);
  transition: color 200ms var(--ease);
}
.demo__score .label {
  color: inherit;
  opacity: 0.8;
}
.demo__score-n {
  font: 600 1.25rem / 1 var(--font-sans);
  font-variant-numeric: tabular-nums;
}
.demo__score[data-null] {
  color: var(--escala-nula);
  border-style: dashed;
}
.demo__tabs-label {
  align-self: center;
  margin-right: 6px;
}
.demo__tabs [data-local] {
  margin-right: 12px;
}
.demo__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  padding: 6px 14px;
  border-bottom: var(--hairline);
  background: var(--paper);
}
.demo__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: var(--hairline);
}
.demo__stats div {
  display: grid;
  gap: 6px;
  padding: 14px 20px;
  border-right: var(--hairline);
}
.demo__stats div:last-child {
  border-right: 0;
}
.demo__stats dd {
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.demo__stats dd[data-tone="ok"] {
  color: var(--sem-cool);
}
.demo__stats dd[data-tone="warn"] {
  color: var(--sem-warm);
}
.demo__body {
  display: grid;
  grid-template-columns: 260px 1fr;
}
.demo__why {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 18px 20px;
  border-right: var(--hairline);
}
.demo__why .label:not(:first-child) {
  margin-top: 10px;
}
.demo__why .mono {
  font-size: var(--fs-small);
}
.codes {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.codes li {
  font: var(--fs-label) var(--font-mono);
  padding: 3px 8px;
  border-radius: var(--r-inner);
  background: var(--indigo-tint);
  color: var(--sig-presente);
  overflow-wrap: anywhere;
}
.codes--warn li {
  background: color-mix(in srgb, var(--sem-warm) 10%, var(--panel));
  color: var(--sem-warm);
}
.codes li.codes__none {
  background: transparent;
  color: var(--ink-3);
  padding-left: 0;
}
.demo__signals {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.demo__signals li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 9px 20px;
  border-bottom: var(--hairline);
  font-size: var(--fs-label);
}
.demo__signals li:nth-child(odd) {
  border-right: var(--hairline);
}
.demo__signals .mono {
  color: var(--ink-2);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.st {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 8px;
  border-radius: var(--r-pill);
  font: 500 var(--fs-label) var(--font-sans);
  background: var(--paper-deep);
  color: var(--ink-2);
}
[data-state="DETECTED"] .st {
  background: var(--sig-presente);
  color: var(--ink-on-indigo);
}
[data-state="NOT_EVALUATED"] .st {
  background: transparent;
  border: 1px dashed var(--rule-strong);
  color: var(--ink-3);
}
.demo__note {
  padding: 12px 20px;
  font: var(--fs-label) var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink-3);
  text-align: center;
}
.demo [data-f] {
  transition: opacity 180ms var(--ease);
}
.demo.is-swapping [data-f] {
  opacity: 0.25;
}

/* ---------------------------------------------------------------- strip */
/* Contract numbers: each count beside the published values it stands for, in the frame's hairline
   grid. Six across on desktop, three on tablet, two on phones. */
.proof {
  border-bottom: var(--hairline);
}
.proof__title {
  padding: var(--sp-6) clamp(28px, 4vw, 56px) var(--sp-5);
  text-align: center;
  border-bottom: var(--hairline);
}
.proof__grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}
.proof__cell {
  display: grid;
  align-content: start;
  justify-items: center;
  gap: 6px;
  text-align: center;
  padding: var(--sp-5) clamp(16px, 1.6vw, 24px) var(--sp-6);
  border-right: var(--hairline);
  transition: background-color 200ms var(--ease);
}
.proof__cell:last-child {
  border-right: 0;
}
.proof__cell:hover {
  background: var(--paper-deep);
}
.proof__n {
  margin: 0;
  font: 600 clamp(2.25rem, 1.6rem + 1.6vw, 3.25rem) / 1 var(--font-sans);
  letter-spacing: -0.04em;
  color: var(--ink-1);
  font-variant-numeric: tabular-nums;
}
.proof__cell:hover .proof__n {
  color: var(--indigo);
}
.proof__what {
  margin: 0;
  font-weight: 500;
  color: var(--ink-1);
}
.proof__how {
  margin: 4px 0 0;
  font-size: var(--fs-label);
  line-height: 1.55;
  color: var(--ink-3);
  overflow-wrap: anywhere;
}
@media (max-width: 1180px) {
  .proof__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .proof__cell:nth-child(3n) {
    border-right: 0;
  }
  .proof__cell:nth-child(-n + 3) {
    border-bottom: var(--hairline);
  }
}
@media (max-width: 720px) {
  .proof__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .proof__cell:nth-child(3n) {
    border-right: var(--hairline);
  }
  .proof__cell:nth-child(2n) {
    border-right: 0;
  }
  .proof__cell:nth-child(-n + 4) {
    border-bottom: var(--hairline);
  }
}

/* ---------------------------------------------------------------- known-fraud database */
/* Copy and the four kinds on the left, an illustrative lookup on the right. A match is indigo,
   never red: a hit corroborates the score, it is not a verdict. */
.intel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
}
.intel__copy {
  display: grid;
  gap: var(--sp-4);
  justify-items: start;
}
.intel__kinds {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: 100%;
  margin: var(--sp-2) 0 0;
  padding: 0;
  list-style: none;
  border-top: var(--hairline);
  border-left: var(--hairline);
}
.intel__kinds li {
  display: grid;
  gap: 4px;
  padding: var(--sp-4);
  border-right: var(--hairline);
  border-bottom: var(--hairline);
  transition: background-color 200ms var(--ease);
}
.intel__kinds li:hover {
  background: var(--paper-deep);
}
.intel__kinds b {
  color: var(--ink-1);
  font-weight: 600;
}
.intel__kinds li > span:last-child {
  font-size: var(--fs-small);
  color: var(--ink-2);
}
.intel__visual {
  display: grid;
  gap: var(--sp-3);
}
.lookup {
  overflow: hidden;
  background: var(--paper);
  border: var(--hairline);
  border-radius: 10px;
  box-shadow: 0 24px 60px -30px rgb(11 13 20 / 0.35);
}
.lookup__bar {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  font-size: var(--fs-label);
  color: var(--ink-3);
  background: var(--paper-sunken);
  border-bottom: var(--hairline);
}
.lookup__rows {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: var(--fs-label);
}
.lookup__rows li {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  border-bottom: var(--hairline);
  color: var(--ink-3);
  animation: lookup-in 500ms var(--ease) both;
}
.lookup__rows li:nth-child(2) {
  animation-delay: 120ms;
}
.lookup__rows li:nth-child(3) {
  animation-delay: 240ms;
}
.lookup__rows li:nth-child(4) {
  animation-delay: 360ms;
}
.lookup__v {
  overflow: hidden;
  color: var(--ink-1);
  text-overflow: ellipsis;
  white-space: nowrap;
}
.lookup__rows .is-hit .lookup__r {
  padding: 2px 8px;
  color: var(--indigo);
  background: var(--indigo-tint);
  border: 1px solid var(--indigo-edge);
  border-radius: 999px;
}
.lookup__out {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
}
.lookup__score {
  display: grid;
  margin: 0;
  font-size: var(--fs-label);
  color: var(--ink-3);
}
.lookup__score b {
  font: 600 2.25rem / 1 var(--font-sans);
  letter-spacing: -0.04em;
  color: var(--escala-40);
}
.lookup__why {
  display: grid;
  gap: 4px;
  margin: 0;
  font-size: var(--fs-small);
  color: var(--ink-2);
}
.lookup__why .mono {
  font-size: var(--fs-label);
  color: var(--ink-3);
}
@keyframes lookup-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .lookup__rows li {
    animation: none;
  }
}
@media (max-width: 1024px) {
  .intel {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 520px) {
  .intel__kinds {
    grid-template-columns: minmax(0, 1fr);
  }
  .lookup__rows li {
    grid-template-columns: 64px minmax(0, 1fr);
  }
  .lookup__r {
    grid-column: 2;
    justify-self: start;
  }
}

/* ---------------------------------------------------------------- not evaluated, named */
/* Under the JSON box: a coverage reading. Absence is never painted as a pass or a failure. */
.nev {
  display: grid;
  gap: var(--sp-3);
  width: 100%;
  margin-top: var(--sp-2);
}
.nev__cov {
  display: grid;
  gap: 10px;
  padding: var(--sp-4);
  border: var(--hairline);
  border-radius: 10px;
  background: var(--paper-sunken);
}
.nev__cov > .mono {
  margin: 0;
  font-size: var(--fs-label);
  color: var(--ink-3);
}
.nev__cov > .mono b {
  color: var(--ink-1);
  font-weight: 500;
}
.nev__bar {
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--rule);
}
.nev__bar span {
  display: block;
  width: var(--cov);
  height: 100%;
  border-radius: inherit;
  background: var(--indigo);
}
.nev__read {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 0;
}
.nev__read b {
  font: 600 1.75rem / 1 var(--font-sans);
  letter-spacing: -0.03em;
  color: var(--ink-1);
}
.nev__read span {
  font-size: var(--fs-small);
  color: var(--ink-2);
}
/* ---------------------------------------------------------------- split (use cases) */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 0;
}
.split__copy {
  display: grid;
  align-content: start;
  gap: var(--sp-4);
  padding: clamp(28px, 4vw, 56px);
  border-right: var(--hairline);
}
.accordion {
  margin: var(--sp-4) calc(-1 * clamp(28px, 4vw, 56px)) calc(-1 * clamp(28px, 4vw, 56px));
  border-top: var(--hairline);
}
.acc {
  border-bottom: var(--hairline);
}
.acc:last-child {
  border-bottom: 0;
}
.acc h3 {
  margin: 0;
}
.acc button {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 18px clamp(28px, 4vw, 56px);
  border: 0;
  background: transparent;
  font: 500 var(--fs-body) var(--font-sans);
  color: var(--ink-1);
  text-align: left;
  cursor: pointer;
}
.acc button:hover {
  background: var(--paper-deep);
}
.acc__ico {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: var(--r-btn);
  background: var(--indigo-tint);
}
.acc__ico svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: var(--indigo);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.acc__chev {
  margin-left: auto;
  width: 8px;
  height: 8px;
  border-right: 1.5px solid var(--ink-3);
  border-bottom: 1.5px solid var(--ink-3);
  rotate: 45deg;
  translate: 0 -2px;
  transition: rotate 200ms var(--ease);
}
.acc button[aria-expanded="true"] .acc__chev {
  rotate: 225deg;
  translate: 0 2px;
}
.acc__body {
  padding: 0 clamp(28px, 4vw, 56px) 20px calc(clamp(28px, 4vw, 56px) + 40px);
  color: var(--ink-2);
  font-size: var(--fs-small);
}
.acc__body[hidden] {
  display: none;
}
.split__visual {
  display: grid;
  place-items: center;
  gap: 40px;
  padding: clamp(28px, 4vw, 56px);
  background-image: radial-gradient(var(--rule) 1px, transparent 1px);
  background-size: 14px 14px;
}
.phone {
  position: relative;
  display: grid;
  gap: 10px;
  width: 260px;
  padding: 40px 20px 28px;
  background: var(--panel);
  border: 1px solid var(--rule-strong);
  border-radius: 28px;
  box-shadow: 0 32px 64px -32px rgb(20 24 43 / 0.4);
}
.phone__notch {
  position: absolute;
  top: 12px;
  left: 50%;
  translate: -50% 0;
  width: 72px;
  height: 16px;
  border-radius: var(--r-pill);
  background: var(--paper-deep);
}
.phone__brand {
  display: flex;
  align-items: center;
  gap: 6px;
  font: 600 0.8125rem var(--font-sans);
  color: var(--indigo);
}
.phone__title,
.browser__title {
  font-weight: 600;
  margin-bottom: 4px;
}
.phone__field {
  display: block;
  padding: 9px 10px;
  border: var(--hairline-strong);
  border-radius: var(--r-btn);
  font-size: 0.8125rem;
  color: var(--ink-3);
}
.phone__btn {
  display: block;
  padding: 10px;
  border-radius: var(--r-btn);
  background: var(--indigo);
  color: var(--ink-on-indigo);
  text-align: center;
  font: 600 0.8125rem var(--font-sans);
}
.phone__chip {
  position: absolute;
  right: -64px;
  bottom: -22px;
  display: grid;
  gap: 2px;
  padding: 10px 12px;
  min-width: 170px;
  background: var(--panel);
  border: 1px solid var(--indigo-edge);
  border-radius: var(--r-panel);
  box-shadow: 0 16px 32px -20px rgb(20 24 43 / 0.5);
  font-size: var(--fs-label);
  transition:
    opacity 200ms var(--ease),
    transform 200ms var(--ease);
}
.phone__chip b {
  font: 600 var(--fs-small) var(--font-mono);
  color: var(--indigo);
}
.phone__chip.is-swapping {
  opacity: 0;
  transform: translateY(6px);
}
/* The real console in a browser window: one screen per use case, crossfaded. */
/* The real console in a browser window: the open use case's screens play in turn, with a ring on
   what matters and a caption under the window. On wide screens the visual column grows and the
   window bleeds 24px off the right edge of the frame. */
.split:has(.app) {
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
}
.split__visual:has(.app) {
  padding: clamp(28px, 4vw, 56px) 0 clamp(28px, 4vw, 56px) clamp(24px, 3vw, 44px);
  gap: 20px;
  overflow: hidden;
  justify-items: start;
}
.app {
  width: calc(100% + 24px);
  background: var(--panel);
  border: 1px solid var(--rule-strong);
  border-right: 0;
  border-radius: var(--r-panel) 0 0 var(--r-panel);
  box-shadow: 0 40px 80px -40px rgb(20 24 43 / 0.45);
  overflow: hidden;
}
.app__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 9px 12px;
  border-bottom: var(--hairline);
  background: var(--paper-deep);
}
.app__bar span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--rule-strong);
}
.app__bar p {
  margin: 0 0 0 10px;
  font-size: var(--fs-label);
  color: var(--ink-3);
}
.app__screens {
  position: relative;
  display: grid;
}
.app__shot {
  grid-area: 1 / 1;
  margin: 0;
  opacity: 0;
  transform: scale(1.015);
  transition:
    opacity 360ms var(--ease),
    transform 360ms var(--ease);
}
.app__shot[data-active] {
  opacity: 1;
  transform: none;
}
.app__img {
  display: block;
  width: 100%;
  height: auto;
}
.app__img--dark,
:root[data-theme="dark"] .app__img--light {
  display: none;
}
:root[data-theme="dark"] .app__img--dark {
  display: block;
}
.app__hl {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
/* The native component of the frame, cut from the same capture, lifted above the screen. */
.app__hl::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgb(20 24 43 / 0.12);
  opacity: 0;
  transition: opacity 360ms var(--ease);
}
:root[data-theme="dark"] .app__hl::before {
  background: rgb(4 6 12 / 0.3);
}
.app[data-lifted] .app__hl::before {
  opacity: 1;
}
.app__pop {
  position: absolute;
  display: block;
  border-radius: 6px;
  transform: scale(var(--pop-scale, 1.06));
  box-shadow:
    0 0 0 1px rgb(20 24 43 / 0.08),
    0 18px 40px -12px rgb(20 24 43 / 0.45),
    0 4px 12px -4px rgb(20 24 43 / 0.25);
  animation: app-pop 420ms var(--ease) both;
}
:root[data-theme="dark"] .app__pop {
  box-shadow:
    0 0 0 1px rgb(255 255 255 / 0.1),
    0 22px 48px -12px rgb(0 0 0 / 0.75),
    0 4px 14px -4px rgb(0 0 0 / 0.5);
}
@keyframes app-pop {
  from {
    opacity: 0;
    transform: scale(1);
  }
}
.app__caption {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-top: var(--hairline);
  background: var(--paper-deep);
}
.app__caption p {
  margin: 0;
  font-weight: 500;
  color: var(--ink-1);
}
.app__step {
  font-size: var(--fs-label);
  color: var(--indigo);
}
.app__dots {
  display: flex;
  gap: 5px;
  margin-left: auto;
  /* The window bleeds 24px past the frame: keep the dots inside what shows. */
  margin-right: 40px;
}
.app__dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--rule-strong);
  transition:
    width 240ms var(--ease),
    background 240ms var(--ease);
}
.app__dots .is-on {
  width: 18px;
  border-radius: var(--r-pill);
  background: var(--indigo);
}
@media (max-width: 1024px) {
  .split:has(.app) {
    grid-template-columns: 1fr;
  }
  .split__visual:has(.app) {
    padding: clamp(20px, 4vw, 40px);
    justify-items: center;
  }
  .app {
    width: 100%;
    max-width: 760px;
    border-right: 1px solid var(--rule-strong);
    border-radius: var(--r-panel);
  }
  .app__dots {
    margin-right: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .app__shot,
  .app__dots span {
    transition: none;
  }
  .app__pop {
    animation: none;
  }
  .app__hl::before {
    transition: none;
  }
}
.phone__note {
  font: var(--fs-label) var(--font-mono);
  color: var(--ink-3);
}

/* ---------------------------------------------------------------- band (use-case carousel, from /2) */
.band {
  display: grid;
  gap: var(--sp-7);
  overflow: hidden;
}
.band__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: var(--sp-5);
}
.band__head .h2 {
  max-width: 18ch;
}
.band__nav {
  display: flex;
  gap: 8px;
}
.cases:focus-visible {
  outline: 2px solid var(--indigo);
  outline-offset: 4px;
}
@media (max-width: 720px) {
  .band__head {
    align-items: start;
    flex-direction: column;
  }
}
.arrow {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: var(--hairline-strong);
  border-radius: 50%;
  background: var(--panel);
  color: var(--ink-1);
  cursor: pointer;
  transition:
    background-color 150ms var(--ease),
    color 150ms var(--ease),
    opacity 150ms;
}
.arrow:hover:not([aria-disabled="true"]) {
  background: var(--ink-1);
  color: var(--paper);
}
.arrow[aria-disabled="true"] {
  opacity: 0.35;
  cursor: default;
}
.arrow svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}
.cases {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(280px, 340px);
  gap: var(--gap);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  margin-inline: calc(-1 * clamp(28px, 4vw, 56px));
  padding-inline: clamp(28px, 4vw, 56px);
  scroll-padding-inline: clamp(28px, 4vw, 56px);
  padding-bottom: 8px;
}
.cases::-webkit-scrollbar {
  display: none;
}
.case {
  scroll-snap-align: start;
  display: grid;
  align-content: start;
  gap: var(--sp-4);
  padding: var(--sp-6);
  background: var(--panel);
  border: var(--hairline);
  border-radius: var(--r-panel);
  transition: border-color 200ms var(--ease);
}
.case:hover {
  border-color: var(--indigo-edge);
}
.case ul {
  display: grid;
  gap: 6px;
}
.case li {
  position: relative;
  padding-left: 14px;
  font-size: var(--fs-small);
  color: var(--ink-2);
}
.case li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--rule-strong);
}
.case__tags {
  margin-top: auto;
  padding-top: var(--sp-3);
  border-top: var(--hairline);
  font-size: var(--fs-label);
  color: var(--ink-3);
}
.case__ico {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: var(--r-panel);
}
.case__ico svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.case__ico--a {
  background: color-mix(in srgb, var(--escala-0) 10%, var(--panel));
  color: var(--escala-0);
}
.case__ico--b {
  background: var(--indigo-tint);
  color: var(--indigo);
}
.case__ico--c {
  background: color-mix(in srgb, var(--escala-60) 12%, var(--panel));
  color: var(--escala-60);
}
.case__ico--d {
  background: color-mix(in srgb, var(--sem-cool) 10%, var(--panel));
  color: var(--sem-cool);
}
.case__ico--e {
  background: color-mix(in srgb, var(--sem-warm) 10%, var(--panel));
  color: var(--sem-warm);
}
.case__ico--f {
  background: var(--paper-deep);
  color: var(--ink-2);
}

/* ---------------------------------------------------------------- duo (platform) */
.duo {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  padding: 0;
}
.duo__main {
  display: grid;
  align-content: start;
  gap: var(--sp-4);
  justify-items: start;
  padding: clamp(28px, 4vw, 56px);
  border-right: var(--hairline);
}
.duo__side li {
  display: grid;
  gap: 8px;
  padding: clamp(24px, 3vw, 40px);
  border-bottom: var(--hairline);
}
.duo__side li:last-child {
  border-bottom: 0;
}
.duo__side li:nth-child(2) {
  background-image: radial-gradient(var(--rule) 1px, transparent 1px);
  background-size: 14px 14px;
}
.duo__side p {
  font-size: var(--fs-small);
  color: var(--ink-2);
}
.side-ico svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--indigo);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.matrix {
  width: 100%;
  margin-top: var(--sp-5);
  padding: var(--sp-5);
  border: var(--hairline);
  border-radius: var(--r-panel);
  background: var(--paper);
}
.matrix__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}
.matrix__grid span,
.matrix__legend span[data-s] {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  font: var(--fs-label) var(--font-mono);
  color: var(--ink-2);
}
.matrix__grid span {
  padding: 8px 10px;
  background: var(--panel);
  border: var(--hairline);
  border-radius: var(--r-inner);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: block;
}
.matrix__grid span::before,
.matrix__legend span[data-s]::before {
  content: "";
  display: inline-block;
  flex: none;
  width: 9px;
  height: 9px;
  margin-right: 8px;
  vertical-align: -1px;
  border: 1.5px solid var(--sig-glifo);
  border-radius: 1px;
}
.matrix__grid [data-s="yes"] {
  border-color: var(--detected-edge);
  color: var(--sig-presente);
}
.matrix [data-s="yes"]::before {
  background: var(--sig-presente);
  border-color: var(--sig-presente);
}
.matrix [data-s="ne"]::before {
  border-style: dashed;
  background: repeating-linear-gradient(45deg, var(--sig-glifo) 0 1px, transparent 1px 3px);
}
.matrix__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 14px;
  text-transform: none;
}
.matrix__legend span[data-s]::before {
  margin-right: 0;
}
.matrix__ill {
  margin-left: auto;
}

/* ---------------------------------------------------------------- pair (signals) */
.pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.pair__cell {
  display: grid;
  align-content: start;
  justify-items: start;
  gap: var(--sp-4);
}
.pair__cell:first-child {
  border-right: var(--hairline);
}
.toggle-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.switch {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: var(--fs-small);
  color: var(--ink-2);
  cursor: pointer;
}
.switch input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.switch__track {
  position: relative;
  width: 36px;
  height: 20px;
  border-radius: var(--r-pill);
  background: var(--rule-strong);
  transition: background-color 200ms var(--ease);
}
.switch__track::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--panel);
  transition: translate 200ms var(--ease);
}
.switch input:checked + .switch__track {
  background: var(--indigo);
}
.switch input:checked + .switch__track::after {
  translate: 16px 0;
}
.switch input:focus-visible + .switch__track {
  box-shadow: var(--focus-ring);
}
.browser,
.jsonbox {
  width: 100%;
  margin-top: var(--sp-3);
  background: var(--panel);
  border: var(--hairline);
  border-radius: var(--r-panel);
  overflow: hidden;
}
.browser__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 12px;
  border-bottom: var(--hairline);
  background: var(--paper);
}
.browser__bar span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--rule);
}
.browser__bar p {
  margin-left: 12px;
  padding: 3px 10px;
  border-radius: var(--r-pill);
  background: var(--panel);
  border: var(--hairline);
  font-size: var(--fs-label);
  color: var(--ink-3);
}
.browser__body {
  display: grid;
  gap: 10px;
  padding: 20px;
}
/* A customer's Pix withdrawal screen; "with" lifts the native console components of the same
   synthetic withdrawal under it. */
.bank__body {
  display: grid;
  gap: 14px;
  padding: 20px;
}
.bank__top {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--fs-small);
}
.bank__logo {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: #0f766e;
  color: #fff;
  font: 700 0.8125rem var(--font-sans);
}
.bank__balance {
  margin-left: auto;
  color: var(--ink-3);
}
.bank__balance b {
  color: var(--ink-1);
  font-weight: 500;
}
.bank__title {
  margin: 4px 0 0;
  font: 600 1.25rem var(--font-sans);
  letter-spacing: -0.02em;
}
.bank__fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.bank__field {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 10px 12px;
  border: var(--hairline-strong);
  border-radius: var(--r-btn);
}
.bank__amount {
  font: 600 1.125rem var(--font-sans);
  font-variant-numeric: tabular-nums;
}
.bank__btn {
  display: block;
  padding: 11px;
  border-radius: var(--r-btn);
  background: #0f766e;
  color: #fff;
  text-align: center;
  font: 600 0.875rem var(--font-sans);
}
.bank__native {
  border-radius: 6px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgb(20 24 43 / 0.08),
    0 12px 28px -14px rgb(20 24 43 / 0.45);
}
:root[data-theme="dark"] .bank__native {
  box-shadow:
    0 0 0 1px rgb(255 255 255 / 0.08),
    0 14px 30px -14px rgb(0 0 0 / 0.7);
}
.bank__sent {
  margin: 0;
  font-weight: 600;
  color: var(--ink-1);
}
.bank__sent span {
  color: #0f766e;
}
@media (max-width: 420px) {
  .bank__fields {
    grid-template-columns: 1fr;
  }
}
.browser__with,
.browser__without {
  display: grid;
  gap: 8px;
  margin-top: 6px;
  padding: 14px;
  border-radius: var(--r-panel);
  border: 1px solid var(--indigo-edge);
  background: var(--indigo-tint);
  font-size: var(--fs-small);
}
.browser__without {
  border-color: var(--rule);
  background: var(--paper-deep);
  color: var(--ink-2);
}
.browser__with[hidden],
.browser__without[hidden] {
  display: none;
}
.browser__with ul {
  display: grid;
  gap: 6px;
}
.browser__with li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-2);
}
.browser__with .mono {
  font-size: var(--fs-label);
  color: var(--ink-1);
}
.browser__rec b {
  font-family: var(--font-mono);
  color: var(--indigo);
}
.sq {
  display: inline-block;
  flex: none;
  width: 10px;
  height: 10px;
  border-radius: 1px;
}
.sq--yes {
  background: var(--sig-presente);
}
.sq--no {
  border: 1.5px solid var(--sig-glifo);
}
.sq--ne {
  border: 1.5px dashed var(--sig-glifo);
  background: repeating-linear-gradient(45deg, var(--sig-glifo) 0 1px, transparent 1px 3px);
}
.jsonbox__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 12px 16px;
  border-bottom: var(--hairline);
}
.jsonbox__head p {
  font-size: var(--fs-small);
}
.jsonbox__head p span {
  color: var(--ink-3);
  font-size: var(--fs-label);
  margin-left: 6px;
}
.seg {
  display: flex;
  gap: 2px;
  padding: 3px;
  border: var(--hairline);
  border-radius: var(--r-btn);
}
.seg button {
  padding: 4px 10px;
  font-size: var(--fs-label);
}
.jsonbox__fields {
  border-bottom: var(--hairline);
}
.jsonbox__fields div {
  display: flex;
  gap: 12px;
  padding: 8px 16px;
  font-size: var(--fs-label);
  border-bottom: var(--hairline);
}
.jsonbox__fields div:last-child {
  border-bottom: 0;
}
.jsonbox__fields dd {
  color: var(--ink-3);
}
.jsonbox__code {
  padding: 16px;
  font-size: var(--fs-code);
  line-height: 1.7;
  background: var(--paper);
  color: var(--sig-presente);
  overflow-x: auto;
}
.jsonbox__code[hidden] {
  display: none;
}

/* ---------------------------------------------------------------- story */
.story {
  padding: 0;
}
.story__head {
  display: grid;
  gap: var(--sp-4);
  justify-items: start;
  padding: clamp(28px, 4vw, 56px);
  border-bottom: var(--hairline);
}
.story__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
}
.story__brand {
  display: grid;
  align-content: start;
  gap: var(--sp-4);
  padding: clamp(28px, 4vw, 56px);
  border-right: var(--hairline);
  font-size: var(--fs-small);
  color: var(--ink-2);
}
.story__brand b {
  color: var(--ink-1);
}
/* The brand column is as tall as the five rules: the wordmark on top, the sentence as a pull quote
   in the middle and the two separate contract fields at the foot, so nothing floats. */
.story__brand {
  grid-template-rows: auto 1fr auto;
}
.story__quote {
  align-self: center;
  margin: 0;
  font-size: clamp(1.25rem, 1rem + 0.8vw, 1.6rem);
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--ink-2);
}
.story__pair {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 0;
  font-size: var(--fs-label);
  color: var(--ink-3);
}
.story__pair span:not([aria-hidden]) {
  padding: 3px 8px;
  border: var(--hairline);
  border-radius: 6px;
}
.story__pair span[aria-hidden] {
  color: var(--indigo);
}
.story__rules {
  counter-reset: r;
}
.story__rules li {
  counter-increment: r;
  display: flex;
  gap: 16px;
  padding: 16px clamp(24px, 3vw, 40px);
  border-bottom: var(--hairline);
  font-size: var(--fs-small);
}
.story__rules li:last-child {
  border-bottom: 0;
}
.story__rules li::before {
  content: counter(r, decimal-leading-zero);
  color: var(--indigo);
}

/* ---------------------------------------------------------------- developers */
.dev {
  padding: clamp(16px, 2vw, 24px);
}
.dev__card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: var(--sp-7);
  align-items: center;
  padding: clamp(28px, 4vw, 56px);
  background: var(--ink-band);
  color: var(--ink-on-band);
  border-radius: var(--r-panel);
}
.dev__card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(60% 80% at 100% 100%, rgb(67 56 202 / 0.45), transparent 70%),
    radial-gradient(rgb(247 245 240 / 0.07) 1px, transparent 1px) 0 0 / 14px 14px;
}
.dev__card > * {
  position: relative;
}
.dev__copy {
  display: grid;
  gap: var(--sp-4);
  justify-items: start;
}
.dev__copy .hl {
  color: var(--indigo-core);
}
.dev__copy > p {
  color: rgb(247 245 240 / 0.7);
  font-size: var(--fs-small);
  max-width: 46ch;
}
.dev__links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 24px;
  margin-top: var(--sp-2);
}
.dev__links a {
  font: var(--fs-small) var(--font-mono);
  color: var(--ink-on-band);
  text-underline-offset: 4px;
  text-decoration-color: rgb(247 245 240 / 0.3);
}
.dev__links a:hover {
  color: var(--indigo-core);
}
.dev__links a:focus-visible {
  box-shadow: var(--focus-ring-band);
}
.dev__stats {
  display: flex;
  gap: var(--sp-7);
  margin-top: var(--sp-5);
}
.dev__stats div {
  display: grid;
  gap: 2px;
}
.dev__stats dt {
  font: 600 2rem / 1 var(--font-sans);
  letter-spacing: -0.03em;
}
.dev__stats dd {
  font-size: var(--fs-label);
  color: rgb(247 245 240 / 0.6);
  max-width: 18ch;
}
.dev__install {
  display: grid;
  gap: var(--sp-3);
  min-width: 0;
}
.dev__install .install {
  width: 100%;
  box-shadow: 0 24px 48px -28px rgb(0 0 0 / 0.6);
}
.dev__more {
  font-size: 0.8125rem;
  color: rgb(247 245 240 / 0.6);
}
.dev__more a {
  color: var(--ink-on-band);
  text-underline-offset: 3px;
  text-decoration-color: rgb(247 245 240 / 0.3);
}
.dev__more a:hover {
  color: var(--indigo-core);
}
.dev__more a:focus-visible {
  box-shadow: var(--focus-ring-band);
}

/* ---------------------------------------------------------------- big numbers */
.bignums {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.bignums .cell {
  display: grid;
  gap: 8px;
  padding-block: var(--sp-7);
}
.bignums .cell:not(:last-child) {
  border-right: var(--hairline);
}
.bignums p:last-child {
  font-size: var(--fs-small);
  color: var(--ink-3);
  max-width: 26ch;
}
.bignum {
  font-size: clamp(2.5rem, 1.6rem + 3vw, 4rem);
  line-height: 1;
  letter-spacing: -0.04em;
  font-weight: 500;
  color: var(--indigo);
  font-variant-numeric: tabular-nums;
}

/* ---------------------------------------------------------------- cta */
.cta {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
}
.cta__main {
  display: grid;
  gap: var(--sp-4);
  align-content: center;
  border-right: var(--hairline);
  background-image: radial-gradient(var(--rule) 1px, transparent 1px);
  background-size: 14px 14px;
}
.cta__form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: var(--sp-3);
  max-width: 560px;
}
.cta__form input {
  height: 40px;
  min-width: 0;
  padding: 0 12px;
  border: var(--hairline-strong);
  border-radius: var(--r-btn);
  background: var(--panel);
  color: var(--ink-1);
  font: inherit;
  font-size: var(--fs-small);
}
.cta__form input:focus-visible {
  border-color: var(--indigo);
}
.cta__form input[aria-invalid="true"] {
  border-color: var(--erro);
}
/* The Cal.com booking link (outbound, new tab, no embed) takes its own row under the two buttons. */
.cta__call {
  grid-column: 1 / -1;
}
.cta__status {
  grid-column: 1 / -1;
  min-height: 1.4em;
  font-size: var(--fs-small);
  color: var(--ink-2);
}
.cta__never li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-block: var(--sp-5);
  font-size: var(--fs-small);
  color: var(--ink-2);
}
.cta__never li:last-child {
  border-bottom: 0;
}
.never-ico {
  flex: none;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: var(--hairline);
  border-radius: var(--r-btn);
  background: var(--paper);
}
.never-ico svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--ink-2);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------------------------------------------------------------- footer */
.footer {
  border-top: var(--hairline);
}
.footer__in {
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: var(--sp-6);
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
  padding-block: var(--sp-8);
}
.footer__cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-6);
}
.footer__cols .label {
  margin-bottom: 14px;
}
.footer__cols ul {
  display: grid;
  gap: 10px;
}
.footer__cols a {
  text-decoration: none;
  font-size: var(--fs-small);
  color: var(--ink-2);
  overflow-wrap: anywhere;
}
.footer__cols a:hover {
  color: var(--indigo);
}
.footer__legal {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
  padding-block: var(--sp-5);
  border-top: var(--hairline);
  font: var(--fs-label) var(--font-mono);
  color: var(--ink-3);
}

/* ---------------------------------------------------------------- dark */
@media screen {
  :root[data-theme="dark"] .dev__card {
    background: #15173a;
  }
}

/* ---------------------------------------------------------------- responsive */
/* The links collapse into the menu before the longest language (pt-BR) runs out of room. */
@media (max-width: 1200px) {
  .nav__links {
    display: none;
  }
  .nav__burger {
    display: flex;
  }
  .nav__mobile:not([hidden]) {
    display: grid;
  }
}
@media (max-width: 1024px) {
  .split,
  .duo,
  .pair,
  .story__grid,
  .dev__card,
  .cta {
    grid-template-columns: 1fr;
  }
  .split__copy,
  .duo__main,
  .pair__cell:first-child,
  .story__brand,
  .cta__main {
    border-right: 0;
    border-bottom: var(--hairline);
  }
  .pair__cell:first-child {
    border-bottom: var(--hairline);
  }
  .phone__chip {
    right: -24px;
  }
}
@media (max-width: 720px) {
  .nav__hide-sm {
    display: none;
  }
  .demo__stats {
    grid-template-columns: 1fr 1fr;
  }
  .demo__stats div:nth-child(2) {
    border-right: 0;
  }
  .demo__stats div:nth-child(-n + 2) {
    border-bottom: var(--hairline);
  }
  .demo__body {
    grid-template-columns: 1fr;
  }
  .demo__why {
    border-right: 0;
    border-bottom: var(--hairline);
  }
  .demo__signals {
    grid-template-columns: 1fr;
  }
  .demo__signals li:nth-child(odd) {
    border-right: 0;
  }
  .matrix__grid {
    grid-template-columns: 1fr 1fr;
  }
  .matrix__ill {
    margin-left: 0;
  }
  .bignums {
    grid-template-columns: 1fr;
  }
  .bignums .cell:not(:last-child) {
    border-right: 0;
  }
  .dev__links {
    grid-template-columns: 1fr;
  }
  .cta__form {
    grid-template-columns: 1fr;
  }
  .footer__in {
    grid-template-columns: 1fr;
  }
  .footer__cols {
    grid-template-columns: 1fr 1fr;
  }
  .phone {
    width: 230px;
  }
  .phone__chip {
    right: -12px;
    min-width: 150px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .btn,
  .demo [data-f],
  .phone__chip,
  .acc__chev,
  .switch__track,
  .switch__track::after,
  .nav__burger span {
    transition: none;
  }
}

.demo__body > *,
.demo__signals li {
  min-width: 0;
}
.nav__burger {
  align-items: center;
  justify-content: center;
}
@media (max-width: 720px) {
  .phone__chip {
    bottom: -48px;
  }
  .split__visual {
    gap: 64px;
  }
}
@media (max-width: 420px) {
  .nav__hide-xs {
    display: none;
  }
  .phone {
    width: min(230px, 100%);
  }
  .demo__stats {
    grid-template-columns: 1fr;
  }
  .demo__stats div {
    padding: 10px 14px;
    border-right: 0;
    border-bottom: var(--hairline);
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .demo__stats div:last-child {
    border-bottom: 0;
  }
  .phone__chip {
    right: 0;
  }
  .demo__stats dd {
    overflow-wrap: anywhere;
  }
  .browser__with li,
  .jsonbox__fields div {
    flex-wrap: wrap;
  }
  .browser__body {
    padding: 16px;
  }
}

/* ---------------------------------------------------------------- languages */
/* The footer's brand column: the wordmark and, under it, the language list `.site-i18n/i18n.py`
   writes on every published page. */
.footer__brand {
  display: grid;
  align-content: start;
  justify-items: start;
}
/* Language menu of the header (D246), written by `.site-i18n/i18n.py`: a globe and the current
   language's code, the same height and border as the other header controls. */
.idioma-menu {
  position: relative;
  flex-shrink: 0;
}
.idioma-menu > summary svg {
  flex: none;
}

.idioma-menu > summary {
  list-style: none;
  cursor: pointer;
  height: 36px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 10px;
  border: var(--hairline-strong);
  border-radius: var(--r-btn);
  color: var(--ink-2);
  font: 500 var(--fs-label) / 1 var(--font-mono);
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.idioma-menu > summary::-webkit-details-marker {
  display: none;
}
.idioma-menu > summary:hover,
.idioma-menu[open] > summary {
  color: var(--ink-1);
  background: var(--paper-deep);
}
.idioma-menu > summary:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}
.idioma-menu__lista {
  position: absolute;
  inset-inline-end: 0;
  top: calc(100% + 8px);
  z-index: 20;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px 8px;
  min-width: 340px;
  max-height: min(70vh, 520px);
  overflow-y: auto;
  margin: 0;
  padding: 8px;
  list-style: none;
  background: var(--panel);
  border: var(--hairline-strong);
  border-radius: var(--r-panel);
  box-shadow: 0 12px 32px rgb(0 0 0 / 0.18);
}
/* Right-to-left pages keep the flag on the wordmark's side, near the right edge: the list grows
   from the flag's right edge toward the page, not past the screen. */
@media (min-width: 480px) {
  [dir="rtl"] .idioma-menu__lista {
    inset-inline-end: auto;
    inset-inline-start: 0;
  }
}
.idioma-menu__lista a {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  padding: 8px 10px;
  border-radius: var(--r-btn);
  color: var(--ink-2);
  font-size: var(--fs-small);
  text-decoration: none;
}
.idioma-menu__lista a:hover,
.idioma-menu__lista a:focus-visible {
  color: var(--ink-1);
  background: var(--paper-deep);
}
.idioma-menu__lista a[aria-current="page"] {
  color: var(--ink-1);
  font-weight: 600;
}
/* The phone header holds the wordmark and four controls (language, theme, menu); measured at
   320 px they ran 16 px past the screen. Tighter gaps and a narrower menu button below 480 px, and
   a smaller wordmark below 360 px, keep every control on screen in every language. */

@media (max-width: 479px) {
  /* On a phone the trigger is the flag alone, the size of the theme toggle; the open list still
     names every language. */
  .idioma-menu > summary {
    width: 36px;
    padding: 0;
    justify-content: center;
  }
  .idioma-menu__lista {
    position: fixed;
    inset-inline: 12px;
    top: 64px;
    min-width: 0;
  }
}

/* Language switcher, written into the footer by `.site-i18n/i18n.py` on every published page:
   plain links, one per language, each named in its own language and script. */
.idiomas {
  margin-top: var(--sp-5);
  max-inline-size: 34ch;
}
.idiomas .t-label {
  margin: 0 0 var(--sp-2);
  font: 500 var(--fs-label) / 1.3 var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-3);
}
.idiomas ul {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  padding: 0;
  margin: 0;
  list-style: none;
  font-size: var(--fs-small);
}
.idiomas a {
  color: var(--ink-2);
  text-decoration: none;
}
.idiomas a:hover,
.idiomas a:focus-visible {
  color: var(--indigo);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.idiomas a[aria-current="page"] {
  color: var(--ink-1);
  font-weight: 600;
}

/* Without JavaScript the demo request has nowhere to go (it opens a prefilled email), so its
   fields and submit button stay hidden; the quickstart and booking links in the form still show.
   `method="post"` on the form keeps a submission that slips through out of the URL. */
.no-js .cta__form label,
.no-js .cta__form input,
.no-js .cta__form button[type="submit"] {
  display: none;
}

/* scripts/home.js (setupNavFit). Tight: the bar is short of room in this language, so "Explore
   demo" leaves it (the hero right below carries it, and the menu too below 1200 px). Compact: not
   even that was enough, so the bar behaves as it does below 1200 px. */
.nav--tight .nav__actions > .btn--outline {
  display: none;
}
.nav--compact .nav__links {
  display: none;
}
.nav--compact .nav__burger {
  display: flex;
}
.nav--compact .nav__mobile:not([hidden]) {
  display: grid;
}
