:root {
  color-scheme: dark;
  --canvas: #07080c;
  --canvas-raised: #0e1017;
  --surface: rgba(22, 25, 35, 0.72);
  --surface-strong: rgba(27, 31, 44, 0.9);
  --surface-soft: rgba(255, 255, 255, 0.045);
  --line: rgba(255, 255, 255, 0.11);
  --line-soft: rgba(255, 255, 255, 0.07);
  --text: #f5f6fa;
  --text-soft: #bec2cf;
  --text-faint: #7d8291;
  --blue: #6da8ff;
  --blue-strong: #388bff;
  --purple: #a98fff;
  --green: #71d8ad;
  --amber: #ffc46b;
  --shadow: 0 26px 80px rgba(0, 0, 0, 0.4);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --max-width: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 76% 14%, rgba(58, 107, 196, 0.12), transparent 28rem),
    radial-gradient(circle at 12% 62%, rgba(121, 81, 200, 0.08), transparent 26rem),
    var(--canvas);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

a:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
  border-radius: 6px;
}

button, a { -webkit-tap-highlight-color: transparent; }

.shell {
  width: min(calc(100% - 48px), var(--max-width));
  margin-inline: auto;
}

.page-glow {
  position: absolute;
  width: 34rem;
  height: 34rem;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(90px);
  opacity: 0.18;
}

