: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 .brand-ai, .hero-flow strong .brand-ai { 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; }

/* Publisher Logo Ticker Section (Symphonics / Multilocal style) */
.ticker-section {
  background: var(--paper);
  border-top: 1px solid rgba(10, 10, 10, 0.05);
  border-bottom: 1px solid rgba(10, 10, 10, 0.05);
  padding: 24px 0;
  overflow: hidden;
  position: relative;
  z-index: 10;
}
.ticker-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}
.ticker-wrap {
  width: 100%;
  overflow: hidden;
  position: relative;
}
.ticker-wrap::before,
.ticker-wrap::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100px;
  z-index: 2;
  pointer-events: none;
}
.ticker-wrap::before {
  left: 0;
  background: linear-gradient(90deg, var(--paper), transparent);
}
.ticker-wrap::after {
  right: 0;
  background: linear-gradient(-90deg, var(--paper), transparent);
}
.ticker-track {
  display: flex;
  align-items: center;
  gap: 60px;
  width: max-content;
  animation: logo-scroll 35s linear infinite;
}
.ticker-track:hover {
  animation-play-state: paused;
}
.ticker-logo {
  color: rgba(10, 10, 10, 0.32);
  transition: color 0.25s ease;
  display: flex;
  align-items: center;
}
.ticker-logo:hover {
  color: rgba(10, 10, 10, 0.85);
}

@keyframes logo-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-50% - 30px)); /* offset for half track length + gap correction */
  }
}

/* Value pillars grid */
.value-pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 56px;
}
.pillar-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 36px 30px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.05);
}
.pillar-card h3 {
  font-size: 20px;
  font-weight: 760;
  margin-bottom: 12px;
  letter-spacing: -0.03em;
}
.pillar-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 0;
}

/* Redesigned Google Case Study Split Card */
.proof-section { position: relative; z-index: 4; padding: 115px 0; background: var(--paper); }
.proof-card { display: grid; grid-template-columns: 1.15fr .85fr; gap: 70px; align-items: center; background: var(--white); border-radius: var(--radius); padding: clamp(35px,6vw,70px); 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-metrics-block { display: flex; flex-direction: column; }
.proof-stats-split { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 30px; }
.stat-box { display: flex; flex-direction: column; border-top: 1px solid var(--line); padding-top: 18px; }
.stat-number { font-size: clamp(40px, 5vw, 60px); font-weight: 800; color: var(--lime-deep); line-height: 1; letter-spacing: -0.04em; margin-bottom: 8px; }
.stat-label { font-size: 13px; color: var(--muted); font-weight: 600; line-height: 1.4; }
.stat-visual-wrap { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 24px; display: flex; align-items: center; justify-content: center; }
.results-signal-svg { width: 100%; height: auto; display: block; }
.fine-print { margin: 18px 0 0; color: #898c86; font-size: 11px; line-height: 1.45; }
.fine-print.centered { text-align: center; }

/* Typical Results Stats Grid Section */
.results-stats-section {
  background: var(--ink);
  color: var(--white);
  padding: 115px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.results-stats-header {
  max-width: 760px;
  margin-bottom: 56px;
}
.results-stats-header h2 {
  color: var(--white);
  font-size: clamp(34px, 4.3vw, 54px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 12px 0 16px;
}
.results-stats-header h2 span {
  color: var(--lime);
}
.results-stats-intro {
  color: rgba(255, 255, 255, 0.65);
  font-size: 18px;
  line-height: 1.5;
}
.results-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.results-stat-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 40px 30px;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}
.results-stat-card:hover {
  transform: translateY(-4px);
  border-color: rgba(183, 255, 42, 0.35);
  background: rgba(255, 255, 255, 0.05);
}
.results-stat-number {
  font-size: clamp(44px, 5vw, 58px);
  font-weight: 800;
  color: var(--lime);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 16px;
}
.results-stat-label {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.85);
}

@media (max-width: 960px) {
  .results-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .results-stats-grid {
    grid-template-columns: 1fr;
  }
  .results-stats-section {
    padding: 80px 0;
  }
}

.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); }
.engine-section { background: var(--ink); color: var(--white); padding: 120px 0; overflow: hidden; }
.engine-heading-wrap { text-align: center; max-width: 800px; margin-inline: auto; margin-bottom: 56px; }
.engine-heading-wrap h2 { color: var(--white); }
.engine-copy-thin { color: rgba(255, 255, 255, 0.67); font-size: 18px; line-height: 1.5; margin-top: 20px; }

