/*
Theme Name: Supply Lingo
Theme URI: https://supply-lingo.com
Author: Supply Lingo Team
Author URI: https://supply-lingo.com
Description: Premium TOB WordPress theme for Supply Lingo API Connector and Socket.IO real-time classroom interface. Dark tech aesthetic with premium animations.
Version: 1.0.0
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: supply-lingo
Tags: api, socketio, realtime, b2b, technology, dark
*/

/* ========== CSS VARIABLES ========== */
:root {
  --bg-primary: #05070a;
  --bg-secondary: #0a0f18;
  --bg-tertiary: #111827;
  --bg-card: rgba(17, 24, 39, 0.72);
  --border: rgba(148, 163, 184, 0.14);
  --border-strong: rgba(148, 163, 184, 0.24);
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --accent-cyan: #22d3ee;
  --accent-indigo: #818cf8;
  --accent-violet: #a78bfa;
  --accent-green: #34d399;
  --accent-amber: #fbbf24;
  --accent-red: #fb7185;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.22);
  --shadow-md: 0 12px 32px rgba(0, 0, 0, 0.32);
  --shadow-glow: 0 0 40px rgba(34, 211, 238, 0.14);
  --font-sans: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", "Fira Code", Consolas, Monaco, "Courier New", monospace;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .mouse-glow,
  .tilt-card,
  .parallax {
    transform: none !important;
  }
}

/* ========== RESET & BASE ========== */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-sans);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ========== LAYOUT ========== */
.spl-container {
  width: min(1200px, 92vw);
  margin: 0 auto;
}

.spl-section {
  position: relative;
  padding: 110px 0;
}

.spl-section-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  letter-spacing: 0;
  margin: 0 0 16px;
  line-height: 1.15;
}

.spl-section-lead {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 0 56px;
}

/* ========== HEADER ========== */
.spl-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  backdrop-filter: blur(14px);
  background: rgba(5, 7, 10, 0.78);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.spl-header.scrolled {
  background: rgba(5, 7, 10, 0.92);
  box-shadow: var(--shadow-sm);
}

.spl-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.spl-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: 0;
}

.spl-logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-indigo));
  display: grid;
  place-items: center;
  box-shadow: 0 0 18px rgba(34, 211, 238, 0.32);
}

.spl-logo-mark svg {
  width: 20px;
  height: 20px;
  color: #fff;
}

.spl-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.spl-nav a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s ease;
}

.spl-nav a:hover {
  color: var(--text-primary);
}

.spl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.9375rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.spl-btn-primary {
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-indigo));
  color: #020617;
  box-shadow: 0 8px 24px rgba(34, 211, 238, 0.22);
}

.spl-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(34, 211, 238, 0.32);
}

.spl-btn-ghost {
  border: 1px solid var(--border-strong);
  color: var(--text-primary);
}

.spl-btn-ghost:hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
}

.spl-mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.spl-mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* ========== MOUSE DATA TRAIL ========== */
.mouse-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  width: 100vw;
  height: 100vh;
  border-radius: 0;
  background: transparent;
  transform: none;
  z-index: 4;
  opacity: 0.82;
  mix-blend-mode: screen;
}

/* ========== HERO ========== */
.spl-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 0 100px;
  overflow: hidden;
}

.spl-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: center;
}

.spl-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 6px;
  background: rgba(34, 211, 238, 0.1);
  border: 1px solid rgba(34, 211, 238, 0.2);
  color: var(--accent-cyan);
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.spl-hero-badge::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-green);
  box-shadow: 0 0 10px var(--accent-green);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}

.spl-hero-title {
  font-size: clamp(2.5rem, 6vw, 4.2rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: 0;
  margin: 0 0 24px;
}

.spl-hero-title .gradient-text {
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-indigo), var(--accent-violet));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.spl-hero-desc {
  font-size: 1.1875rem;
  color: var(--text-secondary);
  max-width: 540px;
  margin: 0 0 36px;
}

.spl-hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.spl-hero-terminal {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-md), var(--shadow-glow);
  transform-style: preserve-3d;
  will-change: transform;
}

.spl-terminal-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.spl-terminal-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.spl-terminal-dot.red { background: var(--accent-red); }
.spl-terminal-dot.amber { background: var(--accent-amber); }
.spl-terminal-dot.green { background: var(--accent-green); }

.spl-terminal-title {
  margin-left: 8px;
  font-size: 0.8125rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.spl-code-block {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  line-height: 1.7;
  color: var(--text-secondary);
  overflow-x: auto;
  white-space: pre;
}

.spl-code-block .c-keyword { color: var(--accent-cyan); }
.spl-code-block .c-string { color: var(--accent-green); }
.spl-code-block .c-comment { color: var(--text-muted); }
.spl-code-block .c-variable { color: var(--accent-violet); }
.spl-code-block .c-func { color: var(--accent-indigo); }

.spl-copy-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  transition: all 0.2s ease;
}

.spl-copy-btn:hover {
  color: var(--text-primary);
  border-color: var(--accent-cyan);
}

.spl-copy-btn.copied {
  color: var(--accent-green);
  border-color: var(--accent-green);
}

.spl-terminal-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 16px;
}

.spl-terminal-tab {
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  background: transparent;
  border: 1px solid transparent;
  transition: all 0.2s ease;
}

.spl-terminal-tab.active {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--border);
}

.spl-terminal-tab:hover:not(.active) {
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.03);
}

.spl-terminal-panel {
  display: none;
}

.spl-terminal-panel.active {
  display: block;
  animation: fade-in 0.4s ease;
}

@keyframes fade-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ========== TRUST BAR ========== */
.spl-trust {
  padding: 42px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(10, 15, 24, 0.6);
}

.spl-trust-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.spl-trust-label {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 500;
}

.spl-trust-items {
  display: flex;
  align-items: center;
  gap: 42px;
  flex-wrap: wrap;
}

.spl-trust-item {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-secondary);
  letter-spacing: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ========== METRICS ========== */
.spl-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.spl-metric-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 28px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.spl-metric-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}

.spl-metric-value {
  font-size: 2.75rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--text-primary), var(--accent-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 8px;
}

.spl-metric-label {
  font-size: 0.9375rem;
  color: var(--text-secondary);
}

/* ========== FEATURES ========== */
.spl-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.spl-feature-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  overflow: hidden;
  transform-style: preserve-3d;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.spl-feature-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(34, 211, 238, 0.12), transparent 50%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.spl-feature-card:hover::before {
  opacity: 1;
}

.spl-feature-card:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
}

.spl-feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  background: rgba(34, 211, 238, 0.1);
  border: 1px solid rgba(34, 211, 238, 0.18);
  color: var(--accent-cyan);
}

.spl-feature-icon svg {
  width: 26px;
  height: 26px;
}

.spl-feature-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 10px;
}

.spl-feature-card p {
  color: var(--text-secondary);
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.65;
}

/* ========== API FLOW ========== */
.spl-flow {
  background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 50%, var(--bg-primary) 100%);
}

.spl-flow-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.spl-flow-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.spl-flow-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-cyan);
}

.spl-flow-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(180deg, var(--accent-cyan), var(--accent-indigo));
}

.spl-flow-step {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0;
  background: rgba(34, 211, 238, 0.1);
  color: var(--accent-cyan);
  margin-bottom: 14px;
}

.spl-flow-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin: 0 0 10px;
}

.spl-flow-card p {
  color: var(--text-secondary);
  margin: 0 0 16px;
  font-size: 0.9375rem;
}

.spl-code-snippet {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px;
  color: var(--text-secondary);
  overflow-x: auto;
  white-space: pre;
}

/* ========== SOCKET VISUALIZER ========== */
.spl-socket {
  position: relative;
}

.spl-socket-stage {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
}

.spl-socket-log {
  background: rgba(0, 0, 0, 0.4);
  border-radius: var(--radius-sm);
  padding: 20px;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  min-height: 320px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.spl-log-line {
  display: flex;
  gap: 10px;
  margin-bottom: 8px;
  opacity: 0;
  transform: translateX(-10px);
  animation: log-in 0.35s ease forwards;
}

@keyframes log-in {
  to { opacity: 1; transform: translateX(0); }
}

.spl-log-time {
  color: var(--text-muted);
  flex-shrink: 0;
}

.spl-log-event {
  color: var(--accent-cyan);
}

.spl-log-event.out { color: var(--accent-indigo); }
.spl-log-event.sys { color: var(--accent-green); }
.spl-log-event.err { color: var(--accent-red); }

.spl-socket-info h3 {
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0 0 16px;
}

.spl-socket-info p {
  color: var(--text-secondary);
  margin: 0 0 24px;
}

.spl-socket-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 6px;
  background: rgba(52, 211, 153, 0.1);
  border: 1px solid rgba(52, 211, 153, 0.2);
  color: var(--accent-green);
  font-weight: 600;
  font-size: 0.9375rem;
}

.spl-status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent-green);
  box-shadow: 0 0 12px var(--accent-green);
  animation: pulse-dot 2s ease-in-out infinite;
}

.spl-socket-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 32px;
}

.spl-socket-stat {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 18px;
}

.spl-socket-stat strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.spl-socket-stat span {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* ========== ENDPOINTS ========== */
.spl-endpoints-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.spl-endpoint {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.spl-endpoint:hover {
  transform: translateX(6px);
  border-color: var(--accent-indigo);
}

.spl-endpoint-method {
  padding: 5px 10px;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  background: rgba(34, 211, 238, 0.1);
  color: var(--accent-cyan);
}

.spl-endpoint-method.post { background: rgba(167, 139, 250, 0.1); color: var(--accent-violet); }
.spl-endpoint-method.get { background: rgba(52, 211, 153, 0.1); color: var(--accent-green); }
.spl-endpoint-method.patch { background: rgba(251, 191, 36, 0.1); color: var(--accent-amber); }
.spl-endpoint-method.delete { background: rgba(251, 113, 133, 0.1); color: var(--accent-red); }
.spl-endpoint-method.ws { background: rgba(34, 211, 238, 0.12); color: var(--accent-cyan); border: 1px solid rgba(34, 211, 238, 0.25); }

.spl-endpoint-path {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: var(--text-primary);
}

.spl-endpoint-desc {
  margin-left: auto;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* ========== CTA ========== */
.spl-cta {
  text-align: center;
}

.spl-cta-box {
  position: relative;
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.08), rgba(129, 140, 248, 0.08));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 80px 40px;
  overflow: hidden;
}

.spl-cta-box::before {
  content: "";
  position: absolute;
  inset: -50%;
  background: radial-gradient(circle at 50% 50%, rgba(34, 211, 238, 0.12), transparent 60%);
  animation: cta-glow 8s ease-in-out infinite;
  pointer-events: none;
}

@keyframes cta-glow {
  0%, 100% { transform: rotate(0deg); opacity: 0.6; }
  50% { transform: rotate(180deg); opacity: 1; }
}

.spl-cta h2 {
  position: relative;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  margin: 0 0 18px;
}

.spl-cta p {
  position: relative;
  color: var(--text-secondary);
  font-size: 1.125rem;
  max-width: 560px;
  margin: 0 auto 32px;
}

/* ========== FOOTER ========== */
.spl-footer {
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
  background: var(--bg-secondary);
}

.spl-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 48px;
  margin-bottom: 56px;
}

.spl-footer-brand p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  margin: 18px 0 0;
  max-width: 300px;
}

.spl-footer-col h4 {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0;
  margin: 0 0 18px;
  color: var(--text-primary);
}

.spl-footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.spl-footer-col a {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  transition: color 0.2s ease;
}

.spl-footer-col a:hover {
  color: var(--accent-cyan);
}

.spl-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* ========== BLOG / ARCHIVE ========== */
.spl-posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.spl-posts-grid .spl-feature-card {
  display: flex;
  flex-direction: column;
}

.spl-posts-grid .post-thumbnail {
  margin: -32px -32px 20px;
  border-radius: var(--radius) var(--radius) 0 0;
  overflow: hidden;
}

.spl-posts-grid .post-thumbnail img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.spl-posts-grid .spl-feature-card:hover .post-thumbnail img {
  transform: scale(1.05);
}

.entry-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 10px;
  line-height: 1.3;
}

.entry-title a:hover {
  color: var(--accent-cyan);
}

.entry-meta {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.entry-content {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.65;
  margin-bottom: 20px;
  flex: 1;
}

.spl-pagination {
  display: flex;
  justify-content: center;
  margin-top: 48px;
}

.spl-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 14px;
  margin: 0 4px;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
  border: 1px solid var(--border);
  transition: all 0.2s ease;
}

.spl-pagination .page-numbers:hover,
.spl-pagination .page-numbers.current {
  color: var(--bg-primary);
  background: var(--accent-cyan);
  border-color: var(--accent-cyan);
}

.no-results {
  text-align: center;
  padding: 80px 0;
}

.no-results p {
  color: var(--text-secondary);
}

/* ========== REVEAL ANIMATIONS ========== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }

/* ========== PARALLAX BACKGROUNDS ========== */
.spl-parallax-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: -1;
}

.spl-parallax-bg::before {
  content: "";
  position: absolute;
  top: 10%;
  left: -10%;
  width: 50%;
  height: 60%;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.08), transparent 60%);
  filter: blur(60px);
  animation: float-bg 12s ease-in-out infinite;
}

.spl-parallax-bg::after {
  content: "";
  position: absolute;
  bottom: 5%;
  right: -10%;
  width: 45%;
  height: 55%;
  background: radial-gradient(circle, rgba(129, 140, 248, 0.08), transparent 60%);
  filter: blur(60px);
  animation: float-bg 14s ease-in-out infinite reverse;
}

@keyframes float-bg {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(30px, -30px); }
}

