/* Cast — site styles */
@property --ang { syntax: '<angle>'; inherits: false; initial-value: 0deg; }

:root {
  --bg: #0b0907;
  --bg-1: #110d0a;
  --bg-2: #18130f;
  --bg-3: #211a15;
  --ink: #f8f1e7;
  --ink-2: #d2c7b8;
  --mute: #978b7c;
  --dim: #6b6157;
  --line: rgba(255, 236, 214, .08);
  --line-2: rgba(255, 236, 214, .15);
  --o: #ff8a24;
  --o-hi: #ffc27a;
  --o-lo: #e45a0c;
  --leaf: #7fd56e;
  --blue: #5b8cff;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --sans: "SF Pro Display", "Inter", -apple-system, BlinkMacSystemFont, "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei UI", "Microsoft YaHei", "Segoe UI", "Noto Sans SC", sans-serif;
  --mono: "SF Mono", ui-monospace, "JetBrains Mono", "Cascadia Code", Menlo, Consolas, monospace;
  --wrap: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
main { overflow-x: clip; }
body {
  background: var(--bg); color: var(--ink); font-family: var(--sans);
  font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { list-style: none; }
::selection { background: rgba(255, 138, 36, .35); color: #fff; }

/* ---------- chrome: progress / grain / cursor ---------- */
.progress { position: fixed; inset: 0 auto auto 0; height: 2px; width: 100%; z-index: 100;
  background: linear-gradient(90deg, var(--o-lo), var(--o), var(--o-hi)); transform-origin: 0 50%; transform: scaleX(0); }
.grain { position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: .5; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .22 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.cursor-glow { position: fixed; left: 0; top: 0; width: 520px; height: 520px; margin: -260px 0 0 -260px; border-radius: 50%;
  pointer-events: none; z-index: 1; opacity: 0; transition: opacity .6s;
  background: radial-gradient(closest-side, rgba(255, 138, 36, .10), transparent 70%); will-change: transform; }
body.has-pointer .cursor-glow { opacity: 1; }

/* ---------- nav ---------- */
.nav { position: fixed; top: 14px; left: 50%; z-index: 80; width: min(1080px, calc(100% - 28px));
  transform: translateX(-50%); display: flex; align-items: center; gap: 24px; padding: 9px 10px 9px 16px;
  border-radius: 999px; border: 1px solid transparent;
  transition: background .4s, border-color .4s, box-shadow .4s, width .5s var(--ease), padding .4s; }
.nav.stuck { background: rgba(17, 13, 10, .72); border-color: var(--line-2); width: min(860px, calc(100% - 28px));
  -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: 0 12px 40px -12px rgba(0, 0, 0, .7), inset 0 1px 0 rgba(255, 255, 255, .05); }
.brand { display: flex; align-items: center; gap: 9px; font-weight: 650; font-size: 18px; letter-spacing: -.01em; }
.brand img { border-radius: 8px; transition: transform .6s var(--spring); }
.brand:hover img { transform: rotate(-12deg) scale(1.08); }
.nav-links { display: flex; gap: 4px; margin-left: 8px; }
.nav-links a { padding: 7px 13px; border-radius: 999px; font-size: 14px; color: var(--ink-2); transition: color .2s, background .2s; }
.nav-links a:hover { color: var(--ink); background: rgba(255, 236, 214, .07); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.lang { display: flex; align-items: center; gap: 7px; padding: 6px 11px; border-radius: 999px; font-size: 12.5px; color: var(--dim);
  border: 1px solid var(--line); transition: border-color .2s; }
.lang:hover { border-color: var(--line-2); }
.lang i { width: 1px; height: 10px; background: var(--line-2); }
.lang span { transition: color .2s; }
html[data-lang="zh"] .lang [data-lang="zh"], html[data-lang="en"] .lang [data-lang="en"] { color: var(--ink); }

/* ---------- buttons ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 9px; border-radius: 999px;
  font-weight: 600; white-space: nowrap; transition: transform .35s var(--ease), box-shadow .35s, background .25s, border-color .25s, color .25s;
  will-change: transform; }
.btn-sm { padding: 8px 17px; font-size: 14px; }
.btn-lg { padding: 15px 28px; font-size: 16.5px; }
.btn-primary { color: #1a0d03; background: linear-gradient(180deg, #ffb45e 0%, #ff8a24 55%, #f2700f 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), inset 0 -1px 0 rgba(120, 40, 0, .35), 0 10px 30px -8px rgba(255, 122, 20, .55), 0 0 0 1px rgba(255, 160, 80, .25); overflow: hidden; }
.btn-primary::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .55) 50%, transparent 65%);
  transform: translateX(-120%); transition: transform .9s var(--ease); }
.btn-primary:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), inset 0 -1px 0 rgba(120, 40, 0, .35), 0 16px 44px -8px rgba(255, 122, 20, .75), 0 0 0 1px rgba(255, 180, 100, .45); }
.btn-primary:hover::after { transform: translateX(120%); }
.btn-ghost { color: var(--ink); border: 1px solid var(--line-2); background: rgba(255, 236, 214, .03); }
.btn-ghost:hover { background: rgba(255, 236, 214, .08); border-color: rgba(255, 236, 214, .28); }
.btn-ghost svg { transition: transform .3s var(--ease); }
.btn-ghost:hover svg { transform: translateY(3px); }

/* ---------- hero ---------- */
.hero { position: relative; padding: 148px 20px 0; text-align: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; opacity: 0; transition: opacity 1.6s ease; }
.hero-bg.on { opacity: 1; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(60% 46% at 50% 86%, rgba(255, 122, 20, .28), transparent 70%), radial-gradient(40% 30% at 50% 100%, rgba(255, 194, 122, .25), transparent 70%); }
.hero-fade { position: absolute; left: 0; right: 0; bottom: 0; height: 260px; z-index: 1; background: linear-gradient(180deg, transparent, var(--bg)); pointer-events: none; }
.hero-copy { position: relative; z-index: 3; max-width: 1120px; margin: 0 auto; }

.pill { display: inline-flex; align-items: center; gap: 9px; padding: 6px 13px 6px 11px; border-radius: 999px; font-size: 13px; color: var(--ink-2);
  border: 1px solid var(--line-2); background: rgba(20, 15, 11, .55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transition: border-color .3s, color .3s; animation: rise .9s var(--ease) both; }
.pill:hover { border-color: rgba(255, 138, 36, .5); color: var(--ink); }
.pill svg { opacity: .6; transition: transform .3s var(--ease); }
.pill:hover svg { transform: translateX(3px); }
.dot { position: relative; width: 7px; height: 7px; border-radius: 50%; background: var(--leaf); box-shadow: 0 0 10px var(--leaf); }
.dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid var(--leaf); animation: ping 2s ease-out infinite; }

.h1 { margin: 26px 0 0; font-size: clamp(40px, 7.4vw, 92px); line-height: 1.06; font-weight: 700; letter-spacing: -.035em; }
html[data-lang="en"] .h1 { letter-spacing: -.045em; }
.h1 .ln { display: block; overflow: hidden; padding: .06em 0 .1em; margin-bottom: -.1em; }
.h1 .ln > span { display: inline-block; transform: translateY(110%); animation: lineUp 1.1s var(--ease) .15s forwards; }
.h1 .ln:nth-child(2) > span { animation-delay: .3s; }
.h1 em { font-style: normal; background: linear-gradient(100deg, #ffe0b0 0%, #ff8a24 38%, #ffcf8f 55%, #ff7a14 78%, #ffe0b0 100%); background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer 7s linear infinite; }
.lede { max-width: 660px; margin: 26px auto 0; font-size: clamp(16px, 1.55vw, 19px); line-height: 1.75; color: var(--ink-2); animation: rise 1s var(--ease) .55s both; }
.cta-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 36px; animation: rise 1s var(--ease) .7s both; }
.hero-note { margin-top: 18px; font-size: 13px; color: rgba(248, 241, 231, .68); text-shadow: 0 1px 12px rgba(11, 9, 7, .9); animation: rise 1s var(--ease) .85s both; }

/* ---------- product window ---------- */
.stage { position: relative; z-index: 3; max-width: 1160px; margin: 72px auto 0; padding-bottom: 90px; perspective: 1800px; animation: stageIn 1.4s var(--ease) .75s both; }
.win-glow { position: absolute; inset: 6% 8% 20%; border-radius: 40px; filter: blur(70px); opacity: .55;
  background: radial-gradient(60% 60% at 50% 40%, rgba(255, 138, 36, .65), rgba(228, 90, 12, .15) 60%, transparent 75%); animation: breathe 6s ease-in-out infinite; }
.win { --tilt: 14; --ry: 0; --sc: .94; position: relative; border-radius: 18px; text-align: left;
  transform: rotateX(calc(var(--tilt) * 1deg)) rotateY(calc(var(--ry) * 1deg)) scale(var(--sc)); transform-origin: 50% 0; transform-style: preserve-3d;
  background: linear-gradient(180deg, #1c1612, #130f0c); will-change: transform;
  box-shadow: 0 0 0 1px rgba(255, 236, 214, .1), 0 60px 120px -30px rgba(0, 0, 0, .9), 0 30px 60px -30px rgba(255, 110, 10, .3), inset 0 1px 0 rgba(255, 255, 255, .08); }
.win::before { content: ""; position: absolute; inset: -1px; border-radius: 19px; padding: 1px; pointer-events: none;
  background: conic-gradient(from var(--ang), transparent 0 62%, rgba(255, 194, 122, .9) 78%, rgba(255, 138, 36, .9) 84%, transparent 94%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  animation: spinAng 7s linear infinite; }
.win-bar { display: flex; align-items: center; height: 42px; padding: 0 14px; border-bottom: 1px solid var(--line); }
.tl { display: flex; gap: 7px; }
.tl i { width: 11px; height: 11px; border-radius: 50%; background: #3a302a; }
.win:hover .tl i:nth-child(1) { background: #ff5f57; } .win:hover .tl i:nth-child(2) { background: #febc2e; } .win:hover .tl i:nth-child(3) { background: #28c840; }
.tl i { transition: background .3s; }
.win-title { display: flex; align-items: center; gap: 7px; margin: 0 auto; font-size: 12.5px; color: var(--mute); font-weight: 550; }
.win-title img { border-radius: 4px; }
.win-org { display: flex; align-items: center; gap: 6px; font-size: 11.5px; color: var(--mute); padding: 3px 9px; border-radius: 999px; border: 1px solid var(--line); }
.win-org i { width: 6px; height: 6px; border-radius: 50%; background: var(--leaf); }
.win-body { display: grid; grid-template-columns: 196px 1fr 286px; height: 560px; }

.sb { padding: 14px 10px; border-right: 1px solid var(--line); font-size: 13px; color: var(--ink-2); overflow: hidden; }
.sb-new { display: flex; align-items: center; gap: 9px; padding: 8px 10px; margin-bottom: 6px; border-radius: 10px; background: rgba(255, 236, 214, .06); color: var(--ink); font-weight: 550; }
.sb-new b { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 6px; background: var(--o); color: #1a0d03; font-size: 14px; line-height: 1; }
.sb-item { display: flex; align-items: center; gap: 9px; padding: 7px 10px; border-radius: 9px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sb-item svg { width: 15px; height: 15px; flex: none; opacity: .7; }
.sb-item.on { background: rgba(255, 138, 36, .12); color: var(--ink); }
.sb-h { padding: 14px 10px 5px; font-size: 11px; letter-spacing: .06em; color: var(--dim); text-transform: uppercase; }
.sq { flex: none; width: 9px; height: 9px; border-radius: 3px; background: var(--c); box-shadow: 0 0 8px -1px var(--c); }
.sq.r { border-radius: 50%; }

.chat { position: relative; display: flex; flex-direction: column; min-width: 0; }
.chat-scroll { flex: 1; padding: 22px 22px 8px; display: flex; flex-direction: column; gap: 13px; overflow: hidden; }
.d { opacity: 0; transform: translateY(12px) scale(.985); transition: opacity .5s var(--ease), transform .6s var(--ease); }
.d.on { opacity: 1; transform: none; }
.msg-user { align-self: flex-end; max-width: 82%; padding: 10px 14px; border-radius: 16px 16px 4px 16px; font-size: 13.5px; line-height: 1.55;
  background: linear-gradient(180deg, rgba(255, 138, 36, .2), rgba(255, 138, 36, .12)); border: 1px solid rgba(255, 138, 36, .28); }
.plan { display: flex; align-items: center; gap: 9px; font-size: 13px; color: var(--ink-2); }
.spark { width: 14px; height: 14px; border-radius: 50%; background: conic-gradient(var(--o), var(--o-hi), var(--o)); -webkit-mask: radial-gradient(circle, transparent 42%, #000 44%); mask: radial-gradient(circle, transparent 42%, #000 44%); animation: rot 1.2s linear infinite; }
.lanes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.lane { position: relative; padding: 12px; border-radius: 14px; background: rgba(255, 236, 214, .035); border: 1px solid var(--line); overflow: hidden; }
.lane::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 44px; background: linear-gradient(180deg, color-mix(in srgb, var(--c) 14%, transparent), transparent); opacity: .8; }
.lane-h { position: relative; display: flex; align-items: center; gap: 9px; margin-bottom: 10px; }
.lane-h > div { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.ava { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; font-size: 10px; font-weight: 750; letter-spacing: .02em;
  color: #120d09; background: var(--c); box-shadow: 0 4px 14px -4px var(--c); }
.nm { font-size: 12.5px; font-weight: 620; white-space: nowrap; }
.role { font-size: 11px; color: var(--mute); white-space: nowrap; }
.st { margin-left: auto; width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid var(--line-2); border-top-color: var(--c); animation: rot .8s linear infinite; }
.lane.fin .st { animation: none; border-color: var(--leaf); background: var(--leaf) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.7 2.7L12 5.5' fill='none' stroke='%230b0907' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/11px no-repeat; }
.steps { display: flex; flex-direction: column; gap: 6px; }
.steps li { display: flex; align-items: center; gap: 7px; font-size: 11.5px; color: var(--dim); white-space: nowrap; overflow: hidden; transition: color .3s; }
.steps li span { overflow: hidden; text-overflow: ellipsis; }
.steps li i { flex: none; width: 11px; height: 11px; border-radius: 50%; border: 1.5px solid var(--line-2); transition: all .3s; }
.steps li.run { color: var(--ink); }
.steps li.run i { border-color: var(--c); border-right-color: transparent; animation: rot .7s linear infinite; }
.steps li.ok { color: var(--ink-2); }
.steps li.ok i { border-color: var(--leaf); background: var(--leaf); box-shadow: inset 0 0 0 2px #17120e; }
.bar { height: 3px; margin-top: 11px; border-radius: 3px; background: rgba(255, 236, 214, .07); overflow: hidden; }
.bar span { display: block; height: 100%; width: calc(var(--p, 0) * 1%); border-radius: 3px; background: linear-gradient(90deg, var(--c), color-mix(in srgb, var(--c) 60%, #fff)); transition: width .7s var(--ease); }
.done { padding: 12px 14px; border-radius: 14px; border: 1px solid rgba(127, 213, 110, .25); background: rgba(127, 213, 110, .06); }
.done-h { display: flex; align-items: center; gap: 8px; font-size: 13px; margin-bottom: 9px; }
.ok-dot { flex: none; width: 15px; height: 15px; border-radius: 50%; background: var(--leaf) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.7 2.7L12 5.5' fill='none' stroke='%230b0907' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; }
.files { display: flex; flex-wrap: wrap; gap: 7px; }
.file { display: inline-flex; align-items: center; gap: 7px; padding: 5px 10px 5px 5px; border-radius: 9px; font-size: 12px; background: rgba(255, 236, 214, .06); border: 1px solid var(--line); }
.file b { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 6px; font-size: 10.5px; font-weight: 750; color: #120d09; background: var(--c); }
.done .file { opacity: 0; transform: translateY(8px) scale(.9); transition: all .5s var(--spring); }
.done.on .file { opacity: 1; transform: none; }
.done.on .file:nth-child(1) { transition-delay: .25s; } .done.on .file:nth-child(2) { transition-delay: .4s; } .done.on .file:nth-child(3) { transition-delay: .55s; }

.composer { margin: 8px 18px 18px; padding: 12px 12px 10px 14px; border-radius: 16px; background: rgba(255, 236, 214, .045); border: 1px solid var(--line-2); transition: border-color .3s, box-shadow .3s; }
.composer.typing { border-color: rgba(255, 138, 36, .5); box-shadow: 0 0 0 4px rgba(255, 138, 36, .08); }
.composer-text { min-height: 22px; font-size: 13.5px; line-height: 1.6; }
.ph { color: var(--dim); }
.composer.has-text .ph { display: none; }
.caret { display: inline-block; width: 1.5px; height: 15px; margin: 0 1px -2px; background: var(--o); animation: blink 1s steps(2) infinite; }
.composer:not(.typing) .caret { display: none; }
.composer-bar { display: flex; align-items: center; gap: 8px; margin-top: 10px; }
.chip { display: inline-flex; align-items: center; gap: 7px; padding: 4px 10px; border-radius: 999px; font-size: 11.5px; background: rgba(255, 236, 214, .07); color: var(--ink-2); }
.chip.ghost { background: none; border: 1px solid var(--line); color: var(--mute); }
.chip svg { width: 12px; height: 12px; }
.send { margin-left: auto; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: rgba(255, 236, 214, .1); color: var(--dim); transition: all .3s var(--spring); }
.send svg { width: 14px; height: 14px; }
.composer.has-text .send, .send.live { background: var(--o); color: #1a0d03; box-shadow: 0 6px 18px -4px rgba(255, 138, 36, .7); }
.send.hit { transform: scale(.8); }

.pv { display: flex; flex-direction: column; border-left: 1px solid var(--line); padding: 12px; background: rgba(0, 0, 0, .18); min-width: 0; }
.pv-tabs { display: flex; gap: 4px; margin-bottom: 10px; font-size: 11.5px; color: var(--mute); }
.pv-tabs span { padding: 4px 10px; border-radius: 7px; transition: all .3s; }
.pv-tabs span.on { background: rgba(255, 236, 214, .08); color: var(--ink); }
.pv-page { position: relative; flex: 1; }
.pv-doc, .pv-slide { position: absolute; inset: 0; transition: opacity .6s var(--ease), transform .6s var(--ease); }
.pv-doc { padding: 20px 18px; border-radius: 10px; background: #f6efe4; box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .8); }
.pv-slide { opacity: 0; transform: translateX(16px); display: flex; flex-direction: column; gap: 10px; }
.pv.slide .pv-doc { opacity: 0; transform: translateX(-16px); }
.pv.slide .pv-slide { opacity: 1; transform: none; }
.sk { height: 7px; width: var(--w, 100%); margin-bottom: 10px; border-radius: 4px; background: #d9cdbb; transform-origin: 0 50%; transform: scaleX(0); transition: transform .7s var(--ease); }
.sk.t { height: 13px; width: 58%; margin-bottom: 16px; background: #2a211b; }
.pv.w1 .pv-doc .sk:nth-child(-n+2), .pv.w2 .pv-doc .sk:nth-child(-n+4), .pv.w3 .pv-doc .sk { transform: none; }
.pv-doc .sk:nth-child(3) { transition-delay: .12s; } .pv-doc .sk:nth-child(4) { transition-delay: .24s; } .pv-doc .sk:nth-child(7) { transition-delay: .15s; }
.chart { display: flex; align-items: flex-end; gap: 8px; height: 150px; margin: 16px 0 18px; padding: 10px 10px 0; border-radius: 8px; background: #ece2d2; border-bottom: 2px solid #cdbfab; }
.chart i { flex: 1; height: var(--h); border-radius: 4px 4px 0 0; background: linear-gradient(180deg, #ff9a3d, #e9650f); transform-origin: 50% 100%; transform: scaleY(0); transition: transform .9s var(--spring); }
.chart i:nth-child(even) { background: linear-gradient(180deg, #3b2c22, #1f1712); }
.pv.w2 .chart i, .pv.w3 .chart i { transform: none; }
.chart i:nth-child(2) { transition-delay: .07s; } .chart i:nth-child(3) { transition-delay: .14s; } .chart i:nth-child(4) { transition-delay: .21s; } .chart i:nth-child(5) { transition-delay: .28s; } .chart i:nth-child(6) { transition-delay: .35s; }
.slide-main { flex: none; aspect-ratio: 16/10; padding: 18px; border-radius: 10px; background: linear-gradient(135deg, #241a13, #120d0a); border: 1px solid var(--line-2); box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .8); }
.slide-main .sk { background: rgba(255, 236, 214, .22); transform: none; }
.slide-main .sk.t { background: var(--o-hi); width: 64%; }
.slide-row { display: flex; align-items: center; gap: 14px; margin-top: 6px; }
.slide-col { flex: 1; }
.donut { flex: none; width: 62px; height: 62px; border-radius: 50%; background: conic-gradient(var(--o) 0 62%, #5b8cff 62% 84%, #3a2e26 84%); -webkit-mask: radial-gradient(circle, transparent 46%, #000 47%); mask: radial-gradient(circle, transparent 46%, #000 47%); }
.pv.slide .donut { animation: donut 1.1s var(--ease) both; }
.thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; }
.thumbs i { aspect-ratio: 16/10; border-radius: 6px; background: linear-gradient(135deg, #2a1f18, #17110d); border: 1px solid var(--line); opacity: 0; transform: translateY(8px); transition: all .5s var(--spring); }
.thumbs i:first-child { border-color: var(--o); }
.pv.slide .thumbs i { opacity: 1; transform: none; }
.pv.slide .thumbs i:nth-child(2) { transition-delay: .1s; } .pv.slide .thumbs i:nth-child(3) { transition-delay: .2s; } .pv.slide .thumbs i:nth-child(4) { transition-delay: .3s; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); filter: blur(6px); transition: opacity .9s var(--ease), transform 1s var(--ease), filter .9s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.reveal.in { opacity: 1; transform: none; filter: none; }

/* ---------- strip / marquee ---------- */
.strip { position: relative; z-index: 3; padding: 10px 0 30px; text-align: center; }
.strip-h { font-size: 14px; color: var(--mute); margin-bottom: 22px; padding: 0 20px; }
.marquee { overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); mask: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); }
.marquee-track { display: flex; gap: 14px; width: max-content; animation: marquee 34s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.tag { display: inline-flex; align-items: center; gap: 10px; padding: 9px 18px 9px 10px; border-radius: 999px; font-size: 15px; font-weight: 550; color: var(--ink-2);
  border: 1px solid var(--line); background: rgba(255, 236, 214, .03); white-space: nowrap; }
.tag b { display: grid; place-items: center; min-width: 26px; height: 26px; padding: 0 5px; border-radius: 8px; font-size: 10.5px; font-weight: 750; color: #120d09; background: var(--c); }

/* ---------- sections ---------- */
.sec { position: relative; z-index: 3; max-width: var(--wrap); margin: 0 auto; padding: 130px 24px 0; }
.sec-head { max-width: 760px; margin: 0 auto 64px; text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--o); }
.eyebrow::before { content: ""; width: 18px; height: 1px; background: currentColor; }
.h2 { margin-top: 16px; font-size: clamp(32px, 4.6vw, 58px); line-height: 1.12; font-weight: 700; letter-spacing: -.03em; }
.h2.xl { font-size: clamp(38px, 6.2vw, 80px); }
.p { margin-top: 20px; font-size: clamp(15.5px, 1.35vw, 17.5px); line-height: 1.8; color: var(--ink-2); }

/* crew */
.crew { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.ticks { margin-top: 30px; display: flex; flex-direction: column; gap: 18px; }
.ticks li { display: flex; gap: 14px; }
.tick { flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%; background: rgba(255, 138, 36, .14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.7 2.7L12 5.5' fill='none' stroke='%23ff8a24' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/13px no-repeat; }
.ticks b { display: block; font-size: 16px; font-weight: 620; }
.ticks div > span { font-size: 14.5px; color: var(--mute); }

.orbit { --R1: 150px; --R2: 242px; position: relative; width: min(100%, 540px); aspect-ratio: 1; margin: 0 auto; }
.ring, .spin, .pulse { position: absolute; left: 50%; top: 50%; border-radius: 50%; }
.ring { border: 1px dashed rgba(255, 236, 214, .13); transform: translate(-50%, -50%); }
.ring.r1 { width: calc(var(--R1) * 2); height: calc(var(--R1) * 2); }
.ring.r2 { width: calc(var(--R2) * 2); height: calc(var(--R2) * 2); border-style: solid; border-color: rgba(255, 236, 214, .06); }
.pulse { width: 120px; height: 120px; margin: -60px 0 0 -60px; border: 1px solid rgba(255, 138, 36, .55); animation: pulse 4.2s cubic-bezier(.2, .6, .3, 1) infinite; }
.pulse.p2 { animation-delay: 1.4s; } .pulse.p3 { animation-delay: 2.8s; }
.spin { width: 0; height: 0; animation: rot 46s linear infinite; }
.spin.s2 { animation-duration: 80s; animation-direction: reverse; }
.node { position: absolute; left: 0; top: 0; transform: rotate(var(--a)) translateX(var(--R1)) rotate(calc(var(--a) * -1)); }
.s2 .node { transform: rotate(var(--a)) translateX(var(--R2)) rotate(calc(var(--a) * -1)); }
.node-in { display: flex; align-items: center; gap: 8px; padding: 7px 14px 7px 7px; border-radius: 999px; white-space: nowrap; font-size: 13.5px; font-weight: 580;
  transform: translate(-50%, -50%); background: rgba(24, 19, 15, .92); border: 1px solid var(--line-2); box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .06);
  animation: keepUp 46s linear infinite; }
.s2 .node-in { animation: keepUpRev 80s linear infinite; padding: 5px 13px; font-size: 12.5px; font-weight: 500; color: var(--ink-2); background: rgba(17, 13, 10, .9); border-color: var(--line); }
.node-in b { display: grid; place-items: center; min-width: 26px; height: 26px; border-radius: 50%; font-size: 10px; font-weight: 750; color: #120d09; background: var(--c); box-shadow: 0 0 16px -2px var(--c); }
.core { position: absolute; left: 50%; top: 50%; width: 112px; height: 112px; margin: -56px 0 0 -56px; border-radius: 28px; animation: float 5s ease-in-out infinite;
  box-shadow: 0 0 80px 10px rgba(255, 122, 20, .45), 0 20px 50px -10px rgba(0, 0, 0, .8); }
.core img { width: 100%; height: 100%; border-radius: 28px; transform: scale(1.21); }

/* flow / story */
.story { display: grid; grid-template-columns: 5fr 7fr; gap: 56px; }
.step { min-height: 78vh; display: flex; flex-direction: column; justify-content: center; opacity: .28; transition: opacity .6s var(--ease); }
.step.active { opacity: 1; }
.num { font-family: var(--mono); font-size: 13px; color: var(--o); letter-spacing: .1em; }
.step h3 { margin-top: 12px; font-size: clamp(30px, 3.6vw, 46px); font-weight: 700; letter-spacing: -.025em; line-height: 1.15; }
.step p { margin-top: 16px; max-width: 420px; font-size: 16.5px; line-height: 1.85; color: var(--ink-2); }
.story-stage { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.story-frame { position: relative; width: 100%; aspect-ratio: 10/8.4; max-height: 76vh; border-radius: 26px; border: 1px solid var(--line-2); overflow: hidden;
  background: radial-gradient(120% 90% at 50% 110%, rgba(255, 122, 20, .3), transparent 60%), linear-gradient(180deg, #17120e, #0f0c09);
  box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .9), inset 0 1px 0 rgba(255, 255, 255, .06); }
.story-frame::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 44px 44px;
  -webkit-mask: radial-gradient(70% 70% at 50% 50%, #000, transparent); mask: radial-gradient(70% 70% at 50% 50%, #000, transparent); opacity: .5; pointer-events: none; }
.vis { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; padding: 7%; opacity: 0; transform: translateY(30px) scale(.96); filter: blur(8px); transition: opacity .7s var(--ease), transform .8s var(--ease), filter .7s var(--ease); pointer-events: none; }
.vis.active { opacity: 1; transform: none; filter: none; pointer-events: auto; }
.v-card { width: 100%; max-width: 520px; display: flex; flex-direction: column; gap: 12px; }
.story-dots { display: flex; gap: 8px; margin-top: 22px; }
.story-dots i { width: 6px; height: 6px; border-radius: 3px; background: var(--line-2); transition: all .5s var(--ease); }
.story[data-step="0"] .story-dots i:nth-child(1), .story[data-step="1"] .story-dots i:nth-child(2), .story[data-step="2"] .story-dots i:nth-child(3) { width: 26px; background: var(--o); }

/* v0 */
.picker { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); padding: 5px; border-radius: 999px; background: rgba(255, 236, 214, .06); border: 1px solid var(--line); }
.pk { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; gap: 7px; padding: 8px 4px; font-size: 12.5px; font-weight: 560; white-space: nowrap; color: var(--ink-2); }
.pk b { display: grid; place-items: center; min-width: 20px; height: 20px; border-radius: 50%; font-size: 8.5px; font-weight: 750; color: #120d09; background: var(--c); }
.pk-thumb { position: absolute; top: 5px; bottom: 5px; left: 5px; width: calc((100% - 10px) / 4); border-radius: 999px; background: rgba(255, 236, 214, .12); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 4px 14px -4px rgba(0, 0, 0, .6); }
.vis.active .pk-thumb { animation: pick 7s var(--ease) infinite; }
.v-input { padding: 18px; border-radius: 20px; background: rgba(20, 15, 11, .86); border: 1px solid var(--line-2); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .9); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.v-typed { font-size: 16px; line-height: 1.7; }
.vis.active .v-typed { animation: wipe 2.2s steps(40) .3s both; }
.v-attach { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 4px; }
.vis.active .v-attach .file { animation: pop .6s var(--spring) 2.2s both; }
.vis.active .v-attach .file:nth-child(2) { animation-delay: 2.4s; }
.sw { position: relative; width: 24px; height: 14px; border-radius: 7px; background: rgba(255, 236, 214, .15); }
.sw::after { content: ""; position: absolute; top: 2px; left: 2px; width: 10px; height: 10px; border-radius: 50%; background: var(--ink); }
.vis.active .sw { animation: swBg .5s ease 3s both; }
.vis.active .sw::after { animation: swKnob .5s var(--spring) 3s both; }
.vis.active .send.live { animation: sendPulse 2s ease 3.6s infinite; }

/* v1 */
.sc { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: rgba(20, 15, 11, .86); border: 1px solid var(--line-2); font-size: 13px; }
.sc div { display: flex; flex-direction: column; min-width: 0; line-height: 1.35; }
.sc b { font-weight: 600; font-size: 13.5px; }
.sc div span { font-size: 12px; color: var(--mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sc em { margin-left: auto; font-style: normal; font-family: var(--mono); font-size: 11.5px; color: var(--dim); }
.mono { font-family: var(--mono); }
.sc u { text-decoration: none; font-family: var(--mono); } .add { color: var(--leaf); } .del { color: #ff7b6b; }
.sc-i { flex: none; width: 18px; height: 18px; border-radius: 50%; }
.sc-i.ok { background: var(--leaf) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.7 2.7L12 5.5' fill='none' stroke='%230b0907' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/13px no-repeat; }
.sc-i.run { border: 2px solid var(--line-2); border-top-color: var(--o); animation: rot .8s linear infinite; }
.vis.active .sc { animation: slideIn .7s var(--ease) both; }
.vis.active .sc:nth-child(2) { animation-delay: .25s; } .vis.active .sc:nth-child(3) { animation-delay: .5s; }
.ask { padding: 14px; border-radius: 16px; background: linear-gradient(180deg, rgba(255, 138, 36, .14), rgba(255, 138, 36, .06)); border: 1px solid rgba(255, 138, 36, .4); box-shadow: 0 20px 50px -20px rgba(255, 110, 10, .45); }
.vis.active .ask { animation: pop .7s var(--spring) 1s both; }
.ask-h { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--o-hi); }
.ask-b { position: relative; display: flex; gap: 8px; margin-top: 12px; }
.ab { padding: 7px 14px; border-radius: 9px; font-size: 12.5px; font-weight: 560; border: 1px solid var(--line-2); background: rgba(255, 236, 214, .05); }
.ab.primary { background: var(--o); border-color: var(--o); color: #1a0d03; }
.vis.active .ab.primary { animation: tap 5s ease 2.4s infinite; }
.ptr { position: absolute; left: 120px; top: 34px; width: 20px; height: 20px; opacity: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M4 2l12 7.5-5.2 1.3L8.2 16z' fill='%23fff' stroke='%23120d09' stroke-width='1.2' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat; }
.vis.active .ptr { animation: ptr 5s var(--ease) 1.6s infinite; }
.seg { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); padding: 4px; border-radius: 12px; background: rgba(255, 236, 214, .06); border: 1px solid var(--line); font-size: 12.5px; text-align: center; }
.seg span:not(.seg-thumb) { position: relative; z-index: 1; padding: 7px 4px; color: var(--ink-2); white-space: nowrap; }
.seg-thumb { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc((100% - 8px) / 3); border-radius: 9px; background: rgba(255, 236, 214, .13); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1); animation: seg 6s var(--ease) infinite; }
.seg.lg { font-size: 13.5px; padding: 5px; border-radius: 14px; }
.seg.lg span:not(.seg-thumb) { padding: 10px 4px; }
.seg.lg .seg-thumb { top: 5px; bottom: 5px; left: 5px; width: calc((100% - 10px) / 3); border-radius: 10px; background: linear-gradient(180deg, rgba(255, 138, 36, .35), rgba(255, 138, 36, .2)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 6px 20px -6px rgba(255, 122, 20, .6); }

/* v2 */
.v-split { flex-direction: row; max-width: 580px; gap: 14px; align-items: stretch; }
.tree, .sheet { flex: 1; padding: 14px; border-radius: 16px; background: rgba(20, 15, 11, .88); border: 1px solid var(--line-2); font-size: 12.5px; }
.tr { display: flex; align-items: center; gap: 9px; padding: 7px 6px; border-radius: 8px; white-space: nowrap; }
.tr.dir { font-family: var(--mono); color: var(--mute); font-size: 12px; margin-bottom: 4px; }
.tr b { flex: none; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 6px; font-size: 9.5px; font-weight: 750; color: #120d09; background: var(--c); }
.tr em { margin-left: auto; font-style: normal; font-size: 10px; padding: 1px 6px; border-radius: 5px; color: var(--leaf); background: rgba(127, 213, 110, .13); }
.vis.active .tr.new { animation: fileIn .7s var(--spring) both, flash 1.6s ease both; }
.vis.active .tr.new:nth-child(2) { animation-delay: .3s; } .vis.active .tr.new:nth-child(3) { animation-delay: .6s; } .vis.active .tr.new:nth-child(4) { animation-delay: .9s; }
.sheet { font-family: var(--mono); font-size: 11.5px; padding: 0; overflow: hidden; }
.sheet-h, .sheet-r { display: grid; grid-template-columns: 1.3fr 1fr 1fr; padding: 9px 14px; border-bottom: 1px solid var(--line); }
.sheet-h { font-family: var(--sans); font-size: 11.5px; color: var(--mute); background: rgba(255, 236, 214, .04); }
.vis.active .sheet-r { animation: rowIn .6s var(--ease) both; }
.vis.active .sheet-r:nth-child(2) { animation-delay: 1.1s; } .vis.active .sheet-r:nth-child(3) { animation-delay: 1.25s; } .vis.active .sheet-r:nth-child(4) { animation-delay: 1.4s; } .vis.active .sheet-r:nth-child(5) { animation-delay: 1.55s; } .vis.active .sheet-r:nth-child(6) { animation-delay: 1.7s; }
.warn { color: var(--o); } .okc { color: var(--dim); }

/* ---------- bento ---------- */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.card { --mx: 50%; --my: 50%; position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 26px; min-height: 300px; padding: 28px; border-radius: 24px; overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 236, 214, .05), rgba(255, 236, 214, .018)); border: 1px solid var(--line); isolation: isolate;
  transition: opacity .9s var(--ease), transform 1s var(--ease), filter .9s var(--ease), border-color .4s; }
.card::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .5s;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(255, 138, 36, .16), transparent 60%); }
.card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; opacity: 0; transition: opacity .5s; pointer-events: none;
  background: radial-gradient(300px circle at var(--mx) var(--my), rgba(255, 180, 100, .8), transparent 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.card:hover::before, .card:hover::after { opacity: 1; }
.card h3 { font-size: 22px; font-weight: 680; letter-spacing: -.015em; }
.card p { margin-top: 9px; font-size: 14.5px; line-height: 1.75; color: var(--mute); max-width: 440px; }
.c-login { grid-column: span 7; flex-direction: row; align-items: center; }
.c-gw { grid-column: span 5; }
.c-perm, .c-cron, .c-org { grid-column: span 4; }
.c-local, .c-skill { grid-column: span 6; }

.qr-wrap { position: relative; flex: none; width: 172px; height: 172px; padding: 14px; border-radius: 20px; background: #f6efe4; box-shadow: 0 30px 60px -24px rgba(255, 110, 10, .5), 0 0 0 1px rgba(255, 255, 255, .1); transform: rotate(4deg); transition: transform .6s var(--spring); }
.card:hover .qr-wrap { transform: rotate(0) scale(1.04); }
.qr { display: grid; grid-template-columns: repeat(21, 1fr); width: 100%; height: 100%; gap: 0; }
.qr i { background: #17110d; border-radius: 1.5px; transform: scale(0); transition: transform .5s var(--spring); }
.qr i.w { background: transparent; }
.card.in .qr i { transform: scale(1.02); }
.scan { position: absolute; left: 8px; right: 8px; top: 10px; height: 34px; border-radius: 6px; background: linear-gradient(180deg, transparent, rgba(255, 138, 36, .45)); border-bottom: 2px solid var(--o); animation: scan 4s ease-in-out infinite; }
.qr-ok { position: absolute; left: 50%; bottom: -14px; display: flex; align-items: center; gap: 6px; padding: 6px 13px; border-radius: 999px; font-size: 12.5px; font-weight: 620; white-space: nowrap; color: #0b1a08; background: var(--leaf); box-shadow: 0 10px 24px -8px rgba(127, 213, 110, .7);
  transform: translateX(-50%); animation: qrOk 4s var(--spring) infinite; }

.gw { width: 100%; height: auto; overflow: visible; }
.gw-l { fill: none; stroke: rgba(255, 236, 214, .16); stroke-width: 1.4; stroke-dasharray: 4 5; animation: dash 1.4s linear infinite; }
.gw-d { fill: var(--o-hi); filter: drop-shadow(0 0 5px var(--o)); }
.gw-n rect { fill: #18130f; stroke: rgba(255, 236, 214, .18); }
.gw-n text { fill: var(--ink-2); font: 500 10.5px var(--sans); text-anchor: middle; }
.gw-n.hub rect { fill: rgba(255, 138, 36, .16); stroke: var(--o); animation: hub 2.4s ease-in-out infinite; }
.gw-n.hub text { fill: var(--o-hi); font-weight: 650; font-size: 12px; }

.cron { display: flex; flex-direction: column; gap: 8px; }
.cr { display: flex; align-items: center; gap: 11px; padding: 10px 12px; border-radius: 12px; background: rgba(255, 236, 214, .045); border: 1px solid var(--line); font-size: 13.5px; }
.cr b { font-weight: 560; }
.cr em { margin-left: auto; font-style: normal; font-size: 12px; color: var(--mute); font-family: var(--mono); }
.clock { position: relative; flex: none; width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--o); }
.clock i { position: absolute; left: 50%; bottom: 50%; width: 1.5px; margin-left: -.75px; border-radius: 1px; background: var(--o-hi); transform-origin: 50% 100%; }
.clock i:nth-child(1) { height: 6.5px; animation: rot 3s linear infinite; }
.clock i:nth-child(2) { height: 4.5px; animation: rot 36s linear infinite; }
.cr:nth-child(2) .clock i:nth-child(1) { animation-duration: 5s; } .cr:nth-child(3) .clock i:nth-child(1) { animation-duration: 1.6s; }

.orgs { position: relative; display: flex; gap: 8px; }
.org { position: relative; z-index: 1; flex: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 14px 6px 12px; border-radius: 14px; font-size: 12.5px; color: var(--ink-2); border: 1px solid var(--line); background: rgba(255, 236, 214, .03); }
.org b { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; font-size: 14px; font-weight: 750; color: #120d09; background: var(--c); }
.org-ring { position: absolute; top: 0; bottom: 0; left: 0; width: calc((100% - 16px) / 3); border-radius: 14px; border: 1.5px solid var(--o); box-shadow: 0 0 24px -4px rgba(255, 138, 36, .7), inset 0 0 20px -8px rgba(255, 138, 36, .6); animation: orgMove 6s var(--ease) infinite; }

.term { padding: 16px 18px; border-radius: 14px; background: #0a0806; border: 1px solid var(--line); font-family: var(--mono); font-size: 12.5px; line-height: 1.9; }
.term .pr { color: var(--blue); } .term .cm { color: var(--o-hi); }
.term .dim { color: var(--mute); } .term .ok { color: var(--leaf); }
.card.in .term-l.t1, .card.in .term-l.t2, .card.in .term-l.t3, .card.in .term-l.t4 { animation: termIn 8s var(--ease) infinite both; }
.card.in .term-l.t2 { animation-delay: .5s; } .card.in .term-l.t3 { animation-delay: 1s; } .card.in .term-l.t4 { animation-delay: 1.6s; }

.chips { display: flex; flex-direction: column; gap: 10px; margin: 0 -28px; -webkit-mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.chips-row { display: flex; gap: 10px; width: max-content; animation: marquee 30s linear infinite; }
.chips-row.rev { animation-direction: reverse; animation-duration: 36s; }
.chips-row span { padding: 8px 15px; border-radius: 11px; font-size: 13.5px; white-space: nowrap; color: var(--ink-2); border: 1px solid var(--line); background: rgba(255, 236, 214, .04); }

/* ---------- final ---------- */
.final { position: relative; z-index: 3; margin-top: 150px; padding: 130px 24px 150px; text-align: center; overflow: hidden; }
.final-orb { position: absolute; left: 50%; bottom: -1010px; width: 1500px; height: 1200px; margin-left: -750px; border-radius: 50%;
  background: radial-gradient(closest-side, #1a0f08 0%, #2a1408 78%, #c9500c 92%, #ffb866 97.500%, transparent 100%);
  box-shadow: 0 0 120px 30px rgba(255, 122, 20, .35), 0 0 300px 120px rgba(228, 90, 12, .18); animation: breathe 7s ease-in-out infinite; }
.final > *:not(.final-orb) { position: relative; }
.final-icon { margin: 0 auto 26px; border-radius: 24px; animation: float 5s ease-in-out infinite; filter: drop-shadow(0 20px 40px rgba(255, 110, 10, .45)); }
.final .p { max-width: 520px; margin-left: auto; margin-right: auto; }
.final .cta-row, .final .hero-note { animation: none; }
.final .hero-note { color: var(--ink-2); opacity: .75; }

.foot { position: relative; z-index: 3; display: flex; align-items: center; gap: 28px; max-width: var(--wrap); margin: 0 auto; padding: 30px 24px 40px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--mute); }
.foot nav { display: flex; gap: 22px; }
.foot nav a:hover { color: var(--ink); }
.foot .copy { margin-left: auto; }
.foot .brand { font-size: 15px; color: var(--ink); }

/* ---------- download page ---------- */
.dl-hero { position: relative; padding: 150px 24px 0; text-align: center; overflow: hidden; }
.dl-hero::before { content: ""; position: absolute; left: 50%; top: -420px; width: 1000px; height: 800px; margin-left: -500px; border-radius: 50%; filter: blur(60px); opacity: .5;
  background: radial-gradient(circle, rgba(255, 138, 36, .7), rgba(228, 90, 12, .2) 50%, transparent 70%); animation: breathe 7s ease-in-out infinite; }
.dl-hero > * { position: relative; }
.dl-icon { margin: 0 auto 22px; border-radius: 26px; animation: float 5s ease-in-out infinite, rise 1s var(--ease) both; filter: drop-shadow(0 24px 44px rgba(255, 110, 10, .5)); }
.dl-hero .h1 { font-size: clamp(38px, 6vw, 72px); margin-top: 0; }
.ver { display: inline-flex; gap: 10px; margin-top: 18px; font-family: var(--mono); font-size: 13px; color: var(--mute); animation: rise 1s var(--ease) .5s both; }
.ver b { color: var(--o-hi); font-weight: 500; }
.rec { position: relative; max-width: 620px; margin: 40px auto 0; padding: 26px; border-radius: 24px; text-align: left; display: flex; align-items: center; gap: 20px;
  background: linear-gradient(180deg, rgba(255, 138, 36, .12), rgba(255, 236, 214, .03)); border: 1px solid rgba(255, 138, 36, .35);
  box-shadow: 0 40px 80px -40px rgba(255, 110, 10, .5); animation: rise 1s var(--ease) .65s both; }
.rec-os { flex: none; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: rgba(255, 236, 214, .08); border: 1px solid var(--line-2); }
.rec-os svg { width: 28px; height: 28px; }
.rec-t { flex: 1; min-width: 0; }
.rec-t small { display: block; font-size: 12.5px; color: var(--o-hi); letter-spacing: .04em; }
.rec-t b { display: block; font-size: 20px; font-weight: 680; letter-spacing: -.01em; }
.rec-t span { font-size: 13px; color: var(--mute); font-family: var(--mono); }
.plats { max-width: 980px; margin: 0 auto; padding: 80px 24px 0; }
.plats h2, .how h2 { font-size: 24px; font-weight: 680; letter-spacing: -.015em; margin-bottom: 22px; }
.plat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.plat { --mx: 50%; --my: 50%; position: relative; display: flex; align-items: center; gap: 16px; padding: 20px; border-radius: 20px; overflow: hidden; isolation: isolate;
  border: 1px solid var(--line); background: rgba(255, 236, 214, .03); transition: border-color .3s, transform .4s var(--ease), opacity .9s var(--ease), filter .9s; }
.plat::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s; background: radial-gradient(320px circle at var(--mx) var(--my), rgba(255, 138, 36, .18), transparent 60%); }
.plat:hover { border-color: rgba(255, 138, 36, .45); transform: translateY(-3px); }
.plat:hover::before { opacity: 1; }
.plat.is-rec { border-color: rgba(255, 138, 36, .5); }
.plat-os { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; background: rgba(255, 236, 214, .07); }
.plat-os svg { width: 22px; height: 22px; }
.plat-t { flex: 1; min-width: 0; }
.plat-t b { display: flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 640; }
.plat-t b em { font-style: normal; font-size: 11px; font-weight: 600; padding: 1px 8px; border-radius: 999px; color: #1a0d03; background: var(--o); display: none; }
.plat.is-rec .plat-t b em { display: inline-block; }
.plat-t > span { display: block; font-size: 12.5px; color: var(--mute); font-family: var(--mono); margin-top: 2px; }
.plat-go { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); transition: all .3s var(--spring); }
.plat:hover .plat-go { background: var(--o); border-color: var(--o); color: #1a0d03; transform: scale(1.08); }
.plat-go svg { width: 18px; height: 18px; }
.sums { margin-top: 18px; border-radius: 16px; border: 1px solid var(--line); overflow: hidden; }
.sums summary { padding: 14px 18px; font-size: 14px; color: var(--ink-2); cursor: pointer; list-style: none; display: flex; align-items: center; gap: 10px; }
.sums summary::-webkit-details-marker { display: none; }
.sums summary::before { content: "+"; font-family: var(--mono); color: var(--o); width: 12px; }
.sums[open] summary::before { content: "−"; }
.sum { display: flex; align-items: center; gap: 14px; padding: 11px 18px; border-top: 1px solid var(--line); font-size: 12px; }
.sum span { flex: none; width: 150px; color: var(--ink-2); }
.sum code { flex: 1; min-width: 0; font-family: var(--mono); font-size: 11.5px; color: var(--mute); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.copy-btn { flex: none; padding: 3px 10px; border-radius: 7px; font-size: 11.5px; border: 1px solid var(--line-2); color: var(--ink-2); transition: all .2s; }
.copy-btn:hover { border-color: var(--o); color: var(--o-hi); }
.copy-btn.done { background: var(--leaf); border-color: var(--leaf); color: #0b1a08; }
.how { max-width: 980px; margin: 0 auto; padding: 80px 24px 0; }
.how-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.how-card { padding: 26px; border-radius: 20px; border: 1px solid var(--line); background: rgba(255, 236, 214, .025); }
.how-card h3 { display: flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 640; margin-bottom: 16px; }
.how-card h3 svg { width: 18px; height: 18px; }
.how-card ol { counter-reset: s; display: flex; flex-direction: column; gap: 13px; }
.how-card li { counter-increment: s; position: relative; padding-left: 34px; font-size: 14.5px; line-height: 1.7; color: var(--ink-2); list-style: none; }
.how-card li::before { content: counter(s); position: absolute; left: 0; top: 2px; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; font-family: var(--mono); font-size: 11.5px; color: var(--o-hi); background: rgba(255, 138, 36, .14); }
.how-card code, .faq code { font-family: var(--mono); font-size: 12.5px; padding: 2px 7px; border-radius: 6px; background: rgba(255, 236, 214, .08); color: var(--o-hi); overflow-wrap: anywhere; }
.faq { max-width: 980px; margin: 0 auto; padding: 80px 24px 120px; }
.faq h2 { font-size: 24px; font-weight: 680; margin-bottom: 14px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 2px; font-size: 16.5px; font-weight: 560; cursor: pointer; list-style: none; transition: color .2s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--o-hi); }
.faq summary::after { content: ""; flex: none; width: 10px; height: 10px; border-right: 1.6px solid var(--mute); border-bottom: 1.6px solid var(--mute); transform: rotate(45deg); transition: transform .4s var(--ease); margin-right: 6px; }
.faq details[open] summary::after { transform: rotate(225deg); }
.faq details p { padding: 0 2px 22px; max-width: 760px; font-size: 15px; line-height: 1.85; color: var(--ink-2); animation: rise .5s var(--ease) both; }

/* ---------- keyframes ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(22px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes lineUp { to { transform: none; } }
@keyframes stageIn { from { opacity: 0; transform: translateY(80px); } to { opacity: 1; transform: none; } }
@keyframes shimmer { to { background-position: -220% 0; } }
@keyframes ping { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(2.2); opacity: 0; } }
@keyframes breathe { 0%, 100% { opacity: .5; transform: scale(1); } 50% { opacity: .75; transform: scale(1.05); } }
@keyframes spinAng { to { --ang: 360deg; } }
@keyframes rot { to { transform: rotate(360deg); } }
@keyframes keepUp { from { transform: translate(-50%, -50%) rotate(0deg); } to { transform: translate(-50%, -50%) rotate(-360deg); } }
@keyframes keepUpRev { from { transform: translate(-50%, -50%) rotate(0deg); } to { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes blink { 50% { opacity: 0; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes pulse { 0% { transform: scale(.9); opacity: .9; } 100% { transform: scale(4.6); opacity: 0; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes donut { from { transform: rotate(-120deg) scale(.6); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes pick { 0%, 18% { transform: translateX(0); } 25%, 43% { transform: translateX(100%); } 50%, 68% { transform: translateX(200%); } 75%, 93% { transform: translateX(300%); } 100% { transform: translateX(0); } }
@keyframes wipe { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes pop { from { opacity: 0; transform: scale(.8) translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes swBg { to { background: var(--o); } }
@keyframes swKnob { to { transform: translateX(10px); background: #1a0d03; } }
@keyframes sendPulse { 0%, 100% { box-shadow: 0 6px 18px -4px rgba(255, 138, 36, .7), 0 0 0 0 rgba(255, 138, 36, .5); } 50% { box-shadow: 0 6px 18px -4px rgba(255, 138, 36, .7), 0 0 0 10px rgba(255, 138, 36, 0); } }
@keyframes slideIn { from { opacity: 0; transform: translateX(-24px); } to { opacity: 1; transform: none; } }
@keyframes tap { 0%, 12% { transform: none; } 16% { transform: scale(.92); } 22%, 100% { transform: none; } }
@keyframes ptr { 0% { opacity: 0; transform: translate(160px, 50px); } 12% { opacity: 1; } 28%, 34% { opacity: 1; transform: translate(-80px, -14px); } 31% { transform: translate(-80px, -14px) scale(.82); } 50%, 100% { opacity: 0; transform: translate(-80px, -14px); } }
@keyframes seg { 0%, 26% { transform: translateX(0); } 33%, 60% { transform: translateX(100%); } 66%, 93% { transform: translateX(200%); } 100% { transform: translateX(0); } }
@keyframes fileIn { from { opacity: 0; transform: translateX(-16px) scale(.95); } to { opacity: 1; transform: none; } }
@keyframes flash { 0%, 40% { background: rgba(127, 213, 110, .16); } 100% { background: transparent; } }
@keyframes rowIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes scan { 0%, 100% { transform: translateY(-20px); opacity: 0; } 10% { opacity: 1; } 55% { transform: translateY(120px); opacity: 1; } 65%, 99% { transform: translateY(120px); opacity: 0; } }
@keyframes qrOk { 0%, 58% { opacity: 0; transform: translateX(-50%) translateY(10px) scale(.7); } 66%, 92% { opacity: 1; transform: translateX(-50%); } 100% { opacity: 0; transform: translateX(-50%) translateY(-6px); } }
@keyframes dash { to { stroke-dashoffset: -18; } }
@keyframes hub { 0%, 100% { filter: drop-shadow(0 0 0 rgba(255, 138, 36, 0)); } 50% { filter: drop-shadow(0 0 10px rgba(255, 138, 36, .8)); } }
@keyframes orgMove { 0%, 26% { transform: translateX(0); } 33%, 60% { transform: translateX(calc(100% + 8px)); } 66%, 93% { transform: translateX(calc(200% + 16px)); } 100% { transform: translateX(0); } }
@keyframes termIn { 0% { opacity: 0; transform: translateX(-8px); } 6%, 82% { opacity: 1; transform: none; } 90%, 100% { opacity: 0; } }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .win-body { grid-template-columns: 180px 1fr; }
  .pv { display: none; }
}
@media (max-width: 900px) {
  .nav-links { display: none; }
  .crew { grid-template-columns: 1fr; gap: 60px; }
  .orbit { --R1: 112px; --R2: 176px; width: min(100%, 400px); }
  .story { display: block; }
  .story-stage { display: none; }
  .step { min-height: 0; opacity: 1; margin-bottom: 64px; }
  .step .vis { position: relative; inset: auto; opacity: 1; transform: none; filter: none; padding: 26px 16px; margin-top: 26px; border-radius: 22px; border: 1px solid var(--line-2);
    background: radial-gradient(120% 90% at 50% 110%, rgba(255, 122, 20, .26), transparent 60%), linear-gradient(180deg, #17120e, #0f0c09); }
  .c-login, .c-gw, .c-perm, .c-cron, .c-org, .c-local, .c-skill { grid-column: span 12; }
  .sec { padding-top: 96px; }
  .plat-grid, .how-grid { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .hero { padding-top: 118px; }
  .h1 { font-size: clamp(30px, 9vw, 56px); }
  .dl-hero .h1 { font-size: clamp(38px, 11vw, 60px); }
  .win-body { grid-template-columns: 1fr; height: 520px; }
  .sb, .win-org { display: none; }
  .lanes { grid-template-columns: 1fr; gap: 8px; }
  .lane { padding: 10px 12px; }
  .lane .steps { display: none; }
  .lane-h { margin-bottom: 0; }
  .bar { margin-top: 9px; }
  .stage { margin-top: 48px; padding-bottom: 50px; }
  .win { --sc: 1 !important; }
  .c-login { flex-direction: column; align-items: flex-start; }
  .qr-wrap { align-self: center; margin-bottom: 14px; }
  .v-split { flex-direction: column; }
  .foot { flex-wrap: wrap; gap: 16px; }
  .foot .copy { margin-left: 0; width: 100%; }
  .rec { flex-direction: column; text-align: center; }
  .rec .btn { width: 100%; }
  .sum span { width: 96px; }
  .pk { font-size: 11px; gap: 4px; } .pk b { display: none; }
  .orbit { --R1: 100px; --R2: 152px; width: 100%; max-width: 340px; }
  .core { width: 80px; height: 80px; margin: -40px 0 0 -40px; border-radius: 20px; }
  .core img { border-radius: 20px; }
  .node-in { font-size: 11.5px; padding: 4px 10px 4px 4px; gap: 6px; }
  .node-in b { min-width: 20px; height: 20px; font-size: 8.5px; }
  .s2 .node-in { font-size: 10.5px; padding: 3px 9px; }
  .pulse { width: 86px; height: 86px; margin: -43px 0 0 -43px; }
  .nav { gap: 10px; padding-left: 12px; }
  .card { padding: 22px; min-height: 0; }
  .chips { margin: 0 -22px; }
  .lang { padding: 6px 9px; }
  .final { margin-top: 90px; padding: 90px 20px 110px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
  .reveal { opacity: 1; transform: none; filter: none; }
  html { scroll-behavior: auto; }
}