/* Three-step approach steps */
.approach-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; position: relative; margin-top: 56px; }
.approach-step-card { background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 20px; padding: 36px 30px; position: relative; transition: border-color 0.25s ease, background 0.25s ease; z-index: 2; }
.approach-step-card:hover { border-color: rgba(183, 255, 42, 0.4); background: rgba(255, 255, 255, 0.05); }
.approach-step-card .step-num { font-size: 12px; font-weight: 800; color: var(--lime); letter-spacing: 0.14em; display: block; margin-bottom: 28px; }
.approach-step-card h3 { font-size: 21px; font-weight: 760; margin-bottom: 14px; color: var(--white); letter-spacing: -0.03em; }
.approach-step-card p { color: rgba(255, 255, 255, 0.65); font-size: 14px; line-height: 1.5; margin-bottom: 0; }

@media (min-width: 961px) {
  .approach-step-card:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 42px; /* aligns with step-num baseline */
    left: calc(100% + 1px);
    width: 28px;
    height: 1px;
    border-top: 1px dashed rgba(255, 255, 255, 0.16);
    z-index: 1;
  }
}

.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 1.2fr; gap: 70px; align-items: start; background: var(--lime); border-radius: var(--radius); padding: clamp(35px,6vw,70px); }
.model-intro-col h2 { font-size: clamp(34px, 4vw, 46px); line-height: 1.15; letter-spacing: -0.03em; margin: 12px 0 20px; color: var(--ink); }
.model-intro-col h2 span { color: rgba(10, 10, 10, 0.45); }
.model-desc { font-size: 16px; line-height: 1.5; color: rgba(10, 10, 10, 0.75); margin-bottom: 0; }
.model-options-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-bottom: 32px; }
.model-option-block h3 { font-size: 20px; font-weight: 800; color: var(--ink); margin-bottom: 8px; letter-spacing: -0.02em; }
.model-option-block p { font-size: 14px; line-height: 1.5; color: rgba(10, 10, 10, 0.7); margin-bottom: 0; }
.model-supporting-note { border-top: 1px solid rgba(10, 10, 10, 0.15); padding-top: 20px; }
.model-supporting-note strong { display: block; font-size: 15px; font-weight: 750; color: var(--ink); margin-bottom: 4px; }
.model-supporting-note p { font-size: 13px; color: rgba(10, 10, 10, 0.65); margin-bottom: 0; }

@media (max-width: 768px) {
  .model-card { grid-template-columns: 1fr; gap: 40px; }
  .model-options-grid { grid-template-columns: 1fr; gap: 20px; }
}

.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; }

/* Contact Method Selector */
.channel-selector-wrap {
  margin: 22px 0 26px;
}
.selector-label {
  display: block;
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 10px;
  color: var(--ink);
}
.channel-options {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.channel-option {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  color: #4f544a;
}
.channel-option input[type="radio"] {
  width: auto;
  margin: 0;
  accent-color: var(--lime-deep);
  cursor: pointer;
  transform: scale(1.1);
}

.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); } }

/* What SPLAI does capabilities grid */
.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 40px;
}
.cap-card-simple {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 36px 30px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.cap-card-simple:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0,0,0,0.06);
}
.cap-card-simple h3 {
  font-size: 20px;
  font-weight: 760;
  margin-bottom: 12px;
  letter-spacing: -0.03em;
}
.cap-card-simple p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 0;
}

/* Publisher Ecosystem Logos */
.ecosystem-logos-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: center;
  margin-top: 40px;
}
.ecosystem-logo-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 140px;
  height: 64px;
  transition: border-color .2s ease;
}
.ecosystem-logo-card:hover {
  border-color: var(--lime);
}
.ecosystem-logo-card img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

@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; }
  .value-pillars-grid { grid-template-columns: 1fr; gap: 18px; }
  .approach-steps { grid-template-columns: 1fr; gap: 18px; }
  .proof-card, .contact-layout { grid-template-columns: 1fr; }
  .proof-stats-split { grid-template-columns: 1fr; gap: 20px; }
  .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; }
  .proof-section { padding: 80px 0; }
  .proof-card { gap: 38px; border-radius: 18px; padding: 30px 24px; }
  .stat-number { font-size: 46px; }
  .section, .engine-section, .contact-section { padding: 80px 0; }
  .section-heading { margin-bottom: 40px; }
  .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; }
}

@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; }
}
