/* Look = the JARVIS app (backend/jarvis/ui.html): same palette, fonts, radii, glass cards, orb glow, pill nav. */
@font-face { font-family: "Noto Sans"; font-weight: 400; font-style: normal; font-display: swap; src: url("assets/fonts/noto-sans-400.woff2") format("woff2"); }
@font-face { font-family: "Noto Sans"; font-weight: 700; font-style: normal; font-display: swap; src: url("assets/fonts/noto-sans-700.woff2") format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-weight: 700; font-style: normal; font-display: swap; src: url("assets/fonts/jetbrains-mono-700.woff2") format("woff2"); }

:root {
  color-scheme: dark;
  --bg: #05070c; --card: rgba(12, 17, 26, .88); --card2: rgba(21, 28, 41, .92); --raise: #141b28; --sunk: #070a10;
  --line: rgba(148, 163, 199, .11); --line2: rgba(148, 163, 199, .2); --line3: rgba(148, 163, 199, .34);
  --ink: #e9eef6; --ink2: #b5c0d0; --ink3: #8a96a9;
  --cyan: #2d7bff; --link: #6ea5ff; --vio: #a991ff; --ok: #3fd99c; --warn: #ffb648; --bad: #ff6767;
  --cyanb: rgba(45, 123, 255, .14);
  --glow: 45, 123, 255;
  --f: "Noto Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", "Ubuntu Sans", system-ui, sans-serif;
  --mono: "JetBrains Mono", "SF Mono", ui-monospace, Menlo, Consolas, "DejaVu Sans Mono", monospace;
  --r: 16px;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); overflow-x: clip; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 var(--f); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, video { display: block; max-width: 100%; height: auto; }
a { color: var(--link); }
button, input { font: inherit; color: inherit; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.015em; }
h1 { font-size: clamp(2.2rem, 7vw, 3.9rem); letter-spacing: -.025em; }
h2 { font-size: clamp(1.7rem, 4.5vw, 2.5rem); letter-spacing: -.02em; }
h3 { font-size: 1.08rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; border-radius: 6px; }
section[id] { scroll-margin-top: 76px; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .wrap { padding: 0 32px; } }

.skip { position: absolute; left: 16px; top: -100px; z-index: 30; background: var(--raise); border: 1px solid var(--line2); color: var(--ink); padding: 8px 14px; border-radius: 999px; }
.skip:focus { top: 12px; }

/* Header: glass bar, letter-spaced mono wordmark like the app's "JARVIS", pill nav like the Home dock */
.top-bar { position: sticky; top: 0; z-index: 20; background: rgba(5, 7, 12, .78); border-bottom: 1px solid var(--line); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.brand { display: flex; align-items: center; gap: 11px; color: var(--ink2); text-decoration: none; font: 700 12px/1 var(--mono); letter-spacing: .3em; text-transform: uppercase; }
.brand:hover { color: var(--ink); }
.brand-dot {
  flex: none; width: 16px; height: 16px; border-radius: 50%;
  background: radial-gradient(circle at 38% 34%, #d9d0ff 0, rgb(var(--glow)) 45%, rgba(var(--glow), .25) 72%, transparent 74%);
  box-shadow: 0 0 14px rgba(var(--glow), .55);
}
.top-nav { display: none; gap: 2px; padding: 4px; border-radius: 999px; background: var(--card); border: 1px solid var(--line2); }
.top-nav a { padding: 7px 16px; border-radius: 999px; color: var(--ink3); text-decoration: none; font-size: .88rem; font-weight: 700; }
.top-nav a:hover { color: var(--ink); background: rgba(255, 255, 255, .045); }
@media (min-width: 900px) {
  .top { display: grid; grid-template-columns: 1fr auto 1fr; }
  .top-nav { display: flex; }
  .top .btn-sm { justify-self: end; }
}

/* Buttons: pill-shaped, the app's active-tab glow for the main action */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 24px; border-radius: 999px; cursor: pointer; white-space: nowrap;
  font: 700 1rem/1 var(--f); color: var(--ink); text-decoration: none;
  background: linear-gradient(180deg, rgba(var(--glow), .58), rgba(var(--glow), .3));
  border: 1px solid rgba(var(--glow), .7);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 0 26px -4px rgba(var(--glow), .55);
  transition: background .15s, border-color .15s, box-shadow .15s;
}
.btn:hover { background: linear-gradient(180deg, rgba(var(--glow), .72), rgba(var(--glow), .42)); border-color: rgba(110, 165, 255, .9); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), 0 0 34px -2px rgba(var(--glow), .7); }
.btn:disabled { opacity: .6; cursor: progress; }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: .9rem; }
.btn-ghost { background: var(--card); border-color: var(--line2); color: var(--ink2); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .035); }
.btn-ghost:hover { background: var(--card2); border-color: var(--line3); color: var(--ink); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05); }
.btn-block { width: 100%; }

/* Labels: the app's .lbl (mono, spaced capitals, glowing square) */
.kicker, .pill, .steps li::before { font-family: var(--mono); font-weight: 700; text-transform: uppercase; }
.kicker { display: flex; align-items: center; gap: 10px; font-size: .72rem; letter-spacing: .16em; color: var(--ink3); margin-bottom: 12px; }
.kicker::before { content: ""; width: 7px; height: 7px; border-radius: 2px; background: rgba(var(--glow), .9); box-shadow: 0 0 9px rgba(var(--glow), .7); }

