/* =========================================================
   Lumeglint — lumeglint.css
   Brand Prefix: lmg
   Palette: Deep Plum-Black #1A1523 / Mauve Rose #D4A8C7 / Magenta CTA #B8245C
   Fonts: IvyPresto Display / DM Sans / JetBrains Mono
   ========================================================= */

/* ---------------------------------------------------------
   CSS Custom Properties
   --------------------------------------------------------- */
:root {
  --lmg-plum:            #1A1523;
  --lmg-plum-alt:        #251C2E;
  --lmg-mauve-deco:      #D4A8C7;
  --lmg-mauve-aa-light:  #7A4B6A;
  --lmg-mauve-aa-dark:   #E8C4DA;
  --lmg-cta:             #B8245C;
  --lmg-cta-light:       #9E1F52;
  --lmg-cta-hover:       #8A1A48;
  --lmg-cream:           #F0E8E0;
  --lmg-fg-light-1:      #1A1523;
  --lmg-fg-light-2:      #5C4E5C;
  --lmg-fg-dark-1:       #F5EFF5;
  --lmg-fg-dark-2:       #B8A8B8;
  --lmg-bg-light:        #FDFAF8;
  --lmg-bg-white:        #FFFFFF;
  --lmg-bg-off:          #F5F0EC;
  --lmg-bg-mist:         #EDE6E8;
  --lmg-border-light:    rgba(26,21,35,0.12);
  --lmg-border-dark:     rgba(255,255,255,0.12);

  --lmg-font-display:    'IvyPresto Display', Georgia, 'Times New Roman', serif;
  --lmg-font-body:       'DM Sans', system-ui, -apple-system, sans-serif;
  --lmg-font-mono:       'JetBrains Mono', 'Courier New', monospace;

  --lmg-display:    clamp(3.5rem, 6vw, 6.5rem);
  --lmg-h1:         clamp(2.4rem, 4vw, 4rem);
  --lmg-h2:         clamp(1.8rem, 3vw, 2.8rem);
  --lmg-h3:         clamp(1.25rem, 2vw, 1.6rem);
  --lmg-body-lg:    1.125rem;
  --lmg-body:       1rem;
  --lmg-small:      0.875rem;

  --lmg-container:  1280px;
  --lmg-gutter:     24px;
  --lmg-gap:        32px;
  --lmg-rad-card:   4px;
  --lmg-rad-btn:    2px;
  --lmg-rad-pill:   999px;

  --lmg-nav-h:      64px;
  --lmg-section-py-d: 96px;
  --lmg-section-py-m: 56px;
}

/* ---------------------------------------------------------
   Reset
   --------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--lmg-font-body);
  font-size: var(--lmg-body);
  line-height: 1.65;
  color: var(--lmg-fg-light-1);
  background: var(--lmg-bg-light);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; }
ul, ol { list-style: none; }

/* ---------------------------------------------------------
   Typography
   --------------------------------------------------------- */
.lmg-display {
  font-family: var(--lmg-font-display);
  font-size: var(--lmg-display);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.02em;
}
.lmg-h1 {
  font-family: var(--lmg-font-display);
  font-size: var(--lmg-h1);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
h1, .lmg-h1-tag {
  font-family: var(--lmg-font-display);
  font-size: var(--lmg-h1);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
h2 {
  font-family: var(--lmg-font-display);
  font-size: var(--lmg-h2);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
h3 {
  font-family: var(--lmg-font-display);
  font-size: var(--lmg-h3);
  font-weight: 300;
  line-height: 1.3;
}
h4, h5, h6 {
  font-family: var(--lmg-font-body);
  font-weight: 600;
  line-height: 1.3;
}

.lmg-eyebrow {
  font-family: var(--lmg-font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 1rem;
}

.lmg-body-lg {
  font-size: var(--lmg-body-lg);
  line-height: 1.7;
}

/* ---------------------------------------------------------
   Layout Utilities
   --------------------------------------------------------- */
.lmg-container {
  max-width: var(--lmg-container);
  margin: 0 auto;
  padding: 0 var(--lmg-gutter);
}

.lmg-section {
  padding: var(--lmg-section-py-d) 0;
}

.lmg-section--dark {
  background: var(--lmg-plum);
}
.lmg-section--dark-alt {
  background: var(--lmg-plum-alt);
}
.lmg-section--light {
  background: var(--lmg-bg-light);
}
.lmg-section--light-alt {
  background: var(--lmg-bg-off);
}
.lmg-section--mist {
  background: var(--lmg-bg-mist);
}
.lmg-section--white {
  background: var(--lmg-bg-white);
}

/* ---------------------------------------------------------
   Eyebrow colors — context-scoped
   --------------------------------------------------------- */
.lmg-section--dark .lmg-eyebrow,
.lmg-section--dark-alt .lmg-eyebrow {
  color: var(--lmg-mauve-aa-dark);
}
.lmg-section--light .lmg-eyebrow,
.lmg-section--light-alt .lmg-eyebrow,
.lmg-section--mist .lmg-eyebrow,
.lmg-section--white .lmg-eyebrow {
  color: var(--lmg-mauve-aa-light);
}

/* ---------------------------------------------------------
   Nav
   --------------------------------------------------------- */
.lmg-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--lmg-nav-h);
  background: var(--lmg-plum);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
}

.lmg-nav__inner {
  max-width: var(--lmg-container);
  margin: 0 auto;
  padding: 0 var(--lmg-gutter);
  width: 100%;
  display: flex;
  align-items: center;
  gap: 40px;
}

.lmg-nav__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.lmg-nav__logo img {
  height: 28px;
  width: auto;
  max-width: 180px;
}

.lmg-nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
  flex: 1;
}

.lmg-nav__link {
  font-family: var(--lmg-font-body);
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(245,239,245,0.82);
  transition: color 0.15s;
  white-space: nowrap;
}
.lmg-nav__link:hover,
.lmg-nav__link--active {
  color: var(--lmg-fg-dark-1);
}

.lmg-nav__ctas {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.lmg-nav__hamburger {
  display: none;
  background: transparent;
  border: none;
  width: 40px;
  height: 40px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  margin-left: auto;
}
.lmg-nav__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--lmg-fg-dark-1);
  border-radius: 1px;
  transition: transform 0.2s, opacity 0.2s;
}
.lmg-nav__hamburger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.lmg-nav__hamburger.is-open span:nth-child(2) {
  opacity: 0;
}
.lmg-nav__hamburger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.lmg-nav__mobile {
  display: none;
  position: fixed;
  top: var(--lmg-nav-h);
  left: 0;
  right: 0;
  background: var(--lmg-plum);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding: 24px var(--lmg-gutter) 32px;
  z-index: 999;
  flex-direction: column;
  gap: 4px;
}
.lmg-nav__mobile.is-open {
  display: flex;
}
.lmg-nav__mobile-link {
  font-family: var(--lmg-font-body);
  font-size: 1rem;
  font-weight: 500;
  color: var(--lmg-fg-dark-1);
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.lmg-nav__mobile-link:last-of-type {
  border-bottom: none;
}
.lmg-nav__mobile-ctas {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
}

/* ---------------------------------------------------------
   Buttons
   --------------------------------------------------------- */
.lmg-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--lmg-font-body);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: var(--lmg-rad-btn);
  border: 2px solid transparent;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
  white-space: nowrap;
  text-align: center;
}
.lmg-btn--primary {
  background: var(--lmg-cta);
  color: #FFFFFF;
  border-color: var(--lmg-cta);
}
.lmg-btn--primary:hover {
  background: var(--lmg-cta-hover);
  border-color: var(--lmg-cta-hover);
}
.lmg-btn--ghost {
  background: transparent;
  color: var(--lmg-fg-dark-1);
  border-color: rgba(245,239,245,0.35);
}
.lmg-btn--ghost:hover {
  border-color: var(--lmg-fg-dark-1);
  color: var(--lmg-fg-dark-1);
}
.lmg-btn--outline-dark {
  background: transparent;
  color: var(--lmg-fg-light-1);
  border-color: var(--lmg-fg-light-1);
}
.lmg-btn--outline-dark:hover {
  background: var(--lmg-fg-light-1);
  color: var(--lmg-bg-light);
}
.lmg-btn--lg {
  font-size: 1rem;
  padding: 13px 28px;
}
.lmg-btn--sm {
  font-size: 0.8rem;
  padding: 7px 16px;
}
.lmg-btn--full { width: 100%; justify-content: center; }