/* ========== GRID LINES ========== */
.spl-grid-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: 
    linear-gradient(rgba(148, 163, 184, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, transparent, black 20%, black 80%, transparent);
  z-index: -1;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .spl-hero-grid { grid-template-columns: 1fr; }
  .spl-hero-terminal { order: -1; }
  .spl-features-grid { grid-template-columns: repeat(2, 1fr); }
  .spl-metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .spl-flow-grid { grid-template-columns: 1fr; }
  .spl-socket-stage { grid-template-columns: 1fr; }
  .spl-footer-grid { grid-template-columns: repeat(2, 1fr); }
  .spl-posts-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .spl-nav { display: none; }
  .spl-mobile-toggle { display: flex; }
  .spl-features-grid { grid-template-columns: 1fr; }
  .spl-metrics-grid { grid-template-columns: 1fr; }
  .spl-endpoints-grid { grid-template-columns: 1fr; }
  .spl-footer-grid { grid-template-columns: 1fr; }
  .spl-hero-actions { flex-direction: column; }
  .spl-hero-actions .spl-btn { width: 100%; }
  .spl-posts-grid { grid-template-columns: 1fr; }
  .spl-trust-inner { flex-direction: column; align-items: flex-start; }
}

/* ========== WORDPRESS DEFAULTS ========== */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

.aligncenter {
  display: block;
  margin: 0 auto;
}

.wp-caption {
  max-width: 100%;
}

/* ========== MOBILE OVERFLOW GUARDRAILS ========== */
@media (max-width: 768px) {
  html,
  body {
    max-width: 100vw;
    overflow-x: hidden;
  }

  .spl-container {
    width: calc(100vw - 24px) !important;
    max-width: calc(100vw - 24px) !important;
    min-width: 0 !important;
  }

  .spl-hero {
    min-height: auto;
    padding: 96px 0 56px;
    align-items: flex-start;
    overflow: hidden;
  }

  .spl-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
    max-width: 100%;
    min-width: 0;
    gap: 28px;
    overflow-x: hidden;
  }

  .spl-hero-grid > *,
  .spl-hero-content,
  .spl-hero-terminal,
  .spl-terminal-header,
  .spl-terminal-panel,
  .spl-code-block,
  .spl-hero-title,
  .spl-hero-desc,
  .spl-hero-actions {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box;
  }

  .spl-hero-terminal {
    order: -1;
    padding: 16px;
    overflow: hidden;
  }

  .spl-terminal-tabs {
    display: flex;
    flex-wrap: nowrap;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .spl-terminal-tabs::-webkit-scrollbar {
    display: none;
  }

  .spl-terminal-tab {
    flex: 0 0 auto;
  }

  .spl-terminal-panel,
  .spl-code-block {
    overflow-x: auto;
  }

  .spl-code-block {
    display: block;
    max-width: 100%;
    font-size: 0.72rem;
    white-space: pre;
  }

  .spl-terminal-title {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .spl-copy-btn {
    display: none;
  }

  .spl-hero-title {
    font-size: clamp(1.75rem, 8vw, 2rem);
    line-height: 1.12;
    max-width: 15ch !important;
    overflow-wrap: anywhere;
    white-space: normal;
  }

  .spl-hero-desc {
    font-size: 1rem;
    line-height: 1.65;
    width: auto !important;
    max-width: 34ch !important;
    overflow-wrap: anywhere;
    white-space: normal;
  }

  .spl-hero-actions {
    flex-direction: column;
  }

  .spl-hero-actions .spl-btn,
  .spl-btn {
    width: 100%;
    max-width: 100%;
    justify-content: center;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ========== NO SPLIT INNER PAGE FINAL PASS ========== */
.spl-virtual-page .spl-product-showcase,
.spl-virtual-page .spl-solutions-command,
.spl-virtual-page .spl-dev-console,
.spl-virtual-page .spl-pricing-board,
.spl-virtual-page .spl-faq-command {
  min-height: auto !important;
  padding-top: clamp(116px, 10vw, 142px) !important;
  padding-bottom: clamp(64px, 7vw, 92px) !important;
}

.spl-virtual-page .spl-page-title {
  max-width: 820px !important;
  margin-bottom: 18px !important;
  font-size: clamp(2rem, 3.9vw, 3.35rem) !important;
  line-height: 1.08 !important;
  letter-spacing: 0 !important;
}

.spl-virtual-page .spl-page-lead {
  max-width: 720px !important;
  font-size: clamp(1rem, 1.35vw, 1.16rem) !important;
  line-height: 1.68 !important;
}

.spl-product-hero-grid,
.spl-dev-console-grid {
  display: block !important;
}

.spl-product-copy,
.spl-dev-console-copy,
.spl-solutions-heading,
.spl-pricing-head,
.spl-faq-head {
  max-width: 820px !important;
}

.spl-product-rack {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  min-height: auto !important;
  margin-top: 44px;
}

.spl-product-node,
.spl-product-node-primary {
  min-height: 300px !important;
}

.spl-product-layer {
  border-radius: 4px;
}

.spl-solutions-heading,
.spl-pricing-head,
.spl-faq-head {
  margin-bottom: 34px !important;
}

.spl-solution-card-k12,
.spl-solution-card-distribution,
.spl-pricing-model-2 {
  transform: none !important;
}

.spl-solution-card {
  min-height: 390px !important;
  border-radius: 4px !important;
}

.spl-solution-route {
  margin-top: 34px !important;
}

.spl-dev-terminal {
  display: none !important;
}

.spl-dev-console .spl-page-actions {
  margin-top: 26px;
}

.spl-doc-layout {
  margin-top: 0;
}

.spl-pricing-card {
  min-height: 520px !important;
  border-radius: 4px !important;
}

.spl-pricing-note {
  margin-top: 18px !important;
}

.spl-faq-filter {
  display: none !important;
}

.spl-faq-accordion {
  max-width: 980px !important;
}

.spl-faq-item {
  border-radius: 4px !important;
}

.spl-legal-doc {
  padding-top: clamp(116px, 10vw, 142px) !important;
}

.spl-legal-layout {
  display: block !important;
}

.spl-legal-toc {
  position: relative !important;
  top: auto !important;
  max-width: none;
  margin-bottom: 24px;
  padding: 16px 18px;
  border-radius: 4px !important;
}

.spl-legal-toc strong {
  display: none;
}

.spl-legal-toc nav {
  display: flex !important;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 0 !important;
}

.spl-legal-toc nav a {
  border: 1px solid rgba(15, 23, 42, 0.11);
  border-radius: 4px;
  padding: 7px 10px;
  background: rgba(255, 255, 255, 0.72);
}

.spl-legal-longform {
  max-width: 1040px !important;
  margin: 0 auto;
  border-radius: 4px !important;
}

.spl-legal-header h1 {
  font-size: clamp(2.2rem, 5.2vw, 4.4rem) !important;
  line-height: 1.02 !important;
}

@media (max-width: 768px) {
  .spl-container {
    width: calc(100% - 36px) !important;
    max-width: calc(100% - 36px) !important;
    margin-right: auto !important;
    margin-left: auto !important;
    padding-right: 0 !important;
    padding-left: 0 !important;
  }

  .spl-header-inner {
    width: calc(100% - 36px) !important;
    max-width: calc(100% - 36px) !important;
    margin: 0 auto !important;
    padding-right: 0 !important;
    padding-left: 0 !important;
  }

  .spl-virtual-page .spl-product-showcase,
  .spl-virtual-page .spl-solutions-command,
  .spl-virtual-page .spl-dev-console,
  .spl-virtual-page .spl-pricing-board,
  .spl-virtual-page .spl-faq-command,
  .spl-legal-doc {
    padding-top: 94px !important;
    padding-bottom: 52px !important;
  }

  .spl-virtual-page .spl-page-title,
  .spl-legal-header h1 {
    max-width: 100% !important;
    font-size: clamp(1.72rem, 7.6vw, 2.18rem) !important;
    line-height: 1.12 !important;
  }

  .spl-virtual-page .spl-page-lead {
    max-width: 100% !important;
  }

  .spl-product-rack {
    grid-template-columns: 1fr !important;
    margin-top: 26px;
  }

  .spl-product-node,
  .spl-product-node-primary {
    min-height: auto !important;
  }

  .spl-solution-card {
    min-height: auto !important;
  }

  .spl-pricing-track {
    margin-right: 0 !important;
    margin-left: 0 !important;
    padding-right: 0 !important;
    padding-left: 0 !important;
  }

  .spl-pricing-track .spl-pricing-card {
    flex-basis: min(82vw, 320px) !important;
  }

  .spl-legal-toc {
    overflow: hidden;
  }

  .spl-legal-toc nav {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .spl-legal-toc nav a {
    flex: 0 0 auto;
  }

  .spl-legal-longform {
    padding: 20px !important;
  }
}

/* ========== COMPACT INNER PAGE TUNING ========== */
.spl-virtual-page .spl-page-title {
  max-width: 760px !important;
  font-size: clamp(1.86rem, 3.05vw, 2.72rem) !important;
  line-height: 1.1 !important;
}

.spl-virtual-page .spl-page-lead {
  max-width: 660px !important;
}

.spl-virtual-page .spl-product-showcase,
.spl-virtual-page .spl-solutions-command,
.spl-virtual-page .spl-dev-console,
.spl-virtual-page .spl-pricing-board,
.spl-virtual-page .spl-faq-command {
  padding-top: clamp(108px, 9vw, 132px) !important;
  padding-bottom: clamp(54px, 6vw, 76px) !important;
}

.spl-product-rack {
  margin-top: 30px !important;
}

.spl-product-node,
.spl-product-node-primary {
  min-height: 245px !important;
}

.spl-product-node span {
  margin-bottom: 42px !important;
}

.spl-solutions-heading,
.spl-pricing-head,
.spl-faq-head {
  margin-bottom: 24px !important;
}

.spl-pricing-card {
  min-height: 500px !important;
}

.spl-legal-header h1 {
  font-size: clamp(2rem, 4.4vw, 3.65rem) !important;
}

@media (max-width: 768px) {
  .spl-virtual-page .spl-page-title,
  .spl-legal-header h1 {
    font-size: clamp(1.58rem, 6.8vw, 2rem) !important;
  }

  .spl-product-rack {
    margin-top: 22px !important;
  }
}

/* ========== CONTENT FIRST INNER PAGES FINAL PASS ========== */
.spl-content-first {
  display: block !important;
}

.spl-page-strip {
  display: grid;
  grid-template-columns: minmax(180px, 0.42fr) minmax(0, 1fr) minmax(220px, 0.48fr);
  gap: 16px;
  align-items: center;
  margin-bottom: 22px;
  padding: 14px 16px;
  border: 1px solid rgba(172, 186, 202, 0.15);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.026);
}

.spl-page-strip span,
.spl-page-strip em {
  color: #9eabb9;
  font-family: "Courier New", monospace;
  font-size: 0.76rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0;
}

.spl-page-strip strong {
  color: #f4f7fb;
  font-size: clamp(0.98rem, 1.4vw, 1.22rem);
  line-height: 1.18;
}

.spl-virtual-page .spl-product-showcase,
.spl-virtual-page .spl-solutions-command,
.spl-virtual-page .spl-pricing-board,
.spl-virtual-page .spl-faq-command,
.spl-virtual-page .spl-developer-first {
  padding-top: clamp(102px, 8vw, 122px) !important;
  padding-bottom: clamp(52px, 5.5vw, 76px) !important;
}

.spl-product-rack,
.spl-solution-grid-redesigned,
.spl-pricing-track,
.spl-faq-accordion,
.spl-doc-layout {
  margin-top: 0 !important;
}

.spl-product-rack {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  min-height: auto !important;
}

.spl-product-node,
.spl-product-node-primary {
  min-height: 288px !important;
}

.spl-product-node span {
  margin-bottom: 60px !important;
}

.spl-solution-card {
  min-height: 430px !important;
}

.spl-pricing-head,
.spl-solutions-heading,
.spl-faq-head,
.spl-product-copy,
.spl-dev-console-copy {
  display: none !important;
}

.spl-faq-filter {
  display: flex !important;
  margin-bottom: 18px !important;
}

.spl-faq-filter strong {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(172, 186, 202, 0.18);
  border-radius: 4px;
  padding: 8px 10px;
  color: #f4f7fb;
  background: rgba(255, 255, 255, 0.035);
  font-family: "Courier New", monospace;
  font-size: 0.8rem;
}

.spl-legal-strip {
  margin-bottom: 16px !important;
  background: rgba(15, 23, 42, 0.035);
}

.spl-legal-strip span,
.spl-legal-strip em {
  color: #64748b !important;
}

.spl-legal-strip strong {
  color: #111827 !important;
}

.spl-legal-toc {
  margin-bottom: 18px !important;
}

.spl-legal-header {
  padding-bottom: 14px !important;
}

.spl-legal-header .spl-legal-meta {
  margin-bottom: 0 !important;
}

.spl-legal-longform {
  max-width: 1080px !important;
}

@media (max-width: 1024px) {
  .spl-page-strip {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .spl-product-rack,
  .spl-solution-grid-redesigned {
    grid-template-columns: 1fr !important;
  }

  .spl-product-node,
  .spl-product-node-primary,
  .spl-solution-card {
    min-height: auto !important;
  }

  .spl-product-node span {
    margin-bottom: 32px !important;
  }
}

@media (max-width: 768px) {
  .spl-virtual-page .spl-product-showcase,
  .spl-virtual-page .spl-solutions-command,
  .spl-virtual-page .spl-pricing-board,
  .spl-virtual-page .spl-faq-command,
  .spl-virtual-page .spl-developer-first,
  .spl-virtual-page .spl-legal-doc {
    padding-top: 86px !important;
  }

  .spl-page-strip {
    padding: 12px;
  }

  .spl-page-strip strong {
    font-size: 1rem;
  }
}

/* ========== INTERACTION POLISH + REBUILT FOOTER ========== */
.spl-header .spl-nav .spl-btn-primary,
.spl-header .spl-nav a.spl-btn-primary {
  background: #8bd7f8;
  color: #06121a;
  border: 1px solid rgba(139, 215, 248, 0.72);
  box-shadow: 0 12px 30px rgba(56, 189, 248, 0.16);
}

.spl-header .spl-nav .spl-btn-primary:hover,
.spl-header .spl-nav a.spl-btn-primary:hover {
  background: #a6e2fb;
  color: #06121a;
  border-color: rgba(166, 226, 251, 0.86);
  box-shadow: 0 16px 34px rgba(56, 189, 248, 0.22);
}

.spl-nav a:not(.spl-btn) {
  position: relative;
}

.spl-nav a:not(.spl-btn)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(139, 215, 248, 0.78), transparent);
  opacity: 0;
  transform: scaleX(0.35);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.spl-nav a:not(.spl-btn):hover::after {
  opacity: 1;
  transform: scaleX(1);
}

.spl-btn {
  position: relative;
  overflow: hidden;
}

.spl-ripple {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  pointer-events: none;
  background: rgba(255, 255, 255, 0.42);
  transform: translate(-50%, -50%) scale(1);
  animation: spl-ripple 0.72s ease-out forwards;
}

@keyframes spl-ripple {
  to {
    opacity: 0;
    transform: translate(-50%, -50%) scale(34);
  }
}

.spl-feature-card,
.spl-flow-card,
.spl-metric-card,
.spl-endpoint,
.spl-hero-terminal,
.spl-cta-box,
.spl-footer-panel {
  position: relative;
  overflow: hidden;
}

.spl-feature-card::after,
.spl-flow-card::after,
.spl-metric-card::after,
.spl-endpoint::after,
.spl-hero-terminal::after,
.spl-cta-box::after,
.spl-footer-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background:
    linear-gradient(90deg, transparent, rgba(139, 215, 248, 0.08), transparent),
    linear-gradient(180deg, transparent, rgba(201, 157, 72, 0.06), transparent),
    linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.025), transparent);
  background-repeat: no-repeat;
  background-size: 260px 100%, 100% 210px, 100% 100%;
  background-position: calc(var(--px, 50%) - 130px) 0, 0 calc(var(--py, 50%) - 105px), 0 0;
  transition: opacity 0.24s ease;
}

