/* Phloem landing v2 — dark, neon green, real 3D. */
:root {
  --bg: #050806; --bg2: #090d0a; --panel: #0c120e; --panel2: #10180f; --line: #182619; --line2: #233825;
  --text: #ecf6ee; --muted: #93a99a; --dim: #748a7b;
  --neon: #39ff14; --neon2: #5cff3d; --neon-dim: #26b50d; --neon-ink: #04140a;
  --sans: Inter, -apple-system, "Segoe UI", Roboto, sans-serif; --mono: "JetBrains Mono", ui-monospace, Menlo, monospace; --display: Poppins, Inter, sans-serif;
  --r: 16px; --gutter: clamp(16px, 5vw, 72px);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; } /* decorative blobs / the hero floor never widen the page on phones */
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -0.02em; text-wrap: balance; margin: 0; }
.neon { color: var(--neon); text-shadow: 0 0 22px rgba(57, 255, 20, 0.45); }
.mono { font-family: var(--mono); }
.dim { color: var(--dim); }
.small { font-size: 12px; }
.eyebrow { font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--neon-dim); margin-bottom: 14px; }

/* background */
.bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.5; will-change: transform; }
.b1 { width: 60vw; height: 60vw; left: -18vw; top: -22vw; background: radial-gradient(circle, rgba(57, 255, 20, 0.22), transparent 60%); }
.b2 { width: 48vw; height: 48vw; right: -14vw; top: 22vh; background: radial-gradient(circle, rgba(38, 181, 13, 0.18), transparent 60%); }
.b3 { width: 40vw; height: 40vw; left: 30vw; bottom: -20vw; background: radial-gradient(circle, rgba(57, 255, 20, 0.12), transparent 60%); }
.grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(57, 255, 20, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(57, 255, 20, 0.05) 1px, transparent 1px); background-size: 64px 64px; -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 20%, transparent 70%); mask-image: radial-gradient(ellipse at 50% 0%, #000 20%, transparent 70%); }
.grain { position: absolute; inset: 0; opacity: 0.06; 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='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 30; background: rgba(57, 255, 20, 0.08); }
.progress i { display: block; height: 100%; width: 0; background: var(--neon); box-shadow: 0 0 12px var(--neon); }

/* nav */
.nav { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 20px; padding: 14px var(--gutter); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); background: rgba(5, 8, 6, 0.55); border-bottom: 1px solid transparent; transition: border-color 0.2s, background 0.2s; }
.nav.scrolled { border-bottom-color: var(--line); background: rgba(5, 8, 6, 0.85); }
.brand { display: flex; align-items: center; gap: 8px; }
.mark { width: 24px; height: 29px; filter: drop-shadow(0 0 8px rgba(57, 255, 20, 0.55)); }
.mark.big { width: 56px; height: 67px; margin: 0 auto 10px; }
.mark.float { animation: float 6s ease-in-out infinite; }
.word { font-family: var(--display); font-weight: 800; font-size: 20px; letter-spacing: -0.02em; }
.word.studio { color: var(--neon); font-weight: 600; margin-left: 2px; text-shadow: 0 0 14px rgba(57, 255, 20, 0.4); }
.links { display: flex; gap: 22px; margin-left: 18px; color: var(--muted); font-weight: 500; font-size: 14px; }
.links a:hover { color: var(--text); }
.nav-cta { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.lang { display: inline-flex; border: 1px solid var(--line2); border-radius: 10px; overflow: hidden; background: var(--panel); }
.lang button { height: 36px; min-width: 42px; padding: 0 10px; border: 0; background: transparent; color: var(--muted); font: 600 12px var(--mono); cursor: pointer; letter-spacing: 0.08em; }
.lang button.on { background: rgba(57, 255, 20, 0.14); color: var(--neon); }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: 12px; font-weight: 700; font-size: 14px; border: 1px solid var(--line2); background: var(--panel2); color: var(--text); transition: transform 0.15s, box-shadow 0.15s, background 0.15s, border-color 0.15s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); border-color: var(--neon-dim); }
.btn.sm { height: 36px; padding: 0 14px; font-size: 13px; border-radius: 10px; }
.btn.lg { height: 52px; padding: 0 26px; font-size: 15px; border-radius: 14px; }
.btn.primary { background: var(--neon); color: var(--neon-ink); border-color: var(--neon); box-shadow: 0 0 0 1px rgba(57, 255, 20, 0.3), 0 10px 40px -10px rgba(57, 255, 20, 0.8); }
.btn.primary:hover { background: var(--neon2); box-shadow: 0 0 0 1px rgba(57, 255, 20, 0.5), 0 14px 50px -10px rgba(57, 255, 20, 0.9); }
.btn.ghost { background: rgba(255, 255, 255, 0.03); }
.btn .arr { transition: transform 0.15s; }
.btn:hover .arr { transform: translateX(3px); }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.cta-row.center { justify-content: center; }