/* Hero */
.hero { display: grid; gap: 4px; padding-top: 12px; padding-bottom: 52px; align-items: center; }
.orb { order: -1; justify-self: center; width: min(74vw, 320px); position: relative; }
.orb::before { content: ""; position: absolute; inset: -12%; border-radius: 50%; background: radial-gradient(closest-side, rgba(var(--glow), .22), transparent); pointer-events: none; }
.orb video { position: relative; width: 100%; mix-blend-mode: screen; }
.eyebrow { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; color: var(--ink3); font-size: .95rem; margin-bottom: 16px; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: 999px; font-size: .7rem; letter-spacing: .14em; color: var(--ink2); background: var(--card); border: 1px solid var(--line2); }
.pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 9px var(--ok); }
.grad { background: linear-gradient(90deg, var(--link), var(--vio)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { color: var(--ink2); font-size: 1.1rem; max-width: 62ch; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 18px; }
.fine { color: var(--ink3); font-size: .88rem; }
@media (min-width: 900px) {
  .hero { grid-template-columns: 1.15fr .85fr; gap: 32px; padding-top: 36px; padding-bottom: 72px; min-height: calc(100vh - 64px); max-height: 860px; }
  .orb { order: 0; width: 100%; max-width: 440px; }
  .orb::before { inset: -20%; }
}

/* Sections */
.section { padding-top: 56px; padding-bottom: 56px; border-top: 1px solid var(--line); }
@media (min-width: 900px) { .section { padding-top: 96px; padding-bottom: 96px; } }

/* Glass cards, as in the app */
.card, .steps li, .faq details, .join {
  background: linear-gradient(180deg, rgba(255, 255, 255, .028), rgba(255, 255, 255, 0) 120px), var(--card);
  border: 1px solid var(--line2); border-radius: var(--r);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .035);
}
.card { padding: 20px; }
.cards { display: grid; gap: 16px; margin-top: 32px; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.cards-3 { margin-top: 40px; }
.steps p, .card p { color: var(--ink2); margin: 0; font-size: .97rem; }

/* Steps */
.steps { list-style: none; counter-reset: step; padding: 0; margin: 32px 0 0; display: grid; gap: 16px; }
.steps li { counter-increment: step; position: relative; padding: 20px 20px 20px 70px; }
.steps li::before {
  content: counter(step, decimal-leading-zero); position: absolute; left: 18px; top: 18px;
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-size: .78rem; letter-spacing: 0;
  color: var(--link); background: var(--cyanb); box-shadow: inset 0 0 0 1px rgba(var(--glow), .35), 0 0 16px rgba(var(--glow), .3);
}
@media (min-width: 900px) { .steps { grid-template-columns: repeat(4, 1fr); } .steps li { padding: 72px 20px 22px; } }

/* Showcase */
.showcase { display: grid; gap: 28px; margin-top: 56px; align-items: center; }
.phone { margin: 0 auto; width: min(100%, 300px); border-radius: 28px; padding: 8px; background: #000; border: 1px solid var(--line2); box-shadow: 0 30px 80px -30px rgba(var(--glow), .55); }
.phone img { border-radius: 20px; }
.h3-lg { font-size: clamp(1.35rem, 3vw, 1.75rem); }
.ticks { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 26px; color: var(--ink2); }
.ticks li::before { content: ""; position: absolute; left: 3px; top: .62em; width: 7px; height: 7px; border-radius: 2px; background: rgba(var(--glow), .95); box-shadow: 0 0 9px rgba(var(--glow), .75); }
.ticks strong { color: var(--ink); font-weight: 700; }
@media (min-width: 800px) { .showcase { grid-template-columns: 320px 1fr; gap: 56px; } }

/* Screenshots */
.shot { margin: 32px 0 0; }
.shot img { border-radius: var(--r); border: 1px solid var(--line2); box-shadow: 0 30px 90px -40px rgba(var(--glow), .6); }
.shot figcaption { color: var(--ink3); font-size: .85rem; margin-top: 10px; text-align: center; }

/* Text + screenshot side by side (agents, privacy) */
.split { display: grid; gap: 8px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 56px; } .shot-tight { margin-top: 0; } }

/* FAQ */
.faq { margin-top: 24px; display: grid; gap: 10px; max-width: 760px; }
.faq summary { cursor: pointer; padding: 16px 48px 16px 18px; font-weight: 700; list-style: none; position: relative; border-radius: var(--r); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: #fff; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); color: var(--link); font-size: 1.3rem; font-weight: 400; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { color: var(--ink2); padding: 0 18px 16px; margin: 0; }

/* Join */
.join {
  display: grid; gap: 24px; padding: 28px 20px; border-radius: 22px;
  background: radial-gradient(110% 90% at 0% 0%, rgba(var(--glow), .16), transparent 60%), var(--card2);
}
@media (min-width: 900px) { .join { grid-template-columns: 1fr 1.1fr; gap: 48px; padding: 48px; } }
.join-text p:not(.kicker) { color: var(--ink2); }
.join-text .fine { color: var(--ink3); }
.form { display: grid; gap: 16px; }
.form .fine { margin: 0; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 700; font-size: .95rem; }
.opt, .hint { color: var(--ink3); font-weight: 400; font-size: .85rem; }
.field input {
  width: 100%; min-height: 48px; padding: 10px 14px; border-radius: 12px;
  border: 1px solid var(--line2); background: var(--sunk); color: var(--ink); font-size: 1rem;
  transition: border-color .15s;
}
.field input:hover { border-color: var(--line3); }
.field input::placeholder { color: #737d90; }
.field input:focus-visible { outline: 2px solid var(--cyan); outline-offset: 1px; border-color: transparent; }
.field input:user-invalid { border-color: var(--bad); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.status { min-height: 1.6em; margin: 0; font-size: .95rem; }
.status.ok { color: var(--ok); }
.status.err { color: var(--bad); }

/* Footer */
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 28px; padding-bottom: 40px; border-top: 1px solid var(--line); color: var(--ink3); font-size: .88rem; }
.foot p { margin: 0; }
