/* ============================================================================
   LuxeChain - Light design system (2026 redesign)
   Loaded LAST on every public page. One canvas, one type scale, one component
   language. Apple-grade restraint, OpenRouter-grade developer density.

   Rules encoded here:
   - Pure white canvas, very light grey surfaces, near-black ink.
   - LuxeChain purple is an accent, never a background wash.
   - No dark sections, no neon, no glassmorphism beyond the header blur.
   - Nothing decorative may overlap text, controls or navigation.
   - Every text/background pair clears WCAG AA (body 4.5:1, large 3:1).
   ========================================================================== */

/* ---------------------------------------------------------------- 1. tokens */
body.public {
  color-scheme: light;

  --lc-bg: #FFFFFF;
  --lc-bg-2: #F8F9FB;
  --lc-bg-3: #F3F4F7;
  --lc-card: #FFFFFF;
  --lc-card-2: #FCFCFD;

  --lc-ink: #171717;
  --lc-ink-2: #404040;
  --lc-ink-3: #5F6368;
  --lc-ink-4: #737373;

  --lc-line: #E7E8EC;
  --lc-line-2: #D8DAE0;
  --lc-line-3: #C3C6CE;

  --lc-brand: #7C3AED;
  --lc-brand-2: #6D28D9;
  --lc-brand-ink: #6D28D9;      /* text-safe purple on white (7.0:1) */
  --lc-brand-soft: #F5F2FF;
  --lc-brand-line: #E4DBFF;
  --lc-brand-fg: #FFFFFF;

  --lc-ok: #067647;
  --lc-ok-soft: #ECFDF3;
  --lc-warn: #B54708;
  --lc-warn-soft: #FFFAEB;
  --lc-danger: #B42318;
  --lc-danger-soft: #FEF3F2;
  --lc-info: #175CD3;
  --lc-info-soft: #EFF8FF;

  --lc-shadow-xs: 0 1px 2px rgba(16, 24, 40, .05);
  --lc-shadow-sm: 0 1px 3px rgba(16, 24, 40, .07), 0 1px 2px rgba(16, 24, 40, .04);
  --lc-shadow-md: 0 12px 32px -12px rgba(16, 24, 40, .16), 0 2px 6px rgba(16, 24, 40, .04);
  --lc-shadow-lg: 0 32px 80px -32px rgba(16, 24, 40, .24), 0 8px 20px -8px rgba(16, 24, 40, .08);

  --lc-r-xs: 8px;
  --lc-r-sm: 10px;
  --lc-r: 14px;
  --lc-r-lg: 20px;
  --lc-r-xl: 28px;
  --lc-ease: cubic-bezier(.22, 1, .36, 1);

  /* Faces are owned by typography.css, which loads last. */

  /* Map the legacy token names used by older components. */
  --background: var(--lc-bg);
  --card: var(--lc-card);
  --raised: #FFFFFF;
  --muted: var(--lc-bg-2);
  --muted-2: var(--lc-bg-3);
  --ink-900: var(--lc-ink);
  --ink-800: var(--lc-ink-2);
  --ink-700: var(--lc-ink-2);
  --ink-500: var(--lc-ink-3);
  --ink-400: var(--lc-ink-4);
  --ink-50: #FAFAFB;
  --border: var(--lc-line);
  --border-strong: var(--lc-line-3);
  --line: var(--lc-line);
  --surface-2: var(--lc-bg-2);
  --accent: var(--lc-brand);
  --accent-fg: #FFFFFF;
  --accent-hover: var(--lc-brand-2);
  --accent-soft: var(--lc-brand-soft);
  --accent-ink: var(--lc-brand-ink);
  --danger: var(--lc-danger);
  --danger-fg: #FFFFFF;
  --danger-soft: var(--lc-danger-soft);
  --warn: var(--lc-warn);
  --warn-soft: var(--lc-warn-soft);
  --ok: var(--lc-ok);
  --ok-soft: var(--lc-ok-soft);
  --cyan: #0E7490;
  --cyan-ink: #0E7490;
  --night: #FFFFFF;
  --night-2: #F8F9FB;
  --night-3: #F3F4F7;
  --maxw: 1360px;

  background-color: var(--lc-bg);
  background-image: none;
  color: var(--lc-ink-2);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.public .bg-ambient,
body.public .scroll-progress { display: none; }

body.public :where(h1, h2, h3, h4) {
  font-family: var(--font-display);
  color: var(--lc-ink);
  font-weight: 600;
  letter-spacing: -.035em;
  line-height: 1.08;
}
body.public h1 { font-weight: 600; letter-spacing: -.022em; }
body.public p { color: var(--lc-ink-3); }
body.public ::selection { background: var(--lc-brand-soft); color: var(--lc-brand-2); }
body.public :focus-visible {
  outline: 2px solid var(--lc-brand-2);
  outline-offset: 2px;
  border-radius: 6px;
}

/* ---------------------------------------------------------------- 2. frame */
body.public .wrap,
body.public .m-wrap,
body.public .wrap-narrow {
  width: 100%;
  max-width: var(--maxw);
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(20px, 3.2vw, 40px);
  padding-right: clamp(20px, 3.2vw, 40px);
  box-sizing: border-box;
}
body.public .wrap-narrow { max-width: 760px; }
body.public main { display: block; }
body.public img, body.public svg, body.public video { max-width: 100%; }

/* ---------------------------------------------------------------- 3. header */
body.public .site-header,
body.public .lc-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
body.public .site-header.scrolled {
  background: rgba(255, 255, 255, .96);
  border-bottom-color: var(--lc-line);
  box-shadow: 0 1px 0 rgba(16, 24, 40, .02);
}
.lc-nav-wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 clamp(16px, 3.2vw, 40px);
  min-height: 60px;
  display: flex;
  align-items: center;
  gap: 22px;
}
.lc-brand { display: inline-flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.lc-brand .lx-logo { color: var(--lc-ink); }
body.public .brand-tag { display: none; }

.lc-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1 1 auto;
  min-width: 0;
}
.lc-nav-item { position: relative; }
.lc-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 9px 11px;
  border: 0;
  background: transparent;
  border-radius: 8px;
  color: var(--lc-ink-2);
  font: 500 14px/1 var(--font-sans);
  letter-spacing: -.01em;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: color .14s ease, background .14s ease;
}
.lc-nav-link:hover,
.lc-nav-link[aria-expanded="true"],
.lc-nav-link[aria-current="page"] { color: var(--lc-ink); background: var(--lc-bg-2); }
.lc-nav-link .lc-chev { transition: transform .16s ease; }
.lc-nav-link[aria-expanded="true"] .lc-chev { transform: rotate(180deg); }

.lc-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 290px;
  padding: 8px;
  background: #FFFFFF;
  border: 1px solid var(--lc-line);
  border-radius: 16px;
  box-shadow: var(--lc-shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity .16s ease, transform .16s ease, visibility .16s;
  z-index: 90;
}
.lc-nav-item.open .lc-menu,
.lc-nav-item:hover .lc-menu {
  opacity: 1;
  visibility: visible;
  transform: none;
}
@media (hover: none) {
  .lc-nav-item:hover .lc-menu { opacity: 0; visibility: hidden; transform: translateY(-4px); }
  .lc-nav-item.open .lc-menu { opacity: 1; visibility: visible; transform: none; }
}
.lc-menu a {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  text-decoration: none;
  transition: background .12s ease;
}
.lc-menu a:hover { background: var(--lc-bg-2); }
.lc-menu b { display: block; color: var(--lc-ink); font-size: 13.5px; font-weight: 600; }
.lc-menu span { display: block; color: var(--lc-ink-4); font-size: 12px; margin-top: 1px; line-height: 1.35; }
.lc-menu-wide { min-width: 460px; display: grid; grid-template-columns: 1fr 1fr; gap: 2px 6px; }
.lc-menu-label {
  grid-column: 1 / -1;
  padding: 8px 12px 4px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--lc-ink-4);
}

.lc-nav-actions { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }
body.public .ccy-btn,
body.public .cart-btn,
body.public .nav-burger {
  color: var(--lc-ink-2);
  border: 1px solid var(--lc-line);
  background: #FFFFFF;
  border-radius: 9px;
  height: 34px;
}
body.public .ccy-btn { padding: 0 9px; font-size: 12.5px; font-weight: 600; }
body.public .cart-btn { width: 36px; display: inline-flex; align-items: center; justify-content: center; position: relative; }
body.public .ccy-btn:hover,
body.public .cart-btn:hover,
body.public .nav-burger:hover { border-color: var(--lc-line-3); background: var(--lc-bg-2); }
body.public .cart-badge { background: var(--lc-brand); color: #fff; }
body.public .nav-burger { display: none; flex-direction: column; gap: 3px; align-items: center; justify-content: center; width: 38px; }
body.public .nav-burger span { background: var(--lc-ink); }
body.public .nav-links { display: none; }

body.public .btn {
  border-radius: 9px;
  font-weight: 600;
  letter-spacing: -.01em;
  font-size: 14px;
  /* 38px is below the 44px touch minimum, and buttons are the primary
     interaction on this site. Coarse pointers (phones, car screens) get 44. */
  min-height: 44px;
  padding: 0 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  transition: background .14s ease, border-color .14s ease, color .14s ease,
              transform .14s var(--lc-ease), box-shadow .14s ease;
}
body.public .btn-sm { min-height: 34px; padding: 0 12px; font-size: 13px; }
body.public .btn-lg { min-height: 46px; padding: 0 22px; font-size: 15px; border-radius: 10px; }
body.public .btn-primary {
  background: var(--lc-brand);
  color: #FFFFFF;
  border: 1px solid var(--lc-brand);
  box-shadow: 0 1px 2px rgba(16, 24, 40, .08), 0 8px 20px -10px rgba(124, 58, 237, .55);
}
body.public .btn-primary:hover { background: var(--lc-brand-2); border-color: var(--lc-brand-2); transform: translateY(-1px); }
body.public .btn-primary:active { transform: none; }
body.public .btn-ghost,
body.public .h2-btn-ghost {
  background: #FFFFFF;
  color: var(--lc-ink);
  border: 1px solid var(--lc-line-2);
  box-shadow: var(--lc-shadow-xs);
}
body.public .btn-ghost:hover,
body.public .h2-btn-ghost:hover { border-color: var(--lc-line-3); background: var(--lc-bg-2); }
body.public .btn-quiet { background: transparent; color: var(--lc-ink-2); border: 1px solid transparent; }
body.public .btn-quiet:hover { background: var(--lc-bg-2); color: var(--lc-ink); }
body.public .btn-block { width: 100%; }
body.public .btn:disabled { opacity: .55; cursor: not-allowed; }

/* mobile drawer */
body.public .mobile-menu {
  background: #FFFFFF;
  border-top: 1px solid var(--lc-line);
  box-shadow: 0 24px 40px -24px rgba(16, 24, 40, .28);
  max-height: calc(100dvh - 60px);
  overflow-y: auto;
}
body.public .mobile-menu .wrap { padding-top: 10px; padding-bottom: 22px; }
body.public .mobile-menu a {
  display: block;
  padding: 11px 2px;
  color: var(--lc-ink);
  font-size: 15px;
  font-weight: 500;
  border-bottom: 1px solid var(--lc-line);
}
body.public .mobile-menu a.mm-sub { padding-left: 14px; font-size: 14px; color: var(--lc-ink-3); }
body.public .mobile-menu a.mm-cta { border: 0; margin-top: 12px; text-align: center; }
/* The signed-out / signed-in CTA block at the top of the drawer. It carries the
   ONE control the header drops at narrow widths - never a repeat of a control
   already visible above it, which is what put "Sign in" on a phone screen twice.
   The header keeps both buttons above 560px, so the block stands down there. */
body.public .mobile-menu .mm-account {
  display: flex; gap: 8px; padding: 6px 0 14px;
  border-bottom: 1px solid var(--lc-line);
}
@media (min-width: 561px) {
  body.public .mobile-menu .mm-account { display: none; }
}
body.public .mobile-menu .mm-account a {
  flex: 1 1 0; margin: 0; padding: 10px 8px; text-align: center;
  border: 1px solid var(--lc-line-2); border-radius: var(--lc-r-pill, 999px);
  font-size: 14px; font-weight: 600; color: var(--lc-ink);
  background: #fff;
}
body.public .mobile-menu .mm-account a.is-primary,
body.public .mobile-menu .mm-account a.btn-primary {
  background: var(--lc-brand); border-color: var(--lc-brand); color: #fff;
}
body.public .mobile-menu .mm-account + .mm-label { padding-top: 10px; }
body.public .mobile-menu .mm-label {
  padding: 16px 2px 6px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--lc-ink-4);
}
body.public .mobile-menu .ccy-mobile { border-top: 0; }
body.public .mobile-menu .ccy-row button { border: 1px solid var(--lc-line-2); background: #fff; color: var(--lc-ink-2); }
body.public .mobile-menu .ccy-row button.on { background: var(--lc-brand-soft); border-color: var(--lc-brand-line); color: var(--lc-brand-2); }

@media (max-width: 1060px) {
  .lc-nav { display: none; }
  body.public .nav-burger { display: inline-flex; }
}
@media (max-width: 560px) {
  /* Header budget at 390px is ~366px of usable width. Brand needs 147 and the
     menu button 36, which leaves ~183 for the account actions. "Sign in" MUST
     stay (a returning customer had no visible way in otherwise); "Get started"
     moves into the burger menu, where it is now the first thing shown, and the
     hero below already carries a "Start building" CTA. The cart icon was
     removed from the header entirely - the site sells one wallet top-up, so a
     basket control led nowhere and only ate 34px of a 390px bar. */
  /* Sign in is a real control, not loose text: an outlined pill matching the
     menu button beside it, so it reads as tappable. */
  body.public .lc-nav-actions .btn-quiet {
    display: flex; align-items: center; padding: 0 12px; font-size: 12.5px;
    /* 44px, matching the burger beside it: 34px failed the finger tap target. */
    min-height: 44px; font-weight: 600; color: var(--lc-ink);
    background: #fff; border: 1px solid var(--lc-line-2);
    border-radius: var(--lc-r-pill, 999px);
  }
  body.public .lc-nav-actions .btn-quiet:hover {
    background: var(--lc-bg-2); border-color: var(--lc-line-3); color: var(--lc-ink);
  }
  body.public .lc-nav-actions .ccy-pick { display: none; }
  body.public .lc-nav-actions .btn-primary { display: none; }
  /* Signed in, the header keeps "Account" only: the drawer carries "Sign out",
     and two pills plus the burger overflowed the 390px header. */
  body.public .lc-nav-actions .btn-ghost { display: none; }
  body.public .lc-nav-wrap { gap: 8px; padding: 0 12px; }
  body.public .lc-brand .lx-logo { font-size: 20px !important; gap: 7px !important; }
  body.public .lc-brand .lx-logo-mark { width: 24px !important; height: 24px !important; }
  body.public .lc-brand .lx-logo svg { width: 104px !important; height: 20px !important; }
  body.public .lc-nav-actions { gap: 6px; margin-left: auto; }
  body.public .cart-btn { width: 34px; }
  body.public .nav-burger { width: 36px; }
}

/* ---------------------------------------------------------------- 4. type */
.lc-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 1px solid var(--lc-brand-line);
  background: var(--lc-brand-soft);
  color: var(--lc-brand-2);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.lc-eyebrow i { width: 6px; height: 6px; border-radius: 50%; background: var(--lc-brand); }
.lc-kicker {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--lc-brand-2);
}
.lc-h2 {
  font-size: clamp(30px, 3.5vw, 46px);
  line-height: 1.06;
  letter-spacing: -.045em;
  margin: 12px 0 14px;
}
.lc-lead {
  font-size: 17px;
  line-height: 1.65;
  color: var(--lc-ink-3);
  max-width: 62ch;
}
.lc-section { padding: clamp(38px, 4.4vw, 64px) 0; }
.lc-section.tight { padding: clamp(26px, 3.2vw, 40px) 0; }
.lc-section.grey { background: var(--lc-bg-2); border-top: 1px solid var(--lc-line); border-bottom: 1px solid var(--lc-line); }
.lc-head { max-width: 720px; margin-bottom: 26px; }
.lc-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.lc-head.center .lc-lead { margin-left: auto; margin-right: auto; }
.lc-section-title { font-size: clamp(28px, 3vw, 40px); margin: 10px 0 12px; }