/* ---------- HERO: product story (CSS 3D laptop) ---------- */
.hero { position: relative; isolation: isolate; overflow: clip; min-height: calc(100vh - 64px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(20px, 4vw, 56px); align-items: center; padding: clamp(28px, 5vh, 64px) var(--gutter) 40px; max-width: 1400px; margin: 0 auto; }
.hero-copy { position: relative; z-index: 2; max-width: 600px; will-change: transform, opacity; }
.hero-floor { position: absolute; left: 50%; top: 58%; width: 180vw; height: 70vh; transform: translateX(-50%) perspective(640px) rotateX(74deg); transform-origin: 50% 0; z-index: 0; pointer-events: none; opacity: 0.75;
  background-image: linear-gradient(rgba(57, 255, 20, 0.22) 1.5px, transparent 1.5px), linear-gradient(90deg, rgba(57, 255, 20, 0.22) 1.5px, transparent 1.5px); background-size: 90px 90px;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 18%, #000 60%, transparent 96%), radial-gradient(ellipse at 50% 0%, #000 30%, transparent 75%); mask-image: linear-gradient(180deg, transparent, #000 18%, #000 60%, transparent 96%), radial-gradient(ellipse at 50% 0%, #000 30%, transparent 75%); -webkit-mask-composite: source-in; mask-composite: intersect;
  animation: floor 5s linear infinite; }
.hero-floor::before { content: ""; position: absolute; left: 0; right: 0; top: -2px; height: 4px; background: linear-gradient(90deg, transparent, rgba(57, 255, 20, 0.9), transparent); box-shadow: 0 0 30px 6px rgba(57, 255, 20, 0.35); }
@keyframes floor { to { background-position: 0 90px, 0 0; } }
.stage-wrap { transform-origin: 50% 85%; will-change: transform, opacity; }
.scroll-hint { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 6px; font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--dim); z-index: 3; }
.scroll-hint i { width: 1px; height: 30px; background: linear-gradient(var(--neon), transparent); animation: drop 1.6s ease-in-out infinite; }
@keyframes drop { 0% { transform: scaleY(0); transform-origin: top; } 60% { transform: scaleY(1); transform-origin: top; } 100% { transform: scaleY(0); transform-origin: bottom; } }
.pill { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--neon); border: 1px solid rgba(57, 255, 20, 0.35); background: rgba(57, 255, 20, 0.08); border-radius: 999px; padding: 6px 12px 6px 8px; margin-bottom: 22px; }
.pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--neon); box-shadow: 0 0 10px var(--neon); animation: pulse 2.2s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
h1 { font-size: clamp(38px, 4.6vw, 66px); line-height: 1.02; font-weight: 800; }
.lead { color: var(--muted); font-size: clamp(15px, 1.2vw, 18px); max-width: 540px; margin: 22px 0 0; }
.trust { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 26px; color: var(--dim); font-size: 12px; }
.trust b { font-weight: 600; color: var(--muted); padding: 4px 10px; border: 1px solid var(--line); border-radius: 999px; background: rgba(5, 8, 6, 0.5); }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }

