/* Launch home: one ink brand, app-first. Motion lives in /js/launch.js (GSAP, Lenis). */

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

.lx {
  --lx-ink: #050a12;
  --lx-paper: #f2f5f7;
  --lx-soft: #b9c5d0;
  --lx-dim: #93a3b3;
  --lx-line: rgba(147, 163, 179, 0.22);
  --lx-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  background: var(--lx-ink);
  color: var(--lx-paper);
  font-family: "Urbanist", system-ui, sans-serif;
  font-weight: 400;
  overflow-x: clip;
}

.lx .lx-wrap { width: min(100% - clamp(32px, 8vw, 128px), 1360px); margin-inline: auto; }
.lx .lx-section { padding-block: clamp(88px, 11vw, 176px); }
.lx .lx-head { max-width: 820px; margin-bottom: clamp(44px, 6vw, 88px); }
.lx .lx-label { margin: 0 0 18px; color: var(--lx-dim); font: 500 15px/1.4 "Urbanist", sans-serif; }
.lx .lx-h2 {
  margin: 0;
  color: #fff;
  font: 500 clamp(2.25rem, 1.1rem + 3.7vw, 4.5rem) / 1.03 "Urbanist", sans-serif;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.lx .lx-line-mask { padding-bottom: 0.14em; margin-bottom: -0.14em; }

/* ---------- buttons ---------- */
.lx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  font: 600 16px/1 "Urbanist", system-ui, sans-serif;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 240ms ease, border-color 240ms ease, color 240ms ease;
  -webkit-tap-highlight-color: transparent;
}
.lx-btn svg { transition: transform 320ms cubic-bezier(0.22, 0.61, 0.36, 1); }
.lx-btn:is(:hover, :focus-visible) svg { transform: translateX(4px); }
a.lx-btn.lx-btn--solid { background: #fff; color: #050a12; }
a.lx-btn.lx-btn--solid:is(:hover, :focus-visible) { background: #d9e2ea; }
a.lx-btn.lx-btn--line { border-color: rgba(255, 255, 255, 0.42); background: rgba(5, 10, 18, 0.28); color: #fff; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
a.lx-btn.lx-btn--line:is(:hover, :focus-visible) { border-color: #fff; background: rgba(255, 255, 255, 0.12); }
.lx-btn:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
.lx-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- header ---------- */
body[data-page="home"] .site-header .site-nav a.nav-app {
  min-height: 42px;
  padding: 0 20px;
  border-radius: 999px;
  background: #fff;
  color: #050a12;
  font-weight: 600;
  transition: background-color 240ms ease;
}
body[data-page="home"] .site-header .site-nav a.nav-app:is(:hover, :focus-visible) { background: #d9e2ea; }
@media (min-width: 900px) {
  body[data-page="home"] .site-header .site-nav a.nav-signin { margin-left: 8px; }
  body[data-page="home"] .site-header .site-nav a.nav-app { display: inline-flex; align-items: center; margin-left: -8px; }
}
@media (max-width: 899px) {
  body[data-page="home"] .site-header .site-nav a.nav-app { align-self: flex-start; min-height: 52px; margin-top: 20px; padding-inline: 28px; font-size: 17px; }
}

/* ---------- hero ---------- */
.lx .lx-hero {
  position: relative;
  display: flex;
  min-height: 100vh;
  min-height: 100svh;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  isolation: isolate;
  background: #0f1d2e;
}
.lx-hero-media { position: absolute; inset: -6% 0; z-index: -2; will-change: transform; }
.lx-hero-media > * { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lx-hero-video { opacity: 0; transition: opacity 700ms ease; }
.lx-hero-video.is-playing { opacity: 1; }
.lx-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to top, rgba(5, 10, 18, 0.94) 0%, rgba(5, 10, 18, 0.62) 34%, rgba(5, 10, 18, 0.12) 68%, rgba(5, 10, 18, 0.42) 100%),
    linear-gradient(to right, rgba(5, 10, 18, 0.45), rgba(5, 10, 18, 0) 60%);
}
.lx .lx-hero-copy { padding-top: 132px; padding-bottom: clamp(28px, 5vh, 52px); }
html.js:not(.lx-ready):not(.lx-static) .lx-hero-copy,
html.js:not(.lx-ready):not(.lx-static) .lx-hero-foot { visibility: hidden; }
.lx .lx-hero h1 {
  max-width: 11em;
  margin: 0;
  color: #fff;
  font: 500 clamp(3.1rem, 1.3rem + 7.6vw, 7.5rem) / 0.98 "Urbanist", sans-serif;
  letter-spacing: -0.045em;
}
.lx .lx-hero-sub { max-width: 34em; margin: clamp(20px, 3vh, 30px) 0 0; color: #e3eaf0; font: 400 clamp(1.05rem, 0.98rem + 0.35vw, 1.3rem) / 1.55 "Urbanist", sans-serif; text-wrap: pretty; }
.lx .lx-hero .lx-actions { margin-top: clamp(24px, 4vh, 36px); }
.lx .lx-hero-foot {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-block: 20px max(22px, env(safe-area-inset-bottom));
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  color: #a9b7c4;
  font: 500 14px/1.4 "Urbanist", sans-serif;
}
.lx .lx-hero-foot a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: #fff; text-decoration: none; background-image: linear-gradient(currentColor, currentColor); background-repeat: no-repeat; background-position: 0 calc(100% - 10px); background-size: 0 1px; transition: background-size 320ms var(--lx-ease); }
.lx .lx-hero-foot a:is(:hover, :focus-visible) { background-size: 100% 1px; }
.lx .lx-hero-foot .lx-hero-cue { margin-left: auto; }
.lx .lx-hero-cue svg { transform: rotate(90deg); }

/* ---------- how it works ---------- */
.lx-flow-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: clamp(40px, 8vw, 140px); align-items: start; }
.lx .lx-steps { position: relative; margin: 0; padding: 0 0 0 clamp(28px, 4vw, 56px); list-style: none; }
.lx .lx-steps::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 1px; background: var(--lx-line); }
.lx-flow-progress { position: absolute; inset: 0 auto 0 0; width: 1px; background: #fff; transform: scaleY(0); transform-origin: top; }
.lx .lx-step { display: flex; min-height: 64vh; flex-direction: column; justify-content: center; opacity: 0.3; transition: opacity 500ms ease; }
.lx .lx-step.is-active { opacity: 1; }
.lx-step-num { color: var(--lx-dim); font: 500 15px/1 "Urbanist", sans-serif; font-variant-numeric: tabular-nums; }
.lx .lx-step h3 { margin: 16px 0 14px; color: #fff; font: 500 clamp(1.75rem, 1rem + 2.1vw, 2.9rem) / 1.08 "Urbanist", sans-serif; letter-spacing: -0.03em; }
.lx .lx-step p { max-width: 30em; margin: 0; color: var(--lx-soft); font: 400 clamp(1.05rem, 1rem + 0.3vw, 1.25rem) / 1.6 "Urbanist", sans-serif; }
.lx-step-shot { display: none; }
.lx .lx-phone { position: sticky; top: 11vh; margin: 0; }
.lx-phone-frame {
  position: relative;
  width: min(100%, calc(74vh * 720 / 1565));
  aspect-ratio: 720 / 1565;
  margin-inline: auto;
  overflow: hidden;
  border: 1px solid var(--lx-line);
  border-radius: clamp(28px, 3vw, 44px);
  background: #0b121c;
}
.lx-phone-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: translateY(5%) scale(0.97); transition: opacity 600ms var(--lx-ease), transform 900ms var(--lx-ease); }
.lx-phone-frame img.is-active { opacity: 1; transform: none; }
.lx .lx-phone figcaption { margin-top: 16px; color: var(--lx-dim); font: 400 13px/1.4 "Urbanist", sans-serif; letter-spacing: 0; text-align: center; text-transform: none; }

/* ---------- statement ---------- */
.lx .lx-statement { border-block: 1px solid var(--lx-line); }
.lx .lx-statement p { max-width: 21em; margin: 0; color: #fff; font: 500 clamp(1.7rem, 0.9rem + 3.1vw, 4rem) / 1.14 "Urbanist", sans-serif; letter-spacing: -0.03em; }

/* ---------- pilots / owners ---------- */
.lx-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.lx .lx-panel {
  position: relative;
  display: flex;
  min-height: clamp(540px, 76vh, 780px);
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(24px, 3vw, 44px);
  border-radius: 20px;
  background: #0b121c;
}
.lx-panel-img { position: absolute; inset: -8% 0; z-index: -2; }
.lx-panel-img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; transition: transform 1400ms var(--lx-ease); }
.lx-panel:hover .lx-panel-img img { transform: scale(1.05); }
.lx-panel::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(5, 10, 18, 0.96) 0%, rgba(5, 10, 18, 0.82) 48%, rgba(5, 10, 18, 0.3) 82%, rgba(5, 10, 18, 0.12) 100%); }
.lx .lx-panel-tag { margin: 0 0 12px; color: #dbe4ec; font: 500 15px/1.4 "Urbanist", sans-serif; }
.lx .lx-panel h3 { margin: 0; color: #fff; font: 500 clamp(1.9rem, 1rem + 2.3vw, 3.25rem) / 1.04 "Urbanist", sans-serif; letter-spacing: -0.035em; }
.lx .lx-panel ul { width: 100%; margin: 22px 0 28px; padding: 0; border-top: 1px solid rgba(255, 255, 255, 0.24); list-style: none; }
.lx .lx-panel li { padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.16); color: #e6edf2; font: 400 clamp(1rem, 0.96rem + 0.2vw, 1.125rem) / 1.4 "Urbanist", sans-serif; }

/* ---------- services ---------- */
.lx-rows { border-bottom: 1px solid var(--lx-line); }
.lx .lx-row {
  position: relative;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto 16px;
  align-items: center;
  gap: 20px;
  padding: clamp(22px, 3vw, 38px) 0;
  border-top: 1px solid var(--lx-line);
  color: #fff;
  text-decoration: none;
  transition: padding 420ms var(--lx-ease);
}
.lx .lx-row-num { color: var(--lx-dim); font: 500 15px/1 "Urbanist", sans-serif; font-variant-numeric: tabular-nums; }
.lx .lx-row strong { font: 500 clamp(1.6rem, 1rem + 2.4vw, 3.25rem) / 1.05 "Urbanist", sans-serif; letter-spacing: -0.035em; }
.lx .lx-row em { color: var(--lx-soft); font: 400 16px/1.4 "Urbanist", sans-serif; font-style: normal; }
.lx .lx-row svg { transition: transform 420ms var(--lx-ease); }
.lx .lx-row img {
  position: absolute;
  top: 50%;
  right: 22%;
  width: clamp(180px, 18vw, 280px);
  height: clamp(120px, 12vw, 190px);
  object-fit: cover;
  border-radius: 12px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-50%) scale(0.86) rotate(-3deg);
  transition: opacity 360ms ease, transform 620ms var(--lx-ease);
}
@media (hover: hover) and (min-width: 861px) {
  .lx .lx-row:is(:hover, :focus-visible) { padding-inline: 18px 6px; }
  .lx .lx-row:is(:hover, :focus-visible) img { opacity: 1; transform: translateY(-50%) scale(1) rotate(2deg); }
  .lx .lx-row:is(:hover, :focus-visible) svg { transform: translateX(6px); }
}

/* ---------- final ---------- */
.lx .lx-final { padding-block: clamp(96px, 13vw, 200px); }
.lx .lx-final h2 { max-width: 9em; margin: 0 0 clamp(32px, 5vw, 56px); color: #fff; font: 500 clamp(3rem, 1rem + 8.6vw, 8.5rem) / 0.96 "Urbanist", sans-serif; letter-spacing: -0.045em; }
.lx .lx-final-note { max-width: 36em; margin: 28px 0 0; color: var(--lx-dim); font: 400 15px/1.6 "Urbanist", sans-serif; }
.lx .lx-final-note a { color: #fff; text-underline-offset: 4px; }

/* ---------- mobile dock ---------- */
.lx-dock {
  position: fixed;
  right: 12px;
  bottom: max(12px, env(safe-area-inset-bottom));
  left: 12px;
  z-index: 60;
  display: none;
  gap: 8px;
  padding: 8px;
  border: 1px solid rgba(147, 163, 179, 0.22);
  border-radius: 999px;
  background: rgba(5, 10, 18, 0.86);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transform: translateY(160%);
  transition: transform 480ms cubic-bezier(0.22, 0.61, 0.36, 1);
}
.lx-dock.is-on { transform: none; }
.lx-dock .lx-btn { min-height: 48px; padding-inline: 18px; font-size: 15px; }
.lx-dock .lx-btn--solid { flex: 1; }
body.nav-open .lx-dock { display: none; }

/* ---------- small screens ---------- */
@media (max-width: 860px) {
  .lx-flow-grid, .lx-duo { grid-template-columns: 1fr; }
  .lx .lx-phone { display: none; }
  .lx .lx-steps { padding-left: 0; }
  .lx .lx-steps::before, .lx-flow-progress { display: none; }
  .lx .lx-step { min-height: 0; padding-block: 28px; opacity: 1; border-top: 1px solid var(--lx-line); }
  .lx-step-shot { display: block; width: min(100%, 280px); height: auto; margin-top: 26px; border: 1px solid var(--lx-line); border-radius: 28px; }
  .lx .lx-panel { min-height: 520px; }
  .lx .lx-row { grid-template-columns: 36px minmax(0, 1fr) 16px; gap: 14px; }
  .lx .lx-row em, .lx .lx-row img { display: none; }
}
@media (max-width: 720px) {
  .lx-dock { display: flex; }
  .lx .lx-hero-copy { padding-top: 104px; }
  .lx .lx-hero .lx-actions .lx-btn { flex: 1 1 100%; }
  .lx .lx-hero-foot { gap: 20px; font-size: 13px; }
  .lx .lx-hero-foot > span, .lx .lx-hero-cue { display: none; }
  body[data-page="home"] .site-footer { padding-bottom: 96px; }
}
@media (max-height: 560px) and (orientation: landscape) {
  .lx .lx-hero h1 { font-size: clamp(2.2rem, 9vh, 3.4rem); }
  .lx .lx-hero-sub, }
@media (prefers-reduced-motion: reduce) {
  .lx-btn svg, .lx-panel-img img, .lx-phone-frame img, .lx .lx-row, .lx .lx-row img, .lx-dock { transition: none; }
}

/* Mobile-only homepage hero action. */
@media (max-width: 720px) {
  .lx .lx-hero-copy .lx-actions a[data-component="home-hero"] {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.6);
  }
  .lx .lx-hero-copy .lx-actions a[data-component="home-hero"]:is(:hover, :focus-visible) {
    background: rgba(255, 255, 255, 0.08);
    border-color: #fff;
  }
}

/* Companion service routes, aligned with the hero action. */
.lx .lx-hero-copy .lx-hero-foot {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  width: min(100%, 420px);
  margin-top: 24px;
  padding: 0;
  border: 0;
}
.lx .lx-hero-copy .lx-hero-foot a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  min-height: 48px;
  padding: 8px 0;
  border-top: 1px solid rgba(255,255,255,.28);
  background: none;
  font-size: 15px;
  font-weight: 400;
}
.lx .lx-hero-copy .lx-hero-foot a svg {
  flex: 0 0 16px;
  color: #c3dbd6;
  transition: transform 180ms ease;
}
.lx .lx-hero-copy .lx-hero-foot a:hover svg { transform: translateX(3px); }
.lx .lx-hero-copy .lx-hero-foot a:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
@media(max-width:720px) {
  .lx .lx-hero-copy .lx-hero-foot { width: 100%; gap: 20px; margin-top: 20px; }
  .lx .lx-hero-copy .lx-hero-foot a { font-size: 14px; }
}
@media(prefers-reduced-motion:reduce) {
  .lx .lx-hero-copy .lx-hero-foot a svg { transition: none; }
}
