@font-face {
  font-family: "Geist";
  src: url("/assets/fonts/geist-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Geist";
  src: url("/assets/fonts/geist-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Geist";
  src: url("/assets/fonts/geist-650.woff2") format("woff2");
  font-weight: 650;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Geist";
  src: url("/assets/fonts/geist-750.woff2") format("woff2");
  font-weight: 750;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Geist Mono";
  src: url("/assets/fonts/geist-mono-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Geist Mono";
  src: url("/assets/fonts/geist-mono-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #0d0e11;
  --surface: #14161a;
  --surface-2: #1b1d23;
  --border: #2a2d35;
  --border-soft: #1f2127;
  --text: #f2f4f7;
  --text-mid: #aab0bb;
  --text-low: #6f7580;
  --brand: #5f7df5;
  --brand-2: #9d7bf0;
  --ok: #2fb673;
  --warn: #e0a33c;
  --bad: #e35d6a;
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 14px;
  --shadow: 0 22px 80px rgba(0, 0, 0, .34), 0 1px 0 rgba(255, 255, 255, .03) inset;
  --max: 1180px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: radial-gradient(circle at 18% 8%, rgba(95, 125, 245, .16), transparent 34rem),
              radial-gradient(circle at 82% 12%, rgba(157, 123, 240, .14), transparent 34rem),
              var(--bg);
  color: var(--text);
  font-family: "Geist", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  text-rendering: geometricPrecision;
}
body::selection { background: rgba(95, 125, 245, .35); }
a { color: inherit; text-decoration: none; }
img, svg, video { max-width: 100%; }
button, input { font: inherit; }

.page-grid {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.95), rgba(0,0,0,.35) 64%, transparent 100%);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 14px 20px 0;
  backdrop-filter: blur(18px);
}
.nav-shell {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 64px;
  padding: 11px 14px 11px 16px;
  border: 1px solid rgba(42, 45, 53, .88);
  border-radius: var(--radius-lg);
  background: rgba(20, 22, 26, .78);
  box-shadow: 0 12px 46px rgba(0, 0, 0, .24);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 750;
  letter-spacing: -.04em;
}
.brand-word {
  color: var(--text);
  font-size: 24px;
  line-height: 1;
}
.brand-word span {
  background: linear-gradient(100deg, var(--brand), var(--brand-2));
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-mid);
  font-size: 14px;
  font-weight: 500;
}
.nav-links a {
  padding: 9px 12px;
  border-radius: var(--radius-sm);
}
.nav-links a:hover { color: var(--text); background: rgba(255, 255, 255, .04); }

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 0 18px;
  color: var(--text);
  cursor: pointer;
  font-weight: 650;
  letter-spacing: -.01em;
  transition: transform .18s ease, border-color .18s ease, background .18s ease, opacity .18s ease;
}
.button-small { min-height: 40px; padding: 0 14px; font-size: 14px; }
.button-brand {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: 0 16px 36px rgba(95, 125, 245, .22);
}
.button-ghost {
  border-color: var(--border);
  background: rgba(20, 22, 26, .62);
  color: var(--text-mid);
}
.button-ghost:hover {
  border-color: rgba(95, 125, 245, .55);
  color: var(--text);
}
.button:hover { transform: translateY(-1px); }
.button:disabled { cursor: wait; opacity: .78; transform: none; }
.button-spinner {
  width: 15px;
  height: 15px;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, .28);
  border-top-color: #fff;
  animation: spin .75s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

:where(a, button, input, osqur-demo):focus-visible {
  outline: 2px solid rgba(95, 125, 245, .95);
  outline-offset: 3px;
}