.spl-feature-card:hover::after,
.spl-flow-card:hover::after,
.spl-metric-card:hover::after,
.spl-endpoint:hover::after,
.spl-hero-terminal:hover::after,
.spl-cta-box:hover::after,
.spl-footer-panel:hover::after {
  opacity: 1;
}

.spl-endpoint:hover {
  transform: translateX(4px);
  background: rgba(18, 27, 37, 0.92);
}

.spl-terminal-tab {
  position: relative;
}

.spl-terminal-tab::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 4px;
  height: 1px;
  background: rgba(139, 215, 248, 0.72);
  opacity: 0;
  transform: scaleX(0.4);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.spl-terminal-tab:hover::after,
.spl-terminal-tab.active::after {
  opacity: 1;
  transform: scaleX(1);
}

.spl-footer {
  padding: 76px 0 30px;
  background:
    linear-gradient(180deg, rgba(8, 13, 19, 0.98), rgba(4, 7, 10, 1)),
    radial-gradient(circle at 72% 0%, rgba(56, 189, 248, 0.08), transparent 36%);
  border-top: 1px solid rgba(148, 163, 184, 0.16);
}

.spl-footer-panel {
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 8px;
  background: rgba(11, 17, 24, 0.82);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.28);
}

.spl-footer-intro {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 44px;
  padding: 34px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
}

.spl-footer-intro .spl-logo {
  align-self: start;
}

.spl-footer-kicker {
  margin: 0 0 8px;
  color: #8bd7f8;
  font-size: 0.82rem;
  font-weight: 700;
}

.spl-footer-intro h2 {
  max-width: 760px;
  margin: 0 0 12px;
  font-size: clamp(1.6rem, 3vw, 2.45rem);
  line-height: 1.1;
  color: var(--text-primary);
}

.spl-footer-intro p:last-child {
  max-width: 740px;
  margin: 0;
  color: var(--text-secondary);
}

.spl-footer-status {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
}

.spl-footer-status span {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 24px;
  color: #aeb9c8;
  border-right: 1px solid rgba(148, 163, 184, 0.12);
  font-size: 0.9rem;
}

.spl-footer-status span:last-child {
  border-right: 0;
}

.spl-footer-status i {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: var(--accent-green);
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.08);
}

.spl-footer-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 0;
}

.spl-footer-col {
  min-height: 190px;
  padding: 28px 34px 34px;
  border-right: 1px solid rgba(148, 163, 184, 0.12);
}

.spl-footer-col:last-child {
  border-right: 0;
}

.spl-footer-col h4 {
  margin-bottom: 16px;
  color: #eef5fb;
  text-transform: none;
}

.spl-footer-col ul {
  gap: 12px;
}

.spl-footer-col a,
.spl-footer-contact p {
  color: #a9b4c3;
}

.spl-footer-col a {
  position: relative;
  display: inline-flex;
  align-items: center;
  transition: color 0.2s ease, transform 0.2s ease;
}

.spl-footer-col a::before {
  content: "";
  width: 0;
  height: 1px;
  margin-right: 0;
  background: #8bd7f8;
  transition: width 0.2s ease, margin-right 0.2s ease;
}

.spl-footer-col a:hover {
  color: #e7f6ff;
  transform: translateX(2px);
}

.spl-footer-col a:hover::before {
  width: 12px;
  margin-right: 8px;
}

.spl-footer-contact p {
  margin: 0 0 18px;
  font-size: 0.94rem;
}

.spl-footer-link {
  color: #8bd7f8 !important;
}

.spl-footer-bottom {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
}

@media (max-width: 900px) {
  .spl-footer-intro,
  .spl-footer-status,
  .spl-footer-grid {
    grid-template-columns: 1fr;
  }

  .spl-footer-intro,
  .spl-footer-col {
    padding: 24px;
  }

  .spl-footer-status span,
  .spl-footer-col {
    border-right: 0;
    border-bottom: 1px solid rgba(148, 163, 184, 0.12);
  }

  .spl-footer-col:last-child {
    border-bottom: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .spl-ripple {
    display: none;
  }
}

/* ========== KIMI-GUIDED DE-AI REFINEMENT ========== */
:root {
  --bg-primary: #05070a;
  --bg-secondary: #0b1118;
  --bg-tertiary: #111820;
  --bg-card: rgba(14, 20, 28, 0.84);
  --border: rgba(148, 163, 184, 0.18);
  --border-strong: rgba(148, 163, 184, 0.3);
  --text-primary: #f4f7fb;
  --text-secondary: #a8b3c2;
  --text-muted: #6f7b8d;
  --accent-cyan: #38bdf8;
  --accent-indigo: #5b7cfa;
  --accent-violet: #7282a6;
  --accent-green: #22c55e;
  --accent-amber: #d9a441;
  --accent-red: #d66a6a;
  --radius: 8px;
  --radius-sm: 4px;
  --shadow-sm: 0 1px 0 rgba(255, 255, 255, 0.04), 0 8px 24px rgba(0, 0, 0, 0.24);
  --shadow-md: 0 18px 44px rgba(0, 0, 0, 0.34);
  --shadow-glow: 0 0 0 rgba(0, 0, 0, 0);
}

body {
  background:
    linear-gradient(180deg, #05070a 0%, #070b10 44%, #06090d 100%);
}

.mouse-glow {
  opacity: 0.18;
  filter: blur(34px);
}

.spl-header {
  background: rgba(5, 7, 10, 0.86);
  border-bottom-color: rgba(148, 163, 184, 0.14);
}

.spl-header.scrolled {
  background: rgba(5, 7, 10, 0.94);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.24);
}

.spl-logo-mark {
  border-radius: 6px;
  background: #152232;
  border: 1px solid rgba(56, 189, 248, 0.28);
  box-shadow: none;
}

.spl-nav {
  gap: 24px;
}

.spl-btn,
.spl-copy-btn,
.spl-terminal-tab,
.spl-flow-step,
.spl-code-snippet,
.spl-hero-badge {
  border-radius: 6px;
}

.spl-btn {
  min-height: 44px;
  padding: 12px 20px;
  letter-spacing: 0;
  box-shadow: none;
}

.spl-btn-primary {
  background: #2f9fd3;
  color: #061018;
  box-shadow: 0 10px 24px rgba(47, 159, 211, 0.18);
}

.spl-btn-primary:hover {
  background: #49add9;
  box-shadow: 0 12px 26px rgba(47, 159, 211, 0.22);
  transform: translateY(-1px);
}

.spl-btn-ghost {
  background: rgba(255, 255, 255, 0.02);
  border-color: rgba(148, 163, 184, 0.22);
}

.spl-btn-ghost:hover {
  color: #dce8f5;
  border-color: rgba(56, 189, 248, 0.38);
  background: rgba(56, 189, 248, 0.06);
}

.spl-hero {
  min-height: 92vh;
  padding: 118px 0 72px;
}

.spl-hero-grid {
  gap: 54px;
}

.spl-hero-badge {
  background: rgba(56, 189, 248, 0.08);
  border-color: rgba(56, 189, 248, 0.18);
  color: #9edcf6;
  box-shadow: none;
}

.spl-hero-badge::before,
.spl-terminal-dot {
  box-shadow: none;
}

.spl-hero-title {
  max-width: 620px;
  font-size: clamp(2.35rem, 4.9vw, 3.75rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.spl-hero-title .gradient-text,
.spl-metric-value {
  background: none;
  -webkit-text-fill-color: currentColor;
  color: #57b9e6;
}

.spl-hero-desc {
  max-width: 560px;
  color: #aab7c8;
}

.spl-hero-terminal,
.spl-metric-card,
.spl-feature-card,
.spl-flow-card,
.spl-socket-stage,
.spl-endpoint-card,
.spl-doc-card,
.spl-contact-card {
  border-radius: 8px;
  background: rgba(14, 20, 28, 0.82);
  border-color: rgba(148, 163, 184, 0.18);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
}

.spl-hero-terminal {
  backdrop-filter: blur(8px);
}

.spl-feature-card::before,
.spl-flow-card::after,
.spl-parallax-bg::before,
.spl-parallax-bg::after {
  opacity: 0.32;
}

.spl-feature-card:hover,
.spl-flow-card:hover,
.spl-metric-card:hover,
.tilt-card:hover {
  border-color: rgba(56, 189, 248, 0.32);
  box-shadow: 0 20px 46px rgba(0, 0, 0, 0.34);
  transform: translateY(-3px);
}

.spl-feature-icon {
  border-radius: 6px;
  background: rgba(56, 189, 248, 0.08);
  border-color: rgba(56, 189, 248, 0.18);
}

.spl-terminal-tab.active,
.spl-flow-step {
  background: rgba(148, 163, 184, 0.09);
  border-color: rgba(148, 163, 184, 0.22);
}

.spl-grid-lines {
  opacity: 0.5;
  background-size: 72px 72px;
}

.spl-parallax-bg {
  opacity: 0.72;
}

@media (max-width: 768px) {
  .spl-hero {
    padding: 92px 0 56px;
  }

  .spl-hero-grid {
    gap: 26px;
  }

  .spl-hero-title {
    max-width: 16ch !important;
    font-size: clamp(1.78rem, 8vw, 2.05rem);
    line-height: 1.12;
  }

  .spl-hero-desc {
    max-width: 34ch !important;
  }

  .spl-btn {
    border-radius: 6px;
  }
}

/* ========== FINAL HEADER, FOOTER, MOBILE RESET ========== */
.spl-logo {
  gap: 0;
  letter-spacing: 0;
}

.spl-logo-mark {
  display: none !important;
}

.spl-header .spl-nav .spl-btn-primary,
.spl-header .spl-nav a.spl-btn-primary {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #eef7fb;
  border: 1px solid transparent;
  background:
    linear-gradient(#071119, #071119) padding-box,
    linear-gradient(135deg, #7dd8f4 0%, #7384f6 54%, #c99d48 100%) border-box;
  box-shadow: none;
}

.spl-header .spl-nav .spl-btn-primary::before,
.spl-header .spl-nav a.spl-btn-primary::before {
  content: "";
  position: absolute;
  inset: 1px;
  z-index: -1;
  background: linear-gradient(135deg, rgba(125, 216, 244, 0.1), rgba(115, 132, 246, 0.05), rgba(201, 157, 72, 0.08));
  opacity: 0;
  transition: opacity 0.18s ease-out;
}

.spl-header .spl-nav .spl-btn-primary:hover,
.spl-header .spl-nav a.spl-btn-primary:hover {
  color: #ffffff;
  background:
    linear-gradient(#091521, #091521) padding-box,
    linear-gradient(135deg, #a4e8fb 0%, #8f9cff 52%, #dfb45c 100%) border-box;
  box-shadow: none;
  transform: translateY(-1px);
}

.spl-header .spl-nav .spl-btn-primary:hover::before,
.spl-header .spl-nav a.spl-btn-primary:hover::before {
  opacity: 1;
}

.spl-footer {
  padding: 76px 0 30px;
  border-top: 1px solid rgba(148, 163, 184, 0.14);
  background:
    linear-gradient(180deg, #070b10 0%, #05070a 100%),
    radial-gradient(circle at 75% 0%, rgba(56, 189, 248, 0.07), transparent 34%);
}

.spl-footer-board {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 6px;
  background:
    linear-gradient(180deg, rgba(13, 19, 27, 0.94), rgba(8, 12, 18, 0.96)),
    linear-gradient(135deg, rgba(56, 189, 248, 0.07), rgba(115, 132, 246, 0.03));
  box-shadow: 0 22px 58px rgba(0, 0, 0, 0.28);
}

.spl-footer-board::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, rgba(125, 216, 244, 0.62), rgba(115, 132, 246, 0.36), rgba(201, 157, 72, 0.46));
}

.spl-footer-board::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at var(--px, 50%) var(--py, 0%), rgba(125, 216, 244, 0.12), transparent 34%);
  opacity: 0;
  transition: opacity 0.2s ease-out;
}

.spl-footer-board:hover::after {
  opacity: 1;
}

.spl-footer-main {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(280px, 1.45fr) repeat(3, minmax(0, 0.8fr));
}

.spl-footer-brandline {
  min-height: 232px;
  padding: 34px;
  border-right: 1px solid rgba(148, 163, 184, 0.13);
}

.spl-footer-logo {
  display: inline-flex;
  color: #f5f8fc;
  font-size: 1.1rem;
  font-weight: 760;
  letter-spacing: 0;
}

.spl-footer-brandline p {
  max-width: 360px;
  margin: 20px 0 24px;
  color: #a8b3c2;
  font-size: 0.94rem;
  line-height: 1.72;
}

.spl-footer-mail {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 12px;
  color: #dce8f5;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.025);
  font-size: 0.88rem;
  transition: color 0.18s ease-out, border-color 0.18s ease-out, background 0.18s ease-out;
}

.spl-footer-mail:hover {
  color: #ffffff;
  border-color: rgba(125, 216, 244, 0.42);
  background: rgba(125, 216, 244, 0.06);
}

.spl-footer-col {
  min-height: 232px;
  padding: 34px 28px;
  border-right: 1px solid rgba(148, 163, 184, 0.11);
}

.spl-footer-col:last-child {
  border-right: 0;
}

.spl-footer-col span {
  display: block;
  margin: 0 0 18px;
  color: #eef5fb;
  font-size: 0.8rem;
  font-weight: 720;
  text-transform: uppercase;
}

.spl-footer-col a {
  display: flex;
  align-items: center;
  width: fit-content;
  margin: 0 0 13px;
  color: #9da9b8;
  font-size: 0.92rem;
  line-height: 1.45;
  transition: color 0.18s ease-out, transform 0.18s ease-out;
}

.spl-footer-col a::before {
  content: "";
  width: 0;
  height: 1px;
  margin-right: 0;
  background: #7dd8f4;
  transition: width 0.18s ease-out, margin-right 0.18s ease-out;
}

.spl-footer-col a:hover {
  color: #f5f8fc;
  transform: translateX(2px);
}

.spl-footer-col a:hover::before {
  width: 12px;
  margin-right: 8px;
}

.spl-footer-ops {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(148, 163, 184, 0.13);
  background: rgba(255, 255, 255, 0.018);
}

.spl-footer-ops div {
  min-height: 96px;
  padding: 22px 28px;
  border-right: 1px solid rgba(148, 163, 184, 0.1);
}

.spl-footer-ops div:last-child {
  border-right: 0;
}

.spl-footer-ops strong {
  display: block;
  margin-bottom: 8px;
  color: #f3f7fb;
  font-size: 0.94rem;
}

.spl-footer-ops span {
  display: block;
  color: #8f9cac;
  font-size: 0.85rem;
  line-height: 1.6;
}

.spl-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(148, 163, 184, 0.11);
  color: #7f8b9a;
  font-size: 0.84rem;
}

.spl-footer-bottom p {
  margin: 0;
}

@media (max-width: 1024px) {
  .spl-hero-grid {
    display: flex;
    flex-direction: column;
    gap: 36px;
  }

  .spl-hero-content {
    order: 1;
  }

  .spl-hero-terminal {
    order: 2;
    width: 100%;
  }

  .spl-footer-main {
    grid-template-columns: minmax(260px, 1.2fr) repeat(3, minmax(0, 1fr));
  }

  .spl-footer-brandline,
  .spl-footer-col {
    padding: 28px 24px;
  }
}

@media (max-width: 768px) {
  html,
  body {
    max-width: 100vw;
    overflow-x: hidden;
  }

  .spl-container {
    width: auto !important;
    max-width: none;
    margin-right: 18px;
    margin-left: 18px;
  }

  .spl-header {
    background: rgba(5, 7, 10, 0.94);
  }

  .spl-header-inner {
    min-height: 64px;
  }

  .spl-logo {
    font-size: 1.08rem;
    line-height: 1;
  }

  .spl-nav,
  .spl-mobile-toggle {
    display: none !important;
  }

  .spl-hero {
    min-height: auto;
    padding: 92px 0 54px;
  }

  .spl-hero-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 28px !important;
  }

  .spl-hero-content {
    order: 1 !important;
    width: 100%;
    min-width: 0;
  }

  .spl-hero-terminal {
    order: 2 !important;
    width: 100%;
    max-width: 100%;
    margin-top: 2px;
    padding: 14px;
    border-radius: 6px;
    transform: none !important;
    box-sizing: border-box;
  }

  .spl-hero-badge {
    max-width: 100%;
    padding: 9px 12px;
    font-size: 0.75rem;
  }

  .spl-hero-title {
    max-width: 13ch !important;
    margin-top: 18px;
    font-size: clamp(2rem, 9.6vw, 2.62rem) !important;
    line-height: 1.08;
  }

  .spl-hero-desc {
    max-width: 32ch !important;
    width: auto;
    margin-top: 18px;
    font-size: 1rem;
    line-height: 1.62;
    overflow-wrap: anywhere;
  }

  .spl-hero-actions {
    width: 100%;
    flex-direction: column;
    gap: 12px;
    margin-top: 24px;
  }

  .spl-hero-actions .spl-btn {
    width: 100%;
    justify-content: center;
    min-height: 48px;
  }

  .spl-terminal-header {
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
  }

  .spl-terminal-tabs {
    display: flex;
    gap: 8px;
    max-width: 100%;
    overflow-x: auto;
    padding-bottom: 3px;
  }

  .spl-terminal-tab {
    flex: 0 0 auto;
    padding: 9px 10px;
    font-size: 0.73rem;
  }

  .spl-copy-btn {
    display: none;
  }

  .spl-terminal-panel {
    min-width: 0;
  }

  .spl-code-block {
    max-height: 258px;
    padding: 14px;
    overflow: auto;
    border-radius: 4px;
    font-size: 0.68rem;
    line-height: 1.65;
    white-space: pre;
  }

  .spl-trust {
    margin-top: 24px;
  }

  .spl-trust-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    align-items: start;
    padding: 16px;
  }

  .spl-section {
    padding: 60px 0;
  }

  .spl-section-header {
    margin-bottom: 30px;
  }

  .spl-section-title {
    font-size: clamp(1.75rem, 7.4vw, 2.3rem);
    line-height: 1.12;
  }

  .spl-features-grid,
  .spl-metrics-grid,
  .spl-flow-grid,
  .spl-endpoints-grid,
  .spl-docs-grid {
    grid-template-columns: 1fr !important;
    gap: 16px;
  }

  .spl-feature-card,
  .spl-metric-card,
  .spl-flow-card,
  .spl-endpoint-card,
  .spl-doc-card,
  .spl-contact-card,
  .spl-cta-box {
    padding: 22px;
    border-radius: 6px;
  }

  .spl-feature-card:hover,
  .spl-flow-card:hover,
  .spl-metric-card:hover,
  .tilt-card:hover {
    transform: none;
  }

  .spl-socket-stage {
    grid-template-columns: 1fr !important;
    gap: 18px;
    padding: 18px;
    border-radius: 6px;
  }

  .spl-socket-log {
    min-height: 260px;
    max-height: 320px;
  }

  .spl-footer {
    padding: 56px 0 24px;
  }

  .spl-footer-board {
    border-radius: 6px;
  }

  .spl-footer-main {
    grid-template-columns: 1fr;
  }

  .spl-footer-brandline,
  .spl-footer-col {
    min-height: auto;
    padding: 24px;
    border-right: 0;
    border-bottom: 1px solid rgba(148, 163, 184, 0.12);
  }

  .spl-footer-brandline p {
    max-width: none;
    margin: 16px 0 18px;
  }

  .spl-footer-col span {
    margin-bottom: 14px;
  }

  .spl-footer-col a {
    margin-bottom: 11px;
  }

  .spl-footer-ops {
    grid-template-columns: 1fr;
    border-top: 0;
  }

  .spl-footer-ops div {
    min-height: auto;
    padding: 18px 24px;
    border-right: 0;
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
  }

  .spl-footer-ops div:last-child {
    border-bottom: 0;
  }

  .spl-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.8rem;
  }
}

