/* ============================================================
   SentiSportsbook landing — dark premium / betting-tech.
   Self-contained, scoped under .ls (no Tailwind, no Bootstrap
   dependency). Ported 1:1 from the React reference design.
   ============================================================ */

@font-face {
  font-family: "Geist";
  src: url("/fonts/geist-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Geist Mono";
  src: url("/fonts/geist-mono-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

.ls {
  --ink: #0a0e16;
  --ink-2: #0b1019;
  --surface: #111826;
  --surface-2: #151d2d;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.15);
  --accent: #00e08a;
  --accent-2: #34f0a4;
  --accent-ink: #04130c;
  --fg: #e6eaf0;
  --fg-muted: #8b95a5;
  --fg-faint: #58606e;
  --font-sans: "Geist", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SF Mono", monospace;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --maxw: 90rem;

  position: relative;
  width: 100%;
  min-height: 100vh;   /* fallback for browsers without svh */
  min-height: 100svh;  /* iOS Safari: hero fits the small viewport, no clip under the URL bar */
  background: var(--ink);
  color: var(--fg);
  font-family: var(--font-sans);
  font-feature-settings: "ss01", "cv01", "cv05";
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

.ls *,
.ls *::before,
.ls *::after { box-sizing: border-box; }

.ls ::selection { background: var(--accent); color: var(--accent-ink); }

.ls a { color: inherit; text-decoration: none; }
.ls h1, .ls h2, .ls h3, .ls p { margin: 0; }
.ls svg { display: block; }
.ls-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
html:has(.ls) { scroll-behavior: smooth; scroll-padding-top: 5rem; }

/* ── Atmosphere ─────────────────────────────────────────── */
.ls-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.ls-bg__grid {
  position: absolute;
  inset: 0;
  opacity: 0.7;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 78% 60% at 50% -2%, #000 30%, transparent 78%);
          mask-image: radial-gradient(ellipse 78% 60% at 50% -2%, #000 30%, transparent 78%);
}
.ls-bg__aurora {
  position: absolute;
  top: -12rem;
  left: 50%;
  height: 34rem;
  width: 62rem;
  transform: translateX(-50%);
  border-radius: 9999px;
  background: rgba(0, 224, 138, 0.10);
  filter: blur(130px);
}
.ls-bg__glow {
  position: absolute;
  top: -6rem;
  right: 10%;
  height: 18rem;
  width: 18rem;
  border-radius: 9999px;
  background: rgba(21, 89, 255, 0.10);
  filter: blur(110px);
}
.ls-bg__vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 120% at 50% 0%, transparent 42%, var(--ink) 100%);
}

.ls-main { position: relative; z-index: 1; }

/* ── Layout primitives ──────────────────────────────────── */
.ls-container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 1.5rem;
}
@media (min-width: 1024px) { .ls-container { padding-inline: 2rem; } }

.ls-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  line-height: 1;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}
.ls-kicker::before {
  content: "";
  height: 4px; width: 4px;
  border-radius: 9999px;
  background: var(--accent);
}
.ls-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  line-height: 1;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-faint);
}

.ls-h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.25rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.12;
  text-wrap: balance;
}
.ls-sub { margin-top: 1rem; font-size: 1.125rem; color: var(--fg-muted); }
.ls-section { padding-block: clamp(5rem, 9vw, 8rem); }
.ls-section__head { max-width: 42rem; }

/* ── Icons ──────────────────────────────────────────────── */
.ls-ic { width: 1.25rem; height: 1.25rem; }
.ls-ic--sm { width: 1rem; height: 1rem; }
.ls-ic-accent { color: var(--accent); }

/* ── Buttons ────────────────────────────────────────────── */
.ls-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 0.75rem;
  padding: 0.75rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.3s var(--ease);
}
.ls .ls-btn--primary { background: var(--accent); color: var(--accent-ink); }
.ls-btn--primary:hover {
  background: var(--accent-2);
  box-shadow: 0 12px 44px -14px var(--accent);
}
.ls .ls-btn--ghost { border-color: var(--line-strong); color: var(--fg); }
.ls-btn--ghost:hover { border-color: rgba(0, 224, 138, 0.5); background: rgba(255, 255, 255, 0.03); }
.ls-btn__arrow { transition: transform 0.3s var(--ease); }
.ls-btn:hover .ls-btn__arrow { transform: translateX(4px); }
.ls-btn:hover .ls-btn__arrow--diag { transform: translate(2px, -2px); }