/* ---------------------------------------------------------------- 5. cards */
.lc-card {
  background: var(--lc-card);
  border: 1px solid var(--lc-line);
  border-radius: var(--lc-r-lg);
  box-shadow: var(--lc-shadow-xs);
}
.lc-card.hover { transition: border-color .16s ease, box-shadow .16s ease, transform .16s var(--lc-ease); }
.lc-card.hover:hover { border-color: var(--lc-line-2); box-shadow: var(--lc-shadow-md); transform: translateY(-2px); }

/* ---------------------------------------------------------------- 6. home hero */
/* Padding is tuned to the hero's REAL first child. It used to be a small
   "LuxeChain AI · An API Marketplace" pill, and the H1 carried an 18px top
   margin to clear it. Both are gone (20 Nov 2026), so that 18px plus a full
   block of padding left a visible empty band under the header. Measured gap
   header -> H1 was 103px at 1440 and 58px at 390; the values below bring it to
   ~50px and ~30px, which is a normal hero inset rather than a hole. */
.lc-hero {
  position: relative;
  padding: clamp(30px, 3.6vw, 52px) 0 clamp(26px, 3.4vw, 42px);
  overflow: hidden;
}
.lc-hero::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 620px;
  background:
    radial-gradient(700px 340px at 18% -6%, rgba(124, 58, 237, .07), transparent 70%),
    radial-gradient(560px 300px at 86% 2%, rgba(14, 116, 144, .05), transparent 72%);
  pointer-events: none;
}
.lc-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.lc-hero h1 {
  font-size: clamp(38px, 4.4vw, 58px);
  line-height: 1.06;
  letter-spacing: -.05em;
  margin: 18px 0 0;
}
/* The H1 is now the hero's first element, so its clearing margin is dead space. */
.lc-hero > .m-wrap > div:first-child > h1:first-child { margin-top: 0; }
.lc-hero h1 .lc-line { display: block; }
.lc-hero h1 .lc-grad { color: var(--lc-brand-2); }
.lc-hero .lc-lead { margin: 22px 0 0; font-size: clamp(16px, 1.35vw, 18px); max-width: 54ch; }
.lc-hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.lc-hero-note { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 22px; font-size: 12.5px; color: var(--lc-ink-4); }
.lc-hero-note span { display: inline-flex; align-items: center; gap: 6px; }
.lc-hero-note svg { color: var(--lc-ok); }

/* ecosystem visual */
.lc-eco { position: relative; }
.lc-eco-card {
  position: relative;
  background: linear-gradient(180deg, #FFFFFF 0%, #FDFCFF 100%);
  border: 1px solid var(--lc-line);
  border-radius: var(--lc-r-xl);
  box-shadow: var(--lc-shadow-lg);
  padding: 18px;
}
.lc-eco-app {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: var(--lc-bg-2);
  border: 1px solid var(--lc-line);
  border-radius: 12px;
}
.lc-eco-app .dot-row { display: flex; gap: 4px; }
.lc-eco-app .dot-row i { width: 7px; height: 7px; border-radius: 50%; background: #D9DBE1; }
.lc-eco-app b { font-size: 12px; color: var(--lc-ink-2); font-weight: 600; }
.lc-eco-app code { margin-left: auto; font-size: 10.5px; color: var(--lc-ink-4); }
.lc-eco-link { position: relative; height: 34px; display: flex; align-items: center; justify-content: center; }
.lc-eco-link::before {
  content: "";
  width: 1px; height: 100%;
  background: linear-gradient(var(--lc-brand-line), var(--lc-brand));
}
.lc-eco-link i {
  position: absolute;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--lc-brand);
  box-shadow: 0 0 0 4px rgba(124, 58, 237, .10);
  animation: lc-pulse 2.6s var(--lc-ease) infinite;
}
@keyframes lc-pulse {
  0% { transform: translateY(-12px); opacity: 0; }
  35% { opacity: 1; }
  70% { opacity: 1; }
  100% { transform: translateY(12px); opacity: 0; }
}
.lc-eco-hub {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--lc-brand-line);
  background: linear-gradient(135deg, #FBFAFF, #F4F0FF);
  border-radius: 14px;
}
.lc-eco-hub .mark {
  width: 36px; height: 36px; border-radius: 10px;
  display: grid; place-items: center;
  background: var(--lc-brand); color: #fff;
  box-shadow: 0 6px 16px -6px rgba(124, 58, 237, .65);
}
.lc-eco-hub b { display: block; font-size: 13.5px; color: var(--lc-ink); }
.lc-eco-hub small { display: block; font-size: 11.5px; color: var(--lc-ink-4); margin-top: 1px; }
.lc-eco-hub .key {
  margin-left: auto;
  font: 11px var(--font-mono);
  color: var(--lc-brand-2);
  background: #fff;
  border: 1px solid var(--lc-brand-line);
  border-radius: 999px;
  padding: 4px 9px;
  white-space: nowrap;
}
.lc-eco-providers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  margin-top: 10px;
}
.lc-eco-providers span {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 9px;
  background: #fff;
  border: 1px solid var(--lc-line);
  border-radius: 9px;
  font-size: 11px;
  font-weight: 600;
  color: var(--lc-ink-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.lc-eco-providers b {
  width: 18px; height: 18px; border-radius: 5px;
  display: grid; place-items: center;
  background: var(--lc-bg-2);
  color: var(--lc-ink-3);
  font-size: 9.5px;
  flex: 0 0 auto;
}
.lc-eco-response {
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 12px;
  border: 1px solid var(--lc-line);
  border-radius: 11px;
  background: #fff;
  font-size: 11.5px;
  color: var(--lc-ink-3);
}
.lc-eco-response .ok { color: var(--lc-ok); font-weight: 700; font-family: var(--font-mono); }
.lc-eco-response .grow { flex: 1; }
.lc-eco-response .time { font-family: var(--font-mono); color: var(--lc-ink-4); }
.lc-eco-caption { margin-top: 12px; text-align: center; font-size: 11.5px; color: var(--lc-ink-4); }

/* ---------------------------------------------------------------- 7. stats */
.lc-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--lc-line);
  border-bottom: 1px solid var(--lc-line);
}
.lc-stat { padding: 26px 24px; border-right: 1px solid var(--lc-line); }
.lc-stat:last-child { border-right: 0; }
.lc-stat strong {
  display: block;
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1;
  letter-spacing: -0.022em;
  color: var(--lc-ink);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.lc-stat span { display: block; margin-top: 8px; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--lc-ink-4); }

/* ---------------------------------------------------------------- 8. discovery */
.lc-discovery-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.lc-search {
  flex: 1 1 300px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 13px;
  height: 44px;
  border: 1px solid var(--lc-line-2);
  border-radius: 11px;
  background: #fff;
  box-shadow: var(--lc-shadow-xs);
}
.lc-search:focus-within { border-color: var(--lc-brand); box-shadow: 0 0 0 4px rgba(124, 58, 237, .10); }
.lc-search svg { color: var(--lc-ink-4); flex: 0 0 auto; }
.lc-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--lc-ink);
  font: 14px var(--font-sans);
  height: 100%;
}
.lc-search input::placeholder { color: var(--lc-ink-4); }
.lc-search kbd {
  font: 10.5px var(--font-mono);
  color: var(--lc-ink-4);
  border: 1px solid var(--lc-line);
  border-radius: 5px;
  padding: 2px 5px;
}
.lc-select {
  height: 44px;
  border: 1px solid var(--lc-line-2);
  border-radius: 11px;
  background: #fff;
  color: var(--lc-ink-2);
  font: 500 13.5px var(--font-sans);
  padding: 0 32px 0 12px;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23737373' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  cursor: pointer;
}
.lc-chips { display: flex; gap: 7px; flex-wrap: wrap; margin-bottom: 22px; }
.lc-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 12px;
  border: 1px solid var(--lc-line);
  background: #fff;
  border-radius: 999px;
  font: 500 12.5px var(--font-sans);
  color: var(--lc-ink-2);
  cursor: pointer;
  transition: background .13s ease, border-color .13s ease, color .13s ease;
}
.lc-chip:hover { border-color: var(--lc-line-3); }
.lc-chip.on { background: var(--lc-brand-soft); border-color: var(--lc-brand-line); color: var(--lc-brand-2); }
.lc-chip b { font-weight: 700; opacity: .75; }

.lc-models { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.lc-model {
  display: flex;
  flex-direction: column;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--lc-line);
  border-radius: var(--lc-r);
  box-shadow: var(--lc-shadow-xs);
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s var(--lc-ease);
}
.lc-model:hover { border-color: var(--lc-line-2); box-shadow: var(--lc-shadow-md); transform: translateY(-2px); }
.lc-model[hidden] { display: none; }
.lc-model-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.lc-model-maker { font-size: 11px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--lc-ink-4); }
.lc-model-status { display: inline-flex; align-items: center; gap: 5px; font-size: 10.5px; font-weight: 600; color: var(--lc-ok); }
.lc-model-status i { width: 5px; height: 5px; border-radius: 50%; background: var(--lc-ok); }
.lc-model h3 { font-size: 16px; margin: 10px 0 3px; letter-spacing: -.02em; }
.lc-model .id { font: 11px var(--font-mono); color: var(--lc-ink-4); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lc-model-price { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 14px 0 12px; }
.lc-model-price div { background: var(--lc-bg-2); border-radius: 9px; padding: 9px 10px; }
.lc-model-price small { display: block; font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: var(--lc-ink-4); }
.lc-model-price strong { display: block; font-size: 15px; color: var(--lc-ink); font-weight: 700; margin-top: 2px; }
.lc-model-price span { display: block; font-size: 10.5px; color: var(--lc-ink-4); }
.lc-model-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: auto; }
.lc-model-tags span {
  font-size: 10.5px;
  padding: 3px 7px;
  border-radius: 999px;
  background: var(--lc-bg-2);
  color: var(--lc-ink-3);
  border: 1px solid var(--lc-line);
}
.lc-model-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 13px; padding-top: 12px; border-top: 1px solid var(--lc-line); }
.lc-model-foot .ctx { font-size: 11px; color: var(--lc-ink-4); }
.lc-model-foot button,
.lc-model-foot a {
  font: 600 12px var(--font-sans);
  color: var(--lc-brand-2);
  background: transparent;
  border: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 0;
}
.lc-model-foot button:hover, .lc-model-foot a:hover { text-decoration: underline; }
.lc-more { display: flex; justify-content: center; margin-top: 24px; }
.lc-empty { padding: 42px 20px; text-align: center; color: var(--lc-ink-4); grid-column: 1 / -1; }

