/* Pulse Data: dark product-site system modelled on Linear and Lemni. */
:root {
  --bg: #08090A;
  --bg-2: #0D0D12;
  --panel: #0F1011;
  --panel-2: #141516;
  --line: #23252A;
  --line-soft: #1A1B1F;
  --text: #F7F8F8;
  --text-2: #D0D6E0;
  --muted: #8A8F98;
  --dim: #80858D;
  --lav: #E3E8FF;
  --lav-2: rgba(204, 209, 233, .6);
  --violet: #7B5CFF;
  --violet-2: #A78BFA;
  --indigo: #5E6AD2;
  --ok: #4CB782;
  --red: #EB5757;
  --light: #F4F5F8;
  --light-ink: #0D0D12;
  --light-muted: #5A5B6C;

  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;
  --max: 1280px;
  --pad: clamp(16px, 5vw, 80px);
  --ease: cubic-bezier(.16, 1, .3, 1);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; color-scheme: dark; scrollbar-color: #2A2C31 var(--bg); }
body { background: var(--bg); color: var(--text); font: 400 16px/1.5 var(--sans); font-feature-settings: 'cv01', 'ss03'; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
::selection { background: rgba(123, 92, 255, .45); color: #fff; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--violet-2); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; top: -60px; left: 12px; z-index: 200; background: #fff; color: #000; padding: 8px 12px; border-radius: 8px; }
.skip:focus { top: 12px; }
.tnum { font-variant-numeric: tabular-nums; }

/* ---------- type ---------- */
h1, h2, h3, h4 { font-weight: 510; text-wrap: balance; }
.h-xl { font-size: clamp(2.6rem, 6.4vw, 5.9rem); line-height: .92; letter-spacing: -.05em; font-weight: 400; color: var(--lav); }
.h-lg { font-size: clamp(2.4rem, 4.6vw, 4rem); line-height: 1; letter-spacing: -.035em; }
.h-md { font-size: clamp(2rem, 3.4vw, 3rem); line-height: 1.02; letter-spacing: -.03em; }
.h-two { font-size: clamp(1.6rem, 2.6vw, 2.25rem); line-height: 1.15; letter-spacing: -.025em; color: var(--text); }
.h-two span, .h-md span, .statement span { color: var(--muted); }
.lemni .h-md, .lemni .h-two { font-weight: 400; letter-spacing: -.045em; color: var(--lav); }
.lemni .h-md span, .lemni .h-two span { color: var(--lav-2); }
.p { color: var(--muted); font-size: 15px; line-height: 1.6; letter-spacing: -.01em; max-width: 60ch; }
.p-lg { color: var(--muted); font-size: 18px; line-height: 1.55; letter-spacing: -.012em; max-width: 56ch; }
.fig { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; color: var(--dim); text-transform: uppercase; }
.more { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 14px; margin-top: 20px; transition: color .2s; }
.more:hover { color: var(--text); }
.more svg { width: 14px; height: 14px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 999px; font-size: 14px; font-weight: 510; white-space: nowrap; cursor: pointer; border: 1px solid transparent; transition: background .2s, border-color .2s, transform .15s var(--ease), box-shadow .3s; }
.btn:active { transform: scale(.98); }
.btn svg { width: 14px; height: 14px; }
.btn-white { background: #E6E6E6; color: #08090A; }
.btn-white:hover { background: #fff; }
.btn-dark { background: #1C1D20; border-color: #2A2C31; color: var(--text); }
.btn-dark:hover { background: #26272B; }
.btn-glow { height: 44px; padding: 0 20px; background: linear-gradient(180deg, #1B1240, #0E0A22); color: #fff; border-color: rgba(167, 139, 250, .35); box-shadow: 0 0 0 1px rgba(123, 92, 255, .15), 0 8px 40px rgba(123, 92, 255, .55), 0 0 80px rgba(160, 60, 255, .35); }
.btn-glow:hover { box-shadow: 0 0 0 1px rgba(167, 139, 250, .4), 0 8px 50px rgba(123, 92, 255, .7), 0 0 100px rgba(160, 60, 255, .45); }
.btn-ghost { height: 44px; padding: 0 18px; background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .12); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, .08); }
.btn[disabled] { opacity: .6; cursor: progress; }

/* ---------- nav (Linear) ---------- */
.nav { position: sticky; top: 0; z-index: 100; height: 72px; border-bottom: 1px solid transparent; transition: background .3s, border-color .3s; }
.nav.scrolled { background: rgba(8, 9, 10, .78); border-color: var(--line-soft); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
.nav__in { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; font-size: 19px; font-weight: 590; letter-spacing: -.02em; }
.brand img { height: 26px; width: auto; }
.brand--foot img { height: 22px; }
.nav__right { display: flex; align-items: center; gap: 4px; }
.nav__links { display: flex; list-style: none; gap: 4px; }
.nav__links a, .nav__login { font-size: 14px; color: var(--muted); padding: 6px 12px; border-radius: 6px; transition: color .2s; }
.nav__links a:hover, .nav__login:hover { color: var(--text); }
.nav__sep { width: 1px; height: 16px; background: var(--line); margin: 0 12px; }
.nav .btn { height: 32px; padding: 0 13px; font-size: 13px; }

/* ---------- hero (Lemni centred) ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(72px, 8vw, 112px) 0 0; text-align: center; }
.hero__ghost { position: absolute; inset: 0 0 auto; height: 620px; pointer-events: none; perspective: 1400px; opacity: .55; filter: blur(2.5px); }
.hero__ghost div { position: absolute; left: 50%; top: -60px; width: 1200px; transform: translateX(-20%) rotateX(52deg) rotateZ(-22deg); color: #3A3B46; font-size: 64px; font-weight: 500; letter-spacing: -.04em; line-height: 1.5; white-space: nowrap; -webkit-mask-image: linear-gradient(90deg, transparent, #000 30%, #000 70%, transparent); mask-image: linear-gradient(90deg, transparent, #000 30%, #000 70%, transparent); }
.hero__ghost div span { display: block; font-size: 28px; color: #2C2D36; }
.hero__in { position: relative; }
.hero .h-xl { max-width: 15ch; margin: 0 auto; }
.hero .p-lg { margin: 28px auto 36px; color: #C9CBD8; text-align: center; max-width: 52ch; }
.hero__cta { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.hero__new { display: inline-flex; gap: 8px; align-items: center; margin-bottom: 28px; padding: 5px 12px 5px 6px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; color: var(--muted); background: rgba(255, 255, 255, .02); transition: color .2s, border-color .2s; }
.hero__new b { background: rgba(123, 92, 255, .18); color: #C4B5FD; font-weight: 510; padding: 2px 8px; border-radius: 999px; font-size: 12px; }
.hero__new:hover { color: var(--text); border-color: #34363C; }

/* ---------- app frame (Linear hero UI) ---------- */
.stage { position: relative; margin-top: clamp(48px, 6vw, 72px); padding: 0 clamp(8px, 2vw, 40px); text-align: left; }
.stage::before { content: ""; position: absolute; left: 10%; right: 10%; top: -40px; height: 300px; background: radial-gradient(50% 60% at 50% 40%, rgba(123, 92, 255, .14), transparent 70%); pointer-events: none; }
.app { position: relative; max-width: 1320px; margin: 0 auto; border: 1px solid #2A2B30; border-bottom: 0; border-radius: 16px 16px 0 0; background: linear-gradient(180deg, #111214, #0B0C0D); display: grid; grid-template-columns: 236px 1fr; overflow: hidden; height: clamp(460px, 46vw, 640px); -webkit-mask-image: linear-gradient(#000 72%, transparent); mask-image: linear-gradient(#000 72%, transparent); }
.app__side { padding: 14px 10px; border-right: 1px solid var(--line-soft); font-size: 13px; color: var(--text-2); }
.ws { display: flex; align-items: center; gap: 8px; padding: 6px 8px 14px; font-weight: 510; }
.ws i { width: 18px; height: 18px; border-radius: 5px; background: linear-gradient(135deg, var(--violet), #3B82F6); }
.nav-i { display: flex; align-items: center; gap: 10px; padding: 6px 8px; border-radius: 6px; color: var(--text-2); }
.nav-i svg { width: 15px; height: 15px; color: var(--muted); }
.nav-i.on { background: #1C1D21; }
.side-h { padding: 16px 8px 6px; font-size: 12px; color: var(--dim); }
.dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.app__main { position: relative; display: grid; grid-template-rows: 48px 1fr; min-width: 0; }
.app__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 18px; border-bottom: 1px solid var(--line-soft); font-size: 13px; color: var(--text-2); }
.app__bar .crumb { display: flex; gap: 8px; align-items: center; min-width: 0; white-space: nowrap; overflow: hidden; }
.app__bar .crumb b { font-weight: 510; color: var(--text); }
.pill { display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 8px; border: 1px solid var(--line); border-radius: 999px; font-size: 12px; color: var(--muted); white-space: nowrap; }
.app__body { display: grid; grid-template-columns: minmax(0, 1fr) 260px; min-height: 0; }
.doc { padding: 28px 40px; overflow: hidden; }
.doc .doc__t { font-weight: 510; font-size: 20px; letter-spacing: -.02em; margin-bottom: 8px; }
.doc .p { font-size: 14px; }
.video { position: relative; margin: 20px 0; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 9; max-height: 300px; }
.video img { width: 100%; height: 100%; object-fit: cover; }
.video .rec { position: absolute; top: 10px; left: 10px; display: flex; gap: 6px; align-items: center; background: rgba(0, 0, 0, .6); padding: 4px 8px; border-radius: 6px; font: 500 11px var(--mono); color: #fff; }
.video .rec::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--red); }
.act { margin-top: 6px; font-size: 13px; color: var(--muted); }
.act .act__t { font-weight: 510; font-size: 15px; color: var(--text); margin-bottom: 10px; }
.act li { list-style: none; display: flex; gap: 10px; align-items: center; padding: 5px 0; }
.act li svg { width: 14px; height: 14px; flex: none; }
.act li b { color: var(--text-2); font-weight: 510; }
.props { border-left: 1px solid var(--line-soft); padding: 22px 18px; font-size: 13px; }
.props dt { color: var(--dim); font-size: 12px; margin: 14px 0 6px; }
.props dt:first-child { margin-top: 0; }
.props dd { display: flex; gap: 8px; align-items: center; color: var(--text-2); }
.chat { position: absolute; right: 20px; bottom: 30px; width: min(380px, 60%); border: 1px solid #2E3035; border-radius: 12px; background: rgba(20, 21, 23, .94); box-shadow: 0 24px 60px rgba(0, 0, 0, .55); font-size: 13px; overflow: hidden; }
.chat__top { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; border-bottom: 1px solid var(--line-soft); color: var(--text-2); }
.chat__top span { display: flex; gap: 8px; align-items: center; }
.chat__msg { margin: 12px 14px 6px; padding: 10px 12px; background: #1F2023; border-radius: 8px; color: var(--text); }
.chat__ctx { padding: 0 14px 6px; text-align: right; color: var(--muted); font-size: 12px; }
.chat__out { padding: 6px 14px 14px; color: var(--muted); }
.chat__out li { list-style: none; display: flex; gap: 8px; align-items: center; padding: 3px 0; color: var(--text-2); }
.chat__out li svg { width: 13px; height: 13px; color: var(--ok); flex: none; }

/* ---------- strip (Linear logo row) ---------- */
.logos { padding: 72px 0 12px; }
.logos__row { display: grid; grid-template-columns: repeat(6, 1fr); gap: 24px; align-items: center; }
.logos__row span { display: flex; align-items: center; justify-content: center; gap: 8px; color: #C9CCD3; font-size: 19px; font-weight: 600; letter-spacing: -.02em; white-space: nowrap; }
.logos__row svg { width: 20px; height: 20px; }
.logos .fig { margin-top: 28px; }

/* ---------- statement ---------- */
.statement { padding: clamp(72px, 10vw, 140px) 0 clamp(48px, 6vw, 80px); font-size: clamp(1.6rem, 3vw, 2.6rem); line-height: 1.1; letter-spacing: -.03em; font-weight: 510; max-width: 1080px; }

/* ---------- figs (Linear 3-up) ---------- */
.figs { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line-soft); padding-bottom: clamp(80px, 10vw, 160px); }
.figs > div { padding: 0 32px 0 0; }
.figs > div + div { padding-left: 32px; border-left: 1px solid var(--line-soft); }
.figs svg { width: 100%; height: 300px; margin: 24px 0 40px; }
.figs svg * { vector-effect: non-scaling-stroke; }
.figs .fig__t { font-size: 15px; letter-spacing: -.01em; margin-bottom: 8px; color: var(--text); }
.figs p { color: var(--muted); font-size: 15px; max-width: 36ch; }

/* ---------- section scaffold (Linear) ---------- */
.sec { padding: clamp(96px, 12vw, 180px) 0; position: relative; }
.split-head { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 64px); align-items: start; margin-bottom: clamp(48px, 6vw, 80px); }
.split-head .p-lg { color: var(--text-2); font-size: clamp(1.1rem, 1.6vw, 1.45rem); line-height: 1.35; letter-spacing: -.02em; }
.feat-list { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 24px; margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line-soft); font-size: 14px; color: var(--muted); }
.feat-list ul { list-style: none; display: grid; gap: 6px; }
.feat-list li { color: var(--text-2); }

/* board (Linear) */
.board { position: relative; display: grid; grid-template-columns: 360px 1fr; gap: 16px; -webkit-mask-image: linear-gradient(90deg, #000 78%, transparent); mask-image: linear-gradient(90deg, #000 78%, transparent); }
.thread { border: 1px solid var(--line); border-radius: 12px; background: var(--panel); padding: 16px; font-size: 13px; align-self: start; }
.thread__h { display: flex; justify-content: space-between; color: var(--text-2); padding-bottom: 12px; border-bottom: 1px solid var(--line-soft); margin-bottom: 12px; }
.thread__h b { font-weight: 510; color: var(--text); }
.msg { display: grid; grid-template-columns: 28px 1fr; gap: 10px; padding: 8px 0; }
.av { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 600; color: #fff; }
.msg b { font-weight: 510; color: var(--text); }
.msg small { color: var(--dim); margin-left: 6px; }
.msg p { color: var(--text-2); margin-top: 2px; }
.compose { margin-top: 12px; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; color: var(--text); }
.compose em { font-style: normal; background: rgba(94, 106, 210, .25); color: #B8BFFF; padding: 1px 5px; border-radius: 4px; }
.cols { display: grid; grid-template-columns: repeat(4, minmax(220px, 1fr)); gap: 12px; }
.col__h { display: flex; gap: 8px; align-items: center; font-size: 13px; color: var(--text-2); padding: 4px 4px 12px; }
.col__h svg { width: 14px; height: 14px; }
.card { border: 1px solid var(--line); background: var(--panel-2); border-radius: 10px; padding: 12px; margin-bottom: 10px; font-size: 13px; }
.card small { color: var(--dim); font-family: var(--mono); font-size: 11px; }
.card p { color: var(--text); margin: 4px 0 10px; }
.tags { display: flex; gap: 6px; flex-wrap: wrap; }
.tag { display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 8px; border: 1px solid var(--line); border-radius: 999px; font-size: 11.5px; color: var(--muted); }

/* ---------- lemni 3D cards ---------- */
.lemni { background: var(--bg-2); }
.tilt-sec { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.tilt-sec > div { padding: clamp(48px, 6vw, 88px) clamp(20px, 4vw, 64px); min-height: 540px; position: relative; overflow: hidden; }
.tilt-sec > div + div { border-left: 1px solid var(--line-soft); }
.tilt { perspective: 1200px; margin-top: 48px; }
.tilt__in { transform: rotateX(38deg) rotateZ(-14deg) translateY(10px); transform-style: preserve-3d; display: grid; gap: 12px; max-width: 420px; margin-left: 6%; }
.tcard { border: 1px solid #2B2C36; background: linear-gradient(180deg, #1A1A22, #14141B); border-radius: 12px; padding: 14px 16px; font-size: 13px; color: var(--lav); box-shadow: 0 20px 40px rgba(0, 0, 0, .45); }
.tcard small { display: block; color: #8A8BA0; font-size: 11px; margin-bottom: 4px; }
.tcard .row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.tcard .st { font-size: 11.5px; padding: 2px 8px; border-radius: 999px; background: rgba(76, 183, 130, .14); color: #6FD3A2; white-space: nowrap; }
.tcard .st.wait { background: rgba(242, 201, 76, .14); color: #F2C94C; }
.tcard .st.cal { background: rgba(123, 92, 255, .18); color: #C4B5FD; }
.tnote { margin: 10px 0 0 24px; display: inline-flex; gap: 8px; align-items: center; padding: 6px 12px; border-radius: 999px; border: 1px solid #2B2C36; background: #15151C; color: #A6A8BD; font-size: 12px; }
.wave { margin-top: 36px; border: 1px solid #23232C; border-radius: 12px; background: #111118; padding: 16px; }
.wave__h { display: flex; justify-content: space-between; font-size: 13px; color: var(--lav); }
.wave svg { width: 100%; height: 70px; margin: 12px 0 8px; }
.wave__f { display: flex; justify-content: space-between; font-size: 12px; color: #8A8BA0; }
.wave__f b { color: #6FD3A2; font-weight: 500; }

/* purple band (Lemni) */
.band { background: linear-gradient(180deg, var(--bg-2) 0%, #1E1636 30%, #34266E 62%, #4B44B8 100%); padding: clamp(100px, 12vw, 180px) 0 clamp(80px, 10vw, 140px); }
.band__in { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 80px); align-items: end; }
.band .h-md { font-weight: 400; letter-spacing: -.05em; color: #F1F2FF; }
.band p { color: #E4E3FA; font-size: 17px; line-height: 1.6; }
.band p b { color: #fff; font-weight: 510; }

/* light (Lemni) */
.light { background: linear-gradient(180deg, #4B44B8 0%, #C9CBF6 5%, var(--light) 10%); color: var(--light-ink); padding: clamp(140px, 14vw, 200px) 0 0; overflow: hidden; }
.light .center { text-align: center; max-width: 1000px; margin: 0 auto; }
.light .center .h-md { max-width: 16ch; margin: 0 auto; }
.light .h-md { font-weight: 400; letter-spacing: -.05em; color: var(--light-ink); }
.light .p { color: var(--light-muted); margin: 18px auto 0; text-align: center; }
.icons { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px 16px; margin-top: 36px; }
.icons span { display: grid; justify-items: center; gap: 8px; font-size: 11.5px; color: var(--light-muted); min-width: 56px; }
.icons i { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: #fff; box-shadow: 0 1px 2px rgba(13, 13, 18, .08), 0 0 0 1px rgba(13, 13, 18, .05); }
.icons i svg { width: 18px; height: 18px; }
.icons .soon { color: #6E6F82; }
.lshot { perspective: 1800px; margin-top: 56px; height: clamp(320px, 42vw, 560px); }
.lshot__in { width: min(1100px, 96%); margin: 0 auto; transform: rotateX(42deg) rotateZ(-12deg) translateY(-8%); transform-origin: 50% 0; background: #fff; border-radius: 16px; box-shadow: 0 40px 80px rgba(40, 40, 80, .18), 0 0 0 1px rgba(13, 13, 18, .06); display: grid; grid-template-columns: 200px 1fr 260px; overflow: hidden; font-size: 13px; }
.lshot__side { background: #F7F7FA; padding: 16px 12px; border-right: 1px solid #ECECF1; color: #2B2C38; }
.lshot__side div { padding: 6px 8px; border-radius: 6px; }
.lshot__side .on { background: #ECECF4; }
.lshot__side small { display: block; color: #6E6F82; padding: 12px 8px 4px; font-size: 11px; }
.lshot__img { position: relative; }
.lshot__img img { width: 100%; height: 100%; object-fit: cover; }
.lshot__list { padding: 16px; color: #2B2C38; }
.lshot__list b { display: block; font-weight: 600; margin-bottom: 10px; }
.lshot__list div { display: flex; align-items: center; gap: 8px; padding: 7px 0; border-bottom: 1px solid #F0F0F4; }

.light2 { background: var(--light); color: var(--light-ink); }
.duo { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid #E3E4EA; }
.duo > div { padding: clamp(48px, 6vw, 96px) clamp(20px, 4vw, 64px) clamp(48px, 6vw, 96px) 0; }
.duo > div + div { padding-left: clamp(20px, 4vw, 64px); border-left: 1px solid #E3E4EA; }
.duo h3 { font-size: clamp(1.8rem, 2.6vw, 2.25rem); font-weight: 400; letter-spacing: -.045em; line-height: 1.05; margin-bottom: 16px; }
.duo p { color: var(--light-muted); font-size: 15px; line-height: 1.6; max-width: 44ch; }
.minis { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 22px; font-size: 13px; color: #3C3D4C; }
.minis span { display: inline-flex; align-items: center; gap: 8px; }
.minis svg { width: 15px; height: 15px; color: #6B6C80; }
.notes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding: 40px 0 clamp(64px, 8vw, 112px); border-top: 1px solid #E3E4EA; font-size: 13px; color: var(--light-muted); }
.notes div { display: grid; grid-template-columns: 18px 1fr; gap: 12px; }
.notes svg { width: 16px; height: 16px; color: #3C3D4C; margin-top: 2px; }
.notes b { color: var(--light-ink); font-weight: 510; }

/* ---------- labelling (Linear split review) ---------- */
.review { display: grid; grid-template-columns: 340px 1fr; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--panel); }
.queue { border-right: 1px solid var(--line-soft); padding: 10px 0; font-size: 13px; }
.queue .qh { display: flex; gap: 8px; align-items: center; padding: 10px 16px 6px; font-size: 13px; color: var(--text-2); font-weight: 510; }
.queue .qh svg { width: 14px; height: 14px; }
.queue .qh small { color: var(--dim); font-weight: 400; }
.q { display: grid; grid-template-columns: 74px 16px 1fr; gap: 8px; align-items: center; padding: 7px 16px; color: var(--text-2); }
.q small { font-family: var(--mono); color: var(--dim); font-size: 11.5px; }
.q.on { background: #17181B; }
.q svg { width: 14px; height: 14px; }
.viewer { display: grid; grid-template-rows: 44px auto 44px; min-width: 0; }
.viewer__bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 0 16px; border-bottom: 1px solid var(--line-soft); font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; }
.viewer__bar:last-child { border-bottom: 0; border-top: 1px solid var(--line-soft); }
.viewer__img { position: relative; aspect-ratio: 1672 / 941; overflow: hidden; }
.viewer__img img { width: 100%; height: 100%; object-fit: cover; }
.ann { position: absolute; inset: 0; width: 100%; height: 100%; }
.ann rect, .ann polygon, .ann path { fill: none; stroke-width: 2; vector-effect: non-scaling-stroke; }
.ann .b { stroke: #8B9BFF; fill: rgba(139, 155, 255, .08); }
.ann .g { stroke: #6FD3A2; fill: rgba(111, 211, 162, .08); }
.ann .r { stroke: #FF7A7A; }
.ann .w { stroke: rgba(255, 255, 255, .75); stroke-dasharray: 5 5; }
.ann circle { fill: #FF7A7A; }
.ann text { font: 600 26px var(--sans); fill: #fff; }
.ann .lb { stroke: none; }
.ann .lb.b { fill: #5E6AD2; }
.ann .lb.g { fill: #2F8F63; }
.ann .lb.r { fill: #C24545; }
.ann .lb.w { fill: rgba(0, 0, 0, .55); stroke: none; }
.ann g { transition: opacity .3s var(--ease); }
.viewer[data-labels="off"] .ann g { opacity: 0; }
.switch { display: inline-flex; gap: 8px; align-items: center; background: none; border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px 4px 6px; color: var(--text-2); font-size: 12px; cursor: pointer; }
.switch i { width: 26px; height: 14px; border-radius: 7px; background: #2A2C31; position: relative; transition: background .2s; }
.switch i::after { content: ""; position: absolute; top: 2px; left: 2px; width: 10px; height: 10px; border-radius: 50%; background: #fff; transition: transform .25s var(--ease); }
.switch[aria-pressed="true"] i { background: var(--indigo); }
.switch[aria-pressed="true"] i::after { transform: translateX(12px); }

/* ---------- align/secure (Lemni dark purple) ---------- */
.pair { background: radial-gradient(80% 60% at 50% 0%, #2A1D5C 0%, var(--bg-2) 70%); }
.pair__in { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid rgba(255, 255, 255, .06); border-bottom: 1px solid rgba(255, 255, 255, .06); }
.pair__in > div { text-align: center; padding: clamp(64px, 8vw, 120px) clamp(20px, 4vw, 64px); }
.pair__in > div + div { border-left: 1px solid rgba(255, 255, 255, .06); }
.pair .ic { width: 30px; height: 30px; margin: 0 auto 18px; }
.pair h3 { font-size: clamp(1.8rem, 2.6vw, 2.4rem); font-weight: 400; letter-spacing: -.045em; color: var(--lav); margin-bottom: 14px; }
.pair p { color: #A6A8BD; font-size: 15px; max-width: 42ch; margin: 0 auto; }
.pair ul { list-style: none; margin: 24px auto 0; display: grid; gap: 8px; max-width: 340px; text-align: left; font-size: 14px; color: #C9CBDD; }
.pair li { display: flex; gap: 10px; }
.pair li svg { width: 16px; height: 16px; margin: 3px 0 0; color: #A78BFA; flex: none; }

/* ---------- templates (Lemni) ---------- */
.tpl-head { text-align: center; }
.tpl-head .p-lg { margin: 18px auto 28px; text-align: center; color: #A6A8BD; }
.tpls { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 64px; }
.tpl { border: 1px solid #22232B; background: linear-gradient(180deg, #15151C, #111117); border-radius: 12px; padding: 18px; transition: border-color .2s, transform .2s var(--ease); }
.tpl:hover { border-color: #353647; transform: translateY(-2px); }
.tpl i { width: 22px; height: 22px; border-radius: 6px; display: grid; place-items: center; background: rgba(123, 92, 255, .18); color: #C4B5FD; margin-bottom: 14px; }
.tpl i svg { width: 14px; height: 14px; }
.tpl b { display: block; font-weight: 510; color: var(--lav); margin-bottom: 10px; }
.tpl .tag { border-color: #2A2B36; color: #A6A8BD; }

/* ---------- final CTA (Linear) + form ---------- */
.final { text-align: center; padding: clamp(120px, 14vw, 200px) 0 clamp(80px, 10vw, 140px); }
.final .h-lg { font-size: clamp(2.6rem, 5.4vw, 4.5rem); letter-spacing: -.04em; }
.final__cta { display: flex; justify-content: center; gap: 10px; margin-top: 32px; }
.formcard { max-width: 640px; margin: 72px auto 0; text-align: left; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); padding: clamp(20px, 3vw, 32px); }
.formcard h3 { font-size: 18px; letter-spacing: -.015em; margin-bottom: 4px; }
.formcard > p { color: var(--muted); font-size: 14px; margin-bottom: 20px; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form label { display: grid; gap: 6px; font-size: 12.5px; color: var(--muted); }
.form .full { grid-column: 1 / -1; }
.form input, .form select, .form textarea { width: 100%; background: #0B0C0D; border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; color: var(--text); font-size: 14px; outline: none; transition: border-color .2s, box-shadow .2s; }
.form textarea { min-height: 96px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: #4B4E8F; box-shadow: 0 0 0 3px rgba(94, 106, 210, .2); }
.form [aria-invalid="true"] { border-color: #8C3B3B; }
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__foot { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; }
.form__msg { font-size: 13px; color: var(--muted); min-height: 1.4em; }
.form__msg.err { color: #FF9C9C; }
.form__msg.ok { color: #7EE2B0; }

/* ---------- footer (Linear) ---------- */
.foot { border-top: 1px solid var(--line-soft); padding: 64px 0 40px; font-size: 13px; }
.foot__grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; }
.foot h5 { font-size: 13px; font-weight: 510; color: var(--text); margin-bottom: 16px; }
.foot ul { list-style: none; display: grid; gap: 10px; }
.foot a { color: var(--muted); transition: color .2s; }
.foot a:hover { color: var(--text); }
.foot__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 64px; color: var(--dim); }

/* ---------- reveal ---------- */
.js .rv { opacity: 0; transform: translateY(16px); filter: blur(6px); transition: opacity .9s var(--ease), transform .9s var(--ease), filter .9s var(--ease); }
.js .rv.in { opacity: 1; transform: none; filter: none; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .app { grid-template-columns: 1fr; }
  .app__side { display: none; }
  .logos__row { grid-template-columns: repeat(3, 1fr); row-gap: 28px; }
  .board { grid-template-columns: 1fr; -webkit-mask-image: none; mask-image: none; }
  .cols { overflow-x: auto; grid-template-columns: repeat(4, 240px); padding-bottom: 8px; }
  .lshot__in { grid-template-columns: 1fr 220px; }
  .lshot__side { display: none; }
}
@media (max-width: 860px) {
  .nav__links, .nav__sep, .nav__login { display: none; }
  .split-head, .band__in, .tilt-sec, .duo, .pair__in, .review { grid-template-columns: 1fr; }
  .tilt-sec > div + div, .pair__in > div + div { border-left: 0; border-top: 1px solid var(--line-soft); }
  .duo > div, .duo > div + div { padding: 48px 0; border-left: 0; }
  .duo > div + div { border-top: 1px solid #E3E4EA; }
  .figs { grid-template-columns: 1fr; }
  .figs > div, .figs > div + div { padding: 0 0 40px; border-left: 0; }
  .figs svg { height: 220px; margin: 16px 0 24px; }
  .app__body { grid-template-columns: 1fr; }
  .props { display: none; }
  .doc { padding: 20px; }
  .queue { display: none; }
  .tpls, .notes, .feat-list { grid-template-columns: 1fr; }
  .foot__grid { grid-template-columns: 1fr 1fr; }
  .chat { width: calc(100% - 24px); right: 12px; bottom: 16px; }
  .tilt-sec > div { min-height: 0; }
}
@media (max-width: 560px) {
  .logos__row { grid-template-columns: repeat(2, 1fr); }
  .logos__row span { font-size: 16px; }
  .form { grid-template-columns: 1fr; }
  .lshot__in { grid-template-columns: 1fr; }
  .lshot__list { display: none; }
  .hero__ghost { display: none; }
  .final__cta { flex-direction: column; align-items: center; }
  .viewer__bar .hide-sm { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .rv { opacity: 1; transform: none; filter: none; transition: none; }
  * { transition-duration: 0s !important; animation: none !important; }
}

/* swatches (kept out of inline styles for the CSP) */
.d1 { background: #F2994A; } .d2 { background: #EB5757; } .d3 { background: #F2C94C; } .d4 { background: #5E6AD2; } .d5 { background: #4CB782; }
.a1 { background: #5E6AD2; } .a2 { background: #9A4E3A; } .a3 { background: #23744F; }
.mt { margin-top: 28px; }
.logos__row { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 1100px) { .logos__row { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .logos__row { grid-template-columns: repeat(2, 1fr); } }

/* sample datasets */
.sets { padding-top: clamp(72px, 9vw, 128px); padding-bottom: 0; }
.sets__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.set { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--panel); transition: border-color .2s, transform .25s var(--ease); }
.set:hover { border-color: #34363C; transform: translateY(-2px); }
.set__img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.set__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.set:hover .set__img img { transform: scale(1.03); }
.set__img .rec { position: absolute; top: 10px; left: 10px; display: flex; gap: 6px; align-items: center; background: rgba(0, 0, 0, .6); padding: 3px 7px; border-radius: 6px; font: 500 11px var(--mono); color: #fff; }
.set__img .rec::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--red); }
.set__body { padding: 16px; }
.set__body small { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--dim); }
.set__body b { display: block; font-weight: 510; font-size: 15px; margin: 4px 0 6px; }
.set__body p { color: var(--muted); font-size: 13.5px; line-height: 1.5; margin-bottom: 12px; }
@media (max-width: 1100px) { .sets__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .sets__grid { grid-template-columns: 1fr; } }