/* ── Nav ────────────────────────────────────────────────── */
.ls-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(10, 14, 22, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.ls-nav__inner {
  position: relative;
  display: flex;
  height: 4rem;
  align-items: center;
  justify-content: space-between;
}
.ls-logo { display: inline-flex; align-items: center; gap: 0.625rem; }
.ls-logo__img { height: 2rem; width: 2rem; border-radius: 0.5rem; display: block; }
.ls-logo__mark {
  display: grid;
  place-items: center;
  height: 2rem; width: 2rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(0, 224, 138, 0.3);
  background: rgba(0, 224, 138, 0.1);
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 600;
  color: var(--accent);
}
.ls-logo__text { font-size: 15px; font-weight: 600; letter-spacing: -0.01em; color: var(--fg); }
.ls-logo__text span { color: var(--fg-muted); }
.ls-nav__links {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: none;
  align-items: center;
  gap: 2.25rem;
  font-size: 0.875rem;
  color: var(--fg-muted);
}
.ls-nav__links a { transition: color 0.2s; }
.ls-nav__links a:hover { color: var(--fg); }
.ls-nav__right { display: flex; align-items: center; gap: 0.5rem; }
/* Live demo is the SINGLE CTA (demo-funnel) — accent fill + heartbeat ring + new-tab arrow. */
.ls-nav__demo { position: relative; animation: ls-heartbeat 2.4s var(--ease) infinite; }
/* double-beat "heartrate" attention ring, draws the eye to the demo CTA */
@keyframes ls-heartbeat {
  0%   { box-shadow: 0 0 0 0 rgba(0, 224, 138, 0.5); }
  12%  { box-shadow: 0 0 0 5px rgba(0, 224, 138, 0); }
  24%  { box-shadow: 0 0 0 0 rgba(0, 224, 138, 0.5); }
  42%  { box-shadow: 0 0 0 11px rgba(0, 224, 138, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 224, 138, 0); }
}
@media (prefers-reduced-motion: reduce) { .ls-nav__demo { animation: none; } }
.ls-nav .ls-btn { padding: 0.5rem 1rem; font-size: 13px; }
@media (min-width: 768px) { .ls-nav__links { display: flex; } }

/* ── Hero ───────────────────────────────────────────────── */
.ls-hero {
  position: relative;
  overflow: hidden;
  padding-top: clamp(6rem, 10vw, 8rem);
  padding-bottom: clamp(5rem, 9vw, 7rem);
}
.ls-hero__inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
.ls-h1 {
  margin-top: 1.5rem;
  max-width: 56rem;
  font-size: clamp(2.25rem, 6vw, 3.6rem);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.ls-h1 .accent { color: var(--accent); }
.ls-lead { margin-top: 1.5rem; max-width: 42rem; font-size: 1.125rem; line-height: 1.6; color: var(--fg-muted); }
.ls-cta-row { margin-top: 2.25rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.75rem; }
.ls-trust {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  column-gap: 1.5rem;
  row-gap: 0.5rem;
  color: var(--fg-faint);
}
.ls-trust__item { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; }
.ls-trust__item .ls-ic { color: rgba(0, 224, 138, 0.7); }

/* ── Stats strip ────────────────────────────────────────── */
.ls-stats { border-block: 1px solid var(--line); background: rgba(11, 16, 25, 0.6); }
.ls-stats__grid { display: grid; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 768px) { .ls-stats__grid { grid-template-columns: repeat(4, 1fr); } }
.ls-stat { padding: 2rem 0.5rem; }
@media (min-width: 640px) { .ls-stat { padding-inline: 1.5rem; } }
.ls-stat:nth-child(2n) { border-left: 1px solid var(--line); }
.ls-stat:nth-child(n + 3) { border-top: 1px solid var(--line); }
@media (min-width: 768px) {
  .ls-stat:nth-child(n + 3) { border-top: 0; }
  .ls-stat:not(:nth-child(4n + 1)) { border-left: 1px solid var(--line); }
}
.ls-stat__value { font-family: var(--font-mono); font-size: clamp(1.5rem, 2.4vw, 1.7rem); font-weight: 500; letter-spacing: -0.02em; color: var(--fg); }
.ls-stat__label { margin-top: 0.375rem; font-size: 0.875rem; color: var(--fg-muted); }

/* ── Capabilities (bento) ───────────────────────────────── */
.ls-bento { margin-top: 3.5rem; display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .ls-bento { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .ls-bento { grid-template-columns: repeat(3, 1fr); } }

.ls-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid var(--line);
  background: rgba(17, 24, 38, 0.5);
  padding: 1.5rem;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.ls-card:hover { border-color: rgba(0, 224, 138, 0.4); background: var(--surface); }
.ls-card::after {
  content: "";
  position: absolute;
  top: -4rem; right: -4rem;
  height: 10rem; width: 10rem;
  border-radius: 9999px;
  background: rgba(0, 224, 138, 0);
  filter: blur(40px);
  transition: background 0.5s var(--ease);
  pointer-events: none;
}
.ls-card:hover::after { background: rgba(0, 224, 138, 0.1); }
.ls-card--featured { grid-column: span 1; }
@media (min-width: 640px) { .ls-card--featured { grid-column: span 2; } }

.ls-card__head { display: flex; align-items: center; gap: 0.75rem; }
.ls-card__icon {
  display: grid;
  place-items: center;
  height: 2.5rem; width: 2.5rem;
  flex-shrink: 0;
  border-radius: 0.5rem;
  border: 1px solid var(--line-strong);
  background: var(--ink-2);
  color: var(--fg-muted);
  transition: border-color 0.3s, color 0.3s;
}
.ls-card:hover .ls-card__icon { border-color: rgba(0, 224, 138, 0.4); color: var(--accent); }
.ls-card__title { font-size: 1rem; font-weight: 600; letter-spacing: -0.01em; color: var(--fg); }
.ls-card__desc { margin-top: 1rem; font-size: 0.875rem; line-height: 1.6; color: var(--fg-muted); }
.ls-card__bullets { margin: 1.25rem 0 0; padding: 0; list-style: none; display: grid; gap: 0.5rem; }
@media (min-width: 640px) { .ls-card--featured .ls-card__bullets { grid-template-columns: repeat(3, 1fr); } }
.ls-bullet { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; color: var(--fg); }
.ls-bullet .ls-ic { color: var(--accent); flex-shrink: 0; }

/* ── How it works ───────────────────────────────────────── */
.ls-how { border-top: 1px solid var(--line); background: rgba(11, 16, 25, 0.4); }
.ls-how__grid { display: grid; gap: 3.5rem; }
@media (min-width: 1024px) { .ls-how__grid { grid-template-columns: 0.9fr 1.1fr; align-items: start; } }

.ls-steps { margin-top: 2.5rem; list-style: none; padding: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.ls-step { display: flex; gap: 1rem; border-radius: 0.75rem; border: 1px solid transparent; padding: 0.75rem; transition: border-color 0.2s, background 0.2s; }
.ls-step:hover { border-color: var(--line); background: rgba(17, 24, 38, 0.5); }
.ls-step__rail { display: flex; flex-direction: column; align-items: center; }
.ls-step__icon {
  display: grid; place-items: center;
  height: 2.5rem; width: 2.5rem; flex-shrink: 0;
  border-radius: 0.5rem;
  border: 1px solid var(--line-strong);
  background: var(--ink);
  color: var(--accent);
}
.ls-step__line { margin-top: 0.25rem; width: 1px; flex: 1; background: var(--line); }
.ls-step__body { padding-bottom: 1rem; }
.ls-step__meta { display: flex; align-items: center; gap: 0.5rem; }
.ls-step__title { font-size: 1rem; font-weight: 600; color: var(--fg); }
.ls-step__desc { margin-top: 0.375rem; font-size: 0.875rem; line-height: 1.6; color: var(--fg-muted); }

.ls-code {
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid var(--line-strong);
  background: #0c111b;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
}
@media (min-width: 1024px) { .ls-code { position: sticky; top: 6rem; } }
.ls-code__bar { display: flex; align-items: center; gap: 0.5rem; border-bottom: 1px solid var(--line); padding: 0.75rem 1rem; }
.ls-code__dot { height: 0.625rem; width: 0.625rem; border-radius: 9999px; }
.ls-code__name { margin-left: 0.5rem; }
.ls-code pre { margin: 0; padding: 1.25rem; overflow-x: auto; font-family: var(--font-mono); font-size: 13px; line-height: 1.7; }
.ls-code .tok-comment { color: var(--fg-faint); }
.ls-code .tok-kw { color: #7aa2f7; }
.ls-code .tok-str { color: #9ece6a; }
.ls-code .tok-fn { color: var(--accent); }
.ls-code .tok-tag { color: #f7768e; }
.ls-code .tok-attr { color: var(--accent); }
.ls-code .tok-punc { color: var(--fg-muted); }
.ls-code .tok-fg { color: var(--fg); }

/* ── Markets ────────────────────────────────────────────── */
.ls-markets__grid { display: grid; gap: 3rem; }
@media (min-width: 1024px) { .ls-markets__grid { grid-template-columns: 0.8fr 1.2fr; align-items: center; } }
.ls-markets__mono { font-family: var(--font-mono); color: var(--fg); }
.ls-chips { display: flex; flex-wrap: wrap; gap: 0.625rem; }
.ls-chip {
  border-radius: 0.5rem;
  border: 1px solid var(--line);
  background: rgba(17, 24, 38, 0.4);
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  color: var(--fg-muted);
  transition: border-color 0.2s, color 0.2s;
}
.ls-chip:hover { border-color: rgba(0, 224, 138, 0.4); color: var(--fg); }
.ls-chip--accent {
  border-color: rgba(0, 224, 138, 0.3);
  background: rgba(0, 224, 138, 0.1);
  color: var(--accent);
  font-family: var(--font-mono);
}

/* ── Closing CTA ────────────────────────────────────────── */
.ls-ctapanel {
  position: relative;
  overflow: hidden;
  border-radius: 1.5rem;
  border: 1px solid var(--line-strong);
  background: rgba(17, 24, 38, 0.5);
  padding: clamp(3rem, 6vw, 5rem) clamp(2rem, 6vw, 4rem);
  text-align: center;
}
.ls-ctapanel__grid {
  position: absolute; inset: 0; opacity: 0.5; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 0%, #000, transparent 75%);
          mask-image: radial-gradient(ellipse 70% 70% at 50% 0%, #000, transparent 75%);
}
.ls-ctapanel__glow {
  position: absolute; top: -6rem; left: 50%; transform: translateX(-50%);
  height: 16rem; width: 40rem; border-radius: 9999px;
  background: rgba(0, 224, 138, 0.15); filter: blur(100px); pointer-events: none;
}
.ls-ctapanel__inner { position: relative; }
.ls-ctapanel h2 { margin-inline: auto; max-width: 36rem; font-size: clamp(1.8rem, 4vw, 2.7rem); font-weight: 600; line-height: 1.08; letter-spacing: -0.02em; text-wrap: balance; }
.ls-ctapanel p { margin: 1.25rem auto 0; max-width: 36rem; font-size: 1.125rem; color: var(--fg-muted); }

/* ── Footer ─────────────────────────────────────────────── */
.ls-footer { border-top: 1px solid var(--line); background: rgba(11, 16, 25, 0.5); }
.ls-footer__grid { display: grid; gap: 2.5rem; padding-block: 3.5rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .ls-footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .ls-footer__grid { grid-template-columns: 1.4fr repeat(3, 0.6fr); } }
.ls-footer__about { max-width: 20rem; }
.ls-footer__about p { margin-top: 1rem; font-size: 0.875rem; line-height: 1.6; color: var(--fg-muted); }
.ls-footer__col ul { margin: 1rem 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 0.625rem; }
.ls-footer__col a { font-size: 0.875rem; color: var(--fg-muted); transition: color 0.2s; }
.ls-footer__col a:hover { color: var(--fg); }
.ls-footer__bar {
  display: flex; flex-direction: column; align-items: flex-start; gap: 0.75rem;
  border-top: 1px solid var(--line); padding-top: 1.5rem; margin-top: 3rem;
}
@media (min-width: 640px) { .ls-footer__bar { flex-direction: row; align-items: center; justify-content: space-between; } }

/* ── Reveal (progressive enhancement: hidden only when JS arms it) ── */
.ls--anim .ls-reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); transition-delay: var(--rd, 0ms); will-change: opacity, transform; }
.ls--anim .ls-reveal.is-in { opacity: 1; transform: none; }
