:root {
  color-scheme: dark;
  --void: #07060c;
  --void-2: #0e0c19;
  --void-3: #151226;
  --ink: #f2effb;
  --ink-soft: #aea8c6;
  --ink-faint: #6f6a8a;
  --violet: #6a57a6;
  --violet-lum: #9c8bd8;
  --violet-glow: #b9a8ff;
  --magenta: #a64b98;
  --flare: #f5dc3a;
  --flare-ink: #1a1500;
  --define: #5ba9cc;
  --discuss: #b09cf5;
  --line: rgba(185, 168, 255, 0.14);
  --line-strong: rgba(185, 168, 255, 0.28);
  --app-paper: #1b1f1e;
  --app-ink: #e2eae6;
  --app-line: #353c39;
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --display-wght: 800;
  --display-wght-2: 650;
  --display-track: -0.02em;
  --display-lh: .92;
  --text: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --serif: Fraunces, Georgia, "Times New Roman", serif;
  --gutter: max(16px, 4.5vw);
  --gutter-l: max(40px, 4.5vw);
  --ease: cubic-bezier(.2, .8, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--void); overflow-x: clip; }
body {
  margin: 0;
  background: var(--void);
  color: var(--ink);
  font: 400 17px/1.6 var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--flare); outline-offset: 3px; border-radius: 6px; }