/* Nav ghost button */
.lmg-btn--nav-ghost {
  background: transparent;
  border: 1px solid rgba(245,239,245,0.3);
  color: rgba(245,239,245,0.82);
  font-size: 0.85rem;
  padding: 7px 16px;
  border-radius: var(--lmg-rad-btn);
  font-weight: 500;
  transition: border-color 0.15s, color 0.15s;
}
.lmg-btn--nav-ghost:hover {
  border-color: var(--lmg-fg-dark-1);
  color: var(--lmg-fg-dark-1);
}
.lmg-btn--nav-cta {
  background: var(--lmg-cta);
  color: #FFFFFF;
  border-radius: var(--lmg-rad-btn);
  font-size: 0.85rem;
  padding: 7px 16px;
  font-weight: 600;
  transition: background 0.15s;
}
.lmg-btn--nav-cta:hover {
  background: var(--lmg-cta-hover);
}

/* ---------------------------------------------------------
   Hero — Index
   --------------------------------------------------------- */
.lmg-hero {
  background: var(--lmg-plum);
  min-height: calc(100vh - var(--lmg-nav-h));
  display: flex;
  align-items: center;
  padding: 80px 0 100px;
  overflow: hidden;
}
.lmg-hero__inner {
  max-width: var(--lmg-container);
  margin: 0 auto;
  padding: 0 var(--lmg-gutter);
  display: grid;
  grid-template-columns: 55fr 45fr;
  gap: 60px;
  align-items: center;
  width: 100%;
}
.lmg-hero__text {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.lmg-hero__headline {
  font-family: var(--lmg-font-display);
  font-size: var(--lmg-display);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--lmg-fg-dark-1);
}
.lmg-hero__subhead {
  font-size: var(--lmg-body-lg);
  color: var(--lmg-fg-dark-2);
  max-width: 520px;
  line-height: 1.65;
}
.lmg-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}
.lmg-hero__proof {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.lmg-hero__proof-item {
  font-size: 0.8rem;
  color: var(--lmg-fg-dark-2);
  display: flex;
  align-items: center;
  gap: 6px;
}
.lmg-hero__proof-item::before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  background: var(--lmg-mauve-deco);
  border-radius: 50%;
  flex-shrink: 0;
}
.lmg-hero__visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ---------------------------------------------------------
   Sub-page Hero (lighter weight than index hero)
   --------------------------------------------------------- */
.lmg-subhero {
  background: var(--lmg-plum);
  padding: 80px 0 72px;
}
.lmg-subhero__inner {
  max-width: var(--lmg-container);
  margin: 0 auto;
  padding: 0 var(--lmg-gutter);
}
.lmg-subhero--dark {
  background: var(--lmg-plum);
}
.lmg-subhero--centered .lmg-subhero__inner {
  text-align: center;
  max-width: 760px;
}
.lmg-subhero--split .lmg-subhero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.lmg-subhero__headline {
  font-family: var(--lmg-font-display);
  font-size: var(--lmg-h1);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--lmg-fg-dark-1);
  margin-bottom: 16px;
}
.lmg-subhero__sub {
  font-size: var(--lmg-body-lg);
  color: var(--lmg-fg-dark-2);
  line-height: 1.65;
  max-width: 600px;
}
.lmg-subhero--centered .lmg-subhero__sub {
  margin: 0 auto;
}
.lmg-subhero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.lmg-subhero--centered .lmg-subhero__actions {
  justify-content: center;
}

/* Subhero with stat strip */
.lmg-subhero__stats {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.lmg-subhero__stat {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--lmg-rad-card);
  padding: 16px 20px;
}
.lmg-subhero__stat-val {
  font-family: var(--lmg-font-display);
  font-size: 1.8rem;
  font-weight: 300;
  color: var(--lmg-fg-dark-1);
  line-height: 1;
  margin-bottom: 4px;
}
.lmg-subhero__stat-label {
  font-size: 0.8rem;
  color: var(--lmg-fg-dark-2);
}

/* ---------------------------------------------------------
   Section Text Defaults
   --------------------------------------------------------- */
.lmg-section--dark h1,
.lmg-section--dark h2,
.lmg-section--dark h3,
.lmg-section--dark h4 {
  color: var(--lmg-fg-dark-1);
}
.lmg-section--dark p,
.lmg-section--dark li {
  color: var(--lmg-fg-dark-2);
}

.lmg-section--light h1,
.lmg-section--light h2,
.lmg-section--light h3,
.lmg-section--light h4,
.lmg-section--light-alt h1,
.lmg-section--light-alt h2,
.lmg-section--light-alt h3,
.lmg-section--light-alt h4,
.lmg-section--mist h1,
.lmg-section--mist h2,
.lmg-section--mist h3,
.lmg-section--mist h4 {
  color: var(--lmg-fg-light-1);
}
.lmg-section--light p,
.lmg-section--light li,
.lmg-section--light-alt p,
.lmg-section--light-alt li,
.lmg-section--mist p,
.lmg-section--mist li {
  color: var(--lmg-fg-light-2);
}

/* Section headings */
.lmg-section__head {
  margin-bottom: 56px;
}
.lmg-section__head--center {
  text-align: center;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 56px;
}
.lmg-section__head p {
  font-size: var(--lmg-body-lg);
  margin-top: 12px;
}

/* ---------------------------------------------------------
   Feature Cards (3-up grid)
   --------------------------------------------------------- */