@media (max-width: 430px) {
  .spl-container {
    margin-right: 16px;
    margin-left: 16px;
  }

  .spl-hero-title {
    max-width: 12.5ch !important;
    font-size: clamp(1.95rem, 10vw, 2.35rem) !important;
  }

  .spl-hero-terminal {
    padding: 12px;
  }

  .spl-code-block {
    max-height: 236px;
    font-size: 0.64rem;
  }

  .spl-footer-brandline,
  .spl-footer-col,
  .spl-footer-ops div {
    padding-left: 20px;
    padding-right: 20px;
  }
}

/* ========== PRODUCT COLOR SYSTEM RESET ========== */
:root {
  --bg-primary: #060a0e;
  --bg-secondary: #0b1118;
  --bg-tertiary: #111820;
  --bg-card: rgba(13, 19, 27, 0.86);
  --border: rgba(148, 163, 184, 0.16);
  --border-strong: rgba(148, 163, 184, 0.28);
  --text-primary: #f4f7fb;
  --text-secondary: #a8b3c2;
  --text-muted: #6f7b8d;
  --accent-cyan: #38bdf8;
  --accent-indigo: #6278d8;
  --accent-violet: #7c879d;
  --accent-green: #54c689;
  --accent-amber: #c99d48;
  --accent-red: #d66a6a;
  --shadow-sm: 0 1px 0 rgba(255, 255, 255, 0.035), 0 10px 28px rgba(0, 0, 0, 0.26);
  --shadow-md: 0 20px 48px rgba(0, 0, 0, 0.34);
  --shadow-glow: 0 0 0 rgba(0, 0, 0, 0);
}

body {
  background:
    linear-gradient(180deg, #080d12 0%, #060a0e 42%, #070c11 100%),
    repeating-linear-gradient(90deg, rgba(148, 163, 184, 0.024) 0 1px, transparent 1px 96px),
    repeating-linear-gradient(180deg, rgba(148, 163, 184, 0.02) 0 1px, transparent 1px 96px);
}

.mouse-glow {
  background: rgba(56, 189, 248, 0.26);
  opacity: 0.11;
  filter: blur(36px);
}

.spl-header,
.spl-header.scrolled {
  background: rgba(8, 13, 18, 0.9);
  border-bottom-color: rgba(148, 163, 184, 0.14);
}

.spl-header.scrolled {
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.28);
}

.spl-hero {
  background:
    linear-gradient(180deg, rgba(6, 10, 14, 0.38), rgba(6, 10, 14, 0.96)),
    repeating-linear-gradient(90deg, rgba(148, 163, 184, 0.026) 0 1px, transparent 1px 88px),
    repeating-linear-gradient(180deg, rgba(148, 163, 184, 0.02) 0 1px, transparent 1px 88px);
}

.spl-hero::before {
  content: "";
  position: absolute;
  inset: 72px 0 0;
  pointer-events: none;
  opacity: 0.38;
  background:
    linear-gradient(90deg, transparent 0 8%, rgba(56, 189, 248, 0.12) 8% 8.08%, transparent 8.08% 34%, rgba(201, 157, 72, 0.1) 34% 34.08%, transparent 34.08% 100%),
    linear-gradient(180deg, transparent 0 22%, rgba(56, 189, 248, 0.08) 22% 22.08%, transparent 22.08% 68%, rgba(148, 163, 184, 0.06) 68% 68.08%, transparent 68.08% 100%);
  mask-image: linear-gradient(180deg, transparent 0%, black 22%, black 72%, transparent 100%);
}

.spl-parallax-bg {
  opacity: 0.55;
  background:
    linear-gradient(135deg, rgba(56, 189, 248, 0.055), transparent 32%),
    linear-gradient(315deg, rgba(201, 157, 72, 0.05), transparent 30%);
}

.spl-parallax-bg::before,
.spl-parallax-bg::after {
  opacity: 0;
}

.spl-grid-lines {
  opacity: 0.34;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.04) 1px, transparent 1px);
  background-size: 96px 96px;
}

.spl-hero-title .gradient-text,
.spl-metric-value {
  color: #4fc3ee;
  background: none;
  -webkit-text-fill-color: currentColor;
}

.spl-hero-desc,
.spl-section-lead,
.spl-feature-card p,
.spl-flow-card p,
.spl-doc-card p,
.spl-contact-card p {
  color: #a8b3c2;
}

.spl-btn-primary {
  background: #2f9fd3;
  color: #051018;
  border-color: rgba(56, 189, 248, 0.58);
  box-shadow: 0 10px 26px rgba(16, 93, 130, 0.22);
}

.spl-btn-primary:hover {
  background: #42b4df;
  box-shadow: 0 12px 28px rgba(16, 93, 130, 0.28);
}

.spl-header .spl-nav .spl-btn-primary,
.spl-header .spl-nav a.spl-btn-primary {
  color: #f5f8fc;
  background:
    linear-gradient(#071119, #071119) padding-box,
    linear-gradient(135deg, #58c4ed 0%, #6278d8 58%, #c99d48 100%) border-box;
}

.spl-header .spl-nav .spl-btn-primary::before,
.spl-header .spl-nav a.spl-btn-primary::before {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.1), rgba(98, 120, 216, 0.055), rgba(201, 157, 72, 0.09));
}

.spl-header .spl-nav .spl-btn-primary:hover,
.spl-header .spl-nav a.spl-btn-primary:hover {
  background:
    linear-gradient(#0a1620, #0a1620) padding-box,
    linear-gradient(135deg, #70d0f4 0%, #7588e0 58%, #d6ad5b 100%) border-box;
}

.spl-btn-ghost,
.spl-copy-btn,
.spl-terminal-tab {
  background: rgba(255, 255, 255, 0.025);
  border-color: rgba(148, 163, 184, 0.2);
}

.spl-btn-ghost:hover,
.spl-copy-btn:hover,
.spl-terminal-tab:hover {
  color: #f4f7fb;
  border-color: rgba(56, 189, 248, 0.32);
  background: rgba(56, 189, 248, 0.045);
}

.spl-hero-terminal,
.spl-metric-card,
.spl-feature-card,
.spl-flow-card,
.spl-socket-stage,
.spl-endpoint-card,
.spl-doc-card,
.spl-contact-card,
.spl-cta-box {
  background:
    linear-gradient(180deg, rgba(13, 19, 27, 0.92), rgba(9, 14, 20, 0.94)),
    linear-gradient(135deg, rgba(56, 189, 248, 0.035), transparent 48%);
  border-color: rgba(148, 163, 184, 0.17);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.3);
}

.spl-feature-card:hover,
.spl-flow-card:hover,
.spl-metric-card:hover,
.tilt-card:hover {
  border-color: rgba(56, 189, 248, 0.28);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.34);
}