::selection { background: rgba(245, 220, 58, .85); color: var(--flare-ink); }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Starts below the nav: iOS Safari tints the status bar from a fixed element at the top edge, and a transparent one lets the page show through. */
body::after {
  content: "";
  position: fixed; inset: calc(56px + env(safe-area-inset-top, 0px)) 0 0;
  pointer-events: none;
  z-index: 100;
  opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.display {
  font-family: var(--display);
  font-weight: var(--display-wght);
  font-optical-sizing: auto;
  font-synthesis: none;
  letter-spacing: var(--display-track);
  line-height: var(--display-lh);
  margin: 0;
  text-wrap: balance;
}
.lum, .lum .line, .lum .w {
  background: linear-gradient(176deg, #ffffff 20%, #d9cfff 55%, #9c8bd8 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
/* WebKit paints nothing for a background-clip:text parent whose children are transformed or faded,
   so when the lines or words animate the gradient must sit on them, not on the parent. */
.lum:has(.line, .w) { background: none; }
.lum .line, .lum .w { padding-bottom: .14em; margin-bottom: -.14em; }
.wrap { padding-left: var(--gutter-l); padding-right: var(--gutter); max-width: 1440px; margin-inline: auto; }

.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  background: linear-gradient(to bottom, rgba(7,6,12,.82), rgba(7,6,12,.55));
  backdrop-filter: blur(14px) saturate(1.3);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  border-bottom: 1px solid rgba(185,168,255,.08);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 56px; }
.brand { display: flex; align-items: center; gap: 2px; text-decoration: none; }
.brand img { width: 64px; height: 64px; margin: -4px 0 -4px -12.6px; }
.brand span { font-family: var(--serif); font-weight: 600; font-size: 22px; letter-spacing: -0.01em; }
.nav-right { display: flex; align-items: center; gap: 18px; font-size: 14px; }
.nav-soon { color: var(--ink-soft); }

main { position: relative; isolation: isolate; }

.laptop { position: relative; width: min(1180px, 100%); margin-inline: auto; transform-origin: 50% 90%; will-change: transform; }
.lid {
  position: relative;
  padding: 1.25% 1.25% 1.6%;
  border-radius: 2.2% 2.2% 0 0 / 3.4% 3.4% 0 0;
  background: linear-gradient(180deg, #25232e, #121118);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.08),
    0 0 0 1px rgba(0,0,0,.6),
    0 40px 120px -30px rgba(106,87,166,.7),
    0 20px 60px rgba(0,0,0,.6);
}
.lid::before { content: ""; position: absolute; top: .55%; left: 50%; width: .7%; aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%; background: #0a0a0f; box-shadow: inset 0 0 0 1px #2d2b36; }
.screen { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 4px; background: var(--app-paper); }
.screen > img, .screen > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.screen::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(125deg, rgba(255,255,255,.07) 0%, transparent 38%); }
.base {
  position: relative; height: clamp(12px, 1.9vw, 26px); width: 108%; margin-left: -4%;
  border-radius: 3px 3px clamp(8px, 1.3vw, 18px) clamp(8px, 1.3vw, 18px);
  background: linear-gradient(180deg, #4a4856 0%, #2a2833 18%, #1a1920 60%, #0e0d13 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.14), 0 30px 50px -10px rgba(0,0,0,.8);
}
.base::before { content: ""; position: absolute; left: 50%; top: 0; width: 13%; height: 32%; transform: translateX(-50%); border-radius: 0 0 8px 8px; background: #121118; box-shadow: inset 0 1px 0 rgba(0,0,0,.6); }

.phone {
  position: relative; width: 100%;
  padding: 0;
  border-radius: 15% / 7%;
  background: linear-gradient(160deg, #3b3847, #15141c 40%, #0c0b11);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.12), 0 0 0 1px #000, 0 50px 100px -20px rgba(0,0,0,.8), 0 30px 80px -30px rgba(106,87,166,.8);
}
.phone .phone-screen { margin: 3.6%; position: relative; overflow: hidden; border-radius: 12% / 5.6%; aspect-ratio: 780 / 1688; background: var(--app-paper); }
.phone .phone-screen img { width: 100%; height: 100%; object-fit: cover; }

.browser {
  position: relative; margin: 0;
  border-radius: 14px; overflow: hidden;
  background: #16151d;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08), 0 0 0 1px rgba(0,0,0,.7), 0 50px 120px -40px rgba(106,87,166,.65), 0 24px 60px rgba(0,0,0,.55);
}
.browser .bar { display: flex; align-items: center; gap: 7px; height: 34px; padding: 0 14px; background: linear-gradient(#1f1e27, #17161e); border-bottom: 1px solid #0a0a0e; }
.browser .bar i { width: 11px; height: 11px; border-radius: 50%; background: #3a3844; }
.browser .bar i:nth-child(1) { background: #ec6a5e; }
.browser .bar i:nth-child(2) { background: #f4bf4f; }
.browser .bar i:nth-child(3) { background: #61c554; }
.browser .url { display: inline-flex; align-items: center; gap: 2px; margin-left: auto; margin-right: auto; padding: 2px 14px 2px 6px; border-radius: 7px; background: #0f0e14; color: var(--ink-soft); font: 500 12px/1.4 var(--text); transform: translateX(-20px); }
.browser .url img { width: 20px; height: 20px; margin: -2px 0; }
.browser .screen { border-radius: 0; }

.reflect { -webkit-box-reflect: below 6px linear-gradient(transparent 82%, rgba(255,255,255,.1)); }

footer { border-top: 1px solid var(--line); padding-block: 28px calc(28px + env(safe-area-inset-bottom, 0px)); color: var(--ink-faint); font-size: 14px; }
footer .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 8px 16px; }
footer .wrap > :last-child { justify-self: end; }
.foot-docs { color: var(--ink-soft); text-decoration: none; }
.foot-docs:hover { color: var(--ink); }

@media (max-width: 900px) {
  .nav-soon { display: none; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .browser .bar { height: 24px; padding: 0 10px; gap: 5px; }
  .browser .bar i { width: 8px; height: 8px; }
  .browser .url { font-size: 10px; padding: 0 8px 0 3px; }
  .browser .url img { width: 15px; height: 15px; margin: 0; }
  .browser { border-radius: 10px; }
  footer .wrap { grid-template-columns: auto auto; justify-content: space-between; }
  footer .legal { grid-row: 2; grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
