/* CellLabel website. Dark, quiet, and the app's own blue; every picture of the app is the app. */
:root {
  --bg: #0c0d10;
  --surface: #141519;
  --surface-2: #111215;
  --line: #24262c;
  --line-soft: #1d1e23;
  --text: #ecedef;
  --head: #f5f5f7;
  --muted: #a2a5ad;
  --faint: #868991;
  --accent: #4c9be8;
  --link: #7db8f2;
  --link-hover: #a9d0f7;
  --shadow: 0 0 0 1px rgba(255, 255, 255, 0.14), 0 30px 90px rgba(0, 0, 0, 0.55);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Helvetica Neue", Arial, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: var(--link); text-decoration: none; }
a:hover { color: var(--link-hover); }
img { max-width: 100%; }
h1, h2, h3, p { margin: 0; }

.wrap { max-width: 1240px; margin: 0 auto; padding-inline: 24px; }

/* ---------------------------------------------------------------- header and footer */
.site-header { border-bottom: 1px solid var(--line-soft); }
.site-nav { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 28px; padding-block: 14px; }
.logo { display: flex; align-items: center; gap: 10px; min-height: 44px; color: var(--head); font-weight: 600; font-size: 17px; letter-spacing: -0.01em; }
.logo:hover { color: var(--head); }
.logo img { width: 30px; height: 30px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 4px 22px; font-size: 14px; }
.nav-links a { padding: 12px 0; color: var(--muted); }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--head); }
.site-nav .button { margin-left: auto; }
@media (max-width: 560px) { .site-nav .button { display: none; } }

.site-footer { border-top: 1px solid var(--line-soft); }
.site-footer .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; padding-block: 32px 40px; font-size: 14px; color: var(--faint); }
.site-footer .logo { min-height: 0; font-size: 14px; }
.site-footer .logo img { width: 24px; height: 24px; }
.site-footer .nav-links { margin-left: auto; gap: 4px 24px; }

