:root {
  --ink: #0a0a0a;
  --ink-soft: #171717;
  --paper: #f6f7f2;
  --white: #ffffff;
  --lime: #b7ff2a;
  --lime-deep: #9bea15;
  --muted: #686b66;
  --line: rgba(10, 10, 10, 0.14);
  --dark-line: rgba(255, 255, 255, 0.14);
  --radius: 24px;
  --container: 1180px;
  --shadow: 0 28px 80px rgba(0,0,0,.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
::selection { background: var(--lime); color: var(--ink); }

.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 999; left: 16px; top: 12px; transform: translateY(-150%); padding: 10px 14px; background: var(--lime); color: var(--ink); font-weight: 700; border-radius: 8px; }
.skip-link:focus { transform: none; }

.site-header {
  position: fixed;
  z-index: 50;
  inset: 0 0 auto;
  transition: background .25s ease, border-color .25s ease, transform .25s ease;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled { background: rgba(10,10,10,.86); border-color: rgba(255,255,255,.1); backdrop-filter: blur(16px); }
.nav-wrap { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: inline-flex; align-items: center; line-height: 1; }
.splai-logo {
  display: block;
  max-width: 100%;
  height: auto;
  flex-shrink: 0;
}
.logo-spl {
  fill: var(--white);
  transition: fill 0.25s ease;
}
.brand-name {
  display: inline;
  font-weight: inherit;
  font-size: inherit;
  color: inherit;
}
.brand-ai {
  color: var(--lime);
}
.core-label span, .hero-flow strong span { color: var(--lime); }
.site-nav { display: flex; align-items: center; gap: 30px; color: rgba(255,255,255,.82); font-size: 14px; font-weight: 620; }
.site-nav > a:not(.button) { transition: color .2s ease; }
.site-nav > a:not(.button):hover { color: var(--lime); }
.menu-toggle { display: none; background: transparent; border: 0; padding: 10px; }
.menu-toggle span:not(.sr-only) { display: block; width: 24px; height: 2px; background: white; margin: 5px 0; transition: transform .2s ease; }

.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent; font-weight: 760; letter-spacing: -.01em; transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-small { min-height: 42px; padding-inline: 18px; font-size: 13px; }
.button-dark { background: var(--white); color: var(--ink); }
.button-lime { background: var(--lime); color: var(--ink); }
.button-lime:hover { background: var(--lime-deep); }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 730; border-bottom: 1px solid currentColor; padding-bottom: 3px; }
.text-link span { transition: transform .2s ease; }
.text-link:hover span { transform: translate(3px,-3px); }
.light-link { color: var(--white); }

.eyebrow { margin: 0 0 18px; text-transform: uppercase; letter-spacing: .14em; font-size: 12px; line-height: 1.3; font-weight: 800; color: #4f544a; }
.eyebrow.light { color: var(--lime); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { letter-spacing: -.045em; line-height: 1.05; }
h1 { font-size: clamp(52px, 7vw, 96px); margin-bottom: 30px; }
h2 { font-size: clamp(38px, 5vw, 68px); margin-bottom: 24px; }
h3 { font-size: 24px; margin-bottom: 14px; }
h1 span, h2 span { color: var(--lime); }

.hero { min-height: 820px; position: relative; overflow: hidden; background: var(--ink); color: var(--white); padding: 170px 0 70px; }
.hero::after { content: ""; position: absolute; inset: auto -10% -42% -10%; height: 65%; border-radius: 50% 50% 0 0; border-top: 1px solid rgba(183,255,42,.35); box-shadow: 0 -20px 80px rgba(183,255,42,.08); }
.hero-grid { position: absolute; inset: 0; opacity: .18; background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px); background-size: 68px 68px; mask-image: linear-gradient(to bottom, black, transparent 82%); }
.hero-grid::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 68% 36%, rgba(183,255,42,.16), transparent 24%); }
.signal-orbit { position: absolute; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; }
.orbit-one { width: 530px; height: 530px; right: -150px; top: 120px; }
.orbit-two { width: 280px; height: 280px; right: 10%; top: 260px; border-color: rgba(183,255,42,.24); }
.hero-inner { position: relative; z-index: 2; max-width: 930px; }
.hero h1 { max-width: 900px; }
.hero-copy { max-width: 720px; color: rgba(255,255,255,.72); font-size: clamp(18px, 2vw, 22px); line-height: 1.55; margin-bottom: 38px; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 28px; }
.hero-flow { position: relative; z-index: 2; margin-top: 94px; padding: 19px 24px; display: grid; grid-template-columns: auto 1fr auto 1fr auto 1fr auto 1fr auto; align-items: center; gap: 16px; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.04); border-radius: 16px; color: rgba(255,255,255,.58); font-size: 13px; text-transform: uppercase; letter-spacing: .09em; }
.hero-flow i { display: block; height: 1px; background: linear-gradient(90deg, rgba(255,255,255,.18), var(--lime)); position: relative; }
.hero-flow i::after { content: ""; position: absolute; right: 0; top: -3px; width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 16px var(--lime); }
.hero-flow strong { color: var(--white); font-size: 18px; letter-spacing: -.03em; }