.spl-feature-icon,
.spl-flow-step,
.spl-hero-badge,
.spl-terminal-tab.active {
  background: rgba(56, 189, 248, 0.075);
  border-color: rgba(56, 189, 248, 0.18);
  color: #9edcf6;
}

.spl-code-block,
.spl-socket-log {
  background: rgba(5, 9, 13, 0.45);
}

.spl-endpoint-method.post {
  background: rgba(98, 120, 216, 0.1);
  color: #9fadf0;
}

.spl-endpoint-method.get {
  background: rgba(84, 198, 137, 0.1);
  color: #79d8a6;
}

.spl-endpoint-method.patch {
  background: rgba(201, 157, 72, 0.12);
  color: #d4b066;
}

.spl-endpoint-method.ws {
  background: rgba(56, 189, 248, 0.1);
  color: #7fd3f4;
  border-color: rgba(56, 189, 248, 0.2);
}

.spl-cta {
  background:
    linear-gradient(180deg, rgba(9, 14, 20, 0.96), rgba(6, 10, 14, 1)),
    repeating-linear-gradient(90deg, rgba(148, 163, 184, 0.022) 0 1px, transparent 1px 88px);
}

.spl-footer {
  background:
    linear-gradient(180deg, #090e14 0%, #060a0e 100%),
    repeating-linear-gradient(90deg, rgba(148, 163, 184, 0.022) 0 1px, transparent 1px 96px);
  border-top-color: rgba(148, 163, 184, 0.14);
}

.spl-footer-board {
  background:
    linear-gradient(180deg, rgba(13, 19, 27, 0.95), rgba(8, 13, 18, 0.97)),
    linear-gradient(135deg, rgba(56, 189, 248, 0.05), rgba(201, 157, 72, 0.025));
  border-color: rgba(148, 163, 184, 0.18);
}

.spl-footer-board::before {
  background: linear-gradient(90deg, rgba(56, 189, 248, 0.58), rgba(98, 120, 216, 0.3), rgba(201, 157, 72, 0.48));
}

.spl-footer-board::after {
  background:
    linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.055), transparent),
    linear-gradient(180deg, transparent, rgba(201, 157, 72, 0.025), transparent);
}

.spl-footer-mail:hover,
.spl-footer-col a:hover {
  color: #f4f7fb;
}

.spl-footer-col a::before {
  background: #58c4ed;
}

@media (max-width: 768px) {
  .spl-header,
  .spl-header.scrolled {
    background: rgba(8, 13, 18, 0.96);
  }

  .spl-hero {
    background:
      linear-gradient(180deg, rgba(8, 13, 18, 0.64), rgba(6, 10, 14, 0.98)),
      repeating-linear-gradient(90deg, rgba(148, 163, 184, 0.022) 0 1px, transparent 1px 72px),
      repeating-linear-gradient(180deg, rgba(148, 163, 184, 0.018) 0 1px, transparent 1px 72px);
  }

  .spl-hero::before {
    top: 64px;
    opacity: 0.24;
    background:
      linear-gradient(90deg, transparent 0 14%, rgba(56, 189, 248, 0.1) 14% 14.18%, transparent 14.18% 100%),
      linear-gradient(180deg, transparent 0 24%, rgba(201, 157, 72, 0.08) 24% 24.18%, transparent 24.18% 100%);
  }

  .spl-hero-terminal,
  .spl-feature-card,
  .spl-flow-card,
  .spl-metric-card,
  .spl-footer-board {
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.28);
  }
}

/* ========== VISIBLE GRAPHITE BACKGROUND PASS ========== */
:root {
  --bg-primary: #12181f;
  --bg-secondary: #171f28;
  --bg-tertiary: #1d2731;
  --bg-card: rgba(20, 29, 38, 0.9);
  --border: rgba(172, 186, 202, 0.18);
  --border-strong: rgba(172, 186, 202, 0.32);
  --text-secondary: #b3bfcd;
  --text-muted: #8391a3;
}

