/* ==========================================================================
   Landing Page (SaaS) – scoped under .lp
   ========================================================================== */

.lp {
  --lp-header-h: 60px;
  --lp-max: 1200px;
  --lp-space-1: 1rem;
  --lp-space-2: 1.5rem;
  --lp-space-3: 2rem;
  --lp-space-4: 3rem;
  --lp-space-5: 4rem;
  --lp-space-6: 5rem;
  --lp-radius: 8px;
  --lp-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  --lp-shadow-card: 0 4px 16px rgba(0, 0, 0, 0.08);
  --lp-border: 1px solid rgba(0, 0, 0, 0.08);
  box-sizing: border-box;
  font-family: inherit;
}

html.landing-smooth-scroll .c-footer,
html.landing-smooth-scroll .c-header {
  display: none;
}

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

.lp-container {
  max-width: var(--lp-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--lp-space-2);
  padding-right: var(--lp-space-2);
}

/* ==========================================================================
   Ribbon header
   ========================================================================== */

.lp-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--lp-header-h);
  background: #fff;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.lp-header.is-scrolled {
  border-bottom-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.lp-header__inner {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 1.5rem;
}

.lp-header__logo {
  flex-shrink: 0;
  text-decoration: none;
  color: var(--color-text-primary, #111);
  font-size: 1.125rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}

.lp-header__logo-img {
  display: block;
  height: 28px;
  width: auto;
}

.lp-header__nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex: 1;
}

.lp-header__link {
  font-size: 0.875rem;
  font-weight: 500;
  color: #666;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s;
}

.lp-header__link:hover {
  color: var(--color-text-primary, #111);
}

.lp-btn.lp-header__cta {
  flex-shrink: 0;
  padding: 0.2rem 0.55rem;
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.3;
  border-radius: 5px;
}

.lp-header__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 32px;
  height: 32px;
  padding: 6px;
  background: none;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
}

.lp-header__burger-line {
  display: block;
  width: 100%;
  height: 2px;
  background: #333;
  border-radius: 1px;
  transition: transform 0.2s, opacity 0.2s;
}

.lp-header__burger.is-active .lp-header__burger-line:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.lp-header__burger.is-active .lp-header__burger-line:nth-child(2) {
  opacity: 0;
}

.lp-header__burger.is-active .lp-header__burger-line:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Sections */
.lp-section {
  padding-top: var(--lp-space-5);
  padding-bottom: var(--lp-space-5);
}

.lp-section__title {
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0 0 var(--lp-space-2);
  letter-spacing: -0.02em;
}

.lp-section__sub {
  font-size: 1.0625rem;
  color: var(--color-text-secondary, #555);
  margin: 0 0 var(--lp-space-3);
  max-width: 42em;
  line-height: 1.5;
}

/* Center heading + subhead in specific sections */
.lp-story__intro .lp-section__sub,
#how .lp-section__title,
#how .lp-section__sub {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

/* Hero – fill exactly the remaining viewport below sticky header */
.lp-hero {
  position: relative;
  height: calc(100vh - var(--lp-header-h));
  display: flex;
  align-items: center;
  padding-top: var(--lp-space-5);
  padding-bottom: var(--lp-space-4);
  overflow: hidden;
}

.lp-hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--lp-space-5);
  align-items: center;
}

.lp-hero__left {
  text-align: left;
}

.lp-osline {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.75rem;
  padding: 0.3rem 0.65rem;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 999px;
  font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
  font-size: 0.75rem;
  letter-spacing: 0.07em;
  color: #555;
  line-height: 1;
}

.lp-osline__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #555;
  flex-shrink: 0;
}

.lp-osline__text {
  white-space: nowrap;
}

