:root {
  --bg: #f5f5f7;
  --fg: #1d1d1f;
  --muted: #6e6e73;
  --line: #e3e3e8;
  --surface: #ffffffc7;
  --accent: #3b6cff;
  --violet: #8a4bf0;
  --red: #ff3b30;
  --ok: #1fa45a;
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --display: "Inter Tight", "Inter", ui-sans-serif, system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --wall: linear-gradient(125deg, #4f6cf5 0%, #8c5cf0 42%, #c97bd6 72%, #f39ac0 100%);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --shadow: 0 0 0 .5px #0000001f, 0 8px 24px #0000001f, 0 40px 80px -20px #00000040;
  color-scheme: light;
}

h1, h2, h3 { font-family: var(--display); letter-spacing: -.025em; }
kbd {
  display: inline-grid; place-items: center;
  min-width: 1.6em; height: 1.6em; padding: 0 .35em;
  border-radius: 5px;
  background: #fff; border: 1px solid var(--line); box-shadow: 0 1px 0 var(--line);
  font: 500 .8em/1 var(--sans);
  vertical-align: .1em;
}

/* ---------- hero ---------- */
.hero { padding: 72px 0 40px; position: relative; }
.hero::before {
  content: ""; position: absolute; inset: -120px 0 auto; height: 620px; z-index: -1;
  background: radial-gradient(60% 50% at 30% 30%, #4f6cf51f, transparent 70%), radial-gradient(40% 40% at 75% 20%, #c97bd61a, transparent 70%);
}
.hero__copy { text-align: center; display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); margin-bottom: 28px; }
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px #1fa45a24; }
.hero h1 { font-size: clamp(42px, 7.4vw, 88px); line-height: 1.02; font-weight: 650; max-width: 14ch; }

/* the selection marquee around "make the point." */
.mq {
  position: relative; display: inline-block;
  padding: 0 .12em .04em;
  background: linear-gradient(90deg, var(--accent), var(--violet));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.mq::before {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, var(--accent) 50%, transparent 0) top / 10px 1.5px repeat-x,
    linear-gradient(90deg, var(--accent) 50%, transparent 0) bottom / 10px 1.5px repeat-x,
    linear-gradient(0deg, var(--accent) 50%, transparent 0) left / 1.5px 10px repeat-y,
    linear-gradient(0deg, var(--accent) 50%, transparent 0) right / 1.5px 10px repeat-y;
  background-color: #3b6cff0d;
  animation: ants 1s linear infinite;
  clip-path: inset(0 100% 100% 0);
  transition: clip-path 1.1s var(--ease) .35s;
}
.mq.drawn::before { clip-path: inset(0 0 0 0); }
@keyframes ants { to { background-position: 10px 0, -10px 100%, 0 -10px, 100% 10px; } }
.mq .h {
  position: absolute; width: 9px; height: 9px; background: #fff; border: 1.5px solid var(--accent); border-radius: 2px;
  opacity: 0; transform: scale(.4); transition: opacity .3s, transform .3s var(--ease); transition-delay: 1.3s;
}
.mq.drawn .h { opacity: 1; transform: none; }
.mq .tl { left: -5px; top: -5px; } .mq .tr { right: -5px; top: -5px; }
.mq .bl { left: -5px; bottom: -5px; } .mq .br { right: -5px; bottom: -5px; }
.mq__size {
  position: absolute; left: 50%; top: calc(100% + 10px); transform: translateX(-50%);
  padding: 3px 7px; border-radius: 5px; background: #1d1d1fe6; color: #fff;
  font: 600 12px/1.2 var(--mono); letter-spacing: 0; white-space: nowrap;
  -webkit-text-fill-color: #fff;
  opacity: 0; transition: opacity .3s 1.4s;
}
.mq.drawn .mq__size { opacity: 1; }

.lede { max-width: 620px; margin: 44px auto 0; font-size: clamp(17px, 1.8vw, 19px); color: var(--muted); }
.hero__cta { margin-top: 32px; width: min(680px, 100%); }
.hero__cta .cmd { box-shadow: 0 1px 2px #0000000d, 0 8px 24px -12px #0000002e; background: #fff; }
.hero__cta .cmd-note { text-align: center; }

/* ---------- the playable desktop ---------- */
.desk {
  position: relative;
  margin-top: 56px;
  aspect-ratio: 16 / 10;
  border-radius: 16px;
  overflow: hidden;
  background: var(--wall);
  box-shadow: var(--shadow);
  cursor: crosshair;
  user-select: none; -webkit-user-select: none;
  touch-action: pan-y;
  container-type: inline-size;
}
.scene { position: absolute; inset: 0; background: var(--wall); }
/* everything inside the scene is sized in cqw so the clone in a thumbnail scales cleanly */
.menubar {
  height: 3.2cqw; min-height: 22px;
  display: flex; align-items: center; gap: 1.6cqw; padding: 0 1.6cqw;
  background: #ffffff38; backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  color: #fff; font: 500 clamp(9px, 1.2cqw, 14px)/1 var(--sans);
  text-shadow: 0 0 1px #0003;
}
.menubar__app { font-weight: 700; }
.menubar__item { opacity: .92; }
.menubar__right { margin-left: auto; display: flex; align-items: center; gap: 1.4cqw; }
.menubar__right svg { width: clamp(11px, 1.35cqw, 16px); height: auto; }
.menubar__glimpse { display: grid; place-items: center; padding: .3cqw .5cqw; border-radius: 4px; transition: background .2s; }
.menubar__glimpse.on { background: #ffffff4d; }

.win {
  position: absolute; left: 7%; top: 12%; width: 72%; height: 62%;
  display: flex; border-radius: 1cqw; overflow: hidden;
  background: #f4f5fa;
  box-shadow: 0 2cqw 5cqw -1cqw #1b0f5a59, 0 0 0 1px #0000000f;
  font-family: var(--sans);
  color: #1b1d2a;
}
.win__side { width: 20%; background: #1b1d2a; color: #c6c8d6; padding: 2cqw 1.2cqw; display: flex; flex-direction: column; gap: .5cqw; font-size: 1.15cqw; }
.win__side b { color: #fff; font-size: 1.45cqw; margin-bottom: 1.4cqw; padding-left: .7cqw; }
.win__side b span { color: #7d8cff; }
.win__side > span { padding: .7cqw; border-radius: .5cqw; }
.win__side .on { background: #2b2e45; color: #fff; }
.win__main { flex: 1; padding: 2cqw 2.2cqw; display: flex; flex-direction: column; gap: 1.4cqw; min-width: 0; }
.win__head { display: flex; justify-content: space-between; align-items: flex-start; }
.win__head b { display: block; font-size: 1.9cqw; letter-spacing: -.02em; }
.win__head small { font-size: 1.1cqw; color: #6a6e85; }
.win__btn { background: #5b5ff0; color: #fff; font-size: 1.1cqw; font-weight: 600; padding: .8cqw 1.3cqw; border-radius: .6cqw; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1cqw; }
.kpis div { background: #fff; border-radius: .9cqw; padding: 1.1cqw 1.2cqw; box-shadow: 0 1px 2px #0000000d; }
.kpis small { display: block; font-size: .95cqw; color: #6a6e85; }
.kpis b { display: block; font-size: 1.9cqw; letter-spacing: -.02em; margin: .2cqw 0; }
.kpis em { font-style: normal; font-size: .9cqw; color: #1fa45a; }
.kpis em.dn { color: #e5484d; }
.win__row { flex: 1; display: grid; grid-template-columns: 1.55fr 1fr; gap: 1cqw; min-height: 0; }
.chart, .people { background: #fff; border-radius: .9cqw; padding: 1.2cqw; box-shadow: 0 1px 2px #0000000d; display: flex; flex-direction: column; min-height: 0; }
.chart small, .people small { font-size: 1.05cqw; font-weight: 600; }
.bars { flex: 1; display: flex; align-items: flex-end; gap: .7cqw; padding-top: 1cqw; }
.bars i { flex: 1; height: calc(var(--h) * 1%); border-radius: .35cqw .35cqw 0 0; background: linear-gradient(#7c84ff, #5b5ff0); }
.people p { display: flex; justify-content: space-between; align-items: center; font-size: 1cqw; padding: .55cqw 0; border-bottom: 1px solid #eef0f5; }
.people em { font-style: normal; font-size: .8cqw; font-weight: 600; padding: .15cqw .55cqw; border-radius: 1cqw; }
.people .paid { background: #e3f6ea; color: #1b8a4b; }
.people .pend { background: #fdf0d5; color: #a8670b; }

/* frozen screen while selecting */
.freeze { position: absolute; inset: 0; pointer-events: none; }
.sel {
  position: absolute; pointer-events: none;
  box-shadow: 0 0 0 9999px #0b0a2a66;
  outline: 1px solid #ffffffe6;
  background: #ffffff0a;
}
.sel__size {
  position: absolute; left: 50%; top: calc(100% + 8px); transform: translateX(-50%);
  padding: 3px 7px; border-radius: 5px; background: #1d1d1fe6; color: #fff;
  font: 600 11px/1.2 var(--mono); white-space: nowrap;
}
.cross { position: absolute; pointer-events: none; width: 0; height: 0; }
.cross::before, .cross::after { content: ""; position: absolute; background: #fff; box-shadow: 0 0 0 .5px #0006; }
.cross::before { width: 1px; height: 22px; left: 0; top: -11px; }
.cross::after { height: 1px; width: 22px; top: 0; left: -11px; }
.cross span { position: absolute; left: 14px; top: 12px; padding: 2px 6px; border-radius: 4px; background: #1d1d1fe6; color: #fff; font: 600 10px/1.3 var(--mono); white-space: nowrap; }
.flash { position: absolute; inset: 0; background: #fff; opacity: 0; pointer-events: none; }
.flash.go { animation: flash .45s ease-out; }
@keyframes flash { 0% { opacity: .85; } 100% { opacity: 0; } }

/* quick access overlay replica */
.qa { position: absolute; right: 2.2%; bottom: 3.4%; display: flex; flex-direction: column-reverse; gap: 10px; align-items: flex-end; cursor: default; }
.qa__card {
  position: relative;
  border-radius: 10px; overflow: hidden;
  background: #fff;
  box-shadow: 0 0 0 1px #ffffff40, 0 12px 30px #0b0a2a59;
  animation: slide-in .55s var(--ease);
  transition: transform .4s var(--ease), opacity .3s;
}
.qa__card.out { transform: translateX(130%); opacity: 0; }
@keyframes slide-in { from { transform: translateX(130%); } }
.qa__crop { position: relative; overflow: hidden; background: #f4f5fa; }
.qa__crop .scene { transform-origin: 0 0; inset: auto; left: 0; top: 0; }
.qa__ui { position: absolute; inset: 0; display: grid; place-content: center; gap: 8px; background: #0b0a2a73; opacity: 0; transition: opacity .2s; }
.qa__card:hover .qa__ui, .qa__card:focus-within .qa__ui { opacity: 1; }
.qa__ui button.big { padding: 6px 22px; border-radius: 99px; background: #fff; color: #1d1d1f; font-size: 13px; font-weight: 600; box-shadow: 0 2px 8px #0003; }
.qa__ui button.big:hover { background: #f0f0f5; }
.qa__ui .corner { position: absolute; width: 24px; height: 24px; border-radius: 50%; background: #fff; color: #1d1d1f; display: grid; place-items: center; font-size: 12px; box-shadow: 0 1px 4px #0003; }
.qa__ui .corner svg { width: 12px; height: 12px; }
.qa__ui .x { left: 7px; top: 7px; } .qa__ui .ed { right: 7px; top: 7px; }
.qa__ui .pn { left: 7px; bottom: 7px; } .qa__ui .tx { right: 7px; bottom: 7px; }
.qa__done { position: absolute; inset: 0; display: grid; place-items: center; background: #1fa45ad9; color: #fff; font-weight: 600; font-size: 13px; opacity: 0; transition: opacity .2s; pointer-events: none; }
.qa__done.on { opacity: 1; }

.hint {
  position: absolute; left: 50%; bottom: 4%; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 14px 7px 12px; border-radius: 99px;
  background: #1d1d1fcc; color: #fff;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  font-size: 13px; white-space: nowrap; pointer-events: none;
  transition: opacity .4s, transform .4s var(--ease);
}
.hint kbd { background: #ffffff26; border-color: #ffffff33; box-shadow: none; color: #fff; font-size: 11px; }
.hint kbd:first-of-type { margin-left: 4px; }
.hint__pulse { width: 8px; height: 8px; border-radius: 50%; background: #fff; animation: pulse 1.6s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 #fffa; } 100% { box-shadow: 0 0 0 10px #fff0; } }
.desk.used .hint { opacity: 0; transform: translate(-50%, 8px); }
@media (max-width: 640px) {
  .hint kbd { display: none; }
  .hint { font-size: 12px; }
}

/* ---------- sections ---------- */
.sec { padding: 120px 0 0; }
.sec__head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.kicker { font: 600 13px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; }
.sec h2 { font-size: clamp(32px, 4.6vw, 52px); line-height: 1.06; font-weight: 650; margin-bottom: 18px; }
.sec__head > p:last-child, .feature__copy > p { color: var(--muted); font-size: 17px; }
.feature__copy > p + p { margin-top: 14px; }
.feature__copy b { color: var(--fg); font-weight: 600; }

.shot { margin: 0; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); background: var(--wall); }
.shot img { width: 100%; }
.shot--editor { background: #fff; }
.shot--crop img { aspect-ratio: 1500 / 660; object-fit: cover; object-position: top; }
.rv.shot { transform: translateY(24px) perspective(1400px) rotateX(5deg); transform-origin: 50% 0; }
.rv.shot.in { transform: none; }

.modes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 48px; }
.modes li {
  position: relative;
  padding: 22px 22px 56px;
  border-radius: 16px; background: #fff; border: 1px solid var(--line);
}
.modes b { display: block; font: 600 17px/1.3 var(--display); margin: 16px 0 6px; letter-spacing: -.01em; }
.modes p { font-size: 14.5px; color: var(--muted); }
.modes .sc { position: absolute; left: 22px; bottom: 20px; font-family: var(--mono); font-size: 12px; height: 24px; padding: 0 8px; color: var(--muted); }
.modes li:nth-child(2) { transition-delay: .06s; } .modes li:nth-child(3) { transition-delay: .12s; }
.modes li:nth-child(5) { transition-delay: .06s; } .modes li:nth-child(6) { transition-delay: .12s; }

/* tiny CSS glyphs for each capture mode */
.glyph { position: relative; display: block; width: 44px; height: 34px; border-radius: 8px; background: linear-gradient(135deg, #eef1ff, #f6eefe); }
.glyph::before, .glyph::after { content: ""; position: absolute; }
.g-area::before { inset: 8px 10px; border: 1.5px dashed var(--accent); border-radius: 2px; background: #3b6cff14; }
.g-window::before { inset: 8px 9px; border-radius: 4px; background: #fff; box-shadow: 0 3px 6px #3b6cff40, 0 0 0 1px #3b6cff33; }
.g-window::after { left: 12px; top: 11px; width: 10px; height: 3px; border-radius: 2px; background: radial-gradient(circle, #ff5f57 1.5px, transparent 1.6px) 0 0 / 4px 3px; }
.g-scroll::before { left: 14px; right: 14px; top: 5px; bottom: 5px; border-radius: 3px; background: repeating-linear-gradient(#3b6cff 0 2px, transparent 2px 6px); opacity: .55; }
.g-scroll::after { right: 6px; top: 8px; width: 3px; height: 9px; border-radius: 2px; background: var(--accent); animation: scrolly 2.4s var(--ease) infinite; }
@keyframes scrolly { 50% { transform: translateY(10px); } }
.g-text::before { content: "Aa"; inset: 0; display: grid; place-items: center; font: 700 15px/1 var(--display); color: var(--accent); }
.g-text::after { inset: 7px 6px; border: 1.5px solid var(--accent); border-radius: 3px; clip-path: polygon(0 0, 30% 0, 30% 8%, 8% 8%, 8% 30%, 0 30%, 0 70%, 8% 70%, 8% 92%, 30% 92%, 30% 100%, 0 100%, 0 0, 100% 0, 100% 30%, 92% 30%, 92% 8%, 70% 8%, 70% 0, 100% 0, 100% 100%, 70% 100%, 70% 92%, 92% 92%, 92% 70%, 100% 70%, 100% 100%, 0 100%); }
.g-full::before { inset: 6px; border-radius: 4px; border: 1.5px solid var(--accent); background: linear-gradient(135deg, #4f6cf540, #c97bd640); }
.g-timer::before { left: 13px; top: 6px; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--accent); }
.g-timer::after { left: 21.5px; top: 9px; width: 1.5px; height: 7px; background: var(--accent); transform-origin: 50% 100%; animation: tick 3s steps(12) infinite; }
@keyframes tick { to { transform: rotate(360deg); } }

.feature__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: center; }
.feature--flip .feature__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.feature--flip .feature__copy { order: 2; }
.feature__copy h2 { font-size: clamp(30px, 3.6vw, 44px); }
.feature__meta { font-size: 14px !important; }

.tools { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 32px; }
.tools li { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: 99px; background: #fff; border: 1px solid var(--line); font-size: 13.5px; color: var(--muted); }
.tools kbd { font-family: var(--mono); font-weight: 600; color: var(--fg); }

/* ---------- agents ---------- */
.agents { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.agents__copy > p { color: var(--muted); font-size: 17px; margin-bottom: 24px; }
.agents__copy a { color: var(--fg); text-underline-offset: 3px; }
.agents .cmd { background: #fff; font-size: 12.5px; }
.term { border-radius: 14px; overflow: hidden; background: #16161d; box-shadow: var(--shadow); color: #e4e4ec; }
.term__bar { height: 36px; display: flex; align-items: center; gap: 7px; padding: 0 14px; background: #1f1f28; border-bottom: 1px solid #ffffff10; }
.term__bar i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.term__bar i:nth-child(2) { background: #febc2e; } .term__bar i:nth-child(3) { background: #28c840; }
.term__bar span { margin-left: auto; margin-right: auto; padding-right: 50px; font: 500 12px var(--mono); color: #9a9aab; }
.term__body { margin: 0; padding: 18px 20px; min-height: 340px; font: 400 12.5px/1.65 var(--mono); white-space: pre-wrap; word-break: break-word; }
.term__body .u { color: #fff; }
.term__body .d { color: #8b8ba0; }
.term__body .t { color: #c4a7ff; }
.term__body .k { color: #7cc4ff; }
.term__body .s { color: #a5e3a1; }
.term__body .cur { display: inline-block; width: .6em; height: 1.1em; background: #e4e4ec; vertical-align: -.2em; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.urls { margin-top: 56px; padding: 32px; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.urls h3 { font-size: 20px; margin-bottom: 4px; }
.urls h3 code { font-size: .9em; color: var(--accent); }
.urls > p { color: var(--muted); font-size: 15px; margin-bottom: 18px; }
.urls pre { margin: 0; overflow-x: auto; font-size: 13px; line-height: 1.75; }
.urls .c { color: #9a9aa5; }

/* ---------- install ---------- */
.install__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 56px; align-items: start; padding: 56px; border-radius: 24px; background: #fff; border: 1px solid var(--line); position: relative; overflow: hidden; }
.install__grid::before { content: ""; position: absolute; inset: auto -10% -60% 40%; height: 120%; background: radial-gradient(closest-side, #8c5cf01f, transparent); pointer-events: none; }
.install__grid > div:first-child > p:not(.kicker) { color: var(--muted); font-size: 17px; }
.install__grid h2 { font-size: clamp(32px, 4vw, 46px); }
.install__box .cmd { background: var(--bg); }
.steps { counter-reset: s; margin-top: 28px; display: grid; gap: 14px; }
.steps li { counter-increment: s; position: relative; padding-left: 36px; font-size: 15px; color: var(--muted); }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 1px; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--accent), var(--violet)); color: #fff; font: 600 12px/1 var(--mono); }
.steps b { color: var(--fg); font-weight: 600; }
.fine { margin-top: 24px; font-size: 13px; color: var(--muted); }

@media (max-width: 900px) {
  .modes { grid-template-columns: 1fr 1fr; }
  .feature__grid, .feature--flip .feature__grid, .agents, .install__grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .feature--flip .feature__copy { order: 0; }
  .install__grid { padding: 32px 24px; }
}
@media (max-width: 560px) {
  .hero { padding-top: 48px; }
  .modes { grid-template-columns: 1fr; }
  .desk { aspect-ratio: 4 / 3.4; border-radius: 12px; }
  .win { left: 4%; width: 92%; top: 13%; height: 66%; }
  .sec { padding-top: 88px; }
}