body {
  background:
    radial-gradient(circle at 18% 22%, rgba(56, 189, 248, 0.1), transparent 28%),
    radial-gradient(circle at 82% 16%, rgba(201, 157, 72, 0.07), transparent 24%),
    linear-gradient(180deg, #19212a 0%, #121820 42%, #151d25 100%),
    repeating-linear-gradient(90deg, rgba(210, 222, 235, 0.04) 0 1px, transparent 1px 92px),
    repeating-linear-gradient(180deg, rgba(210, 222, 235, 0.032) 0 1px, transparent 1px 92px);
}

.spl-header,
.spl-header.scrolled {
  background: rgba(18, 24, 31, 0.88);
  border-bottom-color: rgba(172, 186, 202, 0.16);
}

.spl-hero {
  background:
    linear-gradient(180deg, rgba(25, 33, 42, 0.74), rgba(18, 24, 32, 0.96)),
    radial-gradient(circle at 16% 40%, rgba(56, 189, 248, 0.11), transparent 30%),
    radial-gradient(circle at 88% 72%, rgba(201, 157, 72, 0.07), transparent 27%),
    repeating-linear-gradient(90deg, rgba(210, 222, 235, 0.045) 0 1px, transparent 1px 86px),
    repeating-linear-gradient(180deg, rgba(210, 222, 235, 0.034) 0 1px, transparent 1px 86px);
}

.spl-hero::before {
  opacity: 0.46;
  background:
    linear-gradient(90deg, transparent 0 9%, rgba(56, 189, 248, 0.18) 9% 9.1%, transparent 9.1% 36%, rgba(201, 157, 72, 0.13) 36% 36.1%, transparent 36.1% 100%),
    linear-gradient(180deg, transparent 0 24%, rgba(56, 189, 248, 0.12) 24% 24.1%, transparent 24.1% 70%, rgba(172, 186, 202, 0.1) 70% 70.1%, transparent 70.1% 100%);
}

.spl-parallax-bg {
  opacity: 0.82;
  background:
    linear-gradient(135deg, rgba(56, 189, 248, 0.075), transparent 30%),
    linear-gradient(315deg, rgba(201, 157, 72, 0.065), transparent 28%);
}

.spl-grid-lines {
  opacity: 0.5;
  background-image:
    linear-gradient(rgba(210, 222, 235, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(210, 222, 235, 0.052) 1px, transparent 1px);
}

.spl-hero-terminal,
.spl-metric-card,
.spl-feature-card,
.spl-flow-card,
.spl-socket-stage,
.spl-endpoint-card,
.spl-doc-card,
.spl-contact-card,
.spl-cta-box,
.spl-footer-board {
  background:
    linear-gradient(180deg, rgba(24, 34, 44, 0.94), rgba(18, 26, 34, 0.95)),
    linear-gradient(135deg, rgba(56, 189, 248, 0.045), rgba(201, 157, 72, 0.018));
  border-color: rgba(172, 186, 202, 0.2);
  box-shadow: 0 20px 50px rgba(5, 8, 12, 0.28);
}

.spl-code-block,
.spl-socket-log {
  background: rgba(12, 18, 24, 0.58);
}

.spl-trust,
.spl-footer,
.spl-cta {
  background:
    linear-gradient(180deg, rgba(20, 28, 36, 0.98), rgba(14, 20, 26, 0.98)),
    repeating-linear-gradient(90deg, rgba(210, 222, 235, 0.035) 0 1px, transparent 1px 92px);
}

.spl-footer + *,
body::after {
  background: transparent;
}

.spl-footer-board::before,
.spl-header .spl-nav .spl-btn-primary,
.spl-header .spl-nav a.spl-btn-primary {
  filter: saturate(0.94);
}

@media (max-width: 768px) {
  body {
    background:
      radial-gradient(circle at 20% 18%, rgba(56, 189, 248, 0.09), transparent 30%),
      linear-gradient(180deg, #19212a 0%, #131a22 52%, #151d25 100%);
  }

  .spl-header,
  .spl-header.scrolled {
    background: rgba(18, 24, 31, 0.94);
  }

  .spl-hero {
    background:
      linear-gradient(180deg, rgba(25, 33, 42, 0.82), rgba(18, 24, 32, 0.98)),
      radial-gradient(circle at 10% 36%, rgba(56, 189, 248, 0.1), transparent 32%),
      repeating-linear-gradient(90deg, rgba(210, 222, 235, 0.04) 0 1px, transparent 1px 72px),
      repeating-linear-gradient(180deg, rgba(210, 222, 235, 0.03) 0 1px, transparent 1px 72px);
  }
}

/* ========== ADVANCED INTERACTION SYSTEM ========== */
.spl-particle-canvas {
  position: fixed;
  inset: 0;
  z-index: 1;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  opacity: 0;
  mix-blend-mode: screen;
  transition: opacity 0.5s ease;
}

body.spl-particles-ready .spl-particle-canvas {
  opacity: 0.58;
}

.site-content,
.spl-footer {
  position: relative;
  z-index: 2;
}

.mouse-glow {
  z-index: 1;
  mix-blend-mode: screen;
}

.spl-slide-nav {
  position: fixed;
  top: 50%;
  right: clamp(16px, 2.2vw, 34px);
  z-index: 1002;
  display: none;
  flex-direction: column;
  align-items: flex-end;
  gap: 13px;
  transform: translateY(-50%);
}

.spl-slide-nav-button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: 46px;
  height: 18px;
  padding: 0;
  color: #d8e4f0;
}

.spl-slide-nav-dot {
  width: 19px;
  height: 2px;
  background: rgba(210, 222, 235, 0.34);
  transition: width 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.spl-slide-nav-label {
  position: absolute;
  right: 52px;
  max-width: 160px;
  padding: 4px 8px;
  border: 1px solid rgba(172, 186, 202, 0.18);
  border-radius: 4px;
  background: rgba(17, 24, 32, 0.82);
  color: #e8f2fb;
  font-size: 0.72rem;
  font-weight: 650;
  white-space: nowrap;
  letter-spacing: 0;
  opacity: 0;
  transform: translateX(8px);
  backdrop-filter: blur(12px);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.spl-slide-nav-button:hover .spl-slide-nav-dot,
.spl-slide-nav-button.is-active .spl-slide-nav-dot {
  width: 34px;
  background: linear-gradient(90deg, #58c4ed, #c99d48);
  box-shadow: 0 0 16px rgba(88, 196, 237, 0.28);
}

.spl-slide-nav-button:hover .spl-slide-nav-label,
.spl-slide-nav-button:focus-visible .spl-slide-nav-label {
  opacity: 1;
  transform: translateX(0);
}

@keyframes spl-section-scan {
  0% {
    transform: translateX(-115%) skewX(-18deg);
    opacity: 0;
  }
  18%,
  34% {
    opacity: 0.16;
  }
  58%,
  100% {
    transform: translateX(115%) skewX(-18deg);
    opacity: 0;
  }
}

@media (min-width: 1025px) and (prefers-reduced-motion: no-preference) {
  html {
    scroll-padding-top: 72px;
    scroll-snap-type: y mandatory;
  }

  html.spl-footer-release {
    scroll-snap-type: none;
  }

  .spl-front-page .spl-hero,
  .spl-front-page .spl-section {
    min-height: 100vh;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    isolation: isolate;
  }

  .spl-front-page .spl-section {
    display: flex;
    align-items: center;
    overflow: hidden;
  }

  .spl-front-page .spl-trust {
    min-height: auto;
    display: block;
    scroll-snap-align: none;
  }

  .spl-front-page .spl-cta {
    min-height: 88vh;
  }

  .spl-front-page .spl-section > .spl-container,
  .spl-front-page .spl-hero-grid {
    position: relative;
    z-index: 2;
  }

  .spl-front-page .spl-section::before {
    content: "";
    position: absolute;
    inset: 72px clamp(26px, 4vw, 68px);
    z-index: 0;
    pointer-events: none;
    border-top: 1px solid rgba(210, 222, 235, 0.06);
    border-bottom: 1px solid rgba(210, 222, 235, 0.035);
    opacity: 0.7;
  }

  .spl-front-page .spl-hero::after,
  .spl-front-page .spl-section::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 34%;
    pointer-events: none;
    background:
      linear-gradient(90deg, transparent, rgba(88, 196, 237, 0.13), transparent),
      linear-gradient(180deg, transparent, rgba(201, 157, 72, 0.045), transparent);
    animation: spl-section-scan 11s cubic-bezier(0.16, 1, 0.3, 1) infinite;
  }

  .spl-front-page .spl-section:nth-of-type(2)::after {
    animation-delay: -2.4s;
  }

  .spl-front-page .spl-section:nth-of-type(3)::after {
    animation-delay: -4.8s;
  }

  .spl-front-page .spl-section:nth-of-type(4)::after {
    animation-delay: -7.2s;
  }

  .spl-slide-nav {
    display: flex;
  }
}

@supports (animation-timeline: view()) {
  @media (min-width: 1025px) and (prefers-reduced-motion: no-preference) {
    .spl-front-page .spl-section > .spl-container,
    .spl-front-page .spl-footer-board {
      animation: spl-view-focus linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 34%;
    }
  }
}

@keyframes spl-view-focus {
  from {
    opacity: 0.86;
    transform: translateY(26px) scale(0.986);
    filter: saturate(0.86);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: saturate(1);
  }
}

@media (max-width: 1024px), (prefers-reduced-motion: reduce) {
  html {
    scroll-snap-type: none !important;
  }

  .spl-particle-canvas,
  .spl-slide-nav {
    display: none !important;
  }
}

/* ========== MOBILE TOP REDESIGN ========== */
.spl-hero-title-main,
.spl-hero-title-accent {
  display: inline;
}

.spl-mobile-api-link {
  display: none;
}

/* ========== PARTICLE TEXT STATE ========== */
.spl-particle-signature {
  position: relative;
  display: none;
  width: min(540px, 100%);
  height: 86px;
  margin-top: 32px;
  overflow: hidden;
  border: 1px solid rgba(172, 186, 202, 0.16);
  border-radius: 5px;
  background:
    linear-gradient(180deg, rgba(13, 19, 27, 0.42), rgba(8, 13, 18, 0.5)),
    repeating-linear-gradient(90deg, rgba(210, 222, 235, 0.035) 0 1px, transparent 1px 42px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.spl-particle-signature::before,
.spl-particle-signature::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.spl-particle-signature::before {
  inset: 0;
  background:
    linear-gradient(90deg, rgba(88, 196, 237, 0.14), transparent 22%, transparent 78%, rgba(201, 157, 72, 0.11)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 44%);
  opacity: 0.62;
}

.spl-particle-signature::after {
  inset: auto 18px 13px auto;
  width: 74px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(88, 196, 237, 0.6), rgba(201, 157, 72, 0.44));
  opacity: 0.8;
}

.spl-particle-text-canvas {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
}

@media (min-width: 1025px) and (prefers-reduced-motion: no-preference) {
  .spl-particle-signature {
    display: block;
  }
}

@media (max-width: 768px) {
  .spl-header,
  .spl-header.scrolled {
    background: rgba(14, 20, 27, 0.96);
    border-bottom-color: rgba(172, 186, 202, 0.14);
    backdrop-filter: blur(16px);
  }

  .spl-header-inner {
    height: 58px;
    min-height: 58px;
  }

  .spl-logo {
    flex: 0 1 auto;
    max-width: 48vw;
    overflow: hidden;
    color: #f4f7fb;
    font-size: 0.98rem;
    font-weight: 780;
    line-height: 1;
    white-space: nowrap;
  }

  .spl-nav {
    display: none !important;
  }

  .spl-mobile-api-link {
    display: none !important;
  }

  .spl-mobile-toggle {
    display: none !important;
  }

  .spl-hero {
    min-height: auto;
    padding: 86px 0 44px;
  }

  .spl-hero-grid {
    gap: 24px !important;
  }

  .spl-hero-content {
    display: grid;
    gap: 0;
  }

  .spl-hero-title {
    width: 100% !important;
    max-width: 354px !important;
    margin: 0 !important;
    font-size: clamp(1.72rem, 6.95vw, 1.9rem) !important;
    font-weight: 790;
    line-height: 1.08;
    letter-spacing: 0;
    text-wrap: balance;
    overflow-wrap: normal;
  }

  .spl-hero-title-main,
  .spl-hero-title-accent {
    display: block;
  }

  .spl-hero-title-main {
    max-width: 10.9em;
    color: #f4f7fb;
  }

  .spl-hero-title-accent {
    margin-top: 4px;
    color: #4fc3ee;
    white-space: nowrap;
  }

  .spl-hero-desc {
    max-width: 34ch !important;
    margin: 18px 0 0 !important;
    color: #b4bfcd;
    font-size: 0.98rem;
    line-height: 1.58;
  }

  .spl-hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 24px;
  }

  .spl-hero-actions .spl-btn {
    min-height: 46px;
    padding: 0 16px;
    border-radius: 5px;
    font-size: 0.92rem;
  }

  .spl-hero-terminal {
    margin-top: 4px;
    padding: 14px;
    border-radius: 6px;
  }

  .spl-terminal-header {
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    padding-bottom: 12px;
  }

  .spl-terminal-title {
    margin-left: 6px;
    font-size: 0.72rem;
  }

  .spl-terminal-tabs {
    gap: 7px;
    margin-bottom: 12px;
    scrollbar-width: none;
  }

  .spl-terminal-tabs::-webkit-scrollbar {
    display: none;
  }

  .spl-terminal-tab {
    min-height: 34px;
    padding: 0 10px;
    border-radius: 5px;
    font-size: 0.71rem;
  }

  .spl-code-block {
    max-height: 214px;
    padding: 13px;
    border-radius: 5px;
    font-size: 0.62rem;
    line-height: 1.62;
  }

  .spl-trust {
    margin-top: 0;
    padding: 28px 0;
  }

  .spl-trust-inner {
    padding: 0;
  }

  .spl-trust-items {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    gap: 14px 18px;
  }

  .spl-trust-item {
    min-width: 0;
    font-size: 0.94rem;
    white-space: nowrap;
  }

  .spl-section-title {
    max-width: 100%;
    font-size: clamp(1.68rem, 7vw, 2.02rem) !important;
    line-height: 1.12;
    overflow-wrap: normal;
    text-wrap: balance;
  }

  #metrics .spl-section-title {
    max-width: 10.8em;
  }
}

@media (max-width: 430px) {
  .spl-container {
    margin-right: 18px;
    margin-left: 18px;
  }

  .spl-hero-title {
    max-width: 354px !important;
    font-size: clamp(1.64rem, 6.95vw, 1.78rem) !important;
  }

  .spl-hero-desc {
    font-size: 0.96rem;
  }

}

/* ========== CTA DATA-GRID REDESIGN ========== */
.spl-cta {
  background:
    linear-gradient(180deg, rgba(20, 28, 36, 0.98), rgba(14, 20, 26, 0.99)),
    repeating-linear-gradient(90deg, rgba(210, 222, 235, 0.032) 0 1px, transparent 1px 92px);
}

.spl-cta-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr);
  gap: clamp(32px, 4vw, 64px);
  align-items: center;
  text-align: left;
  isolation: isolate;
  border-radius: 5px;
  background:
    linear-gradient(180deg, rgba(24, 34, 44, 0.94), rgba(12, 18, 25, 0.97)),
    repeating-linear-gradient(90deg, rgba(210, 222, 235, 0.045) 0 1px, transparent 1px 56px),
    repeating-linear-gradient(180deg, rgba(210, 222, 235, 0.032) 0 1px, transparent 1px 44px);
}

.spl-cta-box::before {
  inset: 0;
  background:
    linear-gradient(90deg, transparent, rgba(88, 196, 237, 0.16), transparent),
    linear-gradient(180deg, rgba(88, 196, 237, 0.065), transparent 34%, rgba(201, 157, 72, 0.05));
  background-size: 46% 100%, 100% 100%;
  background-position: -70% 0, 0 0;
  opacity: 0.72;
  animation: spl-cta-data-sweep 6.8s cubic-bezier(0.16, 1, 0.3, 1) infinite;
  transform: none;
}

.spl-cta-box::after {
  inset: 14px;
  border: 1px solid rgba(172, 186, 202, 0.08);
  background:
    linear-gradient(90deg, transparent 0 8%, rgba(88, 196, 237, 0.18) 8% 8.18%, transparent 8.18% 42%, rgba(201, 157, 72, 0.12) 42% 42.18%, transparent 42.18%),
    linear-gradient(180deg, transparent 0 24%, rgba(210, 222, 235, 0.11) 24% 24.14%, transparent 24.14% 76%, rgba(88, 196, 237, 0.13) 76% 76.14%, transparent 76.14%);
  opacity: 0.55;
  animation: spl-cta-grid-phase 7.5s steps(5, end) infinite;
}

.spl-cta h2,
.spl-cta p,
.spl-cta .spl-btn {
  position: relative;
  z-index: 2;
}

.spl-cta-content {
  position: relative;
  z-index: 2;
}

.spl-cta-content p {
  margin-right: 0;
  margin-left: 0;
}

.spl-particle-view {
  position: relative;
  z-index: 2;
  display: none;
  width: 100%;
  min-height: 240px;
  overflow: hidden;
  border: 1px solid rgba(172, 186, 202, 0.15);
  border-radius: 5px;
  background:
    linear-gradient(180deg, rgba(10, 16, 22, 0.5), rgba(7, 12, 18, 0.72)),
    repeating-linear-gradient(90deg, rgba(210, 222, 235, 0.035) 0 1px, transparent 1px 48px),
    repeating-linear-gradient(180deg, rgba(210, 222, 235, 0.026) 0 1px, transparent 1px 40px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.spl-particle-view::before,
.spl-particle-view::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.spl-particle-view::before {
  inset: 16px;
  border: 1px solid rgba(88, 196, 237, 0.09);
}

.spl-particle-view::after {
  right: 22px;
  bottom: 18px;
  width: 92px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(88, 196, 237, 0.6), rgba(201, 157, 72, 0.44));
}

.spl-particle-view .spl-particle-text-canvas {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
}

@media (min-width: 1025px) and (prefers-reduced-motion: no-preference) {
  .spl-particle-view {
    display: block;
  }
}

@keyframes spl-cta-data-sweep {
  0% {
    background-position: -70% 0, 0 0;
    opacity: 0.42;
  }
  26%,
  52% {
    opacity: 0.78;
  }
  100% {
    background-position: 170% 0, 0 0;
    opacity: 0.42;
  }
}

@keyframes spl-cta-grid-phase {
  0% {
    transform: translate3d(0, 0, 0);
    opacity: 0.42;
  }
  50% {
    transform: translate3d(10px, -6px, 0);
    opacity: 0.64;
  }
  100% {
    transform: translate3d(0, 0, 0);
    opacity: 0.42;
  }
}

@media (max-width: 768px), (prefers-reduced-motion: reduce) {
  .spl-cta-box {
    display: block;
    text-align: center;
  }

  .spl-cta-box::before,
  .spl-cta-box::after {
    animation: none;
  }

  .spl-particle-view {
    display: none !important;
  }
}

/* ========== MOUSE CODE TRAIL OVERRIDE ========== */
.mouse-glow {
  position: fixed;
  inset: 0;
  display: block;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  border-radius: 0;
  background: transparent !important;
  filter: none !important;
  opacity: 0.84;
  mix-blend-mode: screen;
  transform: none !important;
  transition: none;
  z-index: 4;
}

@media (max-width: 1024px), (prefers-reduced-motion: reduce) {
  .mouse-glow {
    display: none !important;
  }
}

/* ========== MULTI-PAGE WEBSITE SYSTEM ========== */
.spl-virtual-page .site-content {
  overflow: hidden;
}

.spl-page-hero {
  position: relative;
  min-height: 82vh;
  display: flex;
  align-items: center;
  padding: 150px 0 86px;
  overflow: hidden;
}

.spl-page-hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.72fr);
  align-items: center;
  gap: clamp(38px, 5vw, 80px);
}

.spl-page-kicker {
  margin: 0 0 18px;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.spl-page-title {
  max-width: 920px;
  margin: 0;
  color: var(--text-primary);
  font-size: clamp(2.7rem, 6.2vw, 5.8rem);
  font-weight: 850;
  line-height: 0.97;
}

.spl-page-lead {
  max-width: 760px;
  margin: 24px 0 34px;
  color: var(--text-secondary);
  font-size: clamp(1.02rem, 1.45vw, 1.24rem);
  line-height: 1.75;
}

.spl-page-hero-visual {
  min-width: 0;
}

.spl-page-particle {
  min-height: 270px;
}

.spl-page-section {
  position: relative;
  padding: clamp(76px, 9vw, 128px) 0;
}

.spl-section-heading-row {
  max-width: 820px;
  margin-bottom: 36px;
}

.spl-panel-grid {
  display: grid;
  gap: 18px;
}

.spl-panel-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.spl-page-card,
.spl-pricing-card,
.spl-doc-panel,
.spl-faq-item,
.spl-legal-article,
.spl-book-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(172, 186, 202, 0.16);
  border-radius: 5px;
  background:
    linear-gradient(180deg, rgba(23, 32, 42, 0.88), rgba(13, 19, 27, 0.94)),
    repeating-linear-gradient(90deg, rgba(210, 222, 235, 0.026) 0 1px, transparent 1px 64px);
  box-shadow: 0 22px 56px rgba(5, 8, 12, 0.26);
}

.spl-page-card,
.spl-pricing-card,
.spl-doc-panel,
.spl-faq-item {
  padding: clamp(24px, 3vw, 38px);
}

.spl-page-card h2,
.spl-page-card h3,
.spl-pricing-card h2,
.spl-doc-panel h2,
.spl-faq-item h2,
.spl-legal-article h2 {
  margin: 0 0 16px;
  color: var(--text-primary);
  font-size: clamp(1.22rem, 2.1vw, 1.75rem);
  line-height: 1.18;
}

.spl-page-card p,
.spl-pricing-card p,
.spl-doc-panel p,
.spl-faq-item p,
.spl-legal-article p {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.72;
}

.spl-card-index {
  display: inline-flex;
  margin-bottom: 28px;
  color: var(--accent-warm);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
}

.spl-book-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(420px, 1fr);
  align-items: center;
  gap: clamp(42px, 6vw, 86px);
}

.spl-book-stage {
  position: relative;
  display: flex;
  min-height: 390px;
  align-items: center;
  justify-content: center;
  perspective: 1400px;
}

.spl-book-card {
  width: min(260px, 42vw);
  min-height: 340px;
  padding: 30px 26px;
  transform-style: preserve-3d;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), filter 0.35s ease;
}

.spl-book-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 24px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.16), transparent);
  opacity: 0.5;
}

.spl-book-card span,
.spl-book-card strong,
.spl-book-card small {
  position: relative;
  z-index: 1;
  display: block;
}

.spl-book-card span {
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.spl-book-card strong {
  margin-top: 58px;
  color: #fff;
  font-size: 2.05rem;
  line-height: 1.05;
}

.spl-book-card small {
  margin-top: 30px;
  color: var(--text-muted);
  font-size: 0.86rem;
}

.spl-book-kids {
  transform: rotateY(-24deg) rotateZ(-3deg) translateX(34px);
  background:
    linear-gradient(135deg, rgba(38, 165, 213, 0.8), rgba(11, 18, 27, 0.92)),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 22px);
}

.spl-book-business {
  margin-left: -62px;
  transform: rotateY(18deg) rotateZ(4deg) translateY(32px);
  background:
    linear-gradient(135deg, rgba(201, 157, 72, 0.62), rgba(14, 18, 24, 0.96)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.07) 0 1px, transparent 1px 24px);
}

.spl-book-card:hover {
  filter: brightness(1.1);
  transform: rotateY(0deg) rotateZ(0deg) translate3d(0, -8px, 0);
}