.page-glow--top { top: -24rem; right: 12%; background: #3767d1; }
.page-glow--bottom { top: 58rem; left: -24rem; background: #5836a5; }

.site-header {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 28px;
}

.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 650; letter-spacing: -0.02em; }
.brand img { width: 30px; height: 30px; border-radius: 8px; box-shadow: 0 5px 15px rgba(0, 0, 0, 0.28); }
.header-nav { display: flex; align-items: center; gap: 24px; }
.nav-link { color: var(--text-soft); font-size: 13px; transition: color 180ms ease; }
.nav-link:hover { color: var(--text); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 19px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: -0.01em;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover { transform: translateY(-2px); }
.button--small { min-height: 36px; padding-inline: 15px; font-size: 12px; }
.button--light { border-color: var(--line); background: rgba(255, 255, 255, 0.08); color: var(--text); }
.button--light:hover { border-color: rgba(255, 255, 255, 0.2); background: rgba(255, 255, 255, 0.13); }
.button--primary { background: var(--text); color: #101217; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28); }
.button--primary:hover { background: #fff; box-shadow: 0 14px 34px rgba(0, 0, 0, 0.38); }

.hero {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: auto;
  flex-direction: column;
  align-items: center;
  gap: 54px;
  padding-top: 88px;
  padding-bottom: 96px;
  text-align: center;
}

.hero-copy { position: relative; z-index: 1; max-width: 790px; }
.eyebrow { display: flex; align-items: center; gap: 9px; margin: 0 0 18px; color: var(--blue); font-size: 11px; font-weight: 700; letter-spacing: 0.13em; line-height: 1.2; text-transform: uppercase; }
.hero .eyebrow { justify-content: center; }
.eyebrow-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 5px rgba(109, 168, 255, 0.12); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { letter-spacing: -0.055em; }
h1 { max-width: 780px; margin: 0 auto 26px; font-size: clamp(52px, 6.2vw, 85px); font-weight: 620; line-height: 0.98; }
h1 em, h2 em { color: var(--text-soft); font-style: normal; }
.hero-lede { max-width: 600px; margin: 0 auto 30px; color: var(--text-soft); font-size: 16px; line-height: 1.7; }
kbd { display: inline-flex; align-items: center; justify-content: center; min-width: 23px; height: 23px; margin: 0 2px; padding: 0 5px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface-soft); color: var(--text); font-family: inherit; font-size: 12px; font-weight: 600; vertical-align: 1px; }
.hero-actions { display: flex; align-items: center; justify-content: center; gap: 23px; }
.text-link { color: var(--text-soft); font-size: 13px; font-weight: 600; transition: color 180ms ease; }
.text-link:hover { color: var(--text); }
.trust-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px 26px; margin: 42px 0 0; padding: 0; list-style: none; color: var(--text-faint); font-size: 11px; }
.trust-row li { display: inline-flex; align-items: center; gap: 7px; }
.trust-icon { display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; border: 1px solid var(--line); border-radius: 5px; color: var(--text-soft); font-size: 11px; }
.trust-icon--spark { color: var(--blue); }

.demo-reel {
  --demo-cycle: 9s;
  position: relative;
  width: min(100%, 1080px);
  margin: 0;
}

.demo-reel::before {
  position: absolute;
  inset: -12% 8% 4%;
  border-radius: 50%;
  background: rgba(58, 107, 196, 0.2);
  content: "";
  filter: blur(95px);
  pointer-events: none;
}

.demo-motion-toggle, .demo-motion-control__name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.demo-motion-control { position: absolute; top: 5px; right: 10px; z-index: 10; display: inline-flex; min-width: 66px; align-items: center; justify-content: center; padding: 4px 8px; border: 1px solid var(--line); border-radius: 7px; background: rgba(7, 9, 13, 0.72); color: var(--text-faint); cursor: pointer; font-size: 9px; font-weight: 650; letter-spacing: 0.03em; user-select: none; }
.demo-motion-control::after { position: absolute; top: 50%; left: 50%; width: max(100%, 44px); height: 44px; content: ""; transform: translate(-50%, -50%); }
.demo-motion-control__play { display: none; }
.demo-motion-toggle:focus-visible + .demo-motion-control { outline: 2px solid var(--blue); outline-offset: 2px; }
.demo-motion-toggle:checked + .demo-motion-control .demo-motion-control__pause { display: none; }
.demo-motion-toggle:checked + .demo-motion-control .demo-motion-control__play { display: inline; }
.demo-motion-toggle:checked ~ .demo-window .demo-layer,
.demo-motion-toggle:checked ~ .demo-window .demo-hud,
.demo-motion-toggle:checked ~ .demo-window .demo-key,
.demo-motion-toggle:checked ~ .demo-window .demo-menubar__app { animation-play-state: paused; }

.demo-window { position: relative; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.17); border-radius: var(--radius-lg); background: rgba(18, 21, 30, 0.92); box-shadow: var(--shadow); }
.demo-menubar { position: relative; z-index: 2; display: flex; height: 32px; align-items: center; justify-content: space-between; padding: 0 91px 0 14px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); background: rgba(14, 17, 24, 0.82); color: rgba(245, 246, 250, 0.76); font-size: 9px; letter-spacing: -0.01em; backdrop-filter: blur(20px); }
.demo-menubar__left, .demo-menubar__status { display: flex; align-items: center; gap: 13px; }
.demo-menubar__apple { color: rgba(245, 246, 250, 0.82); font-size: 8px; line-height: 1; }
.demo-menubar__app-wrap { display: grid; }
.demo-menubar__app { grid-area: 1 / 1; color: rgba(245, 246, 250, 0.9); font-size: 9px; font-weight: 700; }
.demo-menubar__app--notes { animation: demo-menubar-notes var(--demo-cycle) steps(1, end) infinite; }
.demo-menubar__app--preview { opacity: 0; animation: demo-menubar-preview var(--demo-cycle) steps(1, end) infinite; }
.demo-menubar__item { color: rgba(245, 246, 250, 0.62); }
.demo-menubar__status { gap: 9px; color: rgba(245, 246, 250, 0.68); font-variant-numeric: tabular-nums; }
.demo-stage { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #10141c; }
.demo-scene { position: absolute; inset: 0; }
.demo-desktop { position: absolute; inset: 0; z-index: 0; overflow: hidden; background: radial-gradient(circle at 72% 20%, #294c7d 0, #17283f 40%, #0d1521 100%); }
.demo-desktop::after { position: absolute; inset: 0; z-index: 7; background: linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent 32%, rgba(2, 6, 12, 0.13)); content: ""; pointer-events: none; }
.demo-layer { position: absolute; display: block; height: auto; max-width: none; filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.32)); }
.demo-layer--finder { top: 5%; left: 3%; z-index: 1; width: 94%; }
.demo-layer--preview-primary { top: 8%; left: 27%; z-index: 2; width: 62%; }
.demo-layer--preview-secondary { top: 18%; left: 40%; z-index: 3; width: 56%; }
.demo-layer--notes { top: 25%; left: 14%; z-index: 4; width: 56%; }
.demo-layer--preview-final { top: 8%; left: 27%; z-index: 5; width: 62%; opacity: 0; animation: demo-preview-final var(--demo-cycle) steps(1, end) infinite; }
.demo-layer--app-switcher { top: 50%; left: 50%; z-index: 6; width: 48%; opacity: 0; transform: translate(-50%, -50%); animation: demo-app-overlay var(--demo-cycle) steps(1, end) infinite; }
.demo-layer--window-switcher { top: 50%; left: 50%; z-index: 6; width: 48%; opacity: 0; transform: translate(-50%, -50%); animation: demo-window-overlay var(--demo-cycle) steps(1, end) infinite; }
.demo-hud { position: absolute; left: 50%; right: auto; bottom: 24px; z-index: 8; display: flex; min-width: 220px; align-items: center; justify-content: center; gap: 8px; padding: 11px 14px; border: 1px solid rgba(109, 168, 255, 0.62); border-radius: 14px; background: rgba(7, 9, 13, 0.88); box-shadow: 0 10px 28px rgba(0, 0, 0, 0.34), 0 0 0 1px rgba(109, 168, 255, 0.1); opacity: 0; transform: translateX(-50%); backdrop-filter: blur(14px); }
.demo-hud small { margin-right: 4px; color: #dce7fb; font-size: 12px; font-weight: 750; letter-spacing: 0.08em; text-transform: uppercase; }
.demo-hud kbd { min-width: 42px; height: 42px; margin: 0; padding-inline: 11px; border-color: rgba(255, 255, 255, 0.28); background: rgba(255, 255, 255, 0.11); font-size: 18px; }
.demo-key { transform-origin: center bottom; }
.demo-key--tab { animation: demo-key-tab var(--demo-cycle) linear infinite; }
.demo-key--window { animation: demo-key-window var(--demo-cycle) linear infinite; }
.demo-key--release { animation: demo-key-release var(--demo-cycle) linear infinite; }
.demo-hud--apps { animation: demo-hud-apps var(--demo-cycle) steps(1, end) infinite; }
.demo-hud--windows { animation: demo-hud-windows var(--demo-cycle) steps(1, end) infinite; }
.demo-hud--release { animation: demo-hud-release var(--demo-cycle) steps(1, end) infinite; }
.demo-reel figcaption { padding-top: 14px; color: var(--text-faint); font-size: 11px; text-align: center; }

@keyframes demo-app-overlay { 0%, 16.666% { opacity: 0; } 16.667%, 49.999% { opacity: 1; } 50%, 100% { opacity: 0; } }
@keyframes demo-window-overlay { 0%, 49.999% { opacity: 0; } 50%, 83.332% { opacity: 1; } 83.333%, 100% { opacity: 0; } }
@keyframes demo-preview-final { 0%, 83.332% { opacity: 0; } 83.333%, 100% { opacity: 1; } }
@keyframes demo-menubar-notes { 0%, 83.332% { opacity: 1; } 83.333%, 100% { opacity: 0; } }
@keyframes demo-menubar-preview { 0%, 83.332% { opacity: 0; } 83.333%, 100% { opacity: 1; } }
@keyframes demo-hud-apps { 0%, 16.666% { opacity: 0; } 16.667%, 49.999% { opacity: 1; } 50%, 100% { opacity: 0; } }
@keyframes demo-hud-windows { 0%, 49.999% { opacity: 0; } 50%, 83.332% { opacity: 1; } 83.333%, 100% { opacity: 0; } }
@keyframes demo-hud-release { 0%, 83.332% { opacity: 0; } 83.333%, 99.999% { opacity: 1; } 100% { opacity: 0; } }
@keyframes demo-key-tab {
  0%, 16.666% { border-color: rgba(255, 255, 255, 0.28); background: rgba(255, 255, 255, 0.11); box-shadow: none; transform: none; }
  16.667% { border-color: #69a8ff; background: rgba(67, 139, 255, 0.38); box-shadow: 0 0 0 3px rgba(67, 139, 255, 0.18); transform: translateY(2px) scale(0.94); }
  18.889%, 100% { border-color: rgba(255, 255, 255, 0.28); background: rgba(255, 255, 255, 0.11); box-shadow: none; transform: none; }
}
@keyframes demo-key-window {
  0%, 49.999% { border-color: rgba(255, 255, 255, 0.28); background: rgba(255, 255, 255, 0.11); box-shadow: none; transform: none; }
  50% { border-color: #69a8ff; background: rgba(67, 139, 255, 0.38); box-shadow: 0 0 0 3px rgba(67, 139, 255, 0.18); transform: translateY(2px) scale(0.94); }
  52.222%, 100% { border-color: rgba(255, 255, 255, 0.28); background: rgba(255, 255, 255, 0.11); box-shadow: none; transform: none; }
}
@keyframes demo-key-release {
  0%, 83.332% { border-color: #69a8ff; background: rgba(67, 139, 255, 0.38); box-shadow: 0 0 0 3px rgba(67, 139, 255, 0.18); transform: translateY(2px) scale(0.94); }
  83.333% { transform: translateY(1px) scale(0.97); }
  85.555%, 100% { border-color: rgba(255, 255, 255, 0.28); background: rgba(255, 255, 255, 0.11); box-shadow: none; transform: none; }
}

.how-it-works, .features { position: relative; padding-top: 78px; padding-bottom: 105px; }
.section-heading { margin-bottom: 39px; }
.section-heading h2 { margin-bottom: 0; font-size: clamp(36px, 4.4vw, 58px); font-weight: 600; line-height: 1.02; }
.steps { display: grid; grid-template-columns: 1fr 32px 1fr 32px 1fr; align-items: center; }
.step-card { min-height: 180px; padding: 25px; border: 1px solid var(--line-soft); border-radius: var(--radius-md); background: linear-gradient(145deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018)); }
.step-number { display: block; margin-bottom: 20px; color: var(--text-faint); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 10px; letter-spacing: 0.12em; }
.step-symbol { display: block; margin-bottom: 11px; color: var(--blue); font-size: 23px; }
.step-card h3 { margin-bottom: 7px; font-size: 21px; font-weight: 600; }
.step-card p, .feature-card p, .source-cta p { margin-bottom: 0; color: var(--text-soft); font-size: 13px; line-height: 1.65; }
.step-connector { color: var(--text-faint); font-size: 20px; text-align: center; }

.section-heading--split { display: flex; align-items: end; justify-content: space-between; gap: 32px; }
.section-intro { max-width: 250px; margin-bottom: 3px; color: var(--text-faint); font-size: 13px; line-height: 1.6; }
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.feature-card { position: relative; min-height: 250px; padding: 25px; overflow: hidden; border: 1px solid var(--line-soft); border-radius: var(--radius-md); background: var(--surface); }
.feature-card::after { position: absolute; right: -30px; bottom: -60px; width: 160px; height: 160px; border-radius: 50%; background: currentColor; content: ""; filter: blur(70px); opacity: 0.1; }
.feature-card--blue { color: var(--blue); }.feature-card--purple { color: var(--purple); }.feature-card--green { color: var(--green); }.feature-card--amber { color: var(--amber); }
.feature-icon { display: flex; align-items: center; height: 46px; gap: 5px; margin-bottom: 31px; }
.mini-icon { display: block; width: 32px; height: 32px; border-radius: 9px; box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.25), 0 7px 14px rgba(0, 0, 0, 0.2); }
.mini-icon--finder { background: linear-gradient(150deg, #77c9ff 0 48%, #2278d0 49%); }
.mini-icon--notes { background: linear-gradient(#ffe781 0 22%, #fff8d7 22%); }
.feature-icon--windows { position: relative; width: 56px; }
.feature-icon--windows span { position: absolute; width: 32px; height: 25px; border: 2px solid currentColor; border-radius: 5px; }
.feature-icon--windows span:nth-child(1) { top: 0; left: 0; }.feature-icon--windows span:nth-child(2) { top: 9px; left: 9px; opacity: 0.65; }.feature-icon--windows span:nth-child(3) { top: 18px; left: 18px; opacity: 0.35; }
.feature-icon--spaces { position: relative; width: 62px; }
.feature-icon--spaces span { position: absolute; top: 8px; width: 18px; height: 28px; border: 2px solid currentColor; border-radius: 5px; }
.feature-icon--spaces span:nth-child(1) { left: 0; opacity: 0.32; }.feature-icon--spaces span:nth-child(2) { left: 22px; }.feature-icon--spaces span:nth-child(3) { left: 44px; opacity: 0.32; }
.feature-icon--shield { justify-content: center; width: 44px; height: 44px; border: 1px solid currentColor; border-radius: 14px; font-size: 20px; }
.feature-kicker { margin-bottom: 11px !important; color: currentColor !important; font-size: 10px !important; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.feature-card h3 { max-width: 330px; margin-bottom: 13px; color: var(--text); font-size: 23px; font-weight: 600; line-height: 1.1; }

.source-cta { padding-bottom: 0; }
.source-cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: 44px 48px; border: 1px solid rgba(109, 168, 255, 0.16); border-radius: var(--radius-lg); background: linear-gradient(115deg, rgba(45, 70, 119, 0.4), rgba(30, 33, 49, 0.72) 65%); box-shadow: 0 22px 60px rgba(0, 0, 0, 0.25); }
.source-cta h2 { margin-bottom: 15px; font-size: clamp(32px, 4vw, 51px); font-weight: 600; line-height: 1; }
.source-cta__inner > div:first-child { max-width: 460px; }.source-cta__inner .eyebrow { margin-bottom: 15px; }
.install-options { display: grid; width: min(100%, 390px); gap: 13px; }
.install-option { display: grid; min-width: 0; gap: 6px; }
.install-option__label { color: var(--text-faint); font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.install-download { width: 100%; min-height: 44px; }
.install-note { margin: 3px 0 0; color: var(--text-faint); font-size: 11px; }
.install-note a { color: var(--text-soft); text-decoration: underline; text-underline-offset: 3px; }
.install-note a:hover { color: var(--text); }
.source-command { display: flex; align-items: center; width: 100%; min-width: 0; min-height: 55px; gap: 11px; padding: 0 16px; border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 12px; background: rgba(4, 6, 11, 0.52); color: var(--text-soft); }
.source-command__prompt { color: var(--blue); }.source-command code { flex: 1; overflow: hidden; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11px; white-space: nowrap; }.source-command a { color: var(--blue); font-size: 20px; }

.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 26px; padding-bottom: 30px; border-top: 1px solid var(--line-soft); }
.brand--footer { color: var(--text-soft); font-size: 12px; }.brand--footer img { width: 24px; height: 24px; border-radius: 6px; }.footer-note { margin: 0; color: var(--text-faint); font-size: 11px; }

@media (max-width: 930px) {
  .hero { gap: 42px; padding-top: 76px; }
  .hero-copy { max-width: 700px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: auto; }
  .feature-card h3 { max-width: 360px; }
  .source-cta__inner { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 640px) {
  .shell { width: min(calc(100% - 32px), var(--max-width)); }
  .site-header { padding-top: 18px; }
  .header-nav { gap: 12px; }
  .nav-link { display: none; }
  .hero { gap: 38px; padding-top: 65px; padding-bottom: 67px; }
  .hero-lede { font-size: 14px; }
  .hero-actions { flex-direction: column; gap: 19px; }
  .trust-row { gap: 13px 18px; margin-top: 35px; }
  .demo-menubar { height: 30px; padding: 0 76px 0 10px; }
  .demo-menubar__left { gap: 9px; }
  .demo-menubar__item, .demo-menubar__status span:not(:last-child) { display: none; }
  .demo-motion-control { top: 4px; right: 8px; min-width: 58px; padding: 3px 6px; font-size: 8px; }
  .demo-stage { aspect-ratio: 4 / 3; }
  .demo-desktop { top: 0; left: 50%; width: 120%; height: 100%; transform: translateX(-50%); }
  .demo-layer--app-switcher { width: 48%; }
  .demo-layer--window-switcher { width: 68%; }
  .demo-hud { left: 50%; right: auto; bottom: 9px; min-width: 200px; gap: 5px; padding: 8px 10px; }
  .demo-hud small { margin-right: 2px; font-size: 10px; }
  .demo-hud kbd { min-width: 34px; height: 34px; padding-inline: 8px; font-size: 14px; }
  .how-it-works, .features { padding-top: 62px; padding-bottom: 74px; }
  .steps { grid-template-columns: 1fr; gap: 10px; }
  .step-connector { transform: rotate(90deg); }
  .step-card { min-height: auto; padding: 20px; }
  .section-heading--split { align-items: flex-start; flex-direction: column; gap: 17px; }
  .section-intro { max-width: 320px; }
  .source-cta { padding-bottom: 0; }
  .source-cta__inner { gap: 29px; padding: 30px 23px; }
  .source-command { width: 100%; }
  .site-footer { align-items: flex-start; flex-direction: column; gap: 19px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
  .demo-motion-toggle, .demo-motion-control { display: none; }
  .demo-layer--app-switcher, .demo-layer--window-switcher, .demo-layer--preview-final, .demo-hud, .demo-key, .demo-menubar__app { animation: none; }
  .demo-layer--app-switcher, .demo-layer--window-switcher, .demo-layer--preview-final, .demo-hud { opacity: 0; }
  .demo-frame--poster { opacity: 1; }
}

@supports not (backdrop-filter: blur(1px)) {
  .demo-window { background: var(--surface-strong); }
  .demo-hud { background: rgba(7, 9, 13, 0.9); }
}
