:root {
  --bg: #000;
  --text: #f5f5f7;
  --muted: #86868b;
  --dim: #5a5a63;
  --line: rgba(255, 255, 255, 0.1);
  --light-bg: #f5f5f7;
  --light-text: #1d1d1f;
  --light-muted: #6e6e73;
  --violet: #8b7cff;
  --cyan: #5bc8ff;
  --pink: #ff7ac6;
  --grad: linear-gradient(100deg, #a99bff 0%, #5bc8ff 50%, #ff8fd0 100%);
  --max: 1180px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: rgba(139, 124, 255, .45); }
h1, h2, h3, h4 { font-family: "Inter Tight", "Inter", system-ui, sans-serif; letter-spacing: -0.035em; line-height: 1.06; margin: 0; font-weight: 600; }
p { margin: 0; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding-inline: clamp(18px, 4vw, 40px); }
.center { text-align: center; display: flex; flex-direction: column; align-items: center; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  background: rgba(0, 0, 0, .55); backdrop-filter: blur(20px) saturate(160%); -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-bottom: 1px solid transparent; transition: border-color .3s;
}
.nav.scrolled { border-color: var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; gap: 24px; }
.wordmark { font-family: "Inter Tight", sans-serif; font-weight: 800; font-size: 21px; letter-spacing: -0.04em; }
.nav-links { display: flex; gap: 32px; font-size: 14px; color: #d2d2d7; }
.nav-links a { transition: color .2s; }
.nav-links a:hover { color: #fff; }
.menu-btn { display: none; background: none; border: 0; color: var(--text); padding: 8px; cursor: pointer; }

.pill {
  display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 22px; border-radius: 999px;
  background: #e8e8ed; color: #1d1d1f; font-size: 15px; font-weight: 500; transition: transform .25s var(--ease), background .25s;
}
.pill:hover { background: #fff; transform: translateY(-1px); }
.pill .play { font-size: 10px; }
.light .pill { background: #1d1d1f; color: #fff; }

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: 150px; overflow: hidden; }
.hero-copy { text-align: center; display: flex; flex-direction: column; align-items: center; position: relative; z-index: 3; }
.hero h1 { font-size: clamp(42px, 6.4vw, 80px); }
.hero-copy p { margin-top: 22px; color: var(--muted); font-size: clamp(17px, 1.6vw, 21px); max-width: 560px; }
.hero-copy .pill { margin-top: 32px; }

.stage { position: relative; margin-top: 150px; height: clamp(360px, 52vw, 760px); }
.giant {
  position: absolute; left: 50%; top: 4%; transform: translateX(-50%);
  font-family: "Inter Tight", sans-serif; font-weight: 800; letter-spacing: -0.06em; line-height: .8;
  font-size: clamp(90px, 21vw, 340px); white-space: nowrap; user-select: none;
  background: linear-gradient(180deg, #7d6dff 0%, #4a3bb0 45%, rgba(40, 30, 110, 0) 92%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  will-change: transform;
}
.stage-img {
  position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); width: min(1180px, 112%); max-width: none; z-index: 2;
  mask-image: radial-gradient(ellipse 58% 62% at 50% 52%, #000 55%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 58% 62% at 50% 52%, #000 55%, transparent 80%);
  will-change: transform;
}

/* ---------- Sections ---------- */
.section { padding: clamp(100px, 13vw, 170px) 0; position: relative; }
.label { font-family: "Inter Tight", sans-serif; font-size: clamp(17px, 1.7vw, 22px); font-weight: 600; letter-spacing: -0.02em; color: var(--text); }
.section h2 { font-size: clamp(38px, 5.6vw, 68px); margin-top: 14px; }
.lead { margin-top: 24px; max-width: 680px; color: #d2d2d7; font-size: clamp(17px, 1.5vw, 19px); }
.sub { max-width: 760px; color: var(--muted); font-size: clamp(18px, 1.8vw, 22px); line-height: 1.55; }
.section .pill { margin-top: 36px; }

/* Orbit (cloud centerpiece) */
.orbit { position: relative; max-width: 1000px; margin: 30px auto 50px; padding-inline: 16px; }
.orbit-img { width: 100%; height: auto; mask-image: radial-gradient(ellipse 52% 58% at 50% 50%, #000 50%, transparent 78%); -webkit-mask-image: radial-gradient(ellipse 52% 58% at 50% 50%, #000 50%, transparent 78%); animation: floaty 9s ease-in-out infinite; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }
.glass {
  position: absolute; width: clamp(54px, 8vw, 92px); aspect-ratio: 1; border-radius: 26%; display: grid; place-items: center;
  background: linear-gradient(150deg, rgba(255,255,255,.28), rgba(255,255,255,.04)); border: 1px solid rgba(255,255,255,.25);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.8), inset 0 1px 0 rgba(255,255,255,.45), 0 0 50px -10px var(--glow);
  animation: bob 8s ease-in-out infinite;
}
.glass svg { width: 42%; height: 42%; }
.g1 { left: 6%; top: 18%; --glow: #8b7cff; background-color: rgba(139,124,255,.35); }
.g2 { right: 8%; top: 8%; --glow: #ffb347; background-color: rgba(255,179,71,.35); animation-delay: -2s; width: clamp(44px, 6vw, 70px); }
.g3 { right: 4%; bottom: 14%; --glow: #3ddc97; background-color: rgba(61,220,151,.3); animation-delay: -4s; }
.g4 { left: 14%; bottom: 6%; --glow: #ff7ac6; background-color: rgba(255,122,198,.35); animation-delay: -6s; width: clamp(44px, 6vw, 70px); }
@keyframes bob { 0%,100% { transform: translateY(0) rotate(-6deg); } 50% { transform: translateY(-18px) rotate(6deg); } }

/* Light section */
.light { background: var(--light-bg); color: var(--light-text); }
.light .label { color: var(--light-text); }
.light .lead { color: #424245; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 70px; }
.card { background: #fff; border-radius: 22px; padding: 44px 32px 40px; text-align: center; display: flex; flex-direction: column; align-items: center; box-shadow: 0 1px 2px rgba(0,0,0,.03); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(0,0,0,.18); }
.card h3 { font-size: 30px; font-weight: 500; letter-spacing: -0.03em; margin-top: 30px; }
.card p { color: var(--light-muted); font-size: 15px; margin-top: 14px; max-width: 290px; }
.soon { margin-top: 26px; color: #0071e3; font-size: 16px; }

/* Soft 3D-ish objects (CSS) */
.obj { position: relative; width: 170px; height: 150px; }
.obj-ring { width: 150px; height: 150px; border-radius: 50%; background: conic-gradient(from 200deg, #e9e3ff, #c8b8ff, #ffd0ea, #fff, #bfe8ff, #e9e3ff); -webkit-mask: radial-gradient(circle, transparent 34%, #000 35%); mask: radial-gradient(circle, transparent 34%, #000 35%); filter: drop-shadow(0 18px 24px rgba(139,124,255,.35)); transform: rotateX(55deg) rotateZ(-20deg); animation: spin 14s linear infinite; }
@keyframes spin { to { transform: rotateX(55deg) rotateZ(340deg); } }
.obj-star i { position: absolute; left: 50%; top: 50%; width: 46px; height: 140px; margin: -70px 0 0 -23px; border-radius: 26px; background: linear-gradient(180deg, #ffe0b8, #ffc0e2 50%, #c9b6ff); box-shadow: inset -6px -8px 16px rgba(160,120,255,.35), inset 6px 6px 14px rgba(255,255,255,.8), 0 16px 30px -12px rgba(255,122,198,.5); }
.obj-star i:nth-child(2) { transform: rotate(60deg); background: linear-gradient(180deg, #bfe8ff, #e7d8ff 60%, #ffc0e2); }
.obj-star i:nth-child(3) { transform: rotate(-60deg); background: linear-gradient(180deg, #ffd0ea, #fff 50%, #bfe8ff); }
.obj-star { animation: tilt 10s ease-in-out infinite; }
@keyframes tilt { 50% { transform: rotate(18deg) scale(1.04); } }
.obj-spheres i { position: absolute; border-radius: 50%; }
.obj-spheres i:nth-child(1) { width: 120px; height: 120px; right: 0; top: 18px; background: radial-gradient(circle at 32% 28%, #fff 0%, #ffd8c4 22%, #e98bb6 60%, #9f7cff 100%); box-shadow: 0 24px 40px -14px rgba(233,139,182,.6); }
.obj-spheres i:nth-child(2) { width: 62px; height: 62px; left: 4px; top: 0; background: radial-gradient(circle at 32% 28%, #fff 0%, #d7ecff 30%, #8fb7ff 70%, #a68bff 100%); box-shadow: 0 16px 30px -12px rgba(91,150,255,.6); animation: floaty 6s ease-in-out infinite; }

/* Statement + rows */
.statement { font-size: clamp(32px, 4.4vw, 54px) !important; max-width: 900px; line-height: 1.15 !important; }
.hl { background: linear-gradient(100deg, #ff9a8b, #e77fb6 60%, #b08cff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.rows { display: grid; gap: clamp(90px, 12vw, 150px); margin-top: clamp(90px, 12vw, 150px); }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.row.flip .row-text { order: 2; }
.row-text h3 { font-size: clamp(32px, 3.6vw, 46px); }
.row-text p { margin-top: 20px; color: var(--muted); font-size: 17px; max-width: 440px; line-height: 1.75; }
.row-vis { display: grid; place-items: center; min-height: 340px; position: relative; }
.row-vis::before { content: ""; position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(139,124,255,.28), transparent 65%); filter: blur(30px); }

.vis-chat { position: relative; width: min(380px, 100%); display: flex; flex-direction: column; gap: 12px; padding: 26px; border-radius: 28px; background: rgba(255,255,255,.04); border: 1px solid var(--line); backdrop-filter: blur(10px); }
.vis-chat .b { align-self: flex-start; max-width: 85%; padding: 11px 15px; border-radius: 18px 18px 18px 5px; background: rgba(255,255,255,.08); font-size: 14px; color: #e5e5ea; }
.vis-chat .b.me { align-self: flex-end; border-radius: 18px 18px 5px 18px; background: linear-gradient(135deg, #7d6dff, #4f8bff); color: #fff; }
.typing { display: inline-flex !important; gap: 5px; } .typing i { width: 7px; height: 7px; border-radius: 50%; background: #e5e5ea; animation: blink 1.2s infinite; } .typing i:nth-child(2) { animation-delay: .2s; } .typing i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 50% { opacity: .25; } }
.vis-type { position: relative; text-align: center; }
.vis-type span { font-family: "Inter Tight", sans-serif; font-weight: 700; font-size: clamp(140px, 18vw, 220px); letter-spacing: -0.06em; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.vis-type .dots { display: flex; justify-content: center; gap: 14px; margin-top: 10px; }
.vis-type .dots i { width: 30px; height: 30px; border-radius: 50%; background: var(--c); box-shadow: 0 0 24px -2px var(--c); }
.vis-chart { position: relative; width: min(420px, 100%); padding: 30px; border-radius: 28px; background: rgba(255,255,255,.04); border: 1px solid var(--line); }
.vis-chart .line { stroke-dasharray: 520; stroke-dashoffset: 520; transition: stroke-dashoffset 2.4s var(--ease) .3s; }
.in .vis-chart .line, .vis-chart.in .line { stroke-dashoffset: 0; }
.vis-shield { position: relative; width: 190px; height: 190px; display: grid; place-items: center; border-radius: 50%; background: radial-gradient(circle, rgba(91,200,255,.18), transparent 70%); }
.vis-shield svg { width: 120px; height: 120px; filter: drop-shadow(0 0 30px rgba(91,200,255,.5)); }

/* Contact */
.contact h2 { font-size: clamp(42px, 6.4vw, 84px); }
.mail { margin-top: 40px; font-family: "Inter Tight", sans-serif; font-size: clamp(22px, 3.2vw, 36px); font-weight: 600; letter-spacing: -0.03em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; border-bottom: 1px solid rgba(255,255,255,.2); padding-bottom: 6px; }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 60px 0 calc(40px + env(safe-area-inset-bottom, 0px)); }
.foot { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.foot h4 { font-family: "Inter", sans-serif; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); font-weight: 600; margin-bottom: 16px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot li a { color: var(--muted); font-size: 14px; transition: color .2s; }
.foot li a:hover { color: var(--text); }
.foot .about { color: var(--muted); font-size: 14px; max-width: 300px; margin-top: 14px; }
.foot-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 50px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--dim); font-size: 13px; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.d1 { transition-delay: .1s; } .d2 { transition-delay: .2s; }

/* ---------- Legal pages ---------- */
.legal { padding: 140px 0 80px; }
.legal .wrap { max-width: 780px; }
.eyebrow { font-size: 13px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.legal h1 { font-size: clamp(40px, 6vw, 64px); margin: 16px 0 14px; }
.legal .updated { color: var(--dim); font-size: 14px; margin-bottom: 44px; }
.legal h2 { font-size: 24px; margin: 46px 0 14px; letter-spacing: -0.02em; }
.legal h3 { font-size: 18px; margin: 26px 0 10px; letter-spacing: -0.01em; }
.legal p, .legal li { color: #c7c7cc; font-size: 16.5px; line-height: 1.75; }
.legal p + p { margin-top: 14px; }
.legal ul { padding-left: 22px; display: grid; gap: 8px; margin: 14px 0; }
.legal a { color: var(--cyan); }
.legal .box { margin-top: 18px; padding: 24px; border-radius: 18px; background: rgba(255,255,255,.04); border: 1px solid var(--line); }
.legal .btn { display: inline-flex; align-items: center; height: 44px; padding: 0 22px; border-radius: 999px; background: #e8e8ed; color: #1d1d1f !important; font-weight: 500; }
.faq details { border-bottom: 1px solid var(--line); padding: 22px 0; }
.faq summary { cursor: pointer; font-weight: 500; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: "+"; color: var(--muted); font-size: 22px; line-height: 1; transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin-top: 12px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .cards { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .row, .row.flip { grid-template-columns: 1fr; gap: 30px; text-align: center; }
  .row.flip .row-text { order: 0; }
  .row-text p { margin-inline: auto; }
  .row-vis { min-height: 260px; }
  .foot { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav-links { display: none; position: absolute; top: calc(60px + env(safe-area-inset-top, 0px)); left: 0; right: 0; flex-direction: column; gap: 0; background: rgba(0,0,0,.95); border-bottom: 1px solid var(--line); padding: 8px clamp(18px, 4vw, 40px) 20px; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 0; font-size: 17px; border-bottom: 1px solid var(--line); }
  .menu-btn { display: block; }
  .hero { padding-top: 120px; }
  .stage-img { width: 150%; }
}
@media (max-width: 520px) {
  .foot { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

@media (max-width: 760px) {
  .stage { height: auto; margin-top: 40px; }
  .giant { top: 6%; font-size: 23vw; }
  .stage-img { position: relative; left: auto; bottom: auto; transform: none !important; width: 150%; margin-left: -25%; }
}

/* ---------- Rendered images ---------- */
.obj-img { width: 190px; height: 190px; object-fit: cover; mix-blend-mode: multiply; transition: transform .6s var(--ease); }
.card:hover .obj-img { transform: translateY(-6px) rotate(-4deg) scale(1.04); }
.row-img { position: relative; width: min(440px, 100%); height: auto; mix-blend-mode: screen; animation: floaty 9s ease-in-out infinite; }
.row:nth-child(even) .row-img { animation-delay: -4s; }
.showcase { padding-bottom: 60px; }
.showcase-img { display: block; width: min(1300px, 100%); margin: 40px auto 0; mix-blend-mode: screen; mask-image: radial-gradient(ellipse 60% 70% at 50% 50%, #000 55%, transparent 85%); -webkit-mask-image: radial-gradient(ellipse 60% 70% at 50% 50%, #000 55%, transparent 85%); }