/* model dialog */
.lc-dialog {
  width: min(640px, calc(100vw - 32px));
  max-height: min(82vh, 760px);
  border: 1px solid var(--lc-line);
  border-radius: 20px;
  padding: 0;
  background: #fff;
  color: var(--lc-ink-2);
  box-shadow: var(--lc-shadow-lg);
  overflow: auto;
}
.lc-dialog::backdrop { background: rgba(16, 24, 40, .38); backdrop-filter: blur(2px); }
.lc-dialog-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 20px 22px 14px; border-bottom: 1px solid var(--lc-line); position: sticky; top: 0; background: #fff; z-index: 2; }
.lc-dialog-head h2 { font-size: 20px; margin: 2px 0 0; }
.lc-dialog-kicker { font-size: 10.5px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--lc-brand-2); }
.lc-dialog-close { width: 32px; height: 32px; border-radius: 8px; border: 1px solid var(--lc-line); background: #fff; color: var(--lc-ink-3); font-size: 18px; cursor: pointer; line-height: 1; }
.lc-dialog-close:hover { background: var(--lc-bg-2); color: var(--lc-ink); }
.lc-dialog-body { padding: 18px 22px 22px; }
.lc-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 14px 0; }
.lc-detail-grid > div { background: var(--lc-bg-2); border: 1px solid var(--lc-line); border-radius: 10px; padding: 10px 12px; }
.lc-detail-grid small { display: block; font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: var(--lc-ink-4); }
.lc-detail-grid strong { display: block; margin-top: 3px; color: var(--lc-ink); font-size: 13px; font-weight: 600; word-break: break-word; }
.lc-detail-grid strong.mono { font-family: var(--font-mono); font-size: 11.5px; }
.lc-detail-code { background: #0F1115; color: #E6E8EC; border-radius: 12px; padding: 14px; overflow-x: auto; font: 11.5px/1.65 var(--font-mono); }
.lc-detail-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }

