:root {
  color-scheme: light;
  --ink: #0b1020;
  --ink-2: #2a3245;
  --muted: #5d6679;
  --line: rgba(15, 23, 42, 0.08);
  --bg: #ffffff;
  --soft: #f4f7fc;
  --blue: #2f6bff;
  --blue-2: #1846e0;
  --lilac: #8d7bff;
  --sky-top: #8fbdf0;
  --sky-mid: #c9e0fa;
  --sky-low: #eef5ff;
  --surface: #fff;
  --chip: #0b1020;
  --panel: #0b1020;
  --glass: rgba(255, 255, 255, 0.55);
  --glass-line: rgba(255, 255, 255, 0.8);
  --nav: rgba(255, 255, 255, 0.45);
  --nav-line: rgba(255, 255, 255, 0.7);
  --nav-solid: rgba(255, 255, 255, 0.82);
  --nav-hover: rgba(255, 255, 255, 0.85);
  --bar: #e6ebf5;
  --code-bg: rgba(15, 23, 42, 0.07);
  --fig: linear-gradient(180deg, #f5f3ff, #fff);
  --coin: linear-gradient(160deg, #fff, #e8eeff);
  --final: linear-gradient(180deg, #9cc6f2 0%, #cfe3fb 55%, #eef5ff 100%);
  --em-bg: #efeaff;
  --em-fg: #5b3fd6;
  --note-bg: #fff8e6;
  --note-line: rgba(161, 92, 0, 0.22);
  --note-tag: rgba(161, 92, 0, 0.4);
  --note-ink: #7a4300;
  --note-text: #5a3a07;
  --radius: 24px;
  --shadow: 0 30px 80px -30px rgba(17, 34, 85, 0.35), 0 8px 24px -12px rgba(17, 34, 85, 0.18);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font: "Inter", system-ui, -apple-system, sans-serif;
  --display: "Inter Tight", "Inter", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.6 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); letter-spacing: -0.03em; margin: 0; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 10px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--chip); color: #fff; padding: 8px 14px; border-radius: 10px; z-index: 100; }
.skip:focus { left: 16px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; border-radius: 999px; font: 600 15px/1 var(--font); text-decoration: none; border: 0; cursor: pointer; transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), background 0.3s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(0.98); }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn svg { width: 16px; height: 16px; fill: currentColor; }
.btn-blue { background: linear-gradient(180deg, #4b7fff, var(--blue-2)); color: #fff; box-shadow: 0 10px 30px -8px rgba(47, 107, 255, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.35); }
.btn-blue:hover { box-shadow: 0 16px 40px -10px rgba(47, 107, 255, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.35); }
.btn-dark { background: var(--chip); color: #fff; box-shadow: 0 10px 24px -10px rgba(11, 16, 32, 0.6); }
.btn-glass { background: var(--glass); color: var(--ink); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: inset 0 0 0 1px var(--glass-line), 0 8px 24px -12px rgba(17, 34, 85, 0.3); }
.btn-ghost { background: var(--soft); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.btn-white { background: #fff; color: var(--blue-2); box-shadow: 0 10px 24px -10px rgba(0, 0, 0, 0.35); }
.play { flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--ink); position: relative; }
.play::after { content: ""; position: absolute; left: 8px; top: 6px; border-left: 8px solid #fff; border-top: 5px solid transparent; border-bottom: 5px solid transparent; }

/* ---------- nav ---------- */
.nav { position: fixed; top: 14px; left: 50%; transform: translateX(-50%); z-index: 50; width: min(1120px, calc(100% - 32px)); display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 10px 10px 18px; border-radius: 999px; background: var(--nav); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); box-shadow: inset 0 0 0 1px var(--nav-line), 0 10px 30px -18px rgba(17, 34, 85, 0.4); transition: background 0.4s, box-shadow 0.4s, top 0.4s var(--ease); }
.nav.scrolled { background: var(--nav-solid); top: 10px; box-shadow: inset 0 0 0 1px var(--line), 0 14px 40px -20px rgba(17, 34, 85, 0.35); }
.brand { display: flex; align-items: center; gap: 9px; text-decoration: none; font: 700 19px var(--display); letter-spacing: -0.02em; }
.brand img { border-radius: 9px; }
.brand small { font: 500 12px var(--font); color: var(--muted); letter-spacing: 0; margin-left: 2px; }
.nav-links { display: flex; gap: 4px; }
.nav-links a { text-decoration: none; font-size: 14.5px; font-weight: 500; color: var(--ink-2); padding: 8px 14px; border-radius: 999px; transition: background 0.25s, color 0.25s; }
.nav-links a:hover { background: var(--nav-hover); color: var(--ink); }

/* ---------- sky + clouds ---------- */
.sky { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.cloud { position: absolute; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.55) 55%, rgba(255, 255, 255, 0)); filter: blur(6px); animation: drift linear infinite; }
.cloud::before, .cloud::after { content: ""; position: absolute; border-radius: 50%; background: inherit; }
.cloud::before { width: 70%; height: 90%; left: 15%; top: -40%; }
.cloud::after { width: 55%; height: 70%; left: 50%; top: -20%; }
.c1 { width: 520px; height: 170px; top: 14%; left: -8%; animation-duration: 90s; }
.c2 { width: 380px; height: 120px; top: 6%; left: 58%; animation-duration: 120s; opacity: 0.8; }
.c3 { width: 640px; height: 200px; top: 46%; left: 64%; animation-duration: 100s; }
.c4 { width: 300px; height: 100px; top: 34%; left: 18%; animation-duration: 140s; opacity: 0.7; }
.c5 { width: 760px; height: 230px; top: 64%; left: -14%; animation-duration: 110s; opacity: 0.9; }
@keyframes drift { from { transform: translateX(-6vw); } 50% { transform: translateX(6vw); } to { transform: translateX(-6vw); } }

/* ---------- hero ---------- */
.hero { position: relative; padding: 150px 16px 40px; background: linear-gradient(180deg, var(--sky-top) 0%, var(--sky-mid) 38%, var(--sky-low) 72%, var(--bg) 100%); overflow: hidden; perspective: 1600px; }
.hero-copy { position: relative; z-index: 2; max-width: 860px; margin: 0 auto; text-align: center; }
.hero h1 { font-size: clamp(42px, 7vw, 84px); line-height: 1.02; font-weight: 700; margin: 22px 0 20px; }
.grad { background: linear-gradient(100deg, #1846e0 10%, #6c5cff 55%, #2f6bff 90%); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer 8s ease-in-out infinite; }
@keyframes shimmer { 50% { background-position: 100% 0; } }
.lead { font-size: clamp(17px, 1.6vw, 19px); color: var(--ink-2); max-width: 640px; margin: 0 auto; }
.cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }
.meta { margin-top: 18px; font-size: 13.5px; color: var(--muted); }

/* the 3D Mac */
.stage { position: relative; z-index: 1; width: min(1040px, 100%); margin: 56px auto 0; transform-style: preserve-3d; }
.mac { --rx: 24deg; --ry: 0deg; position: relative; transform: rotateX(var(--rx)) rotateY(var(--ry)); transform-origin: 50% 100%; transform-style: preserve-3d; transition: transform 0.25s linear; will-change: transform; }
.screen { position: relative; aspect-ratio: 16 / 10; border-radius: 26px 26px 0 0; overflow: hidden; background: #0b0d14; border: 12px solid #0d0f16; border-bottom-width: 18px; box-shadow: 0 0 0 1px #2a2e3a, 0 60px 120px -40px rgba(10, 25, 70, 0.55); }
.wall { position: absolute; inset: 0; background: radial-gradient(120% 90% at 20% 110%, #ffb8d9 0%, transparent 50%), radial-gradient(110% 80% at 85% 100%, #9b8cff 0%, transparent 55%), linear-gradient(180deg, #3a6fd8 0%, #7aa6ef 45%, #c6d8f7 100%); }
.wall::after { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 40% at 50% 0%, rgba(0, 0, 0, 0.35), transparent 70%); }
.menubar { position: absolute; top: 0; left: 0; right: 0; height: 3.4%; min-height: 18px; display: flex; align-items: center; gap: 1.6%; padding: 0 1.6%; font-size: clamp(8px, 1vw, 12px); color: #fff; background: rgba(0, 0, 0, 0.18); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); z-index: 2; }
.menubar .apple { width: 0.9em; height: 0.9em; border-radius: 40% 40% 45% 45%; background: #fff; }
.menubar .right { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.menubar .right img { width: 1.25em; height: 1.25em; border-radius: 4px; }
.notch { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 17%; height: 4.2%; min-height: 20px; background: #000; border-radius: 0 0 14px 14px; z-index: 4; }
.island { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 64%; aspect-ratio: 1520 / 640; z-index: 3; }
.island img { position: absolute; top: 0; left: 0; width: 100%; opacity: 0; clip-path: inset(0 41% 100% 41% round 0 0 30px 30px); transition: clip-path 0.9s var(--ease), opacity 0.35s; }
.island img.narrow { width: 100%; }
.island img.on { opacity: 1; clip-path: inset(0 0 0 0 round 0 0 30px 30px); }
.dock { position: absolute; left: 50%; bottom: 2.5%; transform: translateX(-50%); display: flex; gap: 1.1vw; padding: 0.7% 1%; border-radius: 18px; background: rgba(255, 255, 255, 0.28); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.45); z-index: 2; }
.dock i { width: clamp(18px, 3.4vw, 46px); aspect-ratio: 1; border-radius: 24%; display: block; box-shadow: 0 6px 14px -6px rgba(0, 0, 0, 0.4); transition: transform 0.3s var(--ease); }
.dock i:hover { transform: translateY(-8px) scale(1.15); }
.d1 { background: linear-gradient(160deg, #6ee7ff, #2f6bff); } .d2 { background: linear-gradient(160deg, #fff, #dfe5ef); } .d3 { background: linear-gradient(160deg, #ffd36e, #ff8a3d); }
.d4 { background: linear-gradient(160deg, #a7f3d0, #10b981); } .d5 { background: linear-gradient(160deg, #c4b5fd, #7c3aed); } .d6 { overflow: hidden; } .d6 img { width: 100%; }
.hinge { height: 14px; margin: 0 -4%; border-radius: 0 0 18px 18px; background: linear-gradient(180deg, #d9dde6, #a9afbd 60%, #8a90a0); box-shadow: 0 30px 50px -20px rgba(10, 25, 70, 0.5); position: relative; }
.hinge::before { content: ""; position: absolute; left: 50%; top: 0; transform: translateX(-50%); width: 14%; height: 6px; border-radius: 0 0 8px 8px; background: #b9bfcb; }
.float { position: absolute; z-index: 5; width: 34%; filter: drop-shadow(0 30px 40px rgba(10, 25, 70, 0.35)); animation: bob 6s ease-in-out infinite; transition: translate 0.3s linear; pointer-events: none; }
.f1 { left: -9%; top: 30%; animation-delay: -1s; }
.f2 { right: -9%; top: 50%; width: 32%; animation-delay: -3s; }
.f3 { right: 2%; top: -10%; width: 15%; animation-duration: 5s; }
@keyframes bob { 50% { transform: translateY(-14px); } }

/* ---------- marquee ---------- */
.sources { padding: 26px 0 10px; text-align: center; }
.sources p { font-size: 13px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--muted); font-weight: 600; }
.marquee { overflow: hidden; margin-top: 16px; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.track { display: flex; gap: 14px; width: max-content; animation: marquee 40s linear infinite; }
.track span { padding: 10px 18px; border-radius: 999px; background: var(--soft); box-shadow: inset 0 0 0 1px var(--line); font-weight: 600; font-size: 15px; color: var(--ink-2); white-space: nowrap; }
.marquee:hover .track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-50% - 7px)); } }

/* ---------- sections ---------- */
.section { padding: 110px 16px; max-width: 1180px; margin: 0 auto; }
.head { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.eyebrow { display: inline-block; font-size: 13px; text-transform: uppercase; letter-spacing: 0.14em; font-weight: 600; color: var(--blue); margin-bottom: 14px; }
h2 { font-size: clamp(34px, 4.6vw, 56px); line-height: 1.05; font-weight: 700; }
.sub { color: var(--muted); font-size: 18px; margin-top: 18px; }

/* problem */
.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { position: relative; padding: 28px; border-radius: var(--radius); background: var(--soft); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; min-height: 330px; display: flex; flex-direction: column; transform-style: preserve-3d; }
.card h3 { font-size: 21px; margin: 18px 0 10px; }
.card p { color: var(--muted); font-size: 15px; }
.ic { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--blue); color: #fff; font-weight: 700; }
.card-blue { background: linear-gradient(160deg, #3d77ff 0%, #1846e0 70%); color: #fff; box-shadow: 0 30px 60px -30px rgba(24, 70, 224, 0.8); }
.card-blue p { color: rgba(255, 255, 255, 0.82); }
.card-blue .ic { background: #fff; color: var(--blue); }
.mini { margin-top: auto; padding-top: 26px; }
.tabs { display: flex; }
.tabs i { flex: 1; height: 34px; margin-left: -10px; border-radius: 10px 10px 0 0; background: var(--surface); box-shadow: 0 -2px 10px rgba(17, 34, 85, 0.08), inset 0 0 0 1px var(--line); animation: tabpop 3s var(--ease) infinite; }
.tabs i:first-child { margin-left: 0; }
.tabs i:nth-child(2) { animation-delay: 0.2s; } .tabs i:nth-child(3) { animation-delay: 0.4s; } .tabs i:nth-child(4) { animation-delay: 0.6s; } .tabs i:nth-child(5) { animation-delay: 0.8s; }
@keyframes tabpop { 0%, 60%, 100% { transform: translateY(0); } 30% { transform: translateY(-8px); } }
.timeline { position: relative; display: flex; justify-content: space-between; align-items: center; height: 60px; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; background: rgba(255, 255, 255, 0.35); }
.timeline i { position: relative; width: 12px; height: 12px; border-radius: 50%; background: rgba(255, 255, 255, 0.5); }
.timeline i.hit { width: 18px; height: 18px; background: #fff; box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.6); animation: ping 1.8s infinite; }
@keyframes ping { 70%, 100% { box-shadow: 0 0 0 14px rgba(255, 255, 255, 0); } }
.timeline b { position: absolute; left: 50%; top: -6px; transform: translate(-50%, -100%); background: #fff; color: var(--blue-2); font-size: 12px; padding: 4px 10px; border-radius: 999px; }
.levels { display: flex; gap: 6px; flex-wrap: wrap; }
.levels i { font-style: normal; font-size: 13px; font-weight: 600; padding: 7px 11px; border-radius: 10px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); color: var(--muted); animation: lv 5s infinite; }
.levels i.on { background: var(--chip); color: #fff; }
.levels i:nth-child(1) { animation-delay: 0s; } .levels i:nth-child(2) { animation-delay: 1s; } .levels i:nth-child(3) { animation-delay: 2s; } .levels i:nth-child(4) { animation-delay: 3s; } .levels i:nth-child(5) { animation-delay: 4s; }
@keyframes lv { 0%, 18% { background: var(--chip); color: #fff; } 20%, 100% { background: var(--surface); color: var(--muted); } }

/* features */
.feature { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 56px; align-items: center; padding: 44px 48px; margin-bottom: 7vh; border-radius: 36px; background: var(--surface); box-shadow: 0 0 0 1px var(--line), 0 -12px 50px -30px rgba(17, 34, 85, 0.22), 0 40px 80px -44px rgba(17, 34, 85, 0.32); transform-origin: 50% 0; }
.feature:last-child { margin-bottom: 0; }
/* Glowing border: a bright arc of light circles the card, with a soft blurred copy as the glow. It fades as the card gets buried. */
@property --ang { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.feature { position: relative; isolation: isolate; }
.feature::before, .feature::after { content: ""; position: absolute; inset: -1.5px; padding: 1.5px; border-radius: inherit; pointer-events: none;
  background: conic-gradient(from var(--ang), transparent 0 52%, rgba(122, 162, 255, 0.9) 68%, #b18cff 80%, #6ee7ff 91%, transparent 98%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  animation: ang 7s linear infinite; opacity: calc(1 - var(--p, 0) * 1.5); }
.feature::after { inset: -5px; padding: 6px; filter: blur(12px); opacity: calc(0.75 - var(--p, 0) * 1.5); }
@keyframes ang { to { --ang: 360deg; } }
.feature.flip { grid-template-columns: 1.2fr 0.8fr; }
.feature.flip .copy { order: 2; }
.copy h3 { font-size: clamp(28px, 3.2vw, 40px); line-height: 1.08; margin: 16px 0 16px; }
.copy p { color: var(--muted); font-size: 17px; }
.tag { display: inline-flex; align-items: center; gap: 10px; padding: 5px 13px 5px 5px; border-radius: 999px; font: 500 11.5px/1 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-2); box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.16); }
.tag b { font-weight: 600; letter-spacing: 0.04em; padding: 5px 8px; border-radius: 999px; background: var(--chip); color: #fff; }
.checks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 30px; font-weight: 500; color: var(--ink-2); }
.checks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat; }
.visual { position: relative; border-radius: 32px; padding: 7% 3% 12%; overflow: hidden; transform-style: preserve-3d; isolation: isolate; }
.visual::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--vbg); }
.visual img { position: relative; width: 100%; filter: drop-shadow(0 30px 40px rgba(10, 25, 70, 0.35)); transform: translateZ(30px); }
.visual .layer { position: absolute; width: 62%; right: -6%; bottom: -2%; transform: translateZ(80px); }
.visual .layer.kit { width: 30%; right: 6%; bottom: 4%; }
/* Entrance: the screenshot lifts in, then its alert card pops on top. */
.js .visual.reveal > img:first-child { transform: translateY(60px) translateZ(30px) scale(0.96); transition: transform 1.3s var(--ease) 0.1s; }
.js .visual.reveal.in > img:first-child { transform: translateZ(30px); }
.js .visual.reveal .layer { opacity: 0; transform: translate(40px, 40px) rotate(5deg) translateZ(80px); transition: opacity 0.8s var(--ease) 0.55s, transform 1.2s var(--ease) 0.55s; }
.js .visual.reveal.in .layer { opacity: 1; transform: translateZ(80px); }
/* Headings rise in word by word. */
.copy h3 .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.12em; margin-bottom: -0.12em; }
.copy h3 .w > span { display: inline-block; transform: translateY(110%); transition: transform 0.9s var(--ease); transition-delay: calc(var(--k) * 45ms + 0.1s);
  background: linear-gradient(100deg, var(--ink) 38%, #5b7bff 50%, var(--ink) 62%) 100% 0 / 260% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; }
.copy h3.in .w > span { transform: none; animation: sweep 1.5s var(--ease) calc(var(--k) * 70ms + 0.7s) both; }
@keyframes sweep { from { background-position: 100% 0; } to { background-position: 0 0; } }
/* Labels type themselves out, with a caret. */
.tag .t { display: inline-block; overflow: hidden; white-space: nowrap; vertical-align: bottom; width: 0; padding-right: 2px; border-right: 1.5px solid transparent; }
.tag.in .t { animation: type calc(var(--n) * 55ms) steps(var(--n), end) 0.35s forwards, caret 0.7s step-end 0.35s calc(var(--n) * 55ms / 700ms + 1) ; }
@keyframes type { to { width: calc(var(--n) * (1ch + 0.12em) + 2px); } }
@keyframes caret { 0%, 100% { border-color: var(--ink); } 50% { border-color: transparent; } }
/* Bullet points slide in one after another, each check popping. */
.js .checks li { opacity: 0; transform: translateX(-18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.js .checks.in li { opacity: 1; transform: none; }
.checks.in li:nth-child(1) { transition-delay: 0.5s; } .checks.in li:nth-child(2) { transition-delay: 0.65s; } .checks.in li:nth-child(3) { transition-delay: 0.8s; }
.js .checks li::before { transform: scale(0); transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1); }
.js .checks.in li::before { transform: scale(1); }
.checks.in li:nth-child(1)::before { transition-delay: 0.75s; } .checks.in li:nth-child(2)::before { transition-delay: 0.9s; } .checks.in li:nth-child(3)::before { transition-delay: 1.05s; }
/* Stacked cards: each feature pins near the top and the next slides over it (tall enough screens only). */
@media (min-width: 981px) and (min-height: 740px) {
  .features .feature { position: sticky; top: calc(92px + var(--i) * 14px); transform: scale(calc(1 - var(--p, 0) * 0.06)); filter: brightness(calc(1 - var(--p, 0) * 0.12)); }
}
.visual img.big { width: 126%; max-width: none; margin: 4% -13% 0; }
.v-blue { --vbg: radial-gradient(80% 70% at 30% 20%, #cfe2ff, transparent 70%), linear-gradient(160deg, #e9f1ff, #b9d2ff); }
.v-gold { --vbg: radial-gradient(70% 60% at 88% 0%, rgba(240, 185, 11, 0.4), transparent 65%), radial-gradient(60% 50% at 0% 100%, rgba(240, 185, 11, 0.14), transparent 70%), linear-gradient(160deg, #1d1e25, #0c0d12); }
.v-ink { --vbg: radial-gradient(80% 70% at 30% 20%, #3b4359, transparent 70%), linear-gradient(160deg, #1b2030, #0b0e17); }
.v-sky { --vbg: radial-gradient(80% 70% at 70% 20%, #d4efff, transparent 70%), linear-gradient(160deg, #eaf7ff, #a9dcff); }
.v-violet { --vbg: radial-gradient(80% 70% at 30% 20%, #e7dcff, transparent 70%), linear-gradient(160deg, #f3eeff, #c9b8ff); }

/* X mock card */
.xcard { position: relative; transform: translateZ(40px); background: #0f1320; border-radius: 22px; padding: 22px; color: #e8ecf5; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), 0 30px 60px -20px rgba(0, 0, 0, 0.6); }
.xhead { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.xhead b { font: 700 18px var(--display); }
.xhead span { font-size: 13px; color: #8a93a8; }
.xrow { display: flex; justify-content: space-between; align-items: center; padding: 13px 14px; border-radius: 14px; background: rgba(255, 255, 255, 0.05); margin-bottom: 8px; font-size: 15px; }
.handles { display: flex; gap: 6px; }
.handles i { font-style: normal; font-size: 13px; padding: 4px 10px; border-radius: 999px; background: rgba(47, 107, 255, 0.2); color: #9db8ff; }
.switch { width: 44px; height: 26px; border-radius: 999px; background: #3a4155; position: relative; transition: background 0.4s; }
.switch i { position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform 0.4s var(--ease); }
.switch.on { background: #34c759; }
.switch.on i { transform: translateX(18px); }
.xfeed { display: grid; gap: 8px; margin-top: 14px; }
.xfeed div { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, 0.04); font-size: 14px; opacity: 0; transform: translateY(10px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.xfeed div b { font-size: 12px; padding: 3px 8px; border-radius: 999px; background: rgba(255, 255, 255, 0.1); color: #c8cfdd; font-weight: 600; }
.xfeed div span { color: #dfe4ee; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.xfeed div em { font-style: normal; color: #7c859a; font-size: 12px; }
.xfeed.on div { opacity: 1; transform: none; }
.xfeed.on div:nth-child(2) { transition-delay: 0.15s; } .xfeed.on div:nth-child(3) { transition-delay: 0.3s; }
.xnote { font-size: 11px; color: #6f788c; margin-top: 12px; text-align: right; }

/* kittens */
.kittens { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.kittens figure { margin: 0; padding: 14px 8px 12px; border-radius: 22px; background: var(--fig); box-shadow: inset 0 0 0 1px var(--line); text-align: center; transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease); }
.kittens figure:hover { transform: translateY(-8px) rotate(-2deg); box-shadow: inset 0 0 0 1px var(--line), 0 24px 40px -20px rgba(91, 63, 214, 0.45); }
.kittens figure { overflow: hidden; }
.kittens img { width: 130%; max-width: none; margin: -12% -15% -8%; animation: bob 5s ease-in-out infinite; }
.kittens figure:nth-child(2n) img { animation-delay: -1.3s; } .kittens figure:nth-child(3n) img { animation-delay: -2.6s; }
.kittens figcaption { font-size: 13px; font-weight: 600; color: var(--muted); }


/* simulator */
.sim { position: relative; border-radius: 22px; overflow: hidden; background: #0b0c10; box-shadow: var(--shadow), 0 0 0 1px rgba(15, 23, 42, 0.12); }
.sim-bar { display: flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px; background: #1b1c22; color: #8b90a0; font-size: 12.5px; }
.sim-bar i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; } .sim-bar i:nth-child(2) { background: #febc2e; } .sim-bar i:nth-child(3) { background: #28c840; }
.sim-bar span { margin: 0 auto; transform: translateX(-24px); }
.sim iframe { display: block; width: 100%; aspect-ratio: 16 / 9.4; border: 0; background: radial-gradient(70% 60% at 50% 10%, #1e2860, transparent 75%), linear-gradient(160deg, #141a3a, #2a1840 55%, #3d1d2c); }
.sim-start { position: absolute; left: 50%; top: 55%; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 10px; padding: 16px 26px; border-radius: 999px; border: 0; background: #fff; color: #0b1020; font: 600 16px var(--font); white-space: nowrap; cursor: pointer; box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.6); transition: transform 0.4s var(--ease), opacity 0.4s; }
.sim-start:hover { transform: translate(-50%, -50%) scale(1.05); }
.sim.live .sim-start { opacity: 0; pointer-events: none; }
.sim-tips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 22px; font-size: 14px; color: var(--muted); }
.sim-tips span { padding: 7px 13px; border-radius: 999px; background: var(--soft); box-shadow: inset 0 0 0 1px var(--line); }

/* film */
.player { position: relative; border-radius: 30px; overflow: hidden; background: #0b0d14; box-shadow: var(--shadow); aspect-ratio: 16 / 9; transform: perspective(1400px) rotateX(var(--frx, 10deg)) scale(var(--fs, 0.94)); transition: transform 0.2s linear; }
.player video { width: 100%; height: 100%; object-fit: cover; display: block; }
.sound { position: absolute; right: 18px; bottom: 18px; padding: 10px 16px; border-radius: 999px; border: 0; background: rgba(255, 255, 255, 0.85); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font: 600 13.5px var(--font); color: #0b1020; cursor: pointer; }
.sound .onn { display: none; }
.sound[aria-pressed="true"] .onn { display: inline; }
.sound[aria-pressed="true"] .off { display: none; }
.bigplay { position: absolute; inset: 0; margin: auto; width: 92px; height: 92px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, 0.9); box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.5); cursor: pointer; transition: transform 0.4s var(--ease), opacity 0.4s; }
.bigplay span { position: absolute; left: 37px; top: 30px; border-left: 26px solid var(--blue-2); border-top: 16px solid transparent; border-bottom: 16px solid transparent; }
.bigplay:hover { transform: scale(1.08); }
.player.playing .bigplay { opacity: 0; pointer-events: none; transform: scale(0.8); }


/* orbit */
@property --spin { syntax: "<angle>"; inherits: true; initial-value: 0deg; }
.orbit-sec { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; overflow-x: clip; }
.orbit-copy .sub { margin-bottom: 28px; }
.orbit { position: relative; height: 560px; perspective: 1200px; }
.plane { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateX(62deg); }
.ring { position: absolute; left: 50%; top: 50%; width: calc(var(--r) * 2); height: calc(var(--r) * 2); margin: calc(var(--r) * -1) 0 0 calc(var(--r) * -1); border-radius: 50%; border: 1.5px dashed rgba(47, 107, 255, 0.35); transform-style: preserve-3d; transform: rotate(var(--spin)); animation: spin var(--dur) linear infinite; }
.r2 { animation-direction: reverse; }
@keyframes spin { to { --spin: 360deg; } }
.node { position: absolute; left: 50%; top: 50%; transform-style: preserve-3d; transform: rotate(var(--a)) translateX(var(--r)); }
.face { display: block; transform-style: preserve-3d; transform: rotate(calc(-1 * (var(--spin) + var(--a)))) rotateX(-62deg); }
.face i { display: block; transform: translate(-50%, -100%); font: 600 14px var(--font); font-style: normal; white-space: nowrap; padding: 9px 14px; border-radius: 999px; background: var(--surface); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line), 0 14px 30px -14px rgba(17, 34, 85, 0.45); }
.coin { position: absolute; left: 50%; top: 50%; width: 130px; height: 130px; margin: -65px 0 0 -65px; transform-style: preserve-3d; animation: flip 9s ease-in-out infinite; }
.coin span { position: absolute; inset: 0; border-radius: 34px; backface-visibility: hidden; -webkit-backface-visibility: hidden; display: grid; place-items: center; background: var(--coin); box-shadow: 0 30px 60px -20px rgba(24, 70, 224, 0.55), inset 0 0 0 1px rgba(255, 255, 255, 0.9); }
.coin .front img { width: 100%; border-radius: 34px; }
.coin .back { transform: rotateY(180deg); }
.coin .back img { width: 92%; }
@keyframes flip { 0%, 40% { transform: rotateY(0) translateY(0); } 50%, 90% { transform: rotateY(180deg) translateY(-8px); } 100% { transform: rotateY(360deg); } }
.orbit::after { content: ""; position: absolute; left: 50%; top: 50%; width: 420px; height: 420px; margin: -210px 0 0 -210px; border-radius: 50%; background: radial-gradient(closest-side, rgba(47, 107, 255, 0.18), transparent); z-index: -1; }

/* pricing */
.toggle { display: inline-flex; margin-top: 28px; padding: 5px; border-radius: 999px; background: var(--soft); box-shadow: inset 0 0 0 1px var(--line); }
.toggle button { border: 0; background: transparent; padding: 10px 20px; border-radius: 999px; font: 600 14px var(--font); color: var(--muted); cursor: pointer; transition: background 0.35s var(--ease), color 0.35s; }
.toggle button em { font-style: normal; font-size: 12px; color: #16a34a; margin-left: 4px; }
.toggle button.on { background: var(--surface); color: var(--ink); box-shadow: 0 6px 16px -8px rgba(17, 34, 85, 0.35); }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { position: relative; padding: 30px; border-radius: 28px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line), 0 20px 50px -30px rgba(17, 34, 85, 0.3); display: flex; flex-direction: column; transform-style: preserve-3d; }
.plan h3 { font-size: 22px; }
.desc { color: var(--muted); font-size: 15px; margin-top: 6px; }
.price { display: flex; align-items: baseline; gap: 8px; margin: 22px 0; }
.price b { font: 700 52px/1 var(--display); letter-spacing: -0.04em; display: inline-block; transition: transform 0.4s var(--ease), opacity 0.4s; }
.price b.swap { transform: translateY(-10px); opacity: 0; }
.price span { color: var(--muted); font-size: 15px; }
.plan .btn { justify-content: center; }
.plan .btn + .btn { margin-top: 10px; }
/* Checkout isn't open yet: the buy button shows but can't be pressed. */
.btn-soon { background: rgba(255, 255, 255, 0.14); color: rgba(255, 255, 255, 0.88); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.32); cursor: not-allowed; }
.btn-soon:hover, .btn-soon:active { transform: none; }
.btn-soon em { font-style: normal; font-size: 11.5px; font-weight: 600; padding: 3px 8px; border-radius: 999px; background: rgba(255, 255, 255, 0.24); color: #fff; }
.plan ul { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 11px; font-size: 15px; }
.plan li { position: relative; padding-left: 26px; }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--blue); font-weight: 700; }
.plan li em { font-style: normal; font-size: 11.5px; font-weight: 600; padding: 2px 7px; border-radius: 999px; background: var(--em-bg); color: var(--em-fg); margin-left: 4px; }
.plan-pro { background: linear-gradient(165deg, #4b80ff 0%, #1846e0 60%, #3a2fc9 100%); color: #fff; box-shadow: 0 40px 80px -30px rgba(24, 70, 224, 0.8); transform: translateY(-14px); }
.plan-pro .desc, .plan-pro .price span { color: rgba(255, 255, 255, 0.8); }
.plan-pro li::before { color: #fff; }
.plan-pro li em { background: rgba(255, 255, 255, 0.2); color: #fff; }
.popular { position: absolute; top: 22px; right: 22px; font-size: 12px; font-weight: 600; padding: 6px 11px; border-radius: 999px; background: rgba(255, 255, 255, 0.2); }
.paygrid { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.paygrid span { padding: 9px 13px; border-radius: 12px; background: var(--soft); box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; font-weight: 600; }
.fine { color: var(--muted); font-size: 13.5px; margin-top: auto; padding-top: 22px; }
.note { text-align: center; margin-top: 36px; color: var(--muted); font-size: 14.5px; }

/* faq */
.faq { position: relative; isolation: isolate; display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 64px; align-items: start; }
.faq::before { content: ""; position: absolute; z-index: -1; right: -6%; top: 8%; width: 62%; height: 80%; background: radial-gradient(closest-side, rgba(47, 107, 255, 0.16), rgba(141, 123, 255, 0.08) 55%, transparent); filter: blur(30px); pointer-events: none; }
.faq-head { position: sticky; top: 110px; }
.faq-head .eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--ink-2); font-size: 14px; letter-spacing: 0.04em; text-transform: none; font-weight: 500; }
.faq-head .eyebrow::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 4px rgba(47, 107, 255, 0.18); }
.faq-help { margin-top: 34px; padding: 30px; border-radius: 26px; background: color-mix(in srgb, var(--surface) 78%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: inset 0 0 0 1px var(--line), 0 24px 60px -34px rgba(17, 34, 85, 0.35); }
.faq-avatar { display: grid; place-items: center; width: 72px; height: 72px; margin-bottom: 22px; border-radius: 50%; background: radial-gradient(closest-side, #dfe9ff, #b9ccff); box-shadow: 0 14px 30px -10px rgba(47, 107, 255, 0.45); overflow: hidden; }
.faq-avatar img { width: 62px; height: 62px; }
.faq-help h3 { font-size: 30px; margin-bottom: 8px; }
.faq-help p { color: var(--muted); font-size: 15px; max-width: 34ch; }
.faq-help .btn { display: flex; justify-content: center; margin-top: 26px; width: 100%; }
.qa { display: grid; gap: 12px; }
.qa details { border-radius: 20px; background: color-mix(in srgb, var(--surface) 78%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: inset 0 0 0 1px var(--line), 0 12px 32px -26px rgba(17, 34, 85, 0.4); transition: box-shadow 0.4s var(--ease), transform 0.4s var(--ease); }
.qa details:hover { box-shadow: inset 0 0 0 1px rgba(47, 107, 255, 0.28), 0 14px 36px -24px rgba(24, 70, 224, 0.45); }
.qa details[open] { box-shadow: inset 0 0 0 1px rgba(47, 107, 255, 0.3), 0 20px 48px -28px rgba(24, 70, 224, 0.5); }
.qa summary { list-style: none; cursor: pointer; padding: 20px 60px 20px 26px; font-weight: 500; font-size: 17px; letter-spacing: -0.01em; position: relative; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; position: absolute; right: 26px; top: 50%; margin-top: -12px; width: 24px; height: 24px; display: grid; place-items: center; color: var(--ink); font: 300 26px/1 var(--font); transition: transform 0.45s var(--ease); }
.qa details[open] summary::after { transform: rotate(135deg); }
.qa details p { padding: 0 60px 24px 26px; color: var(--muted); font-size: 15px; line-height: 1.7; }
.qa details[open] p { animation: open 0.5s var(--ease); }
@keyframes open { from { opacity: 0; transform: translateY(-6px); } }

/* final */
.final { position: relative; overflow: hidden; text-align: center; padding: 130px 16px 120px; margin: 40px 16px 0; border-radius: 40px; background: var(--final); }
.final > *:not(.sky) { position: relative; z-index: 1; }
.final h2 { max-width: 720px; margin: 0 auto 16px; }
.final > p { color: var(--ink-2); font-size: 18px; margin-bottom: 30px; }
.final-kit { width: 150px; margin: 0 auto 10px; animation: bob 5s ease-in-out infinite; }

/* footer */
.foot { max-width: 1180px; margin: 0 auto; padding: 48px 16px 40px; }
.foot-top { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding-bottom: 24px; border-bottom: 1px solid var(--line); margin-bottom: 20px; }
.foot nav { display: flex; gap: 22px; flex-wrap: wrap; }
.foot nav a { text-decoration: none; color: var(--muted); font-size: 14.5px; font-weight: 500; }
.foot nav a:hover { color: var(--ink); }
.legal { font-size: 13px; color: var(--muted); max-width: 760px; margin-bottom: 8px; }

/* ---------- reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); filter: blur(6px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease), filter 0.9s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; filter: none; }
[data-tilt] { transition: transform 0.5s var(--ease); }

/* ---------- install ---------- */
.copy p b { color: var(--ink); font-weight: 600; }
.copy .btn { margin-top: 26px; }
.copy code, .tc code, .qa code { font: 500 0.88em var(--mono); padding: 2px 6px; border-radius: 6px; background: var(--code-bg); color: var(--ink); overflow-wrap: anywhere; }
.visual.iv { display: grid; align-content: center; justify-items: center; gap: 18px; padding: 9% 5%; min-height: 330px; }
.visual.iv .shot { position: relative; width: min(100%, 330px); transform: translateZ(30px); }
.visual.iv .shot.wide { width: min(100%, 430px); }
.visual.iv .shot img { width: 100%; border-radius: 20px; filter: drop-shadow(0 24px 34px rgba(10, 25, 70, 0.45)); transform: none; }
.visual.iv .shot.wide img { border-radius: 14px; }
.js .visual.iv .shot img { opacity: 0; transform: translateY(40px) scale(0.96); transition: opacity 0.8s var(--ease) 0.1s, transform 1.1s var(--ease) 0.1s; }
.js .visual.iv.in .shot img { opacity: 1; transform: none; }

/* the red marks that point at what to click */
.mark { position: absolute; left: var(--x); top: var(--y); width: var(--w); height: var(--h); translate: -50% -50%; border: 2.5px solid #ff453a; border-radius: 12px; pointer-events: none; box-shadow: 0 0 0 4px rgba(255, 69, 58, 0.22); }
.mark::before { content: ""; position: absolute; inset: -2.5px; border-radius: inherit; border: 2.5px solid #ff453a; animation: markpulse 1.8s ease-out infinite; }
.mark em { position: absolute; right: -4px; top: calc(100% + 10px); font: 600 10.5px/1 var(--mono); font-style: normal; letter-spacing: 0.1em; text-transform: uppercase; white-space: nowrap; padding: 6px 9px; border-radius: 999px; background: #ff453a; color: #fff; box-shadow: 0 8px 18px -6px rgba(255, 69, 58, 0.7); }
@keyframes markpulse { from { opacity: 0.9; transform: scale(1); } to { opacity: 0; transform: scale(1.45); } }
.js .visual .mark { opacity: 0; scale: 1.7; transition: opacity 0.6s var(--ease) 1.1s, scale 0.9s cubic-bezier(0.34, 1.56, 0.64, 1) 1.1s; }
.js .visual.in .mark { opacity: 1; scale: 1; }

.crumbs { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px; transform: translateZ(30px); }
.crumbs span { font: 500 11.5px var(--mono); letter-spacing: 0.04em; padding: 7px 11px; border-radius: 999px; background: rgba(255, 255, 255, 0.1); color: #dfe4ee; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16); }
.crumbs span:last-child { background: #fff; color: #0b1020; }
.crumbs i { font-style: normal; color: #8a93a8; }

/* step 1: a download that fills */
.dl { width: min(100%, 330px); background: var(--surface); border-radius: 22px; padding: 18px; display: grid; gap: 14px; box-shadow: var(--shadow); transform: translateZ(30px); }
.dl-row { display: flex; align-items: center; gap: 12px; }
.visual .dl-row img { width: 46px; height: 46px; border-radius: 12px; filter: none; transform: none; }
.dl-row b { display: block; font-size: 15px; }
.dl-row span { font-size: 12.5px; color: var(--muted); }
.dl-bar { height: 7px; border-radius: 4px; background: var(--bar); overflow: hidden; }
.dl-bar i { display: block; height: 100%; width: 0; border-radius: 4px; background: linear-gradient(90deg, var(--blue), var(--lilac)); animation: dlfill 3.6s var(--ease) infinite; }
.dl-state { font: 500 12px var(--mono); color: var(--muted); }
.dl-state::after { content: "Downloading…"; animation: dlstate 3.6s steps(1) infinite; }
@keyframes dlfill { 0% { width: 0; } 65%, 100% { width: 100%; } }
@keyframes dlstate { 0% { content: "Downloading…"; } 66%, 100% { content: "Downloaded ✓"; color: #16a34a; } }

/* step 2: drag the icon onto Applications */
.dmg { container-type: inline-size; width: min(100%, 420px); background: #1d1e26; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); transform: translateZ(30px); }
.dmg-bar { display: flex; align-items: center; gap: 7px; padding: 11px 13px; background: #2a2b34; color: #8b90a0; font-size: 12.5px; }
.dmg-bar i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; } .dmg-bar i:nth-child(2) { background: #febc2e; } .dmg-bar i:nth-child(3) { background: #28c840; }
.dmg-bar span { margin: 0 auto; transform: translateX(-22px); }
.dmg-body { display: grid; grid-template-columns: 1fr 1fr; padding: 42px 0 30px; }
.dmg-item { position: relative; display: grid; justify-items: center; gap: 9px; color: #e8ecf5; font-size: 12.5px; }
.visual .dmg-item .drag { width: 76px; border-radius: 18px; filter: none; transform: none; animation: drag 4.2s var(--ease) infinite; position: relative; z-index: 2; }
.folder { position: relative; width: 84px; height: 66px; margin-top: 8px; border-radius: 9px; background: linear-gradient(180deg, #7cc4ff, #3b8df0); box-shadow: 0 10px 20px -8px rgba(59, 141, 240, 0.7); }
.folder::before { content: ""; position: absolute; left: 0; top: -9px; width: 34px; height: 12px; border-radius: 6px 6px 0 0; background: #7cc4ff; }
.cursor { position: absolute; left: 54%; top: 56%; width: 24px; height: 24px; z-index: 3; animation: curs 4.2s var(--ease) infinite; filter: drop-shadow(0 3px 4px rgba(0, 0, 0, 0.5)); }
@keyframes drag { 0%, 18% { transform: translateX(0) scale(1); opacity: 1; } 55% { transform: translateX(50cqw) scale(0.92); opacity: 1; } 68% { transform: translateX(50cqw) scale(0.45); opacity: 0; } 69%, 88% { transform: translateX(0) scale(1); opacity: 0; } 100% { transform: translateX(0) scale(1); opacity: 1; } }
@keyframes curs { 0%, 18% { transform: translate(0, 0); opacity: 1; } 55% { transform: translate(50cqw, 0); opacity: 1; } 68% { transform: translate(50cqw, 0); opacity: 0; } 69%, 88% { transform: translate(0, 0); opacity: 0; } 100% { transform: translate(0, 0); opacity: 1; } }

/* step 5: CoCo appears in the notch */
.mini { container-type: inline-size; position: relative; width: min(100%, 440px); aspect-ratio: 16 / 10; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); transform: translateZ(30px); }
.mini .wall::after { display: none; }
.mini-bar { position: absolute; top: 0; left: 0; right: 0; height: 7%; display: flex; align-items: center; gap: 3%; padding: 0 3%; font-size: clamp(7px, 1.5cqw, 11px); color: #fff; background: rgba(0, 0, 0, 0.2); }
.mini-bar .sp { flex: 1; }
.visual .mini-bar img { width: 1.7em; height: 1.7em; border-radius: 4px; filter: none; transform: none; }
.mini-notch { position: absolute; top: 0; left: 50%; translate: -50% 0; width: 17%; height: 7%; background: #000; border-radius: 0 0 8px 8px; }
.visual .mini-island { position: absolute; top: 0; left: 50%; translate: -50% 0; width: 74%; filter: none; transform: none; clip-path: inset(0 41% 100% 41% round 0 0 20px 20px); animation: island 5s var(--ease) infinite; }
@keyframes island { 0%, 14% { clip-path: inset(0 41% 100% 41% round 0 0 20px 20px); } 34%, 82% { clip-path: inset(0 0 0 0 round 0 0 20px 20px); } 98%, 100% { clip-path: inset(0 41% 100% 41% round 0 0 20px 20px); } }

/* trust */
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tc { padding: 26px; border-radius: var(--radius); background: var(--soft); box-shadow: inset 0 0 0 1px var(--line); transform-style: preserve-3d; }
.tc .ok { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #16a34a; color: #fff; font: 700 15px var(--font); font-style: normal; margin-bottom: 16px; box-shadow: 0 10px 20px -8px rgba(22, 163, 74, 0.6); }
.tc h4 { font-size: 18px; margin-bottom: 8px; }
.tc p { color: var(--muted); font-size: 15px; }
.verify { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 36px; align-items: center; margin-top: 18px; padding: 34px; border-radius: 28px; background: var(--panel); color: #fff; box-shadow: var(--shadow); }
.verify h3 { font-size: 26px; margin-bottom: 10px; }
.verify p { color: rgba(255, 255, 255, 0.72); font-size: 15.5px; }
.verify .vnote { margin-top: 12px; font: 500 12px var(--mono); color: rgba(255, 255, 255, 0.5); }
.codebox { min-width: 0; border-radius: 16px; background: #0b0e17; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1); overflow: hidden; }
.codebox .cl { display: flex; align-items: center; gap: 10px; padding: 14px 14px 14px 16px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.codebox code { font: 500 13.5px var(--mono); color: #dbe4ff; background: none; padding: 0; }
.codebox .prompt { color: #5ee0a0; font: 600 13.5px var(--mono); }
.codebox button { margin-left: auto; border: 0; padding: 7px 12px; border-radius: 8px; background: rgba(255, 255, 255, 0.12); color: #fff; font: 600 12px var(--font); cursor: pointer; transition: background 0.3s; }
.codebox button:hover { background: rgba(255, 255, 255, 0.22); }
.codebox .hash { padding: 16px; }
.codebox .hash code { display: block; color: #9db8ff; word-break: break-all; line-height: 1.7; }
.straight { display: flex; gap: 18px; align-items: flex-start; margin-top: 18px; padding: 24px 28px; border-radius: 22px; background: var(--note-bg); box-shadow: inset 0 0 0 1px var(--note-line); }
.straight .tag { flex: none; box-shadow: inset 0 0 0 1px var(--note-tag); color: var(--note-ink); }
.straight .tag b { background: #b45309; }
.straight p { color: var(--note-text); font-size: 15.5px; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .nav-links { display: none; }
  .feature, .feature.flip { grid-template-columns: 1fr; gap: 32px; padding: 28px 22px; margin-bottom: 28px; border-radius: 28px; }
  .feature.flip .copy { order: 0; }
  .cards3, .plans { grid-template-columns: 1fr; }
  .plan-pro { transform: none; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .verify { grid-template-columns: 1fr; gap: 24px; }
  .orbit-sec, .faq { grid-template-columns: 1fr; }
  .faq-head { position: static; }
  .orbit-copy { text-align: center; }
}
@media (max-width: 640px) {
  .hero { padding-top: 120px; }
  .brand small { display: none; }
  .section { padding: 80px 16px; }
  .float { width: 52%; }
  .f1 { left: -4%; top: auto; bottom: -18%; }
  .f2 { display: none; }
  .f3 { width: 22%; top: -16%; }
  .stage { margin-bottom: 70px; }
  .screen { border-width: 6px; border-bottom-width: 10px; border-radius: 14px 14px 0 0; }
  .trust-grid { grid-template-columns: 1fr; }
  .verify { padding: 24px; }
  .straight { flex-direction: column; gap: 12px; padding: 22px; }
  .visual.iv { min-height: 0; padding: 12% 5%; }
  .kittens { grid-template-columns: repeat(2, 1fr); }
  .sim iframe, .sim-tips span { display: none; }
  .sim { min-height: 220px; }
  .orbit { height: 400px; transform: scale(0.6); margin: -60px 0 -110px; }
  .final { margin: 20px 10px 0; padding: 100px 16px 90px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; filter: none; }
  .mac { --rx: 0deg !important; }
  .island img { clip-path: none; }
}

/* ---------- theme toggle ---------- */
.theme { width: 38px; height: 38px; margin-left: auto; margin-right: 6px; border-radius: 50%; border: 0; display: grid; place-items: center; background: transparent; color: var(--ink-2); cursor: pointer; transition: background 0.25s, transform 0.4s var(--ease); }
.theme:hover { background: var(--nav-hover); transform: rotate(18deg); }
.theme svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.theme .moon, :root[data-theme="dark"] .theme .sun { display: none; }
:root[data-theme="dark"] .theme .moon { display: block; }
.nav-links + .theme { margin-left: 0; }

/* ---------- dark ---------- */
:root[data-theme="dark"] {
  color-scheme: dark;
  --ink: #eef1f8;
  --ink-2: #c3cada;
  --muted: #98a1b5;
  --line: rgba(255, 255, 255, 0.09);
  --bg: #090c15;
  --soft: #121726;
  --surface: #121726;
  --chip: #2b3350;
  --panel: #0e1424;
  --blue: #5b8bff;
  --sky-top: #101c44;
  --sky-mid: #0d1737;
  --sky-low: #0a1024;
  --shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.8), 0 8px 24px -12px rgba(0, 0, 0, 0.6);
  --glass: rgba(255, 255, 255, 0.08);
  --glass-line: rgba(255, 255, 255, 0.16);
  --nav: rgba(18, 23, 38, 0.5);
  --nav-line: rgba(255, 255, 255, 0.1);
  --nav-solid: rgba(14, 19, 32, 0.85);
  --nav-hover: rgba(255, 255, 255, 0.1);
  --bar: #262e46;
  --code-bg: rgba(255, 255, 255, 0.09);
  --fig: linear-gradient(180deg, #1a1f38, #121726);
  --coin: linear-gradient(160deg, #2a3358, #151b30);
  --final: linear-gradient(180deg, #14224f 0%, #0f1a3d 55%, #0b132c 100%);
  --em-bg: rgba(141, 123, 255, 0.2);
  --em-fg: #b9acff;
  --note-bg: rgba(240, 185, 11, 0.08);
  --note-line: rgba(240, 185, 11, 0.28);
  --note-tag: rgba(240, 185, 11, 0.45);
  --note-ink: #f5c451;
  --note-text: #e8cf94;
}
:root[data-theme="dark"] .cloud { opacity: 0.1; }
:root[data-theme="dark"] .grad { background-image: linear-gradient(100deg, #7aa2ff 10%, #b49bff 55%, #6ee7ff 90%); }
:root[data-theme="dark"] .feature { box-shadow: 0 0 0 1px var(--line), 0 -12px 50px -30px rgba(0, 0, 0, 0.6), 0 40px 80px -44px rgba(0, 0, 0, 0.7); }
:root[data-theme="dark"] .plan { box-shadow: inset 0 0 0 1px var(--line), 0 20px 50px -30px rgba(0, 0, 0, 0.7); }
:root[data-theme="dark"] .v-blue { --vbg: radial-gradient(80% 70% at 30% 20%, #243a78, transparent 70%), linear-gradient(160deg, #141f45, #0b1226); }
:root[data-theme="dark"] .v-sky { --vbg: radial-gradient(80% 70% at 70% 20%, #1f4a6b, transparent 70%), linear-gradient(160deg, #0f2335, #0a1626); }
:root[data-theme="dark"] .v-violet { --vbg: radial-gradient(80% 70% at 30% 20%, #3b2a78, transparent 70%), linear-gradient(160deg, #1a1436, #0e0b22); }
:root[data-theme="dark"] .tag { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16); }
:root[data-theme="dark"] .faq::before { background: radial-gradient(closest-side, rgba(91, 139, 255, 0.2), rgba(141, 123, 255, 0.1) 55%, transparent); }
:root[data-theme="dark"] .faq-help, :root[data-theme="dark"] .qa details { box-shadow: inset 0 0 0 1px var(--line), 0 20px 50px -30px rgba(0, 0, 0, 0.8); }
:root[data-theme="dark"] .faq-avatar { background: radial-gradient(closest-side, #2a3a78, #18214a); }