.lmg-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--lmg-gap);
}
.lmg-card-grid--2 {
  grid-template-columns: repeat(2, 1fr);
}
.lmg-card-grid--4 {
  grid-template-columns: repeat(4, 1fr);
}
.lmg-feature-card {
  background: var(--lmg-bg-white);
  border: 1px solid var(--lmg-border-light);
  border-radius: var(--lmg-rad-card);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.lmg-section--light-alt .lmg-feature-card {
  background: var(--lmg-bg-white);
}
.lmg-section--mist .lmg-feature-card {
  background: var(--lmg-bg-off);
  border-color: rgba(26,21,35,0.08);
}
.lmg-feature-card__icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--lmg-mauve-aa-light);
  margin-bottom: 4px;
}
.lmg-feature-card__title {
  font-family: var(--lmg-font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--lmg-fg-light-1);
}
.lmg-feature-card__body {
  font-size: 0.9rem;
  color: var(--lmg-fg-light-2);
  line-height: 1.6;
}

/* ---------------------------------------------------------
   Use Cases Tabs
   --------------------------------------------------------- */
.lmg-tabs {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.lmg-tabs__nav {
  display: flex;
  border-bottom: 1px solid var(--lmg-border-light);
  gap: 0;
  overflow-x: auto;
}
.lmg-tabs__btn {
  font-family: var(--lmg-font-body);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--lmg-fg-light-2);
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  padding: 12px 24px;
  white-space: nowrap;
  transition: color 0.15s, border-color 0.15s;
  cursor: pointer;
  margin-bottom: -1px;
}
.lmg-tabs__btn:hover {
  color: var(--lmg-fg-light-1);
}
.lmg-tabs__btn.is-active {
  color: var(--lmg-mauve-aa-light);
  border-bottom-color: var(--lmg-mauve-aa-light);
}
.lmg-tabs__panel {
  display: none;
  padding: 32px 0 0;
}
.lmg-tabs__panel.is-active {
  display: block;
}
.lmg-tabs__content {
  max-width: 680px;
  font-size: var(--lmg-body-lg);
  color: var(--lmg-fg-light-2);
  line-height: 1.7;
}
.lmg-tabs__badge {
  display: inline-block;
  background: var(--lmg-bg-mist);
  color: var(--lmg-mauve-aa-light);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: var(--lmg-rad-pill);
  margin-left: 8px;
  vertical-align: middle;
}

/* ---------------------------------------------------------
   How It Works — steps
   --------------------------------------------------------- */
.lmg-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--lmg-gap);
}
.lmg-step {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0;
  position: relative;
}
.lmg-step::after {
  content: '';
  position: absolute;
  top: 18px;
  right: -50%;
  width: 100%;
  height: 1px;
  background: var(--lmg-border-light);
}
.lmg-step:last-child::after { display: none; }
.lmg-step__num {
  font-family: var(--lmg-font-display);
  font-size: 3rem;
  font-weight: 300;
  line-height: 1;
  color: var(--lmg-mauve-deco);
}
.lmg-step__title {
  font-family: var(--lmg-font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--lmg-fg-light-1);
}
.lmg-step__body {
  font-size: 0.9rem;
  color: var(--lmg-fg-light-2);
  line-height: 1.65;
}

/* ---------------------------------------------------------
   Testimonial / Quote Cards
   --------------------------------------------------------- */
.lmg-quote-card {
  background: var(--lmg-bg-white);
  border: 1px solid rgba(26,21,35,0.1);
  border-radius: var(--lmg-rad-card);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.lmg-quote-card__mark {
  font-family: var(--lmg-font-display);
  font-size: 3rem;
  font-weight: 300;
  line-height: 0.7;
  color: var(--lmg-mauve-deco);
}
.lmg-quote-card__text {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--lmg-fg-light-1);
  font-style: italic;
  font-family: var(--lmg-font-display);
}
.lmg-quote-card__role {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--lmg-mauve-aa-light);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.lmg-section--mist .lmg-quote-card {
  background: var(--lmg-bg-off);
  border-color: rgba(26,21,35,0.08);
}

/* ---------------------------------------------------------
   Integrations / Logo Strip
   --------------------------------------------------------- */
.lmg-logo-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: center;
  justify-content: center;
  margin-top: 48px;
}
.lmg-logo-strip__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px 24px;
  border: 1px solid var(--lmg-border-light);
  border-radius: var(--lmg-rad-card);
  background: var(--lmg-bg-white);
  min-width: 100px;
  transition: border-color 0.15s;
}
.lmg-logo-strip__item:hover {
  border-color: var(--lmg-mauve-aa-light);
}
.lmg-logo-strip__icon {
  font-size: 1.5rem;
  color: var(--lmg-fg-light-2);
}
.lmg-logo-strip__label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--lmg-fg-light-2);
  white-space: nowrap;
}

/* ---------------------------------------------------------
   Final CTA Band
   --------------------------------------------------------- */
.lmg-cta-band {
  background: var(--lmg-plum);
  padding: 96px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.lmg-cta-band__inner {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 var(--lmg-gutter);
  position: relative;
  z-index: 2;
}
.lmg-cta-band h2 {
  color: var(--lmg-fg-dark-1);
  font-size: var(--lmg-h2);
  margin-bottom: 16px;
}
.lmg-cta-band p {
  color: var(--lmg-fg-dark-2);
  font-size: var(--lmg-body-lg);
  margin-bottom: 32px;
}
.lmg-cta-band__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}
.lmg-cta-band__deco {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.12;
  pointer-events: none;
}

/* ---------------------------------------------------------
   ROI Stats Band
   --------------------------------------------------------- */
.lmg-stats-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--lmg-gap);
  padding: 48px 0;
}
.lmg-stats-band--2 { grid-template-columns: repeat(2, 1fr); }
.lmg-stats-band--3 { grid-template-columns: repeat(3, 1fr); }
.lmg-stat-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 0 0 0 20px;
  border-left: 3px solid var(--lmg-mauve-deco);
}
.lmg-stat-item__val {
  font-family: var(--lmg-font-display);
  font-size: 2.2rem;
  font-weight: 300;
  line-height: 1;
  color: var(--lmg-fg-light-1);
}
.lmg-stat-item__label {
  font-size: 0.85rem;
  color: var(--lmg-fg-light-2);
  line-height: 1.4;
}
.lmg-section--dark .lmg-stat-item__val {
  color: var(--lmg-fg-dark-1);
}
.lmg-section--dark .lmg-stat-item__label {
  color: var(--lmg-fg-dark-2);
}

/* ---------------------------------------------------------
   Platform Two-Column Sections
   --------------------------------------------------------- */
