/* ============================================================
   Sample Ninja x Verisoul — partnership landing page
   Built to the handoff spec in ../README.md.
   Design tokens are imported unchanged from the Verisoul
   design system; everything below only composes them.
   ============================================================ */
@import url("fonts.css");
@import url("tokens-colors.css");
@import url("tokens-layout.css");
@import url("tokens-typography.css");

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--surface-page);
  color: var(--text-body);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Class-level display rules would otherwise beat the UA [hidden] rule. */
[hidden] { display: none !important; }

h1, h2, h3 { margin: 0; font-weight: var(--weight-bold); }
p { margin: 0; }
img { max-width: 100%; }

a { color: var(--color-primary); text-decoration: none; }
a:hover { color: var(--blue-700); }

button { font-family: inherit; }

:focus-visible {
  outline: none;
  box-shadow: var(--shadow-focus);
  border-radius: var(--radius-sm);
}

.skip-link {
  position: absolute;
  top: 0;
  left: 0;
  transform: translateY(-200%);
  z-index: 100;
  padding: 10px 16px;
  background: var(--white);
  color: var(--text-strong);
  font-size: 14px;
  font-weight: var(--weight-semibold);
  border-radius: 0 0 var(--radius-md) 0;
}
.skip-link:focus { transform: translateY(0); }

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 32px;
}

.eyebrow {
  font-size: 13px;
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 12px;
}

/* ---------- Button (design system: primary, md / lg) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-weight: var(--weight-semibold);
  letter-spacing: -0.01em;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  transition:
    background var(--duration-fast) var(--ease-standard),
    box-shadow var(--duration-fast) var(--ease-standard);
}
.btn--primary {
  background: var(--color-primary);
  color: var(--color-on-primary);
  box-shadow: var(--shadow-xs);
}
.btn--primary:hover { background: var(--color-primary-hover); color: var(--color-on-primary); }
.btn--md { height: 40px; padding: 0 16px; font-size: 14px; gap: 8px; }
.btn--lg { height: 48px; padding: 0 22px; font-size: 16px; gap: 8px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
}
.site-header__inner {
  height: 70px;
  display: flex;
  align-items: center;
  gap: 18px;
}
.brand-lockup {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
  min-width: 0;
}
.brand-lockup__divider {
  width: 1px;
  height: 24px;
  background: var(--border-subtle);
  flex-shrink: 0;
}
.site-header .brand-lockup__ninja { height: 46px; width: auto; }
.site-header .brand-lockup__verisoul { height: 21px; width: auto; }

/* ---------- Hero ---------- */
.hero {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 56px;
  align-items: center;
  padding-top: 72px;
  padding-bottom: 56px;
}
.hero__title {
  font-size: 52px;
  line-height: 1.04;
  letter-spacing: var(--tracking-tighter);
  color: var(--text-strong);
}
.hero__highlight {
  display: inline-block;
  background: var(--color-primary);
  color: var(--white);
  padding: 0 10px;
  border-radius: 10px;
}
.hero__body {
  font-size: 18px;
  line-height: 1.55;
  color: var(--text-muted);
  margin: 22px 0 28px;
  max-width: 520px;
}

/* Hero figure — the co-branded partnership lockup.
   The render's backdrop is flat-fielded to white, so multiply drops it out
   against the page and leaves only the cards, their shadows, and the glow. */
.hero__figure { margin: 0; }
.hero__figure img {
  display: block;
  width: 100%;
  height: auto;
  mix-blend-mode: multiply;
}

/* ---------- Trust bar ---------- */
.trust {
  background: var(--white);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}
.trust__inner {
  padding-top: 26px;
  padding-bottom: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}
.trust__label {
  font-size: 12.5px;
  font-weight: var(--weight-bold);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-subtle);
}
.logo {
  width: auto;
  object-fit: contain;
  opacity: 0.72;
}