.lp-hero__headline {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 700;
  margin: 0 0 var(--lp-space-2);
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.lp-hero__sub {
  font-size: 1.125rem;
  color: var(--color-text-secondary, #555);
  margin: 0 0 var(--lp-space-2);
  max-width: 32em;
  line-height: 1.6;
}

.lp-hero__micro {
  font-size: 0.875rem;
  color: var(--color-text-secondary, #555);
  opacity: 0.75;
  margin: 0;
  max-width: 32em;
  line-height: 1.5;
}

.lp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--lp-radius);
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.lp-btn--primary {
  background: var(--color-accent, #0ea5e9);
  color: #fff;
}

.lp-btn--primary:hover {
  background: var(--color-accent-hover, #0284c7);
  color: #fff;
}

.lp-btn--secondary {
  background: transparent;
  color: var(--color-text-primary, #111);
  border: 2px solid rgba(0, 0, 0, 0.15);
}

.lp-btn--secondary:hover {
  border-color: rgba(0, 0, 0, 0.3);
  color: var(--color-text-primary, #111);
}

/* Hero right column – product preview cards */
.lp-hero__right {
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

/* ---------- Hero stacked cards ---------- */

.lp-heroCards {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 520px;
  width: 100%;
}

.lp-previewCard {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.10);
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  position: relative;
}

.lp-previewCard__label {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #888;
  margin: 0 0 0.75rem;
}

.lp-previewCard__mockInput {
  background: #f9f9fb;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: #333;
  margin-bottom: 0.625rem;
}

.lp-previewCard__helper {
  font-size: 0.75rem;
  color: #999;
  margin: 0 0 0.75rem;
}

.lp-previewCard__toggleRow {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.625rem;
}

.lp-previewCard__toggleLabel {
  font-size: 0.75rem;
  font-weight: 600;
  color: #555;
}

.lp-previewCard__switch {
  position: relative;
  display: inline-block;
  width: 32px;
  height: 18px;
}

.lp-previewCard__switchInput {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}

.lp-previewCard__switchSlider {
  position: absolute;
  inset: 0;
  background: #ccc;
  border-radius: 9px;
  transition: background 0.2s;
}

.lp-previewCard__switchSlider::after {
  content: '';
  position: absolute;
  width: 14px;
  height: 14px;
  background: #fff;
  border-radius: 50%;
  top: 2px;
  left: 2px;
  transition: transform 0.2s;
}

.lp-previewCard__switchInput:checked + .lp-previewCard__switchSlider {
  background: #333;
}

.lp-previewCard__switchInput:checked + .lp-previewCard__switchSlider::after {
  transform: translateX(14px);
}

.lp-previewCard__uploadHint {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.6875rem;
  color: #aaa;
  margin: 0;
}

.lp-previewCard__uploadHint svg {
  flex-shrink: 0;
}

/* ---------- Grids card ---------- */

.lp-gridHeader {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.625rem;
}

.lp-gridHeader .lp-previewCard__label {
  margin: 0;
}

.lp-gridHeader__newBtn {
  font-size: 0.6875rem;
  font-weight: 600;
  color: #888;
  border: 1px solid rgba(0, 0, 0, 0.10);
  border-radius: 6px;
  padding: 0.25rem 0.625rem;
  cursor: default;
}

.lp-gridDropdown {
  margin-bottom: 0.75rem;
}

.lp-gridDropdown__selected {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #222;
  padding: 0.375rem 0.625rem;
  border: 1px solid rgba(0, 0, 0, 0.10);
  border-radius: 8px;
  background: #fff;
  cursor: default;
}

.lp-gridDropdown__selected svg {
  flex-shrink: 0;
  color: #888;
}

.lp-gridDropdown__menu {
  margin-top: 4px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

.lp-gridDropdown__item {
  padding: 0.4rem 0.75rem;
  font-size: 0.8125rem;
  color: #555;
  cursor: default;
}

.lp-gridDropdown__item--active {
  background: #f5f5f5;
  color: #111;
  font-weight: 600;
}

/* ---------- Grid table ---------- */

.lp-gridTableWrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.lp-gridTableBar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-bottom: 0.5rem;
}

.lp-gridTableBar__sources {
  font-size: 0.6875rem;
  font-weight: 600;
  color: #666;
  background: none;
  border: 1px solid rgba(0, 0, 0, 0.10);
  border-radius: 6px;
  padding: 0.2rem 0.5rem;
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
}

.lp-gridTableBar__sources:hover {
  border-color: rgba(0, 0, 0, 0.25);
  color: #222;
}

.lp-gridTable {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.6875rem;
  line-height: 1.4;
  table-layout: fixed;
}

.lp-gridTable th {
  text-align: left;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #888;
  padding: 0.375rem 0.5rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 0;
}

.lp-gridTable td {
  padding: 0.375rem 0.5rem;
  color: #444;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 0;
}

.lp-gridTable tbody tr:last-child td {
  border-bottom: none;
}

/* ---------- Sources drawer ---------- */

.lp-sourcesDrawer {
  position: absolute;
  top: 0;
  right: 0;
  width: 340px;
  height: 100%;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.10);
  border-radius: 0 18px 18px 0;
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.06);
  z-index: 10;
  padding: 18px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.25s ease, visibility 0.25s;
  visibility: hidden;
}

.lp-sourcesDrawer.is-visible {
  transform: translateX(0);
  visibility: visible;
}

.lp-sourcesDrawer.is-hidden {
  transform: translateX(100%);
  visibility: hidden;
}

.lp-sourcesDrawer__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.lp-sourcesDrawer__title {
  font-size: 0.875rem;
  font-weight: 700;
  margin: 0;
  color: #111;
}

.lp-sourcesDrawer__close {
  background: none;
  border: none;
  font-size: 1.25rem;
  line-height: 1;
  color: #888;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  transition: color 0.15s;
}

.lp-sourcesDrawer__close:hover {
  color: #222;
}

.lp-sourcesDrawer__body {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.lp-sourcesDrawer__company {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #222;
  margin: 0;
}

.lp-sourcesDrawer__badge {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 600;
  color: #666;
  background: #f5f5f5;
  border-radius: 4px;
  padding: 0.2rem 0.5rem;
}

.lp-sourcesDrawer__row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.5rem 0;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.lp-sourcesDrawer__rowLeft {
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  min-width: 0;
}

.lp-sourcesDrawer__icon {
  flex-shrink: 0;
  color: #888;
  margin-top: 1px;
}

.lp-sourcesDrawer__rowLeft span {
  font-size: 0.75rem;
  color: #333;
  line-height: 1.4;
}

.lp-sourcesDrawer__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  flex-shrink: 0;
}

.lp-sourceTag {
  display: inline-block;
  font-size: 0.5625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #666;
  background: transparent;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 4px;
  padding: 0.125rem 0.375rem;
  white-space: nowrap;
}

/* Scroll cue */
.lp-scroll-cue {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  text-decoration: none;
  color: #999;
  transition: color 0.2s;
}

.lp-scroll-cue:hover {
  color: var(--color-text-primary, #111);
}

.lp-scroll-cue__text {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.lp-scroll-cue__icon {
  animation: lp-bounce 2s ease infinite;
}

@keyframes lp-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(5px); }
}

/* ========== Logo banner ========== */

.lp-logos {
  padding: 20px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.lp-logos__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.lp-logos__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.lp-logos__label {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.55;
  white-space: nowrap;
}

.lp-logos__row {
  display: flex;
  align-items: center;
  gap: 30px;
}

.lp-logos__logo {
  display: inline-flex;
  align-items: center;
}

.lp-logos__logo img {
  max-height: 30px;
  width: auto;
  max-width: 180px;
  filter: grayscale(100%) contrast(0.9);
  opacity: 0.7;
  transition: filter 200ms ease, opacity 200ms ease, transform 200ms ease;
}

.lp-logos__logo:hover img,
.lp-logos__logo:focus-visible img {
  filter: none;
  opacity: 1;
  transform: translateY(-1px);
}

@media (max-width: 900px) {
  .lp-logos__bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .lp-logos__row {
    flex-wrap: wrap;
    gap: 20px;
  }
  .lp-logos__logo img {
    max-height: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lp-logos__logo img {
    transition: none;
  }
}

/* Scroll offset handled by html.landing-smooth-scroll scroll-padding-top */

/* Neutralize first-child top margins so anchors land flush */
.lp-section > :first-child,
.lp-story > :first-child,
.lp-faq > :first-child {
  margin-top: 0;
}

/* ========== Scroll story – What you get ========== */

.lp-story {
  padding-top: var(--lp-space-5);
  padding-bottom: 0;
  border-bottom: var(--lp-border);
  overflow: visible;
}

.lp-story__intro {
  text-align: center;
  margin-bottom: var(--lp-space-3);
}

.lp-story__track {
  position: relative;
  overflow: visible;
}

.lp-story__sticky {
  position: sticky;
  top: var(--lp-header-h);
  height: calc(100vh - var(--lp-header-h));
  z-index: 2;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #fff;
}

.lp-story__cols {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: var(--lp-space-5);
  align-items: center;
  width: 100%;
}

.lp-story__left {
  display: flex;
  flex-direction: column;
  gap: var(--lp-space-3);
}

.lp-story__step {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  opacity: 0.3;
  transition: opacity 0.3s ease;
}

.lp-story__step.is-active {
  opacity: 1;
}

.lp-story__num {
  flex-shrink: 0;
  font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #999;
  line-height: 1.6;
  min-width: 1.75rem;
}

.lp-story__step.is-active .lp-story__num {
  color: #222;
}

.lp-story__copy h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  margin: 0 0 0.375rem;
  line-height: 1.3;
  color: var(--color-text-primary, #111);
}

.lp-story__copy ul {
  margin: 0;
  padding-left: 1.125rem;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--color-text-secondary, #555);
}

.lp-story__copy ul li {
  margin-bottom: 0.25rem;
}

/* Right: stacked graphics */
.lp-story__right {
  position: relative;
  min-height: 380px;
}

.lp-story__graphic {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.35s ease, transform 0.35s ease;
  pointer-events: none;
  display: flex;
  align-items: center;
}

.lp-story__graphic.is-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Graphic card frame */
.lp-story__gfxCard {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.10);
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  width: 100%;
  overflow: hidden;
}

.lp-story__gfxLabel {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #888;
  margin: 0 0 0.625rem;
}

.lp-story__gfxInput {
  background: #f9f9fb;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 0.875rem;
  line-height: 1.5;
  color: #333;
  margin-bottom: 0.5rem;
}

.lp-story__gfxHelper {
  font-size: 0.6875rem;
  color: #999;
  margin: 0 0 0.625rem;
}

.lp-story__gfxToggle {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.5rem;
}

.lp-story__gfxToggleLabel {
  font-size: 0.6875rem;
  font-weight: 600;
  color: #555;
}

.lp-story__gfxSwitch {
  display: inline-block;
  width: 28px;
  height: 16px;
  background: #ccc;
  border-radius: 8px;
  position: relative;
}

.lp-story__gfxSwitchKnob {
  position: absolute;
  width: 12px;
  height: 12px;
  background: #fff;
  border-radius: 50%;
  top: 2px;
  left: 2px;
}

.lp-story__gfxUpload {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.625rem;
  color: #aaa;
  margin: 0;
}

.lp-story__gfxUpload svg {
  flex-shrink: 0;
}

/* Grids graphic */
.lp-story__gfxBar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.lp-story__gfxBar .lp-story__gfxLabel {
  margin: 0;
}

.lp-story__gfxBtn {
  font-size: 0.625rem;
  font-weight: 600;
  color: #888;
  border: 1px solid rgba(0, 0, 0, 0.10);
  border-radius: 6px;
  padding: 0.2rem 0.5rem;
}

.lp-story__gfxDropdown {
  margin-bottom: 0.625rem;
}

.lp-story__gfxDropdownSel {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #222;
  padding: 0.3rem 0.5rem;
  border: 1px solid rgba(0, 0, 0, 0.10);
  border-radius: 6px;
}

.lp-story__gfxDropdownSel svg {
  color: #888;
}

.lp-story__gfxDropdownMenu {
  margin-top: 3px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.lp-story__gfxDropdownItem {
  padding: 0.3rem 0.6rem;
  font-size: 0.75rem;
  color: #555;
}

.lp-story__gfxDropdownItem--active {
  background: #f5f5f5;
  color: #111;
  font-weight: 600;
}

.lp-story__gfxTableWrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* Source provenance graphic */
.lp-story__gfxCompany {
  font-size: 0.75rem;
  font-weight: 600;
  color: #222;
  margin: 0 0 0.375rem;
}

.lp-story__gfxBadge {
  display: inline-block;
  font-size: 0.625rem;
  font-weight: 600;
  color: #666;
  background: #f5f5f5;
  border-radius: 4px;
  padding: 0.15rem 0.4rem;
  margin-bottom: 0.625rem;
}

.lp-story__gfxSource {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.4rem 0;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.lp-story__gfxSourceLeft {
  display: flex;
  align-items: flex-start;
  gap: 0.35rem;
  min-width: 0;
}

.lp-story__gfxSourceLeft svg {
  flex-shrink: 0;
  color: #888;
  margin-top: 1px;
}

.lp-story__gfxSourceLeft span {
  font-size: 0.6875rem;
  color: #333;
  line-height: 1.4;
}

.lp-story__gfxSourceTags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem;
  flex-shrink: 0;
}

/* Spacers */
.lp-story__spacer {
  height: 60vh;
  pointer-events: none;
}

/* ========== Publication bias / credibility ========== */
.lp-bias {
  text-align: center;
}

.lp-bias__title {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin: 0 auto var(--lp-space-3);
  max-width: 36em;
  color: var(--color-text-primary, #111);
}

.lp-bias__body {
  max-width: 42em;
  margin: 0 auto var(--lp-space-4);
  text-align: left;
}

.lp-bias__body p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text-secondary, #444);
  margin: 0 0 1.125rem;
}

.lp-bias__body p:last-child {
  margin-bottom: 0;
}

.lp-bias__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  max-width: 720px;
  margin: 0 auto var(--lp-space-2);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.04);
  overflow: hidden;
}

.lp-bias__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.375rem;
  padding: 1.5rem 1rem;
  background: rgba(255, 255, 255, 0.92);
}

.lp-bias__statNum {
  font-size: 1.625rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-text-primary, #111);
}

.lp-bias__statLabel {
  font-size: 0.8125rem;
  line-height: 1.4;
  color: var(--color-text-secondary, #555);
}

.lp-bias__footnote {
  font-size: 0.75rem;
  line-height: 1.5;
  color: var(--color-text-secondary, #888);
  margin: 0 auto;
  max-width: 42em;
}

/* ========== Competitor contrast – Why Onyx is different ========== */
.lp-compare {
  text-align: center;
}

.lp-compare__title {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin: 0 auto var(--lp-space-2);
  color: var(--color-text-primary, #111);
}

.lp-compare__intro {
  max-width: 42em;
  margin: 0 auto var(--lp-space-4);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--color-text-secondary, #555);
}

.lp-compare__tableWrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 0 auto var(--lp-space-2);
  max-width: 780px;
}

.lp-compare__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  text-align: left;
}

.lp-compare__table thead th {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-secondary, #888);
  padding: 0.625rem 1rem;
  border-bottom: 2px solid rgba(0, 0, 0, 0.10);
  white-space: nowrap;
}

.lp-compare__table thead th:not(:first-child) {
  text-align: center;
}

.lp-compare__table tbody td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  color: var(--color-text-primary, #222);
  line-height: 1.4;
}

.lp-compare__table tbody td:not(:first-child) {
  text-align: center;
  font-size: 1rem;
}

.lp-compare__capCol {
  text-align: left;
  min-width: 220px;
}

.lp-compare__table tbody tr:last-child td {
  border-bottom: none;
}

.lp-compare__footnote {
  font-size: 0.75rem;
  line-height: 1.5;
  color: var(--color-text-secondary, #888);
  margin: 0 auto;
  max-width: 42em;
}

/* How it works – steps */
.lp-steps {
  display: flex;
  flex-wrap: wrap;
  gap: var(--lp-space-3);
  justify-content: center;
}

.lp-step {
  flex: 1;
  min-width: 200px;
  max-width: 320px;
  display: flex;
  align-items: flex-start;
  gap: var(--lp-space-2);
}

.lp-step__num {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-accent, #0ea5e9);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 50%;
}

.lp-step__content {
  min-width: 0;
}

.lp-step__title {
  font-size: 1.0625rem;
  font-weight: 700;
  margin: 0 0 0.25rem;
  line-height: 1.3;
}

.lp-step__text {
  margin: 0;
  line-height: 1.6;
  color: var(--color-text-secondary, #555);
}

.lp-steps__trust {
  margin-top: var(--lp-space-3);
  text-align: center;
  font-size: 0.875rem;
  color: rgba(0, 0, 0, 0.5);
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

/* Final CTA */
.lp-cta {
  text-align: center;
  padding: var(--lp-space-6) var(--lp-space-2);
  background: #f8fafc;
  border-radius: var(--lp-radius);
}

.lp-cta__headline {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 var(--lp-space-2);
}

.lp-cta__support {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text-secondary, #555);
  max-width: 38em;
  margin: 0 auto var(--lp-space-3);
}

.lp-cta__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-bottom: var(--lp-space-2);
}

.lp-cta__secondary {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-secondary, #555);
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
  padding-bottom: 1px;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.lp-cta__secondary:hover {
  color: var(--color-text-primary, #111);
  border-color: rgba(0, 0, 0, 0.4);
}

.lp-cta__micro {
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--color-text-secondary, #888);
  margin: 0;
}

/* CTA form */
.lp-cta__form {
  margin: 0 auto var(--lp-space-3);
  max-width: 480px;
}

.lp-cta__row {
  display: flex;
  gap: 0.625rem;
}

.lp-cta__input {
  flex: 1;
  min-width: 0;
  height: 48px;
  padding: 0 1rem;
  font-size: 0.9375rem;
  font-family: inherit;
  color: #111;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.14);
  border-radius: 12px;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.lp-cta__input::placeholder {
  color: #999;
}

.lp-cta__input:focus {
  border-color: var(--color-accent, #0ea5e9);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.12);
}

.lp-cta__input[aria-invalid="true"] {
  border-color: #b45309;
}

.lp-cta__submit {
  flex-shrink: 0;
  height: 48px;
  padding: 0 1.5rem;
  white-space: nowrap;
  cursor: pointer;
}

.lp-cta__submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.lp-cta__msg {
  min-height: 1.5em;
  margin: 0.625rem 0 0;
  font-size: 0.8125rem;
  line-height: 1.5;
  text-align: center;
}

.lp-cta__msg--error {
  color: #92400e;
}

.lp-cta__msg--success {
  color: #166534;
}

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

/* FAQ section */
.lp-faq__title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-align: center;
  margin-bottom: var(--lp-space-3);
}

.lp-faq__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  max-width: 56em;
  margin: 0 auto;
}

.lp-faq__item {
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 14px;
  padding: 1.25rem 1.5rem;
  background: rgba(0, 0, 0, 0.012);
}

.lp-faq__q {
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.45;
  margin: 0 0 0.5rem;
  color: var(--color-text-primary, #111);
}

.lp-faq__a {
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--color-text-secondary, #555);
  margin: 0;
}

@media (max-width: 700px) {
  .lp-faq__grid {
    grid-template-columns: 1fr;
  }
}

/* Responsive – header mobile */
@media (max-width: 768px) {
  .lp-header__nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: var(--lp-header-h);
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    padding: 0.75rem var(--lp-space-2);
    gap: 0;
    z-index: 99;
  }

  .lp-header__nav.is-open {
    display: flex;
  }

  .lp-header__link {
    padding: 0.625rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    font-size: 0.9375rem;
  }

  .lp-header__link:last-child {
    border-bottom: none;
  }

  .lp-header__burger {
    display: flex;
  }

  .lp-btn.lp-header__cta {
    padding: 0.15rem 0.45rem;
    font-size: 0.7rem;
  }
}

/* Responsive – layout */
@media (max-width: 900px) {
  .lp-hero__grid {
    grid-template-columns: 1fr;
    gap: var(--lp-space-4);
  }

  .lp-hero {
    height: auto;
    min-height: auto;
    overflow: visible;
    padding-top: var(--lp-space-4);
    padding-bottom: 5rem;
  }

  .lp-hero__left {
    text-align: center;
  }

  .lp-hero__sub {
    margin-left: auto;
    margin-right: auto;
  }

  .lp-hero__micro {
    margin-left: auto;
    margin-right: auto;
  }

  .lp-hero__right {
    justify-content: center;
  }

  .lp-heroCards {
    max-width: 440px;
    margin: 0 auto;
  }

  .lp-sourcesDrawer {
    position: fixed;
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: auto;
    max-height: 70vh;
    border-radius: 18px 18px 0 0;
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.10);
    transform: translateY(100%);
  }

  .lp-sourcesDrawer.is-visible {
    transform: translateY(0);
  }

  .lp-sourcesDrawer.is-hidden {
    transform: translateY(100%);
  }

  /* Scroll story: mobile fallback */
  .lp-story__sticky {
    position: static;
    height: auto;
    overflow: visible;
  }

  .lp-story__spacer {
    display: none;
  }

  .lp-story__cols {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .lp-story__left,
  .lp-story__right {
    display: contents;
  }

  .lp-story__step[data-step="0"] { order: 1; }
  .lp-story__graphic[data-step="0"] { order: 2; }
  .lp-story__step[data-step="1"] { order: 3; }
  .lp-story__graphic[data-step="1"] { order: 4; }
  .lp-story__step[data-step="2"] { order: 5; }
  .lp-story__graphic[data-step="2"] { order: 6; }
  .lp-story__step[data-step="3"] { order: 7; }
  .lp-story__graphic[data-step="3"] { order: 8; }

  .lp-story__step {
    opacity: 1;
    margin-bottom: var(--lp-space-2);
  }

  .lp-story__graphic {
    position: static;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    margin-bottom: var(--lp-space-4);
  }

  .lp-story__right {
    min-height: 0;
  }
}

@media (max-width: 600px) {
  .lp-section {
    padding-top: var(--lp-space-4);
    padding-bottom: var(--lp-space-4);
  }

  .lp-hero {
    padding-top: var(--lp-space-4);
    padding-bottom: 4.5rem;
  }

  .lp-previewCard {
    padding: 14px;
    border-radius: 14px;
  }

  .lp-heroCards {
    max-width: 100%;
  }

  .lp-story__gfxCard {
    padding: 14px;
    border-radius: 14px;
  }

  .lp-cta__row {
    flex-direction: column;
  }

  .lp-cta__submit {
    width: 100%;
  }

  .lp-bias__title {
    font-size: 1.375rem;
  }

  .lp-bias__stats {
    grid-template-columns: 1fr;
  }

  .lp-bias__stat {
    padding: 1.125rem 1rem;
  }

  .lp-compare__title {
    font-size: 1.375rem;
  }

  .lp-compare__table {
    min-width: 600px;
    font-size: 0.8125rem;
  }

  .lp-steps {
    flex-direction: column;
    align-items: stretch;
  }

  .lp-step {
    max-width: none;
  }
}

/* Accessibility – reduced motion */
@media (prefers-reduced-motion: reduce) {
  .lp-story__step,
  .lp-story__graphic {
    transition: none;
  }

  .lp-sourcesDrawer {
    transition: none;
  }

  .lp-previewCard__switchSlider,
  .lp-previewCard__switchSlider::after {
    transition: none;
  }

  .lp-scroll-cue__icon {
    animation: none;
  }

  .lp-header {
    transition: none;
  }

  .lp-header__burger-line {
    transition: none;
  }

  .lp-header__link {
    transition: none;
  }
}

/* ========== Landing-only footer ========== */

.lp-footer {
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  padding: var(--lp-space-5) 0 var(--lp-space-4);
  background: #fff;
}

.lp-footer__inner {
  max-width: var(--lp-max);
  margin: 0 auto;
  padding: 0 var(--lp-space-2);
}

.lp-footer__grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr 0.7fr 1fr 1.2fr;
  gap: var(--lp-space-4) var(--lp-space-3);
  align-items: start;
}

.lp-footer__heading {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #999;
  margin: 0 0 0.875rem;
}

.lp-footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.lp-footer__links a {
  font-size: 0.875rem;
  color: #555;
  text-decoration: none;
  line-height: 1.7;
  transition: color 0.15s ease;
}

.lp-footer__links a:hover {
  color: #111;
}

.lp-footer__actions {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.lp-footer__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-size: 0.8125rem;
  font-weight: 500;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}

.lp-footer__btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.lp-footer__btn--linkedin {
  border: 1px solid #0077b5;
  color: #0077b5;
  background: #fff;
}

.lp-footer__btn--linkedin:hover {
  border-color: #005a8c;
  color: #005a8c;
}

.lp-footer__btn--newsletter {
  border: 1px solid rgba(0, 0, 0, 0.14);
  color: #555;
  background: #fff;
}

.lp-footer__btn--newsletter:hover {
  border-color: rgba(0, 0, 0, 0.3);
  color: #111;
}

.lp-footer__brand {
  text-align: right;
}

.lp-footer__logo {
  display: inline-block;
  margin-bottom: 0.875rem;
}

.lp-footer__logo img {
  max-height: 28px;
  width: auto;
}

.lp-footer__legal {
  font-size: 0.75rem;
  line-height: 1.6;
  color: #999;
  margin: 0;
}

@media (max-width: 900px) {
  .lp-footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .lp-footer__brand {
    grid-column: 1 / -1;
    text-align: left;
    margin-top: var(--lp-space-2);
    padding-top: var(--lp-space-2);
    border-top: 1px solid rgba(0, 0, 0, 0.06);
  }
}

@media (max-width: 600px) {
  .lp-footer__grid {
    grid-template-columns: 1fr;
  }
}

/* Smooth scrolling for landing page only */
html.landing-smooth-scroll {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--lp-header-h, 60px) + 16px);
}

@media (max-width: 768px) {
  html.landing-smooth-scroll {
    scroll-padding-top: calc(var(--lp-header-h, 60px) + 12px);
  }
}