.section-shell {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
}
.hero {
  position: relative;
  min-height: calc(100svh - 88px);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, .74fr);
  gap: 34px;
  align-items: center;
  padding: 88px 0 62px;
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  width: 360px;
  height: 360px;
  filter: blur(54px);
  opacity: .28;
  z-index: -1;
  border-radius: 999px;
}
.hero-glow-one { left: -120px; top: 90px; background: var(--brand); }
.hero-glow-two { right: -120px; bottom: 60px; background: var(--brand-2); }
.eyebrow {
  margin: 0 0 13px;
  color: var(--brand);
  font-family: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  letter-spacing: .16em;
  font-weight: 500;
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(46px, 8vw, 86px);
  line-height: .94;
  letter-spacing: -.07em;
  font-weight: 750;
}
h2 {
  margin-bottom: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.02;
  letter-spacing: -.055em;
  font-weight: 750;
}
h3 {
  margin: 0 0 7px;
  font-size: 17px;
  letter-spacing: -.02em;
  font-weight: 650;
}
.hero-subline {
  max-width: 720px;
  color: var(--text-mid);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.55;
  margin-bottom: 30px;
}
.microcopy {
  margin: 12px 0 0;
  color: var(--text-low);
  font-size: 13px;
}
.waitlist-form {
  display: grid;
  gap: 10px;
}
.email-step,
.feature-step {
  display: grid;
  gap: 10px;
}
.hero-form {
  max-width: 650px;
}
.hero-email-step {
  grid-template-columns: minmax(220px, 420px) auto;
  align-items: start;
}
.cta-email-step {
  display: grid;
  gap: 10px;
}
.waitlist-form input,
.waitlist-form textarea {
  width: 100%;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(20, 22, 26, .86);
  color: var(--text);
  outline: none;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .04) inset;
}
.waitlist-form input {
  height: 46px;
  padding: 0 14px;
}
.waitlist-form textarea {
  min-height: 122px;
  resize: vertical;
  padding: 13px 14px;
  line-height: 1.45;
}
.waitlist-form input::placeholder,
.waitlist-form textarea::placeholder { color: #686f7c; }
.waitlist-form input:focus,
.waitlist-form textarea:focus { border-color: rgba(95, 125, 245, .82); }
.waitlist-form label {
  color: var(--text-mid);
  font-size: 13px;
  font-weight: 650;
}
.waitlist-form label span { color: var(--text-low); font-weight: 400; }
.feature-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.feature-actions .button-brand { flex: 1 1 190px; }
.stacked-actions .button { width: 100%; }
.form-message {
  min-height: 20px;
  margin: 0;
  color: var(--text-mid);
  font-size: 13px;
}
.waitlist-form[data-state="error"] .form-message { color: var(--bad); }
.waitlist-form[data-state="success"] .form-message { color: var(--ok); }
.honeypot {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
  clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(50%) !important;
}

.hero-panel {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(27, 29, 35, .94), rgba(20, 22, 26, .9));
  box-shadow: var(--shadow);
  padding: 18px;
  overflow: hidden;
}
.panel-topline {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--text-mid);
  font-size: 13px;
  border-bottom: 1px solid var(--border-soft);
  padding-bottom: 15px;
}
.panel-topline strong { margin-left: auto; color: var(--ok); font-family: "Geist Mono", monospace; }
.status-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--ok);
  box-shadow: 0 0 20px rgba(47, 182, 115, .65);
}
.metric-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 16px 0;
}
.metric-row div {
  min-width: 0;
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  background: rgba(13, 14, 17, .46);
  padding: 14px 12px;
}
.metric-row b {
  display: block;
  font-family: "Geist Mono", monospace;
  font-size: 21px;
  line-height: 1;
  margin-bottom: 7px;
}
.metric-row span { color: var(--text-low); font-size: 12px; }
.mini-table {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 9px 14px;
  padding: 15px;
  border-radius: 12px;
  background: #101116;
  border: 1px solid var(--border-soft);
  color: var(--text-mid);
  font-size: 13px;
}
.mini-table em { font-style: normal; font-family: "Geist Mono", monospace; font-size: 12px; }
.ok { color: var(--ok); }
.warn { color: var(--warn); }

