/* White Label — public docs landing (SSIT navy / orange brand) */
:root {
  --wl-navy: #0d2137;
  --wl-orange: #FB7929;
  --wl-blue: #0a84ff;
  --wl-slate: #334155;
  --wl-muted: #64748b;
  --wl-light: #f8fafc;
  --wl-border: #e2e8f0;
  --wl-get: #059669;
  --wl-post: #2563eb;
  --wl-put: #d97706;
  --wl-patch: #7c3aed;
  --wl-delete: #dc2626;
}

.wl-hero {
  background: linear-gradient(135deg, var(--wl-navy) 0%, #1a0a2e 55%, #2d1b4e 100%);
  padding: 72px 0 70px;
  margin-top: 0;
  position: relative;
  overflow: hidden;
}

.wl-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 42px 42px;
  opacity: 0.35;
  pointer-events: none;
}

.wl-breadcrumb .breadcrumb-item + .breadcrumb-item::before { color: #64748b; }
.wl-breadcrumb .breadcrumb-item a { color: #94a3b8; text-decoration: none; }
.wl-breadcrumb .breadcrumb-item a:hover { color: #fff; }
.wl-breadcrumb .breadcrumb-item.active { color: #cbd5e1; }

.wl-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #cbd5e1;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 999px;
  margin: 0 6px 6px 0;
}

.wl-hero-title {
  color: #fff;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.wl-hero-sub {
  color: #cbd5e1;
  font-size: 1.05rem;
  line-height: 1.65;
  max-width: 40rem;
}

.wl-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--wl-orange);
  color: #fff !important;
  font-weight: 700;
  font-size: 14px;
  padding: 12px 20px;
  border-radius: 999px;
  text-decoration: none !important;
  border: none;
  transition: filter .15s ease, transform .15s ease;
}
.wl-btn-primary:hover { filter: brightness(1.08); color: #fff !important; }

.wl-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: #fff !important;
  font-weight: 700;
  font-size: 14px;
  padding: 11px 18px;
  border-radius: 999px;
  text-decoration: none !important;
  border: 1px solid rgba(255, 255, 255, 0.35);
}
.wl-btn-outline:hover { background: rgba(255, 255, 255, 0.08); color: #fff !important; }

.wl-commercial-nav {
  position: sticky;
  top: 72px;
  z-index: 40;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--wl-border);
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.04);
}
.wl-commercial-nav-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
  padding: 14px 0;
  overflow-x: auto;
}
.wl-commercial-nav a {
  color: var(--wl-slate);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  padding: 4px 2px;
}
.wl-commercial-nav a:hover { color: var(--wl-orange); }

.wl-section-eyebrow {
  color: var(--wl-orange);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.wl-section-title {
  color: var(--wl-navy);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  margin-bottom: 12px;
}
.wl-section-lead {
  color: var(--wl-muted);
  font-size: 1rem;
  line-height: 1.65;
  max-width: 46rem;
}

.wl-quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.wl-quick-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--wl-border);
  background: #fff;
  color: var(--wl-navy);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}
.wl-quick-links a:hover {
  border-color: var(--wl-orange);
  color: var(--wl-orange);
}

.wl-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 44rem;
}
.wl-timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 16px 20px;
  padding-bottom: 28px;
}
.wl-timeline-item:last-child {
  padding-bottom: 0;
}
.wl-timeline-item:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 19px;
  top: 40px;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--wl-orange), rgba(249, 115, 22, 0.15));
}
.wl-timeline-num {
  position: relative;
  z-index: 1;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--wl-navy);
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  display: grid;
  place-items: center;
  box-shadow: 0 0 0 4px #fff;
}
.wl-timeline-body {
  padding-top: 4px;
  min-width: 0;
}
.wl-timeline-title {
  color: var(--wl-navy);
  font-size: 1.05rem;
  font-weight: 800;
  margin: 0 0 8px;
  line-height: 1.35;
}
.wl-timeline-title code {
  font-size: 0.92em;
}
.wl-timeline-text {
  color: var(--wl-muted);
  font-size: 0.95rem;
  line-height: 1.65;
  margin: 0 0 10px;
}
.wl-timeline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
}
.wl-timeline-actions a {
  color: var(--wl-orange);
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
}
.wl-timeline-actions a:hover {
  text-decoration: underline;
}

.wl-code {
  background: #0f172a;
  color: #e2e8f0;
  border-radius: 12px;
  padding: 16px 18px;
  font-size: 13px;
  line-height: 1.55;
  overflow-x: auto;
  margin: 0;
  position: relative;
}
.wl-code-wrap { position: relative; }
.wl-copy-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  border: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 6px 10px;
  cursor: pointer;
}
.wl-copy-btn:hover { background: rgba(255, 255, 255, 0.2); }

