/* ============================================================================
   StrataLeague marketing site — extends the product design system into a
   landing-page surface. Brand DNA: forest green (#217845), near-black ink
   chrome (#1b2320), flat canvas-grey + white surfaces, 6px radii, soft
   tertiary card shadow, system font (Kanit is logo-only), calm motion.
   ============================================================================ */

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sl-font-body);
  color: var(--sl-text-primary);
  background: var(--sl-bg-surface);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: var(--sl-lh-normal);
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; }

.wrap {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ----------------------------------------------------------------------------
   Shared type helpers
   ---------------------------------------------------------------------------- */
.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--sl-green);
  margin: 0 0 14px;
}
.eyebrow.on-dark { color: #5cc187; }

.section-title {
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 700;
  letter-spacing: -1.2px;
  line-height: 1.08;
  margin: 0 0 16px;
  color: var(--sl-text-primary);
  text-wrap: balance;
}
.section-title.on-dark { color: #fff; }

.section-lead {
  font-size: 18px;
  line-height: 1.6;
  color: var(--sl-text-secondary);
  max-width: 640px;
  margin: 0;
}
.section-lead.on-dark { color: rgba(255,255,255,0.72); }

.section {
  padding: 100px 0;
}
.section.canvas { background: var(--sl-bg-canvas); }
.section.ink {
  background: var(--sl-ink-900);
  color: #fff;
}

.center { text-align: center; }
.center .section-lead { margin-left: auto; margin-right: auto; }

/* ----------------------------------------------------------------------------
   Buttons
   ---------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 22px;
  border-radius: var(--sl-radius-md);
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background var(--sl-dur-base) var(--sl-ease),
              border-color var(--sl-dur-base) var(--sl-ease),
              color var(--sl-dur-base) var(--sl-ease),
              transform var(--sl-dur-fast) var(--sl-ease);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--sl-green);
  color: #fff;
}
.btn-primary:hover { background: var(--sl-green-hover); }

.btn-ghost {
  background: transparent;
  color: var(--sl-text-primary);
  border-color: var(--sl-border);
}
.btn-ghost:hover { border-color: var(--sl-green); color: var(--sl-green); }

.btn-ghost.on-dark {
  color: #fff;
  border-color: rgba(255,255,255,0.28);
}
.btn-ghost.on-dark:hover {
  border-color: rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.06);
  color: #fff;
}

.btn-lg { height: 50px; padding: 0 28px; font-size: 16px; }

/* Beta pill */
.beta-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 28px;
  padding: 0 12px 0 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2px;
}
.beta-pill .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--sl-green);
  box-shadow: 0 0 0 3px var(--sl-green-tint-50);
}
.beta-pill.light {
  background: var(--sl-green-tint-50);
  color: var(--sl-green-deep);
  border: 1px solid var(--sl-green-tint-100);
}
.beta-pill.on-dark {
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.88);
  border: 1px solid rgba(255,255,255,0.16);
}
.beta-pill.on-dark .dot { box-shadow: 0 0 0 3px rgba(92,193,135,0.2); background: #5cc187; }

/* ----------------------------------------------------------------------------
   Nav
   ---------------------------------------------------------------------------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255,255,255,0.86);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--sl-dur-base) var(--sl-ease),
              box-shadow var(--sl-dur-base) var(--sl-ease);
}
.nav.scrolled {
  border-bottom-color: var(--sl-border-soft);
  box-shadow: 0 1px 8px rgba(0,0,0,0.04);
}
.nav-inner {
  height: 68px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo .mark { height: 30px; width: auto; }
.nav-logo .word { height: 17px; width: auto; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--sl-text-secondary);
  transition: color var(--sl-dur-base) var(--sl-ease);
}
.nav-links a:hover { color: var(--sl-green); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-cta .btn { height: 38px; padding: 0 16px; font-size: 14px; }

/* Hamburger — hidden on desktop */
.nav-toggle {
  display: none;
  margin-left: auto;
  width: 42px; height: 42px;
  align-items: center; justify-content: center;
  background: transparent;
  border: 1px solid var(--sl-border-soft);
  border-radius: var(--sl-radius-md);
  cursor: pointer;
  padding: 0;
}
.nav-toggle-bars { display: block; width: 18px; height: 12px; position: relative; }
.nav-toggle-bars span {
  position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px;
  background: var(--sl-text-primary);
  transition: transform var(--sl-dur-base) var(--sl-ease), opacity var(--sl-dur-base) var(--sl-ease), top var(--sl-dur-base) var(--sl-ease);
}
.nav-toggle-bars span:nth-child(1) { top: 0; }
.nav-toggle-bars span:nth-child(2) { top: 5px; }
.nav-toggle-bars span:nth-child(3) { top: 10px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(1) { top: 5px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(3) { top: 5px; transform: rotate(-45deg); }

/* Mobile dropdown menu */
.nav-menu {
  display: none;
  border-top: 1px solid var(--sl-border-soft);
  background: rgba(255,255,255,0.98);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  padding: 12px 24px 20px;
}
.nav-menu[hidden] { display: none; }
.nav-menu.open { display: block; }
.nav-menu-links { display: flex; flex-direction: column; }
.nav-menu-links a {
  font-size: 16px; font-weight: 500; color: var(--sl-text-primary);
  padding: 14px 4px; border-bottom: 1px solid var(--sl-border-soft);
}
.nav-menu-cta { display: flex; flex-direction: column; gap: 12px; margin-top: 18px; }
.nav-menu-cta .btn { width: 100%; height: 46px; }

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-toggle { display: inline-flex; }
}

/* ----------------------------------------------------------------------------
   Hero
   ---------------------------------------------------------------------------- */
.hero {
  position: relative;
  padding: 84px 0 96px;
  background: var(--sl-bg-surface);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1.25fr;
  gap: 56px;
  align-items: center;
}
/* allow both columns to shrink below their content so the detailed app mockup
   never forces the grid (and the page) wider than the viewport */
.hero-copy, .hero-visual { min-width: 0; }
.hero h1 {
  font-size: clamp(40px, 5.4vw, 66px);
  font-weight: 700;
  letter-spacing: -2px;
  line-height: 1.03;
  margin: 18px 0 22px;
  text-wrap: balance;
}
.hero h1 .accent { color: var(--sl-green); }
.hero-sub {
  font-size: 19px;
  line-height: 1.6;
  color: var(--sl-text-secondary);
  max-width: 520px;
  margin: 0 0 30px;
}
.hero-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.hero-micro {
  margin: 22px 0 0;
  font-size: 13px;
  color: var(--sl-text-tertiary);
  display: flex; align-items: center; gap: 8px;
}
.hero-micro svg { width: 15px; height: 15px; stroke: var(--sl-green); flex-shrink: 0; }

@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero { padding: 56px 0 72px; }
}

/* ----------------------------------------------------------------------------
   App mockup (browser frame + StrataLeague UI)
   ---------------------------------------------------------------------------- */
.browser {
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 24px 60px -20px rgba(27,35,32,0.4), 0 8px 24px -12px rgba(0,0,0,0.12);
  border: 1px solid var(--sl-border-soft);
  overflow: hidden;
  min-width: 0;
}
.browser-bar {
  height: 38px;
  background: #f6f7f8;
  border-bottom: 1px solid var(--sl-border-soft);
  display: flex;
  align-items: center;
  padding: 0 14px;
  gap: 8px;
}
.browser-dots { display: flex; gap: 6px; }
.browser-dots span { width: 11px; height: 11px; border-radius: 50%; background: #d9dde0; }
.browser-url {
  margin-left: 10px;
  height: 22px;
  flex: 1;
  max-width: 280px;
  background: #fff;
  border: 1px solid var(--sl-border-soft);
  border-radius: 6px;
  display: flex; align-items: center;
  padding: 0 10px;
  font-size: 11px;
  color: var(--sl-text-tertiary);
  gap: 6px;
}
.browser-url svg { width: 10px; height: 10px; stroke: var(--sl-green); }

.app {
  display: flex;
  min-height: 496px;
  background: var(--sl-bg-canvas);
  font-size: 12px;
}

/* sider */
.app-sider {
  width: 178px;
  background: var(--sl-green-deep);
  flex-shrink: 0;
  padding-top: 12px;
  display: flex; flex-direction: column;
}
.app-sider .grp {
  color: #e8ebe9;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  padding: 0 18px;
  margin: 11px 0 3px;
  display: flex; align-items: center; gap: 8px;
}
.app-sider .grp:first-child { margin-top: 4px; }
.app-sider .grp::before {
  content: ""; width: 16px; height: 2px; border-radius: 1px;
  background: linear-gradient(90deg, rgba(255,255,255,0.05), rgba(255,255,255,0.4), rgba(255,255,255,0.05));
}
.app-nav-item {
  margin: 1.5px 8px;
  height: 27px;
  border-radius: 6px;
  display: flex; align-items: center; gap: 9px;
  padding: 0 12px;
  color: rgba(255,255,255,0.86);
  font-size: 11.5px;
}
.app-nav-item svg { width: 14px; height: 14px; stroke: #fff; flex-shrink: 0; }
.app-nav-item.active { background: var(--sl-green); color: #fff; font-weight: 500; }

.app-sider-foot { margin-top: auto; padding: 12px 18px 14px; }
.app-sider-foot .ln {
  height: 1px; margin-bottom: 10px;
  background: linear-gradient(90deg, rgba(255,255,255,0.04), rgba(255,255,255,0.34), rgba(255,255,255,0.04));
}
.app-sider-foot .c { font-size: 9px; color: rgba(255,255,255,0.5); line-height: 1.55; }

/* header */
.app-main { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.app-header {
  height: 52px;
  background: var(--sl-ink-900);
  display: flex; align-items: center;
  padding: 0 16px;
  gap: 14px;
  flex-shrink: 0;
}
.app-header .brand { display: flex; align-items: center; gap: 7px; filter: grayscale(1) brightness(0) invert(0.92); }
.app-header .brand .mk { height: 22px; }
.app-header .brand .wd { height: 12px; }
.app-header .divider { width: 1px; height: 22px; background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.4), rgba(255,255,255,0.05)); }
.app-header .ptitle { color: #fff; font-size: 15px; font-weight: 500; letter-spacing: -0.3px; }
.app-pill {
  margin-left: auto;
  display: flex; align-items: center; gap: 8px;
  padding: 0 5px 0 0;
  background: #2f6b46;
  background-image: linear-gradient(180deg, rgba(255,255,255,0.1), rgba(0,0,0,0.18));
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.25);
  box-shadow: 0 2px 6px rgba(0,0,0,0.25), inset 0 1px 0 rgba(255,255,255,0.16);
}
.app-pill .logobadge {
  width: 34px; height: 34px; border-radius: 50%;
  background: #fff; padding: 4px;
  display: flex; align-items: center; justify-content: center;
}
.app-pill .logobadge img { max-width: 100%; max-height: 100%; }
.app-pill .org { color: #fff; font-weight: 600; font-size: 12px; text-shadow: 0 1px 2px rgba(0,0,0,0.3); white-space: nowrap; }

/* content */
.app-content { padding: 14px; overflow: hidden; }
.app-filters { display: flex; align-items: center; gap: 6px; margin-bottom: 12px; flex-wrap: wrap; }
.app-filters .fl { font-size: 11px; font-weight: 600; color: var(--sl-text-secondary); margin-right: 2px; }
.app-filters .chip {
  font-size: 10.5px; padding: 3px 9px; border-radius: 2px;
  border: 1px solid var(--sl-border-soft); background: #fff; color: var(--sl-text-secondary);
}
.app-filters .chip.active {
  background: var(--sl-green-tint-50); border-color: var(--sl-green-tint-100);
  color: var(--sl-green-deep); font-weight: 600;
}
.app-gauges { display: flex; gap: 10px; margin-bottom: 12px; }
.gauge {
  display: flex; align-items: center; gap: 9px;
  background: #fff; border: 1px solid var(--sl-border-soft);
  border-radius: 6px; padding: 7px 11px;
  box-shadow: var(--sl-shadow-card);
}
.gauge .label { font-size: 11px; font-weight: 600; color: var(--sl-text-primary); white-space: nowrap; }
.gauge .sub { font-size: 10px; color: var(--sl-text-tertiary); }

.app-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.app-card {
  background: #fff;
  border: 1px solid var(--sl-border-soft);
  border-radius: 6px;
  box-shadow: var(--sl-shadow-card);
  overflow: hidden;
}
.app-card .ct {
  font-size: 11px; font-weight: 600;
  padding: 9px 12px;
  border-bottom: 1px solid var(--sl-border-soft);
  color: var(--sl-text-primary);
}
.app-card .cb { padding: 10px 12px; }
.app-card.wide { margin-top: 12px; }
.app-card .bars { display: flex; align-items: flex-end; gap: 6px; height: 64px; }
.app-card .bars span { flex: 1; background: var(--sl-green); border-radius: 2px 2px 0 0; opacity: 0.82; min-height: 3px; }

/* ----------------------------------------------------------------------------
   Stats strip
   ---------------------------------------------------------------------------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.stat .num {
  font-size: clamp(34px, 4vw, 46px);
  font-weight: 700;
  letter-spacing: -1.5px;
  color: var(--sl-green);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.stat .lbl {
  margin-top: 10px;
  font-size: 14px;
  color: var(--sl-text-secondary);
  line-height: 1.45;
}
@media (max-width: 760px) {
  .stats { grid-template-columns: repeat(2, 1fr); gap: 32px 24px; }
}

/* ----------------------------------------------------------------------------
   What's inside — layered strata (numbered tabs + detail card)
   ---------------------------------------------------------------------------- */
.wi { max-width: 1080px; }
.wi-eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.wi-eyebrow .ln { width: 24px; height: 1px; background: #217845; }
.wi-eyebrow span:last-child { font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: #217845; }
.wi-title { margin: 0 0 8px; font-size: clamp(26px, 5vw, 34px); font-weight: 800; letter-spacing: -0.7px; line-height: 1.14; color: #12271c; max-width: 560px; }
.wi-lead { margin: 0 0 44px; font-size: 16px; line-height: 1.6; color: rgba(0, 0, 0, 0.6); max-width: 560px; }

.wi-body { display: flex; flex-wrap: wrap; gap: clamp(28px, 5vw, 56px); align-items: start; }
.wi-tabs { flex: 1 1 300px; max-width: 420px; display: flex; flex-direction: column; gap: 4px; }
.wi-tab {
  all: unset;
  box-sizing: border-box;
  width: 100%;
  cursor: pointer;
  display: grid;
  grid-template-columns: 36px 1fr;
  column-gap: 14px;
  align-items: center;
  padding: 13px 16px 13px 12px;
  border-left: 2px solid transparent;
  border-radius: var(--sl-radius-lg);
  background: transparent;
  transition: background 0.18s, border-color 0.18s;
}
.wi-tab:hover { background: #f6f8f6; }
.wi-tab.active { background: #f3faf6; border-left-color: #217845; }
.wi-num { font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: 0.5px; color: rgba(0, 0, 0, 0.32); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.wi-tab.active .wi-num { color: #217845; }
.wi-ic { width: 36px; height: 36px; border-radius: 9px; background: #eef2ef; display: flex; align-items: center; justify-content: center; transition: background 0.18s; }
.wi-ic svg { width: 19px; height: 19px; stroke: #5a7365; fill: none; }
.wi-tab:hover .wi-ic { background: #e3ebe5; }
.wi-tab.active .wi-ic { background: #217845; }
.wi-tab.active .wi-ic svg { stroke: #fff; }
.wi-tt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.wi-t { font-size: 15px; font-weight: 700; letter-spacing: -0.2px; color: #12271c; }
.wi-k { font-size: 12.5px; color: rgba(0, 0, 0, 0.5); }

.wi-detail {
  flex: 2 1 380px;
  min-width: 0;
  background: #fff;
  border: 1px solid var(--sl-green);
  border-radius: 10px;
  box-shadow: 0 18px 48px -18px rgba(33,120,69,0.36);
  padding: 28px 30px;
  overflow: hidden;
  /* stack every panel in one cell so the card is always as tall as the tallest
     layer — switching layers never reflows the rest of the page. minmax(0,1fr)
     pins the column to the card width so a panel's content can't blow it out. */
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}
.wi-detail > .tab-panel { grid-area: 1 / 1; min-width: 0; }
.tab-panel { position: relative; visibility: hidden; opacity: 0; pointer-events: none; }
.tab-panel.active { visibility: visible; opacity: 1; pointer-events: auto; animation: slCardFade 0.9s cubic-bezier(0.16, 1, 0.3, 1) both; }
@keyframes slCardFade { from { opacity: 0; } to { opacity: 1; } }

.wi-chip { display: inline-flex; align-items: center; gap: 8px; padding: 4px 11px 4px 8px; background: #e8f5ee; border-radius: 999px; margin-bottom: 18px; }
.wi-chip svg { width: 18px; height: 18px; stroke: #217845; fill: none; }
.wi-chip span { font-size: 10.5px; font-weight: 700; letter-spacing: 0.6px; text-transform: uppercase; color: #217845; }
.wi-tier { position: absolute; top: 1px; right: 1px; font-size: 10px; font-weight: 700; letter-spacing: 0.6px; text-transform: uppercase; padding: 4px 11px; border-radius: 999px; }
.wi-tier-core { background: #e8f5ee; color: #217845; }
.wi-tier-adv { background: #eef4fb; color: #3a5f8f; }

.wi-panel { display: flex; flex-direction: column; gap: 16px; }
.wi-h { margin: 0 0 8px; font-size: 22px; font-weight: 800; letter-spacing: -0.4px; color: #12271c; line-height: 1.22; }
.wi-p { margin: 0; font-size: 14px; line-height: 1.55; color: rgba(0, 0, 0, 0.65); }
.wi-bul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 7px; }
.wi-bul li { display: flex; gap: 9px; align-items: flex-start; font-size: 13.5px; line-height: 1.5; color: rgba(0, 0, 0, 0.72); }
.wi-bul li .dot { width: 5px; height: 5px; border-radius: 50%; background: #217845; margin-top: 7px; flex: none; }

.wi-mock { border: 1px solid #eef1ee; border-radius: 8px; background: #fbfdfc; padding: 14px 16px; }

.wi-badge { font-size: 10.5px; font-weight: 700; padding: 2px 8px; border-radius: 2px; white-space: nowrap; }
.wi-badge.g { color: #217845; background: #e8f5ee; }
.wi-badge.a { color: #b8841f; background: #faf4e6; }
.wi-badge.s { color: rgba(0, 0, 0, 0.55); background: #f0f2f5; }

.wi-mrow { display: flex; align-items: center; gap: 10px; padding: 7px 0; border-top: 1px solid #f0f0f0; }
.wi-av { width: 24px; height: 24px; border-radius: 50%; background: #e8f5ee; color: #217845; font-size: 10px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex: none; }
.wi-name { font-size: 12.5px; font-weight: 600; color: #12271c; flex: 1; }
.wi-meta { font-size: 11.5px; color: rgba(0, 0, 0, 0.5); }
.wi-mhead { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.wi-mhead .t { font-size: 12px; font-weight: 700; color: #12271c; }
.wi-tag { font-size: 11px; font-weight: 600; color: rgba(0, 0, 0, 0.45); background: #f0f2f5; padding: 2px 8px; border-radius: 999px; }
.wi-foot { margin-top: 8px; font-size: 11px; color: rgba(0, 0, 0, 0.45); }

.wi-tiles { display: flex; gap: 8px; margin-bottom: 12px; }
.wi-tile { flex: 1; text-align: center; background: #fff; border: 1px solid #f0f0f0; border-radius: 6px; padding: 8px 4px; }
.wi-tile .v { font-size: 18px; font-weight: 800; color: #12271c; }
.wi-tile.sm .v { font-size: 14px; }
.wi-tile .v.g { color: #217845; }
.wi-tile .v.a { color: #b8841f; }
.wi-tile .v.s { color: rgba(0, 0, 0, 0.55); }
.wi-tile .l { font-size: 10px; color: rgba(0, 0, 0, 0.5); font-weight: 600; text-transform: uppercase; letter-spacing: 0.3px; }

.wi-line { padding: 6px 0; border-top: 1px solid #f0f0f0; }
.wi-line-top { display: flex; justify-content: space-between; font-size: 11.5px; color: rgba(0, 0, 0, 0.65); margin-bottom: 4px; }
.wi-line-top b { font-weight: 600; }
.wi-bar { height: 5px; border-radius: 999px; background: #eef1ee; overflow: hidden; }
.wi-bar i { display: block; height: 100%; border-radius: 999px; background: #217845; }
.wi-bar i.a { background: #b8841f; }

.wi-steps { display: flex; gap: 6px; margin-bottom: 12px; flex-wrap: wrap; }
.wi-step { font-size: 10.5px; font-weight: 700; letter-spacing: 0.3px; text-transform: uppercase; padding: 4px 9px; border-radius: 999px; color: rgba(0, 0, 0, 0.55); background: #f0f2f5; }
.wi-step.on { color: #fff; background: #217845; }
.wi-map { display: flex; align-items: center; gap: 8px; padding: 6px 0; border-top: 1px solid #f0f0f0; font-size: 12.5px; }
.wi-map .from { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: rgba(0, 0, 0, 0.55); }
.wi-map .arrow { color: rgba(0, 0, 0, 0.3); }
.wi-map .to { font-weight: 600; color: #13502a; }

.wi-gov { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 10px; }
.wi-gov .org { font-size: 10.5px; font-weight: 700; color: rgba(0, 0, 0, 0.45); text-transform: uppercase; letter-spacing: 0.4px; }
.wi-gov .ttl { font-size: 14px; font-weight: 800; color: #12271c; margin-top: 2px; }
.wi-gov .date { font-size: 11px; color: rgba(0, 0, 0, 0.5); margin-top: 2px; }
.wi-gov .slide { font-size: 10.5px; font-weight: 700; color: rgba(0, 0, 0, 0.4); }
.wi-film { display: flex; gap: 6px; overflow: hidden; }
.wi-film > div { flex: 1; min-width: 0; background: #fff; border: 1px solid #f0f0f0; border-radius: 5px; padding: 7px 8px; font-size: 10.5px; font-weight: 600; color: rgba(0, 0, 0, 0.6); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.wi-chart { width: 100%; height: 70px; display: block; }

@media (max-width: 760px) {
  .wi-tabs, .wi-detail { flex-basis: 100%; max-width: 100%; }
  /* Horizontal chip row instead of a tall stack, so the detail card (the
     actual content) is reachable without scrolling past seven full-height rows. */
  .wi-tabs { flex-direction: row; flex-wrap: wrap; gap: 8px; }
  .wi-tab {
    width: auto;
    grid-template-columns: auto auto;
    column-gap: 8px;
    padding: 8px 13px 8px 9px;
    border: 1px solid var(--sl-border-soft);
    border-radius: 999px;
    background: #fff;
  }
  .wi-tab.active { background: #f3faf6; border-color: var(--sl-green-tint-100); }
  .wi-tab .wi-ic { width: 24px; height: 24px; border-radius: 7px; }
  .wi-tab .wi-ic svg { width: 14px; height: 14px; }
  .wi-tab .wi-k { display: none; }
  .wi-tab .wi-t { font-size: 13px; }
}

.feat-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.feat-list li { display: flex; gap: 11px; font-size: 15px; color: var(--sl-text-primary); }
.feat-list svg { width: 19px; height: 19px; stroke: var(--sl-green); flex-shrink: 0; margin-top: 1px; }
.section.ink .feat-list li { color: rgba(255, 255, 255, 0.88); }
.section.ink .feat-list svg { stroke: #5cc187; }

/* chart helpers used inside feature visuals + app mockup */
.zip-row { display: grid; grid-template-columns: 48px 1fr 34px; gap: 10px; align-items: center; font-size: 11px; margin-bottom: 7px; }
.zip-row .z { color: var(--sl-text-secondary); font-family: var(--sl-font-mono); }
.zip-row .track { height: 10px; background: var(--sl-border-soft); border-radius: 2px; overflow: hidden; }
.zip-row .fill { height: 100%; background: var(--sl-green); border-radius: 2px; }
.zip-row .v { text-align: right; color: var(--sl-text-primary); font-variant-numeric: tabular-nums; }

/* ----------------------------------------------------------------------------
   Baseball & Softball spotlight
   ---------------------------------------------------------------------------- */
.ll-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: start; }
.ll-grid > div { min-width: 0; }
/* break up the rhythm: schedule mockup on the left, copy on the right, both top-aligned */
.ll-grid > div:first-child { order: 2; }
.ll-grid > div:last-child { order: 1; }
.ll-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase;
  color: #5cc187; margin-bottom: 16px;
}
.ll-sub {
  margin: -6px 0 18px;
  font-size: 13.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
}
.ll-note {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-top: 26px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
}
.ll-note-tag {
  flex-shrink: 0;
  margin-top: 1px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #0b3a1f;
  background: #5cc187;
  padding: 4px 10px;
  border-radius: var(--sl-radius-pill);
}
.ll-note p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.82);
}
/* On mobile the tag stacks above the copy so the text fills the box width */
@media (max-width: 760px) {
  .ll-note { flex-direction: column; align-items: flex-start; gap: 10px; }
  .ll-note-tag { margin-top: 0; }
  .ll-note p { width: 100%; }
}
.sched {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 18px;
}
.sched-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.sched-head .t { font-size: 14px; font-weight: 600; color: #fff; }
.sched-head .wk { font-size: 12px; color: rgba(255,255,255,0.5); }
.sched-grid { display: grid; grid-template-columns: 56px repeat(3, 1fr); gap: 6px; }
.sched-grid .hd { font-size: 10px; color: rgba(255,255,255,0.5); text-align: center; padding-bottom: 2px; }
.sched-grid .tm { font-size: 10px; color: rgba(255,255,255,0.45); display: flex; align-items: center; height: 34px; }
.game {
  border-radius: 6px;
  padding: 5px 7px;
  font-size: 10px;
  line-height: 1.25;
  height: 34px;
  display: flex; flex-direction: column; justify-content: center;
  border: 1px solid transparent;
}
.game.g1 { background: rgba(33,120,69,0.28); border-color: rgba(92,193,135,0.4); color: #d9f0e2; }
.game.g2 { background: rgba(74,111,165,0.25); border-color: rgba(120,150,200,0.35); color: #d8e2f0; }
.game.g3 { background: rgba(192,134,0,0.22); border-color: rgba(220,170,60,0.35); color: #f0e4c4; }
.game.empty { background: rgba(255,255,255,0.03); border-color: rgba(255,255,255,0.06); }
.game .gt { font-weight: 600; }
.game .gl { opacity: 0.7; }
@media (max-width: 880px) { .ll-grid { grid-template-columns: 1fr; gap: 36px; } }

/* ----------------------------------------------------------------------------
   Pricing
   ---------------------------------------------------------------------------- */

.pricing {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  align-items: stretch;
  max-width: 760px;
  margin: 0 auto;
}
.price-card {
  background: #fff;
  border: 1px solid var(--sl-border-soft);
  border-radius: 10px;
  padding: 32px 28px;
  box-shadow: var(--sl-shadow-card);
  display: flex; flex-direction: column;
  position: relative;
}
.price-card.featured {
  border: 1px solid var(--sl-green);
  box-shadow: 0 18px 48px -18px rgba(33,120,69,0.36);
}
.price-card .ribbon {
  position: absolute; top: -12px; left: 28px;
  background: var(--sl-green); color: #fff;
  font-size: 11px; font-weight: 700; letter-spacing: 0.6px;
  padding: 5px 12px; border-radius: 999px;
}
.price-tier { font-size: 14px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--sl-green); margin-bottom: 6px; }
.price-desc { font-size: 13.5px; color: var(--sl-text-secondary); line-height: 1.5; margin: 0 0 22px; min-height: 40px; }
.price-amount { display: flex; align-items: baseline; gap: 4px; margin-bottom: 4px; }
.price-amount .cur { font-size: 22px; font-weight: 600; color: var(--sl-text-primary); }
.price-amount .num { font-size: 46px; font-weight: 700; letter-spacing: -2px; color: var(--sl-text-primary); font-variant-numeric: tabular-nums; transition: color var(--sl-dur-base) var(--sl-ease); }
.price-amount .per { font-size: 15px; color: var(--sl-text-tertiary); font-weight: 500; }
.price-tba { display: flex; align-items: center; min-height: 44px; margin-bottom: 8px; }
.price-tba .tba {
  font-size: 20px; font-weight: 700; letter-spacing: -0.3px; line-height: 1.25;
  color: var(--sl-text-primary);
  transition: color var(--sl-dur-base) var(--sl-ease);
}
.price-note { font-size: 12px; color: var(--sl-text-tertiary); margin: 0 0 24px; min-height: 16px; }
/* Cards are equal-height (grid stretch); the CTA pins to the bottom of each card.
   In the Advanced card the toggle stays fixed directly under the feature list so it
   doesn't shift when the module is switched on — the whitespace sits between the
   toggle and the CTA and shrinks as the add-on features expand into it. */
.price-card .btn { width: 100%; margin-top: auto; }
.price-card .price-feats { margin-bottom: 28px; }
.price-feats { list-style: none; margin: 0; padding: 22px 0 0; border-top: 1px solid var(--sl-border-soft); display: flex; flex-direction: column; gap: 12px; }
.price-feats .grouplbl { font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--sl-text-tertiary); margin-bottom: -2px; }
.price-feats li.feat { font-size: 14px; color: var(--sl-text-primary); display: flex; gap: 10px; line-height: 1.4; }
.price-feats li.feat svg { width: 18px; height: 18px; stroke: var(--sl-green); flex-shrink: 0; margin-top: 1px; }
.price-feats li.feat.ll svg { stroke: #b8841f; }

/* LL module toggle inside Plus card */
.ll-toggle {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: var(--sl-bg-canvas);
  border: 1px solid var(--sl-border-soft);
  border-radius: 8px;
  padding: 13px 14px;
  margin-bottom: 24px;
  cursor: pointer;
  transition: border-color var(--sl-dur-base) var(--sl-ease), background var(--sl-dur-base) var(--sl-ease);
}
.ll-toggle:hover { border-color: var(--sl-green-tint-100); }
.ll-toggle.on { background: var(--sl-green-tint-50); border-color: var(--sl-green-tint-100); }
.ll-toggle .tl { font-size: 14px; font-weight: 600; color: var(--sl-text-primary); line-height: 1.3; }
.switch {
  width: 40px; height: 22px; border-radius: 999px;
  background: var(--sl-border); flex-shrink: 0; position: relative;
  transition: background var(--sl-dur-base) var(--sl-ease);
}
.switch::after {
  content: ""; position: absolute; top: 2px; left: 2px;
  width: 18px; height: 18px; border-radius: 50%; background: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.25);
  transition: transform var(--sl-dur-base) var(--sl-ease);
}
.ll-toggle.on .switch { background: var(--sl-green); }
.ll-toggle.on .switch::after { transform: translateX(18px); }
.ll-feats { display: none; }
.ll-feats.show { display: flex; }

@media (max-width: 880px) { .pricing { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; } }

/* ----------------------------------------------------------------------------
   Our story quote + founder
   ---------------------------------------------------------------------------- */
.mission-quote {
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.6px;
  color: var(--sl-text-primary);
  margin: 0;
  text-wrap: balance;
}
.mission-quote .hl { color: var(--sl-green); }
.founder { display: flex; align-items: center; gap: 14px; margin-top: 28px; }
.founder .av {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--sl-green-deep);
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,0.14);
}
.founder .av svg { width: 24px; height: 24px; stroke: #5cc187; }
.founder .av.photo {
  width: 56px; height: 56px; padding: 0; overflow: hidden;
  background: var(--sl-green-tint-50);
  border: 1px solid var(--sl-border-soft);
}
.founder .av.photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.founder .fn { font-size: 14px; font-weight: 600; color: var(--sl-text-primary); }
.founder .fr { font-size: 13px; color: var(--sl-text-tertiary); }

/* ----------------------------------------------------------------------------
   Final CTA
   ---------------------------------------------------------------------------- */
.cta-final { text-align: center; position: relative; overflow: hidden; }
.cta-final .watermark {
  position: absolute; right: -60px; bottom: -80px;
  width: 360px; height: 360px; opacity: 0.05;
  -webkit-mask: var(--mark) center/contain no-repeat;
  mask: var(--mark) center/contain no-repeat;
  background: #fff;
  pointer-events: none;
}
.cta-form {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
  max-width: 560px; margin: 30px auto 0;
}
.cta-form input {
  width: 100%;
  height: 50px;
  border-radius: var(--sl-radius-md);
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.06);
  color: #fff;
  padding: 0 16px;
  font-size: 15px;
  font-family: inherit;
}
.cta-form .btn { grid-column: 1 / -1; width: 100%; }
@media (max-width: 520px) { .cta-form { grid-template-columns: 1fr; } }
.cta-form input::placeholder { color: rgba(255,255,255,0.45); }
.cta-form input:focus { outline: none; border-color: #5cc187; background: rgba(255,255,255,0.1); }
.cta-note { font-size: 13px; color: rgba(255,255,255,0.5); margin: 18px 0 0; }
.cta-email {
  margin-top: 34px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.12);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.cta-email svg {
  width: 26px;
  height: 26px;
  stroke: #5cc187;
  margin-bottom: 2px;
}
.cta-email a {
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 700;
  letter-spacing: -0.3px;
  color: #5cc187;
  transition: color var(--sl-dur-base) var(--sl-ease);
}
.cta-email a:hover { color: #7ed3a3; }
.cta-success {
  display: none;
  margin: 26px auto 0; max-width: 480px;
  background: rgba(92,193,135,0.12);
  border: 1px solid rgba(92,193,135,0.3);
  color: #d9f0e2;
  border-radius: 8px; padding: 16px 20px; font-size: 15px;
  align-items: center; gap: 10px; justify-content: center;
}
.cta-success svg { width: 20px; height: 20px; stroke: #5cc187; }
.cta-success.show { display: flex; }

/* ----------------------------------------------------------------------------
   Footer
   ---------------------------------------------------------------------------- */
.footer {
  background: var(--sl-ink-900);
  color: rgba(255,255,255,0.6);
  padding: 56px 0 40px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.footer-top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; margin-bottom: 40px; }
.footer-brand { max-width: 280px; }
.footer-brand .logo { display: flex; align-items: center; gap: 9px; margin-bottom: 14px; filter: grayscale(1) brightness(0) invert(0.92); }
.footer-brand .logo .mk { height: 26px; }
.footer-brand .logo .wd { height: 15px; }
.footer-brand p { font-size: 13.5px; line-height: 1.55; margin: 0; }
.footer-cols { display: flex; gap: 56px; flex-wrap: wrap; }
.footer-col h6 { font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: rgba(255,255,255,0.4); margin: 0 0 14px; }
.footer-col a { display: block; font-size: 14px; color: rgba(255,255,255,0.7); margin-bottom: 10px; transition: color var(--sl-dur-base) var(--sl-ease); }
.footer-col a:hover { color: #5cc187; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 13px; color: rgba(255,255,255,0.45);
}

/* ----------------------------------------------------------------------------
   Scroll reveal + animations
   ---------------------------------------------------------------------------- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
/* Cohesive fade-up used across the whole page, so sections build in as you scroll.
   Matches the easing/speed of the "What's inside" section. */
.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 1.2s cubic-bezier(0.22, 0.61, 0.36, 1), transform 1.2s cubic-bezier(0.22, 0.61, 0.36, 1); }
.js .reveal.in { opacity: 1; transform: translateY(0); }

/* Staggered groups: direct children fade up in sequence once the group enters. */
.js .stagger > * { opacity: 0; transform: translateY(22px); transition: opacity 1.2s cubic-bezier(0.22, 0.61, 0.36, 1), transform 1.2s cubic-bezier(0.22, 0.61, 0.36, 1); }
.js .stagger.in > * { opacity: 1; transform: translateY(0); }
.js .stagger.in > *:nth-child(1) { transition-delay: 80ms; }
.js .stagger.in > *:nth-child(2) { transition-delay: 240ms; }
.js .stagger.in > *:nth-child(3) { transition-delay: 400ms; }
.js .stagger.in > *:nth-child(4) { transition-delay: 560ms; }
.js .stagger.in > *:nth-child(5) { transition-delay: 720ms; }
.js .stagger.in > *:nth-child(6) { transition-delay: 880ms; }
.js .stagger.in > *:nth-child(7) { transition-delay: 1040ms; }
.js .stagger.in > *:nth-child(8) { transition-delay: 1200ms; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .js .reveal, .js .stagger > * { opacity: 1; transform: none; transition: none; }
  .tab-panel.active { animation: none; }
}

/* ----------------------------------------------------------------------------
   The name (Strata / Strategy)
   ---------------------------------------------------------------------------- */
.name-card {
  background: #fff;
  border: 1px solid var(--sl-green);
  border-radius: 10px;
  padding: 26px 28px;
  box-shadow: 0 20px 50px -20px rgba(27,35,32,0.32), 0 8px 20px -12px rgba(0,0,0,0.1);
}
.name-card h4 {
  margin: 0 0 8px;
  font-size: 18px;
  color: var(--sl-text-primary);
}
.name-card p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--sl-text-secondary);
}

/* Our story + The name (combined two-column section) */
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.story-name-title { margin: 0 0 20px; font-size: 22px; font-weight: 700; letter-spacing: -0.4px; color: var(--sl-text-primary); }
.name-stack { display: flex; flex-direction: column; gap: 18px; }
@media (max-width: 860px) { .story-grid { grid-template-columns: 1fr; gap: 40px; } }

/* ----------------------------------------------------------------------------
   Org-types strip (subtle grey band under the hero; placeholder for customer logos)
   ---------------------------------------------------------------------------- */
.trusted {
  background: var(--sl-bg-canvas);
  padding: 18px 0;
}
.trusted-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 30px;
}
.trusted-row span {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2px;
  color: var(--sl-text-tertiary);
  white-space: nowrap;
}
@media (max-width: 760px) {
  .trusted-row { gap: 8px 20px; }
  .trusted-row span { font-size: 12px; }
}

/* ----------------------------------------------------------------------------
   Mobile polish — tighter rhythm, full-width CTAs, no horizontal overflow
   ---------------------------------------------------------------------------- */
/* Backstop: decorative mockups clip instead of forcing the page wider than the
   viewport. `clip` (not `hidden`) keeps the sticky nav working. */
html, body { overflow-x: clip; }

@media (max-width: 760px) {
  .wrap { padding: 0 20px; }
  .section { padding: 68px 0; }
  .hero { padding: 40px 0 56px; }
  .hero-sub { font-size: 17px; }
  .footer { padding: 44px 0 32px; }
  /* full-width, stacked CTAs are easier tap targets on phones */
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
}

@media (max-width: 400px) {
  .wrap { padding: 0 16px; }
}
