:root {
  color-scheme: dark;
  --bg: #0b1110;
  --raised: #141c1a;
  --slice: #232a28;
  --line: rgba(226, 236, 232, 0.1);
  --text: #e6ece9;
  --muted: #9fb0aa;
  --accent: #85d6c3;
  --accent-deep: #2f9e86;
  --on-accent: #00382e;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --gutter: clamp(16px, 5vw, 64px);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.55 ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans", "Noto Sans Devanagari", sans-serif;
  overflow-x: clip;
}
a { color: var(--accent); text-underline-offset: 3px; }
a:focus-visible, summary:focus-visible, .button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
kbd {
  font: inherit; font-size: .85em; padding: .05em .5em;
  border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 6px; background: var(--raised);
}
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 var(--gutter); }
.eyebrow { margin: 0 0 14px; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
h2 { margin: 0 0 28px; font-size: clamp(30px, 4.6vw, 56px); line-height: 1.06; letter-spacing: -.025em; font-weight: 680; }
h3 { margin: 0; font-size: 19px; line-height: 1.3; font-weight: 620; }

/* Page-wide pieces */
.progress { position: fixed; inset: 0 0 auto; height: 2px; z-index: 20; pointer-events: none; }
.progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--accent-deep), var(--accent)); transform-origin: left; transform: scaleX(0); }
.ambient { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.ambient span { position: absolute; width: 60vmax; height: 60vmax; border-radius: 50%; filter: blur(80px); opacity: .32; animation: drift 28s ease-in-out infinite alternate; }
.ambient span:nth-child(1) { background: radial-gradient(circle, #1f6e5e, transparent 65%); top: -25vmax; left: -15vmax; }
.ambient span:nth-child(2) { background: radial-gradient(circle, #194a5e, transparent 65%); bottom: -30vmax; right: -20vmax; animation-duration: 34s; }
.ambient span:nth-child(3) { background: radial-gradient(circle, #3c6b2f, transparent 65%); top: 30vh; left: 40vw; width: 40vmax; height: 40vmax; opacity: .16; animation-duration: 40s; }
@keyframes drift { to { transform: translate(8vmax, 6vmax) scale(1.1); } }

.bar { position: fixed; inset: 0 0 auto; z-index: 10; background: rgba(11, 17, 16, .62); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); border-bottom: 1px solid var(--line); }
.bar .wrap { display: flex; align-items: center; gap: 20px; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 650; text-decoration: none; }
.brand img { border-radius: 7px; }
.bar nav { margin-left: auto; display: flex; align-items: center; gap: 24px; }
.bar nav a { color: var(--muted); text-decoration: none; font-size: 15px; transition: color .2s; }
.bar nav a:hover { color: var(--text); }
.bar nav a.pill { color: var(--on-accent); background: var(--accent); padding: 7px 16px; border-radius: 999px; font-weight: 650; }

.button {
  display: inline-block; padding: 14px 28px; border-radius: 999px; background: var(--accent); color: var(--on-accent);
  font-weight: 680; text-decoration: none; text-align: center; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s;
  box-shadow: 0 10px 40px -12px rgba(133, 214, 195, .55);
}
.button:hover { background: #a4e8d8; transform: translateY(-2px); box-shadow: 0 16px 50px -12px rgba(133, 214, 195, .7); }
.button:active { transform: scale(.97); }
.ghost { color: var(--text); text-decoration: none; padding: 14px 6px; border-bottom: 1px solid var(--line); transition: border-color .2s; }
.ghost:hover { border-color: var(--accent); }

/* 1. Opening */
.opening .stage { min-height: 100svh; display: grid; align-items: center; position: relative; padding: 96px 0 72px; }
.title { margin: 0 0 26px; font-size: clamp(44px, 6.6vw, 104px); line-height: .98; letter-spacing: -.045em; font-weight: 720; }
.title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.title .line > span { display: inline-block; animation: rise 1.1s var(--ease) both; }
.title .line:nth-child(2) > span { animation-delay: .12s; }
.title .line:nth-child(3) > span { animation-delay: .24s; }
.title .accent > span { background: linear-gradient(100deg, var(--accent) 10%, #d8fff4 50%, var(--accent) 90%); -webkit-background-clip: text; background-clip: text; color: transparent; background-size: 200% 100%; animation: rise 1.1s var(--ease) .24s both, sheen 6s ease-in-out 1.4s infinite; }
@keyframes rise { from { transform: translateY(105%); } }
@keyframes sheen { 50% { background-position: 100% 0; } }
.reveal { animation: fade-up 1s var(--ease) .5s both; }
.lead.reveal { animation-delay: .62s; }
.actions.reveal { animation-delay: .74s; }
@keyframes fade-up { from { opacity: 0; transform: translateY(18px); } }
.lead { margin: 0 0 34px; max-width: 34em; font-size: clamp(18px, 2vw, 22px); color: var(--muted); }
.lead strong { color: var(--text); font-weight: 620; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; }
.cue { position: absolute; left: 50%; bottom: 26px; width: 26px; height: 42px; margin-left: -13px; border: 2px solid var(--line); border-radius: 14px; }
.cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--accent); animation: cue 2s var(--ease) infinite; }
@keyframes cue { 60% { transform: translateY(14px); opacity: 0; } 61% { transform: none; opacity: 0; } }

/* The hero's orbit: formats circling the app, and a light that follows the pointer. */
.opening-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 32px; align-items: center; }
.opening .stage::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(520px circle at var(--hx, 70%) var(--hy, 40%), rgba(133,214,195,.09), transparent 60%); }
.orbit-wrap { display: grid; place-items: center; animation-delay: .35s; }
.orbit { --R: min(230px, 19vw); position: relative; width: calc(var(--R) * 2); aspect-ratio: 1; }
.ring { position: absolute; inset: 0; border-radius: 50%; border: 1px dashed rgba(133,214,195,.28); }
.ring.inner { inset: 24%; border: 1px solid rgba(133,214,195,.18); }
.chip { position: absolute; top: 50%; left: 50%; width: 0; height: 0; transform: rotate(var(--a)) translateY(calc(var(--R) * -1)); }
.ring.inner .chip { transform: rotate(var(--a)) translateY(calc(var(--R) * -.52)); }
.chip > span {
  position: absolute; translate: -50% -50%; rotate: calc(var(--a) * -1);
  padding: 6px 12px; border-radius: 999px; white-space: nowrap; font-size: 13px; font-weight: 650; letter-spacing: .02em;
  color: var(--text); background: rgba(16, 24, 22, .92); border: 1px solid rgba(133,214,195,.3);
  box-shadow: 0 8px 30px -10px rgba(0,0,0,.8), 0 0 0 4px rgba(11,17,16,.6);
}
.ring.inner .chip > span { color: var(--on-accent); background: var(--accent); border-color: var(--accent); }
.c0 { --a: 0deg; } .c1 { --a: 60deg; } .c2 { --a: 120deg; } .c3 { --a: 180deg; } .c4 { --a: 240deg; } .c5 { --a: 300deg; }
.core { position: absolute; inset: 37%; display: grid; place-items: center; border-radius: 28%; background: radial-gradient(circle, rgba(133,214,195,.35), transparent 70%); }
.core img { width: 100%; height: auto; border-radius: 24%; box-shadow: 0 20px 60px -20px rgba(133,214,195,.6); }

/* A light that follows the pointer across a card, with a lit edge. */
.glow { position: relative; isolation: isolate; }
.glow::before, .glow::after { content: ""; position: absolute; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .35s; }
.glow::before { inset: 0; z-index: -1; background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgba(133,214,195,.13), transparent 50%); }
.glow::after {
  inset: -1px; padding: 1px;
  background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%), rgba(133,214,195,.85), transparent 55%);
  -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);
}
.glow:hover::before, .glow:hover::after { opacity: 1; }
.motion .track, .motion .platforms { perspective: 1200px; }
.motion .split .w { display: inline-block; opacity: 0; }

/* Scenes. With motion, each pins its stage while the page scrolls past; without, they simply stack. */
.scene { position: relative; }
.scene .stage { padding: 96px 0; }
.motion .scene .stage { position: sticky; top: 0; height: 100vh; height: 100svh; padding: 76px 0 24px; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }

/* 2. The drag */
.drag-inner { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 40px; align-items: center; }
.steps { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 18px; }
.steps li { display: flex; gap: 16px; align-items: flex-start; font-size: clamp(17px, 1.8vw, 21px); color: var(--muted); transition: opacity .5s var(--ease), transform .5s var(--ease), color .5s; }
.motion .steps li { opacity: .38; }
.steps li b { color: var(--text); font-weight: 640; }
.steps .num { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-size: 15px; font-weight: 700; border: 1px solid var(--line); transition: background .4s, color .4s, border-color .4s; }
.motion .steps li.on { opacity: 1; transform: translateX(6px); color: var(--text); }
.steps li.on .num { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.motion .steps li.done { opacity: .62; }
.demo { width: 100%; height: auto; max-height: 76svh; display: block; overflow: visible; }
.demo text { font-family: inherit; fill: var(--text); }
.demo .small { font-size: 13px; font-weight: 500; }
.demo .dim { fill: var(--muted); }
.demo .strong { font-size: 12.5px; font-weight: 650; fill: var(--on-accent); }
.demo .icon { fill: var(--text); }
.demo .hit text { fill: var(--on-accent); }
.halo { fill: url(#glow); opacity: .7; }
.key rect { fill: var(--accent); stroke: rgba(255,255,255,.12); transition: fill .3s; }
.key text { fill: var(--on-accent) !important; transition: fill .3s; }
.motion .key rect { fill: var(--slice); }
.motion .key text { fill: var(--text) !important; }
.motion .key.on rect { fill: var(--accent); }
.motion .key.on text { fill: var(--on-accent) !important; }
.inbox rect { fill: var(--raised); stroke: var(--line); transition: stroke .4s, fill .4s; }
.inbox.got rect { stroke: var(--accent); fill: #13231f; }
.tile rect { fill: var(--slice); stroke: rgba(255,255,255,.14); }
.tile { transform: translate(470px, 100px); }
.result rect { fill: var(--accent); }
.result { opacity: 0; }

/* 3. Make it fit */
.fit-inner { max-width: 980px; }
.meter { margin: 10px 0 26px; padding: clamp(20px, 3vw, 36px); border: 1px solid var(--line); border-radius: 22px; background: linear-gradient(160deg, rgba(133,214,195,.07), rgba(20,28,26,.6)); }
.meter-file { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 24px; }
.meter-name { color: var(--muted); font-size: 17px; }
.meter-size { font-size: clamp(56px, 11vw, 150px); line-height: 1; font-weight: 720; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.meter-track { margin: 22px 0 20px; height: 10px; border-radius: 6px; background: rgba(255,255,255,.06); overflow: hidden; }
.meter-fill { display: block; height: 100%; background: linear-gradient(90deg, var(--accent-deep), var(--accent)); transform-origin: left; transform: scaleX(.02); }
.targets { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.targets li { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); font-weight: 600; font-size: 15px; transition: all .45s var(--ease); }
.targets li.hit, html:not(.motion) .targets li { background: var(--accent); color: var(--on-accent); border-color: var(--accent); transform: translateY(-2px); }
.note { margin: 0; max-width: 40em; font-size: 15px; color: var(--muted); }

/* 4. Reel */
.reel-head { margin-bottom: 30px; }
.track { display: flex; flex-wrap: wrap; gap: 20px; padding: 0 var(--gutter); }
.motion .track { flex-wrap: nowrap; will-change: transform; }
.card { flex: none; width: min(400px, 80vw); min-height: 320px; padding: 28px; border-radius: 22px; border: 1px solid var(--line); background: linear-gradient(170deg, rgba(255,255,255,.045), rgba(255,255,255,.01)); display: flex; flex-direction: column; gap: 14px; transition: border-color .35s; }
.card:hover { border-color: rgba(133,214,195,.4); }
html:not(.motion) .card:hover { transform: translateY(-6px); }
.card p { margin: 0; color: var(--muted); }
.card h3 { font-size: 24px; }
.card-num { font-size: 56px; font-weight: 750; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(133,214,195,.55); margin-bottom: auto; }
.card.shot { padding: 18px; width: min(300px, 70vw); }
.card.shot img { width: 100%; height: 230px; object-fit: cover; object-position: top; border-radius: 14px; border: 1px solid var(--line); }
.card.shot p { font-size: 14px; }

/* 5. Formats */
.formats-head { margin-bottom: 10px; }
.rows { display: grid; gap: 4px; margin: 10px 0 34px; white-space: nowrap; }
.row { display: flex; gap: .5em; font-size: clamp(44px, 8.5vw, 112px); font-weight: 760; letter-spacing: -.03em; line-height: 1.05; will-change: transform; }
.row span:nth-child(odd) { color: transparent; -webkit-text-stroke: 1.2px rgba(226,236,232,.28); }
.row span:nth-child(even) { color: rgba(133,214,195,.85); }
.row[data-dir="-1"] { justify-content: flex-end; }
.kinds { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; margin: 0; }
.kinds dt { font-weight: 650; margin-bottom: 4px; }
.kinds dd { margin: 0; color: var(--muted); font-size: 15px; }

/* 6. Privacy */
.privacy-inner { text-align: center; display: flex; flex-direction: column; align-items: center; }
.vault { width: clamp(110px, 16vw, 170px); height: auto; margin-bottom: 18px; overflow: visible; }
.vault-ring { fill: none; stroke: rgba(133,214,195,.35); stroke-width: 1.5; stroke-dasharray: 4 8; }
.vault-ring.two { stroke: rgba(133,214,195,.6); stroke-dasharray: 26 10; }
.vault-file { fill: var(--accent); }
.vault-lock { fill: none; stroke: var(--accent); stroke-width: 6; stroke-linecap: round; }
.words { margin: 0 0 40px; max-width: 18em; font-size: clamp(30px, 5vw, 62px); line-height: 1.12; letter-spacing: -.025em; font-weight: 680; }
.words span { transition: opacity .3s linear; }
.proofs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; text-align: left; max-width: 1080px; }
.proofs li { padding: 18px; border-radius: 16px; border: 1px solid var(--line); background: rgba(20,28,26,.6); }
.proofs h3 { font-size: 16px; }
.proofs p { margin: 6px 0 0; color: var(--muted); font-size: 14px; }
.motion .proofs li { opacity: 0; transform: translateY(20px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.motion .proofs.show li { opacity: 1; transform: none; }
.motion .proofs.show li:nth-child(2) { transition-delay: .08s; }
.motion .proofs.show li:nth-child(3) { transition-delay: .16s; }
.motion .proofs.show li:nth-child(4) { transition-delay: .24s; }

/* 7. Download */
.download { padding: 120px 0 80px; }
.beta { margin: -14px 0 32px; color: var(--muted); }
.platforms { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.platform { display: flex; flex-direction: column; padding: 24px; border-radius: 20px; border: 1px solid var(--line); background: rgba(20,28,26,.75); transition: border-color .3s; }
html:not(.motion) .platform:hover { transform: translateY(-4px); }
.platform.yours { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), 0 20px 60px -30px rgba(133,214,195,.6); }
.platform .needs { margin: 4px 0 16px; min-height: 2.9em; font-size: 14px; color: var(--muted); }
.platform .button { padding: 11px 18px; margin-bottom: 14px; font-size: 16px; }
.platform .other { margin: -4px 0 14px; font-size: 14px; color: var(--muted); }
.platform .first { margin: auto 0 0; padding-top: 14px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.check { margin: 24px 0 0; font-size: 15px; color: var(--muted); }
.motion .rise { opacity: 0; }

.questions { padding: 40px 0 80px; }
details { border-top: 1px solid var(--line); padding: 18px 0; max-width: 48em; }
details:last-child { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font-size: 18px; font-weight: 620; }
details p { margin: 10px 0 0; color: var(--muted); }
footer { border-top: 1px solid var(--line); padding: 28px 0 48px; font-size: 14px; color: var(--muted); }
footer p { margin: 0 0 6px; }

@media (max-width: 960px) {
  .opening-grid { grid-template-columns: minmax(0, 1fr); }
  .orbit { --R: min(150px, 36vw); }
  .opening .stage { padding-top: 84px; }
  .drag-inner { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .steps { gap: 8px; }
  .steps li { font-size: 15px; }
  .motion .steps li:not(.on) { display: none; }
  .demo { max-height: 56svh; }
  .kinds, .proofs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .platforms { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .bar nav a.wide { display: none; }
  .kinds, .platforms { grid-template-columns: minmax(0, 1fr); }
  .proofs { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .motion .privacy .proofs li:nth-child(n+3) { display: none; }
  .words { margin-bottom: 24px; }
  .card { min-height: 260px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
/* Motion moves these on springs; a CSS transition on transform would drag behind it. */
.motion .button { transition: background .2s, box-shadow .25s var(--ease); }
.motion .button:hover { transform: none; }