.spl-solution-grid,
.spl-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.spl-solution-card {
  min-height: 440px;
}

.spl-check-list {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.spl-check-list li {
  position: relative;
  padding-left: 24px;
  color: var(--text-secondary);
  line-height: 1.55;
}

.spl-check-list li::before {
  content: "";
  position: absolute;
  top: 0.7em;
  left: 0;
  width: 9px;
  height: 9px;
  border: 1px solid rgba(88, 196, 237, 0.72);
  background: rgba(88, 196, 237, 0.18);
  transform: translateY(-50%) rotate(45deg);
}

.spl-doc-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  align-items: start;
  gap: clamp(28px, 4vw, 56px);
}

.spl-doc-sidebar {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 9px;
  padding: 14px;
  border: 1px solid rgba(172, 186, 202, 0.16);
  border-radius: 5px;
  background: rgba(15, 22, 31, 0.74);
}

.spl-doc-sidebar a {
  padding: 13px 14px;
  color: var(--text-secondary);
  border: 1px solid transparent;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.spl-doc-sidebar a:hover {
  color: var(--text-primary);
  border-color: rgba(88, 196, 237, 0.32);
  background: rgba(88, 196, 237, 0.08);
}

.spl-doc-main {
  display: grid;
  gap: 22px;
}

.spl-doc-panel {
  scroll-margin-top: 110px;
}

.spl-page-code {
  margin-top: 24px;
  white-space: pre-wrap;
}

.spl-doc-access {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.spl-pricing-card {
  min-height: 680px;
}

.spl-pricing-featured {
  border-color: rgba(88, 196, 237, 0.36);
  background:
    linear-gradient(180deg, rgba(27, 42, 54, 0.94), rgba(11, 18, 27, 0.96)),
    repeating-linear-gradient(90deg, rgba(88, 196, 237, 0.04) 0 1px, transparent 1px 54px);
}

.spl-price {
  margin: 26px 0;
  color: var(--text-primary);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 850;
  line-height: 1;
}

.spl-price span {
  display: block;
  margin-top: 8px;
  color: var(--text-muted);
  font-size: 0.86rem;
  font-weight: 600;
}

.spl-faq-list {
  display: grid;
  gap: 16px;
  max-width: 980px;
}

.spl-faq-item {
  padding-left: clamp(24px, 4vw, 46px);
}

.spl-legal-article {
  max-width: 980px;
  padding: clamp(28px, 4vw, 54px);
}

.spl-legal-article section + section {
  margin-top: 34px;
  padding-top: 30px;
  border-top: 1px solid rgba(172, 186, 202, 0.12);
}

.spl-footer-seat {
  margin-top: 14px !important;
  font-size: 0.86rem;
}

.spl-home-pillars .spl-feature-icon {
  width: auto;
  min-width: 54px;
  padding: 0 12px;
  color: #f8fbff;
  font-family: var(--font-mono);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-shadow: 0 1px 12px rgba(88, 196, 237, 0.45);
  background:
    linear-gradient(135deg, rgba(88, 196, 237, 0.22), rgba(201, 157, 72, 0.2)),
    rgba(6, 12, 18, 0.72);
  border-color: rgba(143, 213, 245, 0.34);
  box-shadow:
    inset 0 0 0 1px rgba(248, 251, 255, 0.08),
    0 10px 24px rgba(0, 0, 0, 0.22);
}

.spl-flow-card {
  text-decoration: none;
}

@media (max-width: 1120px) {
  .spl-panel-grid-3,
  .spl-solution-grid,
  .spl-pricing-grid {
    grid-template-columns: 1fr;
  }

  .spl-pricing-card,
  .spl-solution-card {
    min-height: auto;
  }

  .spl-book-layout,
  .spl-page-hero-grid,
  .spl-doc-layout {
    grid-template-columns: 1fr;
  }

  .spl-doc-sidebar {
    position: relative;
    top: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .spl-page-hero {
    min-height: auto;
    padding: 104px 0 54px;
  }

  .spl-page-title {
    font-size: clamp(2rem, 10vw, 3rem);
    line-height: 1.04;
  }

  .spl-page-lead {
    margin: 20px 0 28px;
    font-size: 0.98rem;
  }

  .spl-page-hero-visual {
    display: none;
  }

  .spl-page-section {
    padding: 56px 0;
  }

  .spl-doc-sidebar {
    display: none;
  }

  .spl-doc-access {
    display: grid;
  }

  .spl-book-stage {
    min-height: 330px;
    justify-content: flex-start;
  }

  .spl-book-card {
    width: 210px;
    min-height: 292px;
  }

  .spl-book-card strong {
    margin-top: 44px;
    font-size: 1.55rem;
  }

  .spl-book-business {
    margin-left: -82px;
  }
}

/* ========== MOBILE GLOBAL NAVIGATION ========== */
@media (max-width: 768px) {
  .spl-container {
    width: auto !important;
    margin-right: 18px !important;
    margin-left: 18px !important;
  }

  .spl-page-title,
  .spl-hero-title,
  .spl-section-title {
    max-width: 100% !important;
    overflow-wrap: anywhere;
  }

  .spl-header {
    z-index: 100;
  }

  .spl-header-inner {
    min-height: 58px;
  }

  .spl-mobile-toggle {
    position: relative;
    z-index: 102;
    display: flex !important;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(172, 186, 202, 0.18);
    border-radius: 5px;
    background: rgba(12, 18, 25, 0.86);
  }

  .spl-mobile-api-link {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 12px;
    color: var(--text-primary);
    border: 1px solid rgba(88, 196, 237, 0.32);
    border-radius: 5px;
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
    background: rgba(88, 196, 237, 0.08);
  }

  .spl-nav {
    position: fixed;
    top: 68px;
    right: 18px;
    left: 18px;
    z-index: 101;
    display: grid !important;
    gap: 8px;
    padding: 14px;
    border: 1px solid rgba(172, 186, 202, 0.18);
    border-radius: 5px;
    background:
      linear-gradient(180deg, rgba(17, 25, 34, 0.98), rgba(9, 14, 20, 0.98)),
      repeating-linear-gradient(90deg, rgba(210, 222, 235, 0.035) 0 1px, transparent 1px 58px);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.44);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 0.22s ease, transform 0.22s ease;
  }

  body.spl-nav-open .spl-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .spl-nav a,
  .spl-nav .spl-btn {
    width: 100%;
    min-height: 42px;
    justify-content: flex-start;
    padding: 0 13px;
    border-radius: 4px;
    font-size: 0.92rem;
  }

  .spl-nav a:not(.spl-btn) {
    border: 1px solid rgba(172, 186, 202, 0.09);
    background: rgba(255, 255, 255, 0.018);
  }

  body.spl-nav-open .spl-mobile-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  body.spl-nav-open .spl-mobile-toggle span:nth-child(2) {
    opacity: 0;
  }

  body.spl-nav-open .spl-mobile-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
}

/* ========== MOBILE WIDTH FINAL GUARD ========== */
@media (max-width: 768px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .spl-header-inner {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 10px;
    width: auto !important;
    margin-right: 18px !important;
    margin-left: 18px !important;
  }

  .spl-logo {
    max-width: none !important;
    min-width: 0;
  }

  .spl-mobile-toggle {
    display: flex !important;
  }

  .spl-page-hero-copy,
  .spl-hero-content {
    min-width: 0 !important;
    max-width: 100% !important;
  }

  .spl-page-title {
    width: 100% !important;
    max-width: 100% !important;
    font-size: clamp(1.82rem, 8.8vw, 2.46rem) !important;
    line-height: 1.08 !important;
    overflow-wrap: anywhere !important;
    word-break: normal;
  }

  .spl-hero-title {
    width: 100% !important;
    max-width: 100% !important;
    font-size: clamp(1.76rem, 7.6vw, 2.18rem) !important;
    overflow-wrap: anywhere !important;
    text-wrap: auto !important;
  }

  .spl-hero-title-main,
  .spl-hero-title-accent {
    display: inline !important;
    max-width: 100% !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
  }

  .spl-page-lead,
  .spl-hero-desc {
    max-width: 100% !important;
    overflow-wrap: anywhere !important;
  }
}

/* ========== MOBILE HEADER FINAL LOCK ========== */
@media (max-width: 768px) {
  .spl-header-inner {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 42px !important;
    align-items: center;
    width: calc(100% - 36px) !important;
    max-width: calc(100% - 36px) !important;
    min-height: 58px;
    margin: 0 18px !important;
    padding-right: 0 !important;
    padding-left: 0 !important;
    gap: 10px !important;
    box-sizing: border-box;
  }

  .spl-mobile-api-link {
    display: none !important;
  }

  .spl-logo {
    min-width: 0;
    max-width: 100% !important;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .spl-mobile-toggle {
    display: inline-flex !important;
    justify-self: end;
    width: 42px !important;
    height: 42px !important;
    padding: 0 !important;
    border: 1px solid rgba(172, 186, 202, 0.18);
    background: rgba(255, 255, 255, 0.035);
    align-items: center;
    justify-content: center;
  }

  .spl-mobile-toggle span {
    position: absolute;
    width: 18px;
  }

  .spl-mobile-toggle span:nth-child(1) {
    transform: translateY(-6px);
  }

  .spl-mobile-toggle span:nth-child(3) {
    transform: translateY(6px);
  }

  body.spl-nav-open .spl-mobile-toggle span:nth-child(1) {
    transform: rotate(45deg);
  }

  body.spl-nav-open .spl-mobile-toggle span:nth-child(2) {
    opacity: 0;
  }

  body.spl-nav-open .spl-mobile-toggle span:nth-child(3) {
    transform: rotate(-45deg);
  }

  .spl-hero-content,
  .spl-page-hero-copy,
  .spl-hero-actions,
  .spl-hero-terminal,
  .spl-terminal-panel {
    width: 100% !important;
    max-width: calc(100vw - 36px) !important;
    min-width: 0 !important;
    box-sizing: border-box;
  }

  .spl-hero-title {
    width: 100% !important;
    max-width: calc(100vw - 36px) !important;
    font-size: clamp(1.58rem, 6.7vw, 1.88rem) !important;
    line-height: 1.1 !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
  }

  .spl-hero-title-main,
  .spl-hero-title-accent {
    display: inline !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
  }

  .spl-page-title {
    max-width: calc(100vw - 36px) !important;
    font-size: clamp(1.58rem, 7.1vw, 2.02rem) !important;
    line-height: 1.1 !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
  }

  .spl-page-lead,
  .spl-hero-desc {
    max-width: calc(100vw - 36px) !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
  }
}

/* ========== FOOTER ATTACHMENT FINAL PASS ========== */
@media (min-width: 1025px) {
  .spl-front-page .spl-cta {
    min-height: auto !important;
    padding-top: clamp(96px, 10vh, 118px) !important;
    padding-bottom: clamp(44px, 5vh, 62px) !important;
  }

  .spl-footer {
    margin-top: 0 !important;
    padding-top: clamp(42px, 4.6vw, 58px) !important;
  }
}

@media (max-width: 768px) {
  .spl-front-page .spl-cta {
    padding-bottom: 34px !important;
  }

  .spl-footer {
    padding-top: 34px !important;
  }
}

/* ========== DISTINCT INNER PAGE COMPOSITIONS ========== */
.spl-product-showcase,
.spl-solutions-command,
.spl-dev-console,
.spl-pricing-board,
.spl-faq-command,
.spl-legal-doc {
  overflow: hidden;
  padding-top: clamp(118px, 12vw, 168px);
  background:
    linear-gradient(180deg, rgba(18, 26, 34, 0.98), rgba(11, 17, 24, 0.98)),
    repeating-linear-gradient(90deg, rgba(210, 222, 235, 0.028) 0 1px, transparent 1px 96px);
}

.spl-product-hero-grid,
.spl-dev-console-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1fr);
  gap: clamp(44px, 7vw, 104px);
  align-items: center;
}

.spl-page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.spl-product-rack {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  min-height: 390px;
  align-items: center;
  padding: 32px;
  border: 1px solid rgba(172, 186, 202, 0.16);
  border-radius: 6px;
  background:
    linear-gradient(135deg, rgba(56, 189, 248, 0.08), transparent 42%),
    linear-gradient(180deg, rgba(8, 13, 18, 0.86), rgba(13, 19, 27, 0.94));
}

.spl-product-node {
  position: relative;
  z-index: 2;
  min-height: 220px;
  padding: 24px;
  border: 1px solid rgba(172, 186, 202, 0.16);
  border-radius: 4px;
  background: rgba(5, 9, 13, 0.58);
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.spl-product-node:hover {
  transform: translateY(-8px);
  border-color: rgba(88, 196, 237, 0.46);
  background: rgba(11, 18, 25, 0.86);
}

.spl-product-node span {
  display: inline-flex;
  margin-bottom: 54px;
  color: #58c4ed;
  font-family: "Courier New", monospace;
  font-size: 0.86rem;
  font-weight: 700;
}

.spl-product-node strong,
.spl-product-node small {
  display: block;
}

.spl-product-node strong {
  color: #f4f7fb;
  font-size: 1.18rem;
  line-height: 1.15;
}

.spl-product-node small {
  margin-top: 12px;
  color: #a8b3c2;
  line-height: 1.55;
}

.spl-product-node-primary {
  min-height: 270px;
  border-color: rgba(201, 157, 72, 0.38);
}

.spl-product-bus {
  position: absolute;
  inset: 28px;
  pointer-events: none;
  border: 1px solid rgba(88, 196, 237, 0.08);
}

.spl-product-bus i {
  position: absolute;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(88, 196, 237, 0.28), transparent);
}

.spl-product-bus i:nth-child(1) { top: 30%; }
.spl-product-bus i:nth-child(2) { top: 50%; }
.spl-product-bus i:nth-child(3) { top: 70%; }

.spl-product-layer-list {
  display: grid;
  gap: 14px;
}

.spl-product-layer {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) minmax(220px, 0.36fr);
  gap: 24px;
  align-items: start;
  padding: 28px;
  border: 1px solid rgba(172, 186, 202, 0.16);
  border-radius: 6px;
  background: rgba(13, 20, 28, 0.72);
}

