:root {
  --lm-page: #8c54e5;
  --lm-violet: #5f47d4;
  --lm-ink: #151515;
  --lm-panel-radius: 60px;
  --lm-control-radius: 20px;
  --lm-error: #d40d0d;
  --lm-cta: #6535ff;
  /* Sections and the hero sit on different greys in the frames. */
  --lm-surface: #f5f5f5;
  --lm-hero: #f1efee;
  --lm-font: "Figtree", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

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

body {
  font-family: var(--lm-font);
  font-size: 18px;
  line-height: 26px;
  background: var(--lm-page);
  color: var(--lm-ink);
}

.lm-muted { opacity: .6; }

/* ── Flash messages ───────────────────────────────────────── */

.flash-notice,
.flash-alert {
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.4;
  margin-bottom: 20px;
}

.flash-notice {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
}

.flash-alert {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

/* ── Auth layout ─────────────────────────────────────────── */

.lm-auth-shell {
  display: flex;
  min-height: 100vh;
  background: var(--lm-page);
}

.lm-auth-illustration {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.lm-auth-illustration img { width: 100%; max-width: 846px; height: auto; }

/* Every auth frame pins this block at the same offset rather than centring
   it, so the logo and heading hold still from one screen to the next. */
.lm-auth-panel {
  flex: 1;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  /* 254px at the frame's 1080 height, scaled down on shorter windows so the
     button stays above the fold. Fixed per viewport, so it never shifts. */
  padding: clamp(48px, 23.5vh, 254px) 80px;
  background: #fff;
  border-radius: var(--lm-panel-radius) 0 0 var(--lm-panel-radius);
}

.lm-auth-content {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 759px;
}

.lm-logo { display: block; width: 163px; height: auto; }

/* Sized to the mark so the click target does not span its flex container. */
.lm-logo-link { display: block; width: 163px; }

.lm-auth-content .lm-logo-link { margin-bottom: 76px; }

.lm-display { font-size: 60px; font-weight: 800; line-height: 1; margin-bottom: 46px; }

.lm-fields { display: flex; flex-direction: column; gap: 33px; margin-bottom: 76px; }

.lm-field { display: flex; flex-direction: column; }

.lm-field-input {
  width: 100%;
  height: 48px;
  border: 0;
  border-bottom: 1px solid rgba(21, 21, 21, .6);
  background: transparent;
  font: inherit;
  color: var(--lm-ink);
}

.lm-field-input::placeholder { color: var(--lm-ink); opacity: .6; }
.lm-field-input:focus { outline: 0; border-bottom-color: var(--lm-violet); }

.lm-field-input.is-invalid {
  color: var(--lm-error);
  font-weight: 600;
  border-bottom-color: var(--lm-error);
}

.lm-form-meta { display: flex; align-items: center; gap: 33px; }
.lm-form-meta .lm-link { width: 233px; flex: none; }

.lm-error { color: var(--lm-error); flex: 1; text-align: right; }
.lm-error-list { list-style: none; text-align: left; }

/* The frame's 759px row only fits at its own width; below that the legal
   column drops under the button rather than shredding into a narrow strip. */
.lm-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 32px; }

/* 269x71 in the frame, beside a 458px legal column. Growing rather than
   flexing keeps a longer label off its own padding — at flex: 1 0 0 the
   90px sides ate the whole button and the text spilled out of it. */
.lm-button {
  flex: 0 0 auto;
  min-width: 269px;
  height: 71px;
  padding: 0 90px;
  border: 0;
  border-radius: var(--lm-control-radius);
  background: var(--lm-violet);
  color: #fff;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  text-transform: capitalize;
  cursor: pointer;
}

.lm-link { color: var(--lm-violet); text-decoration: none; }
.lm-legal { flex: 1; min-width: 320px; font-size: 18px; line-height: 26px; }
.lm-underline { text-decoration: underline; }

/* The legal line sits on violet on the consent screen and on white elsewhere,
   so its links take the surrounding colour rather than a link colour. */
.lm-legal a { color: inherit; }

.lm-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

@media (max-width: 900px) {
  .lm-auth-shell { flex-direction: column; }
  .lm-auth-illustration { display: none; }

  /* The mobile auth frames drop the white card and sit on the section grey,
     with the logo at 20px and the form starting at 110px. */
  .lm-auth-panel { padding: 20px 10px; border-radius: 0; background: var(--lm-surface); }

  .lm-auth-content .lm-logo-link { margin-bottom: 56px; }
  .lm-display { font-size: 32px; text-transform: capitalize; margin-bottom: 46px; }
  .lm-fields { margin-bottom: 76px; }

  .lm-form-meta { flex-direction: column; align-items: flex-start; gap: 8px; }
  .lm-form-meta .lm-link { width: auto; }
  .lm-error { text-align: left; }

  .lm-actions { flex-direction: column; align-items: stretch; gap: 32px; }
  .lm-button { width: 100%; min-width: 0; height: 64px; padding: 0 24px; }
  .lm-legal { font-size: 16px; line-height: 1.3; text-align: center; }
}

/* ── OAuth consent ───────────────────────────────────────── */

.lm-consent {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
}

.lm-consent-inner {
  width: 100%;
  max-width: 716px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

.lm-consent-title { font-size: 40px; font-weight: 800; line-height: 1.1; color: #fff; }
.lm-consent-subtitle { font-size: 20px; color: #fff; }

.lm-consent-card {
  width: 100%;
  padding: 40px;
  background: #fff;
  border-radius: 22px;
}

.lm-consent-card-title { font-size: 24px; font-weight: 500; line-height: 1.3; margin-bottom: 40px; }

.lm-consent-scopes { list-style: none; display: flex; flex-direction: column; gap: 16px; }

.lm-consent-scope { display: flex; align-items: flex-start; gap: 10px; }
.lm-consent-check { width: 21px; height: 21px; flex: none; }

.lm-consent-scope-head { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.lm-consent-scope-title { font-size: 16px; font-weight: 500; line-height: 1.2; }
.lm-consent-scope-note { font-size: 16px; font-weight: 500; line-height: 1.2; }

.lm-chip {
  padding: 1px 4px;
  border-radius: 6px;
  background: rgba(195, 175, 255, .4);
  color: #0a0a0a;
  font-size: 16px;
  font-weight: 500;
  opacity: .6;
}

.lm-consent-granted { margin-top: 24px; font-size: 14px; opacity: .6; }

.lm-consent-actions { display: flex; align-items: center; gap: 16px; }

.lm-button-compact { flex: none; width: 164px; padding: 20px 24px; }

.lm-button-ghost {
  width: 164px;
  padding: 20px 24px;
  border: 1px solid rgba(255, 255, 255, .6);
  border-radius: var(--lm-control-radius);
  background: transparent;
  color: #fff;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  text-transform: capitalize;
  cursor: pointer;
}

.lm-consent .lm-legal { color: #fff; }

@media (max-width: 900px) {
  .lm-consent-card { padding: 24px; }
  .lm-consent-title { font-size: 28px; }
  .lm-consent-actions { flex-direction: column; align-items: stretch; width: 100%; }
  .lm-button-compact, .lm-button-ghost { width: 100%; }
}

/* ── Site header and account ─────────────────────────────── */

.lm-page { min-height: 100vh; background: var(--lm-hero); }

.lm-site-header {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 33px clamp(24px, 12.6vw, 242px);
}

.lm-site-nav {
  flex: 1;
  display: flex;
  justify-content: center;
  gap: 48px;
  color: #090909;
}

.lm-site-nav-item { font-size: 16px; font-weight: 500; line-height: 1.2; white-space: nowrap; }
.lm-site-nav-item a { color: inherit; text-decoration: none; }
.lm-site-nav-badge { font-size: 9px; font-weight: 600; opacity: .6; }

.lm-site-account { display: flex; align-items: center; gap: 26px; }
.lm-site-greeting { font-size: 16px; font-weight: 600; color: inherit; text-decoration: none; }

.lm-inline-form { display: inline; }

.lm-linkish,
.lm-plainlink {
  border: 0;
  background: transparent;
  padding: 0;
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  color: var(--lm-ink);
  text-decoration: none;
  cursor: pointer;
}

.lm-account {
  max-width: 1920px;
  margin: 0 auto;
  padding: 69px clamp(24px, 12.6vw, 242px) 120px;
  display: flex;
  flex-direction: column;
  gap: 72px;
}

.lm-account-title { font-size: 70px; font-weight: 700; line-height: 1; color: #000; }

/* Frame 90:2528 — the card is 948 wide and the illustration overlaps its right
   edge, so they share a row rather than sitting side by side. */
.lm-profile { display: grid; grid-template-columns: minmax(0, 948px) minmax(0, 1fr); align-items: center; }

.lm-profile-card {
  padding: 80px;
  border-radius: 60px;
  background: #fff;
}

.lm-profile-art { min-width: 0; margin-left: -61px; }
.lm-profile-art img { display: block; width: 100%; max-width: 573px; height: auto; }

.lm-profile-fields { display: flex; flex-direction: column; gap: 33px; margin-bottom: 76px; }

.lm-profile-field {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px solid var(--lm-ink);
}

.lm-profile-field input,
.lm-profile-field-static span {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 18px;
  font-weight: 600;
  line-height: 26px;
  color: var(--lm-ink);
}

.lm-profile-field input:focus { outline: 0; }

/* An empty field reads as a hint, a filled one as a value. */
.lm-profile-field input::placeholder { font-weight: 400; color: var(--lm-ink); opacity: .6; }

.lm-profile-field-static { opacity: .6; }

.lm-profile-card .lm-error-list { margin-bottom: 40px; }

/* ── Mobile menu ─────────────────────────────────────────── */

.lm-menu { display: none; }

/* The panel is a descendant of the header, so it shares its stacking context
   and would paint over its own close button without this. */
.lm-menu-toggle { position: relative; z-index: 41; width: 50px; height: 50px; list-style: none; cursor: pointer; }
.lm-menu-toggle::-webkit-details-marker { display: none; }

.lm-menu-icon { display: block; width: 50px; height: 50px; }
.lm-menu-icon-close { display: none; }
.lm-menu[open] .lm-menu-icon-open { display: none; }
.lm-menu[open] .lm-menu-icon-close { display: block; }

.lm-menu-panel {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: flex;
  flex-direction: column;
  gap: 48px;
  padding: 118px 10px 20px;
  overflow-y: auto;
  background: var(--lm-surface);
}

.lm-menu-nav { display: flex; flex-direction: column; }

.lm-menu-nav a {
  padding: 12px 0;
  border-bottom: 1px solid rgba(21, 21, 21, .1);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.5;
  text-align: center;
  color: var(--lm-ink);
  text-decoration: none;
}

.lm-menu-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 64px;
  border: 2px solid var(--lm-violet);
  border-radius: 20px;
  background: var(--lm-violet);
  color: #fff;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

@media (max-width: 900px) {
  .lm-site-header { padding: 20px 10px; gap: 16px; position: relative; z-index: 50; }
  .lm-site-nav { display: none; }

  /* The frame's mobile header is the logo and the button, nothing else —
     the account links move into the panel. */
  .lm-site-account { display: none; }
  .lm-menu { display: block; margin-left: auto; }
  .lm-account { padding: 32px 10px 56px; gap: 32px; }
  .lm-account-title { font-size: 32px; text-transform: capitalize; }

  .lm-profile { grid-template-columns: 1fr; }
  .lm-profile-art { display: none; }
  .lm-profile-card { padding: 24px; border-radius: 32px; }
  .lm-profile-fields { margin-bottom: 40px; }
}

/* ── Homepage ────────────────────────────────────────────── */

/* flow-root contains the footer's bottom margin. Without it that margin
   collapses through, and body's violet shows as a line under the panel. */
.lm-home { min-height: 100vh; display: flow-root; background: var(--lm-hero); }

/* Gutters are the frame's 244/202 at 1920 and shrink with the viewport; a
   fixed 244px would overflow the copy column below ~1120px. */
.lm-hero {
  max-width: 1920px;
  margin: 0 auto;
  padding: 24px clamp(24px, 10.5vw, 202px) 43px clamp(24px, 12.7vw, 244px);
  display: grid;
  grid-template-columns: minmax(0, 674px) minmax(0, 1fr);
  align-items: center;
}

.lm-hero-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 70px; }

.lm-hero-art { min-width: 0; }
.lm-hero-art img { display: block; width: 100%; max-width: 952px; height: auto; }

/* The illustration frame starts inside the copy column, overlapping its empty
   right edge. Only true at the frame's own width — narrower, it would collide. */
@media (min-width: 1800px) {
  .lm-hero-art { margin-left: -152px; }
}

.lm-hero-title {
  max-width: 674px;
  font-size: 106px;
  font-weight: 900;
  line-height: .96;
  color: #000;
}

.lm-hero-lede { max-width: 590px; font-size: 20px; line-height: 1.3; }

.lm-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 35px 45px;
  border-radius: 22px;
  background: var(--lm-cta);
  color: #fff;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -.94px;
  text-decoration: none;
}

.lm-cta-sm { padding: 20px 28px; font-size: 16px; letter-spacing: normal; }

@media (max-width: 900px) {
  .lm-hero { grid-template-columns: 1fr; gap: 20px; padding: 20px 10px 50px; }

  .lm-hero-copy { gap: 40px; align-self: stretch; }

  .lm-hero-art { order: -1; margin-left: 0; }
  .lm-hero-art img { max-width: 300px; margin: 0 auto; }

  .lm-hero-title { max-width: none; font-size: 32px; font-weight: 800; line-height: 1; }
  .lm-hero-lede { max-width: none; font-size: 14px; }

  .lm-cta { width: 100%; padding: 26px 45px; font-size: 16px; letter-spacing: normal; }

  /* Declared after .lm-cta so the header's compact button keeps its own
     geometry instead of stretching to fill the header row. */
  .lm-cta-sm { width: auto; padding: 14px 20px; }
}

/* ── Homepage sections ───────────────────────────────────── */

.lm-section {
  background: var(--lm-surface);
  padding: 150px clamp(24px, 12.6vw, 242px);
}

.lm-section-head { margin-bottom: 76px; }

.lm-section-head-main {
  display: grid;
  grid-template-columns: 365px minmax(0, 1fr);
  align-items: start;
}

.lm-section-label {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 16px;
  font-weight: 500;
  line-height: 22.4px;
  color: #030303;
  white-space: nowrap;
}

.lm-section-label-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #030303;
}

.lm-section-label-icon img { width: 12px; height: 12px; display: block; }

.lm-section-title {
  max-width: 776px;
  font-size: 70px;
  font-weight: 700;
  line-height: 1;
  color: #000;
}

.lm-steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.lm-step { display: flex; flex-direction: column; gap: 4px; }

.lm-step-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 30px;
  background: #fff;
  border-radius: 22px;
}

.lm-step-n {
  font-size: 12px;
  font-weight: 600;
  line-height: 11px;
  letter-spacing: -.6px;
  color: #090909;
  opacity: .5;
}

.lm-step-arrow { display: block; width: 24px; height: 24px; }

.lm-step-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 80px;
  padding: 50px 30px 40px;
  background: #fff;
  border-radius: 22px;
}

.lm-step-title { font-size: 36px; font-weight: 500; line-height: 1; color: #090909; }
.lm-step-text { font-size: 16px; font-weight: 500; line-height: 1.3; color: #0a0a0a; opacity: .6; }

.lm-section-note {
  max-width: 642px;
  margin-top: 76px;
  font-size: 22px;
  font-weight: 500;
  line-height: 27px;
  letter-spacing: -1px;
}

/* The frames sit this note beside the heading on desktop and after the list
   on mobile, so it is last in the DOM and lifted into place at width. */
@media (min-width: 901px) {
  .lm-numbered-section,
  .lm-prompt-library { position: relative; }

  .lm-section-note-inline {
    position: absolute;
    top: 150px;
    right: clamp(24px, 12.6vw, 242px);
    width: 415px;
    max-width: 415px;
    margin: 0;
  }
}

/* Marker highlight: the frame draws a rounded band behind each wrapped line,
   which is what box-decoration-break reproduces. */
.lm-mark {
  padding: 0 8px;
  border-radius: 6px;
  background: #ffe596;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.lm-mark-violet { background: #c3afff; }

@media (max-width: 900px) {
  .lm-section { padding: 60px 10px; }

  .lm-section-head { margin-bottom: 32px; }
  .lm-section-head-main { grid-template-columns: 1fr; gap: 20px; }
  .lm-section-title { max-width: none; font-size: 32px; text-transform: capitalize; }

  .lm-steps { grid-template-columns: 1fr; }
  .lm-step-body { gap: 32px; padding: 32px 24px; }
  .lm-step-title { font-size: 24px; }
  .lm-step-arrow { transform: rotate(90deg); }
  .lm-step-done { transform: none; }

  .lm-section-note { max-width: none; margin-top: 32px; font-size: 18px; line-height: 24px; }
}

/* ── Homepage panels ─────────────────────────────────────── */

.lm-panel {
  max-width: 1436px;
  margin: 0 auto;
  padding: 74px 98px;
  border-radius: 60px;
  background: var(--lm-page);
  color: #fff;
}

.lm-panel-title { font-size: 35px; font-weight: 500; line-height: 1.3; }
.lm-panel-text { font-size: 20px; line-height: 1.3; }

.lm-capabilities {
  display: grid;
  grid-template-columns: minmax(0, 822fr) minmax(0, 426fr);
  align-items: center;
  gap: 80px;
}

.lm-capabilities-art img { display: block; width: 100%; height: auto; }

.lm-capabilities-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 50px;
}

.lm-cta-dark {
  padding: 30px 90px;
  border-radius: var(--lm-control-radius);
  background: var(--lm-ink);
  font-size: 16px;
  letter-spacing: normal;
  text-transform: capitalize;
}

/* Declared after the breakpoint above, so it needs its own mobile rule. */
@media (max-width: 900px) {
  .lm-cta-dark { width: 100%; padding: 25px 24px; }
}

/* The mobile frame runs the illustration to the panel edges and insets only
   the copy, so the panel itself carries no horizontal padding. */
@media (max-width: 900px) {
  .lm-panel { padding: 20px 0; border-radius: 32px; }
  .lm-panel-title { font-size: 20px; }
  .lm-panel-text { font-size: 14px; }

  .lm-capabilities { grid-template-columns: 1fr; gap: 40px; }
  .lm-capabilities-copy { gap: 20px; padding: 0 20px; }
  .lm-capabilities .lm-cta-dark { margin-top: 20px; height: 63px; padding: 0; }
}

/* ── Numbered sections and store cards ───────────────────── */

.lm-numbered {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}

.lm-numbered-item { display: flex; flex-direction: column; gap: 38px; }
.lm-numbered-n { font-size: 24px; font-weight: 600; line-height: 1.3; }
.lm-numbered-title { font-size: 24px; font-weight: 500; line-height: 1.3; }
.lm-numbered-text { font-size: 16px; font-weight: 500; line-height: 1.2; }

.lm-stores { display: flex; flex-direction: column; gap: 40px; }
.lm-stores-title { font-size: 28px; font-weight: 500; line-height: 1.3; }

.lm-store-cards {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.lm-store-card {
  display: flex;
  flex-direction: column;
  gap: 88px;
  padding: 35px;
  background: #fff;
  border: 1px solid rgba(21, 21, 21, .08);
  border-radius: 60px;
}

.lm-store-icon { display: block; width: 91px; height: 91px; border-radius: 29px; object-fit: cover; }
.lm-store-label { font-size: 28px; font-weight: 500; }

@media (max-width: 900px) {
  .lm-numbered { grid-template-columns: 1fr; gap: 56px; padding-left: 20px; }
  .lm-numbered-title { font-size: 20px; }

  .lm-stores { gap: 24px; }
  .lm-stores-title { font-size: 20px; }
  .lm-store-cards { grid-template-columns: 1fr; gap: 10px; }

  .lm-store-card {
    flex-direction: row;
    align-items: center;
    gap: 24px;
    padding: 12px 24px;
    border-radius: 40px;
  }

  .lm-store-icon { width: 48px; height: 48px; border-radius: 15px; }
  .lm-store-label { font-size: 18px; }
}

/* ── Footer ──────────────────────────────────────────────── */

/* 1904 inside a 1920 frame: the page shows as an 8px reveal all round. */
.lm-footer {
  margin: 8px;
  padding: 108px 0 120px;
  border-radius: 22px;
  background: #030303;
  color: #fff;
}

.lm-footer a { color: inherit; text-decoration: none; }

.lm-footer-inner { max-width: 1420px; margin: 0 auto; padding: 0 24px; }

.lm-footer-contact {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.lm-footer-contact-item {
  min-height: 149px;
  padding: 28px 32px;
  border-radius: 18px;
  background: rgba(255, 255, 255, .04);
}

.lm-footer-contact dt { font-size: 16px; line-height: 26px; opacity: .6; }
.lm-footer-contact dd { margin-top: 6px; font-size: 18px; font-weight: 600; line-height: 26px; }

.lm-footer-bottom {
  margin-top: 37px;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}

.lm-footer-bottom-left { display: flex; flex-direction: column; align-items: flex-start; gap: 17px; }

/* The frame gives the row a 308x84 panel a shade lighter than the footer;
   16px of inset and 24px between five 36px icons is what fills it. */
.lm-footer-social {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 24px 16px;
  background: #131313;
}
.lm-footer-social a { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; }
.lm-footer-social a:hover { opacity: .7; }
.lm-footer-social img { display: block; max-width: 100%; max-height: 100%; }

.lm-footer-meta { display: flex; align-items: center; gap: 39px; }
.lm-footer-logo { display: block; width: 163px; height: auto; }

.lm-footer-meta-text { display: flex; flex-direction: column; gap: 4px; }

.lm-footer-legal { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }

.lm-footer-legal li + li::before { content: "•"; margin-right: 10px; }

.lm-footer-legal,
.lm-footer-copyright { font-size: 15px; line-height: 24px; opacity: .6; }

.lm-footer-bottom-right { display: flex; flex-direction: column; align-items: flex-end; gap: 31px; }

.lm-footer-awards { display: block; width: 408px; height: auto; }

.lm-footer-nav-row { display: flex; align-items: center; gap: 95px; }
.lm-footer-totop { display: flex; padding: 8px; }

.lm-footer-nav { display: flex; flex-wrap: wrap; gap: 36px; }
.lm-footer-nav-item { font-size: 15px; font-weight: 600; line-height: 1.5; }

.lm-footer-nav-sub,
.lm-footer-nav-chevron { display: none; }

/* Frame 111:3892 is a separate layout, not a reflow of the desktop footer:
   no illustration, no social row, a stacked nav list and centred legal type. */
@media (max-width: 900px) {
  .lm-footer { margin: 0; padding: 90px 0 46px; border-radius: 32px; }
  .lm-footer-inner { padding: 0 10px; }

  .lm-footer-contact { margin-top: 88px; grid-template-columns: 1fr; }
  .lm-footer-contact-item { min-height: 150px; padding: 22px 20px; }

  .lm-footer-bottom { margin-top: 50px; flex-direction: column; align-items: stretch; gap: 20px; }
  .lm-footer-bottom-right { order: -1; align-items: stretch; flex-direction: column-reverse; gap: 20px; }
  .lm-footer-bottom-left { align-items: center; gap: 48px; }

  .lm-footer-social,
  .lm-footer-totop { display: none; }

  .lm-footer-awards { width: 277px; margin: 0 auto; }
  .lm-footer-meta { flex-direction: column; align-items: center; gap: 85px; }
  .lm-footer-meta-text { align-items: center; gap: 12px; text-align: center; }
  .lm-footer-legal,
  .lm-footer-copyright { font-size: 12px; }
  .lm-footer-legal { gap: 4px; }
  .lm-footer-legal li + li::before { margin-right: 4px; }

  .lm-footer-nav-row { display: block; }
  .lm-footer-nav { display: block; }

  .lm-footer-nav-sub { display: block; }

  .lm-footer-nav-item {
    display: flex;
    align-items: center;
    min-height: 70px;
    border-bottom: 1px solid rgba(255, 255, 255, .15);
  }

  .lm-footer-nav-head { min-height: 44px; border-bottom: 0; }
  .lm-footer-nav-sub { min-height: 31px; }

  .lm-footer-nav-chevron { display: block; margin-left: 8px; transform: rotate(180deg); }
}

/* ── Prompt library ──────────────────────────────────────── */

.lm-filters { list-style: none; display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 76px; }

.lm-filter {
  padding: 12px 20px;
  border-radius: 50px;
  background: #fff;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
}

.lm-prompts .lm-step-body { justify-content: space-between; }
.lm-prompt-copy { display: flex; flex-direction: column; gap: 80px; }
.lm-prompt-caption { margin-top: 40px; font-size: 12px; line-height: 16px; color: #9aa4b3; }

@media (max-width: 900px) {
  /* Absent from the mobile frame. */
  .lm-filters { display: none; }
  .lm-prompt-copy { gap: 24px; }
  .lm-prompt-caption { margin-top: 24px; }
}

/* ── Section heading wrap widths ─────────────────────────── */

@media (min-width: 901px) {
  .lm-use-cases .lm-section-title { max-width: 497px; }
  .lm-available-data .lm-section-title { max-width: 497px; }
  .lm-connect .lm-section-title { max-width: 776px; }
  .lm-prompt-library .lm-section-title { max-width: 455px; }
}

/* ── Footer contact form ─────────────────────────────────── */

/* Illustration left, form right — the form is a fixed 744px column and the
   frame leaves the space to its right empty. */
.lm-contact {
  display: grid;
  grid-template-columns: minmax(0, 383px) minmax(0, 744px);
  justify-content: start;
  gap: 61px;
}

.lm-contact-illustration { display: block; width: 100%; max-width: 383px; height: auto; margin-top: 137px; }

.lm-contact-form { display: flex; flex-direction: column; align-items: flex-start; }

.lm-contact-title { margin-bottom: 49px; font-size: 64px; font-weight: 800; line-height: 1; }

.lm-contact-fields { width: 100%; display: flex; flex-direction: column; gap: 32px; }

.lm-contact-field input {
  width: 100%;
  height: 48px;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, .4);
  background: transparent;
  font: inherit;
  font-size: 18px;
  font-weight: 600;
  line-height: 26px;
  color: #fff;
}

/* The frame draws an empty field lighter and a filled one solid white. */
.lm-contact-field input::placeholder { font-weight: 400; color: rgba(255, 255, 255, .6); }
.lm-contact-field input:focus { outline: 0; }
.lm-contact-field input:not(:placeholder-shown) { border-bottom-color: #fff; }

.lm-contact-send {
  margin-top: 49px;
  width: 160px;
  height: 74px;
  border: 2px solid #fff;
  border-radius: 18px;
  background: #fffdff;
  color: #000002;
  font-family: inherit;
  font-size: 18px;
  font-weight: 600;
}

/* Disabled until consent is ticked, and again while a request is in flight.
   Explicit greys rather than opacity — fading white over this panel muddies
   into something that reads as broken instead of inactive. */
.lm-contact-send[disabled] {
  cursor: not-allowed;
  border-color: rgba(255, 255, 255, .25);
  background: rgba(255, 255, 255, .16);
  color: rgba(255, 255, 255, .45);
}

.lm-contact-error {
  margin-top: 6px;
  font-size: 14px;
  line-height: 20px;
  color: #ff9a9a;
}

.lm-contact-error:empty { display: none; }

.lm-contact-status { margin-top: 16px; font-size: 16px; line-height: 24px; }
.lm-contact-status:empty { display: none; }
.lm-contact-status-error { color: #ff9a9a; }

.lm-contact-consent {
  margin-top: 19px;
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  line-height: 18px;
}

/* appearance: none removes the native tick as well as the native box, so the
   checked state has to be drawn or the control looks identical either way. */
.lm-contact-consent input {
  appearance: none;
  position: relative;
  flex: none;
  width: 14px;
  height: 14px;
  margin: 0;
  border: 1px solid #fff;
  border-radius: 3px;
  background: transparent;
  cursor: pointer;
}

.lm-contact-consent input:checked { background: #fff; }

.lm-contact-consent input:checked::after {
  content: "";
  position: absolute;
  left: 3px;
  top: 2px;
  width: 5px;
  height: 8px;
  border: solid #030303;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.lm-contact-consent label { cursor: pointer; }

/* Needs to out-specify `.lm-footer a`, which clears decoration. */
.lm-footer a.lm-contact-consent-link { text-decoration: underline; }

@media (max-width: 900px) {
  .lm-contact { display: block; }
  .lm-contact-illustration { display: none; }
  .lm-contact-title { margin-bottom: 40px; font-size: 32px; }
  .lm-contact-fields { gap: 21px; }

  .lm-contact-send {
    margin-top: 46px;
    width: 100%;
    height: 60px;
    border-radius: 16px;
    border-color: var(--lm-ink);
    color: #25214e;
    font-size: 16px;
  }

  .lm-contact-consent { margin-top: 26px; }
}
