:root {
  --bg: #07060d;
  --bg-2: #0e0a1f;
  --text: #f4f2fb;
  --muted: #a7a2bf;
  --faint: #6f6a88;
  --line: rgba(255, 255, 255, 0.09);
  --glass: rgba(255, 255, 255, 0.055);
  --glass-strong: rgba(255, 255, 255, 0.09);
  --accent: #3d5afe;
  --accent-2: #8c5bff;
  --accent-3: #c04dff;
  --radius: 28px;
  --max: 1120px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { overflow-x: clip; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Ambient mauve glow, like the app background */
body::before {
  content: "";
  position: fixed;
  inset: -20vh -20vw auto -20vw;
  height: 110vh;
  background:
    radial-gradient(40% 45% at 28% 18%, rgba(123, 77, 255, 0.55), transparent 70%),
    radial-gradient(35% 40% at 80% 10%, rgba(61, 90, 254, 0.40), transparent 70%),
    radial-gradient(30% 35% at 60% 60%, rgba(192, 77, 255, 0.14), transparent 70%);
  filter: blur(40px);
  z-index: -1;
  pointer-events: none;
}

a { color: inherit; }
img { max-width: 100%; display: block; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* Nav — floating Liquid Glass pill */
.nav { position: fixed; top: 14px; left: 0; right: 0; z-index: 50; display: flex; justify-content: center; pointer-events: none; transition: top .35s cubic-bezier(.2,.8,.2,1); }
.nav-pill {
  pointer-events: auto; display: flex; align-items: center; gap: 6px; padding: 7px 8px 7px 12px;
  border-radius: 999px; background: rgba(18, 14, 34, 0.55); border: 1px solid rgba(255,255,255,0.10);
  backdrop-filter: saturate(180%) blur(24px); -webkit-backdrop-filter: saturate(180%) blur(24px);
  box-shadow: 0 10px 40px -12px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.08);
  transition: padding .35s cubic-bezier(.2,.8,.2,1), gap .35s, background .35s, transform .35s;
  animation: navIn .9s cubic-bezier(.2,.8,.2,1) both;
}
@keyframes navIn { from { opacity: 0; transform: translateY(-24px) scale(.96); } }
.nav.scrolled { top: 10px; }
.nav.scrolled .nav-pill { padding: 5px 6px 5px 10px; background: rgba(12, 9, 24, 0.72); }
.brand { display: flex; align-items: center; gap: 9px; font-weight: 700; text-decoration: none; letter-spacing: -0.01em; margin-right: 8px; }
.brand img { width: 30px; height: 30px; border-radius: 8px; transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.brand:hover img { transform: rotate(-12deg) scale(1.08); }
.nav-links { position: relative; display: flex; align-items: center; gap: 2px; font-size: 14.5px; }
.nav-links a { position: relative; z-index: 1; padding: 8px 14px; border-radius: 999px; color: var(--muted); text-decoration: none; transition: color .25s; white-space: nowrap; }
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-indicator { position: absolute; z-index: 0; top: 0; height: 100%; border-radius: 999px; background: rgba(255,255,255,0.09); box-shadow: inset 0 1px 0 rgba(255,255,255,.1); opacity: 0; transition: left .45s cubic-bezier(.2,.8,.2,1), width .45s cubic-bezier(.2,.8,.2,1), opacity .3s; }
.lang { appearance: none; -webkit-appearance: none; background: rgba(255,255,255,0.06); border: 1px solid var(--line); color: var(--text); border-radius: 999px; padding: 7px 12px; font: inherit; font-size: 13px; cursor: pointer; max-width: 128px; }
.lang:hover { background: rgba(255,255,255,0.1); }
.nav-cta { display: inline-flex; align-items: center; padding: 8px 16px; border-radius: 999px; font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap;
  background: linear-gradient(135deg, var(--accent), var(--accent-2)); box-shadow: 0 6px 22px -8px rgba(123,77,255,.9);
  max-width: 0; padding-left: 0; padding-right: 0; opacity: 0; overflow: hidden; transition: max-width .5s cubic-bezier(.2,.8,.2,1), padding .5s, opacity .4s; }
.nav.cta-on .nav-cta { max-width: 200px; padding-left: 16px; padding-right: 16px; opacity: 1; }
.nav-burger { display: none; width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255,255,255,0.07); cursor: pointer; position: relative; }
.nav-burger span { position: absolute; left: 11px; right: 11px; height: 2px; border-radius: 2px; background: var(--text); transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.nav-burger span:first-child { top: 15px; } .nav-burger span:last-child { top: 22px; }
.nav.open .nav-burger span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav.open .nav-burger span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; border-radius: 999px; font-weight: 600; text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 10px 40px -10px rgba(123, 77, 255, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.btn-ghost { background: var(--glass); border: 1px solid var(--line); }
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 20px; height: 20px; }

/* Hero */
.hero { position: relative; padding: 150px 0 40px; text-align: center; }
.marquee { max-width: 100vw; }
.hero-icon { width: 108px; height: 108px; border-radius: 26px; margin: 0 auto 28px; box-shadow: 0 30px 80px -20px rgba(123, 77, 255, 0.85); }
.eyebrow { display: inline-flex; gap: 8px; align-items: center; padding: 6px 14px; border-radius: 999px; background: var(--glass); border: 1px solid var(--line); font-size: 13px; color: var(--muted); margin-bottom: 22px; }
.eyebrow b { color: var(--text); font-weight: 600; }
h1 { font-size: clamp(40px, 7vw, 76px); line-height: 1.02; letter-spacing: -0.035em; margin: 0 0 20px; font-weight: 750; }
.grad { background: linear-gradient(120deg, #fff 10%, #c9b8ff 45%, #8c5bff 75%, #5b7bff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(18px, 2.2vw, 21px); color: var(--muted); max-width: 640px; margin: 0 auto 34px; }
.cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.note { margin-top: 16px; font-size: 14px; color: var(--faint); }

/* Phones */
.phones { position: relative; display: flex; justify-content: center; align-items: flex-end; gap: 22px; margin: 70px auto 20px; perspective: 1600px; }
.phone {
  width: 270px; border-radius: 44px; padding: 9px;
  background: linear-gradient(160deg, rgba(255,255,255,0.22), rgba(255,255,255,0.04));
  box-shadow: 0 50px 120px -40px rgba(80, 40, 200, 0.9), 0 0 0 1px rgba(255,255,255,0.08);
}
.phone img { border-radius: 36px; }
.phone.side { width: 230px; opacity: .9; }
.phone.left { transform: rotateY(14deg) translateY(30px); }
.phone.right { transform: rotateY(-14deg) translateY(30px); }

/* Sections */
section { padding: 90px 0; }
.section-title { text-align: center; margin-bottom: 52px; }
.section-title h2 { font-size: clamp(30px, 4.4vw, 46px); letter-spacing: -0.03em; line-height: 1.08; margin: 0 0 14px; font-weight: 720; }
.section-title p { color: var(--muted); max-width: 620px; margin: 0 auto; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card {
  background: var(--glass); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  transition: transform .25s ease, background .25s ease, border-color .25s ease;
}
.card:hover { transform: translateY(-3px); background: var(--glass-strong); border-color: rgba(140, 91, 255, 0.35); }
.card .ico {
  width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 16px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2)); box-shadow: 0 8px 24px -8px rgba(123, 77, 255, .9);
}
.card .ico svg { width: 22px; height: 22px; stroke: #fff; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { margin: 0 0 6px; font-size: 19px; letter-spacing: -0.01em; }
.card p { margin: 0; color: var(--muted); font-size: 15.5px; }
.card.wide { grid-column: span 2; }
.pro-tag { display: inline-block; font-size: 10px; font-weight: 800; letter-spacing: .06em; padding: 3px 8px; border-radius: 999px; background: linear-gradient(135deg, var(--accent), var(--accent-2)); margin-left: 8px; vertical-align: middle; }

/* Split showcase */
.split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 60px; align-items: center; }
.split.reverse { grid-template-columns: 0.95fr 1.05fr; }
.split.reverse .split-media { order: -1; }
.split h2 { font-size: clamp(30px, 4vw, 44px); letter-spacing: -0.03em; line-height: 1.08; margin: 0 0 16px; }
.split p { color: var(--muted); }
.checks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks li::before { content: "✓"; flex: 0 0 22px; height: 22px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; font-size: 12px; font-weight: 800; display: grid; place-items: center; margin-top: 2px; }
.split-media { display: flex; justify-content: center; }
.split-media .phone { width: 300px; }

/* Keyboard demo */
.kb {
  width: 320px; border-radius: 32px; padding: 18px; background: var(--glass); border: 1px solid var(--line);
  box-shadow: 0 40px 100px -40px rgba(80, 40, 200, .9);
}
.kb-site { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); font-weight: 600; }
.kb-site i { width: 22px; height: 22px; border-radius: 7px; background: #123f6d; display: inline-block; }
.kb-label { font-size: 12px; color: var(--muted); margin: 12px 0 6px; }
.kb-field { height: 44px; border-radius: 12px; background: rgba(255,255,255,.06); border: 1.5px solid rgba(140,91,255,.8); display: flex; align-items: center; padding: 0 14px; font-weight: 650; font-size: 20px; letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.kb-field .typed { overflow: hidden; white-space: nowrap; width: 0; animation: type 6s steps(7) infinite; }
.kb-field .caret { width: 2px; height: 22px; background: var(--accent-2); margin-left: 2px; animation: blink 1s steps(1) infinite; }
.kb-bar { display: flex; justify-content: center; margin: 16px 0 12px; }
.kb-pill { display: flex; gap: 8px; align-items: center; padding: 6px 14px; border-radius: 999px; background: rgba(255,255,255,.08); font-size: 13px; font-weight: 600; animation: pill 6s ease-in-out infinite; }
.kb-pill b { width: 22px; height: 22px; border-radius: 7px; background: linear-gradient(135deg, var(--accent), var(--accent-2)); display: inline-block; }
.kb-pill small { display: block; font-size: 10px; color: var(--muted); font-weight: 500; }
.kb-keys { display: grid; gap: 6px; }
.kb-row { display: flex; gap: 4px; justify-content: center; }
.kb-row span { flex: 1; max-width: 26px; height: 32px; border-radius: 6px; background: rgba(255,255,255,.08); font-size: 11px; color: var(--muted); display: grid; place-items: center; }
@keyframes type { 0%, 38% { width: 0; } 55%, 92% { width: 7ch; } 100% { width: 0; } }
@keyframes blink { 50% { opacity: 0; } }
@keyframes pill { 0%, 10% { opacity: 0; transform: translateY(10px); } 18%, 45% { opacity: 1; transform: none; } 52%, 100% { opacity: 0; transform: translateY(-6px); } }

/* Pricing */
.pricing { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 860px; margin: 0 auto; }
.price { padding: 32px; }
.price h3 { font-size: 22px; margin: 0 0 4px; }
.price .amount { font-size: 40px; font-weight: 750; letter-spacing: -0.03em; margin: 10px 0 2px; }
.price .amount small { font-size: 16px; color: var(--muted); font-weight: 500; letter-spacing: 0; }
.price ul { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; color: var(--muted); font-size: 15.5px; }
.price ul li::before { content: "✓"; color: #9d7bff; font-weight: 800; margin-right: 10px; }
.price.featured { background: linear-gradient(160deg, rgba(61,90,254,.22), rgba(140,91,255,.14)); border-color: rgba(140, 91, 255, .45); }

/* FAQ */
.faq { max-width: 780px; margin: 0 auto; display: grid; gap: 10px; }
details { background: var(--glass); border: 1px solid var(--line); border-radius: 20px; padding: 18px 22px; }
summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--muted); font-weight: 400; font-size: 22px; line-height: 1; transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--muted); margin: 12px 0 0; }

/* Final CTA */
.final { text-align: center; padding: 70px 30px; border-radius: 40px; background: linear-gradient(160deg, rgba(61,90,254,.25), rgba(140,91,255,.18) 50%, rgba(192,77,255,.10)); border: 1px solid rgba(140,91,255,.35); }
.final h2 { font-size: clamp(30px, 4.5vw, 48px); letter-spacing: -0.03em; margin: 0 0 14px; }
.final p { color: var(--muted); margin: 0 auto 30px; max-width: 520px; }

footer { padding: 50px 0 60px; color: var(--faint); font-size: 14px; border-top: 1px solid var(--line); margin-top: 60px; }
footer .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
footer a { color: var(--muted); text-decoration: none; margin-right: 18px; }
footer a:hover { color: var(--text); }

/* Legal pages */
.legal { max-width: 760px; margin: 0 auto; padding: 70px 24px 40px; }
.legal h1 { font-size: clamp(36px, 5vw, 54px); }
.legal h2 { font-size: 22px; margin: 38px 0 10px; letter-spacing: -0.01em; }
.legal p, .legal li { color: var(--muted); }
.legal .updated { color: var(--faint); font-size: 14px; }
.legal .tldr { background: var(--glass); border: 1px solid var(--line); border-radius: 22px; padding: 20px 24px; margin: 28px 0; }
.legal .tldr p { color: var(--text); margin: 0; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .grid { grid-template-columns: 1fr 1fr; }
  .card.wide { grid-column: span 2; }
  .split, .split.reverse { grid-template-columns: 1fr; gap: 36px; }
  .split.reverse .split-media { order: 0; }
  .phone.side { display: none; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .grid, .pricing { grid-template-columns: 1fr; }
  .card.wide { grid-column: auto; }
  .hero { padding-top: 56px; }
  section { padding: 64px 0; }
  .phone { width: 240px; }
  .kb { width: 100%; max-width: 320px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .kb-field .typed { width: 7ch; }
  .kb-pill { opacity: 1; }
}


/* Hero ambience */
/* Full-viewport layers: Safari clips filters/gradients at the element box, so never confine them to the centered column */
.orbs { position: absolute; top: -140px; left: 50%; width: 100vw; height: 1000px; transform: translateX(-50%); z-index: -1; pointer-events: none; }
.orbs i { position: absolute; border-radius: 50%; opacity: .55; mix-blend-mode: screen; filter: blur(90px); will-change: transform; }
.orbs i:nth-child(1) { width: 520px; height: 520px; left: 8%; top: 40px; background: #7b4dff; animation: drift1 18s ease-in-out infinite alternate; }
.orbs i:nth-child(2) { width: 460px; height: 460px; right: 6%; top: 0; background: #3d5afe; animation: drift2 22s ease-in-out infinite alternate; }
.orbs i:nth-child(3) { width: 380px; height: 380px; left: 38%; top: 380px; background: #c04dff; opacity: .35; animation: drift3 26s ease-in-out infinite alternate; }
@keyframes drift1 { to { transform: translate(120px, 80px) scale(1.15); } }
@keyframes drift2 { to { transform: translate(-140px, 120px) scale(.9); } }
@keyframes drift3 { to { transform: translate(80px, -100px) scale(1.2); } }
.spotlight { position: absolute; top: 0; bottom: 0; left: 50%; width: 100vw; transform: translateX(-50%); z-index: -1; pointer-events: none; opacity: 0; transition: opacity .6s;
  background: radial-gradient(520px circle at var(--mx, 50%) var(--my, 30%), rgba(160, 120, 255, .16), transparent 60%); }
.hero:hover .spotlight { opacity: 1; }
.hero-icon { animation: iconIn 1.1s cubic-bezier(.2,.8,.2,1) both, float 6s ease-in-out 1.1s infinite; }
@keyframes iconIn { from { opacity: 0; transform: translateY(30px) scale(.8) rotate(-8deg); } }
@keyframes float { 50% { transform: translateY(-10px); } }
.split-words .w { display: inline-block; opacity: 0; transform: translateY(.6em) rotate(3deg); filter: blur(8px); animation: wordIn .9s cubic-bezier(.2,.8,.2,1) forwards; }
@keyframes wordIn { to { opacity: 1; transform: none; filter: blur(0); } }
.hero .eyebrow, .hero .lead, .hero .cta, .hero .note { animation: fadeUp 1s cubic-bezier(.2,.8,.2,1) both; }
.hero .eyebrow { animation-delay: .15s; } .hero .lead { animation-delay: .55s; } .hero .cta { animation-delay: .7s; } .hero .note { animation-delay: .85s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } }
.grad { background-size: 200% auto; animation: shine 6s linear infinite; }
@keyframes shine { to { background-position: 200% center; } }
.btn-primary { position: relative; overflow: hidden; }
.btn-primary::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%); transform: translateX(-120%); animation: sweep 4.5s ease-in-out 1.5s infinite; }
@keyframes sweep { 0%, 60% { transform: translateX(-120%); } 85%, 100% { transform: translateX(120%); } }

/* Phones: idle float + parallax (JS sets --p) */
.phones { position: relative; }
.phone { transform: translateY(calc(var(--p, 0) * -40px)); transition: transform .1s linear; }
.phone.side.left { transform: rotateY(14deg) translateY(calc(30px + var(--p, 0) * 30px)); }
.phone.side.right { transform: rotateY(-14deg) translateY(calc(30px + var(--p, 0) * 30px)); }
.phone > img { animation: float 7s ease-in-out infinite; }
.phone.side.left > img { animation-delay: -2s; } .phone.side.right > img { animation-delay: -4s; }

/* Live code card */
.live-code { position: absolute; z-index: 3; left: calc(50% - 470px); top: 10px; display: flex; align-items: center; gap: 12px; padding: 12px 14px 12px 12px;
  border-radius: 20px; background: rgba(28, 22, 48, .62); border: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 20px 50px -20px rgba(0,0,0,.8); text-align: left; animation: float 5s ease-in-out infinite; }
.lc-icon { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; font-weight: 800; font-size: 14px; background: linear-gradient(135deg, #d27a5c, #a9533c); }
.lc-text small { display: block; font-size: 11px; color: var(--muted); }
.lc-code { font-size: 22px; letter-spacing: .04em; font-variant-numeric: tabular-nums; display: inline-block; transition: opacity .25s, transform .25s, filter .25s; }
.lc-code.flip { opacity: 0; transform: translateY(8px); filter: blur(4px); }
.lc-ring { width: 30px; height: 30px; transform: rotate(-90deg); }
.lc-track { fill: none; stroke: rgba(255,255,255,.12); stroke-width: 3; }
.lc-progress { fill: none; stroke: url(#none); stroke: #8c5bff; stroke-width: 3; stroke-linecap: round; stroke-dasharray: 94.25; transition: stroke-dashoffset 1s linear, stroke .3s; }
.lc-progress.urgent { stroke: #ff5a6e; }
.live-copied { position: absolute; z-index: 3; left: calc(50% - 440px); top: 88px; padding: 7px 14px; border-radius: 999px; font-size: 13px; font-weight: 600;
  background: rgba(46, 204, 113, .18); border: 1px solid rgba(46, 204, 113, .4); color: #7ff0a8; opacity: 0; transform: translateY(-6px) scale(.95); transition: all .4s cubic-bezier(.2,.8,.2,1); }
.live-copied.on { opacity: 1; transform: none; }

/* Marquee */
.marquee { overflow: hidden; padding: 26px 0; border-block: 1px solid var(--line); margin-top: 40px;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 46px; width: max-content; animation: marquee 38s linear infinite; }
.marquee-track span { font-size: 20px; font-weight: 600; color: var(--faint); white-space: nowrap; letter-spacing: -.01em; }
.marquee-track span:nth-child(3n+1) { color: #b8a6ff; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Cards: tilt (JS sets --rx/--ry) + light sheen */
.card { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--ty, 0)); transition: transform .25s ease, background .25s ease, border-color .25s ease; position: relative; overflow: hidden; }
.card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(380px circle at var(--cx, 50%) var(--cy, 50%), rgba(255,255,255,.10), transparent 45%); }
.card:hover::after { opacity: 1; }
.reveal { transition-delay: var(--d, 0s); }

/* Pro card: animated glowing border */
.price.featured { border-color: transparent; isolation: isolate; }
.price.featured::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1.5px; z-index: -1;
  background: conic-gradient(from var(--angle, 0deg), #3d5afe, #8c5bff, #c04dff, #3d5afe);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: spin 6s linear infinite; }
@property --angle { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@keyframes spin { to { --angle: 360deg; } }

/* Mac desk scene */
.mac-desk { max-width: 1000px; margin: 0 auto 30px; }
.mac-screen { position: relative; aspect-ratio: 16 / 10; border-radius: 22px; overflow: hidden; border: 1px solid rgba(255,255,255,.12);
  background: radial-gradient(60% 70% at 20% 10%, #5a3bd6 0%, transparent 60%), radial-gradient(60% 70% at 90% 20%, #2f4fe8 0%, transparent 55%), radial-gradient(70% 70% at 60% 100%, #8a2fc9 0%, transparent 60%), #120c28;
  box-shadow: 0 60px 140px -50px rgba(80, 40, 200, .95), inset 0 1px 0 rgba(255,255,255,.1); font-size: clamp(9px, 1.25vw, 14px); }
.mac-menubar { height: 2.2em; display: flex; align-items: center; gap: 1.4em; padding: 0 1.2em; background: rgba(20, 14, 40, .55); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); color: #e9e4ff; font-size: 1em; }
.mb-apple { width: .9em; height: 1em; background: #fff; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M16.37 12.6c-.02-2.2 1.8-3.26 1.88-3.31-1.03-1.5-2.62-1.7-3.18-1.73-1.35-.14-2.64.8-3.33.8-.69 0-1.74-.78-2.87-.76-1.47.02-2.83.86-3.59 2.18-1.53 2.66-.39 6.6 1.1 8.75.73 1.05 1.6 2.24 2.73 2.2 1.1-.05 1.51-.71 2.84-.71 1.32 0 1.7.71 2.86.69 1.18-.02 1.93-1.07 2.65-2.13.84-1.22 1.18-2.4 1.2-2.46-.03-.01-2.3-.88-2.32-3.52zM14.2 6.13c.6-.73 1.01-1.75.9-2.76-.87.04-1.92.58-2.54 1.3-.56.64-1.05 1.67-.92 2.66.97.08 1.96-.49 2.56-1.2z'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M16.37 12.6c-.02-2.2 1.8-3.26 1.88-3.31-1.03-1.5-2.62-1.7-3.18-1.73-1.35-.14-2.64.8-3.33.8-.69 0-1.74-.78-2.87-.76-1.47.02-2.83.86-3.59 2.18-1.53 2.66-.39 6.6 1.1 8.75.73 1.05 1.6 2.24 2.73 2.2 1.1-.05 1.51-.71 2.84-.71 1.32 0 1.7.71 2.86.69 1.18-.02 1.93-1.07 2.65-2.13.84-1.22 1.18-2.4 1.2-2.46-.03-.01-2.3-.88-2.32-3.52zM14.2 6.13c.6-.73 1.01-1.75.9-2.76-.87.04-1.92.58-2.54 1.3-.56.64-1.05 1.67-.92 2.66.97.08 1.96-.49 2.56-1.2z'/%3E%3C/svg%3E") center/contain no-repeat; }
.mac-menubar span:not(.mb-right):not(.mb-apple) { color: rgba(233,228,255,.75); }
.mb-right { margin-left: auto; display: flex; gap: 1.2em; align-items: center; }
.mb-key { display: inline-grid; place-items: center; width: 1.8em; height: 1.5em; border-radius: .4em; transition: background .3s; }
.mac-desk.s-menu .mb-key { background: rgba(255,255,255,.25); }
.mac-window { position: absolute; left: 8%; top: 12%; width: 56%; height: 74%; border-radius: 1em; overflow: hidden; background: rgba(250, 249, 255, .96); color: #1c1830; box-shadow: 0 2em 4em -1em rgba(0,0,0,.55); transition: filter .4s, transform .4s; }
.mac-desk.s-panel .mac-window { filter: blur(2px) brightness(.8); transform: scale(.985); }
.mw-bar { height: 2.6em; display: flex; align-items: center; gap: .5em; padding: 0 1em; background: #ece9f5; border-bottom: 1px solid #ddd8ea; }
.mw-bar i { width: .8em; height: .8em; border-radius: 50%; background: #ff5f57; } .mw-bar i:nth-child(2) { background: #febc2e; } .mw-bar i:nth-child(3) { background: #28c840; }
.mw-url { margin: 0 auto; padding: .3em 2.4em; border-radius: .6em; background: #fff; font-size: .9em; color: #555; }
.mw-body { padding: 2.4em 3em; display: flex; flex-direction: column; align-items: center; gap: .7em; }
.mw-logo { width: 3.2em; height: 3.2em; border-radius: .9em; display: grid; place-items: center; color: #fff; font-weight: 800; background: linear-gradient(135deg, #d27a5c, #a9533c); }
.mw-title { font-size: 1.35em; font-weight: 700; }
.mw-label { align-self: stretch; font-size: .9em; color: #6b6585; margin-top: .6em; }
.mw-field { align-self: stretch; height: 2.8em; border-radius: .7em; border: 2px solid #8c5bff; display: flex; align-items: center; padding: 0 1em; font-size: 1.25em; font-weight: 700; letter-spacing: .06em; font-variant-numeric: tabular-nums; }
.mw-value { opacity: 0; transform: translateY(.3em); transition: opacity .3s, transform .3s; }
.mw-caret { width: 2px; height: 1.1em; background: #8c5bff; margin-left: 2px; animation: blink 1s steps(1) infinite; }
.mw-check { margin-left: auto; color: #28c840; opacity: 0; transform: scale(.4); transition: all .4s cubic-bezier(.2,.8,.2,1); }
.mac-desk.s-pasted .mw-value { opacity: 1; transform: none; }
.mac-desk.s-pasted .mw-check { opacity: 1; transform: none; }
.mac-desk.s-pasted .mw-field { border-color: #28c840; }
.mw-button { align-self: stretch; margin-top: .6em; padding: .8em; border-radius: .7em; text-align: center; color: #fff; font-weight: 600; background: linear-gradient(135deg, #3d5afe, #8c5bff); }
.mac-keys { position: absolute; left: 50%; bottom: 7%; display: flex; gap: .7em; transform: translateX(-50%) translateY(1em); opacity: 0; transition: all .45s cubic-bezier(.2,.8,.2,1); }
.mac-keys kbd { width: 3.4em; height: 3.4em; display: grid; place-items: center; border-radius: .8em; font: 600 1.5em/1 -apple-system, system-ui, sans-serif; color: #fff;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 .4em 0 rgba(0,0,0,.25); transition: transform .15s, box-shadow .15s, background .2s; }
.mac-keys kbd { width: 2.3em; height: 2.3em; }
.mac-keys .kv { display: none; }
.mac-desk.s-keys .mac-keys, .mac-desk.s-paste .mac-keys { opacity: 1; transform: translateX(-50%); }
.mac-desk.s-press .mac-keys kbd { transform: translateY(.3em); box-shadow: 0 .1em 0 rgba(0,0,0,.25); background: rgba(140, 91, 255, .45); }
.mac-desk.s-paste .mac-keys kbd:not(.kv):not(:nth-child(2)) { display: none; }
.mac-desk.s-paste .mac-keys .kv { display: grid; }
.mac-panel-ui { position: absolute; left: 50%; top: 20%; width: 42%; padding: 1em; border-radius: 1.3em; color: #f4f2fb;
  background: rgba(30, 22, 58, .72); border: 1px solid rgba(255,255,255,.16); backdrop-filter: blur(26px) saturate(160%); -webkit-backdrop-filter: blur(26px) saturate(160%);
  box-shadow: 0 2.4em 5em -1.2em rgba(0,0,0,.75); transform: translateX(-50%) scale(.9) translateY(-.6em); opacity: 0; transition: all .45s cubic-bezier(.2,.8,.2,1); }
.mac-desk.s-panel .mac-panel-ui { opacity: 1; transform: translateX(-50%); }
.mp-search { display: flex; align-items: center; gap: .5em; padding: .65em .9em; border-radius: 999px; background: rgba(255,255,255,.1); margin-bottom: .6em; font-size: 1.05em; }
.mp-glass { opacity: .6; } .mp-placeholder { color: rgba(244,242,251,.45); }
.mac-desk.s-typing .mp-placeholder { display: none; }
.mp-caret { width: 2px; height: 1.1em; background: #a98bff; animation: blink 1s steps(1) infinite; }
.mp-row { display: flex; align-items: center; gap: .8em; padding: .55em .6em; border-radius: .8em; transition: background .3s, opacity .3s, max-height .4s, padding .4s; max-height: 4em; overflow: hidden; }
.mp-row i { width: 2.2em; height: 2.2em; border-radius: .65em; display: grid; place-items: center; font-style: normal; font-weight: 800; font-size: .85em; color: #fff; flex: none; }
.mp-row div { flex: 1; display: flex; flex-direction: column; } .mp-row b { font-size: .95em; } .mp-row small { font-size: .78em; color: rgba(244,242,251,.55); }
.mp-row em { font-style: normal; font-weight: 700; font-size: 1.1em; font-variant-numeric: tabular-nums; }
.mp-copied { display: none; color: #7ff0a8; font-weight: 700; }
.mac-desk.s-filtered .mp-row.r2, .mac-desk.s-filtered .mp-row.r3 { opacity: 0; max-height: 0; padding-top: 0; padding-bottom: 0; }
.mac-desk.s-highlight .mp-row.r1 { background: rgba(255,255,255,.12); }
.mac-desk.s-copied .mp-row.r1 em { display: none; }
.mac-desk.s-copied .mp-row.r1 .mp-copied { display: inline; animation: pop .4s cubic-bezier(.2,.8,.2,1); }
@keyframes pop { from { transform: scale(.6); opacity: 0; } }
.mac-grid { margin-top: 70px; }

/* Mobile nav */
@media (max-width: 860px) {
  .nav-burger { display: inline-block; }
  .nav-links { position: absolute; top: calc(100% + 10px); left: 0; right: 0; flex-direction: column; align-items: stretch; padding: 10px;
    border-radius: 24px; background: rgba(16, 12, 30, .92); border: 1px solid var(--line); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
    opacity: 0; transform: translateY(-10px) scale(.98); pointer-events: none; transition: all .35s cubic-bezier(.2,.8,.2,1); }
  .nav.open .nav-links { opacity: 1; transform: none; pointer-events: auto; }
  .nav-links a { padding: 12px 16px; font-size: 16px; }
  .nav-indicator { display: none; }
  .nav-pill { position: relative; width: calc(100% - 28px); justify-content: space-between; }
  .brand { margin-right: auto; }
  .live-code { left: auto; right: 4%; top: 30px; transform: scale(.85); }
  .live-copied { left: auto; right: 8%; top: 100px; }
}
@media (max-width: 620px) {
  .nav-cta { display: none; }
  .lang { max-width: 104px; padding: 7px 10px; }
  .orbs i { transform: scale(.6); }
  .hero { padding-top: 120px; }
  .mac-window { width: 84%; left: 8%; }
  .mac-panel-ui { width: 72%; }
}
@media (prefers-reduced-motion: reduce) {
  .split-words .w { opacity: 1; transform: none; filter: none; }
  .marquee-track { animation: none; }
}
/* Gradient words keep their gradient once split for the reveal animation */
.grad .w { background: linear-gradient(120deg, #c9b8ff, #8c5bff 35%, #5b7bff 65%, #c9b8ff); background-size: 200% auto; -webkit-background-clip: text; background-clip: text; color: transparent; animation: wordIn .9s cubic-bezier(.2,.8,.2,1) forwards, shine 6s linear 1.2s infinite; padding-bottom: .08em; }
