/* Jellyfish AI website: near-black with neon lime light, editorial serif type, scroll-driven motion.
   Fonts are self-hosted (Instrument Serif, Inter). All motion is switched off under prefers-reduced-motion. */

@font-face { font-family: "Instrument Serif"; src: url("fonts/InstrumentSerif-normal.woff2") format("woff2"); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("fonts/InstrumentSerif-italic.woff2") format("woff2"); font-style: italic; font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/Inter-normal.woff2") format("woff2"); font-style: normal; font-weight: 300 700; font-display: swap; }

:root {
  color-scheme: dark;
  --bg: #040604;
  --bg-2: #0a0f08;
  --ink: #f2f5ee;
  --ink-2: #b4bcaa;
  --muted: #8a9380;
  --line: rgba(190, 235, 150, 0.15);
  --line-strong: rgba(190, 235, 150, 0.32);
  --glass: rgba(14, 20, 12, 0.55);
  --glass-hi: rgba(22, 32, 18, 0.74);
  --lime: #c8ff3a;
  --lime-2: #8be02c;
  --lime-rgb: 200, 255, 58;
  --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(0.22, 0.8, 0.24, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; background: radial-gradient(ellipse 80% 50% at 50% -10%, #11260c, var(--bg) 70%) no-repeat, var(--bg); background-attachment: fixed; }
html[lang="de"] [data-l="en"],
html[lang="en"] [data-l="de"] { display: none; }
html.pre, html.pre body { overflow: hidden; }

body { margin: 0; font: 400 17px/1.62 var(--sans); color: var(--ink); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
img { max-width: 100%; height: auto; }
a { color: var(--lime); }
h1, h2, h3 { margin: 0; font-weight: 400; }
p { margin: 0 0 14px; }
::selection { background: rgba(var(--lime-rgb), 0.85); color: #0a1204; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; }

.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }
.narrow { max-width: 760px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 90; padding: 10px 16px; border-radius: 12px; background: var(--bg-2); color: var(--ink); }
.skip:focus { left: 16px; }

/* ---------- intro ---------- */
.pre { display: none; position: fixed; inset: 0; z-index: 100; background: #020302; color: var(--ink); clip-path: inset(0 0 0 0); transition: clip-path 1s var(--ease); }
html.pre .pre { display: grid; }
.pre.out { clip-path: inset(0 0 100% 0); }
.pre-in { align-self: center; justify-self: center; display: grid; place-items: center; gap: 22px; }
.pre-in img { width: 84px; height: 84px; filter: drop-shadow(0 0 28px rgba(var(--lime-rgb), 0.6)); animation: float 3s ease-in-out infinite; }
.pre-n { position: absolute; left: 32px; bottom: 26px; font: 400 clamp(64px, 12vw, 150px)/1 var(--serif); color: var(--ink); font-variant-numeric: tabular-nums; }
.pre-bar { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: linear-gradient(90deg, var(--lime-2), var(--lime)); transform-origin: left; transform: scaleX(0); box-shadow: 0 0 24px var(--lime); }

/* ---------- ambient background ---------- */
.aurora { position: fixed; inset: -20%; z-index: -2; pointer-events: none;
  background:
    radial-gradient(40% 35% at 16% 16%, rgba(60, 150, 20, 0.34), transparent 70%),
    radial-gradient(34% 30% at 88% 22%, rgba(20, 110, 70, 0.34), transparent 70%),
    radial-gradient(46% 40% at 52% 98%, rgba(var(--lime-rgb), 0.2), transparent 70%);
  animation: drift 42s ease-in-out infinite alternate; will-change: transform; }
@keyframes drift { to { transform: translate3d(3%, 2%, 0) scale(1.1) rotate(2deg); } }
.dust { position: fixed; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; }
.grain { position: fixed; inset: 0; z-index: 70; pointer-events: none; opacity: 0.06; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }
.cursor { position: fixed; left: 0; top: 0; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%; border: 1px solid rgba(var(--lime-rgb), 0.7); pointer-events: none; z-index: 80; mix-blend-mode: screen; opacity: 0;
  transition: width 0.35s var(--ease), height 0.35s var(--ease), margin 0.35s var(--ease), background 0.35s, opacity 0.3s; }
.cursor.on { opacity: 1; }
.cursor.big { width: 76px; height: 76px; margin: -38px 0 0 -38px; background: rgba(var(--lime-rgb), 0.14); }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ---------- navigation ---------- */
.bar { position: fixed; top: 0; left: 0; right: 0; z-index: 30; padding: 14px 16px 0; }
.bar-inner { position: relative; display: flex; align-items: center; gap: 16px; width: min(1160px, 100%); margin-inline: auto; padding: 6px 8px 6px 16px; border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.02) 55%, rgba(var(--lime-rgb), 0.05));
  -webkit-backdrop-filter: blur(7px) saturate(1.9) brightness(1.08); backdrop-filter: blur(7px) saturate(1.9) brightness(1.08);
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.5), 0 2px 8px rgba(0, 0, 0, 0.3),
    inset 0 0 0 1px rgba(255, 255, 255, 0.1), inset 2px 2.5px 4px -2px rgba(255, 255, 255, 0.7), inset -2px -2.5px 4px -2px rgba(255, 255, 255, 0.38), inset 0 0 26px rgba(255, 255, 255, 0.07);
  transition: background 0.4s, box-shadow 0.4s; }
html.lg .bar-inner { -webkit-backdrop-filter: blur(5px) url(#lg) saturate(1.9) brightness(1.08); backdrop-filter: blur(5px) url(#lg) saturate(1.9) brightness(1.08); }
/* rim light that follows the pointer, like glass catching a light source */
.bar-inner::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.4px; pointer-events: none;
  background: radial-gradient(180px circle at var(--bx, 20%) var(--by, 0%), rgba(255, 255, 255, 0.95), rgba(var(--lime-rgb), 0.35) 40%, transparent 70%), linear-gradient(135deg, rgba(255, 255, 255, 0.55), transparent 28%, transparent 72%, rgba(255, 255, 255, 0.3));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0.9; }
.bar-inner::after { content: ""; position: absolute; left: 6%; right: 6%; top: 1px; height: 46%; border-radius: 999px; pointer-events: none; background: linear-gradient(180deg, rgba(255, 255, 255, 0.16), transparent); }
.bar-inner > * { position: relative; z-index: 1; }
.bar.solid .bar-inner { background: linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(10, 16, 8, 0.28) 60%, rgba(var(--lime-rgb), 0.06)); }
.brand { display: flex; align-items: center; gap: 10px; min-height: 44px; font: 500 16px var(--sans); letter-spacing: 0.01em; color: var(--ink); text-decoration: none; }
.brand img { filter: drop-shadow(0 0 8px rgba(var(--lime-rgb), 0.55)); }
.brand b { color: var(--lime); font-weight: 600; }
.links { display: flex; gap: 2px; margin-left: auto; }
.links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 999px; color: var(--ink-2); text-decoration: none; font-size: 15px; transition: color 0.25s, background 0.25s; }
.links a:hover { color: var(--ink); background: rgba(190, 235, 150, 0.1); }
.nav-cta { display: inline-flex; align-items: center; min-height: 42px; padding: 0 20px; border-radius: 999px; color: #0a1204; text-decoration: none; font: 600 15px var(--sans);
  background: linear-gradient(180deg, #dcff72, var(--lime)); box-shadow: 0 0 26px rgba(var(--lime-rgb), 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.6); transition: box-shadow 0.3s; will-change: transform; }
.nav-cta:hover { box-shadow: 0 0 40px rgba(var(--lime-rgb), 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.7); }
.seg { display: inline-flex; padding: 3px; border-radius: 999px; background: rgba(190, 235, 150, 0.08); border: 1px solid var(--line); }
.seg button { min-width: 44px; min-height: 38px; padding: 0 10px; border: 0; border-radius: 999px; font: 500 14px var(--sans); color: var(--ink-2); background: transparent; cursor: pointer; transition: color 0.25s, background 0.25s; }
.seg button[aria-pressed="true"] { color: #0a1204; background: linear-gradient(180deg, #f1ffc2, #c9f06a); }

/* ---------- buttons ---------- */
.btn { position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 30px; border-radius: 999px; font: 600 16px var(--sans); text-decoration: none; color: #0a1204;
  background: linear-gradient(180deg, #dcff72, var(--lime)); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.4) inset, 0 8px 40px rgba(var(--lime-rgb), 0.38); transition: box-shadow 0.35s; will-change: transform; }
.btn::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.8) 50%, transparent 65%); transform: translateX(-120%); }
.btn:hover { box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.6) inset, 0 12px 56px rgba(var(--lime-rgb), 0.65); }
.btn:hover::after { transform: translateX(120%); transition: transform 0.8s var(--ease); }
.btn.ghost { color: var(--ink); background: var(--glass); box-shadow: 0 0 0 1px var(--line-strong) inset; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.btn.ghost:hover { background: var(--glass-hi); box-shadow: 0 0 0 1px rgba(var(--lime-rgb), 0.6) inset; }
.btn.ghost::after { display: none; }

/* ---------- fixed background scene (stays behind the whole page) ---------- */
.bgfx { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; will-change: opacity; }
.streams { position: absolute; left: 0; top: 0; width: 100%; height: 100%; pointer-events: none; -webkit-mask-image: linear-gradient(#000 55%, transparent); mask-image: linear-gradient(#000 55%, transparent); }
.streams .base { fill: none; stroke: rgba(190, 255, 120, 0.1); stroke-width: 1; }
.streams .pulse { fill: none; stroke: url(#pg); stroke-width: 1.6; stroke-linecap: round; stroke-dasharray: 70 1000; animation: flow 7s linear infinite; }
.streams g.glow { filter: drop-shadow(0 0 5px rgba(var(--lime-rgb), 0.75)); }
@keyframes flow { from { stroke-dashoffset: 70; } to { stroke-dashoffset: -1000; } }

.scene { --p: min(900px, 168vw); --rx: 74deg; --rz: 0deg; --sc: 1; --jy: 0px; --js: 1; position: absolute; left: 0; right: 0; top: 64px; height: 380px; max-width: 1100px; margin-inline: auto; perspective: 1100px; pointer-events: none; }
.platform { position: absolute; left: 50%; top: 318px; width: var(--p); height: var(--p); margin: calc(var(--p) / -2) 0 0 calc(var(--p) / -2); transform: rotateX(var(--rx)) rotateZ(var(--rz)) scale(var(--sc)); transform-style: preserve-3d; }
.disc, .tickring, .core { position: absolute; inset: 0; margin: auto; border-radius: 50%; }
.d1 { width: 100%; height: 100%; overflow: hidden; border: 1px solid rgba(var(--lime-rgb), 0.3); background: radial-gradient(closest-side, rgba(70, 150, 20, 0.3), rgba(20, 60, 12, 0.3) 62%, rgba(4, 6, 4, 0)); box-shadow: inset 0 0 120px rgba(80, 170, 20, 0.35), 0 0 140px rgba(80, 170, 20, 0.25); -webkit-mask-image: radial-gradient(closest-side, #000 70%, transparent); mask-image: radial-gradient(closest-side, #000 70%, transparent); }
.circuit { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.75; }
.circuit path { fill: none; stroke: rgba(var(--lime-rgb), 0.5); stroke-width: 1.1; stroke-linejoin: round; }
.circuit circle { fill: #e6ffa8; }
.d2 { width: 74%; height: 74%; border: 1px solid rgba(var(--lime-rgb), 0.55); box-shadow: 0 0 44px rgba(var(--lime-rgb), 0.4), inset 0 0 70px rgba(var(--lime-rgb), 0.22); background: radial-gradient(closest-side, transparent 55%, rgba(var(--lime-rgb), 0.1)); }
.tickring { width: 60%; height: 60%; background: repeating-conic-gradient(rgba(220, 255, 140, 0.85) 0 0.5deg, transparent 0.5deg 4deg); -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 26px), #000 calc(100% - 25px)); mask: radial-gradient(farthest-side, transparent calc(100% - 26px), #000 calc(100% - 25px)); animation: spin 90s linear infinite; }
.d3 { width: 44%; height: 44%; border: 1px dashed rgba(220, 255, 140, 0.55); box-shadow: 0 0 30px rgba(var(--lime-rgb), 0.3); animation: spin 50s linear infinite reverse; }
.d4 { width: 28%; height: 28%; border: 2px solid rgba(235, 255, 170, 0.85); background: radial-gradient(closest-side, rgba(var(--lime-rgb), 0.4), rgba(70, 150, 20, 0.2)); box-shadow: 0 0 60px rgba(var(--lime-rgb), 0.7), inset 0 0 40px rgba(var(--lime-rgb), 0.45); }
.core { width: 10%; height: 10%; background: radial-gradient(closest-side, #fff, rgba(220, 255, 140, 0.9) 40%, transparent); filter: blur(3px); animation: glowpulse 4.6s ease-in-out infinite; }
@keyframes glowpulse { 50% { opacity: 0.55; transform: scale(1.4); } }
@keyframes spin { to { transform: rotate(360deg); } }
.beam { position: absolute; left: 50%; top: -10px; width: 240px; height: 420px; margin-left: -120px; background: linear-gradient(to top, rgba(var(--lime-rgb), 0.5), rgba(var(--lime-rgb), 0.1) 60%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 38%, #000 62%, transparent); mask-image: linear-gradient(90deg, transparent, #000 38%, #000 62%, transparent); filter: blur(8px); animation: beam 5s ease-in-out infinite; }
@keyframes beam { 50% { opacity: 0.6; } }
.hero-jelly { position: absolute; left: 50%; top: 0; width: min(300px, 70vw); margin-left: calc(min(300px, 70vw) / -2); translate: 0 var(--jy); scale: var(--js); pointer-events: none; animation: float 10s ease-in-out infinite; }
.hero-jelly svg { width: 100%; height: auto; overflow: visible; }
@keyframes float { 50% { transform: translateY(-18px); } }
.j-bell { transform-origin: 50% 8%; animation: pulse 4.6s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { transform: scale(1, 1); } 45% { transform: scale(1.035, 0.955); } }
.j-t { transform-origin: 50% 0; animation: sway 6s ease-in-out infinite alternate; }
.j-t:nth-child(2) { animation-duration: 7.2s; animation-delay: -1.4s; }
.j-t:nth-child(3) { animation-duration: 5.4s; animation-delay: -2.8s; }
.j-t:nth-child(4) { animation-duration: 8.1s; animation-delay: -0.6s; }
.j-t:nth-child(5) { animation-duration: 6.6s; animation-delay: -3.9s; }
.j-t:nth-child(6) { animation-duration: 7.8s; animation-delay: -2.1s; }
@keyframes sway { from { transform: rotate(-3.2deg) skewX(-2deg); } to { transform: rotate(3.2deg) skewX(2deg); } }
.js .scene { opacity: 0; transition: opacity 1.8s 0.2s ease; }
.js.ready .scene { opacity: 1; }

/* ---------- hero ---------- */
.hero { position: relative; padding: 104px 0 40px; text-align: center; overflow: clip; }
.hero-in { position: relative; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px 7px 12px; border-radius: 999px; font-size: 13px; letter-spacing: 0.04em; color: var(--ink-2); background: var(--glass); border: 1px solid var(--line); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.pill i { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 0 rgba(var(--lime-rgb), 0.7); animation: ping 2.4s ease-out infinite; }
@keyframes ping { 70%, 100% { box-shadow: 0 0 0 10px rgba(var(--lime-rgb), 0); } }
.display { font-family: var(--serif); font-size: clamp(34px, 5.2vw, 66px); line-height: 1.08; letter-spacing: -0.005em; margin: 26px auto 0; max-width: 16em; color: var(--ink); text-wrap: balance; filter: drop-shadow(0 2px 22px rgba(0, 0, 0, 0.75)); }
.display .wi { background: linear-gradient(180deg, #ffffff 15%, #b4bcaa 95%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.display em .wi { background: linear-gradient(100deg, #f1ffc2, var(--lime) 45%, var(--lime-2) 80%, #f1ffc2); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer 7s linear infinite; }
@keyframes shimmer { to { background-position: -220% 0; } }
.display em, h2 em { font-style: italic; padding-right: 0.06em; }
em.pt { margin-right: -0.17em; }
.lead { max-width: 38em; margin: 22px auto 0; font-size: clamp(16px, 1.6vw, 18px); color: #cdd5c3; text-wrap: pretty; text-shadow: 0 1px 14px rgba(0, 0, 0, 0.9); }
.cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin: 36px 0 0; }

/* word-by-word mask reveal */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.14em; margin-bottom: -0.14em; }
.wi { display: inline-block; }
.js .wi { transform: translateY(112%); transition: transform 1.1s var(--ease) calc(var(--i, 0) * 70ms + var(--base, 0s)); }
.js.ready .hero .wi, .js [data-r].in .wi { transform: none; }
.js.ready .hero .wi { --base: 0.5s; }
h2 .wi { color: var(--ink); }
h2 em .wi { color: var(--lime); }

.js .hero-in > * { opacity: 0; transform: translateY(26px); filter: blur(8px); }
.js.ready .hero-in > * { animation: rise 1.1s var(--ease) forwards; }
.js.ready .hero-in > :nth-child(1) { animation-delay: 0.3s; }
.js.ready .hero-in > :nth-child(3) { animation-delay: 0.9s; }
.js.ready .hero-in > :nth-child(4) { animation-delay: 1.05s; }
.js.ready .hero-in > :nth-child(2) { opacity: 1; transform: none; filter: none; animation: none; }
@keyframes rise { to { opacity: 1; transform: none; filter: none; } }

/* ---------- tilted example view ---------- */
.stage { position: relative; margin-top: 44px; }
.shot { position: relative; perspective: 1700px; padding: 30px 0 10px; }
.shot-glow { position: absolute; left: 50%; top: 40%; width: min(980px, 92%); height: 60%; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(var(--lime-rgb), 0.3), transparent); filter: blur(46px); pointer-events: none; }
.shot-3d { position: relative; transform-style: preserve-3d; will-change: transform; transform: rotateX(10deg) rotateY(-16deg) rotateZ(1.2deg); }
.device { position: relative; margin: 0; border-radius: 20px; overflow: hidden; background: #0b0f0a; border: 1px solid var(--line-strong);
  box-shadow: 0 60px 140px rgba(0, 0, 0, 0.75), 0 0 90px rgba(var(--lime-rgb), 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.09); }
.device img { display: block; width: 100%; height: auto; }
.compare { --split: 50%; }
/* website only: the app screenshots are blue; rotate their hue to the site's lime green (files stay untouched) */
.compare img { filter: hue-rotate(-112deg) saturate(1.12); }
.compare .c-light { position: absolute; inset: 0; height: 100%; clip-path: polygon(calc(var(--split) + 5%) 0, 100% 0, 100% 100%, calc(var(--split) - 5%) 100%); }
.compare .c-line { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, #f6ffd0, var(--lime)); box-shadow: 0 0 24px var(--lime);
  clip-path: polygon(calc(var(--split) + 5% - 0.12%) 0, calc(var(--split) + 5% + 0.12%) 0, calc(var(--split) - 5% + 0.12%) 100%, calc(var(--split) - 5% - 0.12%) 100%); }
.c-tag { position: absolute; bottom: 16px; z-index: 2; padding: 6px 14px; border-radius: 999px; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.c-tag.l { left: 16px; color: var(--ink); background: rgba(8, 14, 6, 0.6); border: 1px solid var(--line-strong); }
.c-tag.r { right: 16px; color: #0a1204; background: rgba(240, 255, 200, 0.85); border: 1px solid rgba(255, 255, 255, 0.6); }
.device::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(115deg, rgba(255, 255, 255, 0.1), transparent 32%, transparent 70%, rgba(var(--lime-rgb), 0.08)); }
.float { position: absolute; text-align: left; border-radius: 20px; background: var(--glass-hi); border: 1px solid var(--line-strong); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), 0 0 40px rgba(var(--lime-rgb), 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.08); }
.f1 { left: -3%; bottom: 14%; width: min(390px, 62%); padding: 18px 20px; transform: translateZ(90px); }
.f2 { right: 3%; top: -7%; padding: 14px 18px; display: flex; align-items: center; gap: 12px; transform: translateZ(60px); font-size: 14px; color: var(--ink); }
.f2 i { width: 9px; height: 9px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 0 rgba(var(--lime-rgb), 0.7); animation: ping 2.4s ease-out infinite; }
.f2 small { display: block; color: var(--muted); font-size: 12px; }
.msg { font-size: 14.5px; line-height: 1.5; }
.msg.user { color: var(--ink); padding: 10px 14px; border-radius: 14px; border-bottom-right-radius: 4px; background: rgba(var(--lime-rgb), 0.12); border: 1px solid rgba(var(--lime-rgb), 0.28); margin-bottom: 10px; min-height: 42px; }
.msg.ai { color: var(--ink-2); min-height: 66px; }
.msg.ai #t-ai { white-space: pre-line; }
.who { display: block; margin-bottom: 4px; font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--lime); }
.caret::after { content: ""; display: inline-block; width: 2px; height: 1.05em; margin-left: 2px; vertical-align: -0.15em; background: var(--lime); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.dots { display: inline-flex; gap: 4px; }
.dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--lime); animation: dot 1.1s ease-in-out infinite; }
.dots i:nth-child(2) { animation-delay: 0.15s; }
.dots i:nth-child(3) { animation-delay: 0.3s; }
@keyframes dot { 0%, 80%, 100% { opacity: 0.25; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-4px); } }
.fine { margin-top: 22px; font-size: 13px; color: var(--muted); text-align: center; }

/* ---------- marquee ---------- */
.marquee { position: relative; margin-top: 56px; padding: 34px 0; overflow: hidden; border-block: 1px solid var(--line); }
.marquee .track { display: flex; width: max-content; white-space: nowrap; will-change: transform; }
.marquee .grp { display: inline-flex; }
.marquee .m { padding-right: 0.55em; font: 400 clamp(46px, 8vw, 112px)/1.05 var(--serif); color: transparent; -webkit-text-stroke: 1px rgba(210, 240, 170, 0.5); }
.marquee .m:nth-child(even) { color: var(--ink); -webkit-text-stroke: 0; font-style: italic; }
.marquee .m:nth-child(3n) { color: var(--lime); -webkit-text-stroke: 0; }

/* ---------- sections ---------- */
.sec { position: relative; padding: 120px 0; }
.sec-head { text-align: center; max-width: 780px; margin: 0 auto 56px; }
.eyebrow { margin: 0 0 16px; font-size: 12px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--lime); }
h2 { font-family: var(--serif); font-size: clamp(36px, 5.4vw, 66px); line-height: 1.04; letter-spacing: -0.01em; color: var(--ink); text-wrap: balance; }
h3 { font: 500 19px/1.3 var(--sans); color: var(--ink); margin-bottom: 8px; }
.sub { margin: 20px auto 0; color: var(--ink-2); max-width: 36em; }

.js [data-r] { opacity: 0; transform: translateY(30px); 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 [data-r].in { opacity: 1; transform: none; filter: none; }

.card, .tick, .step, .panel { position: relative; border-radius: 24px; background: linear-gradient(160deg, rgba(60, 90, 40, 0.24), rgba(10, 18, 8, 0.16)); border: 1px solid rgba(200, 240, 160, 0.2);
  -webkit-backdrop-filter: blur(34px) saturate(1.5); backdrop-filter: blur(34px) saturate(1.5); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.1), inset 0 0 40px rgba(var(--lime-rgb), 0.03); }
.spot::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(var(--lime-rgb), 0.14), transparent 45%); opacity: 0; transition: opacity 0.4s; }
.spot::after { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 0%), rgba(var(--lime-rgb), 0.9), transparent 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity 0.4s; }
.spot:hover::before, .spot:hover::after { opacity: 1; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; perspective: 1200px; }
.card { padding: 34px 30px 36px; transform-style: preserve-3d; }
.card .ic { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 24px; border-radius: 14px; color: var(--lime); background: rgba(var(--lime-rgb), 0.08); border: 1px solid rgba(var(--lime-rgb), 0.28); box-shadow: 0 0 28px rgba(var(--lime-rgb), 0.15); }
.card .ic svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.card p { margin: 0; color: var(--ink-2); font-size: 16px; }

.two { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.two .left h2 { text-align: left; }
.two .left p { color: var(--ink-2); margin-top: 22px; max-width: 30em; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.tick { padding: 20px 22px 20px 68px; color: var(--ink); }
.tick .ck { position: absolute; left: 22px; top: 50%; width: 30px; height: 30px; margin-top: -15px; }
.tick .ck circle { fill: rgba(var(--lime-rgb), 0.08); stroke: rgba(var(--lime-rgb), 0.45); }
.tick .ck path { fill: none; stroke: var(--lime); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 22; stroke-dashoffset: 22; transition: stroke-dashoffset 0.8s 0.5s var(--ease); }
.tick.in .ck path { stroke-dashoffset: 0; }

.steps { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.steps::before { content: ""; position: absolute; left: 6%; right: 6%; top: 49px; height: 1px; background: linear-gradient(90deg, transparent, var(--lime), var(--lime-2), transparent); transform: scaleX(0); transform-origin: left; transition: transform 2s 0.3s var(--ease); opacity: 0.65; }
.steps.in::before { transform: scaleX(1); }
.step { padding: 34px 26px 30px; }
.step .n { display: grid; place-items: center; width: 30px; height: 30px; margin-bottom: 26px; border-radius: 50%; font: 600 13px var(--sans); color: #0a1204; background: linear-gradient(180deg, #e8ff9a, var(--lime)); box-shadow: 0 0 22px rgba(var(--lime-rgb), 0.7); }
.step p { margin: 0; color: var(--ink-2); font-size: 15.5px; }

.product { display: grid; place-items: center; }
.orbit { position: relative; width: min(340px, 80vw); aspect-ratio: 1; display: grid; place-items: center; }
.orbit img { width: 50%; filter: drop-shadow(0 0 36px rgba(var(--lime-rgb), 0.6)) drop-shadow(0 0 90px rgba(80, 170, 20, 0.4)); }
.orbit .ring { position: absolute; inset: 0; border-radius: 50%; border: 1px dashed rgba(200, 240, 150, 0.3); animation: spin 60s linear infinite; }
.orbit .ring.r2 { inset: 11%; border-style: solid; border-color: rgba(var(--lime-rgb), 0.18); animation-duration: 90s; animation-direction: reverse; }
.orbit .ring::after { content: ""; position: absolute; left: 50%; top: -4px; width: 8px; height: 8px; margin-left: -4px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 14px var(--lime); }

.contact { position: relative; text-align: center; padding: 70px 30px; border-radius: 34px; overflow: hidden; }
.contact::before { content: ""; position: absolute; left: 50%; top: -120px; width: 80%; height: 280px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(var(--lime-rgb), 0.32), transparent); filter: blur(24px); pointer-events: none; }
.contact > * { position: relative; }
.contact p { color: var(--ink-2); }
.contact .cta { margin-top: 28px; }
.note { font-size: 13.5px; color: var(--muted); }
.note a { color: var(--ink-2); }

.foot { position: relative; padding: 36px 0 0; border-top: 1px solid var(--line); overflow: hidden; }
.foot p { margin: 0; color: var(--muted); }
.foot-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; }
.foot nav { display: flex; gap: 6px; }
.foot nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 999px; color: var(--ink-2); text-decoration: none; font-size: 15px; }
.foot nav a:hover { color: var(--ink); background: rgba(190, 235, 150, 0.1); }
.wordmark { margin-top: 10px; text-align: center; font: 400 clamp(64px, 18.5vw, 280px)/0.92 var(--serif); letter-spacing: -0.02em; white-space: nowrap; user-select: none;
  background: linear-gradient(180deg, rgba(var(--lime-rgb), 0.9), rgba(var(--lime-rgb), 0.04) 88%); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: 0.04em; }

/* ---------- legal pages ---------- */
.legal-wrap { padding: 150px 0 80px; }
.legal { padding: 48px; }
.legal h1 { font-family: var(--serif); font-size: clamp(38px, 6vw, 58px); line-height: 1.05; margin-bottom: 24px; color: var(--ink); }
.legal h2 { font: 500 20px/1.3 var(--sans); letter-spacing: 0; margin: 30px 0 8px; color: var(--ink); }
.legal p { color: var(--ink-2); }
.todo { background: rgba(255, 196, 60, 0.9); color: #1a1300; padding: 1px 6px; border-radius: 6px; font-style: normal; }

@media (max-width: 960px) {
  .two { grid-template-columns: 1fr; gap: 40px; }
  .two .left h2, .two .left { text-align: center; }
  .two .left p { margin-inline: auto; }
  .cards { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps::before { display: none; }
  .f1 { left: 2%; width: min(340px, 78%); }
  .f2 { display: none; }
}
@media (max-width: 860px) { .links { display: none; } .nav-cta { margin-left: auto; } }
@media (max-width: 560px) {
  .sec { padding: 84px 0; }
  .hero { padding-top: 96px; }
  .scene { height: 400px; }
  .platform { top: 340px; }
  .steps { grid-template-columns: 1fr; }
  .legal { padding: 30px 22px; }
  .contact { padding: 48px 20px; }
  .shot-3d { transform: rotateX(6deg) rotateY(-8deg); }
  .f1 { position: relative; left: 0; bottom: 0; width: 100%; margin-top: 14px; transform: none; }
}
@media (max-width: 440px) { .brand span { display: none; } .nav-cta { padding: 0 16px; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js [data-r], .js .hero-in > *, .js .scene { opacity: 1; transform: none; filter: none; }
  .js .wi { transform: none; }
  .tick .ck path { stroke-dashoffset: 0; }
  .steps::before { transform: scaleX(1); }
  .display em .wi { background-position: 0 0; }
  .cursor { display: none; }
}
@media (prefers-contrast: more) { :root { --ink-2: #d6dccd; --muted: #b9c0b0; --line: rgba(220, 245, 190, 0.34); } }