.wl-auth-card {
  background: #fff;
  border: 1px solid var(--wl-border);
  border-radius: 16px;
  padding: 20px;
  height: 100%;
}
.wl-auth-card h3 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--wl-navy);
  margin-bottom: 10px;
}
.wl-scope-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  background: #fff7ed;
  color: #c2410c;
  border: 1px solid #ffedd5;
  margin: 0 4px 4px 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.wl-feature-card {
  border: 1px solid var(--wl-border);
  border-radius: 14px;
  background: #fff;
  margin-bottom: 12px;
  overflow: hidden;
}
.wl-feature-card summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  font-weight: 700;
  color: var(--wl-navy);
}
.wl-feature-card summary::-webkit-details-marker { display: none; }
.wl-feature-card summary::after {
  content: "\f078";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 12px;
  color: var(--wl-muted);
  transition: transform .15s ease;
}
.wl-feature-card[open] summary::after { transform: rotate(180deg); }
.wl-feature-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.wl-feature-count {
  font-size: 12px;
  font-weight: 700;
  color: var(--wl-muted);
  background: var(--wl-light);
  border-radius: 999px;
  padding: 3px 10px;
}
.wl-feature-body {
  border-top: 1px solid var(--wl-border);
  padding: 14px 18px 18px;
}
.wl-endpoint-filter {
  width: 100%;
  max-width: 360px;
  border: 1px solid var(--wl-border);
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 13px;
  margin-bottom: 12px;
}
.wl-endpoint-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.wl-endpoint-table th {
  text-align: left;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--wl-muted);
  padding: 8px 6px;
  border-bottom: 1px solid var(--wl-border);
}
.wl-endpoint-table td {
  padding: 10px 6px;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: top;
  color: var(--wl-slate);
}
.wl-endpoint-table tr[hidden] { display: none; }
.wl-method {
  display: inline-block;
  min-width: 54px;
  text-align: center;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 3px 6px;
  border-radius: 6px;
  color: #fff;
}
.wl-method.is-get { background: var(--wl-get); }
.wl-method.is-post { background: var(--wl-post); }
.wl-method.is-put { background: var(--wl-put); }
.wl-method.is-patch { background: var(--wl-patch); }
.wl-method.is-delete { background: var(--wl-delete); }
.wl-path {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  color: var(--wl-navy);
  word-break: break-all;
}
.wl-endpoint-detail {
  margin-top: 8px;
  padding: 10px 12px;
  background: var(--wl-light);
  border-radius: 10px;
  font-size: 12px;
  color: var(--wl-muted);
  line-height: 1.5;
}
.wl-endpoint-detail pre {
  margin: 8px 0 0;
  background: #0f172a;
  color: #e2e8f0;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 11px;
  overflow-x: auto;
}

.wl-check-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.wl-check-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 10px 0;
  border-bottom: 1px solid var(--wl-border);
  color: var(--wl-slate);
  font-size: 14px;
  line-height: 1.5;
}
.wl-check-list li:last-child { border-bottom: 0; }
.wl-check-list i {
  color: var(--wl-orange);
  margin-top: 3px;
}

.wl-faq-item {
  background: #fff;
  border: 1px solid var(--wl-border);
  border-radius: 12px;
  padding: 16px 18px;
  margin-bottom: 10px;
}
.wl-faq-item h6 {
  color: var(--wl-navy);
  font-weight: 800;
  margin-bottom: 6px;
}

.wl-cta-band {
  background: linear-gradient(135deg, var(--wl-navy), #1e3a5f);
  border-radius: 20px;
  padding: 40px 28px;
  text-align: center;
  color: #fff;
}
.wl-cta-band h2 { color: #fff; font-weight: 800; margin-bottom: 10px; }
.wl-cta-band p { color: #cbd5e1; margin-bottom: 18px; }

.wl-final {
  text-align: center;
}
.wl-final h2 { color: var(--wl-navy); font-weight: 800; }
.wl-final p { color: var(--wl-muted); }

@media (max-width: 767px) {
  .wl-hero { padding: 56px 0 52px; margin-top: 0; }
  .wl-commercial-nav { top: 60px; }
  .wl-timeline-item { gap: 12px 14px; padding-bottom: 22px; }
  .wl-endpoint-table thead { display: none; }
  .wl-endpoint-table tr {
    display: block;
    border: 1px solid var(--wl-border);
    border-radius: 10px;
    margin-bottom: 10px;
    padding: 10px;
  }
  .wl-endpoint-table td {
    display: block;
    border: 0;
    padding: 4px 0;
  }
}
