  :root {
    color-scheme: dark;
    --bg: #07070a; --bg2: #0d0d12; --ink: #f4f2ee; --muted: #8d8b95; --line: rgba(255,255,255,.08);
    --a1: #ff4d1a; --a2: #ff9a3c; --a3: #7b5cff; --a4: #22e3c4;
    --grad: linear-gradient(100deg, var(--a1), var(--a2) 35%, var(--a3) 70%, var(--a4));
  }
  * { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }
  body { background: var(--bg); color: var(--ink); font: 17px/1.6 "Inter Tight", system-ui, sans-serif; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
  a { color: inherit; text-decoration: none; }
  ::selection { background: var(--a1); color: #fff; }
  .wrap { max-width: 1240px; margin: 0 auto; padding: 0 20px; }
  .display { font-family: Syne, sans-serif; font-weight: 800; letter-spacing: -0.04em; line-height: .92; text-transform: uppercase; }
  .mono { font-family: "JetBrains Mono", monospace; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
  .grad-text { background: var(--grad); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shift 6s linear infinite; }
  @keyframes shift { to { background-position: 200% 0; } }

  /* grain + aurora */
  body::after { content: ""; position: fixed; inset: -50%; pointer-events: none; z-index: 100; opacity: .07;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    animation: grain 1s steps(4) infinite; }
  @keyframes grain { 25% { transform: translate(-3%, 2%); } 50% { transform: translate(2%, -3%); } 75% { transform: translate(-1%, 3%); } }
  .aurora { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
  .aurora i { position: absolute; width: 60vmax; height: 60vmax; border-radius: 50%; filter: blur(120px); opacity: .22; animation: drift 22s ease-in-out infinite alternate; }
  .aurora i:nth-child(1) { background: var(--a1); top: -25vmax; left: -15vmax; }
  .aurora i:nth-child(2) { background: var(--a3); bottom: -30vmax; right: -20vmax; animation-delay: -8s; }
  .aurora i:nth-child(3) { background: var(--a4); top: 40%; left: 40%; width: 35vmax; height: 35vmax; opacity: .1; animation-delay: -14s; }
  @keyframes drift { to { transform: translate(10vmax, 8vmax) scale(1.15); } }

  /* progress + cursor */
  #progress { position: fixed; top: 0; left: 0; height: 2px; width: 100%; background: var(--grad); transform-origin: 0 50%; transform: scaleX(0); z-index: 60; }
  #cursor { position: fixed; top: 0; left: 0; width: 34px; height: 34px; margin: -17px 0 0 -17px; border: 1px solid rgba(255,255,255,.5); border-radius: 50%; pointer-events: none; z-index: 99; transition: width .25s, height .25s, margin .25s, background .25s, border-color .25s; mix-blend-mode: difference; }
  #cursor.big { width: 80px; height: 80px; margin: -40px 0 0 -40px; background: #fff; border-color: #fff; }
  @media (hover: none), (pointer: coarse) { #cursor { display: none; } }

  /* header */
  header { position: fixed; top: 14px; left: 0; right: 0; z-index: 50; }
  header .bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 10px 10px 20px; border: 1px solid var(--line); border-radius: 999px; background: rgba(13,13,18,.6); backdrop-filter: blur(16px) saturate(1.4); }
  .logo { font-family: Syne, sans-serif; font-weight: 800; font-size: 18px; letter-spacing: -0.02em; display: flex; align-items: center; gap: 8px; }
  .logo b { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: var(--grad); color: #07070a; font-size: 13px; }
  nav { display: flex; align-items: center; gap: 4px; }
  nav a.l { padding: 8px 14px; border-radius: 999px; color: var(--muted); font-size: 14px; font-weight: 500; transition: color .2s, background .2s; }
  nav a.l:hover { color: var(--ink); background: rgba(255,255,255,.06); }
  .logo, nav .btn { white-space: nowrap; }
  @media (max-width: 760px) { nav a.l { display: none; } }
  @media (max-width: 420px) { .logo { font-size: 15px; } nav .btn .arr { display: none; } }

  .btn { position: relative; display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; border-radius: 999px; font-weight: 600; font-size: 15px; background: var(--ink); color: #07070a; overflow: hidden; isolation: isolate; transition: transform .2s; }
  .btn::before { content: ""; position: absolute; inset: 0; background: var(--grad); z-index: -1; transform: translateY(101%); transition: transform .45s cubic-bezier(.7,0,.2,1); }
  .btn:hover::before { transform: none; }
  .btn .arr { transition: transform .3s; }
  .btn:hover .arr { transform: translateX(4px) rotate(-45deg); }
  .btn.sm { padding: 10px 18px; font-size: 14px; }
  .btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
  .btn.ghost::before { background: rgba(255,255,255,.08); }

  /* hero */
  .hero { position: relative; min-height: 100svh; display: grid; align-items: center; padding: 120px 0 60px; overflow: hidden; }
  #globe { position: absolute; top: 50%; right: -12vw; width: min(900px, 95vw); aspect-ratio: 1; transform: translateY(-50%); opacity: .95; }
  @media (max-width: 900px) { #globe { right: 50%; top: 32%; transform: translate(50%, -50%); width: 120vw; opacity: .55; } }
  .hero .wrap { position: relative; width: 100%; }
  .pill { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 8px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.03); font-size: 13px; color: var(--muted); backdrop-filter: blur(8px); }
  .pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--a4); box-shadow: 0 0 0 0 var(--a4); animation: ping 2s infinite; }
  @keyframes ping { 70% { box-shadow: 0 0 0 10px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
  .hero h1 { font-size: clamp(40px, 12.5vw, 200px); margin: 28px 0; }
  .hero h1 .line { display: block; overflow: hidden; }
  .hero h1 .line > span { display: inline-block; transform: translateY(110%); animation: rise 1s cubic-bezier(.2,.8,.2,1) forwards; }
  .hero h1 .line:nth-child(2) > span { animation-delay: .12s; }
  .hero h1 .line:nth-child(3) > span { animation-delay: .24s; }
  @keyframes rise { to { transform: none; } }
  .hero .sub { max-width: 44ch; font-size: clamp(17px, 2vw, 21px); color: #c9c7cf; opacity: 0; animation: fade 1s .6s forwards; }
  .hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; opacity: 0; animation: fade 1s .8s forwards; }
  @keyframes fade { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
  .scroll-hint { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); }

  /* marquee */
  .marquee { border-block: 1px solid var(--line); padding: 22px 0; overflow: hidden; background: rgba(255,255,255,.015); }
  .marquee .track { display: flex; width: max-content; animation: scroll 40s linear infinite; }
  .marquee:hover .track { animation-play-state: paused; }
  .marquee span { font-family: Syne, sans-serif; font-weight: 700; font-size: clamp(24px, 4vw, 44px); text-transform: uppercase; letter-spacing: -0.02em; padding: 0 28px; white-space: nowrap; display: flex; align-items: center; gap: 56px; }
  .marquee span::after { content: "✦"; color: var(--a1); font-size: .6em; }
  .marquee span:nth-child(even) { -webkit-text-stroke: 1px rgba(255,255,255,.5); color: transparent; }
  @keyframes scroll { to { transform: translateX(-50%); } }

  section { padding: clamp(80px, 12vw, 160px) 0; position: relative; }
  .head { display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; margin-bottom: 56px; }
  .head h2 { font-size: clamp(34px, 7vw, 96px); max-width: 12ch; }
  .head p { max-width: 38ch; color: var(--muted); }

  /* reveal */
  .rv { opacity: 0; transform: translateY(40px); transition: opacity .9s cubic-bezier(.2,.8,.2,1), transform .9s cubic-bezier(.2,.8,.2,1); transition-delay: var(--d, 0s); }
  .rv.in { opacity: 1; transform: none; }

  /* bento */
  .bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
  .card { --mx: 50%; --my: 50%; position: relative; grid-column: span 2; min-height: 280px; padding: 28px; border-radius: 24px; background: var(--bg2); border: 1px solid var(--line); overflow: hidden; display: flex; flex-direction: column; transform-style: preserve-3d; transition: transform .2s ease-out, border-color .3s; }
  .card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(500px circle at var(--mx) var(--my), rgba(255,255,255,.09), transparent 40%); opacity: 0; transition: opacity .3s; pointer-events: none; }
  .card:hover::before { opacity: 1; }
  .card:hover { border-color: rgba(255,255,255,.18); }
  .card.w3 { grid-column: span 3; } .card.w4 { grid-column: span 4; }
  .card .ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-size: 22px; background: rgba(255,255,255,.05); border: 1px solid var(--line); margin-bottom: auto; }
  .card h3 { font-family: Syne, sans-serif; font-size: 28px; line-height: 1; letter-spacing: -0.03em; margin: 40px 0 10px; }
  .card p { color: var(--muted); font-size: 15px; max-width: 42ch; }
  .card .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
  .card .tags i { font-style: normal; font-size: 12px; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line); color: #b9b7c0; }
  .card .num { position: absolute; top: 24px; right: 28px; }
  .card.hot { background: linear-gradient(160deg, rgba(255,77,26,.18), rgba(123,92,255,.12) 60%, var(--bg2)); }
  .card .viz { position: absolute; right: -20px; bottom: -20px; width: 55%; opacity: .5; pointer-events: none; }
  @media (max-width: 960px) { .bento { grid-template-columns: repeat(2, 1fr); } .card, .card.w3, .card.w4 { grid-column: span 1; } .card.w4 { grid-column: span 2; } }
  @media (max-width: 600px) { .bento { grid-template-columns: 1fr; } .card, .card.w3, .card.w4 { grid-column: span 1; } }

  /* engine */
  .engine { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: center; }
  @media (max-width: 900px) { .engine { grid-template-columns: minmax(0, 1fr); } }
  .engine svg { width: 100%; height: auto; }
  .engine .flow { stroke-dasharray: 4 8; animation: dash 1.2s linear infinite; }
  @keyframes dash { to { stroke-dashoffset: -24; } }
  .engine ul { list-style: none; margin-top: 28px; display: grid; gap: 14px; }
  .engine li { display: flex; gap: 14px; align-items: baseline; padding-bottom: 14px; border-bottom: 1px solid var(--line); color: #c9c7cf; }
  .engine li b { font-family: "JetBrains Mono", monospace; font-weight: 500; font-size: 12px; color: var(--a2); min-width: 28px; }

  /* ventures */
  .ventures { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 14px; }
  .venture { container-type: inline-size; position: relative; padding: 28px; border-radius: 24px; border: 1px solid var(--line); background: var(--bg2); overflow: hidden; min-height: 320px; display: flex; flex-direction: column; transition: transform .4s cubic-bezier(.2,.8,.2,1); }
  .venture:hover { transform: translateY(-6px); }
  .venture .glow { position: absolute; width: 260px; height: 260px; border-radius: 50%; filter: blur(70px); opacity: .35; top: -80px; right: -80px; transition: opacity .4s, transform .6s; }
  .venture:hover .glow { opacity: .7; transform: scale(1.3); }
  .venture .top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; position: relative; }
  .venture .top .mono { min-width: 0; }
  .status { flex-shrink: 0; white-space: nowrap; margin-left: auto; font-family: "JetBrains Mono", monospace; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line); background: rgba(0,0,0,.3); }
  .venture h3 { position: relative; font-family: Syne, sans-serif; font-weight: 800; font-size: clamp(24px, 12cqi, 40px); line-height: .95; letter-spacing: -0.04em; margin-top: auto; text-transform: uppercase; overflow-wrap: break-word; }
  .venture p { position: relative; color: var(--muted); font-size: 15px; margin-top: 10px; }
  .venture .go { position: relative; margin-top: 18px; font-size: 14px; font-weight: 600; display: inline-flex; gap: 8px; align-items: center; }

  /* stats */
  .stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
  .stats div { padding: 32px 20px 0 0; }
  .stats strong { display: block; font-family: Syne, sans-serif; font-size: clamp(40px, 6vw, 80px); font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
  @media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); } }

  /* steps */
  .steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; counter-reset: s; }
  .step { counter-increment: s; padding: 28px; border-radius: 24px; border: 1px solid var(--line); position: relative; overflow: hidden; }
  .step::before { content: "0" counter(s); font-family: Syne, sans-serif; font-weight: 800; font-size: 120px; line-height: .8; position: absolute; right: -6px; bottom: -14px; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.12); transition: -webkit-text-stroke-color .3s; }
  .step:hover::before { -webkit-text-stroke-color: var(--a1); }
  .step h3 { font-family: Syne, sans-serif; font-size: 26px; margin: 48px 0 8px; }
  .step p { color: var(--muted); font-size: 15px; max-width: 24ch; }
  @media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
  @media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

  /* cta */
  .cta { text-align: center; padding-bottom: 80px; }
  .cta h2 { font-size: clamp(56px, 14vw, 220px); }
  .cta p { color: var(--muted); max-width: 40ch; margin: 28px auto 36px; font-size: 19px; }
  .cta .btn { font-size: 18px; padding: 20px 34px; }

  footer { border-top: 1px solid var(--line); padding: 28px 0 40px; }
  footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .rv, .hero .sub, .hero .actions { opacity: 1; transform: none; }
    .hero h1 .line > span { transform: none; }
    html { scroll-behavior: auto; }
  }