/* ---------------------------------------------------------------- 9. architecture */
.lc-flow {
  display: grid;
  grid-template-columns: 1fr 64px 1.15fr 64px 1.45fr;
  align-items: stretch;
  gap: 0;
  padding: 26px;
  background: #fff;
  border: 1px solid var(--lc-line);
  border-radius: var(--lc-r-lg);
  box-shadow: var(--lc-shadow-xs);
}
.lc-node {
  padding: 18px;
  border: 1px solid var(--lc-line);
  border-radius: 14px;
  background: var(--lc-card-2);
  min-width: 0;
}
.lc-node small { display: block; font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--lc-ink-4); }
.lc-node b { display: block; margin-top: 5px; font-size: 15px; color: var(--lc-ink); }
.lc-node p { margin: 6px 0 0; font-size: 12px; line-height: 1.5; color: var(--lc-ink-4); }
.lc-node code { display: block; margin-top: 9px; font: 10.5px var(--font-mono); color: var(--lc-ink-3); background: var(--lc-bg-2); border-radius: 6px; padding: 6px 8px; overflow-wrap: anywhere; }
.lc-node.core { border-color: var(--lc-brand-line); background: linear-gradient(160deg, #FBFAFF, #F3EEFF); }
.lc-node.core b { color: var(--lc-brand-2); }
.lc-node .keymark { display: inline-flex; align-items: center; gap: 6px; margin-top: 9px; font-size: 11px; font-weight: 600; color: var(--lc-brand-2); background: #fff; border: 1px solid var(--lc-brand-line); border-radius: 999px; padding: 4px 9px; }
.lc-node .keymark i { width: 5px; height: 5px; border-radius: 50%; background: var(--lc-brand); }
.lc-rail { position: relative; display: flex; align-items: center; justify-content: center; }
.lc-rail::before { content: ""; width: 100%; height: 1px; background: repeating-linear-gradient(90deg, var(--lc-line-3) 0 5px, transparent 5px 10px); }
.lc-rail i { position: absolute; width: 6px; height: 6px; border-radius: 50%; background: var(--lc-brand); animation: lc-rail 2.8s linear infinite; }
@keyframes lc-rail {
  0% { transform: translateX(-26px); opacity: 0; }
  20% { opacity: 1; }
  80% { opacity: 1; }
  100% { transform: translateX(26px); opacity: 0; }
}
.lc-provider-list { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.lc-provider-list span { font-size: 11px; padding: 5px 8px; background: #fff; border: 1px solid var(--lc-line); border-radius: 7px; color: var(--lc-ink-3); }
.lc-flow-caption { margin-top: 14px; text-align: center; font-size: 12.5px; color: var(--lc-ink-4); }

/* ---------------------------------------------------------------- 10. feature grid */
.lc-features { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.lc-feature { padding: 22px; background: #fff; border: 1px solid var(--lc-line); border-radius: var(--lc-r); }
.lc-feature .ico {
  width: 38px; height: 38px; border-radius: 10px;
  display: grid; place-items: center;
  background: var(--lc-brand-soft);
  color: var(--lc-brand-2);
  border: 1px solid var(--lc-brand-line);
}
.lc-feature h3 { font-size: 15.5px; margin: 14px 0 6px; letter-spacing: -.02em; }
.lc-feature p { font-size: 13.5px; line-height: 1.6; color: var(--lc-ink-3); }

/* ---------------------------------------------------------------- 11. developer */
.lc-dev { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.lc-checks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.lc-checks li { display: flex; gap: 9px; font-size: 14px; color: var(--lc-ink-2); }
.lc-checks svg { flex: 0 0 auto; color: var(--lc-ok); margin-top: 2px; }
.lc-code-card { background: #0F1115; border: 1px solid #1E222A; border-radius: var(--lc-r-lg); overflow: hidden; box-shadow: var(--lc-shadow-md); }
.lc-code-head { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-bottom: 1px solid #1E222A; }
.lc-code-dots { display: flex; gap: 5px; margin-right: 4px; }
.lc-code-dots i { width: 8px; height: 8px; border-radius: 50%; background: #2A2F38; }
.lc-code-tabs { display: flex; gap: 2px; }
.lc-code-tabs button {
  border: 0; background: transparent; color: #9AA3AF;
  font: 500 11.5px var(--font-sans); padding: 5px 9px; border-radius: 6px; cursor: pointer;
}
.lc-code-tabs button[aria-selected="true"] { background: #1B2028; color: #F2F4F7; }
.lc-code-copy {
  margin-left: auto; border: 1px solid #2A2F38; background: transparent; color: #9AA3AF;
  font: 500 11px var(--font-sans); border-radius: 6px; padding: 4px 9px; cursor: pointer;
}
.lc-code-copy:hover { color: #F2F4F7; border-color: #3A404B; }
.lc-code-body pre {
  margin: 0; padding: 16px; overflow-x: auto;
  font: 11.5px/1.7 var(--font-mono); color: #24292F; tab-size: 2;
  white-space: pre-wrap; overflow-wrap: anywhere;
}
.lc-code-body pre .k { color: #C4B5FD; }
.lc-code-body pre .s { color: #86EFAC; }
.lc-code-body pre .c { color: #6B7280; }
.lc-code-body pre .cmd { color: #C4B5FD; }
.lc-code-body pre .str { color: #86EFAC; }
.lc-code-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 14px; border-top: 1px solid #1E222A; font: 10.5px var(--font-mono); color: #8B94A1; }
.lc-code-foot .ok { color: #34D399; }

/* ---------------------------------------------------------------- 12. pricing */
.lc-packs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.lc-pack {
  position: relative;
  display: flex; flex-direction: column;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--lc-line);
  border-radius: var(--lc-r-lg);
  box-shadow: var(--lc-shadow-xs);
  transition: border-color .16s ease, box-shadow .16s ease, transform .16s var(--lc-ease);
}
.lc-pack:hover { border-color: var(--lc-line-2); box-shadow: var(--lc-shadow-md); transform: translateY(-2px); }
.lc-pack.popular { border-color: var(--lc-brand-line); box-shadow: 0 0 0 1px var(--lc-brand-line), var(--lc-shadow-sm); }
.lc-pack .tag {
  position: absolute; top: 14px; right: 14px;
  font-size: 10px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
  color: var(--lc-brand-2); background: var(--lc-brand-soft); border: 1px solid var(--lc-brand-line);
  border-radius: 999px; padding: 3px 8px;
}
.lc-pack h3 { font-size: 13px; font-weight: 600; color: var(--lc-ink-3); margin: 0; letter-spacing: 0; }
.lc-pack .amount { font-size: 38px; font-weight: 600; letter-spacing: -.05em; color: var(--lc-ink); margin: 6px 0 2px; line-height: 1; }
.lc-pack .amount small { font-size: 15px; font-weight: 600; color: var(--lc-ink-4); letter-spacing: 0; }
.lc-pack .per { font-size: 12px; color: var(--lc-ink-4); }
.lc-pack ul { list-style: none; padding: 0; margin: 16px 0 18px; display: grid; gap: 7px; }
.lc-pack li { display: flex; gap: 7px; font-size: 12.5px; color: var(--lc-ink-3); }
.lc-pack li svg { flex: 0 0 auto; color: var(--lc-ok); margin-top: 2px; }
.lc-pack .btn { margin-top: auto; }
.lc-pricing-foot { display: flex; align-items: center; justify-content: center; gap: 18px; flex-wrap: wrap; margin-top: 20px; font-size: 12.5px; color: var(--lc-ink-4); }
.lc-pricing-foot a { color: var(--lc-brand-2); font-weight: 600; }
.lc-custom { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-top: 22px; }
.lc-custom label { display: flex; align-items: center; gap: 4px; height: 42px; padding: 0 12px; background: #fff; border: 1px solid var(--lc-line-2); border-radius: 10px; font-weight: 700; color: var(--lc-ink); }
.lc-custom input { width: 96px; border: 0; outline: 0; background: transparent; font: 700 16px var(--font-sans); color: var(--lc-ink); }
.lc-custom .btn { height: 42px; }

/* ---------------------------------------------------------------- 13. security */
.lc-security { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.lc-sec-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.lc-sec { padding: 18px; background: #fff; border: 1px solid var(--lc-line); border-radius: var(--lc-r); }
.lc-sec .ico { color: var(--lc-brand-2); margin-bottom: 9px; }
.lc-sec b { display: block; font-size: 13.5px; color: var(--lc-ink); }
.lc-sec p { margin: 4px 0 0; font-size: 12.5px; line-height: 1.55; color: var(--lc-ink-4); }

/* ---------------------------------------------------------------- 14. final CTA */
.lc-cta {
  position: relative;
  padding: clamp(36px, 4.6vw, 58px) clamp(24px, 4vw, 56px);
  border: 1px solid var(--lc-line);
  border-radius: var(--lc-r-xl);
  background:
    radial-gradient(520px 260px at 12% 0%, rgba(124, 58, 237, .08), transparent 70%),
    radial-gradient(420px 220px at 92% 100%, rgba(14, 116, 144, .05), transparent 72%),
    #FFFFFF;
  text-align: center;
  box-shadow: var(--lc-shadow-sm);
  overflow: hidden;
}
.lc-cta h2 { font-size: clamp(32px, 4vw, 54px); letter-spacing: -.05em; margin: 0 0 12px; }
.lc-cta p { font-size: 16.5px; color: var(--lc-ink-3); max-width: 52ch; margin: 0 auto; }
.lc-cta .actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 26px; }

/* ---------------------------------------------------------------- 15. footer */
body.public .m-foot,
body.public .site-footer {
  background: #FFFFFF;
  border-top: 1px solid var(--lc-line);
  padding: 44px 0 0;
  color: var(--lc-ink-3);
}
body.public .m-foot::before { display: none; }
body.public .m-foot-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 28px; }
body.public .m-foot-brand .lx-logo { color: var(--lc-ink); }
/* The footer is WHITE on every public page (see the `.m-foot` rule above), but
   `.m-foot .lx-logo` in marketing.css still re-points the brand gradient to the
   dark-surface pastel pair (#67E8F9 -> #5CC8FF -> #C4B5FD). Those stops are
   chosen to glow on near-black; on white they wash out and the "Chain" wordmark
   reads pale grey-blue. That is why the footer logo and the header logo looked
   like two different logos (Rahul, 20 Nov 2026).

   Reset to `initial` rather than re-specifying hex values. The mark draws THREE
   gradients from the same two variables (blade, orbit ring, sparkle) and each
   has its own built-in fallback in partials/mark.html. Re-pointing --lx-g1 here
   would therefore fix the blade while silently flattening the ring and sparkle
   to the blade's colours. Unsetting the variables makes this instance fall back
   exactly as the header does, so all three gradients are identical by
   construction rather than by a copied hex list that can drift. */
body.public .m-foot .lx-logo,
body.public .m-foot-brand .lx-logo {
  --lx-w1: initial; --lx-w2: initial;
  --lx-g1: initial; --lx-g2: initial; --lx-g3: initial;
}
body.public .m-foot-name { font-size: 13px; color: var(--lc-ink-2) !important; font-weight: 600; margin: 12px 0 6px; }
body.public .m-foot-brand p { font-size: 13px; color: var(--lc-ink-4); max-width: 30ch; }
body.public .m-foot-status { display: inline-flex; align-items: center; gap: 7px; margin-top: 12px; font-size: 12px; color: var(--lc-ok); }
body.public .m-foot-status i { width: 6px; height: 6px; border-radius: 50%; background: var(--lc-ok); box-shadow: 0 0 0 3px rgba(6, 118, 71, .10); }
body.public .m-foot-col h4 { font-size: 11px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--lc-ink-4); margin: 0 0 12px; }
body.public .m-foot-col a { display: block; font-size: 13.5px; color: var(--lc-ink-3); padding: 5px 0; }
body.public .m-foot-col a:hover { color: var(--lc-ink); }
body.public .m-foot-bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  margin-top: 32px; padding: 18px 0; border-top: 1px solid var(--lc-line);
  font-size: 12px; color: var(--lc-ink-4);
}
body.public .m-foot-ph { margin-top: 16px; }
body.public .m-foot-ph img { width: 200px; height: auto; }

/* ---------------------------------------------------------------- 16. generic page heads */
body.public .m-pagehead > .wrap,
body.public .m-pagehead > .wrap-narrow {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding-top: 8px;
}
body.public .m-pagehead { padding: 48px 0 8px; }
body.public .m-pagehead h1 { font-size: clamp(34px, 4vw, 54px); letter-spacing: -.05em; color: var(--lc-ink); }
body.public .m-pagehead p { color: var(--lc-ink-3); }

body.public .sec-head h1 { font-size: clamp(32px, 4vw, 50px); letter-spacing: -.05em; }
body.public .sec-head h2 { font-size: clamp(24px, 2.6vw, 34px); }
body.public .sec-head p { color: var(--lc-ink-3); }
body.public .m-section { padding: clamp(42px, 5vw, 70px) 0; }
body.public .m-section.tight { padding: clamp(28px, 3.5vw, 44px) 0; }
body.public .m-section.m-tint { background: var(--lc-bg-2); border-top: 1px solid var(--lc-line); border-bottom: 1px solid var(--lc-line); }
body.public .m-head h2 { font-size: clamp(28px, 3.4vw, 44px); }
body.public .m-head p { color: var(--lc-ink-3); }
body.public .m-kicker { color: var(--lc-brand-2); }
body.public .m-kicker::before { background: var(--lc-brand); box-shadow: 0 0 0 4px var(--lc-brand-soft); }

/* generic cards/forms used by older pages */
body.public .card,
body.public .panel,
body.public .m-card,
body.public .m-plan,
body.public .fcard,
body.public .tcard,
body.public .kpi {
  background: #fff;
  border: 1px solid var(--lc-line);
  border-radius: var(--lc-r);
  box-shadow: var(--lc-shadow-xs);
  color: var(--lc-ink-2);
}
body.public .card:hover,
body.public .m-card:hover { border-color: var(--lc-line-2); box-shadow: var(--lc-shadow-md); }
body.public .card h3, body.public .m-card h3, body.public .m-plan h3 { color: var(--lc-ink); }
body.public .card p, body.public .m-card p { color: var(--lc-ink-3); }
body.public .m-card { padding: 22px; }
body.public .m-card .ico { color: var(--lc-brand-2); }
body.public .m-grid { display: grid; gap: 14px; }
body.public .grid { display: grid; gap: 14px; }
body.public .grid.g2, body.public .g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
body.public .grid.g3, body.public .g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
body.public .grid.g4, body.public .g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

body.public .field label, body.public .field > label { color: var(--lc-ink-2); font-size: 13px; font-weight: 600; }
body.public input:not([type="checkbox"]):not([type="radio"]),
body.public select,
body.public textarea {
  background: #fff;
  color: var(--lc-ink);
  border: 1px solid var(--lc-line-2);
  border-radius: 9px;
  padding: 10px 12px;
  font: 14px var(--font-sans);
  min-height: 42px;
}
body.public input::placeholder, body.public textarea::placeholder { color: var(--lc-ink-4); }
body.public input:focus, body.public select:focus, body.public textarea:focus {
  border-color: var(--lc-brand);
  box-shadow: 0 0 0 4px rgba(124, 58, 237, .10);
  outline: 0;
}
body.public .hint { color: var(--lc-ink-4); font-size: 12px; }
body.public .chip-radio { background: #fff; border: 1px solid var(--lc-line-2); border-radius: 10px; color: var(--lc-ink-2); }
body.public .chip-radio:has(input:checked) { border-color: var(--lc-brand); background: var(--lc-brand-soft); color: var(--lc-brand-2); }
body.public .chip-radio small { color: var(--lc-ink-4); }

/* Search-example buttons ("Try Claude, image, ...") and the model filter chips
   rendered at 15px tall, which is not tappable at all. These are the controls a
   visitor uses to narrow 100+ models, so they must clear the touch minimum. */
body.public [data-search-example],
body.public .mk-search-example,
body.public .chip {
  min-height: 34px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--lc-line-2);
  background: #fff;
  color: var(--lc-ink-2);
  font-size: 12.5px;
  line-height: 1.2;
}
@media (pointer: coarse) {
  body.public [data-search-example],
  body.public .mk-search-example,
  body.public .chip { min-height: 44px; padding: 9px 15px; }
}
/* Code-block language tabs sat at 24px tall, which is a hard target on a phone
   and the only way to switch the sample language. */
body.public .lc-code-tab,
body.public [data-lang] {
  min-height: 34px;
  padding: 5px 11px;
}
@media (pointer: coarse) {
  body.public .lc-code-tab, body.public [data-lang] { min-height: 44px; padding: 8px 14px; }
}

body.public .alert { border-radius: 10px; padding: 14px 16px; font-size: 13.5px; }
body.public .alert-info { background: var(--lc-info-soft); border: 1px solid #B2DDFF; color: #175CD3; }
body.public .alert-danger { background: var(--lc-danger-soft); border: 1px solid #FECDCA; color: var(--lc-danger); }
body.public .alert-warn { background: var(--lc-warn-soft); border: 1px solid #FEDF89; color: var(--lc-warn); }
body.public .alert-ok { background: var(--lc-ok-soft); border: 1px solid #ABEFC6; color: var(--lc-ok); }

body.public .pill {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 9px; border-radius: 999px;
  background: var(--lc-bg-2); border: 1px solid var(--lc-line);
  color: var(--lc-ink-3); font-size: 11px; font-weight: 600;
}
body.public .pill-ok { background: var(--lc-ok-soft); border-color: #ABEFC6; color: var(--lc-ok); }
body.public .pill-bad { background: var(--lc-danger-soft); border-color: #FECDCA; color: var(--lc-danger); }
body.public .pill-idle { color: var(--lc-ink-4); }
body.public .live-dot { background: var(--lc-ok); }

body.public .tbl-wrap, body.public .tbl-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
body.public .tbl { width: 100%; border-collapse: collapse; font-size: 13px; }
body.public .tbl th {
  text-align: left; padding: 10px 14px;
  background: var(--lc-bg-2); color: var(--lc-ink-4);
  font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  border-bottom: 1px solid var(--lc-line); white-space: nowrap;
}
body.public .tbl td { padding: 11px 14px; border-bottom: 1px solid var(--lc-line); color: var(--lc-ink-2); vertical-align: top; }
body.public .tbl tbody tr:last-child td { border-bottom: 0; }
body.public .tbl tbody tr:hover td { background: #FCFCFD; }
body.public .tbl .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }

body.public .code { background: #0F1115; border: 1px solid #1E222A; border-radius: 12px; overflow: hidden; }
body.public .code-head { display: flex; align-items: center; gap: 8px; padding: 9px 12px; border-bottom: 1px solid #1E222A; color: #9AA3AF; font-size: 11px; }
body.public .code-head .title { font-family: var(--font-mono); }
body.public .copy-btn { margin-left: auto; border: 1px solid #2A2F38; background: transparent; color: #9AA3AF; border-radius: 6px; padding: 3px 8px; font-size: 11px; cursor: pointer; }
body.public .code pre { margin: 0; padding: 14px; overflow-x: auto; font: 12px/1.7 var(--font-mono); color: #D5DAE1; }
body.public .rule { border: 0; border-top: 1px solid var(--lc-line); }

body.public .m-acc { background: #fff; border: 1px solid var(--lc-line); border-radius: 12px; padding: 0 16px; margin-bottom: 8px; }
body.public .m-acc summary { padding: 15px 0; cursor: pointer; color: var(--lc-ink); font-weight: 600; font-size: 14px; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
body.public .m-acc summary::-webkit-details-marker { display: none; }
body.public .m-acc summary::after { content: "+"; color: var(--lc-ink-4); font-weight: 400; font-size: 18px; line-height: 1; }
body.public .m-acc[open] summary::after { content: "−"; }
body.public .m-acc p { margin: 0; padding: 0 0 16px; color: var(--lc-ink-3); font-size: 13.5px; line-height: 1.65; }

body.public .auth-alt { text-align: center; margin-top: 18px; }
body.public .auth-alt-or { display: block; color: var(--lc-ink-4); font-size: 12px; margin: 14px 0; }
body.public .tabs { display: flex; gap: 4px; background: var(--lc-bg-2); border: 1px solid var(--lc-line); padding: 4px; border-radius: 10px; }
body.public .tab { flex: 1; border: 0; background: transparent; color: var(--lc-ink-3); font: 600 13px var(--font-sans); padding: 8px; border-radius: 7px; cursor: pointer; }
body.public .tab[aria-selected="true"] { background: #fff; color: var(--lc-ink); box-shadow: var(--lc-shadow-xs); }

/* ---------------------------------------------------------------- 17. models page */
body.models-light { background: #fff; color: var(--lc-ink-2); }
body.models-light :where(h1, h2, h3, h4) { color: var(--lc-ink); }
body.models-light .mk-hero {
  padding: 44px 0 28px;
  background: transparent;
  color: var(--lc-ink-2);
}
body.models-light .mk-hero::before { display: none; }
body.models-light .mk-hero-glow { display: none; }
body.models-light .mk-title { font-size: clamp(38px, 5vw, 64px); letter-spacing: -.055em; color: var(--lc-ink); }
body.models-light .mk-title em { font-style: normal; color: var(--lc-brand-2); }
body.models-light .mk-sub { color: var(--lc-ink-3); font-size: 17px; max-width: 56ch; }
body.models-light .mk-hero-stats { border-top: 1px solid var(--lc-line); margin-top: 24px; }
body.models-light .mk-hero-stats div { border-right-color: var(--lc-line); }
body.models-light .mk-hero-stats strong { color: var(--lc-ink); }
body.models-light .mk-hero-stats span { color: var(--lc-ink-4); }
body.models-light .mk-search { background: #fff; border-color: var(--lc-line-2); color: var(--lc-ink); box-shadow: var(--lc-shadow-xs); }
body.models-light .mk-search:focus-within { border-color: var(--lc-brand); box-shadow: 0 0 0 4px rgba(124, 58, 237, .10); }
body.models-light .mk-search input { color: var(--lc-ink); }
body.models-light .mk-search input::placeholder { color: var(--lc-ink-4); }
body.models-light .mk-search kbd { border-color: var(--lc-line); color: var(--lc-ink-4); }
body.models-light .mk-hero-search p { color: var(--lc-ink-4); }
body.models-light .mk-hero-search p button { color: var(--lc-brand-2); }
body.models-light .mk-cats { background: transparent; padding: 4px 0 20px; }
body.models-light .mk-cat-grid { gap: 10px; grid-template-columns: repeat(auto-fit, minmax(158px, 1fr)); }
body.models-light .mk-cat {
  background: #fff; border: 1px solid var(--lc-line); border-radius: 12px;
  color: var(--lc-ink-2); box-shadow: var(--lc-shadow-xs);
  transition: border-color .14s ease, box-shadow .14s ease, transform .14s var(--lc-ease);
}
body.models-light .mk-cat:hover { border-color: var(--lc-line-2); transform: translateY(-1px); box-shadow: var(--lc-shadow-sm); }
body.models-light .mk-cat.on { border-color: var(--lc-brand-line); background: var(--lc-brand-soft); box-shadow: 0 0 0 1px var(--lc-brand-line); }
body.models-light .mk-cat strong, body.models-light .mk-cat-label { color: var(--lc-ink); }
body.models-light .mk-cat.on strong, body.models-light .mk-cat.on .mk-cat-label { color: var(--lc-brand-2); }
body.models-light .mk-cat span, body.models-light .mk-cat-count { color: var(--lc-ink-4); }
body.models-light .mk-cat.on .mk-cat-count { color: var(--lc-brand-2); }
body.models-light .mk-main { background: transparent; padding-top: 4px; }
body.models-light .mk-filters { background: #fff; border: 1px solid var(--lc-line); border-radius: 14px; box-shadow: var(--lc-shadow-xs); }
body.models-light .mk-filters-head h2, body.models-light .mk-filter-group h3 { color: var(--lc-ink-4); }
body.models-light .mk-check span { color: var(--lc-ink-2); }
body.models-light .mk-check b { color: var(--lc-ink-4); }
body.models-light .mk-hint { color: var(--lc-ink-4); }
body.models-light .mk-price-filter label { background: #fff; border-color: var(--lc-line-2); }
body.models-light .mk-price-filter input { color: var(--lc-ink); }
body.models-light .mk-toolbar { border-color: var(--lc-line); }
body.models-light .mk-result-count, body.models-light .mk-result-count span { color: var(--lc-ink-4); }
body.models-light .mk-result-count strong { color: var(--lc-ink); }
body.models-light .mk-sort { color: var(--lc-ink-4); }
body.models-light .mk-sort select, body.models-light .mk-filter-toggle {
  background: #fff; color: var(--lc-ink-2); border: 1px solid var(--lc-line-2); border-radius: 9px;
}
body.models-light .mk-card {
  background: #fff; border: 1px solid var(--lc-line); border-radius: 14px;
  color: var(--lc-ink-2); box-shadow: var(--lc-shadow-xs);
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s var(--lc-ease);
}
body.models-light .mk-card:hover { border-color: var(--lc-line-2); box-shadow: var(--lc-shadow-md); transform: translateY(-2px); }
body.models-light .mk-maker, body.models-light .mk-card-maker, body.models-light .mk-card-foot { color: var(--lc-ink-4); }
body.models-light .mk-model-name, body.models-light .mk-card h3, body.models-light .mk-card-name { color: var(--lc-ink); }
body.models-light .mk-status { color: var(--lc-ok); }
body.models-light .mk-status i { background: var(--lc-ok); }
body.models-light .mk-id-row code { background: var(--lc-bg-2); color: var(--lc-ink-3); border: 1px solid var(--lc-line); }
body.models-light .mk-prices { background: var(--lc-bg-2); border: 1px solid var(--lc-line); }
body.models-light .mk-prices div + div { border-left-color: var(--lc-line); }
body.models-light .mk-prices small, body.models-light .mk-prices span { color: var(--lc-ink-4); }
body.models-light .mk-prices strong { color: var(--lc-ink); }
body.models-light .mk-tags span { background: var(--lc-bg-2); border: 1px solid var(--lc-line); color: var(--lc-ink-3); }
body.models-light .mk-details { color: var(--lc-brand-2); border-color: var(--lc-line-2); background: #fff; }
body.models-light .mk-compare { color: var(--lc-ink-4); }
body.models-light .mk-active-filters { color: var(--lc-ink-3); }
body.models-light .mk-dev { background: var(--lc-bg-2); border-top: 1px solid var(--lc-line); color: var(--lc-ink-2); }
body.models-light .mk-dev-copy p { color: var(--lc-ink-3); }
body.models-light .mk-kicker { color: var(--lc-brand-2); }
body.models-light .mk-endpoint { background: #fff; border-color: var(--lc-line); }
body.models-light .mk-endpoint code { color: var(--lc-ink-2); }
body.models-light .mk-code-head { background: #0F1115; border-color: #1E222A; color: #9AA3AF; }
body.models-light .mk-dev-code { background: #0F1115; border: 1px solid #1E222A; border-radius: 14px; overflow: hidden; }
body.models-light .mk-dev-code pre { color: #D5DAE1; }
body.models-light .mk-dialog { background: #fff; border-color: var(--lc-line); color: var(--lc-ink-2); }
body.models-light .mk-dialog-head { background: #fff; border-color: var(--lc-line); }
body.models-light .mk-dialog-head h2 { color: var(--lc-ink); }
body.models-light .mk-dialog-kicker { color: var(--lc-brand-2); }
body.models-light .mk-dialog-close { background: #fff; border-color: var(--lc-line); color: var(--lc-ink-3); }
body.models-light .mk-detail-grid > div { background: var(--lc-bg-2); border-color: var(--lc-line); }
body.models-light .mk-detail-grid small { color: var(--lc-ink-4); }
body.models-light .mk-detail-grid strong { color: var(--lc-ink); }
body.models-light .mk-detail-section h3 { color: var(--lc-ink); }
body.models-light .mk-detail-id code { background: var(--lc-bg-2); color: var(--lc-ink-2); }
body.models-light .mk-comparebar { background: #fff; border-color: var(--lc-line); box-shadow: var(--lc-shadow-lg); }
body.models-light .mk-compare-chips { color: var(--lc-ink-2); }
body.models-light .mk-toast { background: var(--lc-ink); color: #fff; }
body.models-light .mk-empty { color: var(--lc-ink-4); }

/* The `hidden` attribute must beat a display rule.
   `.btn { display: flex }` outranks the UA stylesheet's `[hidden]{display:none}`,
   so every `<button class="btn" hidden>` in this app rendered VISIBLE - the
   monthly "Cancel" button showed up for customers with no subscription. The
   codebase had been patching this selector by selector (.lc-model[hidden],
   .mobile-menu[hidden], .cart-badge[hidden]); this fixes the class of bug.
   !important is deliberate: it restores the attribute's documented meaning. */
[hidden] { display: none !important; }

/* ---------------------------------------------------------------- 18. dashboard */
body.public .dash {
  display: grid;
  grid-template-columns: 228px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  padding-top: 30px;
  padding-bottom: 70px;
}
.lc-dash-side {
  position: sticky;
  top: 82px;
  background: #fff;
  border: 1px solid var(--lc-line);
  border-radius: 16px;
  padding: 14px;
  box-shadow: var(--lc-shadow-xs);
}
.lc-dash-user { padding: 4px 8px 12px; border-bottom: 1px solid var(--lc-line); margin-bottom: 8px; }
.lc-dash-user b { display: block; color: var(--lc-ink); font-size: 14px; }
.lc-dash-user span { display: block; color: var(--lc-ink-4); font-size: 11.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lc-dash-balance { margin-top: 10px; padding: 10px 11px; background: var(--lc-brand-soft); border: 1px solid var(--lc-brand-line); border-radius: 10px; }
.lc-dash-balance small { display: block; font-size: 9.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--lc-brand-2); font-weight: 700; }
.lc-dash-balance strong { display: block; font-size: 22px; letter-spacing: -.04em; color: var(--lc-ink); font-weight: 600; }
.lc-dash-nav { display: grid; gap: 1px; margin-top: 10px; }
.lc-dash-nav .label { padding: 12px 8px 5px; font-size: 9.5px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--lc-ink-4); }
.lc-dash-nav a {
  display: flex; align-items: center; gap: 9px;
  padding: 8px 9px; border-radius: 8px;
  font-size: 13px; font-weight: 500; color: var(--lc-ink-2);
}
.lc-dash-nav a:hover { background: var(--lc-bg-2); color: var(--lc-ink); }
.lc-dash-nav a svg { color: var(--lc-ink-4); flex: 0 0 auto; }
.lc-dash-nav a:hover svg { color: var(--lc-brand-2); }
.lc-dash-main { min-width: 0; }
.lc-dash-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-bottom: 20px; }
.lc-dash-top h1 { font-size: clamp(26px, 3vw, 34px); letter-spacing: -.04em; }
.lc-dash-top p { color: var(--lc-ink-4); font-size: 13px; margin-top: 4px; }
.lc-dash-summary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 20px; }
.lc-sum { padding: 16px 18px; background: #fff; border: 1px solid var(--lc-line); border-radius: 14px; box-shadow: var(--lc-shadow-xs); }
.lc-sum small { display: block; font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--lc-ink-4); }
.lc-sum strong { display: block; margin-top: 6px; font-size: 24px; font-weight: 600; letter-spacing: -.04em; color: var(--lc-ink); }
.lc-sum span { display: block; margin-top: 2px; font-size: 11.5px; color: var(--lc-ink-4); }
.lc-dash-main .card { margin-bottom: 16px; }
.lc-dash-main .card h3 { font-size: 15px; letter-spacing: -.01em; }
.lc-dash-main h3[style*="uppercase"] { color: var(--lc-ink-4) !important; }
.lc-dash-section-title {
  display: flex; align-items: center; gap: 10px;
  margin: 30px 0 12px; padding-top: 18px;
  border-top: 1px solid var(--lc-line);
  font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--lc-ink-4);
}
.lc-dash-main .acct-hero { background: var(--lc-bg-2); border: 1px solid var(--lc-line); border-radius: 12px; }
.lc-dash-main .sub-grid { border-color: var(--lc-line); }
.lc-dash-main .sub-cell { border-color: var(--lc-line); }
.lc-dash-main .sub-cell .tiny { color: var(--lc-ink-4); }
.lc-dash-main .sub-v { color: var(--lc-ink); }
.lc-dash-main pre { background: var(--lc-bg-2); border: 1px solid var(--lc-line); border-radius: 9px; color: var(--lc-ink-2); }
.lc-dash-main .code-row { background: var(--lc-bg-2); border-color: var(--lc-line); }
.lc-dash-main .code-val { color: var(--lc-ink); }
.lc-dash-main .chart { background: transparent; }
.lc-dash-main .chart-labels { color: var(--lc-ink-4); }
.lc-dash-main .feed-main b, .lc-dash-main .feed-model { color: var(--lc-ink); }
.lc-dash-main .feed-meta, .lc-dash-main .feed-cost { color: var(--lc-ink-4); }
.lc-dash-main .feed-ico { background: var(--lc-bg-2); color: var(--lc-brand-2); }

/* tour */
body.public .tour-card { background: #fff; border: 1px solid var(--lc-line); border-radius: 14px; box-shadow: var(--lc-shadow-lg); color: var(--lc-ink-2); }
body.public .tour-card h4 { color: var(--lc-ink); }
body.public .tour-scrim { background: rgba(16, 24, 40, .38); }
body.public .tour-spot { border: 2px solid var(--lc-brand); box-shadow: 0 0 0 9999px rgba(16, 24, 40, .38); }
body.public .tour-dots i { background: var(--lc-line-3); }
body.public .tour-dots i.on { background: var(--lc-brand); }

/* ---------------------------------------------------------------- 19. motion */
@media (prefers-reduced-motion: no-preference) {
  /* Scroll motion.
     The previous values (12px over 0.5s) were technically a reveal but
     visually nothing: at 12px the movement is indistinguishable from a repaint
     and nobody perceives it as animation. These are the values that actually
     read as motion while staying in an Apple register - a long settle on an
     exponential curve, no bounce.
     Every hiding rule stays inside .lc-motion, which only JS adds, so a failed
     script or a no-JS visitor still sees the whole page. */
  .lc-motion .lc-reveal {
    opacity: 0;
    transform: translate3d(0, 32px, 0);
    transition:
      opacity 760ms var(--lc-ease),
      transform 760ms var(--lc-ease);
    transition-delay: calc(var(--i, 0) * 70ms);
    will-change: opacity, transform;
  }
  .lc-motion .lc-reveal.in {
    opacity: 1;
    transform: none;
  }
  /* Legacy per-child delay classes still work, but --i wins when present so a
     long grid staggers without hand-writing d1..d12. */
  .lc-motion .lc-reveal.d1 { transition-delay: .09s; }
  .lc-motion .lc-reveal.d2 { transition-delay: .18s; }
  .lc-motion .lc-reveal.d3 { transition-delay: .27s; }

  /* Headline emphasis: a heading that lifts slightly further and settles a
     touch slower than the body around it, so the eye lands on it first. */
  .lc-motion h1.lc-reveal { transform: translate3d(0, 44px, 0); }
  .lc-motion h1.lc-reveal.in, .lc-motion h2.lc-reveal.in { transform: none; }

  /* Cards arrive with a touch of scale as well as lift. Scale is cheap on the
     compositor and gives the grid depth without a drop shadow moving. */
  .lc-motion .lc-feature.lc-reveal,
  .lc-motion .lc-usecase.lc-reveal,
  .lc-motion .lc-pack.lc-reveal,
  .lc-motion .lc-model.lc-reveal {
    transform: translate3d(0, 26px, 0) scale(.985);
  }
  .lc-motion .lc-feature.lc-reveal.in,
  .lc-motion .lc-usecase.lc-reveal.in,
  .lc-motion .lc-pack.lc-reveal.in,
  .lc-motion .lc-model.lc-reveal.in {
    transform: none;
  }

  /* Word-by-word headline. .lc-w is injected by lc-ui.js; without JS the
     heading is plain text and fully visible. */
  .lc-motion .lc-w {
    display: inline-block;
    opacity: 0;
    transform: translate3d(0, 26px, 0);
    transition: opacity 700ms var(--lc-ease), transform 700ms var(--lc-ease);
    transition-delay: calc(var(--wi, 0) * 55ms);
  }
  .lc-motion .lc-w.in { opacity: 1; transform: none; }
}

/* Scroll progress rail - a 2px brand line across the top of marketing pages.
   Gives the visitor a sense of position, which is what makes long pages feel
   composed rather than endless. */
.lc-progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 0;
  background: linear-gradient(90deg, var(--lc-brand), var(--lc-brand-2));
  z-index: 90; pointer-events: none; opacity: 0;
  transition: opacity .3s ease;
}
.lc-motion .lc-progress { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .lc-eco-link i, .lc-rail i { animation: none; opacity: .7; }
  .lc-reveal { opacity: 1 !important; transform: none !important; }
}

/* ---------------------------------------------------------------- 20. responsive */
@media (max-width: 1080px) {
  .lc-features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lc-packs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lc-models { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .lc-hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .lc-hero h1 { font-size: clamp(36px, 8.4vw, 54px); }
  .lc-eco { max-width: 560px; margin: 0 auto; width: 100%; }
  .lc-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lc-stat:nth-child(2) { border-right: 0; }
  .lc-stat:nth-child(-n+2) { border-bottom: 1px solid var(--lc-line); }
  .lc-flow { grid-template-columns: 1fr; gap: 10px; }
  .lc-rail { height: 28px; }
  .lc-rail::before { width: 1px; height: 100%; background: repeating-linear-gradient(180deg, var(--lc-line-3) 0 5px, transparent 5px 10px); }
  @keyframes lc-rail {
    0% { transform: translateY(-12px); opacity: 0; }
    20% { opacity: 1; }
    80% { opacity: 1; }
    100% { transform: translateY(12px); opacity: 0; }
  }
  .lc-dev, .lc-security { grid-template-columns: 1fr; }
  body.public .m-foot-grid { grid-template-columns: 1fr 1fr; gap: 26px; }
  /* minmax(0,1fr), not 1fr. A grid item defaults to min-width:auto, so a single
     `1fr` column refuses to shrink below its content's min-content width: the
     sidebar measured 1334px inside a 390px viewport and the entire account page
     was pushed off-screen on a phone. */
  body.public .dash { grid-template-columns: minmax(0, 1fr); }
  .lc-dash-side, .lc-dash-main { min-width: 0; max-width: 100%; }
  .lc-dash-side { position: static; }
  .lc-dash-nav { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  .lc-models { grid-template-columns: 1fr; }
  .lc-detail-grid { grid-template-columns: 1fr; }
  .lc-sec-grid { grid-template-columns: 1fr; }
  .lc-dash-summary { grid-template-columns: 1fr; }
  body.public .grid.g3, body.public .g3,
  body.public .grid.g4, body.public .g4 { grid-template-columns: 1fr; }
  body.public .grid.g2, body.public .g2 { grid-template-columns: 1fr; }
  .lc-hero { padding-top: 40px; }  .lc-stat { padding: 20px 16px; }
  .lc-eco-providers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.public .m-foot-grid { grid-template-columns: 1fr; }
  body.public .m-foot-bottom { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) {
  .lc-features { grid-template-columns: 1fr; }
  .lc-packs { grid-template-columns: 1fr; }
  .lc-hero h1 { font-size: clamp(34px, 10vw, 46px); }
  .lc-hero-actions .btn { width: 100%; }
  .lc-dash-nav { grid-template-columns: 1fr; }
  .lc-search kbd { display: none; }
}
/* Hero on a phone. The removed pill was 33px tall plus its gap, so the phone
   hero opened with a band of nothing; pull the block up to a normal inset and
   let the lead text sit closer to the headline. */
@media (max-width: 700px) {
  .lc-hero { padding-top: 26px; }
  .lc-hero h1 { margin-top: 0; }
  .lc-hero .lc-lead { margin-top: 16px; }
  .lc-hero-actions { margin-top: 22px; }
  .lc-hero-note { margin-top: 18px; }
}

/* ---------------------------------------------------------------- 21. fixes */
body.public .nav-burger span {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: var(--lc-ink);
  transition: transform .16s ease, opacity .16s ease;
}
body.public .nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
body.public .nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
body.public .nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }
body.public .mobile-menu { display: block; }
body.public .mobile-menu[hidden] { display: none; }
body.public .mobile-menu .ccy-mobile { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--lc-line); }
body.public .mobile-menu .ccy-mobile .lbl { display: block; font-size: 10.5px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--lc-ink-4); margin-bottom: 8px; }
body.public .mobile-menu .ccy-row { display: flex; gap: 6px; flex-wrap: wrap; }
body.public .mobile-menu .ccy-row button { padding: 6px 12px; border-radius: 8px; font: 600 12px var(--font-sans); cursor: pointer; }
body.public .ccy-menu {
  background: #fff;
  border: 1px solid var(--lc-line);
  border-radius: 12px;
  box-shadow: var(--lc-shadow-lg);
}
body.public .ccy-menu button { color: var(--lc-ink-2); }
body.public .ccy-menu button:hover { background: var(--lc-bg-2); }
body.public .ccy-menu .ccy-sym, body.public .ccy-menu .ccy-code { color: var(--lc-ink); }
body.public .ccy-menu .ccy-name { color: var(--lc-ink-4); }
body.public .cart-badge { border-color: #fff; }
body.public .brandline { color: var(--lc-brand-2); }
body.public .brandline-sep { color: var(--lc-ink-4); }
body.public .sec-head.minor h2 { font-size: clamp(20px, 2.2vw, 26px); }
body.public .m-foot-brand .brand-tag-sep { color: var(--lc-ink-4); }

/* ============================================================================
   22. Product storytelling - alternating splits, light product mocks, use cases
   ========================================================================== */
body.public .lc-hero::before { display: none; }
body.public .lc-eco-card { background: #FFFFFF; }
body.public .lc-eco-hub { background: #FFFFFF; }
body.public .lc-node.core { background: #FFFFFF; }
body.public .lc-cta { background: #FFFFFF; }
body.public .lc-cta::before { display: none; }

.lc-split {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: clamp(32px, 5.5vw, 80px);
  align-items: center;
}
.lc-split.rev { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); }
.lc-split.rev .lc-split-copy { order: 2; }
.lc-split.rev .lc-split-visual { order: 1; }
.lc-split-copy h2 { font-size: clamp(28px, 3.2vw, 42px); letter-spacing: -.045em; margin: 10px 0 14px; }
.lc-split-copy p { font-size: 16.5px; line-height: 1.68; color: var(--lc-ink-3); max-width: 54ch; }
.lc-split-copy .lc-checks { margin-top: 20px; }

.lc-mock {
  background: #FFFFFF;
  border: 1px solid var(--lc-line);
  border-radius: var(--lc-r-lg);
  box-shadow: var(--lc-shadow-md);
  padding: 16px;
  overflow: hidden;
}
.lc-mock-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 0 12px;
  border-bottom: 1px solid var(--lc-line);
  margin-bottom: 14px;
}
.lc-mock-head .dots { display: flex; gap: 4px; }
.lc-mock-head .dots i { width: 7px; height: 7px; border-radius: 50%; background: #E1E3E8; }
.lc-mock-head b { font-size: 11.5px; color: var(--lc-ink-2); font-weight: 600; }
.lc-mock-head .right { margin-left: auto; font: 10.5px var(--font-mono); color: var(--lc-ink-4); }
.lc-mock-body { display: grid; gap: 10px; }

.lc-req {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 12px;
  border: 1px solid var(--lc-line);
  border-radius: 10px;
  background: var(--lc-bg-2);
  font-size: 12px;
  color: var(--lc-ink-3);
}
.lc-req code { font: 11px var(--font-mono); color: var(--lc-ink-2); }
.lc-req .pill-mini {
  margin-left: auto;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--lc-brand-2);
  background: var(--lc-brand-soft);
  border: 1px solid var(--lc-brand-line);
  border-radius: 999px;
  padding: 3px 7px;
}
.lc-mock-rail { height: 22px; display: flex; align-items: center; justify-content: center; }
.lc-mock-rail::before { content: ""; width: 1px; height: 100%; background: var(--lc-line-3); }
.lc-mock-hub {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--lc-brand-line);
  border-radius: 12px;
  background: #FFFFFF;
}
.lc-mock-hub .mark {
  width: 30px; height: 30px; border-radius: 8px;
  display: grid; place-items: center;
  background: var(--lc-brand-soft);
  color: var(--lc-brand-2);
  border: 1px solid var(--lc-brand-line);
  flex: 0 0 auto;
}
.lc-mock-hub b { display: block; font-size: 12.5px; color: var(--lc-ink); }
.lc-mock-hub small { display: block; font-size: 11px; color: var(--lc-ink-4); }
.lc-mock-hub .ok { margin-left: auto; font-size: 10.5px; font-weight: 700; color: var(--lc-ok); }
.lc-mock-rows { display: grid; gap: 6px; }
.lc-mock-row {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 11px;
  border: 1px solid var(--lc-line);
  border-radius: 9px;
  background: #FFFFFF;
  font-size: 11.5px;
  color: var(--lc-ink-3);
  /* min-width:0 + overflow-wrap, because a flex row refuses to shrink below its
     children's min-content width. The row measured 391px inside a 350px card on
     a 390px phone and `.lc-mock` clips with overflow:hidden, so the model id and
     the price on the right were cut off with no scrollbar to reveal them. */
  min-width: 0;
  overflow-wrap: anywhere;
}
.lc-mock-row .ico {
  width: 22px; height: 22px; border-radius: 6px;
  display: grid; place-items: center;
  background: var(--lc-bg-2);
  color: var(--lc-ink-3);
  font-size: 9.5px;
  font-weight: 700;
  flex: 0 0 auto;
}
.lc-mock-row b { color: var(--lc-ink); font-size: 11.5px; font-weight: 600; min-width: 0; }
/* The meta column holds a model id and a price. It was `white-space:nowrap`
   inside a non-shrinking flex row, which is what pushed the row past its card.
   It may truncate on a narrow phone; the full value is in the text, not an
   ellipsis-only cell. */
.lc-mock-row .meta {
  margin-left: auto; font-family: var(--font-mono); font-size: 10.5px;
  color: var(--lc-ink-4); min-width: 0; max-width: 52%;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.lc-mock-row.on { border-color: var(--lc-brand-line); background: var(--lc-brand-soft); }
.lc-mock-row.on .ico { background: #FFFFFF; color: var(--lc-brand-2); border: 1px solid var(--lc-brand-line); }
.lc-mock-row .check { margin-left: auto; color: var(--lc-brand-2); font-size: 10px; font-weight: 700; }
.lc-mock-foot { display: flex; align-items: center; gap: 8px; padding-top: 10px; border-top: 1px solid var(--lc-line); font-size: 10.5px; color: var(--lc-ink-4); }
.lc-mock-foot .ok { color: var(--lc-ok); font-weight: 700; }

.lc-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.lc-kpi { border: 1px solid var(--lc-line); border-radius: 9px; padding: 10px; background: #FFFFFF; }
.lc-kpi small { display: block; font-size: 9.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--lc-ink-4); }
.lc-kpi b { display: block; margin-top: 4px; font-size: 17px; color: var(--lc-ink); letter-spacing: -.03em; }
.lc-kpi span { display: block; margin-top: 2px; font-size: 10px; color: var(--lc-ok); }
.lc-bars { display: flex; align-items: flex-end; gap: 5px; height: 104px; padding: 12px 4px 0; }
.lc-bars i {
  flex: 1 1 0;
  min-width: 4px;
  border-radius: 3px 3px 0 0;
  background: #E8E9ED;
  height: var(--h, 30%);
}
.lc-bars i.on { background: var(--lc-brand); }
.lc-bars-x { display: flex; justify-content: space-between; font-size: 9.5px; color: var(--lc-ink-4); padding: 6px 4px 0; border-top: 1px solid var(--lc-line); }
.lc-mock-note { font-size: 10px; color: var(--lc-ink-4); text-align: right; margin-top: 8px; }

.lc-wallet-mock { border: 1px solid var(--lc-line); border-radius: 12px; padding: 14px; background: var(--lc-bg-2); }
.lc-wallet-mock .top { display: flex; justify-content: space-between; align-items: baseline; }
.lc-wallet-mock small { font-size: 10px; text-transform: uppercase; letter-spacing: .07em; color: var(--lc-ink-4); }
.lc-wallet-mock .bal { font-size: 30px; font-weight: 600; letter-spacing: -.05em; color: var(--lc-ink); }
.lc-wallet-mock .badge { font-size: 10px; font-weight: 700; color: var(--lc-ok); background: var(--lc-ok-soft); border: 1px solid #ABEFC6; border-radius: 999px; padding: 3px 7px; }
.lc-wallet-bar { height: 7px; border-radius: 999px; background: #E9EAEE; overflow: hidden; margin: 12px 0 6px; }
.lc-wallet-bar i { display: block; height: 100%; width: 38%; background: var(--lc-brand); border-radius: 999px; }
.lc-wallet-split { display: flex; justify-content: space-between; font-size: 10.5px; color: var(--lc-ink-4); }
.lc-tx { display: flex; align-items: center; gap: 9px; padding: 9px 0; border-bottom: 1px solid var(--lc-line); font-size: 11.5px; color: var(--lc-ink-3); }
.lc-tx:last-child { border-bottom: 0; }
.lc-tx .ico { width: 24px; height: 24px; border-radius: 6px; display: grid; place-items: center; background: #FFFFFF; border: 1px solid var(--lc-line); color: var(--lc-brand-2); }
.lc-tx b { color: var(--lc-ink); font-weight: 600; }
.lc-tx .amt { margin-left: auto; font-family: var(--font-mono); font-size: 11px; color: var(--lc-ink); }
.lc-tx .amt.pos { color: var(--lc-ok); }

.lc-usecases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.lc-usecase {
  display: flex; flex-direction: column;
  background: #FFFFFF;
  border: 1px solid var(--lc-line);
  border-radius: var(--lc-r-lg);
  overflow: hidden;
  transition: border-color .16s ease, box-shadow .16s ease, transform .16s var(--lc-ease);
}
.lc-usecase:hover { border-color: var(--lc-line-2); box-shadow: var(--lc-shadow-md); transform: translateY(-2px); }
.lc-usecase-art {
  height: 132px;
  display: grid;
  place-items: center;
  background:
    linear-gradient(#FFFFFF, #FAFAFA);
  border-bottom: 1px solid var(--lc-line);
  position: relative;
  overflow: hidden;
}
.lc-usecase-art::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(17, 17, 17, .04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(17, 17, 17, .04) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: radial-gradient(circle at 50% 50%, #000, transparent 78%);
}
.lc-usecase-art svg { position: relative; color: var(--lc-ink-2); }
.lc-usecase-art svg .acc { color: var(--lc-brand); }
.lc-usecase-body { padding: 16px 18px 18px; }
.lc-usecase-body h3 { font-size: 15px; margin: 0 0 5px; letter-spacing: -.02em; }
.lc-usecase-body p { font-size: 13.5px; line-height: 1.6; color: var(--lc-ink-3); }

/* light code panels (no dark cards anywhere) */
.lc-code-card {
  background: #FAFAFA;
  border: 1px solid var(--lc-line);
  box-shadow: var(--lc-shadow-sm);
}
.lc-code-head { background: #FFFFFF; border-bottom-color: var(--lc-line); }
.lc-code-dots i { background: #DDE0E6; }
.lc-code-tabs button { color: var(--lc-ink-3); }
.lc-code-tabs button[aria-selected="true"] { background: var(--lc-bg-2); color: var(--lc-ink); }
.lc-code-copy { border-color: var(--lc-line-2); color: var(--lc-ink-3); background: #FFFFFF; }
.lc-code-copy:hover { color: var(--lc-ink); border-color: var(--lc-line-3); }
.lc-code-body pre { color: #24292F; }
.lc-code-body pre .k { color: #6D28D9; }
.lc-code-body pre .s { color: #0A7A4B; }
.lc-code-body pre .c { color: #6E7781; }
.lc-code-foot { border-top-color: var(--lc-line); color: var(--lc-ink-4); background: #FFFFFF; }
.lc-code-foot .ok { color: var(--lc-ok); }
.lc-detail-code { background: #FAFAFA; color: #24292F; border: 1px solid var(--lc-line); }
body.public .code { background: #FAFAFA; border-color: var(--lc-line); }
body.public .code-head { background: #FFFFFF; border-bottom-color: var(--lc-line); color: var(--lc-ink-4); }
body.public .code pre { color: #24292F; white-space: pre-wrap; overflow-wrap: anywhere; }
body.public .copy-btn { border-color: var(--lc-line-2); color: var(--lc-ink-3); background: #FFFFFF; }
body.models-light .mk-dev-code { background: #FAFAFA; border-color: var(--lc-line); }
body.models-light .mk-dev-code pre { color: #24292F; }
body.models-light .mk-code-head { background: #FFFFFF; border-color: var(--lc-line); color: var(--lc-ink-4); }

/* security visual */
.lc-controls { background: #FFFFFF; border: 1px solid var(--lc-line); border-radius: var(--lc-r-lg); box-shadow: var(--lc-shadow-sm); padding: 8px 18px; }
.lc-control { display: flex; align-items: flex-start; gap: 11px; padding: 14px 0; border-bottom: 1px solid var(--lc-line); }
.lc-control:last-child { border-bottom: 0; }
.lc-control .ico { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; background: var(--lc-ok-soft); color: var(--lc-ok); flex: 0 0 auto; }
.lc-control b { display: block; font-size: 13px; color: var(--lc-ink); }
.lc-control span { display: block; font-size: 12px; color: var(--lc-ink-4); margin-top: 2px; line-height: 1.5; }

@media (max-width: 960px) {
  /* minmax(0,1fr), NOT 1fr. A grid item defaults to min-width:auto, so a bare
     `1fr` refuses to shrink below its content's min-content width: the copy
     column measured 425px inside a 390px viewport and its H2 ran 55px past the
     screen edge. The page still reported scrollWidth == innerWidth because the
     section clips, so an overflow check alone does NOT catch this — measure the
     column, and always use minmax(0,1fr) for a single-column collapse. */
  .lc-split, .lc-split.rev { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .lc-split.rev .lc-split-copy, .lc-split.rev .lc-split-visual { order: initial; }
  .lc-usecases { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .lc-usecases { grid-template-columns: 1fr; }
  .lc-kpis { grid-template-columns: 1fr 1fr; }
  .lc-hero h1 .lc-line:last-child { font-size: inherit; white-space: normal; }
}

/* ============================================================================
   23. Kill the legacy dark masthead recipe on every public page
   The old system painted the first section head as a dark cinematic card.
   Every public page now opens on the same white canvas.
   ========================================================================== */
body.public main > section:first-of-type .sec-head:not(.minor),
body.public main > section:first-of-type > .m-wrap > .m-head,
body.public main > section.hero:first-of-type > .wrap,
body.public .m-pagehead > .wrap,
body.public .m-pagehead > .wrap-narrow {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  color: var(--lc-ink) !important;
  overflow: visible !important;
  isolation: auto !important;
  margin-top: 0 !important;
}
body.public main > section:first-of-type .sec-head:not(.minor)::before,
body.public main > section:first-of-type .sec-head:not(.minor)::after,
body.public main > section:first-of-type > .m-wrap > .m-head::before,
body.public main > section:first-of-type > .m-wrap > .m-head::after,
body.public main > section.hero:first-of-type > .wrap::before,
body.public main > section.hero:first-of-type > .wrap::after,
body.public .m-pagehead > .wrap::before,
body.public .m-pagehead > .wrap::after,
body.public .m-pagehead > .wrap-narrow::before,
body.public .m-pagehead > .wrap-narrow::after { display: none !important; content: none !important; }
body.public main > section:first-of-type .sec-head:not(.minor) h1,
body.public main > section:first-of-type .sec-head:not(.minor) h2,
body.public main > section:first-of-type > .m-wrap > .m-head h1,
body.public main > section:first-of-type > .m-wrap > .m-head h2,
body.public main > section.hero:first-of-type h1,
body.public .m-pagehead h1,
body.public .m-pagehead h2 { color: var(--lc-ink) !important; }
body.public main > section:first-of-type .sec-head:not(.minor) p,
body.public main > section:first-of-type > .m-wrap > .m-head p,
body.public .m-pagehead p { color: var(--lc-ink-3) !important; }
body.public main > section:first-of-type .sec-head:not(.minor) .m-kicker,
body.public main > section:first-of-type > .m-wrap > .m-head .m-kicker,
body.public .m-pagehead .m-kicker { color: var(--lc-brand-2) !important; }
body.public main > section:first-of-type .sec-head:not(.minor) .m-kicker::before,
body.public main > section:first-of-type > .m-wrap > .m-head .m-kicker::before,
body.public .m-pagehead .m-kicker::before { background: var(--lc-brand) !important; box-shadow: 0 0 0 4px var(--lc-brand-soft) !important; }
body.public .m-pagehead .eyebrow,
body.public .m-pagehead .m-eyebrow {
  background: var(--lc-brand-soft) !important;
  border-color: var(--lc-brand-line) !important;
  color: var(--lc-brand-2) !important;
}
body.models-light .mk-title em {
  background: none !important;
  -webkit-text-fill-color: var(--lc-brand-2) !important;
  color: var(--lc-brand-2) !important;
}
body.public .m-mast-video,
body.public .m-mast-scrim { display: none !important; }
body.public .sec-head .brandline { color: var(--lc-brand-2) !important; }

/* compact dashboard navigation on phones/tablets */
@media (max-width: 960px) {
  body.public .lc-dash-side { padding: 10px; }
  body.public .lc-dash-user {
    display: flex; align-items: center; gap: 10px;
    padding: 0 4px 9px; margin-bottom: 8px;
    border-bottom: 0;
  }
  body.public .lc-dash-user b { font-size: 13.5px; }
  body.public .lc-dash-user span { font-size: 11px; max-width: 40vw; }
  body.public .lc-dash-balance { margin: 0 0 0 auto; padding: 6px 10px; }
  body.public .lc-dash-balance small { font-size: 8.5px; }
  body.public .lc-dash-balance strong { font-size: 17px; }
  body.public .lc-dash-nav {
    display: flex; gap: 6px; overflow-x: auto;
    padding-bottom: 4px; -webkit-overflow-scrolling: touch;
  }
  body.public .lc-dash-nav .label { display: none; }
  body.public .lc-dash-nav a {
    flex: 0 0 auto; white-space: nowrap;
    background: var(--lc-bg-2); padding: 7px 10px; font-size: 12px;
  }
  body.public .lc-dash-nav a svg { width: 13px; height: 13px; }
}

/* legacy hero/sub + card accents */
body.public main > section.hero:first-of-type { padding: 48px 0 8px !important; }
body.public main > section.hero:first-of-type .sub,
body.public .hero .sub { color: var(--lc-ink-3) !important; font-size: 17px !important; line-height: 1.65 !important; max-width: 62ch; }
body.public .card::before { display: none !important; content: none !important; }
body.public .card:hover {
  border-color: var(--lc-line-2) !important;
  box-shadow: var(--lc-shadow-md) !important;
  transform: none !important;
}
body.public .feed-ico { background: var(--lc-brand-soft); color: var(--lc-brand-2); }
body.public .stat { border-right-color: var(--lc-line); }
body.public .stat .v { color: var(--lc-ink); }
body.public .stat .l { color: var(--lc-ink-4); }
body.public .pg-select { width: auto; min-width: 220px; }

/* ============================================================================
   24. Motion blocks (adapted from the local Vengeance UI / Magic UI parts bin)
   - provider marquee (Magic UI marquee / LogoSlider pattern)
   - line-hover navigation (Vengeance line-hover-link)
   - subtle magnetic CTA (Vengeance magnetic-button)
   - hero parallax + beam pulse
   All are vanilla, compositor-safe and reduced-motion safe.
   ========================================================================== */
.lc-provider-strip { padding: 26px 0 30px; }
.lc-provider-strip p {
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--lc-ink-4);
  margin: 0 0 16px;
}
.lc-marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}
.lc-marquee-track {
  display: flex;
  width: max-content;
  animation: lc-marquee 42s linear infinite;
  will-change: transform;
}
.lc-marquee:hover .lc-marquee-track { animation-play-state: paused; }
.lc-marquee-group {
  display: flex;
  align-items: center;
  gap: 44px;
  padding-right: 44px;
  flex: 0 0 auto;
}
.lc-marquee-group span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--lc-ink-3);
  white-space: nowrap;
}
.lc-marquee-group span b {
  width: 22px; height: 22px; border-radius: 6px;
  display: grid; place-items: center;
  background: var(--lc-bg-2);
  border: 1px solid var(--lc-line);
  color: var(--lc-ink-4);
  font-size: 10px;
  font-weight: 700;
}
@keyframes lc-marquee { to { transform: translate3d(-50%, 0, 0); } }

.lc-nav-link { position: relative; }
.lc-nav-link::after {
  content: "";
  position: absolute;
  left: 11px; right: 11px; bottom: 3px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: 100% 50%;
  transition: transform .28s var(--lc-ease);
  pointer-events: none;
}
.lc-nav-link:hover::after,
.lc-nav-link[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: 0% 50%;
}

.lc-magnetic { will-change: transform; transition: transform .18s var(--lc-ease); }
.lc-eco[data-lc-parallax] { will-change: transform; }

@media (prefers-reduced-motion: reduce) {
  .lc-marquee-track { animation: none; width: auto; flex-wrap: wrap; justify-content: center; }
  .lc-marquee { -webkit-mask-image: none; mask-image: none; }
  .lc-marquee-group { flex-wrap: wrap; justify-content: center; padding-right: 0; }
  .lc-nav-link::after { transition: none; }
}

/* ============================================================================
   25. Contrast fixes found by the automated audit
   ========================================================================== */
body.public .lc-mock-row .meta { color: var(--lc-ink-3); }
body.public .lc-mock-row.on .meta { color: var(--lc-ink-2); }
body.public .lc-code-body pre .c { color: #5B6570; }
body.public .chip-radio small { color: var(--lc-ink-3); }
body.public .code-head,
body.public .code-head .title { color: var(--lc-ink-3) !important; }

/* currency menu on every public page */
body.public .ccy-menu button,
body.public .ccy-menu button span,
body.public .ccy-menu .ccy-name,
body.public .ccy-menu .ccy-code,
body.public .ccy-menu .ccy-sym { color: var(--lc-ink-2) !important; }
body.public .ccy-menu button:hover { background: var(--lc-bg-2) !important; }
body.public .ccy-menu button[aria-selected="true"] { background: var(--lc-brand-soft) !important; color: var(--lc-brand-2) !important; }
body.public .ccy-menu button[aria-selected="true"] span { color: var(--lc-brand-2) !important; }

/* models page legacy filter + code colours */
body.models-light .mk-filter-group h3 { color: var(--lc-ink-4) !important; }
body.models-light .mk-filter-group h3 span { color: var(--lc-ink-4) !important; }
body.models-light .mk-hint { color: var(--lc-ink-3) !important; }
body.models-light .mk-check span { color: var(--lc-ink-2) !important; }
body.models-light .mk-check b { color: var(--lc-ink-4) !important; }
body.models-light .mk-price-filter > span,
body.models-light .mk-price-filter label span,
body.models-light .mk-cur { color: var(--lc-ink-3) !important; }
body.models-light .mk-price-filter label { background: #FFFFFF !important; border-color: var(--lc-line-2) !important; }
body.models-light .mk-price-filter input { color: var(--lc-ink) !important; background: transparent !important; }
body.models-light .mk-btn-clear {
  background: #FFFFFF !important;
  color: var(--lc-ink-2) !important;
  border: 1px solid var(--lc-line-2) !important;
}
body.models-light .mk-btn-clear:hover { background: var(--lc-bg-2) !important; }
body.models-light .mk-code-head,
body.models-light .mk-code-head span { color: var(--lc-ink-3) !important; }
body.models-light .mk-code-copy {
  background: #FFFFFF !important;
  color: var(--lc-ink-3) !important;
  border: 1px solid var(--lc-line-2) !important;
}
body.models-light .mk-dev-code pre,
body.models-light .mk-dev-code pre span { color: #24292F !important; }
body.models-light .mk-endpoint code,
body.models-light .mk-dev-copy code { color: var(--lc-ink-2) !important; }
body.public .m-foot-desc { font-size: 13.5px; color: var(--lc-ink-4); max-width: 36ch; margin: 12px 0 0; line-height: 1.55; }
body.public .m-foot-brand .lx-logo { margin-bottom: 2px; }

/* ============================================================================
   26. Authentication pages - spacious, white, premium
   ========================================================================== */
body.public .auth-page { padding: clamp(34px, 5vw, 64px) 0 clamp(48px, 7vw, 88px); }
body.public .auth-shell { max-width: 470px; margin: 0 auto; }
body.public .auth-head { text-align: center; margin-bottom: 26px; }
body.public .auth-head .brandline { display: inline-block; margin-bottom: 14px; }
body.public .auth-head h1 {
  font-size: clamp(28px, 3.3vw, 38px);
  line-height: 1.08;
  letter-spacing: -.045em;
  margin: 0 0 10px;
}
body.public .auth-head p { font-size: 15px; line-height: 1.6; color: var(--lc-ink-3); max-width: 38ch; margin: 0 auto; }
body.public .auth-subnote { font-size: 12.5px; color: var(--lc-ink-4); margin-top: 8px; }
body.public .auth-card { padding: clamp(22px, 3.4vw, 32px); border-radius: 16px; box-shadow: var(--lc-shadow-sm); }
body.public .auth-card .oauth-google-btn {
  border: 1px solid var(--lc-line-2);
  box-shadow: var(--lc-shadow-xs);
  font-weight: 600;
  color: var(--lc-ink) !important;
}
body.public .auth-card .oauth-google-btn:hover { background: var(--lc-bg-2); border-color: var(--lc-line-3); transform: none; box-shadow: var(--lc-shadow-sm); }
body.public .auth-divider {
  display: flex; align-items: center; gap: 12px;
  margin: 20px 0;
  color: var(--lc-ink-4);
  font-size: 11.5px;
  letter-spacing: .04em;
  text-transform: uppercase;
}
body.public .auth-divider::before,
body.public .auth-divider::after { content: ""; flex: 1; height: 1px; background: var(--lc-line); }
body.public .pw-wrap { position: relative; }
body.public .pw-wrap input { width: 100%; padding-right: 46px; }
body.public .pw-toggle {
  position: absolute; top: 50%; right: 5px; transform: translateY(-50%);
  width: 34px; height: 34px; border: 0; border-radius: 7px;
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent; color: var(--lc-ink-4); cursor: pointer;
}
body.public .pw-toggle:hover { background: var(--lc-bg-2); color: var(--lc-ink); }
body.public .pw-toggle[aria-pressed="true"] { color: var(--lc-brand-2); }
body.public .auth-row { display: flex; justify-content: flex-end; margin: -2px 0 14px; }
body.public .auth-link { font-size: 13px; font-weight: 600; color: var(--lc-brand-2); }
body.public .auth-link:hover { text-decoration: underline; }
body.public .auth-foot { text-align: center; margin: 20px 0 0; font-size: 14px; color: var(--lc-ink-3); }
body.public .auth-foot a { color: var(--lc-brand-2); font-weight: 600; }
body.public .auth-foot a:hover { text-decoration: underline; }
body.public .auth-terms { text-align: center; margin: 10px 0 0; font-size: 11.5px; color: var(--lc-ink-4); }
body.public .auth-terms a { color: var(--lc-ink-3); text-decoration: underline; }
body.public .auth-card .field { margin-bottom: 15px; }
body.public .auth-card .field label { font-size: 12.5px; color: var(--lc-ink-2); margin-bottom: 6px; }
body.public .auth-card input { min-height: 46px; font-size: 15px; }
body.public .auth-card .btn-lg { min-height: 48px; }
@media (max-width: 560px) {
  body.public .auth-page { padding-top: 26px; }
  body.public .auth-head h1 { font-size: 28px; }
  body.public .auth-card { padding: 20px 18px; }
}

/* ============================================================================
   27. Checkout journey
   ========================================================================== */
body.public .co-wrap { max-width: 1080px; }
body.public .co-steps {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  list-style: none; padding: 0; margin: 0 0 28px; flex-wrap: wrap;
}
body.public .co-step {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 11.5px; color: var(--lc-ink-4); font-weight: 500;
}
body.public .co-step-n {
  width: 22px; height: 22px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--lc-line-2);
  background: #fff; font-size: 10.5px; font-weight: 700;
}
body.public .co-step.done .co-step-n { background: var(--lc-ok-soft); border-color: #ABEFC6; color: var(--lc-ok); }
body.public .co-step.on .co-step-n { background: var(--lc-brand); border-color: var(--lc-brand); color: #fff; }
body.public .co-step.on .co-step-l { color: var(--lc-ink); font-weight: 700; }
body.public .co-step:not(:last-child)::after {
  content: ""; width: 22px; height: 1px; background: var(--lc-line); margin-left: 2px;
}
body.public .co-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) 366px;
  gap: 28px; align-items: start;
}
body.public .co-card { padding: 24px; }
body.public .co-card h2 { margin: 0; }
body.public .co-card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
body.public .co-eyebrow { display: block; font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--lc-brand-2); }
body.public .co-card-top h2 { font-size: 34px; letter-spacing: -.045em; margin: 6px 0 2px; }
body.public .co-card-top h2 small { font-size: 14px; color: var(--lc-ink-4); font-weight: 600; letter-spacing: 0; }
body.public .co-card-top p { font-size: 13px; color: var(--lc-ink-3); margin: 0; }
body.public .co-list { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; border-top: 1px solid var(--lc-line); padding-top: 18px; }
body.public .co-list li { display: flex; gap: 9px; font-size: 13.5px; color: var(--lc-ink-3); }
body.public .co-list svg { flex: 0 0 auto; color: var(--lc-ok); margin-top: 2px; }
body.public .co-list b { color: var(--lc-ink); }

body.public .co-summary { position: sticky; top: 82px; padding: 22px; }
body.public .co-summary h2 { font-size: 15px; margin: 0 0 14px; }
body.public .co-lines { margin: 0; }
body.public .co-lines > div { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; font-size: 13.5px; }
body.public .co-lines dt { color: var(--lc-ink-3); }
body.public .co-lines dd { margin: 0; color: var(--lc-ink); font-weight: 600; font-variant-numeric: tabular-nums; }
body.public .co-lines .co-muted { color: var(--lc-ink-4); font-weight: 400; }
body.public .co-total { border-top: 1px solid var(--lc-line); margin-top: 8px; padding-top: 13px !important; }
body.public .co-total dt { font-weight: 700; color: var(--lc-ink) !important; }
body.public .co-total dd { font-size: 19px; letter-spacing: -.02em; }
body.public .co-note { font-size: 11.5px; color: var(--lc-ink-4); line-height: 1.5; margin: 12px 0 0; }
body.public .co-summary .btn { margin-top: 16px; }
body.public .co-summary .btn + .btn { margin-top: 8px; }
body.public .co-trust { display: flex; gap: 7px; align-items: flex-start; margin-top: 16px; padding-top: 13px; border-top: 1px solid var(--lc-line); font-size: 11px; color: var(--lc-ink-4); }
body.public .co-trust svg { flex: 0 0 auto; color: var(--lc-ok); margin-top: 1px; }

body.public .co-mode { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
body.public .co-mode-opt { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border: 1px solid var(--lc-line-2); border-radius: 10px; background: #fff; cursor: pointer; }
body.public .co-mode-opt:has(input:checked) { border-color: var(--lc-brand); background: var(--lc-brand-soft); }
body.public .co-mode-opt input { accent-color: var(--lc-brand); }
body.public .co-mode-opt b { display: block; font-size: 12.5px; color: var(--lc-ink); }
body.public .co-mode-opt small { display: block; font-size: 10.5px; color: var(--lc-ink-4); }
body.public .co-custom { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; padding: 20px 22px; margin-top: 18px; }
body.public .co-label { font-size: 13px; font-weight: 700; color: var(--lc-ink); }
body.public .co-custom-form { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
body.public .co-amount-input { display: flex; align-items: center; gap: 4px; border: 1px solid var(--lc-line-2); border-radius: 10px; padding: 0 12px; height: 42px; background: #fff; }
body.public .co-amount-input span { font-weight: 700; color: var(--lc-ink); }
body.public .co-amount-input input { width: 100px; border: 0; outline: 0; min-height: 0; padding: 0; font: 700 16px var(--font-sans); }
body.public .co-secure { text-align: center; font-size: 11.5px; color: var(--lc-ink-4); margin-top: 18px; }

body.public .co-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
body.public .co-form-grid.three { grid-template-columns: 1fr 1fr 1fr; }
body.public .co-opt { color: var(--lc-ink-4); font-weight: 400; font-size: 11px; }
body.public .co-form-actions { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-top: 8px; padding-top: 16px; border-top: 1px solid var(--lc-line); }
body.public .co-billing { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--lc-line); }
body.public .co-billing-head { display: flex; justify-content: space-between; gap: 10px; font-size: 12.5px; margin-bottom: 6px; }
body.public .co-billing-head a { color: var(--lc-brand-2); font-weight: 600; }
body.public .co-billing p { margin: 0; font-size: 12.5px; line-height: 1.6; color: var(--lc-ink-3); }
body.public .co-billing p b { color: var(--lc-ink); }
body.public .co-provider { margin-top: 18px; }
body.public .co-provider > b { display: block; font-size: 12.5px; color: var(--lc-ink); margin-bottom: 8px; }
body.public .co-provider-card { display: flex; gap: 11px; align-items: center; padding: 13px 14px; border: 1px solid var(--lc-line); border-radius: 11px; background: #fff; }
body.public .co-provider-ico { width: 34px; height: 34px; border-radius: 8px; display: grid; place-items: center; background: var(--lc-bg-2); color: var(--lc-brand-2); flex: 0 0 auto; }
body.public .co-provider-card b { display: block; font-size: 12.5px; color: var(--lc-ink); }
body.public .co-provider-card span { display: block; font-size: 11.5px; color: var(--lc-ink-4); }
body.public .co-terms { font-size: 10.5px; color: var(--lc-ink-4); line-height: 1.5; margin: 12px 0 0; }
body.public .co-terms a { text-decoration: underline; }
body.public .co-manual { margin-top: 12px; padding: 12px; border: 1px solid var(--lc-line); border-radius: 10px; background: var(--lc-bg-2); }

body.public .co-status-wrap { max-width: 680px; }
body.public .co-status { padding: clamp(26px, 4vw, 42px); text-align: center; }
body.public .co-status-ico { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 16px; }
body.public .co-status-paid .co-status-ico { background: var(--lc-ok-soft); color: var(--lc-ok); border: 1px solid #ABEFC6; }
body.public .co-status-pending .co-status-ico { background: var(--lc-warn-soft); color: var(--lc-warn); border: 1px solid #FEDF89; }
body.public .co-status-failed .co-status-ico { background: var(--lc-danger-soft); color: var(--lc-danger); border: 1px solid #FECDCA; }
body.public .co-status h1 { font-size: clamp(26px, 3.4vw, 36px); letter-spacing: -.04em; margin: 0 0 8px; }
body.public .co-status-lede { font-size: 15px; color: var(--lc-ink-3); max-width: 46ch; margin: 0 auto 22px; line-height: 1.6; }
body.public .co-status-lines { display: grid; gap: 0; text-align: left; margin: 0 auto; max-width: 460px; border-top: 1px solid var(--lc-line); }
body.public .co-status-lines > div { display: flex; justify-content: space-between; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--lc-line); font-size: 13px; }
body.public .co-status-lines dt { color: var(--lc-ink-4); }
body.public .co-status-lines dd { margin: 0; color: var(--lc-ink); font-weight: 600; text-align: right; word-break: break-word; }
body.public .co-status-actions { display: flex; gap: 9px; justify-content: center; flex-wrap: wrap; margin-top: 22px; }
body.public .co-badge { display: inline-flex; padding: 2px 8px; border-radius: 999px; font-size: 11px; font-weight: 700; text-transform: capitalize; }
body.public .co-badge-paid { background: var(--lc-ok-soft); color: var(--lc-ok); }
body.public .co-badge-pending { background: var(--lc-warn-soft); color: var(--lc-warn); }
body.public .co-badge-failed { background: var(--lc-danger-soft); color: var(--lc-danger); }
body.public .co-status-help { text-align: center; margin-top: 18px; }
body.public .co-status-help a { color: var(--lc-brand-2); }

@media (max-width: 900px) {
  body.public .co-grid { grid-template-columns: 1fr; }
  body.public .co-summary { position: static; order: 2; }
  body.public .co-form-grid, body.public .co-form-grid.three { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  body.public .co-steps { gap: 5px; }
  body.public .co-step:not(.on) .co-step-l { display: none; }
  body.public .co-step.on .co-step-l { font-size: 12px; }
  body.public .co-step:not(:last-child)::after { width: 14px; }
  body.public .co-custom { flex-direction: column; align-items: stretch; }
  body.public .co-custom-form { justify-content: stretch; }
  body.public .co-amount-input { flex: 1; }
}
body.public .co-mode-opt small { color: var(--lc-ink-3); }
.pgw-toggle { display: none; }
@media (max-width: 1120px) { .pgw-toggle { display: inline-flex; } }
body.public .pgw-toggle { display: none; }
@media (max-width: 1120px) { body.public .pgw-toggle { display: inline-flex; } }

/* ---- homepage discovery teaser -------------------------------------------
   Six cards instead of the full catalogue. A plain 3-col grid leaves the last
   row with two cards and a hole, so the teaser uses a deliberate 3x2 that
   collapses cleanly to 2x3 and then 1 column. */
.lc-models-six { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 980px) { .lc-models-six { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .lc-models-six { grid-template-columns: minmax(0, 1fr); } }

.lc-more-lead {
  display: flex; gap: 10px; flex-wrap: wrap; justify-content: center;
  margin-top: 26px;
}
.lc-more-lead .btn { min-height: 46px; }

/* ---- legal / generic page-head gutter ------------------------------------
   `body.public .m-pagehead > .wrap-narrow { padding: 0 !important }` (a reset
   that strips marketing.css's tinted hero card) also strips the HORIZONTAL
   gutter. On a phone that put the eyebrow, H1 and date line flush against the
   viewport edge while every section below kept its 20px inset, so the head
   looked misaligned and cramped. Re-assert the sides only; the vertical zero
   stays, because that reset exists on purpose to remove the hero's padding.

   Placed at the end of this sheet on purpose: `!important` beats any specificity
   of the earlier reset, so this must come after it in source order. */
body.public .m-pagehead > .wrap,
body.public .m-pagehead > .wrap-narrow {
  padding-left: clamp(20px, 3.2vw, 40px) !important;
  padding-right: clamp(20px, 3.2vw, 40px) !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

/* ============================================================================
   30. Decorative indicators removed (Rahul, 20 Nov 2026)
   "all such indicator from the site it looks ai made"
   ----------------------------------------------------------------------------
   Small coloured dots before labels are the single most recognisable
   generated-template tell: a template kit ships them on every card header,
   every section label and every "Available" chip, and they never carry state.
   The marketing.css pass at line ~1850 already killed the dot before labels;
   these are the ones that survived in the redesign layer and in the mock cards.

   Each rule keeps the element in the DOM (the markup is shared and the JS/CSS
   around it is intact) and only removes its painted shape, so nothing reflows
   and no template has to change.
   ========================================================================= */
.lc-mock-head .dots,
.lc-code-dots,
.mk-dots,
.lc-eco-app .dot-row,
.lc-provrow .dot,
.lc-model-status i,
.lc-eco-link i { display: none !important; }

/* The economy diagram's connector was a 1px gradient line with a pulsing dot
   riding it. With the dot gone the line still shows the flow, so keep it and
   drop the animation that made it read as a fake live indicator. */
.lc-eco-link i { animation: none !important; }

/* ============================================================================
   31. Finger-sized tap targets on touch devices (Rahul, 20 Nov 2026)
   ----------------------------------------------------------------------------
   Two controls were measured below the 44px minimum on a real 390px viewport:
   the code-sample language tabs / Copy button (24-26px) and the model card's
   "View details" (28px). `@media (pointer: coarse)` is the correct gate — it
   targets fingers without inflating a desktop mouse layout, where a dense
   24px chip is fine and expected.
   ========================================================================= */
@media (pointer: coarse) {
  body.public .copy-btn,
  .mk-code-copy,
  .mk-details {
    min-height: 44px;
    padding: 8px 14px;
  }
  /* `.btn-sm` in this sheet pins min-height:34px, and lc-light.css loads AFTER
     responsive.css — so responsive.css's own `pointer:coarse { .btn-sm {
     min-height:44px } }` loses on source order. Every small secondary control
     ("All guides", "Get tokens") therefore stayed 34px on a real phone. This is
     the rule that actually wins; keep it at the END of the sheet. */
  body.public .btn-sm { min-height: 44px; padding: 0 14px; }
  /* Language tabs sit in one row; keep them comfortable without forcing the
     row taller than the code card's header. */
  body.public .lc-code-tabs { gap: 6px; }
}