.lmg-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.lmg-two-col--flip {
  direction: rtl;
}
.lmg-two-col--flip > * {
  direction: ltr;
}
.lmg-two-col__text {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.lmg-two-col__text h2 {
  color: var(--lmg-fg-light-1);
}
.lmg-two-col__text p {
  font-size: var(--lmg-body-lg);
  color: var(--lmg-fg-light-2);
  line-height: 1.7;
}
.lmg-two-col__visual {
  background: var(--lmg-bg-mist);
  border-radius: var(--lmg-rad-card);
  overflow: hidden;
  aspect-ratio: 8 / 5;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lmg-two-col__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------------------------------------------------------
   Brand Scenarios — for-brands.html
   --------------------------------------------------------- */
.lmg-scenario-card {
  background: var(--lmg-bg-white);
  border: 1px solid var(--lmg-border-light);
  border-radius: var(--lmg-rad-card);
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.lmg-scenario-card__badge {
  display: inline-block;
  background: var(--lmg-bg-mist);
  color: var(--lmg-mauve-aa-light);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: var(--lmg-rad-pill);
}
.lmg-scenario-card__challenge {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.lmg-scenario-card__label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--lmg-fg-light-2);
}
.lmg-scenario-card__text {
  font-size: 0.9rem;
  color: var(--lmg-fg-light-2);
  line-height: 1.6;
}
.lmg-scenario-card__outcome {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 12px;
  border-top: 1px solid var(--lmg-border-light);
}
.lmg-scenario-card__outcome-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--lmg-cta-light);
}
.lmg-scenario-card__outcome-text {
  font-size: 0.9rem;
  color: var(--lmg-fg-light-1);
  line-height: 1.6;
  font-weight: 500;
}

/* ---------------------------------------------------------
   Pricing
   --------------------------------------------------------- */
.lmg-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--lmg-gap);
  align-items: start;
}
.lmg-pricing-card {
  background: var(--lmg-bg-white);
  border: 1px solid var(--lmg-border-light);
  border-radius: var(--lmg-rad-card);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
}
.lmg-pricing-card--highlight {
  border-color: var(--lmg-mauve-aa-light);
  box-shadow: 0 4px 24px rgba(122,75,106,0.12);
}
.lmg-pricing-card__badge {
  display: inline-block;
  background: var(--lmg-mauve-aa-light);
  color: #FFFFFF;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: var(--lmg-rad-pill);
  margin-bottom: 4px;
}
.lmg-pricing-card__tier {
  font-family: var(--lmg-font-body);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--lmg-mauve-aa-light);
}
.lmg-pricing-card__price {
  font-family: var(--lmg-font-display);
  font-size: 3rem;
  font-weight: 300;
  line-height: 1;
  color: var(--lmg-fg-light-1);
}
.lmg-pricing-card__price sup {
  font-size: 1.25rem;
  font-weight: 400;
  vertical-align: top;
  margin-top: 8px;
  display: inline-block;
}
.lmg-pricing-card__price-note {
  font-size: 0.8rem;
  color: var(--lmg-fg-light-2);
  margin-top: 4px;
}
.lmg-pricing-card__volume {
  font-size: 0.85rem;
  color: var(--lmg-mauve-aa-light);
  font-weight: 500;
}
.lmg-pricing-card__features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.lmg-pricing-card__feat {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--lmg-fg-light-2);
  line-height: 1.4;
}
.lmg-pricing-card__feat i {
  color: var(--lmg-mauve-aa-light);
  font-size: 0.8rem;
  margin-top: 2px;
  flex-shrink: 0;
}

/* ---------------------------------------------------------
   FAQ Accordion
   --------------------------------------------------------- */
.lmg-faq {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--lmg-border-light);
}
.lmg-faq__item {
  border-bottom: 1px solid var(--lmg-border-light);
}
.lmg-faq__question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  background: transparent;
  border: none;
  text-align: left;
  padding: 20px 0;
  font-family: var(--lmg-font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--lmg-fg-light-1);
  cursor: pointer;
  gap: 16px;
}
.lmg-faq__question i {
  font-size: 0.8rem;
  color: var(--lmg-mauve-aa-light);
  transition: transform 0.2s;
  flex-shrink: 0;
}
.lmg-faq__item.is-open .lmg-faq__question i {
  transform: rotate(180deg);
}
.lmg-faq__answer {
  display: none;
  padding: 0 0 20px;
  font-size: 0.9375rem;
  color: var(--lmg-fg-light-2);
  line-height: 1.7;
  max-width: 720px;
}
.lmg-faq__item.is-open .lmg-faq__answer {
  display: block;
}

/* ---------------------------------------------------------
   Team Cards
   --------------------------------------------------------- */
.lmg-team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--lmg-gap);
}
.lmg-team-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.lmg-team-card__avatar {
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: var(--lmg-rad-card);
  background: var(--lmg-bg-mist);
}
.lmg-team-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.lmg-team-card__name {
  font-family: var(--lmg-font-display);
  font-size: 1.25rem;
  font-weight: 300;
  color: var(--lmg-fg-light-1);
}
.lmg-team-card__title {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--lmg-mauve-aa-light);
}
.lmg-team-card__bio {
  font-size: 0.875rem;
  color: var(--lmg-fg-light-2);
  line-height: 1.6;
}
.lmg-section--mist .lmg-team-card__name {
  color: var(--lmg-fg-light-1);
}

/* ---------------------------------------------------------
   About / Founder Section
   --------------------------------------------------------- */
.lmg-founder-section {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 64px;
  align-items: start;
}
.lmg-founder-section__portrait {
  border-radius: var(--lmg-rad-card);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--lmg-bg-mist);
}
.lmg-founder-section__portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.lmg-founder-section__text {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-top: 8px;
}
.lmg-founder-section__name {
  font-family: var(--lmg-font-display);
  font-size: var(--lmg-h2);
  font-weight: 300;
  color: var(--lmg-fg-light-1);
}
.lmg-founder-section__body {
  font-size: var(--lmg-body-lg);
  color: var(--lmg-fg-light-2);
  line-height: 1.7;
}
.lmg-founder-section__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}
.lmg-founder-section__tag {
  display: inline-block;
  background: var(--lmg-bg-mist);
  color: var(--lmg-mauve-aa-light);
  font-size: 0.775rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: var(--lmg-rad-pill);
}

/* ---------------------------------------------------------
   Values Cards
   --------------------------------------------------------- */