/* ---------- How it works ---------- */
.steps {
  background: var(--white);
  border-bottom: 1px solid var(--border-subtle);
}
.steps__inner { padding-top: 76px; padding-bottom: 84px; }
.section-head {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 40px;
}
.section-head__title {
  font-size: 34px;
  letter-spacing: var(--tracking-tight);
  color: var(--text-strong);
}
.steps__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.step {
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.step__num {
  width: 30px;
  height: 30px;
  border-radius: var(--radius-circle);
  background: var(--ink-950);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: var(--weight-bold);
}
.step__title {
  font-size: 18px;
  letter-spacing: -0.01em;
  color: var(--text-strong);
}
.step__body { font-size: 14px; line-height: 1.55; color: var(--text-muted); }

/* ---------- Tab strips (shared by both groups) ---------- */
.tablist {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}
.tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  font-size: 14.5px;
  font-weight: var(--weight-semibold);
  cursor: pointer;
  background: var(--white);
  color: var(--text-body);
  border: 1px solid var(--border-subtle);
  transition:
    background 150ms var(--ease-standard),
    box-shadow 150ms var(--ease-standard),
    color 150ms var(--ease-standard);
}
.tab svg { flex-shrink: 0; }
.tab:hover { background: var(--surface-hover); }
.tab[aria-selected="true"] {
  background: var(--color-primary);
  color: var(--color-on-primary);
  border-color: var(--color-primary);
  box-shadow: var(--shadow-sm);
}
.tab:focus-visible { box-shadow: var(--shadow-focus); }
.tab[aria-selected="true"]:focus-visible {
  box-shadow: var(--shadow-sm), var(--shadow-focus);
}
.tab--nowrap { white-space: nowrap; }

/* ---------- Signals (tab group A) ---------- */
.signals {
  background: var(--surface-page);
  border-top: 1px solid var(--border-subtle);
}
.signals__inner { padding-top: 80px; padding-bottom: 88px; }
.signals__head { max-width: 680px; }
.signals__title {
  font-size: 38px;
  line-height: 1.1;
  letter-spacing: var(--tracking-tight);
  color: var(--text-strong);
}
.section-lede {
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-600);
  margin-top: 14px;
}
.tablist-prompt {
  text-align: center;
  font-size: 14px;
  font-weight: var(--weight-semibold);
  color: var(--text-muted);
  margin: 36px 0 14px;
}
.panel-frame {
  margin-top: 26px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-sm);
  padding: 40px 44px;
  display: flex;
  align-items: center;
}
.panel-frame--signals {
  background: var(--white);
  min-height: 392px;
}
.panel-frame:focus-visible { box-shadow: var(--shadow-sm), var(--shadow-focus); }

.signal-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  width: 100%;
}
.signal-panel__title {
  font-size: 30px;
  line-height: 1.14;
  letter-spacing: var(--tracking-tight);
  color: var(--text-strong);
}
.signal-panel__body {
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 16px 0 0;
  max-width: 480px;
}
.checklist {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 14.5px;
  line-height: 1.45;
  color: var(--text-body);
}
.checklist svg { flex-shrink: 0; margin-top: 2px; }
.signal-panel__figure { margin: 0; }
.signal-panel__figure img { display: block; width: 100%; height: auto; }

/* Risk-score roll-up */
.rollup {
  margin-top: 56px;
  background: var(--white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-sm);
  padding: 32px 36px;
  display: flex;
  align-items: center;
  gap: 36px;
}
.gauge {
  width: 112px;
  height: 112px;
  flex-shrink: 0;
  border-radius: var(--radius-circle);
  background: var(--red-500);
  display: flex;
  align-items: center;
  justify-content: center;
}
.gauge__inner {
  width: 88px;
  height: 88px;
  gap: 2px;
  border-radius: var(--radius-circle);
  background: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.gauge__value {
  font-size: 28px;
  font-weight: var(--weight-extrabold);
  letter-spacing: var(--tracking-tight);
  color: var(--text-strong);
}
.rollup__text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.gauge__label {
  font-size: 10.5px;
  font-weight: var(--weight-semibold);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-subtle);
  text-align: center;
}
.rollup__title {
  font-size: 24px;
  line-height: 1.25;
  letter-spacing: var(--tracking-tight);
  color: var(--text-strong);
}
.chip-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

/* Risk chips — 6px radius and square dots, matching the product console */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 11px;
  border-radius: var(--radius-sm);
  font-size: 12.5px;
  font-weight: var(--weight-semibold);
  background: var(--white);
  color: var(--ink-500);
  border: 1px solid var(--border-subtle);
  white-space: nowrap;
}
.chip__dot {
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--ink-300);
  flex-shrink: 0;
}
.chip--fake {
  background: var(--risk-fraud-bg);
  color: var(--red-600);
  border-color: var(--risk-fraud);
}
.chip--fake .chip__dot { background: var(--risk-fraud); }
.chip--win {
  background: var(--risk-real-bg);
  color: var(--green-600);
  border-color: var(--risk-real);
}
.chip--win .chip__dot { background: var(--risk-real); }

/* ---------- Competitors (tab group B) ---------- */
.competitors {
  background: var(--white);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}