.proof-section { position: relative; z-index: 4; margin-top: -34px; padding-bottom: 80px; }
.proof-card { display: grid; grid-template-columns: 1.08fr .72fr; gap: 62px; align-items: center; background: var(--white); border-radius: var(--radius); padding: clamp(30px, 5vw, 64px); box-shadow: var(--shadow); }
.proof-copy h2 { font-size: clamp(38px, 4.5vw, 62px); max-width: 690px; }
.proof-copy > p:not(.eyebrow):not(.fine-print) { color: var(--muted); font-size: 18px; max-width: 650px; }
.proof-stats { display: flex; gap: 18px; margin: 34px 0 30px; }
.proof-stats > div { flex: 1; min-width: 0; border-top: 1px solid var(--line); padding-top: 18px; }
.proof-stats strong { display: block; font-size: clamp(46px, 5vw, 66px); line-height: 1; letter-spacing: -.06em; }
.proof-stats span { display: block; color: var(--muted); font-size: 14px; margin-top: 8px; }
.case-visual { border-radius: 18px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 18px 50px rgba(0,0,0,.08); transition: transform .3s ease, box-shadow .3s ease; background: #fff; }
.case-visual:hover { transform: translateY(-5px) rotate(.3deg); box-shadow: 0 26px 65px rgba(0,0,0,.12); }
.case-visual img { width: 100%; aspect-ratio: 1.1 / 1; object-fit: cover; object-position: top center; }
.fine-print { margin: 18px 0 0; color: #898c86; font-size: 11px; line-height: 1.45; }
.fine-print.centered { text-align: center; }

.section { padding: 115px 0; }
.section-light { background: var(--paper); }
.section-heading { max-width: 850px; margin-bottom: 60px; }
.section-heading > p:not(.eyebrow) { max-width: 740px; color: var(--muted); font-size: 18px; }
.section-heading.compact { max-width: 760px; margin-bottom: 50px; }
.section-heading.compact h2 { font-size: clamp(38px, 4.3vw, 58px); }
.steps-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.step-card { background: var(--white); border: 1px solid var(--line); min-height: 300px; border-radius: 20px; padding: 30px; display: flex; flex-direction: column; transition: transform .25s ease, box-shadow .25s ease; }
.step-card:hover { transform: translateY(-5px); box-shadow: 0 20px 45px rgba(0,0,0,.07); }
.step-number { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; font-size: 12px; font-weight: 800; margin-bottom: auto; }
.step-card h3 { margin-top: 56px; }
.step-card p { color: var(--muted); margin-bottom: 0; }

.engine-section { background: var(--ink); color: var(--white); padding: 120px 0; overflow: hidden; }
.engine-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: center; }
.engine-copy > p:not(.eyebrow) { color: rgba(255,255,255,.67); font-size: 18px; max-width: 550px; }
.capability-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.capability-list span { border: 1px solid rgba(255,255,255,.17); border-radius: 999px; padding: 9px 13px; color: rgba(255,255,255,.75); font-size: 13px; }
.engine-visual { min-height: 480px; border: 1px solid rgba(255,255,255,.12); border-radius: 26px; position: relative; display: grid; grid-template-columns: 1fr 70px 1.25fr 70px 1fr; align-items: center; padding: 46px 32px; background: radial-gradient(circle at 50% 50%, rgba(183,255,42,.09), transparent 31%), linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px), linear-gradient(90deg,rgba(255,255,255,.03) 1px,transparent 1px); background-size: auto, 38px 38px, 38px 38px; }
.engine-node { padding: 24px 16px; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.04); border-radius: 15px; text-align: center; position: relative; z-index: 2; }
.engine-node small { color: var(--lime); text-transform: uppercase; letter-spacing: .12em; font-weight: 800; font-size: 9px; }
.engine-node strong { display: block; margin-top: 10px; line-height: 1.2; font-size: 16px; }
.engine-path { height: 1px; background: rgba(255,255,255,.16); position: relative; }
.engine-path span { position: absolute; top: -3px; left: 0; width: 7px; height: 7px; background: var(--lime); border-radius: 50%; animation: travel 2.5s linear infinite; box-shadow: 0 0 16px var(--lime); }
.engine-core { aspect-ratio: 1; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; position: relative; border: 1px solid rgba(183,255,42,.55); box-shadow: inset 0 0 40px rgba(183,255,42,.08), 0 0 70px rgba(183,255,42,.08); }
.core-ring { position: absolute; border: 1px solid rgba(183,255,42,.22); border-radius: 50%; }
.ring-a { inset: 13%; animation: spin 18s linear infinite; }
.ring-b { inset: 25%; border-style: dashed; animation: spin 12s linear infinite reverse; }
.core-ring::after { content: ""; position: absolute; width: 6px; height: 6px; border-radius: 50%; background: var(--lime); top: 0; left: 50%; box-shadow: 0 0 12px var(--lime); }
.core-label { position: relative; z-index: 2; font-size: clamp(28px, 4vw, 46px); font-weight: 800; letter-spacing: -.06em; }
.engine-core > small { position: relative; z-index: 2; margin-top: 4px; color: rgba(255,255,255,.48); letter-spacing: .2em; }
.signal-labels span { position: absolute; color: rgba(255,255,255,.55); font-size: 10px; text-transform: uppercase; letter-spacing: .12em; padding: 6px 9px; background: #111; border: 1px solid rgba(255,255,255,.1); border-radius: 999px; }
.signal-a { top: 12%; left: 38%; }
.signal-b { top: 25%; right: 13%; }
.signal-c { bottom: 20%; left: 16%; }
.signal-d { bottom: 10%; right: 31%; }

.outcomes-section { background: var(--white); }
.outcomes-grid { display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.outcome { padding: 36px 36px 40px 0; }
.outcome + .outcome { border-left: 1px solid var(--line); padding-left: 36px; }
.outcome-icon { width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; background: var(--lime); border-radius: 50%; font-size: 20px; margin-bottom: 55px; }
.outcome p { color: var(--muted); margin-bottom: 0; }
.scale-strip { display: grid; grid-template-columns: repeat(3,1fr); background: var(--ink); color: var(--white); border-radius: 20px; margin-top: 70px; padding: 36px; }
.scale-strip > div { padding: 0 28px; }
.scale-strip > div + div { border-left: 1px solid rgba(255,255,255,.14); }
.scale-strip strong { display: block; font-size: clamp(30px, 4vw, 50px); letter-spacing: -.05em; color: var(--lime); line-height: 1.05; }
.scale-strip span { display: block; margin-top: 9px; color: rgba(255,255,255,.64); font-size: 14px; }

.model-section { padding: 95px 0; background: var(--paper); }
.model-card { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: end; background: var(--lime); border-radius: var(--radius); padding: clamp(35px,6vw,70px); }
.model-card h2 { margin-bottom: 0; color: var(--ink); }
.model-card h2 span { color: rgba(10,10,10,.45); }
.model-copy > p { font-size: 19px; max-width: 540px; }
.model-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.model-pills span { padding: 10px 15px; border: 1px solid rgba(10,10,10,.28); border-radius: 999px; font-size: 13px; font-weight: 700; }

.contact-section { background: var(--ink); color: var(--white); padding: 120px 0; }
.contact-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 90px; }
.contact-intro > p:not(.eyebrow) { color: rgba(255,255,255,.65); font-size: 18px; max-width: 540px; }
.contact-email { display: inline-flex; gap: 9px; margin-top: 28px; font-weight: 750; font-size: 18px; border-bottom: 1px solid var(--lime); padding-bottom: 4px; }
.contact-email span { color: var(--lime); }
.contact-form { background: var(--white); color: var(--ink); border-radius: 20px; padding: 34px; }
.contact-form label { display: block; margin-bottom: 18px; }
.contact-form label > span { display: block; font-weight: 700; font-size: 13px; margin-bottom: 8px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form input, .contact-form textarea { width: 100%; border: 1px solid #dadcd5; background: #f9faf6; border-radius: 10px; padding: 13px 14px; outline: none; transition: border .2s ease, box-shadow .2s ease; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(183,255,42,.45); }
.contact-form textarea { resize: vertical; min-height: 115px; }
.button-submit { width: 100%; border: 0; }
.form-note { font-size: 11px; color: #7b7e77; text-align: center; margin: 13px 0 0; }

.site-footer { background: #050505; color: rgba(255,255,255,.6); padding: 54px 0; border-top: 1px solid rgba(255,255,255,.08); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1.1fr 1fr .65fr; gap: 40px; font-size: 13px; }
.footer-grid strong { color: var(--white); display: block; margin-bottom: 10px; }
.footer-grid p { margin-bottom: 0; }
.footer-brand { margin-bottom: 15px; }
.footer-meta { text-align: right; }
.footer-grid a:hover { color: var(--lime); }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .75s ease, transform .75s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@keyframes travel { from { transform: translateX(0); } to { transform: translateX(64px); } }
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 960px) {
  .site-nav { position: fixed; inset: 78px 16px auto; background: #111; border: 1px solid rgba(255,255,255,.12); border-radius: 16px; padding: 18px; display: none; flex-direction: column; align-items: stretch; gap: 8px; box-shadow: 0 22px 60px rgba(0,0,0,.35); }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 10px 8px; }
  .menu-toggle { display: block; }
  .proof-card, .engine-layout, .contact-layout { grid-template-columns: 1fr; }
  .case-visual { max-width: 520px; }
  .steps-grid { grid-template-columns: 1fr; }
  .step-card { min-height: 240px; }
  .engine-layout { gap: 45px; }
  .engine-visual { min-height: 430px; }
  .outcomes-grid { grid-template-columns: 1fr; }
  .outcome { padding: 34px 0; }
  .outcome + .outcome { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; }
  .outcome-icon { margin-bottom: 28px; }
  .model-card { grid-template-columns: 1fr; gap: 32px; }
  .contact-layout { gap: 50px; }
  .footer-grid { grid-template-columns: 1.4fr 1fr; }
  .footer-meta { text-align: left; }
}

@media (max-width: 680px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .nav-wrap { min-height: 70px; }
  .site-nav { inset-top: 70px; }
  .hero { min-height: auto; padding: 135px 0 50px; }
  .hero-copy { font-size: 17px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 18px; }
  .hero-flow { grid-template-columns: repeat(5,1fr); gap: 7px; padding: 14px 10px; margin-top: 70px; text-align: center; font-size: 8px; letter-spacing: .04em; }
  .hero-flow i { display: none; }
  .hero-flow strong { font-size: 13px; }
  .proof-section { margin-top: -15px; padding-bottom: 50px; }
  .proof-card { gap: 38px; border-radius: 18px; }
  .proof-stats { gap: 12px; }
  .proof-stats strong { font-size: 42px; }
  .section, .engine-section, .contact-section { padding: 80px 0; }
  .section-heading { margin-bottom: 40px; }
  .engine-visual { min-height: 500px; grid-template-columns: 1fr; grid-template-rows: auto 45px 1fr 45px auto; padding: 30px; }
  .engine-path { width: 1px; height: 45px; margin-inline: auto; }
  .engine-path span { top: 0; left: -3px; animation: travel-mobile 2.5s linear infinite; }
  .engine-core { width: min(240px, 80%); margin-inline: auto; }
  .signal-labels { display: none; }
  .scale-strip { grid-template-columns: 1fr; padding: 28px; }
  .scale-strip > div { padding: 18px 0; }
  .scale-strip > div + div { border-left: 0; border-top: 1px solid rgba(255,255,255,.14); }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .contact-form { padding: 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-meta { display: flex; gap: 20px; }
  @keyframes travel-mobile { from { transform: translateY(0); } to { transform: translateY(39px); } }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