.lmg-value-card {
  background: var(--lmg-bg-light);
  border: 1px solid var(--lmg-border-light);
  border-radius: var(--lmg-rad-card);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.lmg-value-card__icon {
  font-size: 1.25rem;
  color: var(--lmg-mauve-aa-light);
  margin-bottom: 4px;
}
.lmg-value-card__title {
  font-family: var(--lmg-font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--lmg-fg-light-1);
}
.lmg-value-card__body {
  font-size: 0.875rem;
  color: var(--lmg-fg-light-2);
  line-height: 1.6;
}

/* ---------------------------------------------------------
   Code Block / SDK
   --------------------------------------------------------- */
.lmg-code-block {
  background: var(--lmg-plum-alt);
  border-radius: var(--lmg-rad-card);
  border: 1px solid rgba(255,255,255,0.1);
  overflow: hidden;
}
.lmg-code-block__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
}
.lmg-code-block__title {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--lmg-fg-dark-2);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.lmg-code-block__lang {
  font-size: 0.7rem;
  color: var(--lmg-mauve-aa-dark);
  background: rgba(212,168,199,0.12);
  padding: 2px 8px;
  border-radius: var(--lmg-rad-pill);
}
.lmg-code-block__body {
  padding: 20px 20px;
  font-family: var(--lmg-font-mono);
  font-size: 0.825rem;
  line-height: 1.55;
  color: var(--lmg-fg-dark-1);
  white-space: pre;
  overflow-x: auto;
}
.lmg-code-token--keyword { color: var(--lmg-mauve-aa-dark); }
.lmg-code-token--string  { color: #B5EAC8; }
.lmg-code-token--comment { color: var(--lmg-fg-dark-2); font-style: italic; }
.lmg-code-token--fn      { color: #A5C8F0; }
.lmg-code-token--num     { color: #F0B8A5; }

/* ---------------------------------------------------------
   SDK Page Specifics
   --------------------------------------------------------- */
.lmg-sdk-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.lmg-sdk-step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px;
  background: var(--lmg-bg-white);
  border: 1px solid var(--lmg-border-light);
  border-radius: var(--lmg-rad-card);
}
.lmg-sdk-step__num {
  font-family: var(--lmg-font-display);
  font-size: 2rem;
  font-weight: 300;
  color: var(--lmg-mauve-deco);
  line-height: 1;
  flex-shrink: 0;
  min-width: 40px;
}
.lmg-sdk-step__body { display: flex; flex-direction: column; gap: 6px; }
.lmg-sdk-step__title { font-size: 0.9rem; font-weight: 600; color: var(--lmg-fg-light-1); }
.lmg-sdk-step__text { font-size: 0.85rem; color: var(--lmg-fg-light-2); line-height: 1.6; }

.lmg-endpoint-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}
.lmg-endpoint-table th {
  text-align: left;
  padding: 10px 16px;
  background: var(--lmg-bg-mist);
  color: var(--lmg-fg-light-2);
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-bottom: 1px solid var(--lmg-border-light);
}
.lmg-endpoint-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--lmg-border-light);
  color: var(--lmg-fg-light-2);
  vertical-align: top;
}
.lmg-endpoint-table td:first-child {
  font-family: var(--lmg-font-mono);
  font-size: 0.8rem;
  color: var(--lmg-mauve-aa-light);
}
.lmg-method-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 2px;
  text-transform: uppercase;
  margin-right: 6px;
}
.lmg-method-badge--get  { background: rgba(0,160,100,0.15); color: #007A4A; }
.lmg-method-badge--post { background: rgba(0,90,200,0.12); color: #0050AA; }
.lmg-method-badge--del  { background: rgba(200,30,50,0.12); color: #A0001E; }

/* ---------------------------------------------------------
   Docs Layout
   --------------------------------------------------------- */
.lmg-docs-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 48px;
  min-height: 500px;
}
.lmg-docs-sidebar {
  position: sticky;
  top: calc(var(--lmg-nav-h) + 24px);
  align-self: start;
}
.lmg-docs-sidebar__group { margin-bottom: 28px; }
.lmg-docs-sidebar__group-title {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--lmg-fg-light-2);
  margin-bottom: 8px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--lmg-border-light);
}
.lmg-docs-sidebar__links { display: flex; flex-direction: column; gap: 2px; }
.lmg-docs-sidebar__link {
  font-size: 0.875rem;
  color: var(--lmg-fg-light-2);
  padding: 5px 8px;
  border-radius: 2px;
  transition: color 0.12s, background 0.12s;
}
.lmg-docs-sidebar__link:hover,
.lmg-docs-sidebar__link--active {
  color: var(--lmg-mauve-aa-light);
  background: var(--lmg-bg-mist);
}
.lmg-docs-content {
  min-width: 0;
}
.lmg-docs-content h1 {
  font-family: var(--lmg-font-display);
  font-size: 2.2rem;
  font-weight: 300;
  color: var(--lmg-fg-light-1);
  margin-bottom: 12px;
}
.lmg-docs-content h2 {
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--lmg-fg-light-1);
  margin-top: 40px;
  margin-bottom: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--lmg-border-light);
}
.lmg-docs-content h3 {
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--lmg-font-body);
  color: var(--lmg-fg-light-1);
  margin-top: 24px;
  margin-bottom: 8px;
}
.lmg-docs-content p,
.lmg-docs-content li {
  font-size: 0.9375rem;
  color: var(--lmg-fg-light-2);
  line-height: 1.75;
  margin-bottom: 12px;
}
.lmg-docs-content ul { list-style: disc; padding-left: 20px; }
.lmg-docs-content ol { list-style: decimal; padding-left: 20px; }
.lmg-docs-content code {
  font-family: var(--lmg-font-mono);
  font-size: 0.85em;
  background: var(--lmg-bg-mist);
  color: var(--lmg-mauve-aa-light);
  padding: 2px 6px;
  border-radius: 2px;
}
.lmg-docs-content a {
  color: var(--lmg-mauve-aa-light);
  text-decoration: underline;
}
.lmg-docs-content a:hover {
  color: var(--lmg-cta);
}

/* ---------------------------------------------------------
   Contact
   --------------------------------------------------------- */
.lmg-contact-grid {
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: 64px;
  align-items: start;
}
.lmg-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.lmg-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.lmg-field label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--lmg-fg-light-2);
}
.lmg-field input,
.lmg-field textarea,
.lmg-field select {
  font-family: var(--lmg-font-body);
  font-size: 0.9375rem;
  color: var(--lmg-fg-light-1);
  background: var(--lmg-bg-white);
  border: 1px solid var(--lmg-border-light);
  border-radius: var(--lmg-rad-card);
  padding: 11px 14px;
  width: 100%;
  transition: border-color 0.15s;
  outline: none;
}
.lmg-field input:focus,
.lmg-field textarea:focus {
  border-color: var(--lmg-mauve-aa-light);
}
.lmg-field textarea { min-height: 120px; resize: vertical; }
.lmg-contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 28px;
  background: var(--lmg-bg-mist);
  border-radius: var(--lmg-rad-card);
  border: 1px solid var(--lmg-border-light);
}
.lmg-contact-info__item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.lmg-contact-info__icon {
  font-size: 1rem;
  color: var(--lmg-mauve-aa-light);
  margin-top: 2px;
  flex-shrink: 0;
}
.lmg-contact-info__label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--lmg-fg-light-2);
  margin-bottom: 2px;
}
.lmg-contact-info__val {
  font-size: 0.9rem;
  color: var(--lmg-fg-light-1);
}
.lmg-contact-info__val a {
  color: var(--lmg-mauve-aa-light);
}
.lmg-contact-info__val a:hover {
  text-decoration: underline;
}

/* ---------------------------------------------------------
   Blog Index
   --------------------------------------------------------- */