/* ---------------------------------------------------------------- buttons and type */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  font-size: 16px; font-weight: 600; white-space: nowrap;
}
.button--small { min-height: 40px; padding: 0 16px; gap: 8px; font-size: 14px; }
.button--large { min-height: 56px; padding: 0 30px; font-size: 17px; }
.button--primary { background: var(--head); color: var(--bg); }
.button--primary:hover { background: #fff; color: var(--bg); }
.button--ghost { border: 1px solid #2e3037; color: var(--text); font-weight: 500; }
.button--ghost:hover { background: #1b1c21; color: var(--text); }

.eyebrow { font-size: 14px; font-weight: 600; color: var(--accent); }
.display { font-size: clamp(44px, 5.6vw, 80px); line-height: 1; letter-spacing: -0.035em; font-weight: 700; color: var(--head); }
.title { font-size: clamp(34px, 4vw, 54px); line-height: 1.04; letter-spacing: -0.03em; font-weight: 700; color: var(--head); }
.title--small { font-size: clamp(32px, 3.4vw, 46px); line-height: 1.05; }
.lede { font-size: 19px; line-height: 1.55; color: var(--muted); }
.copy { font-size: 17px; line-height: 1.6; color: var(--muted); }
.note { font-size: 13px; line-height: 1.6; color: var(--faint); }
.stack { display: flex; flex-direction: column; gap: 18px; min-width: 0; }

/* ---------------------------------------------------------------- pictures of the app */
.shot { position: relative; margin: 0; border-radius: 8px; overflow: hidden; background: #161616; box-shadow: var(--shadow); }
.shot--window { border-radius: 10px; }
.shot img { display: block; width: 100%; height: auto; }
/* The desktop app's traffic lights, over the room its top bar leaves for them. */
.shot .lights { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }

/* ---------------------------------------------------------------- home */
.hero { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; padding-block: 88px 104px; }
.hero-copy { flex: 1 1 380px; gap: 26px; }
.hero-copy .lede { max-width: 500px; }
.hero .shot { flex: 1.4 1 600px; min-width: 0; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14), 0 40px 120px rgba(0, 0, 0, 0.6); }
.tag { display: inline-flex; align-items: center; gap: 10px; align-self: flex-start; font-size: 14px; font-weight: 500; color: var(--muted); }
.tag::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.version { font-size: 13px; color: var(--faint); }

.facts { border-block: 1px solid var(--line-soft); background: #0f1013; }
.facts .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 40px; padding-block: 22px; font-size: 14px; color: var(--muted); }

.section { padding-block: 120px; }
.section--tight { padding-block: 40px 120px; }
.section-head { display: flex; flex-direction: column; gap: 16px; max-width: 780px; }
.section-head .lede { max-width: 620px; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; margin-top: 48px; }
.cards--wide { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.card { display: flex; flex-direction: column; gap: 14px; padding: 24px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.card h3 { font-size: 21px; font-weight: 600; letter-spacing: -0.02em; }
.cards--wide .card h3 { font-size: 18px; margin-top: 4px; }
.card p { font-size: 15px; line-height: 1.55; color: var(--muted); }
.card-top { display: flex; align-items: center; }
.card-top kbd { margin-left: auto; }
.card svg { color: var(--accent); }
kbd {
  min-width: 26px; padding: 3px 8px; text-align: center; border-radius: 6px;
  border: 1px solid #343434; border-bottom-width: 2px; background: #1e1e1e;
  font-family: inherit; font-size: 12px; color: #e6e6e6;
}

.detect-head { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 32px 56px; margin-bottom: 48px; }
.detect-head > .stack { flex: 1 1 420px; gap: 22px; }
.detect-head .lede { max-width: 560px; }
.rail { flex: 1 1 420px; min-width: 0; margin: 0; padding: 0 0 0 2px; list-style: none; border-left: 1px solid #2e3037; }
.rail li { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 0 0 22px 24px; }
.rail li:last-child { padding-bottom: 0; }
.rail li::before { content: ""; position: absolute; left: -5px; top: 7px; width: 9px; height: 9px; border-radius: 50%; background: #4a4d55; }
.rail li:first-child::before { background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.rail b { font-size: 17px; font-weight: 600; color: var(--head); }
.rail span { font-size: 15px; line-height: 1.5; color: var(--muted); }

/* The Detect demo: the app's window at 1440x900, scaled to the page by detect-demo.js. */
.demo {
  position: relative; width: 100%; aspect-ratio: 1440 / 900; overflow: hidden;
  border-radius: 10px; background: #161616;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14), 0 40px 120px rgba(0, 0, 0, 0.6);
}
.demo > .cl-app { position: absolute; left: 0; top: 0; width: 1440px; height: 900px; transform-origin: 0 0; }
.demo .light { position: absolute; top: 16px; width: 12px; height: 12px; border-radius: 50%; box-shadow: inset 0 0 0 0.5px rgba(0, 0, 0, 0.25); }
.demo-caption { margin-top: 20px; max-width: 820px; }
.demo-small { display: none; margin-top: 14px; }
@media (max-width: 720px) { .demo-small { display: block; } }

.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 40px; padding: clamp(32px, 5vw, 64px); border-radius: 24px; background: var(--surface); border: 1px solid var(--line); }
.cta .stack { flex: 1 1 420px; gap: 20px; }
.cta .lede { max-width: 480px; }
.cta-icon { flex: 0 0 auto; width: 220px; margin: 0 auto; filter: drop-shadow(0 24px 48px rgba(0, 0, 0, 0.6)); }

/* ---------------------------------------------------------------- features */
.page-head { display: flex; flex-direction: column; gap: 22px; padding-block: 96px 72px; }
.page-head .lede { max-width: 620px; }
.jumps { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.jumps a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid #2e3037; font-size: 14px; color: var(--muted); }
.jumps a:hover { color: var(--head); border-color: #4a4d55; }

.feature { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; padding-block: 72px; border-top: 1px solid var(--line-soft); }
.feature--flip { flex-direction: row-reverse; }
.feature > .stack { flex: 1 1 320px; }
.feature > .shot { flex: 1.5 1 560px; min-width: 0; }
.feature--stacked { flex-direction: column; align-items: stretch; gap: 40px; }
.feature--stacked .cols { display: flex; flex-wrap: wrap; gap: 18px 56px; align-items: flex-end; }
.feature--stacked .cols > .stack { flex: 1 1 420px; }
.panel-shot { flex: 1 1 360px; display: flex; justify-content: center; }
.panel-shot .shot { width: 100%; max-width: 400px; }
.more { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 16px; font-weight: 600; }

/* ---------------------------------------------------------------- download */
.dl-hero { max-width: 920px; margin: 0 auto; padding: 96px 24px 64px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 22px; }
.dl-hero .lede { max-width: 560px; }
.dl-icon { position: relative; width: 144px; height: 144px; display: grid; place-items: center; }
.dl-icon::before { content: ""; position: absolute; inset: 18px; border-radius: 40px; background: #2f8fd8; filter: blur(48px); opacity: 0.35; }
.dl-icon img { position: relative; width: 136px; height: 136px; filter: drop-shadow(0 24px 48px rgba(0, 0, 0, 0.6)); }

.dl-card { max-width: 920px; margin: 0 auto; padding: 0 24px 96px; }
.dl-box { border-radius: 22px; background: var(--surface); border: 1px solid var(--line); overflow: hidden; }
.dl-main { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; padding: clamp(24px, 4vw, 40px); }
.dl-main .stack { flex: 1 1 300px; gap: 8px; }
.dl-name { font-size: 26px; font-weight: 700; letter-spacing: -0.02em; color: var(--head); }
.dl-file { font-size: 15px; color: var(--muted); }
.specs { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); border-top: 1px solid var(--line); background: var(--surface-2); }
.specs div { display: flex; flex-direction: column; gap: 4px; padding: 18px 24px; font-size: 14px; }
.specs dt { font-size: 12px; font-weight: 600; color: var(--faint); }
.specs dd { margin: 0; }
.dl-older { margin-top: 18px; text-align: center; font-size: 14px; color: var(--faint); }

.block { padding-block: 88px; border-top: 1px solid var(--line-soft); }
.block > .section-head { margin-bottom: 40px; max-width: 720px; }
.steps { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 14px; }
.step { display: flex; flex-direction: column; gap: 16px; padding: 24px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.step-art { display: flex; align-items: center; justify-content: center; gap: 18px; height: 120px; padding: 0 16px; border-radius: 12px; background: #0f1013; border: 1px solid #1f2025; }
.step-art--column { flex-direction: column; align-items: stretch; gap: 10px; }
.step-head { display: flex; align-items: baseline; gap: 12px; }
.step-head b { font-size: 14px; color: var(--accent); }
.step h3 { font-size: 19px; font-weight: 600; letter-spacing: -0.015em; }
.step p { font-size: 15px; line-height: 1.6; color: var(--muted); }
.mock-label { font-size: 11px; font-weight: 600; color: var(--faint); }
.mock-row { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 9px; background: #1e1e1e; border: 1px solid #343434; font-size: 12px; color: var(--muted); }
.mock-row span { flex: 1; min-width: 0; }
.mock-row em { font-style: normal; padding: 5px 10px; border-radius: 7px; background: #3a3a3a; color: var(--head); white-space: nowrap; }
.drop { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 14px 22px; border-radius: 12px; border: 1.5px dashed var(--accent); background: rgba(76, 155, 232, 0.06); font-size: 12px; color: #9cc8f3; }

.notes { display: flex; flex-wrap: wrap; gap: 14px; padding-block: 88px 120px; border-top: 1px solid var(--line-soft); }
.notes article { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 16px; padding: clamp(24px, 3vw, 36px); border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.notes article:first-child { flex: 1.2 1 440px; }
.notes h2 { font-size: clamp(24px, 2.4vw, 32px); line-height: 1.12; letter-spacing: -0.025em; font-weight: 700; color: var(--head); }
.notes p { font-size: 15px; line-height: 1.6; color: var(--muted); }
.path { display: block; padding: 14px 16px; border-radius: 10px; background: var(--bg); border: 1px solid var(--line); font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 13px; line-height: 1.6; color: #cfe4fa; overflow-x: auto; white-space: nowrap; }