.competitors__inner { padding-top: 80px; padding-bottom: 88px; }
.competitors__head { max-width: 660px; margin-bottom: 38px; }
.competitors__title {
  font-size: 38px;
  line-height: 1.1;
  letter-spacing: var(--tracking-tight);
  color: var(--text-strong);
}
.panel-frame--competitors {
  background: var(--surface-page);
  min-height: 300px;
}
.competitor-panel {
  display: flex;
  flex-direction: column;
  gap: 30px;
  width: 100%;
}
.competitor-panel__top {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 52px;
  align-items: center;
}
.winrate {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}
.winrate__value {
  font-size: 76px;
  line-height: 0.92;
  font-weight: var(--weight-extrabold);
  letter-spacing: -0.04em;
  color: var(--color-primary);
}
.winrate__caption {
  font-size: 15px;
  line-height: 1.45;
  color: var(--ink-600);
  max-width: 220px;
}
.winrate .chip { margin-top: 10px; align-self: flex-start; }

.differentiators {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.differentiator__title {
  font-size: 17px;
  letter-spacing: -0.01em;
  color: var(--text-strong);
  margin-bottom: 6px;
}
.differentiator__body {
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-600);
}

.wonfrom {
  padding-top: 26px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}
.wonfrom__label {
  font-size: 11.5px;
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--text-subtle);
}
.wonfrom__logos {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
}

/* ---------- CTA band ---------- */
.cta__inner { padding-top: 70px; padding-bottom: 80px; }
.cta__card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-2xl);
  background: var(--ink-950);
  padding: 60px 48px;
  text-align: center;
}
.cta__glow {
  position: absolute;
  top: -40%;
  right: -8%;
  width: 460px;
  height: 460px;
  background: radial-gradient(circle, rgba(33, 96, 253, 0.5), transparent 65%);
  filter: blur(20px);
}
.cta__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.cta__mark { height: 40px; width: auto; }
.cta__title { font-size: 36px; color: var(--white); letter-spacing: var(--tracking-tight); }
.cta__body { font-size: 17px; color: rgba(255, 255, 255, 0.72); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--white);
  border-top: 1px solid var(--border-subtle);
}
.site-footer__inner {
  padding-top: 30px;
  padding-bottom: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.site-footer .brand-lockup { flex: 0 0 auto; }
.site-footer .brand-lockup__divider { height: 20px; }
.site-footer .brand-lockup__ninja { height: 38px; width: auto; }
.site-footer .brand-lockup__verisoul { height: 18px; width: auto; }
.site-footer__links {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 12.5px;
  color: var(--text-subtle);
}
.site-footer__links a { color: var(--text-subtle); }
.site-footer__links a:hover { color: var(--text-body); }

/* ============================================================
   Responsive
   Desktop-first at 1160px, per the spec. Breakpoints below
   were not reviewed by design; see README "Responsive behavior".
   ============================================================ */
@media (max-width: 900px) {
  .container { padding: 0 20px; }

  .hero {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-top: 48px;
    padding-bottom: 40px;
  }
  .hero__title { font-size: 36px; }
  .hero__body { font-size: 17px; max-width: none; }

  .trust__inner { gap: 20px; }

  .steps__inner { padding-top: 48px; padding-bottom: 48px; }
  .steps__grid { grid-template-columns: 1fr; }

  .signals__inner,
  .competitors__inner { padding-top: 48px; padding-bottom: 48px; }
  .signals__title,
  .competitors__title { font-size: 30px; }
  .section-head__title { font-size: 28px; }

  /* The fixed min-heights only exist to stop desktop jump. */
  .panel-frame {
    padding: 28px 24px;
    min-height: 0;
    align-items: stretch;
  }
  .signal-panel {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .signal-panel__title { font-size: 24px; }
  .signal-panel__body { max-width: none; }

  .rollup {
    margin-top: 40px;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    padding: 24px;
  }
  .rollup__title { font-size: 20px; }

  .competitor-panel__top {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .winrate__value { font-size: 60px; }
  .winrate__caption { max-width: none; }
  .wonfrom__logos { gap: 20px; }

  .cta__inner { padding-top: 48px; padding-bottom: 56px; }
  .cta__card { padding: 40px 24px; }
  .cta__title { font-size: 28px; }
  .cta__body { font-size: 16px; }
}

@media (max-width: 600px) {
  /* Header: drop the divider and shrink the marks so the CTA fits. */
  .site-header__inner { gap: 12px; }
  .brand-lockup { gap: 10px; }
  .site-header .brand-lockup__divider { display: none; }
  .site-header .brand-lockup__ninja { height: 34px; }
  .site-header .brand-lockup__verisoul { height: 16px; }

  .hero__title { font-size: 32px; }

  .trust__inner { gap: 18px; }
  .trust__label { text-align: center; }
  .tablist { gap: 8px; }
  .tab { padding: 9px 14px; font-size: 14px; }

  .site-footer__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
