/* =============================================================================
   TRACKORIGIN · VERIFY PAGE
   Cinematic technical-doc layout that uses public.css tokens (navy/blue/
   bone/amber, Anton + IBM Plex Mono + Inter). Matches the polish of the
   profile / nav / footer pages.
   ============================================================================= */

/* ── Page shell ────────────────────────────────────────────────── */
.verify-page {
  background: var(--navy);
}

/* ── Hero ──────────────────────────────────────────────────────── */
.verify-hero {
  position: relative;
  padding: clamp(78px, 8vw, 120px) 0 clamp(56px, 6vw, 88px);
  border-bottom: 1px solid var(--navy-line);
  overflow: hidden;
  background: var(--navy);
}

.verify-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 78% 22%, rgba(45, 85, 184, 0.28) 0%, transparent 64%),
    radial-gradient(ellipse 40% 40% at 12% 80%, rgba(45, 85, 184, 0.12) 0%, transparent 60%),
    linear-gradient(transparent 95%, rgba(255, 255, 255, 0.025) 95%) 0 0 / 100% 26px;
  pointer-events: none;
}

.verify-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(45, 85, 184, 0.55) 30%, rgba(45, 85, 184, 0.55) 70%, transparent 100%);
  pointer-events: none;
}

.verify-hero__inner {
  position: relative;
  z-index: 1;
}

.verify-hero__eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue-bright);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
}

.verify-hero__eyebrow .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 8px #4ade80;
  display: inline-block;
  animation: verify-pulse 2.2s ease-in-out infinite;
}

@keyframes verify-pulse {
  0%, 100% { opacity: 0.55; }
  50%      { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .verify-hero__eyebrow .dot { animation: none; }
}

.verify-hero__title {
  font-family: var(--display);
  font-size: clamp(48px, 7vw, 96px);
  line-height: 0.92;
  letter-spacing: -0.005em;
  text-transform: uppercase;
  color: var(--cream);
  margin: 0 0 26px;
  max-width: 16ch;
}

.verify-hero__title-accent {
  color: var(--blue-bright);
  text-shadow: 0 0 36px rgba(58, 108, 217, 0.45);
}

.verify-hero__lede {
  font-size: 18px;
  line-height: 1.55;
  color: var(--cream-muted);
  max-width: 68ch;
}

/* ── Hero trust strip — 3-cell tech signal ────────────────────── */
.verify-hero__trust {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--navy-line);
  border-bottom: 1px solid var(--navy-line);
  margin-top: clamp(40px, 5vw, 60px);
}

.verify-hero__trust-cell {
  padding: 22px var(--gutter) 22px 0;
  border-right: 1px solid var(--navy-line);
  min-width: 0;
}

.verify-hero__trust-cell:last-child {
  border-right: none;
  padding-right: 0;
}

.verify-hero__trust-k {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--cream-dim);
  margin-bottom: 8px;
  font-weight: 600;
}

.verify-hero__trust-v {
  font-family: var(--display);
  font-size: clamp(20px, 2.4vw, 30px);
  line-height: 1;
  color: var(--cream);
}

.verify-hero__trust-v--blue { color: var(--blue-bright); }

@media (max-width: 760px) {
  .verify-hero__trust { grid-template-columns: 1fr; }
  .verify-hero__trust-cell {
    border-right: none;
    border-top: 1px solid var(--navy-line);
    padding: 16px 0;
  }
  .verify-hero__trust-cell:first-child { border-top: none; }
}

/* ── Sections ─────────────────────────────────────────────────── */
.verify-section {
  padding: clamp(56px, 6vw, 96px) 0;
  border-bottom: 1px solid var(--navy-line);
  scroll-margin-top: 96px;
}

.verify-section__head {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: clamp(24px, 3vw, 44px);
  align-items: center;
  margin-bottom: clamp(30px, 4vw, 48px);
}

.verify-section__num {
  align-self: center;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue-bright);
  position: relative;
  padding-left: 14px;
  font-weight: 600;
}

.verify-section__num::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue-bright);
  box-shadow: 0 0 8px var(--blue-bright);
}

.verify-section__title {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(36px, 4.4vw, 60px);
  line-height: 0.95;
  letter-spacing: -0.005em;
  text-transform: uppercase;
  color: var(--cream);
}