.lmg-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--lmg-gap);
}
.lmg-blog-card {
  background: var(--lmg-bg-white);
  border: 1px solid var(--lmg-border-light);
  border-radius: var(--lmg-rad-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.15s;
}
.lmg-blog-card:hover {
  box-shadow: 0 4px 20px rgba(26,21,35,0.1);
}
.lmg-blog-card__thumb {
  aspect-ratio: 16/9;
  background: var(--lmg-bg-mist);
  overflow: hidden;
}
.lmg-blog-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.lmg-blog-card:hover .lmg-blog-card__thumb img {
  transform: scale(1.03);
}
.lmg-blog-card__body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.lmg-blog-card__cat {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--lmg-mauve-aa-light);
}
.lmg-blog-card__title {
  font-family: var(--lmg-font-display);
  font-size: 1.125rem;
  font-weight: 300;
  color: var(--lmg-fg-light-1);
  line-height: 1.3;
}
.lmg-blog-card:hover .lmg-blog-card__title {
  color: var(--lmg-mauve-aa-light);
}
.lmg-blog-card__excerpt {
  font-size: 0.875rem;
  color: var(--lmg-fg-light-2);
  line-height: 1.6;
  flex: 1;
}
.lmg-blog-card__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.775rem;
  color: var(--lmg-fg-light-2);
  padding-top: 12px;
  border-top: 1px solid var(--lmg-border-light);
  flex-wrap: wrap;
}
.lmg-blog-card__meta-sep {
  opacity: 0.4;
}
.lmg-blog-card__author {
  font-weight: 600;
  color: var(--lmg-fg-light-1);
}

/* ---------------------------------------------------------
   Blog Article (new BEM layout)
   --------------------------------------------------------- */
.lmg-article { }
.lmg-article__header {
  padding: 72px 0 48px;
}
.lmg-article__header-inner {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 var(--lmg-gutter);
}
.lmg-article__meta-top {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.lmg-article__back {
  font-size: 0.875rem;
  color: var(--lmg-mauve-aa-light);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.15s;
}
.lmg-article__back:hover { color: var(--lmg-fg-light-1); }
.lmg-article__title {
  font-family: var(--lmg-font-display);
  font-size: var(--lmg-h1);
  font-weight: 300;
  color: var(--lmg-fg-light-1);
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.015em;
}
.lmg-article__byline {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--lmg-fg-light-2);
  flex-wrap: wrap;
}
.lmg-article__author { font-weight: 600; }
.lmg-article__sep { opacity: 0.4; }
.lmg-article__cover-wrap {
  background: var(--lmg-bg-mist);
  max-height: 480px;
  overflow: hidden;
}
.lmg-article__cover {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  display: block;
}
.lmg-article__body-wrap {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 48px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 56px var(--lmg-gutter) 80px;
  align-items: start;
}
.lmg-article__body h2 {
  font-family: var(--lmg-font-display);
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--lmg-fg-light-1);
  margin-top: 40px;
  margin-bottom: 12px;
}
.lmg-article__body h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--lmg-fg-light-1);
  margin-top: 28px;
  margin-bottom: 8px;
}
.lmg-article__body p {
  font-size: 1.0625rem;
  color: var(--lmg-fg-light-2);
  line-height: 1.8;
  margin-bottom: 20px;
}
.lmg-article__body ul,
.lmg-article__body ol {
  padding-left: 24px;
  margin-bottom: 20px;
}
.lmg-article__body li {
  font-size: 1.0625rem;
  color: var(--lmg-fg-light-2);
  line-height: 1.75;
  margin-bottom: 8px;
}
.lmg-article__body a {
  color: var(--lmg-mauve-aa-light);
  text-decoration: underline;
}
.lmg-article__sidebar {
  position: sticky;
  top: calc(var(--lmg-nav-h) + 24px);
}
.lmg-article__cta-box {
  background: var(--lmg-plum);
  border-radius: var(--lmg-rad-card);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.lmg-article__cta-label {
  font-size: 0.875rem;
  color: var(--lmg-fg-dark-2);
  line-height: 1.5;
  margin-bottom: 4px;
}

/* Blog card image (new selector, supplement to lmg-blog-card__thumb) */
.lmg-blog-card__img-link {
  display: block;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--lmg-bg-mist);
}
.lmg-blog-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.lmg-blog-card:hover .lmg-blog-card__img {
  transform: scale(1.03);
}
.lmg-blog-card__sep { opacity: 0.4; }

/* Auth card wide variant */
.lmg-auth-card--wide { max-width: 560px; }
.lmg-auth-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 600px) {
  .lmg-auth-form__row { grid-template-columns: 1fr; }
}

/* Article responsive */
@media (max-width: 1024px) {
  .lmg-article__body-wrap {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .lmg-article__sidebar { position: static; }
}

/* ---------------------------------------------------------
   Blog Article (legacy selectors)
   --------------------------------------------------------- */
.lmg-article-hero {
  background: var(--lmg-plum);
  padding: 72px 0 0;
}
.lmg-article-hero__inner {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 var(--lmg-gutter);
  padding-bottom: 48px;
}
.lmg-article-hero__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.lmg-article-hero__title {
  font-family: var(--lmg-font-display);
  font-size: var(--lmg-h1);
  font-weight: 300;
  line-height: 1.1;
  color: var(--lmg-fg-dark-1);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}
.lmg-article-hero__lede {
  font-size: var(--lmg-body-lg);
  color: var(--lmg-fg-dark-2);
  line-height: 1.65;
  max-width: 660px;
}
.lmg-article-cover {
  width: 100%;
  max-width: 780px;
  margin: 0 auto;
  padding: 0 var(--lmg-gutter);
  display: block;
}
.lmg-article-cover img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: var(--lmg-rad-card);
  display: block;
  margin: 0 auto;
}
.lmg-article-body {
  max-width: 780px;
  margin: 0 auto;
  padding: 56px var(--lmg-gutter) 80px;
}
.lmg-article-body h2 {
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--lmg-fg-light-1);
  margin-top: 40px;
  margin-bottom: 12px;
}
.lmg-article-body h3 {
  font-size: 1.1rem;
  font-family: var(--lmg-font-body);
  font-weight: 600;
  color: var(--lmg-fg-light-1);
  margin-top: 28px;
  margin-bottom: 8px;
}
.lmg-article-body p {
  font-size: 1.0625rem;
  color: var(--lmg-fg-light-2);
  line-height: 1.8;
  margin-bottom: 20px;
}
.lmg-article-back {
  font-size: 0.875rem;
  color: var(--lmg-mauve-aa-dark);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 28px;
  transition: color 0.15s;
}
.lmg-article-back:hover { color: var(--lmg-fg-dark-1); }

/* ---------------------------------------------------------
   Login / Auth Pages
   --------------------------------------------------------- */
