
/* ---------- Hero: the letterbox ---------- */
.hero { position: relative; height: 100svh; min-height: 640px; background: var(--black); color: #fff; overflow: hidden; --bar: max(calc(var(--nav-h) + 12px), calc((100svh - 41.84vw) / 2)); }
.hero-frame { position: absolute; left: 0; right: 0; top: var(--bar); bottom: var(--bar); z-index: 1; overflow: hidden; }
.hero-layer { position: absolute; inset: 0; margin: 0; opacity: 0; visibility: hidden; }
.hero-layer.is-on { opacity: 1; visibility: visible; }
.hero-layer > video, .hero-layer > img, .hero-dip img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-layer.is-on > video, .hero-layer.is-on > img, .hero-layer.is-on .hero-dip img { animation: drift 9s var(--ease) both; }
@keyframes drift { from { transform: scale(1.06); } to { transform: scale(1); } }
.hero-dip { display: grid; grid-template-columns: 1fr 1fr; height: 100%; gap: 2px; background: var(--black); }
.hero-dip figure { margin: 0; position: relative; overflow: hidden; }
.hero-tag { position: absolute; left: 16px; bottom: 16px; padding: 7px 11px; border-radius: 999px; background: rgba(11, 11, 12, .72); color: #fff; font: 500 12.5px/1 var(--f-t); }
.hero-scrim { position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(11, 11, 12, .72) 0%, rgba(11, 11, 12, .36) 36%, rgba(11, 11, 12, .1) 52%, rgba(11, 11, 12, .38) 64%, rgba(11, 11, 12, .78) 100%); pointer-events: none; }
.hero-bar { position: absolute; left: 0; right: 0; height: 50.2%; background: var(--black); z-index: 2; transition: transform .75s var(--ease); }
.hero-bar.t { top: 0; transform: translateY(calc(var(--bar) - 100%)); }
.hero-bar.b { bottom: 0; transform: translateY(calc(100% - var(--bar))); }
.hero.is-cut .hero-bar { transform: none; transition: transform .44s var(--ease-cut); }
.hero-in { position: absolute; left: 0; right: 0; top: var(--bar); bottom: var(--bar); z-index: 3; max-width: var(--max); margin: 0 auto; padding: 0 var(--g); display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 400px); gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(48px, 6.4vw, 100px); line-height: .92; letter-spacing: -0.035em; max-width: 8.4em; }
.hero-sub { margin-top: 26px; max-width: 440px; font-size: 18px; line-height: 1.5; color: rgba(255, 255, 255, .8); }
.hero-act { display: flex; align-items: center; gap: 22px; margin-top: 30px; }
.hero-play { display: inline-flex; align-items: center; gap: 12px; color: #fff; font-weight: 500; }
.hero-play span:first-child { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .4); display: grid; place-items: center; transition: background-color .3s, border-color .3s; }
.hero-play:hover span:first-child { background: #fff; border-color: #fff; color: var(--black); }
.hero-play svg { width: 13px; height: 13px; margin-left: 2px; }
.caps { display: flex; flex-direction: column; }
.cap { position: relative; display: flex; align-items: center; gap: 14px; padding: 13px 0 15px; border: 0; background: none; text-align: left; color: rgba(255, 255, 255, .56); font: 500 clamp(20px, 1.9vw, 28px)/1.1 var(--f-d); letter-spacing: -0.015em; transition: color .4s var(--ease); }
.cap:hover { color: rgba(255, 255, 255, .78); }
.cap[aria-selected="true"] { color: #fff; }
.cap-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--red); flex: none; transform: scale(0); transition: transform .45s var(--ease); }
.cap[aria-selected="true"] .cap-dot { transform: scale(1); }
.cap-line { position: absolute; left: 23px; right: 0; bottom: 0; height: 1px; background: rgba(255, 255, 255, .14); overflow: hidden; }
.cap-line span { position: absolute; inset: 0; background: rgba(255, 255, 255, .85); transform: scaleX(0); transform-origin: 0 50%; }
.cap.is-run .cap-line span { animation: capfill var(--dur, 5.6s) linear forwards; }
.cap.is-held .cap-line span { transform: none; background: var(--red); }
.caps:hover .cap.is-run .cap-line span, .hero.is-paused .cap.is-run .cap-line span { animation-play-state: paused; }
@keyframes capfill { to { transform: scaleX(1); } }
.caps-hint { margin-top: 16px; padding-left: 23px; font-size: 13px; color: rgba(255, 255, 255, .72); min-height: 20px; }
.slate { position: absolute; z-index: 3; left: var(--g); right: var(--g); top: max(calc(var(--nav-h) + 14px), calc(var(--bar) - 34px)); display: flex; gap: 18px; align-items: center; font: 500 12.5px/1 var(--f-t); color: rgba(255, 255, 255, .78); font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.slate .rec { width: 8px; height: 8px; border-radius: 50%; background: var(--red); }
@keyframes rec { 50% { opacity: .25; } }
.hero-foot { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; height: var(--bar); display: flex; align-items: center; }
.hero-foot .wrap { display: flex; align-items: center; gap: 44px; }
.hero-foot p { font-size: 13px; color: rgba(255, 255, 255, .5); flex: none; }
.marks { display: flex; align-items: center; justify-content: space-between; flex: 1; gap: 32px; color: rgba(255, 255, 255, .72); }
.marks li { white-space: nowrap; }
.wm1 { font: 700 13px/1 var(--f-t); letter-spacing: .26em; }
.wm2 { font: 600 21px/1 var(--f-d); letter-spacing: -0.03em; }
.wm3 { font: 500 11.5px/1.15 var(--f-t); letter-spacing: .16em; text-align: center; }
.wm4 { font: 500 24px/1 var(--f-d); letter-spacing: -0.05em; }
.wm4 b { color: var(--red); font-weight: 500; }
.wm5 { font: 500 17px/1 var(--f-t); letter-spacing: -0.01em; }
.wm6 { font: 600 14px/1 var(--f-d); letter-spacing: .12em; border: 1.5px solid currentColor; padding: 5px 8px; border-radius: 4px; }

/* ---------- Shared section rhythm ---------- */
.sec { padding: clamp(84px, 10vw, 140px) 0; }
.sec-white { background: #fff; }
.sec-black { background: var(--black); color: #fff; }
.sec-head { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: clamp(36px, 4vw, 56px); }
.sec-head .h2 { margin-top: 18px; max-width: 12em; }
.sec-head .lede { margin-top: 18px; }

/* ---------- Composer ---------- */
.cmp { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 16px; align-items: stretch; }
.cmp-ctrl { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 22px; display: flex; flex-direction: column; }
.cmp-top { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); }
.cmp-top b { font-weight: 500; color: var(--black); }
.cmp-prompt { width: 100%; margin-top: 12px; min-height: 132px; resize: none; border: 0; background: none; font: 400 19px/1.5 var(--f-t); color: var(--black); outline: none; }
.cmp-prompt:focus-visible { outline: 2px solid var(--red); outline-offset: 6px; border-radius: 4px; }
.cmp-try { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.cmp-try button { height: 30px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--bone); font-size: 13px; color: var(--black); transition: border-color .2s, background-color .2s; }
.cmp-try button { display: inline-flex; align-items: center; gap: 7px; padding-left: 5px; }
.cmp-try img { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; flex: none; }
.cmp-try button:hover { border-color: var(--black); background: #fff; }
.cmp-rows { margin-top: 20px; border-top: 1px solid var(--line); }
.cmp-row { display: grid; grid-template-columns: 82px minmax(0, 1fr); gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.cmp-row > span { font-size: 13px; color: var(--muted); }
.seg { display: flex; flex-wrap: wrap; gap: 6px; }
.seg button { height: 32px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: 13.5px; font-weight: 500; color: var(--black); transition: background-color .25s, color .25s, border-color .25s; }
.seg button:hover { border-color: #A9A79F; }
.seg button[aria-checked="true"] { background: var(--black); border-color: var(--black); color: #fff; }
.cmp-select { position: relative; }
.cmp-select select { appearance: none; -webkit-appearance: none; width: 100%; height: 36px; padding: 0 36px 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--bone); font-weight: 500; font-size: 14px; cursor: pointer; }
.cmp-select::after { content: ""; position: absolute; right: 15px; top: 50%; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.cmp-go { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: auto; padding-top: 20px; }
.cmp-cost { font-size: 13.5px; color: var(--muted); line-height: 1.35; }
.cmp-cost b { display: block; font-weight: 700; font-size: 15px; color: var(--black); }
.cmp-go .btn { height: 50px; padding: 0 26px; font-size: 16px; }
.cmp-go .btn[disabled] { opacity: .6; cursor: progress; }
.cmp-mon { background: var(--black); color: #fff; border-radius: 22px; padding: 14px; display: flex; flex-direction: column; gap: 12px; }
.mon-top { display: flex; justify-content: space-between; align-items: center; padding: 4px 6px 0; font-size: 13px; color: var(--muted-k); font-variant-numeric: tabular-nums; }
.mon-top b { color: #fff; font-weight: 500; }
.mon-live { display: inline-flex; align-items: center; gap: 8px; }
.mon-live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #5B5A60; }
.cmp-mon.is-rendering .mon-live::before { background: var(--red); animation: rec 1s steps(2, jump-none) infinite; }
.screen { position: relative; flex: 1 0 auto; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: #050505; }
.screen > video, .screen > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.screen > [hidden] { display: none; }
.matte { position: absolute; background: #050505; z-index: 2; transition: transform .75s var(--ease); }
.matte.t, .matte.b { left: 0; right: 0; height: 50.5%; }
.matte.l, .matte.r { top: 0; bottom: 0; width: 50.5%; }
.matte.t { top: 0; } .matte.b { bottom: 0; } .matte.l { left: 0; } .matte.r { right: 0; }
.screen.is-closed .matte { transform: none !important; transition: transform .42s var(--ease-cut); }
.render { position: absolute; inset: 0; z-index: 3; display: grid; place-content: center; text-align: center; gap: 12px; opacity: 0; pointer-events: none; transition: opacity .3s var(--ease); }
.cmp-mon.is-rendering .render { opacity: 1; }
.render b { font: 500 clamp(28px, 3vw, 44px)/1 var(--f-d); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.render small { font-size: 13px; color: var(--muted-k); }
.render-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--red); transform: scaleX(0); transform-origin: 0 50%; }
.mon-foot { display: flex; align-items: center; gap: 16px; padding: 0 2px 2px; }
.takes { display: flex; gap: 8px; }
.take { position: relative; width: 92px; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; border: 0; padding: 0; background: #1d1d20; opacity: .78; transition: opacity .3s; }
.take::after { content: ""; position: absolute; inset: 0; border: 2px solid transparent; border-radius: 8px; transition: border-color .3s; }
.take[aria-pressed="true"] { opacity: 1; }
.take[aria-pressed="true"]::after { border-color: var(--red); }
.take:hover { opacity: 1; }
.take img { width: 100%; height: 100%; object-fit: cover; }
.take span { position: absolute; left: 6px; bottom: 5px; font: 700 12px/1 var(--f-t); color: #fff; }
.mon-meta { margin-left: auto; text-align: right; font-size: 13px; color: var(--muted-k); line-height: 1.45; }
.mon-meta b { display: block; color: #fff; font-weight: 500; font-size: 14px; }
.v2 { transform: scale(1.22); }
.v3 { transform: scale(1.12) scaleX(-1); }

/* ---------- Why ---------- */
.why-tabs { display: flex; gap: 6px; border-bottom: 1px solid var(--line); margin-bottom: 40px; overflow-x: auto; scrollbar-width: none; }
.why-tab { position: relative; flex: none; padding: 0 4px 18px; margin-right: 34px; border: 0; background: none; text-align: left; color: var(--muted); font: 500 clamp(19px, 1.7vw, 24px)/1.1 var(--f-d); letter-spacing: -0.01em; transition: color .3s; }
.why-tab small { display: block; font: 500 12.5px/1 var(--f-t); letter-spacing: .02em; margin-bottom: 10px; }
.why-tab::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: 0 50%; transition: transform .6s var(--ease); }
.why-tab[aria-selected="true"] { color: var(--black); }
.why-tab[aria-selected="true"]::after { transform: scaleX(1); }
.why-panel { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.why-panel[hidden] { display: none; }
.why-media { position: relative; aspect-ratio: 4 / 3; border-radius: 20px; overflow: hidden; background: var(--black); }
.why-media img { width: 100%; height: 100%; object-fit: cover; }
.why-media.dip { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; }
.why-pin { position: absolute; padding: 8px 12px; border-radius: 10px; background: #fff; color: var(--black); font: 500 13px/1.2 var(--f-t); }
.why-pin::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: var(--red); vertical-align: 1px; }
.why-sheet { position: absolute; right: 18px; bottom: 18px; width: min(320px, 70%); background: #fff; border-radius: 14px; padding: 6px 14px; font-size: 13px; }
.why-sheet li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.why-sheet li:last-child { border: 0; }
.why-sheet span { color: var(--muted); }
.why-copy h3 { font-size: clamp(30px, 3vw, 44px); line-height: 1.02; letter-spacing: -0.025em; }
.why-copy > p { margin-top: 20px; font-size: 18px; color: var(--muted); }
.why-facts { margin: 28px 0 32px; border-top: 1px solid var(--line); }
.why-facts li { display: flex; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; }
.why-facts b { font: 500 15.5px/1.4 var(--f-t); min-width: 74px; }
.why-panel.is-in .why-copy { animation: rise .8s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }

/* ---------- One place ---------- */
.pills { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: #fff; border: 1px solid var(--line); }
.pill { height: 40px; padding: 0 20px; border-radius: 999px; border: 0; background: none; font: 500 15px/1 var(--f-t); color: var(--muted); transition: background-color .3s var(--ease), color .3s; }
.pill:hover { color: var(--black); }
.pill[aria-selected="true"] { background: var(--black); color: #fff; }
.op { margin-top: 28px; background: var(--black); color: #fff; border-radius: 28px; padding: clamp(18px, 2.4vw, 32px); min-height: 600px; }
.op-panel { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(20px, 3vw, 40px); min-height: 536px; }
.op-panel[hidden] { display: none; }
.op-panel.is-in > * { animation: rise .7s var(--ease) both; }
.op-panel.is-in > :nth-child(2) { animation-delay: .06s; }
.op-side { display: flex; flex-direction: column; padding: 10px 4px; }
.op-side h3 { font-size: clamp(26px, 2.4vw, 34px); line-height: 1.05; }
.op-side > p { margin-top: 14px; color: var(--muted-k); font-size: 16px; }
.op-side .btn, .op-side .tlink { margin-top: 24px; align-self: start; }
.op-list { margin-top: 26px; border-top: 1px solid var(--line-k); }
.op-item { display: block; width: 100%; padding: 15px 0; border: 0; border-bottom: 1px solid var(--line-k); background: none; text-align: left; color: rgba(255, 255, 255, .5); transition: color .3s; }
.op-item b { display: flex; align-items: center; gap: 10px; font: 500 21px/1.1 var(--f-d); letter-spacing: -0.01em; }
.op-item b::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--red); transform: scale(0); transition: transform .4s var(--ease); }
.op-item small { display: none; margin: 8px 0 0 17px; font-size: 14px; color: var(--muted-k); }
.op-item[aria-selected="true"] { color: #fff; }
.op-item[aria-selected="true"] b::before { transform: scale(1); }
.op-item[aria-selected="true"] small { display: block; }
.op-item:hover { color: #fff; }
.op-stage { position: relative; border-radius: 18px; overflow: hidden; background: var(--black-3); min-height: 420px; }
.op-media { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .6s var(--ease); }
.op-media.is-on { opacity: 1; }
.op-media > img, .op-media > video { width: 100%; height: 100%; object-fit: cover; }
.op-cap { position: absolute; left: 16px; bottom: 16px; right: 16px; display: flex; justify-content: space-between; align-items: end; gap: 12px; font-size: 13px; }
.op-cap span { padding: 7px 11px; border-radius: 999px; background: rgba(11, 11, 12, .74); }
.wave { position: absolute; left: 16px; right: 16px; bottom: 58px; height: 64px; display: flex; align-items: center; gap: 3px; }
.wave span { flex: 1; background: rgba(255, 255, 255, .82); border-radius: 2px; transform-origin: 50% 50%; }
.wave span.on { background: var(--red); }
.orbit { position: absolute; left: 50%; top: 50%; width: 70%; aspect-ratio: 2.4; transform: translate(-50%, -10%); border: 1.5px dashed rgba(255, 255, 255, .7); border-radius: 50%; }
.orbit::after { content: ""; position: absolute; top: -6px; left: 30%; width: 11px; height: 11px; border-radius: 50%; background: var(--red); }
.board { position: absolute; inset: 0; padding: 18px; display: grid; grid-template-columns: 1.2fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 10px; background: #E9E8E3; }
.board img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; }
.board img:first-child { grid-row: span 2; }
.board-note { position: absolute; left: 30px; top: 30px; padding: 8px 12px; border-radius: 10px; background: #fff; color: var(--black); font-size: 13px; font-weight: 500; }
/* desktop app window */
.app { position: relative; height: 100%; min-height: 500px; border-radius: 16px; background: #18181B; border: 1px solid var(--line-k); display: grid; grid-template-columns: 150px minmax(0, 1fr) 170px; grid-template-rows: 38px minmax(0, 1fr) 96px; overflow: hidden; font-size: 12.5px; }
.app-bar { grid-column: 1 / -1; display: flex; align-items: center; gap: 7px; padding: 0 14px; border-bottom: 1px solid var(--line-k); color: var(--muted-k); }
.app-bar i, .app-bar .dot { width: 11px; height: 11px; border-radius: 50%; background: #3A3A40; }
.app-bar .dot:nth-child(1) { background: #FF5F57; } .app-bar .dot:nth-child(2) { background: #FEBC2E; } .app-bar .dot:nth-child(3) { background: #28C840; }
.app-bar span:last-child { margin-left: auto; margin-right: auto; padding-right: 50px; }
.app-side { grid-row: 2 / 4; border-right: 1px solid var(--line-k); padding: 12px; color: var(--muted-k); }
.app-side p { font-size: 11px; margin: 4px 0 8px; }
.app-side li { padding: 7px 8px; border-radius: 7px; color: rgba(255, 255, 255, .8); }
.app-side li.on { background: #26262B; color: #fff; }
.app-view { position: relative; padding: 14px; display: grid; place-items: center; }
.app-view img { width: 100%; aspect-ratio: 2.39; object-fit: cover; border-radius: 6px; }
.app-insp { border-left: 1px solid var(--line-k); padding: 12px; grid-row: 2 / 4; grid-column: 3; }
.app-insp dt { color: var(--muted-k); font-size: 11px; margin-top: 12px; }
.app-insp dd { margin: 4px 0 0; padding: 7px 9px; border-radius: 7px; background: #222226; color: #fff; }
.app-tl { grid-column: 2; border-top: 1px solid var(--line-k); padding: 12px 14px; position: relative; }
.app-tl .clips { display: flex; gap: 4px; height: 38px; margin-top: 8px; }
.app-tl .clips img { height: 100%; flex: 1; min-width: 0; object-fit: cover; border-radius: 4px; }
.app-tl .ph { position: absolute; top: 8px; bottom: 8px; left: 38%; width: 2px; background: var(--red); }
.app-tl small { color: var(--muted-k); }
/* api */
.code { margin: 0; padding: 20px 22px; border-radius: 16px; background: #141416; border: 1px solid var(--line-k); font: 400 13.5px/1.7 ui-monospace, "SF Mono", Menlo, monospace; color: rgba(255, 255, 255, .86); overflow-x: auto; white-space: pre; }
.code .k { color: var(--muted-k); } .code .s { color: #FF8A98; } .code .c { color: #6E6C73; }
.api { display: grid; grid-template-rows: auto auto; gap: 12px; align-content: start; }
.api-out { display: flex; gap: 14px; align-items: center; padding: 12px; border-radius: 16px; background: #141416; border: 1px solid var(--line-k); }
.api-out img { width: 168px; aspect-ratio: 2.39; object-fit: cover; border-radius: 8px; }
.api-out p { font-size: 13.5px; color: var(--muted-k); }
.api-out b { display: block; color: #fff; font-weight: 500; font-size: 15px; margin-bottom: 4px; }
/* agents */
.agent { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
.agent-log { padding: 18px; border-radius: 16px; background: #141416; border: 1px solid var(--line-k); }
.agent-brief { padding: 12px 14px; border-radius: 12px; background: #222226; font-size: 14.5px; }
.agent-brief small { display: block; color: var(--muted-k); font-size: 12px; margin-bottom: 6px; }
.agent-steps { margin-top: 14px; }
.agent-steps li { display: flex; gap: 12px; padding: 10px 2px; font-size: 14px; color: rgba(255, 255, 255, .86); border-bottom: 1px solid var(--line-k); }
.agent-steps li:last-child { border: 0; }
.agent-steps li::before { content: ""; flex: none; width: 16px; height: 16px; margin-top: 2px; border-radius: 50%; border: 1.5px solid #4A4A50; }
.agent-steps li.done::before { border-color: #fff; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2 7 10.6l4.6-5' fill='none' stroke='%230B0B0C' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.agent-steps li.now::before { border-color: var(--red); background: var(--red); }
.agent-steps small { margin-left: auto; color: var(--muted-k); flex: none; }
.agent-out { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; align-content: start; }
.agent-out img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 12px; }
.agent-out p { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; border-radius: 12px; background: #141416; border: 1px solid var(--line-k); font-size: 13.5px; }
.agent-out p span { padding: 5px 10px; border-radius: 999px; background: var(--red); font-weight: 700; font-size: 12px; }

/* ---------- Models row ---------- */
.mt-row { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.mt { position: relative; display: block; height: clamp(360px, 32vw, 460px); border-radius: 16px; background: var(--bone); color: var(--black); overflow: hidden; }
.mt-rest { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; text-align: center; padding: 16px; transition: opacity .4s var(--ease); }
.mt-rest svg { width: 36px; height: 36px; }
.mt-rest b { font: 500 19px/1.1 var(--f-d); letter-spacing: -0.01em; }
.mt-rest small { font-size: 13px; color: var(--muted); }
.mt-new { position: absolute; top: 14px; left: 14px; font: 700 11px/1 var(--f-t); color: #fff; background: var(--red); padding: 5px 8px; border-radius: 999px; z-index: 2; }
.mt-open { position: absolute; inset: 0; clip-path: inset(50% 0 50% 0); transition: clip-path .7s var(--ease-cut); background: var(--black); }
.mt-open > img, .mt-open > video { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 1.2s var(--ease); }
.mt-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 56px 16px 16px; color: #fff; background: linear-gradient(180deg, rgba(11, 11, 12, 0), rgba(11, 11, 12, .82)); }
.mt-cap b { display: block; font: 500 19px/1.1 var(--f-d); }
.mt-cap small { display: block; margin-top: 6px; font-size: 13px; line-height: 1.4; color: rgba(255, 255, 255, .8); }
.mt.is-open .mt-open { clip-path: inset(0 0 0 0); }
.mt.is-open .mt-open > img, .mt.is-open .mt-open > video { transform: none; }
.mt.is-open .mt-rest { opacity: 0; }
.row-foot { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 28px; font-size: 14px; color: var(--muted); }

/* ---------- Scale bento ---------- */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 14px; }
.bc { position: relative; min-height: 470px; border-radius: 24px; padding: clamp(22px, 2.4vw, 32px); display: flex; flex-direction: column; overflow: hidden; }
.bc h3 { font-size: clamp(26px, 2.3vw, 34px); line-height: 1.02; }
.bc > p { margin-top: 10px; max-width: 380px; font-size: 16px; }
.bc .tlink { margin-top: 18px; }
.bc-ui { margin-top: auto; padding-top: 26px; }
.bc-bone { grid-column: span 7; background: var(--bone); }
.bc-bone > p { color: var(--muted); }
.bc-black { grid-column: span 5; background: var(--black); color: #fff; }
.bc-black > p { color: var(--muted-k); }
.bc-red { grid-column: span 5; background: var(--red); color: #fff; }
.bc-red > p { color: #fff; }
.bc-grey { grid-column: span 7; background: var(--grey); }
.bc-grey > p { color: #4F4D48; }
.tgrid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.tgrid button { aspect-ratio: 1; border-radius: 14px; border: 1px solid var(--line); background: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; font-size: 12.5px; font-weight: 500; color: var(--black); transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s; }
.tgrid button svg { width: 24px; height: 24px; }
.tgrid button:hover, .tgrid button[aria-pressed="true"] { background: var(--black); border-color: var(--black); color: #fff; }
.nodes { width: 100%; height: auto; }
.nodes text { font-family: var(--f-t); }
.nodes .pulse { animation: rec 1.4s steps(2, jump-none) infinite; }
.folders li { display: flex; align-items: center; gap: 14px; padding: 12px; border-radius: 14px; background: #fff; color: var(--black); transition: transform .45s var(--ease); }
.folders li + li { margin-top: 8px; }
.folders li:hover { transform: translateX(6px); }
.folders svg { width: 22px; height: 22px; flex: none; color: var(--red); }
.folders div { flex: 1; min-width: 0; }
.folders b { display: block; font-weight: 500; font-size: 15px; }
.folders small { color: var(--muted); font-size: 12.5px; }
.stack { display: flex; }
.stack img { width: 38px; height: 38px; border-radius: 9px; object-fit: cover; border: 2px solid #fff; }
.stack img + img { margin-left: -14px; }
.mini-app { background: #fff; border-radius: 18px; padding: 16px; display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 16px; align-items: stretch; }
.mini-app figure { position: relative; margin: 0; border-radius: 12px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--bone); }
.mini-app figure img { width: 100%; height: 100%; object-fit: cover; transition: filter .8s var(--ease); }
.mini-app figure.light-1 img { filter: brightness(1.12) saturate(.85) contrast(.95); }
.mini-app figure.light-2 img { filter: contrast(1.18) brightness(.86) saturate(1.3); }
.mini-app figure.light-3 img { filter: sepia(.25) brightness(1.04) contrast(1.06); }
.mini-app .bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--red); transform: scaleX(0); transform-origin: 0 50%; }
.ma-form { display: flex; flex-direction: column; gap: 10px; }
.ma-form .ma-h { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--muted); }
.ma-form .ma-h b { color: var(--black); font-weight: 500; font-size: 15px; }
.ma-form .seg button { height: 30px; font-size: 12.5px; }
.ma-form .btn { margin-top: auto; height: 44px; }
.ma-status { font-size: 12.5px; color: var(--muted); min-height: 18px; }

/* ---------- Tools ---------- */
.tools-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 22px; }
.arrows { display: flex; gap: 8px; }
.arrow { width: 44px; height: 44px; border-radius: 50%; border: 1px solid #C9C7C0; background: none; display: grid; place-items: center; color: var(--black); transition: border-color .25s, background-color .25s, color .25s, opacity .25s; }
.arrow svg { width: 16px; height: 16px; }
.arrow:hover { background: var(--black); color: #fff; border-color: var(--black); }
.arrow[disabled] { opacity: .35; pointer-events: none; }
.on-dark .arrow { border-color: #3A3A40; color: #fff; }
.on-dark .arrow:hover { background: #fff; color: var(--black); border-color: #fff; }
.rail { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; margin: 0 calc(var(--g) * -1); padding-left: var(--g); padding-right: var(--g); scroll-padding-left: var(--g); }
.rail::-webkit-scrollbar { display: none; }
.tc { flex: 0 0 254px; scroll-snap-align: start; display: flex; flex-direction: column; background: #fff; border-radius: 18px; padding: 10px; color: var(--black); transition: transform .5s var(--ease); }
.tc[hidden] { display: none; }
.tc:hover { transform: translateY(-4px); }
.tc-vis { height: 132px; border-radius: 12px; background: var(--t); color: var(--ti); display: grid; place-items: center; }
.tc-vis svg { width: 72px; height: 72px; transition: transform .6s var(--ease); }
.tc:hover .tc-vis svg { transform: scale(1.08); }
.tc-body { padding: 14px 8px 8px; display: flex; flex-direction: column; flex: 1; }
.tc-body b { font: 500 18px/1.15 var(--f-d); letter-spacing: -0.01em; }
.tc-body small { margin-top: 6px; color: var(--muted); font-size: 14px; line-height: 1.4; }
.tc-go { margin-top: 16px; display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--muted); }
.tc-go svg { width: 16px; height: 16px; color: var(--black); transition: transform .4s var(--ease); }
.tc:hover .tc-go svg { transform: translateX(4px); }

/* ---------- Originals ---------- */
.og-track { display: flex; gap: 20px; transition: transform 1s var(--ease); }
.og-view { overflow: hidden; margin: 0 calc(var(--g) * -1); padding: 0 var(--g); }
.og { flex: 0 0 84%; opacity: .32; transition: opacity .8s var(--ease); }
.og.is-on { opacity: 1; }
.og-frame { position: relative; aspect-ratio: 2.39; border-radius: 18px; overflow: hidden; background: #000; }
.og-frame video { width: 100%; height: 100%; object-fit: cover; }
.og-meta { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) auto; gap: 32px; align-items: start; padding-top: 24px; }
.og-meta h3 { font-size: clamp(28px, 2.6vw, 40px); }
.og-meta h3 + p { margin-top: 10px; color: var(--muted-k); max-width: 460px; }
.crew { display: flex; align-items: center; gap: 12px; font-size: 14px; color: rgba(255, 255, 255, .85); }
.crew .stack img { border-color: var(--black); width: 40px; height: 40px; border-radius: 50%; }
.crew small { display: block; color: var(--muted-k); font-size: 13px; }
.og-runtime { font-size: 13px; color: var(--muted-k); text-align: right; }
.og-runtime .tlink { display: inline-flex; margin-top: 10px; color: #fff; font-size: 16px; }
.og-ctrl { display: flex; align-items: center; gap: 20px; }
.prog { display: flex; gap: 6px; }
.prog button { position: relative; width: 48px; height: 22px; border: 0; background: none; padding: 0; }
.prog button::before, .prog button span { content: ""; position: absolute; left: 0; right: 0; top: 10px; height: 2px; border-radius: 2px; background: #333338; }
.prog button span { background: #fff; transform: scaleX(0); transform-origin: 0 50%; }
.prog button.done span { transform: scaleX(1); }
.prog button.run span { animation: capfill 7s linear forwards; }
.og-wrap:is(:hover, :focus-within) .prog button.run span { animation-play-state: paused; }

/* ---------- Pricing ---------- */
.bill { display: inline-flex; align-items: center; gap: 4px; padding: 4px; border-radius: 999px; background: #fff; border: 1px solid var(--line); }
.bill button { height: 38px; padding: 0 18px; border-radius: 999px; border: 0; background: none; font-weight: 500; font-size: 14.5px; color: var(--muted); }
.bill button[aria-checked="true"] { background: var(--black); color: #fff; }
.bill small { margin-left: 6px; padding: 3px 7px; border-radius: 999px; background: var(--red); color: #fff; font-weight: 700; font-size: 11px; }
.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.plan { position: relative; display: flex; flex-direction: column; padding: 26px 24px 24px; border-radius: 22px; background: #fff; border: 1px solid var(--line); transition: border-color .35s var(--ease); }
.plan-dark { background: var(--black); color: #fff; border-color: var(--black); }
.plan h3 { font-size: 24px; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.plan-tag { font: 700 11.5px/1 var(--f-t); letter-spacing: .01em; padding: 6px 9px; border-radius: 999px; background: var(--bone); color: var(--black); }
.plan-dark .plan-tag { background: var(--red); color: #fff; }
.plan > p { margin-top: 8px; color: var(--muted); font-size: 14.5px; min-height: 44px; }
.plan-dark > p { color: var(--muted-k); }
.price { display: flex; align-items: baseline; gap: 8px; margin-top: 22px; }
.price b { font: 500 52px/1 var(--f-d); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.price span { font-size: 14px; color: var(--muted); }
.plan-dark .price span { color: var(--muted-k); }
.price-note { font-size: 13px; color: var(--muted); min-height: 20px; margin-top: 6px; }
.plan-dark .price-note { color: var(--muted-k); }
.plan .btn { margin-top: 22px; width: 100%; }
.plan ul { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); display: grid; gap: 11px; font-size: 14.5px; }
.plan-dark ul { border-color: var(--line-k); }
.plan li { display: flex; gap: 10px; }
.plan li::before { content: ""; flex: none; width: 6px; height: 6px; margin-top: 8px; border-radius: 50%; background: currentColor; opacity: .5; }
.plan.is-fit { border-color: var(--red); }
.fit { position: absolute; top: -11px; right: 20px; padding: 5px 10px; border-radius: 999px; background: var(--red); color: #fff; font: 700 11.5px/1 var(--f-t); opacity: 0; transform: translateY(4px); transition: opacity .35s var(--ease), transform .45s var(--ease); }
.plan.is-fit .fit { opacity: 1; transform: none; }
.calc { margin-top: 14px; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 40px; align-items: center; padding: 30px 32px; border-radius: 22px; background: #fff; border: 1px solid var(--line); }
.calc label { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; font: 500 22px/1.2 var(--f-d); }
.calc label output { font: 500 30px/1 var(--f-d); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.range { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; margin-top: 18px; background: transparent; cursor: pointer; --p: 20%; }
.range::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--red) var(--p), var(--line) var(--p)); }
.range::-moz-range-track { height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--red) var(--p), var(--line) var(--p)); }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; margin-top: -10px; border-radius: 50%; background: var(--black); border: 4px solid #fff; outline: 1px solid var(--black); }
.range::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--black); border: 4px solid #fff; }
.range:focus-visible { outline: none; }
.range:focus-visible::-webkit-slider-thumb { outline: 2px solid var(--red); outline-offset: 2px; }
.ticks { display: flex; justify-content: space-between; margin-top: 6px; font-size: 12.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.calc-out { border-left: 1px solid var(--line); padding-left: 40px; }
.calc-out small { font-size: 13px; color: var(--muted); }
.calc-out b { display: block; margin-top: 6px; font: 500 28px/1.1 var(--f-d); letter-spacing: -0.02em; }
.calc-out p { margin-top: 8px; font-size: 14.5px; color: var(--muted); }

/* ---------- Quotes, FAQ ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.quote { margin: 0; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; padding: 28px; border-radius: 22px; background: var(--bone); }
.quote blockquote { margin: 0; font: 500 clamp(20px, 1.7vw, 24px)/1.3 var(--f-d); letter-spacing: -0.01em; }
.who { display: flex; align-items: center; gap: 14px; }
.who img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.who b { display: block; font-weight: 500; }
.who small { color: var(--muted); font-size: 14px; }
.faq { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 100px); }
.faq-l p { margin-top: 18px; color: var(--muted); font-size: 17px; max-width: 380px; }
.faq-l .tlink { margin-top: 22px; }
.qa { border-top: 1px solid var(--line); }
.qa-i { border-bottom: 1px solid var(--line); }
.qa-b { display: flex; justify-content: space-between; align-items: center; gap: 24px; width: 100%; padding: 24px 0; border: 0; background: none; text-align: left; font: 500 20px/1.3 var(--f-d); letter-spacing: -0.01em; color: var(--black); }
.qa-b span { position: relative; flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line); transition: background-color .3s, border-color .3s; }
.qa-b span::before, .qa-b span::after { content: ""; position: absolute; left: 9px; right: 9px; top: 14px; height: 1.5px; background: currentColor; transition: transform .45s var(--ease); }
.qa-b span::after { transform: rotate(90deg); }
.qa-b[aria-expanded="true"] span { background: var(--black); border-color: var(--black); color: #fff; }
.qa-b[aria-expanded="true"] span::after { transform: rotate(0); }
.qa-p { padding: 0 60px 26px 0; color: var(--muted); font-size: 16.5px; }
.qa-p:not([hidden]) { animation: rise .5s var(--ease) both; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .mt-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .mt { height: 380px; }
  .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .app { grid-template-columns: 130px minmax(0, 1fr); }
  .app-insp { display: none; }
}
@media (max-width: 960px) {
  .cmp, .why-panel, .op-panel, .faq, .calc { grid-template-columns: 1fr; }
  .op { min-height: 0; }
  .op-panel { min-height: 0; }
  .op-stage { min-height: 0; height: min(76vw, 440px); }
  .bc-bone, .bc-black, .bc-red, .bc-grey { grid-column: span 12; }
  .bc { min-height: 0; }
  .quotes { grid-template-columns: 1fr; }
  .sec-head { flex-direction: column; align-items: start; }
  .og { flex-basis: 92%; }
  .og-meta { grid-template-columns: 1fr; gap: 18px; }
  .og-runtime { text-align: left; }
  .calc-out { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 24px; }
  .agent { grid-template-columns: 1fr; }
}
@media (max-width: 820px), (max-aspect-ratio: 23/20) {
  .hero { --bar: calc(var(--nav-h) + 8px); min-height: 700px; }
  .hero-in { grid-template-columns: 1fr; align-content: space-between; padding-top: 34px; padding-bottom: 22px; gap: 24px; }
  .hero-layer[data-i="0"] video { object-position: 30% 50%; }
  .hero-dip { grid-template-columns: 1fr; grid-template-rows: 1fr 1fr; }
  .slate { display: none; }
  .caps-hint { display: none; }
  .cap { padding: 9px 0 11px; font-size: 19px; }
  .hero-foot .wrap { gap: 20px; }
  .hero-foot p { display: none; }
  .marks li:nth-child(n + 4) { display: none; }
}
@media (max-width: 640px) {
  .hero h1 { font-size: 46px; }
  .hero-sub { font-size: 16px; margin-top: 18px; }
  .hero-act { margin-top: 20px; }
  .mt-row { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 calc(var(--g) * -1); padding: 0 var(--g); scrollbar-width: none; }
  .mt { flex: 0 0 68%; height: 360px; scroll-snap-align: start; }
  .plans { grid-template-columns: 1fr; }
  .tgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tgrid button:nth-child(n + 7) { display: none; }
  .mini-app { grid-template-columns: 1fr; }
  .mini-app figure { aspect-ratio: 16 / 10; }
  .mon-foot { flex-wrap: wrap; }
  .mon-meta { margin-left: 0; text-align: left; }
  .take { width: 78px; }
  .app { grid-template-columns: 1fr; grid-template-rows: 38px auto 96px; min-height: 0; }
  .app-side { display: none; }
  .app-tl { grid-column: 1; }
  .api-out { flex-direction: column; align-items: start; }
  .api-out img { width: 100%; }
  .code { font-size: 12px; padding: 16px; }
  .calc { padding: 24px 20px; }
  .why-tab { margin-right: 18px; }
  .qa-p { padding-right: 0; }
  .pills { overflow-x: auto; max-width: 100%; scrollbar-width: none; }
  .pill { padding: 0 16px; flex: none; }
  .og-ctrl .arrows, .tools-bar .arrows { display: none; }
  .hero-scrim { background: linear-gradient(180deg, rgba(11, 11, 12, .6) 0%, rgba(11, 11, 12, .2) 38%, rgba(11, 11, 12, .24) 58%, rgba(11, 11, 12, .78) 100%); }
  .bill button { padding: 0 12px; }
}
.is-static .hero-layer.is-on > video, .is-static .hero-layer.is-on > img, .is-static .hero-layer.is-on .hero-dip img { animation: none; }
.seg button[disabled] { opacity: .38; cursor: not-allowed; }
.og-wrap.og-paused .prog button.run span { animation-play-state: paused; }
.slate-r { margin-left: auto; color: rgba(255, 255, 255, .5); }
.scrub { position: relative; height: 18px; margin: 0 4px; background: repeating-linear-gradient(90deg, #34343A 0 1px, transparent 1px 10px) 0 100% / 100% 7px no-repeat, linear-gradient(#26262A, #26262A) 0 100% / 100% 1px no-repeat; }
.scrub-ph { position: absolute; top: 0; bottom: 0; left: 0; width: 2px; background: var(--red); transform: translateX(var(--x, 0px)); }
.scrub-ph::before { content: ""; position: absolute; top: -1px; left: -3px; width: 8px; height: 8px; border-radius: 2px; background: var(--red); }