@media (max-width: 880px) {
  .verify-section__head {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

/* ── Prose ────────────────────────────────────────────────────── */
.verify-prose {
  max-width: 70ch;
}

.verify-prose p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--cream-muted);
}

.verify-prose p + p { margin-top: 14px; }
.verify-prose strong { color: var(--cream); font-weight: 700; }
.verify-prose em { color: var(--cream); font-style: italic; }

.verify-prose code,
.verify-input__hint code,
.verify-callout code {
  font-family: var(--mono);
  font-size: 0.88em;
  padding: 1px 6px;
  background: rgba(45, 85, 184, 0.10);
  border: 1px solid rgba(45, 85, 184, 0.28);
  color: var(--cream);
  border-radius: 3px;
}

/* ── Verification list (✓ / →) ───────────────────────────────── */
.verify-list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.verify-list li {
  padding: 14px 0;
  border-bottom: 1px solid var(--navy-line);
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 14px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--cream-muted);
}

.verify-list li:last-child { border-bottom: none; }

.verify-list li strong {
  color: var(--cream);
  font-weight: 700;
}

.verify-list__icon {
  font-family: var(--mono);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.55;
  text-align: center;
}

.verify-list__icon--ok { color: var(--green); text-shadow: 0 0 8px rgba(78, 167, 110, 0.5); }
.verify-list__icon--no { color: #ff8a80; text-shadow: 0 0 8px rgba(255, 138, 128, 0.4); }

.verify-list a {
  color: var(--blue-bright);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ── Input cards (the 3 public endpoints) ────────────────────── */
.verify-input-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.verify-input {
  position: relative;
  padding: 22px;
  background:
    radial-gradient(circle at 0% 0%, rgba(45, 85, 184, 0.10), transparent 50%),
    var(--navy-deep);
  border: 1px solid var(--navy-line-hi);
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
  overflow: hidden;
}

.verify-input::before,
.verify-input::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  border: 1px solid var(--blue-bright);
  opacity: 0.6;
  pointer-events: none;
}
.verify-input::before { top: 8px; left: 8px; border-right: none; border-bottom: none; }
.verify-input::after  { bottom: 8px; right: 8px; border-left: none; border-top: none; }

.verify-input:hover {
  border-color: var(--blue-bright);
  transform: translateY(-2px);
  box-shadow: 0 16px 40px -16px rgba(45, 85, 184, 0.45);
}

.verify-input__label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--blue-bright);
  margin-bottom: 12px;
  font-weight: 600;
}

.verify-input__url {
  font-family: var(--mono);
  font-size: 13px;
  word-break: break-all;
  color: var(--cream);
  margin-bottom: 10px;
}

.verify-input__url a {
  color: var(--cream);
  border-bottom: 1px dotted rgba(245, 239, 224, 0.3);
  padding-bottom: 1px;
}

.verify-input__url a:hover {
  color: var(--blue-bright);
  border-bottom-color: var(--blue-bright);
}

.verify-input__hint {
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--cream-muted);
}

/* ── Code blocks ──────────────────────────────────────────────── */
.verify-code {
  position: relative;
  margin-top: 18px;
  border: 1px solid var(--navy-line-hi);
  background: linear-gradient(180deg, rgba(7, 17, 45, 0.85) 0%, rgba(0, 0, 0, 0.7) 100%);
  overflow: hidden;
}

.verify-code::before {
  /* 1px blue rail across the top */
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--blue-bright) 50%, transparent 100%);
}

.verify-code__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--navy-line);
  background: rgba(0, 0, 0, 0.25);
}

.verify-code__lang {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--blue-bright);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.verify-code__lang::before {
  content: "▌";
  color: var(--blue-bright);
  font-size: 14px;
  line-height: 1;
}

.verify-code__copy {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 6px 12px;
  border: 1px solid var(--navy-line-hi);
  background: transparent;
  color: var(--cream-muted);
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease, background-color 0.15s ease;
}

.verify-code__copy:hover {
  border-color: var(--blue-bright);
  color: var(--cream);
  background: rgba(45, 85, 184, 0.10);
}

.verify-code__copy.is-copied {
  border-color: var(--green);
  color: var(--green);
}