.stage-wrap { position: relative; }
.stage { position: relative; width: 100%; aspect-ratio: 1.18; perspective: 1500px; perspective-origin: 45% 40%; container-type: inline-size; --hue: 0deg; }
.stage::before { content: ""; position: absolute; left: 4%; right: 10%; bottom: 10%; height: 24%; background: radial-gradient(ellipse at 50% 100%, rgba(57, 255, 20, 0.28), rgba(57, 255, 20, 0.06) 45%, transparent 70%); filter: blur(18px); pointer-events: none; }
.laptop { position: absolute; left: 0; top: 4%; width: 78%; transform-style: preserve-3d; transform: rotateY(14deg) rotateX(4deg); transition: transform 0.25s ease-out; will-change: transform; }
.lid { position: relative; transform-origin: 50% 100%; transform: rotateX(6deg); transform-style: preserve-3d; }
.bezel { position: relative; background: #0b0f0c; border-radius: 1.8cqw 1.8cqw 0.8cqw 0.8cqw; padding: 1.6cqw 1.5cqw 1.9cqw; box-shadow: inset 0 0 0 0.25cqw #2c332e, 0 50px 90px -30px #000, 0 0 90px -20px rgba(57, 255, 20, 0.35); }
.cam { position: absolute; top: 0.55cqw; left: 50%; width: 0.6cqw; height: 0.6cqw; margin-left: -0.3cqw; border-radius: 50%; background: #1b231d; box-shadow: inset 0 0 0.2cqw #000; }
.scr { position: relative; aspect-ratio: 16 / 10; background: #0c120e; border-radius: 0.5cqw; overflow: hidden; display: flex; flex-direction: column; font-size: 1.15cqw; color: var(--text); }
.ui-top { display: flex; align-items: center; gap: 1cqw; height: 3.4cqw; padding: 0 1.2cqw; background: #0a0e0b; border-bottom: 1px solid var(--line); flex: none; }
.dots { display: flex; gap: 0.45cqw; }
.dots i { width: 0.9cqw; height: 0.9cqw; border-radius: 50%; }
.dots i:nth-child(1) { background: #ff5f57; } .dots i:nth-child(2) { background: #febc2e; } .dots i:nth-child(3) { background: #28c840; }
.ui-title { font: 800 1.25cqw var(--display); margin-left: 0.6cqw; letter-spacing: -0.02em; }
.ui-title em { font-style: normal; color: var(--neon); font-weight: 600; }
.ui-tabs { margin-left: auto; display: flex; gap: 0.3cqw; background: #121a14; border-radius: 0.6cqw; padding: 0.25cqw; }
.ui-tabs i { font-style: normal; padding: 0.35cqw 0.9cqw; border-radius: 0.45cqw; color: var(--muted); font-size: 1.05cqw; font-weight: 600; }
.ui-tabs i:first-child { background: #1d2a20; color: var(--text); }
.ui-btn { padding: 0.55cqw 1.1cqw; border-radius: 0.6cqw; background: var(--neon); color: var(--neon-ink); font-weight: 800; font-size: 1.1cqw; transition: transform 0.15s, box-shadow 0.15s; white-space: nowrap; }
.ui-btn.press { transform: scale(0.94); box-shadow: 0 0 0 0.4cqw rgba(57, 255, 20, 0.35); }
.ui-body { flex: 1; display: grid; grid-template-columns: 11.5cqw minmax(0, 1fr) 14cqw; min-height: 0; }
.ui-left, .ui-right { padding: 1cqw; background: #0a0e0b; display: flex; flex-direction: column; gap: 0.7cqw; min-height: 0; overflow: hidden; }
.ui-left { border-right: 1px solid var(--line); } .ui-right { border-left: 1px solid var(--line); }
.ui-lab { font: 600 0.8cqw var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim); margin-top: 0.3cqw; }
.ui-t { width: 100%; height: 7.2cqw; object-fit: cover; object-position: top; border-radius: 0.5cqw; border: 0.15cqw solid var(--line2); opacity: 0.8; transition: border-color 0.2s, opacity 0.2s, box-shadow 0.2s; }
.ui-t.sel { border-color: var(--neon); opacity: 1; box-shadow: 0 0 0 0.25cqw rgba(57, 255, 20, 0.25); }
.ui-canvas { position: relative; display: grid; place-items: center; padding: 1.4cqw; background: radial-gradient(ellipse at 50% 0%, #10180f, #0c120e 70%); overflow: hidden; }
.ui-empty { position: absolute; color: var(--dim); font-size: 1.1cqw; transition: opacity 0.3s; }
.ui-mail { position: relative; width: 17.5cqw; border-radius: 0.4cqw; overflow: hidden; box-shadow: 0 1.2cqw 3cqw -1cqw #000; opacity: 0; transform: scale(0.92) translateY(1cqw); transition: opacity 0.45s, transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1); }
.ui-mail img { width: 100%; display: block; filter: hue-rotate(var(--hue)); transition: filter 0.6s; }
.stage.has-mail .ui-mail { opacity: 1; transform: none; }
.stage.has-mail .ui-empty { opacity: 0; }
.stage.dim-mail .ui-mail { opacity: 0.2; }
.ui-sel { position: absolute; left: 6%; right: 6%; top: 9%; height: 16%; border: 0.18cqw solid var(--neon); box-shadow: 0 0 0 0.18cqw rgba(57, 255, 20, 0.25); opacity: 0; transition: opacity 0.25s; }
.ui-sel::before, .ui-sel::after { content: ""; position: absolute; width: 0.8cqw; height: 0.8cqw; background: var(--neon); border-radius: 50%; }
.ui-sel::before { left: -0.5cqw; top: -0.5cqw; } .ui-sel::after { right: -0.5cqw; bottom: -0.5cqw; }
.stage.sel .ui-sel { opacity: 1; }
.ui-scan { position: absolute; left: 0; right: 0; top: 0; height: 0.25cqw; background: var(--neon); box-shadow: 0 0 1cqw var(--neon), 0 0 3cqw rgba(57, 255, 20, 0.6); opacity: 0; }
.stage.scan .ui-scan { animation: scan 1s linear forwards; }
@keyframes scan { 0% { top: 0; opacity: 1; } 95% { opacity: 1; } 100% { top: 100%; opacity: 0; } }
.ui-cuts i { position: absolute; left: 0; right: 0; height: 1px; background: var(--neon); box-shadow: 0 0 0.6cqw var(--neon); opacity: 0; transition: opacity 0.2s; }
.ui-cuts i:nth-child(1) { top: 9%; } .ui-cuts i:nth-child(2) { top: 25%; transition-delay: 0.12s; } .ui-cuts i:nth-child(3) { top: 44%; transition-delay: 0.24s; } .ui-cuts i:nth-child(4) { top: 60%; transition-delay: 0.36s; } .ui-cuts i:nth-child(5) { top: 76%; transition-delay: 0.48s; } .ui-cuts i:nth-child(6) { top: 90%; transition-delay: 0.6s; }
.stage.cuts .ui-cuts i { opacity: 1; }
.sw { display: flex; gap: 0.55cqw; flex-wrap: wrap; }
.sw i { width: 1.9cqw; height: 1.9cqw; border-radius: 50%; background: var(--c); border: 0.15cqw solid rgba(255, 255, 255, 0.15); transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s; }
.sw i.sel { border-color: #fff; transform: scale(1.18); box-shadow: 0 0 0 0.2cqw rgba(255, 255, 255, 0.2); }
.ui-chk { display: flex; align-items: center; gap: 0.5cqw; font-size: 1cqw; color: var(--muted); }
.ui-chk i { font-style: normal; color: var(--neon); font-weight: 800; }
.ui-dest { display: flex; align-items: center; gap: 0.6cqw; font-size: 1cqw; font-weight: 600; padding: 0.5cqw 0.7cqw; border: 1px solid var(--line2); border-radius: 0.6cqw; }
.ui-dest b { width: 1.8cqw; height: 1.8cqw; border-radius: 0.4cqw; background: #ffe01b; color: #000; display: grid; place-items: center; font-size: 1cqw; }
.base { position: absolute; left: -4%; top: 100%; width: 108%; height: 20cqw; transform-origin: 50% 0; transform: rotateX(80deg); background: linear-gradient(180deg, #2b322d, #171c18 60%, #0f1310); border-radius: 0 0 2.4cqw 2.4cqw; box-shadow: 0 2cqw 5cqw -1cqw rgba(0, 0, 0, 0.8); }
.base::before { content: ""; position: absolute; left: 7%; right: 7%; top: 1.6cqw; height: 8.5cqw; border-radius: 0.6cqw; background: #121714; box-shadow: inset 0 0 0 1px #1f2722; background-image: repeating-linear-gradient(90deg, transparent 0 2.3cqw, #0b0e0c 2.3cqw 2.55cqw), repeating-linear-gradient(0deg, transparent 0 2cqw, #0b0e0c 2cqw 2.25cqw); }
.pad { position: absolute; left: 36%; width: 28%; top: 11.6cqw; height: 6.2cqw; border-radius: 0.6cqw; background: #141915; box-shadow: inset 0 0 0 1px #242b26; }
.fly { position: absolute; opacity: 0; border-radius: 0.5cqw; overflow: hidden; box-shadow: 0 2cqw 5cqw -1.5cqw #000, 0 0 4cqw -1cqw rgba(57, 255, 20, 0.5); transition: transform 1s cubic-bezier(0.45, 0.05, 0.2, 1), opacity 0.35s; z-index: 5; pointer-events: none; transform-origin: 50% 50%; }
.fly img { width: 100%; display: block; filter: hue-rotate(var(--hue)); }
.fly.show { opacity: 1; }
.fly.gone { opacity: 0; transition: opacity 0.3s, transform 1s cubic-bezier(0.45, 0.05, 0.2, 1); }
.phone { position: absolute; right: 1%; bottom: 3%; width: 21%; aspect-ratio: 9 / 18.6; border-radius: 3cqw; background: #0c120e; border: 0.35cqw solid #263129; box-shadow: 0 40px 80px -24px #000, 0 0 50px -16px rgba(57, 255, 20, 0.55); overflow: hidden; opacity: 0; transform: translateY(30px) rotateY(-16deg) scale(0.96); transition: opacity 0.5s, transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1); z-index: 4; }
.phone .notch { position: absolute; top: 0.9cqw; left: 50%; width: 36%; height: 0.9cqw; transform: translateX(-50%); border-radius: 1cqw; background: #263129; z-index: 2; }
.phone img { width: 100%; margin-top: 1.9cqw; display: block; filter: hue-rotate(var(--hue)); }
.phone .cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 0.8cqw; background: rgba(5, 8, 6, 0.88); color: var(--muted); font: 600 0.95cqw var(--mono); text-align: center; }
.phone.on { opacity: 1; transform: translateY(0) rotateY(-10deg); }
.toast { position: absolute; right: 0; top: 4%; display: flex; align-items: center; gap: 1cqw; padding: 1cqw 1.4cqw; border-radius: 1.2cqw; background: rgba(12, 18, 14, 0.94); border: 1px solid rgba(57, 255, 20, 0.4); box-shadow: 0 20px 50px -20px #000, 0 0 40px -16px rgba(57, 255, 20, 0.6); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); opacity: 0; transform: translateY(-12px) scale(0.96); transition: opacity 0.35s, transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1); z-index: 6; font-size: 1.4cqw; }
.toast b { width: 2.6cqw; height: 2.6cqw; border-radius: 50%; background: var(--neon); color: var(--neon-ink); display: grid; place-items: center; font-size: 1.4cqw; flex: none; }
.toast strong { display: block; font-weight: 700; }
.toast small { display: block; color: var(--muted); font-size: 1cqw; margin-top: 0.15cqw; }
.toast.t2 { top: auto; bottom: 30%; right: 25%; border-color: var(--line2); }
.toast.t2 b { background: #1d2a20; color: var(--text); font-size: 1.2cqw; }
.toast.on { opacity: 1; transform: none; }
.cur { position: absolute; left: 0; top: 0; z-index: 10; pointer-events: none; transform: translate(60cqw, 60cqw); transition: transform 0.75s cubic-bezier(0.3, 0.7, 0.2, 1); filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.7)); }
.cur svg { width: 3cqw; height: 3cqw; display: block; }
.cur .rip { position: absolute; left: 0.7cqw; top: 0.4cqw; width: 3cqw; height: 3cqw; margin: -1.5cqw 0 0 -1.5cqw; border-radius: 50%; border: 0.2cqw solid var(--neon); opacity: 0; }
.cur.click .rip { animation: rip 0.5s ease-out; }
@keyframes rip { 0% { transform: scale(0.3); opacity: 1; } 100% { transform: scale(1.6); opacity: 0; } }
.story-steps { list-style: none; margin: 14px 0 0; padding: 0; display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.story-steps li { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px 5px 5px; border-radius: 999px; border: 1px solid var(--line); background: var(--panel); color: var(--muted); font-size: 12.5px; font-weight: 600; transition: border-color 0.3s, color 0.3s, background 0.3s; }
.story-steps li i { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font: 700 11px var(--mono); font-style: normal; background: var(--line); color: var(--text); transition: background 0.3s, color 0.3s; }
.story-steps li.on { border-color: var(--neon); color: var(--text); background: rgba(57, 255, 20, 0.08); }
.story-steps li.on i { background: var(--neon); color: var(--neon-ink); }
.story-steps li.done i { background: var(--neon-dim); color: var(--neon-ink); }

/* ---------- SLICE (scroll-driven) ---------- */
.slice-track { height: 220vh; height: 220svh; position: relative; padding: 0; max-width: none; }
.slice-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; padding: 0 var(--gutter); max-width: 1360px; margin: 0 auto; }
.slice-copy h2, .sec-head h2, .ai h2, .final h2 { font-size: clamp(28px, 3.6vw, 46px); line-height: 1.08; font-weight: 800; }
.slice-copy p, .sec-head p, .ai p { color: var(--muted); margin: 16px 0 0; font-size: 16px; }
.checks { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-direction: column; gap: 8px; color: var(--text); font-size: 14px; }
.checks li::before { content: "✓"; color: var(--neon); font-weight: 800; margin-right: 10px; }
.slice-stage { position: relative; height: 72vh; perspective: 1400px; transform-style: preserve-3d; transform-origin: 50% 100%; will-change: transform, opacity; }
.slice-copy { will-change: transform, opacity; }
.slice-email { position: absolute; left: 10%; top: 4%; height: 92%; width: auto; aspect-ratio: 480 / 880; max-width: 52%; transform-style: preserve-3d; }
.slice-email .strip { position: absolute; left: 0; width: 100%; background-size: 100% auto; background-repeat: no-repeat; border-radius: 0; box-shadow: 0 0 0 1px rgba(57, 255, 20, 0.0); will-change: transform; transition: box-shadow 0.2s; }
.slice-email .strip.cut { box-shadow: 0 0 0 1px rgba(57, 255, 20, 0.6), 0 20px 50px -20px #000; }
.slice-email .strip .tag { position: absolute; right: -6px; top: 4px; transform: translateX(100%); font: 600 12px var(--mono); color: var(--neon); background: rgba(12, 18, 14, 0.9); border: 1px solid var(--line2); border-radius: 6px; padding: 2px 6px; opacity: 0; transition: opacity 0.2s; white-space: nowrap; }
.slice-email .strip.cut .tag { opacity: 1; }
.scanline { position: absolute; left: 6%; width: 60%; height: 2px; background: var(--neon); box-shadow: 0 0 14px var(--neon), 0 0 40px rgba(57, 255, 20, 0.6); top: 0; opacity: 0; }
.slice-phone { position: absolute; right: 2%; bottom: 2%; width: 24%; aspect-ratio: 9 / 18.5; border-radius: 26px; background: #0c120e; border: 3px solid #233825; box-shadow: 0 40px 80px -24px #000, 0 0 50px -16px rgba(57, 255, 20, 0.6); overflow: hidden; opacity: 0; transform: translateY(40px) rotateY(-18deg); transition: opacity 0.4s, transform 0.6s; }
.slice-phone.on { opacity: 1; transform: translateY(0) rotateY(-10deg); }
.slice-phone .notch { position: absolute; top: 8px; left: 50%; width: 36%; height: 8px; transform: translateX(-50%); border-radius: 8px; background: #233825; z-index: 2; }
.slice-phone img { width: 100%; object-fit: cover; object-position: top; margin-top: 14px; }
.slice-phone .cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 8px; background: rgba(5, 8, 6, 0.85); color: var(--muted); font: 600 12px var(--mono); text-align: center; }
.slice-badge { position: absolute; left: 10%; bottom: 0; padding: 8px 12px; border-radius: 10px; background: rgba(12, 18, 14, 0.92); border: 1px solid var(--line2); font: 600 12px var(--mono); opacity: 0; transition: opacity 0.3s; }
.slice-badge.on { opacity: 1; }

/* ---------- sections ---------- */
section { padding: clamp(56px, 9vh, 110px) var(--gutter); max-width: 1360px; margin: 0 auto; }
.sec-head { max-width: 760px; margin-bottom: 34px; }

/* ---------- PALETTE DEMO ---------- */
.pal-win { max-width: 980px; margin: 0 auto; border-radius: 18px; overflow: hidden; background: #0b0f0c; border: 1px solid rgba(57, 255, 20, 0.28); box-shadow: 0 50px 100px -40px #000, 0 0 90px -30px rgba(57, 255, 20, 0.5); }
.pal-top { display: flex; align-items: center; gap: 12px; height: 44px; padding: 0 14px; background: #0a0e0b; border-bottom: 1px solid var(--line); font-size: 13px; }
.pal-top .dots { display: flex; gap: 6px; } .pal-top .dots i { width: 10px; height: 10px; border-radius: 50%; }
.pal-top .dots i:nth-child(1) { background: #ff5f57; } .pal-top .dots i:nth-child(2) { background: #febc2e; } .pal-top .dots i:nth-child(3) { background: #28c840; }
.pal-title { font-family: var(--mono); color: var(--muted); } .pal-title b { color: var(--neon); }
.pal-open { margin-left: auto; font-weight: 700; color: var(--neon); font-size: 13px; }
.pal-open:hover { text-decoration: underline; }
.pal-body { display: grid; grid-template-columns: minmax(0, 1fr) 240px; }
.pal-canvas { background: radial-gradient(ellipse at 50% 0%, #10180f, #0c120e 70%); padding: 28px; display: grid; place-items: start center; height: 480px; overflow: hidden; }
.pal-canvas img { width: 240px; border-radius: 8px; box-shadow: 0 30px 60px -20px #000; transition: filter 0.6s; }
.pal-side { padding: 20px; border-left: 1px solid var(--line); background: #0a0e0b; display: flex; flex-direction: column; gap: 12px; }
.pal-lab { font: 600 11px var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); }
.pal-sw { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.pal-sw button { aspect-ratio: 1; border-radius: 50%; border: 2px solid transparent; background: var(--c); cursor: pointer; transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s; }
.pal-sw button:hover { transform: scale(1.1); }
.pal-sw button.on { border-color: #fff; transform: scale(1.15); box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.18), 0 0 18px var(--c); }
.pal-hint { font-size: 13px; color: var(--muted); }
.pal-meta { margin-top: auto; display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 12px; color: var(--muted); align-items: baseline; }
.pal-meta b { color: var(--text); font-family: var(--display); font-size: 16px; }

/* ---------- WIREFRAMES (symbolic UI, no photos) ---------- */
.wire { --wk: #e9ece9; --wk2: #d6dad6; --wt: #ff6a4d; position: relative; display: flex; flex-direction: column; gap: 6%; padding: 8%; background: #fff; border-radius: 10px; overflow: hidden; }
.wire i { display: block; border-radius: 4px; background: var(--wk); }
.wire .w-hero { height: 26%; background: var(--wt); border-radius: 6px; }
.wire .w-hero.tall { height: 40%; }
.wire .w-img { height: 34%; background: linear-gradient(135deg, var(--wk2), var(--wk)); border-radius: 6px; }
.wire .w-line { height: 7%; width: 86%; } .wire .w-line.s { width: 56%; } .wire .w-line.t { height: 12%; width: 70%; background: var(--wk2); }
.wire .w-grid { display: grid; grid-auto-flow: column; gap: 6%; height: 22%; }
.wire .w-grid i { height: 100%; background: var(--wk2); }
.wire .w-btn { width: 38%; height: 10%; background: var(--wt); border-radius: 999px; }
.wire.center { align-items: center; } .wire.center .w-grid { width: 100%; }
.wire.tint-coral { --wt: #ff6a4d; } .wire.tint-forest { --wt: #2a8a4a; } .wire.tint-ocean { --wt: #2f6df6; }
.mini.wire { height: 150px; gap: 5%; padding: 7%; }
.mini.slices .cut { position: absolute; left: 0; right: 0; top: var(--t); height: 1px; background: var(--neon); box-shadow: 0 0 8px var(--neon); }
.mini.slices .cut::after { content: "link"; position: absolute; right: 6px; top: -9px; font: 600 9px var(--mono); color: var(--neon); background: rgba(12, 18, 14, 0.9); padding: 1px 5px; border-radius: 4px; }
.f-visual .wire { height: 170px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, 0.14); box-shadow: 0 20px 40px -18px #000; }
.fan .v.wire { --wt: #ff6a4d; }
.fan .v.v2 { --wt: #2a8a4a; } .fan .v.v3 { --wt: #2f6df6; }
.fan .v.wire > span[data-i] { position: absolute; left: 0; right: 0; bottom: 0; padding: 7px 10px; background: rgba(12, 18, 14, 0.92); color: var(--muted); font: 600 12px var(--mono); }

/* ---------- HOW ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step { position: relative; padding: 26px; border-radius: var(--r); background: linear-gradient(180deg, var(--panel), var(--bg2)); border: 1px solid var(--line); overflow: clip; transform-style: preserve-3d; transition: transform 0.15s ease-out, border-color 0.2s; }
.step:hover { border-color: var(--neon-dim); }
.step .num { font-family: var(--mono); color: var(--neon-dim); font-size: 12px; letter-spacing: 0.2em; }
.step-ico { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: rgba(57, 255, 20, 0.08); border: 1px solid rgba(57, 255, 20, 0.3); color: var(--neon); margin: 14px 0 16px; }
.step-ico svg { width: 24px; height: 24px; }
.step h3 { font-size: 20px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 14px; margin: 0 0 18px; }
.mini { position: relative; border-radius: 10px; overflow: hidden; height: 150px; border: 1px solid var(--line2); background: #fff; transform: translateZ(30px); }
.mini.draft { background: var(--panel2); padding: 14px; display: flex; flex-direction: column; gap: 10px; font-size: 13px; font-weight: 600; }
.mini.draft .row { display: flex; align-items: center; gap: 8px; }
.mini.draft .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--neon); box-shadow: 0 0 8px var(--neon); }
.mini.draft .bar { height: 10px; border-radius: 6px; background: var(--line2); width: 80%; }
.mini.draft .bar.w2 { width: 55%; }
.mini.draft .ok { margin-top: auto; color: var(--neon); font-family: var(--mono); font-size: 12px; }

/* ---------- AI ---------- */
.ai { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.ai-demo { position: relative; display: flex; flex-direction: column; gap: 22px; }
.chat { padding: 18px; border-radius: 18px; background: var(--panel); border: 1px solid var(--line2); box-shadow: 0 30px 80px -30px #000, 0 0 60px -30px rgba(57, 255, 20, 0.6); display: flex; flex-direction: column; gap: 10px; transform-style: preserve-3d; transition: transform 0.15s ease-out; }
.msg { max-width: 88%; padding: 10px 12px; border-radius: 12px; font-size: 13px; line-height: 1.5; }
.msg.u { align-self: flex-end; background: rgba(57, 255, 20, 0.12); border: 1px solid rgba(57, 255, 20, 0.35); border-bottom-right-radius: 4px; }
.msg.a { background: var(--panel2); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.acts { display: flex; flex-wrap: wrap; gap: 6px; }
.act { font-size: 12px; font-weight: 600; padding: 6px 10px; border-radius: 8px; border: 1px solid var(--line2); background: var(--panel2); }
.act.primary { background: var(--neon); color: var(--neon-ink); border-color: var(--neon); }
.fan { position: relative; height: 300px; perspective: 1200px; }
.fan .v { position: absolute; left: 50%; top: 10px; width: 46%; aspect-ratio: 3 / 2.6; margin-left: -23%; border-radius: 12px; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.16); background: #fff; box-shadow: 0 30px 60px -24px #000, 0 0 40px -20px rgba(57, 255, 20, 0.6); transform-style: preserve-3d; transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1); transform: rotateY(0) translateX(0); }
.fan .v span { position: absolute; left: 0; right: 0; bottom: 0; padding: 7px 10px; background: rgba(12, 18, 14, 0.92); color: var(--muted); font: 600 12px var(--mono); }
.fan.in .v:nth-child(1) { transform: translateX(-78%) rotateY(28deg) translateZ(-40px); }
.fan.in .v:nth-child(2) { transform: translateY(-6px) translateZ(60px); z-index: 2; }
.fan.in .v:nth-child(3) { transform: translateX(78%) rotateY(-28deg) translateZ(-40px); }

/* ---------- FEATURES ---------- */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.f { padding: 24px; border-radius: var(--r); background: var(--panel); border: 1px solid var(--line); transition: border-color 0.2s, transform 0.2s; }
.f:hover { border-color: var(--neon-dim); transform: translateY(-3px); }
.f.big { grid-column: span 2; grid-row: span 2; background: linear-gradient(135deg, rgba(57, 255, 20, 0.08), var(--panel) 50%); border-color: rgba(57, 255, 20, 0.3); }
.f-ico { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: rgba(57, 255, 20, 0.1); color: var(--neon); font-size: 18px; margin-bottom: 14px; }
.f h3 { font-size: 18px; margin-bottom: 6px; }
.f p { color: var(--muted); font-size: 14px; margin: 0; }
.f.big h3 { font-size: 26px; }
.f.big p { font-size: 15px; max-width: 560px; }
.f-visual { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 22px; perspective: 900px; }

/* ---------- SIGN UP ---------- */
.hero-sub { margin-top: 14px; color: var(--muted); }
.hero-sub a:hover { text-decoration: underline; }
.acct-chip { gap: 8px; }
.acct-chip .av { width: 20px; height: 20px; border-radius: 50%; background: var(--neon); color: var(--neon-ink); font: 800 11px var(--sans); display: grid; place-items: center; font-style: normal; }
.signup { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.signup-copy h2 { font-size: clamp(28px, 3.6vw, 46px); line-height: 1.08; font-weight: 800; }
.signup-copy p { color: var(--muted); margin: 16px 0 0; font-size: 16px; }
.signup-card { position: relative; padding: 26px; border-radius: 20px; background: linear-gradient(180deg, var(--panel), var(--bg2)); border: 1px solid rgba(57, 255, 20, 0.3); box-shadow: 0 40px 90px -40px #000, 0 0 80px -30px rgba(57, 255, 20, 0.6); max-width: 520px; width: 100%; justify-self: end; }
.su-tabs { display: grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line2); margin-bottom: 18px; }
.su-tabs button { height: 36px; border: 0; border-radius: 9px; background: transparent; color: var(--muted); font: 700 13px var(--sans); cursor: pointer; }
.su-tabs button.on { background: rgba(57, 255, 20, 0.14); color: var(--neon); }
.su-fields { display: flex; flex-direction: column; gap: 12px; }
.su-f { display: flex; flex-direction: column; gap: 6px; font-size: 12.5px; color: var(--muted); font-weight: 600; }
.su-f input { height: 44px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--line2); background: var(--bg); color: var(--text); font: 500 15px var(--sans); outline: none; transition: border-color 0.15s, box-shadow 0.15s; }
.su-f input:focus { border-color: var(--neon); box-shadow: 0 0 0 3px rgba(57, 255, 20, 0.18); }
.signup-card.login .reg { display: none; }
.su-err { padding: 10px 12px; border-radius: 10px; background: rgba(255, 92, 92, 0.12); border: 1px solid rgba(255, 92, 92, 0.4); color: #ffb4b4; font-size: 13px; }
.signup-card .btn.lg { width: 100%; justify-content: center; margin-top: 4px; }
.su-signed { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding: 10px 0; }
.su-signed .avatar { width: 56px; height: 56px; border-radius: 50%; background: var(--neon); color: var(--neon-ink); font: 800 22px var(--display); display: grid; place-items: center; box-shadow: 0 0 30px -6px var(--neon); }
.su-signed .who { display: flex; flex-direction: column; gap: 2px; }
.su-signed .who b { font-size: 20px; font-family: var(--display); }
.su-signed .cta-row { margin-top: 12px; width: 100%; }
.su-signed .cta-row .btn { flex: 1; justify-content: center; }
[hidden] { display: none !important; }

/* ---------- STATS / FINAL / FOOTER ---------- */
.stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; text-align: center; padding-top: 0; }
.stats div { padding: 22px 10px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); }
.stats b { display: block; font-family: var(--display); font-size: 40px; color: var(--neon); text-shadow: 0 0 20px rgba(57, 255, 20, 0.4); line-height: 1; }
.stats span { color: var(--muted); font-size: 13px; display: block; margin-top: 8px; }
.final-card { position: relative; text-align: center; padding: clamp(40px, 7vw, 80px) 24px; border-radius: 24px; border: 1px solid rgba(57, 255, 20, 0.35); background: linear-gradient(180deg, #0c120e, #070a08); overflow: hidden; box-shadow: 0 0 120px -40px rgba(57, 255, 20, 0.7); }
.final-glow { position: absolute; inset: -40% -10% auto; height: 80%; background: radial-gradient(ellipse at center, rgba(57, 255, 20, 0.22), transparent 60%); pointer-events: none; }
.final-card p { color: var(--muted); max-width: 540px; margin: 14px auto 0; }
.final-card .dim { margin-top: 28px; }
.foot { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; padding: 28px var(--gutter) 40px; border-top: 1px solid var(--line); max-width: 1360px; margin: 0 auto; }
.foot nav { display: flex; gap: 18px; color: var(--muted); font-size: 14px; margin-left: auto; }
.foot nav a { padding: 8px 0; display: inline-block; }
.foot nav a:hover { color: var(--neon); }
.foot .dim { width: 100%; }

/* reveal */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease var(--d, 0s), transform 0.7s ease var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }
.step.reveal.in { transition: transform 0.15s ease-out, border-color 0.2s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001s !important; animation-iteration-count: 1 !important; transition-duration: 0.001s !important; }
  .js .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
  .slice-phone, .slice-badge { opacity: 1; transform: none; }
  .scanline { display: none; }
  .slice-track { height: auto; }
  .slice-sticky { position: relative; height: auto; min-height: 90vh; }
}
@media (max-width: 1024px) {
  .links { display: none; }
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-copy { max-width: 620px; }
  .stage-wrap { max-width: 680px; width: 100%; margin: 0 auto; }
  .slice-track { height: auto; }
  .slice-sticky { position: static; height: auto; grid-template-columns: 1fr; gap: 28px; padding-top: 56px; padding-bottom: 40px; }
  .slice-stage { height: min(78vw, 460px); }
  .slice-email { left: 4%; width: 56%; }
  .slice-phone { width: 27%; }
  .steps, .bento { grid-template-columns: 1fr 1fr; }
  .f.big { grid-column: span 2; grid-row: auto; }
  .ai { grid-template-columns: 1fr; }
  .signup { grid-template-columns: 1fr; }
  .signup-card { justify-self: stretch; max-width: none; }
  .stats { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 480px) {
  .word.studio { display: none; }
  .nav-cta .btn.primary.sm .arr { display: none; }
  .nav-cta #navLogin { display: none; } /* sign-in lives in the #signup section; the header keeps only VI/EN + Mở Studio */
  .nav-cta { gap: 6px; }
  .lang button { min-width: 34px; padding: 0 6px; }
  .nav { gap: 8px; }
  .brand { flex: none; }
}
@media (max-width: 640px) {
  .hero { padding-top: 20px; gap: 28px; }
  .scroll-hint { display: none; }
  .hero-floor { top: 70%; height: 40vh; opacity: 0.5; }
  .stage { aspect-ratio: 1.1; }
  .story-steps li { font-size: 11.5px; padding: 4px 10px 4px 4px; }
  h1 { font-size: 36px; }
  .steps, .bento { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; gap: 10px; }
  .stats div:last-child { grid-column: span 2; }
  .stats b { font-size: 32px; }
  .f.big { grid-column: auto; }
  .f-visual { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .f-visual .wire { height: 110px; }
  .fan { height: 240px; }
  .ai-demo { overflow: clip; padding: 0 4px; }
  .final-card { border-radius: 18px; }
  section { padding-left: 16px; padding-right: 16px; }
  .btn.lg { width: 100%; justify-content: center; }
  .nav { padding: 10px 16px; gap: 10px; }
  .signup-card { padding: 18px; }
  .word { font-size: 18px; }
  .nav-cta .btn.primary.sm { padding: 0 11px; }
  .lang button { padding: 0 8px; }
  .pal-body { grid-template-columns: 1fr; }
  .pal-canvas { height: 300px; padding: 16px; }
  .pal-canvas img { width: 200px; }
  .pal-side { border-left: 0; border-top: 1px solid var(--line); }
  .pal-open { display: none; }
  .fan .v { width: 60%; margin-left: -30%; }
  .fan.in .v:nth-child(1) { transform: translateX(-55%) rotateY(28deg) translateZ(-40px); }
  .fan.in .v:nth-child(3) { transform: translateX(55%) rotateY(-28deg) translateZ(-40px); }
}
