/* ═══════════════════════════════════════════════════════════
   Lightbringer — US launch landing page
   Tokens measured from lightbringer.com
   ═══════════════════════════════════════════════════════════ */

@font-face { font-family: 'Onsite Standard'; src: url('../assets/fonts/OnsiteStandard-Regular.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Onsite Standard'; src: url('../assets/fonts/OnsiteStandard-Medium.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Onsite Mono'; src: url('../assets/fonts/OnsiteMono-Regular.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap; }

:root {
  --ink:        #0e0d0c;   /* Nano Black   */
  --white:      #ffffff;   /* Optic White  */
  --lumen:      #deff67;   /* Lumen Yellow */
  --mint:       #b4ffac;   /* Quantum Green */
  --deep:       #067a63;   /* Quantum Green, deepened for type on white — 5.3:1 */
  --danger:     #a12b3a;   /* their destructive, deepened — 7.2:1 on white */
  --soft:       #ececec;   /* Software Gray */
  --bone:       #f4f3f1;
  --line:       rgba(14,13,12,.10);
  --line-dark:  rgba(255,255,255,.14);
  --muted:      #6a6a68;
  --muted-dark: #9a9a97;

  --sans: 'Onsite Standard', 'Helvetica Neue', Arial, sans-serif;
  --mono: 'Onsite Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;

  --wrap: 1120px;
  --pad:  5%;
  --sec:  7.5rem;
  --r-lg: 2rem;
  --proof-inset: 2rem;
  --r-md: .75rem;
  --r-sm: .5rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bone); color: var(--ink);
  font-family: var(--sans); font-weight: 400;
  font-size: 17px; line-height: 1.5; letter-spacing: -.015em;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, figure, blockquote, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }

/* Lenis */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }

/* ── type scale ─────────────────────────────────────────── */
.h1 { font-size: clamp(44px, 6.2vw, 84px); font-weight: 400;
      line-height: .95; letter-spacing: -.04em; }
.h2 { font-size: clamp(26px, 3vw, 38px); font-weight: 400;
      line-height: 1.04; letter-spacing: -.035em; text-wrap: balance; }
.lead { font-size: clamp(18px, 1.6vw, 22px); line-height: 1.4; letter-spacing: -.015em; }
.body { font-size: 18px; line-height: 1.55; letter-spacing: -.012em; }
.body + .body { margin-top: 1.1em; }
.body em { font-style: normal; color: var(--ink); }
.body--fine { font-size: 15.5px; color: var(--muted-dark); }
.eyebrow, .tag {
  font-family: var(--mono); font-size: 12px; letter-spacing: .09em;
  text-transform: uppercase; color: var(--muted);
}
.tag { display: block; margin-bottom: 22px; }

/* ── buttons ────────────────────────────────────────────── */
.btn {
  display: inline-block; border: 0; border-radius: 999px; cursor: pointer;
  padding: 11px 18px; font-family: var(--sans); font-size: 16px;
  font-weight: 400; letter-spacing: -.02em; white-space: nowrap;
  transition: background-color .18s ease, color .18s ease, transform .18s ease;
}
.btn--lg { padding: 13px 22px; font-size: 17px; }
.btn--accent { background: var(--lumen); color: var(--ink); }
.btn--accent:hover { background: #e9ff9b; }
.btn--soft { background: var(--soft); color: var(--ink); }
.btn--soft:hover { background: #e2e2e2; }
.btn--ghost { background: transparent; color: var(--ink);
  box-shadow: inset 0 0 0 1px rgba(14,13,12,.20); }
.btn--ghost:hover { background: rgba(14,13,12,.04); }
.btn--ghost-dark { background: transparent; color: var(--white);
  box-shadow: inset 0 0 0 1px var(--line-dark); }
.btn--ghost-dark:hover { background: rgba(255,255,255,.07); }
.btn:active { transform: translateY(1px); }

/* ── back to the design task overview ───────────────────── */
/* A pill in the left gutter, level with the Lightbringer logo. It slides out
   to the left on scroll down and returns on scroll up. */
.taskback {
  position: fixed; z-index: 95; top: 20px; left: 20px;
  display: inline-flex; align-items: center; gap: 9px;
  padding: 9px 16px; border-radius: 999px;
  background: var(--ink); color: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.18), 0 6px 18px -8px rgba(14,13,12,.5);
  font-family: var(--mono); font-size: 11px; letter-spacing: .09em; text-transform: uppercase;
  text-decoration: none; white-space: nowrap;
  transition: transform 1.15s cubic-bezier(.33,1,.68,1),
              opacity .95s cubic-bezier(.33,1,.68,1),
              background-color .18s ease;
}
.taskback__arw { display: inline-block; transition: transform .22s cubic-bezier(.4,0,.2,1); }
.taskback:hover { background: #23211f; }
.taskback:hover .taskback__arw { transform: translateX(-4px); }
.taskback.is-tucked { transform: translateX(calc(-100% - 28px)); opacity: 0; pointer-events: none; }

/* under ~1340px the gutter is gone, so it drops below the nav instead of
   colliding with the logo */
@media (max-width: 1340px) { .taskback { top: 84px; } }


/* ── nav ────────────────────────────────────────────────── */

.nav { position: sticky; top: 0; z-index: 60;
  background: rgba(244,243,241,.86); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line); }
.nav__inner { max-width: var(--wrap); margin: 0 auto; padding: 14px var(--pad);
  display: flex; align-items: center; gap: 32px; }
.nav__logo { display: block; }
.nav__logo img { width: 164px; height: auto; }
.nav__links { display: flex; gap: 26px; margin-left: auto; font-size: 16px; }
.nav__links a { color: var(--ink); opacity: .82; transition: opacity .15s; }
.nav__links a:hover { opacity: 1; }
.nav__actions { display: flex; gap: 10px; }

/* ── 1 · hero ───────────────────────────────────────────── */
.hero { position: relative; background: var(--ink); color: var(--white);
  overflow: hidden; padding: clamp(72px, 9vw, 130px) 0 clamp(80px, 10vw, 140px); }
.hero__bg { position: absolute; inset: 0; opacity: .58;
  background: url('../assets/img/bg/cta-bg.webp') center/cover no-repeat; }
.hero__grain { position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(80% 70% at 108% 104%, rgba(0,0,0,.62), rgba(0,0,0,0) 60%); }
.hero__inner { position: relative; display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,.86fr); gap: clamp(32px, 5vw, 76px);
  align-items: center; }
.hero__h1 { color: var(--white); margin: 20px 0 26px; }
.hero .eyebrow { color: var(--lumen); }
.hero .lead { color: var(--muted-dark); max-width: 30em; }
.hero__cta { display: block; margin-top: 46px;}
.hero .hero__cta > span { display: flex; flex-wrap: wrap; gap: 10px; }
.hero__note { margin-top: 34px; font-family: var(--mono); font-size: 12px;
  letter-spacing: .06em; color: #6a6a68; text-transform: uppercase; }

/* masked word reveal — hero and close */
.wordmask .line { display: block; overflow: hidden; padding-bottom: .04em; }
.wordmask .w { display: inline-block; will-change: transform; }
.reveal-line { overflow: hidden; }
.reveal-line > span { display: block; }

/* ── the status card ────────────────────────────────────── */
.hero__card { position: relative; }
.statuscard { background: var(--white); color: var(--ink); border-radius: var(--r-lg);
  padding: 30px; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.statuscard__top { display: flex; align-items: flex-start; justify-content: space-between;
  gap: 14px; flex-wrap: wrap; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.statuscard__label { font-family: var(--mono); font-size: 11px; letter-spacing: .09em;
  text-transform: uppercase; color: var(--muted); }
.statuscard__id { font-family: var(--mono); font-size: 22px; letter-spacing: -.03em; margin-top: 5px; white-space: nowrap; }
.pill { display: inline-flex; align-items: center; gap: 8px; border-radius: 999px;
  padding: 7px 13px; font-size: 12.5px; letter-spacing: -.01em; background: var(--soft); white-space: nowrap; }
.pill--live { background: #eaffd9; color: #2c4a12; }
.pill--live i { width: 7px; height: 7px; border-radius: 999px; background: #5aa832;
  box-shadow: 0 0 0 3px rgba(90,168,50,.2); }
.statuscard__title { font-size: 19px; line-height: 1.3; letter-spacing: -.02em;
  padding: 20px 0 8px; }
.track { border-top: 1px solid var(--line); margin-top: 12px; }
.track__row { display: grid; grid-template-columns: 18px 1fr auto; align-items: center;
  gap: 12px; padding: 13px 0; border-bottom: 1px solid rgba(14,13,12,.06); }
.track__row:last-child { border-bottom: 0; }
.track__dot { width: 9px; height: 9px; border-radius: 999px; background: #d8d8d6;
  justify-self: center; }
.is-done .track__dot { background: var(--ink); }
.is-now  .track__dot { background: var(--lumen); box-shadow: 0 0 0 4px rgba(222,255,103,.35); }
.track__name { font-size: 15.5px; letter-spacing: -.012em; }
.track__name em { font-style: normal; color: var(--muted); }
.track__meta { font-family: var(--mono); font-size: 12px; letter-spacing: .04em; color: var(--muted); }
.track__row:not(.is-done):not(.is-now) .track__name,
.track__row:not(.is-done):not(.is-now) .track__meta { color: #adadab; }
.statuscard__foot { margin-top: 18px; font-size: 13.5px; line-height: 1.45; color: var(--muted); }

/* ── 2 · trust strip ────────────────────────────────────── */
.strip { background: var(--bone); padding: 46px 0; border-bottom: 1px solid var(--line); }
.strip__inner { display: flex; align-items: center; gap: 40px; flex-wrap: wrap; }
.strip__label { font-size: 15.5px; color: var(--muted); letter-spacing: -.012em; }
.strip__logos { display: flex; align-items: center; gap: 40px; flex-wrap: wrap;
  margin-left: auto; opacity: .55; }
.strip__logos img { height: 22px; width: auto; filter: grayscale(1); }

/* ── sections ───────────────────────────────────────────── */
.sec { padding: var(--sec) 0; }
.sec--light { background: var(--white); }
.sec--dark  { background: var(--ink); color: var(--white); }
.sec--dark .tag { color: var(--muted-dark); }
.sec--dark .body { color: var(--muted-dark); }
.sec--dark .body em { color: var(--white); }
.sec__head { max-width: 880px; }
.sec__head .body { max-width: 640px; }
.sec__head .body { color: var(--muted); margin-top: 22px; }
.sec--light .h2 { color: var(--ink); }
.sec__split { display: grid; grid-template-columns: minmax(0,.82fr) minmax(0,1.15fr);
  gap: clamp(36px, 5vw, 80px); align-items: center; }
.sec__split--rev { grid-template-columns: minmax(0,1.15fr) minmax(0,.82fr); }
.sec__split--rev .sec__col { order: 2; }
.sec__col .body { margin-top: 20px; }
.sec__col .body:first-of-type { margin-top: 24px; }

/* screenshots (placeholders — small source files) */
.shot { border-radius: .5rem; overflow: hidden; background: var(--soft);
  box-shadow: 0 24px 60px rgba(14,13,12,.16); }
.shot img { width: 100%; }
.shot figcaption { font-family: var(--mono); font-size: 11px; letter-spacing: .08em;
  text-transform: uppercase; color: var(--muted); padding: 12px 16px; background: var(--white); }
.shot--dark { box-shadow: 0 30px 80px rgba(0,0,0,.55); background: #1a1a19; }
.shot--dark figcaption { background: #141413; color: #6a6a68; }

/* ── 4 · price block ────────────────────────────────────── */
.price { margin-top: 44px; padding-top: 38px; border-top: 1px solid var(--line); }
.price__figure { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.price__num { font-family: var(--mono); font-size: clamp(46px, 5.4vw, 72px);
  line-height: .95; letter-spacing: -.05em; color: var(--deep); }
.price__unit { font-size: 16px; color: var(--muted); }
.price__list { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 28px; }
.price__list li { background: var(--soft); color: var(--ink); border-radius: 999px;
  padding: 8px 15px; font-size: 14.5px; line-height: 1.2; letter-spacing: -.012em; }
.price__foot { margin-top: 26px; font-size: 13.5px; line-height: 1.5;
  color: var(--muted); max-width: 40em; margin-left: auto; margin-right: auto; }

/* ── 4 · cost: copy left, the damning receipt right ─────── */
.cost__copy { max-width: 860px; margin: clamp(56px, 7vw, 96px) auto 0; text-align: center; }
.cost__copy .tag { margin-bottom: 20px; }
.cost__h2 { font-size: clamp(38px, 5vw, 66px); font-weight: 400; line-height: .98;
  letter-spacing: -.042em; }
.cost__sub { display: block; color: var(--muted); }
.cost__copy .body { max-width: 30em; margin: 26px auto 0; }

/* ── the receipt ────────────────────────────────────────── */
.receipt { margin-top: 0; border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink); font-family: var(--mono); }
.receipt__head { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 14px 0; border-bottom: 1px solid var(--line);
  font-size: 11.5px; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); }
.receipt__lines { display: block; }
.receipt__line, .receipt__total {
  position: relative; display: grid; grid-template-columns: 52px minmax(0,1fr) auto; gap: 22px;
  align-items: baseline; padding: 13px 0; border-bottom: 1px solid rgba(14,13,12,.07);
  font-size: clamp(14px, 1.35vw, 17px); line-height: 1.35; letter-spacing: -.01em; }
.receipt__qty  { color: var(--muted); }
.receipt__u    { opacity: .55; margin-left: 1px; }
.receipt__cols { display: grid; grid-template-columns: 52px minmax(0,1fr) auto; gap: 22px;
  padding: 11px 0; border-bottom: 1px solid var(--line);
  font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.receipt__cols span:last-child { text-align: right; }
.receipt__desc { color: var(--ink); }
.receipt__amt  { color: var(--ink); text-align: right; font-variant-numeric: tabular-nums; }
.receipt__total { border-bottom: 0; border-top: 1px solid var(--ink); margin-top: -1px;
  padding: 17px 0; font-size: clamp(16px, 1.6vw, 20px); }
.receipt__total .receipt__amt { color: var(--danger); }
.receipt__total .receipt__desc { text-transform: uppercase; letter-spacing: .08em; font-size: 11px;
  color: var(--muted); align-self: center; }

/* the strike, drawn across each line once the whole statement has landed */
.receipt__strike { position: absolute; left: 0; right: 0; top: 50%; height: 1.5px;
  background: var(--ink); transform: scaleX(0); transform-origin: left center; }

.receipt__after { margin-top: clamp(56px, 6vw, 88px);
  font-size: clamp(24px, 2.9vw, 38px); line-height: 1.18; letter-spacing: -.035em;
  max-width: 20em; text-wrap: balance; }
.receipt__after span { color: var(--muted); }

/* per-line reveal */
.js [data-line] { opacity: 0; }

/* ── 7 · proof (dark, photography) ──────────────────────── */
.proof { position: relative; margin: 0 var(--proof-inset); border-radius: var(--r-lg);
  background: var(--ink); color: var(--white);
  padding: clamp(88px,10vw,150px) 0; overflow: hidden; }
.proof__inner { position: relative; }
.proof .quote p { position: relative; font-size: clamp(26px, 3.2vw, 44px); line-height: 1.14;
  letter-spacing: -.038em; text-wrap: balance; max-width: 16em; color: var(--white); }
.quote__mark { position: absolute; right: 100%; top: 0; padding-right: .1em;
  color: var(--muted); }
.quote__close { color: var(--muted); }
.proof .quote footer { display: flex; flex-direction: column; gap: 3px; margin-top: 30px; }
.proof .quote footer span { font-size: 16px; color: var(--white); }
.proof .quote footer em { font-style: normal; font-size: 16px; color: var(--muted-dark); }

.proof__trust { margin-top: 68px; padding-top: 40px; border-top: 1px solid var(--line-dark);
  display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  gap: clamp(28px,4vw,64px); align-items: start; }
.proof__attorney { font-size: 17px; line-height: 1.55; letter-spacing: -.012em;
  color: var(--muted-dark); max-width: 30em; }
.proof__badges { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.proof__badges img { height: 58px; width: auto; opacity: .75; }
.proof__badges span { font-size: 14px; line-height: 1.5; color: var(--muted-dark); max-width: 15em; }

.press { margin-top: 60px; padding-top: 36px; border-top: 1px solid var(--line-dark);
  display: flex; align-items: center; gap: 36px; flex-wrap: wrap; }
.press__label { font-family: var(--mono); font-size: 11px; letter-spacing: .09em;
  text-transform: uppercase; color: var(--muted); }
.press__logos { display: flex; align-items: center; gap: 38px; flex-wrap: wrap;
  margin-left: auto; opacity: .62; }
.press__logos img { height: 20px; width: auto; filter: grayscale(1) invert(1); }

/* ── 8 · close ──────────────────────────────────────────── */
.close { background: var(--white); padding: var(--sec) 0 calc(var(--sec) + 1rem); }
.close__inner { text-align: center; display: flex; flex-direction: column; align-items: center; }
.close__h2 { font-size: clamp(38px, 5vw, 66px); font-weight: 400; line-height: .98;
  letter-spacing: -.042em; color: var(--ink); max-width: 16em; text-wrap: balance; }
.close .lead { color: var(--muted); margin-top: 22px; max-width: 30em; }
.close__cta { margin-top: 38px; display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }

/* ── footer ─────────────────────────────────────────────── */
.foot { background: var(--ink); color: var(--white); padding: 82px 0 34px; }
.foot__grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr);
  gap: 44px 32px; padding-bottom: 56px; align-items: stretch; }
/* the wordmark's ink fills 70% x 29% of its 2000x800 canvas and sits dead
   centre, so the player box is blown up and centred over the visible size */
.footmark { width: 200px; height: 34px; position: relative; }
.footmark__in { position: absolute; left: 50%; top: 50%; width: 286px; height: 115px;
  transform: translate(-50%, -50%); pointer-events: none; }
.foot__brand { display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.foot__brand p { margin-top: 0; font-size: 15px; line-height: 1.5;
  color: var(--muted-dark); max-width: 26em; }
.foot__col h3 { font-family: var(--mono); font-size: 11px; letter-spacing: .09em;
  text-transform: uppercase; color: var(--muted); font-weight: 400; margin-bottom: 16px; }
.foot__col a { display: block; font-size: 15.5px; color: #d4d4d1;
  padding: 5px 0; transition: color .15s; }
.foot__col a:hover { color: var(--lumen); }
.foot__bar { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  padding-top: 26px; border-top: 1px solid var(--line-dark);
  font-size: 14px; color: var(--muted); }

/* ── reveal defaults (GSAP overrides when it loads) ─────── */
.js [data-reveal] { opacity: 0; }
.js .wordmask .w { transform: translateY(112%); }
.js .reveal-line > span { transform: translateY(115%); opacity: 0; }
.js [data-hero-card] { opacity: 0; }

@media (prefers-reduced-motion: reduce) {
  .js [data-reveal], .js [data-line], .js [data-strikeafter], .js [data-hero-card], .js .reveal-line > span { opacity: 1 !important; }
  .js .wordmask .w, .js .reveal-line > span { transform: none !important; }
}

/* ── responsive ─────────────────────────────────────────── */
@media (max-width: 1000px) {
  .hero__inner, .sec__split, .price, .foot__grid { grid-template-columns: 1fr; }
  .sec__split--rev .sec__col { order: 0; }
  .foot__grid { grid-template-columns: repeat(2, 1fr); }
  .nav__links { display: none; }
  .strip__logos, .press__logos { margin-left: 0; }
}
@media (max-width: 620px) {
  :root { --sec: 4.5rem; --pad: 22px; --proof-inset: 1rem; }
  .foot__grid { grid-template-columns: 1fr; }
  .statuscard { padding: 22px; }
  .track__row { grid-template-columns: 18px 1fr; }
  .receipt__line, .receipt__total, .receipt__cols { grid-template-columns: 40px minmax(0,1fr) auto; gap: 12px; }
  .track__meta { grid-column: 2; }
  .nav__actions .btn--soft { display: none; }
}

/* logo lockup is a currentColor SVG loaded as <img>, so it paints black —
   invert it on the dark footer */
.footmark { filter: invert(1); }