.spl-product-layer h3,
.spl-solution-card h2,
.spl-dev-console h1,
.spl-faq-head h1 {
  margin-top: 0;
}

.spl-layer-tags,
.spl-book-specs,
.spl-dev-status,
.spl-pricing-note,
.spl-faq-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.spl-layer-tags {
  justify-content: flex-end;
  list-style: none;
  margin: 0;
  padding: 0;
}

.spl-layer-tags li,
.spl-book-specs span,
.spl-dev-status span,
.spl-pricing-note span,
.spl-faq-filter span {
  border: 1px solid rgba(172, 186, 202, 0.14);
  border-radius: 4px;
  padding: 8px 10px;
  color: #b7c3d0;
  background: rgba(255, 255, 255, 0.025);
  font-size: 0.82rem;
}

.spl-book-lab {
  background:
    linear-gradient(180deg, rgba(14, 21, 29, 0.98), rgba(9, 14, 20, 1)),
    repeating-linear-gradient(0deg, rgba(210, 222, 235, 0.024) 0 1px, transparent 1px 86px);
}

.spl-book-stage-redesigned {
  justify-content: center;
  perspective: 1100px;
}

.spl-book-stage-redesigned .spl-book-card {
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.38);
}

.spl-solutions-command {
  min-height: 100vh;
}

.spl-solutions-heading {
  max-width: 860px;
  margin-bottom: clamp(34px, 5vw, 68px);
}

.spl-solution-grid-redesigned {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.96fr) minmax(0, 0.96fr);
  gap: 18px;
  align-items: stretch;
}

.spl-solution-card {
  min-height: 430px;
  padding: 28px;
  border: 1px solid rgba(172, 186, 202, 0.16);
  border-radius: 6px;
  background:
    linear-gradient(180deg, rgba(15, 22, 30, 0.9), rgba(9, 14, 20, 0.95)),
    linear-gradient(135deg, rgba(88, 196, 237, 0.06), transparent 52%);
}

.spl-solution-card-k12 {
  transform: translateY(26px);
}

.spl-solution-card-academic {
  border-color: rgba(88, 196, 237, 0.22);
}

.spl-solution-card-distribution {
  transform: translateY(-22px);
  border-color: rgba(201, 157, 72, 0.24);
}

.spl-solution-card a {
  display: inline-flex;
  margin-top: 18px;
  color: #58c4ed;
  font-weight: 700;
}

.spl-solution-route {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  align-items: center;
  margin-top: 72px;
  padding: 18px;
  border: 1px solid rgba(172, 186, 202, 0.13);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.02);
}

.spl-solution-route span {
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #cbd5e1;
  font-weight: 700;
}

.spl-solution-route i {
  display: none;
}

.spl-dev-console {
  background:
    linear-gradient(180deg, rgba(8, 11, 16, 0.99), rgba(12, 18, 25, 0.98)),
    radial-gradient(circle at 74% 42%, rgba(88, 196, 237, 0.1), transparent 34%);
}

.spl-dev-terminal {
  border: 1px solid rgba(172, 186, 202, 0.18);
  border-radius: 6px;
  overflow: hidden;
  background: #070b10;
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.42);
}

.spl-dev-terminal .spl-code-block {
  margin: 0;
  border: 0;
  border-radius: 0;
  min-height: 360px;
}

.spl-dev-status {
  padding: 16px 18px;
  border-top: 1px solid rgba(172, 186, 202, 0.12);
  background: rgba(15, 23, 32, 0.82);
}

.spl-doc-layout {
  align-items: start;
}

.spl-pricing-board {
  min-height: 100vh;
}

.spl-pricing-head {
  max-width: 1040px;
  margin-bottom: 34px;
}

.spl-pricing-track {
  align-items: stretch;
}

.spl-pricing-card {
  display: flex;
  min-height: 560px;
  flex-direction: column;
}

.spl-pricing-model-1 {
  background:
    linear-gradient(180deg, rgba(14, 20, 28, 0.94), rgba(8, 13, 18, 0.96)),
    linear-gradient(135deg, rgba(88, 196, 237, 0.04), transparent);
}

.spl-pricing-model-2 {
  transform: translateY(-18px);
}

.spl-pricing-model-3 {
  background:
    linear-gradient(180deg, rgba(18, 23, 29, 0.94), rgba(10, 15, 20, 0.96)),
    linear-gradient(135deg, rgba(201, 157, 72, 0.055), transparent);
}

.spl-pricing-note {
  margin-top: 20px;
}

.spl-faq-command {
  min-height: 100vh;
}

.spl-faq-head {
  max-width: 900px;
  margin-bottom: 28px;
}

.spl-faq-filter {
  margin-bottom: 28px;
}

.spl-faq-accordion {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  max-width: 980px;
}

.spl-faq-item {
  border-radius: 6px;
}

.spl-faq-item summary {
  display: grid;
  grid-template-columns: 124px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  cursor: pointer;
  list-style: none;
}

.spl-faq-item summary::-webkit-details-marker {
  display: none;
}

.spl-faq-item summary span {
  color: #58c4ed;
  font-family: "Courier New", monospace;
  font-size: 0.8rem;
  font-weight: 700;
}

.spl-faq-item summary strong {
  color: #f4f7fb;
  font-size: clamp(1.05rem, 1.8vw, 1.34rem);
}

.spl-faq-item[open] {
  border-color: rgba(88, 196, 237, 0.3);
}

.spl-legal-doc {
  padding-bottom: clamp(90px, 10vw, 132px);
  background:
    linear-gradient(180deg, rgba(245, 247, 250, 0.98), rgba(225, 231, 238, 0.98)),
    repeating-linear-gradient(90deg, rgba(15, 23, 42, 0.035) 0 1px, transparent 1px 92px);
  color: #111827;
}

.spl-legal-layout {
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
}

.spl-legal-toc {
  position: sticky;
  top: 96px;
  padding: 22px;
  border: 1px solid rgba(15, 23, 42, 0.14);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.74);
}

.spl-legal-toc p,
.spl-legal-toc strong {
  display: block;
  margin: 0 0 12px;
}

.spl-legal-toc p {
  color: #2563eb;
  font-family: "Courier New", monospace;
  font-size: 0.78rem;
  font-weight: 700;
}

.spl-legal-toc strong {
  color: #111827;
  line-height: 1.22;
}

.spl-legal-toc nav {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.spl-legal-toc a {
  color: #475569;
  font-size: 0.9rem;
}

.spl-legal-toc a:hover {
  color: #2563eb;
}

.spl-legal-longform {
  max-width: 900px;
  padding: clamp(28px, 4vw, 54px);
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 26px 70px rgba(15, 23, 42, 0.13);
}

.spl-legal-header {
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.12);
}

.spl-legal-header h1 {
  margin: 0 0 18px;
  color: #0f172a;
  font-size: clamp(2.25rem, 5vw, 4.8rem);
  line-height: 0.98;
}

.spl-legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.spl-legal-meta span {
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 4px;
  padding: 7px 9px;
  color: #475569;
  background: rgba(248, 250, 252, 0.9);
  font-size: 0.82rem;
}

.spl-legal-longform section {
  position: relative;
  padding: 32px 0;
  border-bottom: 1px solid rgba(15, 23, 42, 0.1);
}

.spl-legal-longform section:last-child {
  border-bottom: 0;
}

.spl-legal-number {
  display: block;
  margin-bottom: 10px;
  color: #2563eb;
  font-family: "Courier New", monospace;
  font-weight: 700;
}

.spl-legal-longform h2 {
  margin: 0 0 14px;
  color: #111827;
  font-size: clamp(1.3rem, 2vw, 1.78rem);
}

.spl-legal-longform p {
  color: #334155;
  line-height: 1.84;
}

/* ========== REVIEW FIXES 2026-06-28 ========== */
.spl-layer-tags {
  margin-left: 5px;
}

.spl-legal-doc .spl-page-strip,
.spl-legal-doc .spl-legal-toc,
.spl-legal-doc .spl-legal-longform,
.spl-legal-doc .spl-legal-longform section {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

.spl-contact-gate {
  min-height: 100vh;
  padding-top: clamp(118px, 11vw, 154px);
  padding-bottom: clamp(72px, 8vw, 112px);
  background:
    radial-gradient(circle at 82% 18%, rgba(88, 196, 237, 0.14), transparent 30%),
    linear-gradient(180deg, #081018 0%, #0b1118 48%, #10161e 100%);
}

.spl-contact-layout {
  display: grid;
  gap: 26px;
}

.spl-contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(420px, 1fr);
  gap: clamp(24px, 4vw, 52px);
  align-items: stretch;
  border: 1px solid rgba(172, 186, 202, 0.16);
  border-radius: 6px;
  padding: clamp(24px, 4vw, 44px);
  background: rgba(8, 14, 21, 0.78);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
}

.spl-contact-brief h1 {
  margin: 0 0 18px;
  max-width: 620px;
  color: #f7f9fc;
  font-size: clamp(2rem, 4.4vw, 4.2rem);
  line-height: 0.98;
}

.spl-contact-brief p {
  max-width: 560px;
  color: #aeb9c6;
  line-height: 1.76;
}

.spl-contact-proof {
  display: grid;
  gap: 10px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.spl-contact-proof li {
  border-left: 2px solid #58c4ed;
  padding: 10px 0 10px 14px;
  color: #d6dee8;
  background: linear-gradient(90deg, rgba(88, 196, 237, 0.09), transparent);
}

.spl-contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-content: start;
}

.spl-contact-form label {
  display: grid;
  gap: 8px;
  color: #aeb9c6;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.spl-contact-form input,
.spl-contact-form select,
.spl-contact-form textarea {
  width: 100%;
  border: 1px solid rgba(172, 186, 202, 0.18);
  border-radius: 4px;
  padding: 13px 14px;
  color: #f7f9fc;
  background: rgba(4, 8, 13, 0.72);
  outline: none;
}

.spl-contact-form input:focus,
.spl-contact-form select:focus,
.spl-contact-form textarea:focus {
  border-color: rgba(88, 196, 237, 0.72);
  box-shadow: 0 0 0 3px rgba(88, 196, 237, 0.12);
}

.spl-contact-wide,
.spl-contact-status,
.spl-contact-form button {
  grid-column: 1 / -1;
}

.spl-contact-status {
  margin: 0;
  border: 1px solid rgba(88, 196, 237, 0.22);
  border-radius: 4px;
  padding: 12px 14px;
  color: #d7f4ff;
  background: rgba(88, 196, 237, 0.09);
}

.spl-contact-status-error {
  border-color: rgba(201, 157, 72, 0.38);
  color: #ffe6b5;
  background: rgba(201, 157, 72, 0.1);
}

.spl-hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

@media (max-width: 900px) {
  .spl-contact-panel {
    grid-template-columns: 1fr;
  }

  .spl-contact-form {
    grid-template-columns: 1fr;
  }
}

/* ========== MOBILE BALANCE AND INNER PAGE FINAL PASS ========== */
@media (max-width: 1024px) {
  .spl-product-hero-grid,
  .spl-dev-console-grid,
  .spl-legal-layout {
    grid-template-columns: 1fr;
  }

  .spl-solution-grid-redesigned {
    grid-template-columns: 1fr;
  }

  .spl-solution-card-k12,
  .spl-solution-card-distribution,
  .spl-pricing-model-2 {
    transform: none;
  }

  .spl-legal-toc {
    position: relative;
    top: auto;
  }
}

@media (max-width: 768px) {
  html,
  body {
    overflow-x: hidden;
  }

  .spl-container {
    width: 100% !important;
    max-width: 100% !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
    padding-right: 18px !important;
    padding-left: 18px !important;
    box-sizing: border-box;
  }

  .spl-header-inner {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding-right: 18px !important;
    padding-left: 18px !important;
  }

  .spl-product-showcase,
  .spl-solutions-command,
  .spl-dev-console,
  .spl-pricing-board,
  .spl-faq-command,
  .spl-legal-doc {
    padding-top: 96px;
  }

  .spl-page-title,
  .spl-hero-title,
  .spl-page-lead,
  .spl-hero-desc,
  .spl-hero-content,
  .spl-page-hero-copy,
  .spl-product-copy,
  .spl-solutions-heading,
  .spl-dev-console-copy,
  .spl-pricing-head,
  .spl-faq-head {
    max-width: 100% !important;
  }

  .spl-page-title {
    font-size: clamp(1.76rem, 8vw, 2.2rem) !important;
  }

  .spl-product-rack {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 18px;
  }

  .spl-product-node,
  .spl-product-node-primary,
  .spl-solution-card,
  .spl-pricing-card {
    min-height: auto;
  }

  .spl-product-node span {
    margin-bottom: 28px;
  }

  .spl-product-layer {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 20px;
  }

  .spl-layer-tags {
    justify-content: flex-start;
  }

  .spl-book-stage {
    justify-content: center !important;
    overflow: visible;
  }

  .spl-book-business {
    margin-left: 0 !important;
  }

  .spl-solution-route {
    grid-template-columns: 1fr;
    margin-top: 26px;
  }

  .spl-dev-terminal .spl-code-block,
  .spl-code-block {
    max-width: 100%;
    overflow-x: auto;
  }

  .spl-pricing-track {
    display: flex !important;
    grid-template-columns: none !important;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
    margin-right: -18px;
    margin-left: -18px;
    padding-right: 18px;
    padding-left: 18px;
    padding-bottom: 16px;
    -webkit-overflow-scrolling: touch;
  }

  .spl-pricing-track .spl-pricing-card {
    flex: 0 0 min(84vw, 340px);
    scroll-snap-align: start;
  }

  .spl-pricing-note,
  .spl-faq-filter {
    gap: 8px;
  }

  .spl-faq-item summary {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .spl-legal-doc {
    color: #111827;
  }

  .spl-legal-longform {
    padding: 22px;
  }

  .spl-legal-header h1 {
    font-size: clamp(2rem, 10vw, 2.75rem);
  }
}