.verify-code pre {
  margin: 0;
  padding: 20px 22px;
  overflow-x: auto;
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.6;
  color: var(--cream);
  white-space: pre;
  -webkit-font-smoothing: subpixel-antialiased;
}

.verify-code pre::-webkit-scrollbar { height: 8px; }
.verify-code pre::-webkit-scrollbar-track { background: rgba(0,0,0,0.2); }
.verify-code pre::-webkit-scrollbar-thumb { background: rgba(58, 108, 217, 0.4); }

/* ── Callouts ─────────────────────────────────────────────────── */
.verify-callout {
  position: relative;
  margin: 28px 0 0;
  padding: 22px 24px 22px 28px;
  background: rgba(45, 85, 184, 0.06);
  border: 1px solid rgba(45, 85, 184, 0.32);
  border-left-width: 3px;
  border-left-color: var(--blue-bright);
}

.verify-callout--warn {
  background: rgba(212, 162, 72, 0.06);
  border-color: rgba(212, 162, 72, 0.32);
  border-left-color: var(--amber);
}

.verify-callout__label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue-bright);
  font-weight: 600;
  margin-bottom: 8px;
}

.verify-callout--warn .verify-callout__label { color: var(--amber); }

.verify-callout h3 {
  margin: 0 0 8px;
  font-family: var(--display);
  font-size: 20px;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--cream);
}

.verify-callout p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--cream-muted);
}

/* ── Lang tabs (Python / Node / curl) ────────────────────────── */
.verify-lang-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 22px;
  border: 1px solid var(--navy-line-hi);
  background: rgba(0, 0, 0, 0.25);
}

.verify-lang-tab {
  flex: 1;
  min-width: 140px;
  padding: 14px 18px;
  background: transparent;
  border: none;
  border-right: 1px solid var(--navy-line);
  color: var(--cream-muted);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  position: relative;
  transition: background-color 0.18s ease, color 0.18s ease;
}

.verify-lang-tab:last-child { border-right: none; }

.verify-lang-tab:hover {
  background: rgba(245, 239, 224, 0.03);
  color: var(--cream);
}

.verify-lang-tab.is-active {
  color: var(--blue-bright);
  background: rgba(45, 85, 184, 0.08);
}

.verify-lang-tab.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: var(--blue-bright);
  box-shadow: 0 0 8px rgba(58, 108, 217, 0.7);
}

.verify-lang-panel { display: none; }
.verify-lang-panel.is-active { display: block; }

/* ── Closing band ─────────────────────────────────────────────── */
.verify-closing {
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(45, 85, 184, 0.22) 0%, transparent 70%),
    linear-gradient(180deg, var(--navy-deep) 0%, #050a1c 100%);
  padding: clamp(72px, 8vw, 120px) 0 clamp(56px, 6vw, 90px);
  border-top: 1px solid var(--navy-line);
  position: relative;
  overflow: hidden;
}

.verify-closing::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--blue-bright) 50%, transparent 100%);
}

.verify-closing__inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.verify-closing__kicker {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue-bright);
  margin-bottom: 18px;
  font-weight: 600;
}

.verify-closing__title {
  font-family: var(--display);
  font-size: clamp(40px, 5vw, 68px);
  line-height: 0.92;
  letter-spacing: -0.005em;
  text-transform: uppercase;
  color: var(--cream);
  margin: 0 auto 14px;
  max-width: 18ch;
  text-shadow: 0 0 36px rgba(58, 108, 217, 0.22);
}

.verify-closing__sub {
  font-size: 15px;
  line-height: 1.6;
  color: var(--cream-muted);
  max-width: 60ch;
  margin: 0 auto 32px;
}

.verify-closing__actions {
  display: inline-flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.verify-closing__foot {
  margin-top: clamp(40px, 5vw, 64px);
  padding-top: 22px;
  border-top: 1px solid var(--navy-line);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cream-dim);
}

.verify-closing__mark {
  font-family: var(--display);
  font-size: 18px;
  letter-spacing: 0.04em;
  color: var(--blue-bright);
  padding: 4px 10px;
  border: 1px solid var(--blue-bright);
  background: rgba(45, 85, 184, 0.10);
}
