@font-face { font-family: "Geist"; src: url("fonts/geist.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("fonts/geist-mono.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  color-scheme: dark;
  --bg: #0a0a0b;
  --panel: #111113;
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.16);
  --text: #ededee;
  --mut: #9b9ba2;
  --dim: #7d7d84;
  --accent: #3ecf8e;
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
[hidden] { display: none !important; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2 { text-wrap: balance; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: #fff; color: #000; padding: 8px 14px; border-radius: 999px; text-decoration: none; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.grey { display: block; color: #7c7c83; }
.ar { width: 14px; height: 14px; flex: none; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: 999px; font: 500 15px/1 var(--sans); text-decoration: none; border: 1px solid transparent; transition: background 0.2s, border-color 0.2s; white-space: nowrap; }
.btn-primary { background: #f4f4f5; color: #0a0a0b; }
.btn-primary:hover { background: #fff; }
.btn-ghost { border-color: var(--line-2); color: var(--text); }
.btn-ghost:hover { border-color: rgba(255, 255, 255, 0.4); }
.btn-sm { padding: 9px 16px; font-size: 14px; }

/* header */
.top { position: sticky; top: 0; z-index: 40; background: rgba(10, 10, 11, 0.96); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 60px; }
.brand { text-decoration: none; font-weight: 500; font-size: 17px; letter-spacing: -0.01em; }
.nav { display: flex; gap: 4px; }
.nav a { color: var(--mut); text-decoration: none; font-size: 14px; padding: 8px 12px; border-radius: 8px; transition: color 0.2s; }
.nav a:hover { color: var(--text); }

/* typography */
h1 { font-weight: 600; font-size: clamp(2.5rem, 5.4vw, 4.7rem); line-height: 1.04; letter-spacing: -0.04em; }
h2 { font-weight: 580; font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.08; letter-spacing: -0.035em; }
.lede { color: var(--mut); font-size: clamp(1rem, 1.4vw, 1.15rem); max-width: 60ch; margin-top: 22px; line-height: 1.6; }

/* hero */
.hero { padding: 88px 0 40px; overflow: hidden; }
.hero-in { text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero .lede { margin-top: 26px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero .cta { justify-content: center; }
.hero-shot-wrap { margin-top: 72px; perspective: 1500px; perspective-origin: 50% 0; max-width: 1240px; }
.hero-shot { transform-origin: 50% 0; transform: translate3d(0, var(--ty, 0px), 0) rotateX(var(--tilt, 0deg)) scale(var(--sc, 1)); }
.view { position: relative; overflow: hidden; border: 1px solid var(--line-2); border-radius: 12px; background: var(--panel); aspect-ratio: 1440 / 900; box-shadow: 0 40px 90px -50px #000; }
.view img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; transform-origin: 0 0; transform: translate3d(calc(var(--tx, 0) * 1%), calc(var(--ty, 0) * 1%), 0) scale(var(--s, 1)); }
.hero-shot .view img { transform: none; }
.cap { color: var(--dim); font-size: 13px; margin-top: 12px; }
.hero-shot .cap { text-align: center; }

/* sections */
.sec { padding: 128px 0; border-top: 1px solid var(--line); }
.sec-h { margin-bottom: 56px; }
.sec-h h2 { max-width: 20ch; }
.sec-h .lede { max-width: 56ch; }
.how { padding-bottom: 0; }
.how .sec-h { margin-bottom: 64px; }

/* story: stacked by default (phones, reduced motion, no JS) */
.story-wrap { display: flex; flex-direction: column; gap: 96px; padding-bottom: 96px; }
.story-item { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; }
.story-hud { display: none; }
.st-n { font: 500 12px var(--mono); color: var(--dim); letter-spacing: 0.04em; }
.st-text h3 { font-weight: 560; font-size: clamp(1.6rem, 2.6vw, 2.2rem); letter-spacing: -0.025em; line-height: 1.12; margin-top: 12px; text-wrap: balance; }
.st-text p:not(.st-n) { color: var(--mut); margin-top: 16px; max-width: 46ch; font-size: 1.04rem; }
.cam .shot + .shot { margin-top: 40px; }
.story.pinned { height: 400vh; }
.story.pinned .story-stage { position: sticky; top: 60px; height: calc(100svh - 60px); display: flex; flex-direction: column; }
.story.pinned .story-wrap { flex: 1; position: relative; display: block; max-width: 1360px; padding-bottom: 0; }
.story.pinned .story-item { position: absolute; inset: 0 24px; grid-template-columns: minmax(0, 4fr) minmax(0, 9fr); gap: 56px; align-items: center; }
.story.pinned .st-text { opacity: var(--o, 1); transform: translate3d(0, calc((1 - var(--o, 1)) * 16px), 0); }
.story.pinned .cam { position: relative; aspect-ratio: 1440 / 900; margin-bottom: 40px; }
.story.pinned .cam .shot { position: absolute; inset: 0; margin: 0; opacity: var(--o, 1); }
.story.pinned .cam .view { position: absolute; inset: 0; }
.story.pinned .cam .cap { position: absolute; left: 0; top: 100%; }
.story.pinned .story-item:not(.cur) { pointer-events: none; }
.story.pinned .story-hud { display: flex; align-items: center; gap: 22px; height: 64px; }
.hud-c { font: 500 12px var(--mono); color: var(--text); min-width: 40px; }
.hud-rail { flex: 1; height: 1px; background: var(--line-2); position: relative; }
.hud-rail i { position: absolute; left: 0; right: 0; top: -0.5px; height: 2px; background: var(--text); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }
.hud-l { display: flex; gap: 22px; color: var(--dim); font-size: 13px; }
.hud-l li { transition: color 0.3s; }
.hud-l li.on { color: var(--text); }

/* security */
.guards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; border-top: 1px solid var(--line); }
.guards li { padding: 26px 0; border-bottom: 1px solid var(--line); }
.guards h3 { font-weight: 500; font-size: 1.1rem; }
.guards p { color: var(--mut); margin-top: 6px; max-width: 50ch; }

/* integrations */
.cats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 32px; border-top: 1px solid var(--line); }
.cats li { padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }

/* faq */
.faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 56px; align-items: start; }
.faq-grid .sec-h { position: sticky; top: 100px; margin-bottom: 0; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 2px; font-size: 1.15rem; color: var(--mut); transition: color 0.2s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 300; font-size: 1.6rem; line-height: 1; color: var(--dim); }
.faq details[open] summary { color: var(--text); }
.faq details[open] summary::after { content: "–"; }
.faq summary:hover { color: var(--text); }
.faq details p { color: var(--mut); padding: 0 2px 24px; max-width: 62ch; }
.inline-link { color: var(--text); text-decoration-color: var(--line-2); text-underline-offset: 3px; }

/* closing */
.close { text-align: center; padding: 140px 0; }
.close .wrap { display: flex; flex-direction: column; align-items: center; }
.close .cta { justify-content: center; }

/* footer */
.foot { border-top: 1px solid var(--line); padding: 56px 0 28px; }
.foot-in { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.foot-brand p { color: var(--mut); font-size: 14px; margin-top: 14px; max-width: 34ch; }
.foot nav { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.foot nav h2 { font: 500 13px var(--sans); letter-spacing: 0; color: var(--dim); margin-bottom: 4px; }
.foot nav a { color: var(--mut); text-decoration: none; font-size: 14px; }
.foot nav a:hover { color: var(--text); }
.foot-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; color: var(--dim); margin-top: 44px; padding-top: 22px; font-size: 13px; background: linear-gradient(var(--line), var(--line)) center top / calc(100% - 48px) 1px no-repeat; }

/* reveal */
.js .rv { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
.js .rv.in { opacity: 1; transform: none; }

@media (max-width: 1040px) {
  .nav { display: none; }
  .cats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .faq-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .faq-grid .sec-h { position: static; }
  .foot-in { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 20px; }
  .foot-base { background-size: calc(100% - 40px) 1px; }
  .hero { padding: 56px 0 24px; }
  .hero-shot-wrap { margin-top: 44px; }
  .cta .btn { flex: 1 1 auto; justify-content: center; }
  .sec { padding: 80px 0; }
  .sec-h { margin-bottom: 40px; }
  .top-in { height: 56px; }
  .story-wrap { gap: 64px; padding-bottom: 64px; }
  /* Phones: a square crop of the part of the screen that matters, so the text stays legible. */
  .view { aspect-ratio: 1 / 1; }
  .view img { object-fit: cover; }
  .hero-shot .view { aspect-ratio: 4 / 5; }
  .hero-shot .view img { object-position: 22% 0; }
  .p-customers .view img { object-position: 40% 25%; }
  .p-workflows .view img { object-position: 72% 28%; }
  .p-detail .view img { object-position: 40% 40%; }
  .p-reports .view img { object-position: 60% 10%; }
  .p-assistant .view img { object-position: 62% 18%; }
  .guards { grid-template-columns: minmax(0, 1fr); }
  .cats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .close { padding: 96px 0; }
  .foot-in { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 400px) {
  .btn-sm { padding: 9px 13px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js .rv { opacity: 1; transform: none; }
}

/* plans */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.plan { display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 28px 26px 26px; }
.plan-hot { border-color: rgba(255, 255, 255, 0.34); background: #151517; }
.plan h3 { font-weight: 500; font-size: 1.1rem; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.plan .tag { font: 500 12px var(--sans); color: #0a0a0b; background: var(--text); border-radius: 999px; padding: 3px 10px; }
.price { font-weight: 500; font-size: 3rem; line-height: 1; letter-spacing: -0.04em; margin-top: 18px; white-space: nowrap; }
.price span { font-size: 1.05rem; letter-spacing: 0; color: var(--mut); margin-left: 4px; }
.setup { color: var(--mut); font-size: 14px; margin-top: 8px; }
.plan ul { margin: 22px 0 24px; border-top: 1px solid var(--line); }
.plan li { padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.plan .btn { margin-top: auto; justify-content: center; }
.incl { margin-top: 48px; }
.incl h3 { font-weight: 560; font-size: 1.35rem; letter-spacing: -0.015em; }
.incl ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; margin-top: 18px; border-top: 1px solid var(--line); }
.incl li { padding: 13px 0; border-bottom: 1px solid var(--line); color: var(--mut); }
.usd { color: var(--dim); font-size: 13px; margin-top: 16px; }
@media (max-width: 1040px) { .plans { grid-template-columns: minmax(0, 1fr); max-width: 520px; } .incl ul { grid-template-columns: minmax(0, 1fr); } }
.plan-quiet { background: transparent; border-style: dashed; }
.plan-quiet .price { color: var(--mut); }

/* brand logos: monochrome marks with their names */
.works { margin-top: 56px; text-align: center; }
.works-l { color: var(--dim); font-size: 13px; }
.logos li { display: inline-flex; align-items: center; gap: 9px; color: var(--mut); font-size: 15px; line-height: 1; white-space: nowrap; transition: color 0.2s; }
.logos li:hover { color: #fff; }
.logo { height: 21px; width: 21px; flex: none; display: block; }
.logos-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px 36px; margin-top: 20px; }
.logos-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px 24px; margin-bottom: 56px; }
@media (max-width: 640px) {
  .works { margin-top: 40px; }
  .logos-row { display: grid; grid-template-columns: repeat(2, max-content); justify-content: center; gap: 18px 40px; }
  .logos-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
}