.section-heading {
  margin-bottom: 24px;
}
.section-heading p:not(.eyebrow) {
  color: var(--text-mid);
  max-width: 590px;
  margin: 9px 0 0;
}
.split-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}
.split-heading > p {
  text-align: right;
  margin-bottom: 4px !important;
}
.product-window {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow);
}
.window-bar {
  min-height: 45px;
  display: grid;
  grid-template-columns: 90px 1fr 110px;
  align-items: center;
  gap: 12px;
  padding: 0 14px;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, #1b1d23, #15171b);
}
.traffic {
  display: flex;
  align-items: center;
  gap: 7px;
}
.traffic span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #3a3e49;
}
.traffic span:nth-child(1) { background: var(--bad); }
.traffic span:nth-child(2) { background: var(--warn); }
.traffic span:nth-child(3) { background: var(--ok); }
.url-pill {
  justify-self: center;
  min-width: min(360px, 100%);
  border: 1px solid var(--border-soft);
  border-radius: 999px;
  background: rgba(13, 14, 17, .82);
  color: var(--text-mid);
  font-family: "Geist Mono", monospace;
  font-size: 12px;
  text-align: center;
  padding: 6px 14px;
}
.window-action {
  color: var(--text-low);
  font-family: "Geist Mono", monospace;
  font-size: 11px;
  text-align: right;
}
.video-section, .features-section, .live-demo-section, .cta-section { padding: 54px 0; }
.video-stage {
  position: relative;
  aspect-ratio: 16 / 9;
  background: radial-gradient(circle at 50% 30%, rgba(95,125,245,.18), transparent 32rem), #090a0d;
  cursor: pointer;
}
.video-stage video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.video-play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 999px;
  background: rgba(13, 14, 17, .72);
  color: var(--text);
  padding: 13px 18px;
  font-weight: 650;
  cursor: pointer;
  backdrop-filter: blur(12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease;
}
.video-stage:hover .video-play,
.video-stage.is-reduced-motion .video-play,
.video-stage:not(.is-playing) .video-play {
  opacity: 1;
  pointer-events: auto;
}
.video-stage.is-playing:hover .video-play { opacity: .9; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.feature-card {
  min-height: 190px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(27, 29, 35, .88), rgba(20, 22, 26, .86));
  padding: 18px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .03) inset;
}
.feature-card p {
  margin: 0;
  color: var(--text-mid);
  font-size: 14px;
  line-height: 1.55;
}
.feature-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  border-radius: 10px;
  border: 1px solid rgba(95, 125, 245, .25);
  background: linear-gradient(135deg, rgba(95, 125, 245, .16), rgba(157, 123, 240, .12));
  color: #b9c5ff;
}
.feature-icon svg {
  width: 22px;
  height: 22px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.demo-window osqur-demo {
  display: block;
  height: 780px;
  min-height: 640px;
  background: #08090b;
}
.cta-card {
  display: grid;
  grid-template-columns: 1fr minmax(320px, 440px);
  gap: 38px;
  align-items: start;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at 20% 0%, rgba(95, 125, 245, .18), transparent 36rem),
              linear-gradient(180deg, rgba(27, 29, 35, .92), rgba(20, 22, 26, .92));
  box-shadow: var(--shadow);
  padding: clamp(24px, 5vw, 44px);
}
.cta-card p { color: var(--text-mid); margin-bottom: 0; max-width: 620px; }
.cta-form {
  padding: 18px;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  background: rgba(13, 14, 17, .42);
}
.cta-form .button { width: 100%; margin-top: 4px; }
.site-footer {
  padding: 34px 20px 46px;
  color: var(--text-low);
}
.footer-inner {
  width: min(100%, var(--max));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px 24px;
  align-items: center;
  border-top: 1px solid var(--border-soft);
  padding-top: 22px;
  font-size: 13px;
}
.footer-brand { letter-spacing: -.02em; color: var(--text-mid); }
.footer-meta {
  display: flex;
  gap: 16px;
  align-items: center;
}
.footer-meta a { color: var(--text-mid); }
.footer-inner p { grid-column: 1 / -1; margin: 0; }

@media (max-width: 1000px) {
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 70px; }
  .hero-panel { max-width: 680px; }
}

@media (max-width: 860px) {
  .site-header { padding-inline: 12px; }
  .nav-shell { gap: 12px; }
  .nav-links { display: none; }
  .section-shell { width: min(calc(100% - 28px), var(--max)); }
  .hero { padding: 54px 0 36px; }
  .hero-form { max-width: none; }
  .hero-email-step { grid-template-columns: 1fr; }
  .hero-form .button { width: 100%; }
  .split-heading { display: block; }
  .split-heading > p { text-align: left; }
  .window-bar { grid-template-columns: 64px 1fr; }
  .window-action { display: none; }
  .traffic span { width: 8px; height: 8px; }
  .url-pill { min-width: 0; justify-self: stretch; }
  .demo-window osqur-demo { min-height: 620px; height: 72vh; }
  .cta-card { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-meta { flex-wrap: wrap; }
}

@media (max-width: 560px) {
  .brand-word { font-size: 21px; }
  .button-small { padding: 0 11px; }
  h1 { font-size: clamp(42px, 16vw, 62px); }
  .hero-subline { font-size: 16px; }
  .metric-row { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: 0; }
  .video-section, .features-section, .live-demo-section, .cta-section { padding: 38px 0; }
  .demo-window osqur-demo { height: 680px; min-height: 560px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .001ms !important;
  }
}