.lmg-auth-wrap {
  min-height: 100vh;
  background: var(--lmg-plum);
  display: flex;
  flex-direction: column;
}
.lmg-auth-header {
  padding: 28px clamp(24px, 8vw, 80px);
  display: flex;
  align-items: center;
}
.lmg-auth-body {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px var(--lmg-gutter);
}
.lmg-auth-card {
  background: var(--lmg-plum-alt);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--lmg-rad-card);
  padding: 40px;
  width: 100%;
  max-width: 440px;
}
.lmg-auth-card__title {
  font-family: var(--lmg-font-display);
  font-size: var(--lmg-h2);
  font-weight: 300;
  color: var(--lmg-fg-dark-1);
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}
.lmg-auth-card__sub {
  font-size: 0.9rem;
  color: var(--lmg-fg-dark-2);
  margin-bottom: 28px;
}
.lmg-auth-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.lmg-auth-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.lmg-auth-field label {
  font-size: 0.775rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--lmg-fg-dark-2);
}
.lmg-auth-field input,
.lmg-auth-field select {
  font-family: var(--lmg-font-body);
  font-size: 0.9375rem;
  color: var(--lmg-fg-dark-1);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--lmg-rad-card);
  padding: 11px 14px;
  width: 100%;
  outline: none;
  transition: border-color 0.15s;
}
.lmg-auth-field select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 38px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'><path d='M1 1.5L6 6.5L11 1.5' stroke='%23B8A8B8' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  cursor: pointer;
}
.lmg-auth-field select option {
  background: var(--lmg-plum-alt);
  color: var(--lmg-fg-dark-1);
}
.lmg-auth-field input:focus,
.lmg-auth-field select:focus {
  border-color: var(--lmg-mauve-aa-dark);
}
.lmg-auth-footer-links {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
  font-size: 0.825rem;
}
.lmg-auth-link {
  color: var(--lmg-mauve-aa-dark);
}
.lmg-auth-link:hover { text-decoration: underline; }

/* ---------------------------------------------------------
   Footer
   --------------------------------------------------------- */
.lmg-footer {
  background: var(--lmg-plum-alt);
  padding: 72px 0 0;
}
.lmg-footer__inner {
  max-width: var(--lmg-container);
  margin: 0 auto;
  padding: 0 var(--lmg-gutter);
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 56px;
  padding-bottom: 56px;
}
.lmg-footer__brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.lmg-footer__logo img {
  height: 26px;
  width: auto;
}
.lmg-footer__tagline {
  font-size: 0.875rem;
  color: var(--lmg-fg-dark-2);
  line-height: 1.55;
  max-width: 320px;
}
.lmg-footer__address {
  font-size: 0.8125rem;
  color: var(--lmg-fg-dark-2);
  line-height: 1.65;
}
.lmg-footer__email a {
  font-size: 0.875rem;
  color: var(--lmg-mauve-aa-dark);
  transition: color 0.15s;
}
.lmg-footer__email a:hover {
  color: var(--lmg-fg-dark-1);
}
.lmg-footer__col {
  display: flex;
  flex-direction: column;
}
.lmg-footer__col-title {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--lmg-fg-dark-2);
  margin-bottom: 16px;
}
.lmg-footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.lmg-footer__link {
  font-size: 0.875rem;
  color: rgba(245,239,245,0.7);
  transition: color 0.15s;
}
.lmg-footer__link:hover {
  color: var(--lmg-fg-dark-1);
}
.lmg-footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px var(--lmg-gutter);
  max-width: var(--lmg-container);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.775rem;
  color: rgba(245,239,245,0.45);
  flex-wrap: wrap;
  gap: 8px;
}
.lmg-footer__bottom-links {
  display: flex;
  gap: 16px;
}
.lmg-footer__bottom-links a {
  color: rgba(245,239,245,0.45);
  transition: color 0.15s;
}
.lmg-footer__bottom-links a:hover {
  color: var(--lmg-fg-dark-1);
}

/* ---------------------------------------------------------
   Cookie Banner
   --------------------------------------------------------- */
.lmg-cookie {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2000;
  background: var(--lmg-plum-alt);
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px var(--lmg-gutter);
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  transform: translateY(0);
  transition: transform 0.3s;
}
.lmg-cookie.is-hidden {
  transform: translateY(100%);
}
.lmg-cookie__text {
  flex: 1;
  min-width: 240px;
  font-size: 0.875rem;
  color: var(--lmg-fg-dark-2);
  line-height: 1.55;
}
.lmg-cookie__text a {
  color: var(--lmg-mauve-aa-dark);
  text-decoration: underline;
}
.lmg-cookie__actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
  flex-wrap: wrap;
}

/* Body padding when cookie visible */
body.lmg-cookie-visible {
  padding-bottom: 80px;
}

/* ---------------------------------------------------------
   Platform Grid
   --------------------------------------------------------- */
.lmg-platform-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.lmg-platform-pill {
  background: var(--lmg-bg-white);
  border: 1px solid var(--lmg-border-light);
  border-radius: var(--lmg-rad-card);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--lmg-fg-light-2);
}
.lmg-platform-pill i {
  color: var(--lmg-mauve-aa-light);
  font-size: 1rem;
}
.lmg-section--light-alt .lmg-platform-pill {
  background: var(--lmg-bg-light);
}

/* ---------------------------------------------------------
   404 Page
   --------------------------------------------------------- */
.lmg-404 {
  background: var(--lmg-plum);
  min-height: calc(100vh - var(--lmg-nav-h));
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px var(--lmg-gutter);
}
.lmg-404__inner { max-width: 560px; }
.lmg-404__num {
  font-family: var(--lmg-font-display);
  font-size: clamp(6rem, 15vw, 12rem);
  font-weight: 300;
  line-height: 1;
  color: var(--lmg-mauve-deco);
  opacity: 0.35;
}
.lmg-404__title {
  font-family: var(--lmg-font-display);
  font-size: var(--lmg-h2);
  font-weight: 300;
  color: var(--lmg-fg-dark-1);
  margin-bottom: 16px;
}
.lmg-404__body {
  font-size: var(--lmg-body-lg);
  color: var(--lmg-fg-dark-2);
  margin-bottom: 32px;
}

/* ---------------------------------------------------------
   Legal Pages (new layout)
   --------------------------------------------------------- */
