/* launchvideomaker.com homepage ("slab"), sheet 1 of 2: the shared spine. Loaded by / and /us/ only (the page
   header's "head"), after /ds, the LVM theme and site.css. Spec: design/home/DESIGN.md.
   Built on the vendored design system + the motion layer's thread (thread.css). Pieces: thread-lamp states,
   chips, console, steps, tiers, FAQ, forms, and the homepage's dress for the shared header and footer. */

/* the weights and families the in-page renderer needs beyond site.css (the four brand storyboards) */
@font-face { font-family: "Inter"; font-weight: 700; font-display: block; src: url('/fonts/catalogue/inter-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: "Inter"; font-weight: 800; font-display: block; src: url('/fonts/inter-latin-800-normal.woff2') format('woff2'); }
@font-face { font-family: "Bricolage Grotesque"; font-weight: 400; font-display: block; src: url('/fonts/catalogue/bricolage-grotesque-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: "Bricolage Grotesque"; font-weight: 800; font-display: block; src: url('/fonts/bricolage-grotesque-latin-800-normal.woff2') format('woff2'); }
@font-face { font-family: "IBM Plex Mono"; font-weight: 400; font-display: block; src: url('/fonts/ibm-plex-mono-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: "IBM Plex Mono"; font-weight: 500; font-display: block; src: url('/fonts/ibm-plex-mono-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: "Poppins"; font-weight: 400; font-display: block; src: url('/fonts/catalogue/poppins-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: "Poppins"; font-weight: 500; font-display: block; src: url('/fonts/poppins-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: "Poppins"; font-weight: 600; font-display: block; src: url('/fonts/poppins-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: "Poppins"; font-weight: 700; font-display: block; src: url('/fonts/catalogue/poppins-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: "Poppins"; font-weight: 800; font-display: block; src: url('/fonts/poppins-latin-800-normal.woff2') format('woff2'); }
@font-face { font-family: "Space Grotesk"; font-weight: 700; font-display: block; src: url('/fonts/catalogue/space-grotesk-latin-700-normal.woff2') format('woff2'); }

/* the light */
@property --lr-light { syntax: '<color>'; inherits: true; initial-value: #ffffff; }
:root { --lr-glow: #ffffff; } /* the light = the logo white; orange stays on the logo dot and buttons */

html { background: var(--ds-ground); scroll-padding-top: 76px; overflow-x: clip; }
/* site.css hides overflow-x on the body, which would turn it into a scroll box here (html clips) and break the pinned hero */
body { overflow-x: clip; font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
main, main *, main *::before, main *::after { box-sizing: border-box; }
main :where(img, video) { max-width: 100%; display: block; }
main :where(h1, h2, h3, p, ol, ul, figure, dl, dd) { margin: 0; }
main :where(ol, ul) { padding: 0; list-style: none; }
main, .suggest-card, .site-foot { position: relative; z-index: 1; }
.lr-wrap { width: 100%; max-width: 1280px; margin-inline: auto; padding-inline: 16px; }
.lr-link { color: var(--ds-ink); text-decoration: underline; text-decoration-color: var(--ds-accent); text-underline-offset: 3px; }
.lr-link:hover { color: var(--ds-accent-ink); }

/* ---- type */
.lr-display { font-family: var(--ds-font-display); font-weight: 500; font-size: clamp(50px, 7.6vw, 116px); line-height: .93; letter-spacing: -0.04em; color: var(--ds-ink); max-width: 7em; text-wrap: balance; }
.lr-title { font-family: var(--ds-font-display); font-weight: 500; font-size: clamp(38px, 4.3vw, 60px); line-height: 1; letter-spacing: -0.035em; color: var(--ds-ink); text-wrap: balance; }
.lr-title--sm { font-size: clamp(32px, 3.3vw, 46px); line-height: 1.04; }
.lr-lede { margin-top: 18px; font-size: 17px; color: var(--ds-ink-muted); max-width: 44ch; }
.lr-note { margin-top: 20px; font-size: 14px; color: var(--ds-ink-muted); max-width: 52ch; }
.lr-eyebrow { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 16px; font-family: var(--ds-font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ds-ink-muted); }
.lr-num { color: var(--ds-accent-ink); }
.lr-mto { font-size: 11px; }

/* the record dot (the logo's dot, reused wherever the light rests) */
.lr-recdot { display: inline-block; flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--ds-accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--ds-accent) 22%, transparent), 0 0 18px var(--ds-accent); }
.lr-recdot--tint { background: var(--lr-light); box-shadow: 0 0 0 4px color-mix(in srgb, var(--lr-light) 22%, transparent), 0 0 18px var(--lr-light); }
.lr-recdot--pulse { animation: lr-pulse 1.6s ease-in-out infinite; }
@keyframes lr-pulse { 50% { opacity: .45; transform: scale(.82); } }

/* ---- header: the layout's .site-head on this page. Clear over the studio, solid once the hero has gone by
   (slab.js sets data-solid). Without script it is solid from the start (see the <noscript> rule in the page head). */
html[data-page="home-slab"] .site-head { position: fixed; inset: 0 0 auto 0; z-index: 20; background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; border-block-end: 1px solid transparent; transition: background-color .3s, border-color .3s; }
html[data-page="home-slab"] .site-head[data-solid] { background: color-mix(in srgb, var(--ds-ground) 86%, transparent); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-block-end-color: var(--ds-rule); }
html[data-page="home-slab"] .site-head .wrap { max-width: 1280px; padding-inline: 16px; }
html[data-page="home-slab"] .site-nav { gap: 22px; font-size: 14px; }
html[data-page="home-slab"] .site-nav a { color: var(--ds-ink-2); }
html[data-page="home-slab"] .site-nav a:hover { color: var(--ds-ink); }

/* ---- hero words (the hero itself is in home-slab.css) */
.lr-rec { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; font-family: var(--ds-font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ds-ink-2); }

/* the form (same in the hero card and the close) */
.lr-form { display: grid; gap: 10px; }
.lr-form .ds-text-input { width: 100%; }
.lr-form__go { width: 100%; justify-content: center; gap: 10px; }
.ds-button-primary .lr-recdot { width: 8px; height: 8px; box-shadow: none; }
.lr-form__msg { font-size: 13px; color: var(--ds-ink-muted); min-height: 0; }
.lr-form .optin { font-size: 12.5px; line-height: 1.45; gap: 10px; }
.lr-form .optin input { width: 16px; height: 16px; }
.lr-form__alt { margin-top: 12px; font-size: 14px; color: var(--ds-ink-muted); }

/* =====================================================================================================
   The run: stages on the lit line. Phone/tablet: lane in the left gutter, every frame full width.
   ===================================================================================================== */
.lr-run { --m-thread-lane: 15px; --m-thread-color: var(--lr-light); transition: --lr-light .7s; padding-top: 28px; }
.lr-run .lr-wrap { padding-left: 42px; }
.lr-stage { padding-block: 72px; }
.lr-tri, .lr-duo { display: grid; gap: 36px; }
.lr-tri > *, .lr-duo > * { min-width: 0; }



/* thread-lamp states. Only once the script is running (html.lr-on): a stage is dim until the light reaches it,
   then stays on. Without script, or with reduced motion, everything is simply lit. */
.lr-step, .lr-tiers, .lr-console { transition: filter .7s, opacity .7s, box-shadow .7s, border-color .7s; }

/* chips */
.lr-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.lr-chip { appearance: none; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 15px; border-radius: 99px; border: 1px solid var(--ds-border); background: color-mix(in srgb, var(--ds-ground) 80%, transparent); color: var(--ds-ink-2); font: 500 13.5px/1 var(--ds-font-sans); cursor: pointer; white-space: nowrap; transition: background-color .2s, color .2s, border-color .2s; }
.lr-chip:hover { border-color: var(--ds-border-strong); color: var(--ds-ink); background: var(--ds-surface-2); }
.lr-chip[aria-pressed="true"] { background: var(--ds-ink); border-color: var(--ds-ink); color: var(--ds-ink-inverse); }
.lr-chip:focus-visible, .lr-thumb:focus-visible { outline: 2px solid var(--ds-accent); outline-offset: 3px; }
.lr-chip__icon { width: 0; height: 0; border-left: 8px solid currentColor; border-block: 5px solid transparent; }
.lr-chip[aria-pressed="true"] .lr-chip__icon { width: 9px; height: 10px; border: 0; border-inline: 3px solid currentColor; }




/* ---- 5 · sound */
.lr-console { position: relative; margin-top: 34px; min-height: 250px; padding: 130px 18px 20px; display: flex; align-items: flex-end; border-radius: 22px; background: var(--ds-ground-2); border: 1px solid var(--ds-rule-strong); overflow: hidden; }
.lr-console__wave { position: absolute; inset: 0; width: 100%; height: 100%; }
.lr-console__chips { position: relative; }
.lr-on .lr-console:not([data-lamp-on]) { opacity: .55; }

/* ---- 6 · how it works */
.lr-steps { display: grid; gap: 18px; margin-top: 34px; }
.lr-step { position: relative; padding: 24px; border-radius: 16px; background: var(--ds-ground-2); border: 1px solid var(--ds-rule-strong); }
.lr-step__n { font-family: var(--ds-font-mono); font-size: 12px; letter-spacing: .08em; color: var(--ds-accent-ink); }
.lr-step h3, .lr-both h3 { margin: 10px 0 8px; font-family: var(--ds-font-display); font-weight: 500; font-size: 24px; letter-spacing: -0.02em; color: var(--ds-ink); }
.lr-step p, .lr-both p { font-size: 15px; color: var(--ds-ink-muted); }
.lr-step__you { position: absolute; top: 22px; right: 22px; font-family: var(--ds-font-mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ds-ink-2); padding: 4px 8px; border: 1px solid var(--ds-border); border-radius: 99px; }
.lr-on .lr-step:not([data-lamp-on]) { opacity: .45; }
.lr-on .lr-step[data-lamp-on] { border-color: color-mix(in srgb, var(--ds-accent) 45%, var(--ds-rule-strong)); }

/* ---- 7 · pricing: the build's {{pricing_tiers}} cards (.tiers > .tier, as black-friday.js expects) as three
   hairline cells in one lit frame */
.lr-tiers { display: grid; gap: 0; margin-top: 34px; border-radius: 22px; background: var(--ds-ground-2); border: 1px solid var(--ds-rule-strong); overflow: hidden; }
.lr-tiers .tier { display: flex; flex-direction: column; gap: 0; padding: 28px 24px; border: 0; border-top: 1px solid var(--ds-rule-strong); border-radius: 0; background: none; }
.lr-tiers .tier:first-child { border-top: 0; }
.lr-tiers .tier h3 { margin: 0; font-family: var(--ds-font-mono); font-weight: 500; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ds-ink-muted); }
.lr-tiers .tier .price { margin-top: 10px; font-family: var(--ds-font-display); font-weight: 500; font-size: 64px; line-height: 1; letter-spacing: -0.04em; color: var(--ds-ink); }
.lr-tiers .tier p { margin-top: 14px; font-size: 15px; color: var(--ds-ink-2); }
.lr-tiers .tier ul { margin: 18px 0 24px; padding: 0; list-style: none; display: grid; gap: 8px; font-size: 14px; line-height: 1.55; color: var(--ds-ink-muted); }
.lr-tiers .tier li { padding-left: 18px; position: relative; }
.lr-tiers .tier li::before { content: ""; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; border-radius: 50%; background: var(--ds-ink-faint); transition: background-color .7s; }
.lr-tiers .tier .tier__cta { margin-top: auto; }
.lr-on .lr-tiers:not([data-lamp-on]) { opacity: .6; }
.lr-on .lr-tiers[data-lamp-on] { box-shadow: 0 0 140px -50px var(--lr-glow); }
.lr-on .lr-tiers[data-lamp-on] .tier li::before, html:not(.lr-on) .lr-tiers .tier li::before { background: var(--ds-accent); }
.lr-pricing .bf-notice { margin: 34px 0 -18px; }
.lr-pricing .tiers-note { margin: 20px 0 0; font-size: 14px; color: var(--ds-ink-muted); max-width: 60ch; }

/* ---- FAQ: a <dl> (the FAQPage JSON-LD is read from its <dt>/<dd> pairs); slab.js turns it into an accordion */
.lr-faq__list dt { border-top: 1px solid var(--ds-rule-strong); padding: 18px 0 8px; font-weight: 500; font-size: 17px; color: var(--ds-ink); }
.lr-faq__list dd { padding: 0 0 20px; font-size: 15px; color: var(--ds-ink-muted); max-width: 62ch; }
.lr-faq__list dd:last-child { border-bottom: 1px solid var(--ds-rule-strong); }
.lr-faq__list[data-acc] dt { padding: 0; }
.lr-faq__list[data-acc] dt:last-of-type:has(button[aria-expanded="false"]) { border-bottom: 1px solid var(--ds-rule-strong); }
.lr-faq__list dt button { appearance: none; display: flex; justify-content: space-between; gap: 16px; width: 100%; min-height: 44px; padding: 18px 0; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.lr-faq__list dt button::after { content: "+"; flex: none; font-family: var(--ds-font-mono); color: var(--ds-accent-ink); }
.lr-faq__list dt button[aria-expanded="true"]::after { content: "\2013"; }
.lr-faq__list dt button:focus-visible { outline: 2px solid var(--ds-accent); outline-offset: 2px; }

/* ---- 8 · close: the line bends into the input and becomes its caret */
.lr-close { padding-bottom: max(160px, 30vh); }
.lr-close__form { margin-top: 112px; max-width: 460px; }
.lr-form__url { position: relative; transition: box-shadow .5s; border-radius: var(--ds-radius-md); }
.lr-form__url[data-m-thread-lit] { box-shadow: 0 0 0 2px var(--lr-glow), 0 0 60px -10px var(--lr-glow); }
.lr-form__url[data-m-thread-lit]:not(:focus-within)::after { content: ""; position: absolute; left: 12px; top: 50%; width: 2.5px; height: 22px; margin-top: -11px; background: var(--lr-glow); border-radius: 2px; animation: lr-caret 1.05s steps(1) infinite; }
.lr-form__url[data-m-thread-lit]:not(:focus-within) input { padding-left: 22px; }
@keyframes lr-caret { 50% { opacity: 0; } }
.lr-close .lr-form__go .lr-recdot { animation: lr-pulse 1.6s ease-in-out infinite; }

/* ---- footer (the layout's) + phone sticky bar */
html[data-page="home-slab"] .site-foot { margin-block-start: 0; padding-block-end: 96px; background: var(--ds-ground); }
html[data-page="home-slab"] .suggest-card { margin-block: 0 var(--ds-space-16, 64px); }
.lr-sticky { position: fixed; inset: auto 0 0 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: color-mix(in srgb, var(--ds-ground) 90%, transparent); backdrop-filter: blur(10px); border-top: 1px solid var(--ds-rule-strong); font-size: 14px; color: var(--ds-ink-2); }
.lr-sticky[hidden] { display: none; }
.lr-sticky a { gap: 10px; }

/* =====================================================================================================
   DESKTOP (≥1080): lane down the centre, copy one side, frames on or beside the lane, pinned lift-off
   ===================================================================================================== */
@media (min-width: 1080px) {
  .lr-wrap { padding-inline: 32px; }
  .lr-sticky { display: none; }
  html[data-page="home-slab"] .site-foot { padding-block-end: var(--ds-space-8); }
  html[data-page="home-slab"] .site-head .wrap { padding-inline: 32px; }


  .lr-run { --m-thread-lane: 50%; padding-top: 0; }
  .lr-run .lr-wrap { padding-left: 32px; }
  .lr-stage { padding-block: 15vh; }
  .lr-tri { grid-template-columns: minmax(0, 1fr) 330px minmax(0, 1fr); gap: 76px; align-items: center; }
  .lr-duo { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 120px; align-items: start; }



  .lr-console { min-height: 300px; padding: 28px; }
  .lr-close { padding-bottom: max(240px, 36vh); }
  .lr-steps { grid-template-columns: 1fr 1fr; column-gap: 120px; row-gap: 30px; }
  .lr-step:nth-child(even) { margin-top: 110px; margin-bottom: -110px; }
  .lr-tiers { grid-template-columns: repeat(3, 1fr); }
  .lr-tiers .tier { padding: 34px 30px; border-top: 0; border-left: 1px solid var(--ds-rule-strong); }
  .lr-tiers .tier:first-child { border-left: 0; }
  .lr-tiers .tier .price { font-size: 84px; }
  .lr-faq .lr-duo__l { position: sticky; top: 110px; }
}

/* reduced motion: the calm page. No pin, no drift, no pulse; everything lit; posters with native controls. */
@media (prefers-reduced-motion: reduce) {
  .lr-recdot--pulse, .lr-close .lr-form__go .lr-recdot, .lr-form__url::after { animation: none !important; }
  .lr-run { transition: none; }
  .lr-step, .lr-tiers, .lr-console { transition: none; }
  .ambient-light { display: none; }
}
