.lm-page {
    --lm-bg: #0b0d0e;
    --lm-surface: #141819;
    --lm-text: #f4f1e9;
    --lm-muted: #aeb3b1;
    --lm-line: #343a38;
    --lm-accent: #c8e6b5;
    --lm-accent-ink: #152114;
    --lm-accent-text: #c8e6b5;
    margin-block: -2.5rem;
    color: var(--lm-text);
    background: var(--lm-bg);
    box-shadow: 0 0 0 100vmax var(--lm-bg);
    clip-path: inset(0 -100vmax);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
.lm-page { --lm-accent: #8adef5; --lm-accent-text: #8adef5; --lm-accent-ink: #0b2731; }
.theme-light .lm-page { --lm-bg: #f3f1e9; --lm-surface: #e6e6df; --lm-text: #18201b; --lm-muted: #545e55; --lm-line: #c3c9c0; --lm-accent-text: #446a31; }
.theme-light .lm-page { --lm-accent-text: #17627a; }
body:has(.lm-page) .fx-shell { max-width: none; padding-inline: 0; }
.lm-page *, .lm-page *::before, .lm-page *::after { box-sizing: border-box; }
.lm-page :is(h1,h2,h3,p,figure,dl,dd) { margin: 0; }
.lm-page :is(h2,h3,p,dd,a) { overflow-wrap: anywhere; }
.lm-page a { color: inherit; text-decoration: none; }
.lm-page button { font: inherit; }
.lm-page [hidden] { display: none !important; }
.lm-page :is(a,button,summary):focus-visible { outline: 3px solid var(--lm-accent-text); outline-offset: 6px; }
.lm-shell { width: min(100% - 6rem, 1200px); margin-inline: auto; }
.lm-bleed { width: 100%; }
.lm-section { padding-block: clamp(4.5rem, 9vw, 8rem); }
.lm-label, .lm-number { font: 700 .75rem/1.5 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .1em; }
.lm-label { color: var(--lm-accent-text); }
.lm-heading { font-size: clamp(2.5rem, 5.4vw, 5.1rem); font-weight: 850; line-height: 1.04; letter-spacing: -.065em; text-wrap: balance; }
.lm-heading > span { display: block; }
.lm-heading > span:last-child { color: var(--lm-accent-text); }
.lm-page .lm-label + .lm-heading { margin-top: 1.6rem; }
.lm-hero { isolation: isolate; position: relative; color: #faf7ef; background: #101614; overflow: hidden; }
.lm-hero__art { position: absolute; z-index: -3; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 57%; animation: lm-image-enter 1.6s ease-out both; }
.lm-hero__shade { position: absolute; z-index: -2; inset: 0; background: linear-gradient(90deg,rgba(7,15,12,.87),rgba(7,15,12,.6) 38%,rgba(7,15,12,.05) 76%),linear-gradient(0deg,rgba(7,15,12,.76),transparent 45%); }
.lm-page .lm-hero__shade { background: linear-gradient(90deg,rgba(3,14,23,.91),rgba(3,14,23,.65) 40%,rgba(3,14,23,.03) 80%),linear-gradient(0deg,rgba(3,14,23,.86),transparent 55%); }
.lm-hero__inner { min-height: min(850px,calc(100svh - 64px)); display: flex; flex-direction: column; padding-block: 1.8rem; }
.lm-back { width: fit-content; display: inline-flex; gap: .9rem; font-size: .8rem; font-weight: 600; color: #e0e7e1 !important; }
.lm-back:hover { text-decoration: underline; text-underline-offset: .35rem; }
.lm-hero__copy { width: min(680px,65%); margin-block: auto; padding-block: 2.6rem; }
.lm-hero .lm-label { color: var(--lm-accent); }
.lm-hero h1 { font-size: clamp(4.6rem, 10.5vw, 10rem); font-weight: 900; letter-spacing: -.075em; line-height: .95; margin-block: 1.1rem 1.7rem; animation: lm-enter .8s .1s both; }
.lm-hero__promise { font-size: clamp(1.65rem,2.8vw,2.5rem); font-weight: 750; letter-spacing: -.04em; line-height: 1.12; animation: lm-enter .8s .2s both; }
.lm-hero__promise span { display: block; }
.lm-hero__lead { max-width: 31rem; margin-top: 1.2rem !important; color: #e0e4df; font-size: 1rem; line-height: 1.7; animation: lm-enter .8s .3s both; }
.lm-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem; margin-top: 1.8rem; }
.lm-button { display: inline-flex; align-items: center; justify-content: space-between; gap: 1.8rem; min-height: 3.7rem; padding: 1rem 1.5rem; background: var(--lm-accent); color: var(--lm-accent-ink) !important; font-size: .9rem; font-weight: 750; transition: transform .22s, box-shadow .22s; }
.lm-button:hover { transform: translateY(-3px); box-shadow: 0 8px 0 -4px currentColor; }
.lm-button > span, .lm-model__link > span { font-size: 1.3rem; transition: transform .22s; }
.lm-button:hover > span, .lm-model__link:hover > span { transform: translate(3px,-3px); }
.lm-text-link { display: inline-flex; align-items: center; gap: .8rem; padding-block: .8rem; border-bottom: 1px solid #a0aba5; font-size: .85rem; font-weight: 650; }
.lm-hero__foot { display: flex; gap: 1.5rem; align-items: center; font: 600 .75rem/1.6 ui-monospace,monospace; letter-spacing: .08em; color: #d5ded7; }
.lm-hero__foot i { flex: 1; height: 1px; background: #b3c0b65c; }
.lm-intro__copy { max-width: 43rem; margin-top: 2rem !important; font-size: 1.15rem; line-height: 1.8; color: var(--lm-muted); }
.lm-features { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 2.5rem; margin-top: 4rem; }
.lm-features article { min-width: 0; padding-top: 1.5rem; border-top: 1px solid var(--lm-line); }
.lm-number { color: var(--lm-accent-text); }
.lm-features h3 { margin-block: 2rem 1rem; font-size: 1.5rem; font-weight: 750; letter-spacing: -.035em; line-height: 1.2; }
.lm-features p { font-size: .98rem; line-height: 1.75; color: var(--lm-muted); }
.lm-director { background: var(--lm-surface); }
.lm-section-heading { display: grid; grid-template-columns: minmax(0,1.65fr) minmax(0,1fr); gap: 4rem; align-items: end; margin-bottom: 3rem; }
.lm-section-heading .lm-heading { font-size: clamp(2.4rem,4.3vw,4rem); }
.lm-section-heading > p { color: var(--lm-muted); line-height: 1.8; }
.lm-director__workspace { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(0,1fr); gap: 3rem; }
.lm-director__visual { position: relative; align-self: stretch; min-height: 32rem; overflow: hidden; background: #151e1b; }
.lm-director__visual > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .9s cubic-bezier(.2,.6,.2,1),object-position .9s; }
[data-lm-active-chapter="1"] .lm-director__visual > img { transform: scale(1.09); object-position: 57% center; }
[data-lm-active-chapter="2"] .lm-director__visual > img { transform: scale(1.04); object-position: 46% center; }
.lm-director__visual figcaption { position: absolute; inset: auto 0 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1rem; padding: 3rem 1.3rem 1.3rem; background: linear-gradient(transparent,rgba(0,0,0,.86)); color: #fff; font: 600 .75rem/1.5 ui-monospace,monospace; letter-spacing: .05em; }
.lm-viewfinder { position: absolute; inset: 1.3rem 1.3rem 4.2rem; pointer-events: none; }
.lm-viewfinder i { position: absolute; height: 2rem; width: 2rem; border: solid #ffffff9c; }
.lm-viewfinder i:nth-child(1) { top: 0; left: 0; border-width: 1px 0 0 1px; }
.lm-viewfinder i:nth-child(2) { top: 0; right: 0; border-width: 1px 1px 0 0; }
.lm-viewfinder i:nth-child(3) { bottom: 0; left: 0; border-width: 0 0 1px 1px; }
.lm-viewfinder i:nth-child(4) { bottom: 0; right: 0; border-width: 0 1px 1px 0; }
.lm-director__notes { min-width: 0; padding-block: .5rem; }
.lm-chapter-buttons { display: flex; flex-wrap: wrap; gap: .4rem; margin-block: 1.2rem 2rem; }
.lm-chapter-buttons button { flex: 1; min-width: 6rem; min-height: 3rem; padding: .75rem; border: 1px solid var(--lm-line); color: var(--lm-text); background: transparent; cursor: pointer; font-size: .85rem; font-weight: 700; transition: background .2s,color .2s; }
.lm-chapter-buttons button[aria-pressed="true"] { background: var(--lm-accent); border-color: var(--lm-accent); color: var(--lm-accent-ink); }
.lm-chapter { min-height: 20rem; animation: lm-enter .35s both; }
.lm-chapter__number { font-size: 3.5rem; font-weight: 400; letter-spacing: -.06em; color: var(--lm-accent-text); }
.lm-chapter__number small { font: 500 .85rem ui-monospace,monospace; color: var(--lm-muted); letter-spacing: 0; }
.lm-chapter h3 { margin-block: .9rem 1rem; font-size: clamp(1.5rem,2.4vw,2rem); font-weight: 750; letter-spacing: -.04em; line-height: 1.2; }
.lm-chapter__text { color: var(--lm-text); font-size: 1.05rem; line-height: 1.75; }
.lm-chapter__hint { margin-top: 1.3rem !important; padding-left: .85rem; border-left: 2px solid var(--lm-accent-text); color: var(--lm-muted); font-size: .85rem; line-height: 1.6; }
.lm-director__note { margin-top: 1rem !important; color: var(--lm-muted); font-size: .8rem; line-height: 1.5; }
.lm-specs { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 1.5rem; margin-top: 3rem !important; border-top: 1px solid var(--lm-line); }
.lm-specs > div { padding-top: 1.5rem; min-width: 0; }
.lm-specs dt { color: var(--lm-muted); font-size: .85rem; margin-bottom: .75rem; }
.lm-specs dd { font-size: 1.15rem; line-height: 1.4; font-weight: 700; letter-spacing: -.025em; }
.lm-spec-note { max-width: 55rem; margin-top: 1.8rem !important; color: var(--lm-muted); font-size: .85rem; line-height: 1.7; }
.lm-models { scroll-margin-top: 5rem; }
.lm-model-list { margin-top: 3rem; border-top: 1px solid var(--lm-line); }
.lm-model { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(0,1fr) auto; align-items: center; gap: 3rem; padding-block: 2.5rem; border-bottom: 1px solid var(--lm-line); }
.lm-model > div { min-width: 0; }
.lm-model h3 { margin-top: .8rem; font-size: clamp(1.6rem,2.7vw,2.5rem); line-height: 1.08; font-weight: 800; letter-spacing: -.045em; }
.lm-model__copy p { color: var(--lm-muted); font-size: .98rem; line-height: 1.7; }
.lm-model__copy > span { display: block; margin-top: .9rem; font-size: .8rem; font-weight: 650; }
.lm-model__link { display: inline-flex; align-items: center; gap: 1rem; min-height: 3rem; border-bottom: 1px solid var(--lm-accent-text); color: var(--lm-accent-text) !important; font-size: .85rem; font-weight: 750; }
.lm-model__unavailable { max-width: 9rem; color: var(--lm-muted); font-size: .85rem; }
.lm-models__note { margin-top: 1.6rem !important; color: var(--lm-muted); font-size: .9rem; line-height: 1.8; }
.lm-models__note a { text-decoration: underline; text-underline-offset: .25rem; margin-left: .5rem; }
.lm-workflow { background: var(--lm-accent); color: var(--lm-accent-ink); }
.lm-workflow .lm-label,.lm-workflow .lm-number { color: var(--lm-accent-ink); }
.lm-workflow .lm-heading { max-width: 56rem; }
.lm-steps { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 3rem; list-style: none; margin: 3rem 0 0; padding: 0; }
.lm-steps li { min-width: 0; border-top: 1px solid currentColor; }
.lm-step-art { display: block; width: 7rem; padding-block: 1.6rem; }
.lm-step-art svg { width: 100%; fill: none; stroke: currentColor; stroke-width: 1.25; }
.lm-step-art circle { fill: var(--lm-accent); }
.lm-steps h3 { margin-top: 1rem; font-size: 1.5rem; line-height: 1.2; letter-spacing: -.03em; font-weight: 750; }
.lm-steps p { margin-top: 1rem; line-height: 1.7; font-size: .98rem; }
.lm-faq { display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); gap: 5rem; }
.lm-faq .lm-heading { font-size: clamp(2.4rem,3.8vw,3.6rem); }
.lm-faq__intro > p:last-child { color: var(--lm-muted); margin-top: 1.5rem; line-height: 1.8; }
.lm-faq__list { min-width: 0; }
.lm-faq details { border-top: 1px solid var(--lm-line); }
.lm-faq details:last-child { border-bottom: 1px solid var(--lm-line); }
.lm-faq summary { display: grid; grid-template-columns: 1.8rem minmax(0,1fr) 1rem; gap: 1rem; list-style: none; cursor: pointer; align-items: start; padding-block: 1.6rem; font-size: 1rem; line-height: 1.5; font-weight: 700; }
.lm-faq summary::-webkit-details-marker { display: none; }
.lm-faq__sign { position: relative; width: .85rem; height: .85rem; margin-top: .3rem; color: var(--lm-accent-text); }
.lm-faq__sign::before,.lm-faq__sign::after { content: ''; position: absolute; background: currentColor; inset: 50% 0 auto; height: 1px; }
.lm-faq__sign::after { transform: rotate(90deg); transition: transform .2s; }
.lm-faq details[open] .lm-faq__sign::after { transform: rotate(0); }
.lm-faq details > p { color: var(--lm-muted); margin: 0 2rem 1.8rem 2.8rem; font-size: .98rem; line-height: 1.8; }
.lm-final { background: var(--lm-surface); }
.lm-final .lm-heading { max-width: 62rem; }
.lm-final .lm-button { margin-top: 2.5rem; }
.lm-final .lm-button + p { margin-top: 1.3rem; font-size: .85rem; color: var(--lm-muted); line-height: 1.6; }
.lm-related { display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; padding-block: 2.5rem; font-size: .9rem; }
.lm-related > span { color: var(--lm-muted); margin-right: auto; }
.lm-related a { padding-block: .5rem; border-bottom: 1px solid var(--lm-line); }
.lm-related a:hover { color: var(--lm-accent-text); }
[data-lm-reveal] { transition: opacity .7s ease,transform .7s cubic-bezier(.2,.7,.2,1); }
.lm-waiting { opacity: 0; transform: translateY(24px); }
@keyframes lm-enter { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes lm-image-enter { from { transform: scale(1.05); } to { transform: scale(1); } }
@media (min-width: 1000px) {
    .lm-faq__intro { position: sticky; top: 7rem; align-self: start; }
}
@media (max-width: 1000px) {
    .lm-shell { width: calc(100% - 3rem); }
    .lm-hero__copy { width: min(600px,85%); }
    .lm-section-heading { grid-template-columns: minmax(0,1fr); gap: 1.5rem; }
    .lm-section-heading > p { max-width: 42rem; }
    .lm-director__workspace { gap: 2rem; }
    .lm-features,.lm-steps { gap: 1.6rem; }
    .lm-model { grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 1.5rem 2.5rem; }
    .lm-model__link,.lm-model__unavailable { grid-column: 2; justify-self: start; }
    .lm-faq { gap: 2.5rem; }
    .lm-director__visual figcaption { flex-direction: column; gap: .4rem; }
}
@media (max-width: 700px) {
    .lm-shell { width: calc(100% - 2.5rem); }
    .lm-hero__inner { min-height: calc(100svh - 64px); padding-block: 1.5rem; }
    .lm-hero__copy { width: 100%; padding-block: 3.5rem; }
    .lm-hero h1 { font-size: clamp(3.2rem,14vw,6rem); }
    .lm-hero__shade { background: linear-gradient(90deg,rgba(7,15,12,.85),rgba(7,15,12,.48)),linear-gradient(0deg,rgba(7,15,12,.82),transparent) !important; }
    .lm-hero__lead { font-size: .95rem; max-width: 27rem; }
    .lm-hero__foot { font-size: .75rem; }
    .lm-hero__foot > span:last-child { display: none; }
    .lm-actions { gap: .6rem 1.5rem; }
    .lm-button { padding-inline: 1.1rem; gap: 1rem; }
    .lm-heading { font-size: clamp(2.25rem,8.7vw,3.6rem); letter-spacing: -.055em; }
    .lm-section-heading .lm-heading,.lm-faq .lm-heading { font-size: clamp(2.2rem,8vw,3.4rem); }
    .lm-features,.lm-steps { grid-template-columns: minmax(0,1fr); gap: 2rem; }
    .lm-features h3 { margin-top: 1rem; }
    .lm-director__workspace { grid-template-columns: minmax(0,1fr); }
    .lm-director__visual { min-height: 0; aspect-ratio: 4/3; }
    .lm-director__visual figcaption { font-size: .75rem; }
    .lm-chapter { min-height: 19rem; }
    .lm-specs { grid-template-columns: repeat(2,minmax(0,1fr)); row-gap: 1.8rem; }
    .lm-specs dd { font-size: 1rem; }
    .lm-model { grid-template-columns: minmax(0,1fr); gap: 1.3rem; }
    .lm-model h3 { font-size: 2rem; }
    .lm-model__link,.lm-model__unavailable { grid-column: 1; }
    .lm-models__note a { display: inline-block; margin-left: 0; }
    .lm-faq { grid-template-columns: minmax(0,1fr); }
    .lm-faq summary { column-gap: .75rem; font-size: .95rem; }
    .lm-faq details > p { margin-left: 0; margin-right: 0; }
    .lm-step-art { width: 6rem; padding-block: 1.5rem 1rem; }
    .lm-related > span { flex-basis: 100%; }
}
@media (prefers-reduced-motion: reduce) {
    .lm-page *, .lm-page *::before, .lm-page *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
    .lm-waiting { opacity: 1; transform: none; }
}