.lmg-legal-wrap {
  background: var(--lmg-bg-light);
  min-height: calc(100vh - var(--lmg-nav-h));
}
.lmg-legal-content {
  max-width: 860px;
  margin: 0 auto;
  padding: 60px var(--lmg-gutter) 96px;
}
.lmg-legal-content h1 {
  font-family: var(--lmg-font-display);
  font-size: var(--lmg-h1);
  font-weight: 300;
  color: var(--lmg-fg-light-1);
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}
.lmg-legal-content h2 {
  font-family: var(--lmg-font-body);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--lmg-fg-light-1);
  margin-top: 40px;
  margin-bottom: 10px;
  border-left: 3px solid var(--lmg-mauve-deco);
  padding-left: 12px;
}
.lmg-legal-content h3 {
  font-family: var(--lmg-font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--lmg-fg-light-1);
  margin-top: 24px;
  margin-bottom: 8px;
}
.lmg-legal-content p {
  font-size: 0.9375rem;
  color: var(--lmg-fg-light-2);
  line-height: 1.75;
  margin-bottom: 12px;
}
.lmg-legal-content ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 12px;
}
.lmg-legal-content li {
  font-size: 0.9375rem;
  color: var(--lmg-fg-light-2);
  line-height: 1.75;
  margin-bottom: 6px;
}
.lmg-legal-content a {
  color: var(--lmg-mauve-aa-light);
  text-decoration: underline;
}
.lmg-legal-meta {
  font-size: 0.875rem;
  color: var(--lmg-fg-light-2);
  line-height: 1.65;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--lmg-border-light);
  padding-bottom: 20px;
}
.lmg-legal-highlight {
  background: var(--lmg-bg-mist);
  border: 1px solid var(--lmg-border-light);
  border-radius: var(--lmg-rad-card);
  padding: 16px 20px;
  font-size: 0.9rem;
  color: var(--lmg-fg-light-2);
  margin-bottom: 24px;
  line-height: 1.6;
}
.lmg-legal-highlight a { color: var(--lmg-mauve-aa-light); }
.lmg-legal-dns-banner {
  background: var(--lmg-plum);
  color: var(--lmg-fg-dark-1);
  border-radius: var(--lmg-rad-card);
  padding: 20px 24px;
  margin: 24px 0 32px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.lmg-legal-dns-text { flex: 1; min-width: 200px; }
.lmg-legal-dns-text strong { display: block; font-size: 0.95rem; margin-bottom: 4px; }
.lmg-legal-dns-text p { margin: 0; font-size: 0.875rem; color: var(--lmg-fg-dark-2); }
.lmg-legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 0.875rem;
}
.lmg-legal-table th {
  background: var(--lmg-bg-mist);
  text-align: left;
  padding: 9px 14px;
  font-weight: 600;
  font-size: 0.8rem;
  color: var(--lmg-fg-light-1);
  border: 1px solid var(--lmg-border-light);
}
.lmg-legal-table td {
  padding: 8px 14px;
  border: 1px solid var(--lmg-border-light);
  vertical-align: top;
  color: var(--lmg-fg-light-2);
}
.lmg-legal-table tr:nth-child(even) td {
  background: var(--lmg-bg-off);
}

/* ---------------------------------------------------------
   Legal Pages (legacy)
   --------------------------------------------------------- */
.lmg-legal-body {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 var(--lmg-gutter) 80px;
}
.lmg-legal-body h2 {
  font-family: var(--lmg-font-body);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--lmg-fg-light-1);
  margin-top: 40px;
  margin-bottom: 10px;
  border-left: 3px solid var(--lmg-mauve-deco);
  padding-left: 12px;
}
.lmg-legal-body h3 {
  font-family: var(--lmg-font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--lmg-fg-light-1);
  margin-top: 24px;
  margin-bottom: 8px;
}
.lmg-legal-body p,
.lmg-legal-body li {
  font-size: 0.9375rem;
  color: var(--lmg-fg-light-2);
  line-height: 1.75;
  margin-bottom: 12px;
}
.lmg-legal-body ul { list-style: disc; padding-left: 24px; }
.lmg-legal-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 0.875rem;
}
.lmg-legal-body th {
  background: var(--lmg-bg-mist);
  text-align: left;
  padding: 9px 14px;
  font-weight: 600;
  font-size: 0.8rem;
  color: var(--lmg-fg-light-1);
  border: 1px solid var(--lmg-border-light);
}
.lmg-legal-body td {
  padding: 8px 14px;
  border: 1px solid var(--lmg-border-light);
  vertical-align: top;
  color: var(--lmg-fg-light-2);
}
.lmg-legal-body a {
  color: var(--lmg-mauve-aa-light);
  text-decoration: underline;
}

/* ---------------------------------------------------------
   Integrations Page
   --------------------------------------------------------- */
.lmg-integration-card {
  background: var(--lmg-bg-white);
  border: 1px solid var(--lmg-border-light);
  border-radius: var(--lmg-rad-card);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.lmg-integration-card__icon {
  font-size: 1.5rem;
  color: var(--lmg-mauve-aa-light);
  margin-bottom: 4px;
}
.lmg-integration-card__name {
  font-family: var(--lmg-font-body);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--lmg-fg-light-1);
}
.lmg-integration-card__desc {
  font-size: 0.875rem;
  color: var(--lmg-fg-light-2);
  line-height: 1.6;
}
.lmg-integration-card__tag {
  display: inline-block;
  background: var(--lmg-bg-mist);
  color: var(--lmg-mauve-aa-light);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  padding: 3px 8px;
  border-radius: var(--lmg-rad-pill);
}

/* ---------------------------------------------------------
   Fade-in animations
   --------------------------------------------------------- */
.lmg-fade {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.lmg-fade.visible {
  opacity: 1;
  transform: none;
}

/* Failsafe: after 1.2s everything visible regardless of JS */
@keyframes lmg-reveal-all {
  to { opacity: 1; transform: none; }
}
.lmg-fade {
  animation: lmg-reveal-all 0.4s ease 1.2s both;
}

/* ---------------------------------------------------------
   Responsive
   --------------------------------------------------------- */
@media (max-width: 1024px) {
  .lmg-hero__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .lmg-hero__visual { display: none; }
  .lmg-two-col { grid-template-columns: 1fr; gap: 40px; }
  .lmg-two-col--flip { direction: ltr; }
  .lmg-founder-section { grid-template-columns: 1fr; }
  .lmg-founder-section__portrait { max-width: 360px; }
  .lmg-contact-grid { grid-template-columns: 1fr; }
  .lmg-docs-layout { grid-template-columns: 1fr; }
  .lmg-docs-sidebar { position: static; }
  .lmg-subhero--split .lmg-subhero__inner { grid-template-columns: 1fr; }
  .lmg-footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root {
    --lmg-section-py-d: 56px;
  }
  .lmg-nav__links,
  .lmg-nav__ctas {
    display: none;
  }
  .lmg-nav__hamburger {
    display: flex;
  }
  .lmg-card-grid { grid-template-columns: 1fr; }
  .lmg-card-grid--2 { grid-template-columns: 1fr; }
  .lmg-card-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .lmg-steps { grid-template-columns: 1fr; }
  .lmg-step::after { display: none; }
  .lmg-stats-band { grid-template-columns: repeat(2, 1fr); }
  .lmg-stats-band--4 { grid-template-columns: repeat(2, 1fr); }
  .lmg-pricing-grid { grid-template-columns: 1fr; }
  .lmg-team-grid { grid-template-columns: 1fr; }
  .lmg-blog-grid { grid-template-columns: 1fr; }
  .lmg-footer__inner { grid-template-columns: 1fr; gap: 32px; }
  .lmg-auth-card { padding: 28px 20px; }
  .lmg-platform-grid { grid-template-columns: repeat(2, 1fr); }
  .lmg-sdk-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .lmg-stats-band { grid-template-columns: 1fr; }
  .lmg-card-grid--4 { grid-template-columns: 1fr; }
  .lmg-platform-grid { grid-template-columns: 1fr; }
}
