@import url("https://fonts.googleapis.com/css2?family=Geist:wght@400;500;600;700&family=Geist+Mono:wght@400;500&display=swap");
:root { --bg: #0a0a0b; --bg-2: #111113; --card: #141416; --line: #232327; --line-2: #2e2e33; --tx: #f4f4f5; --dim: #8a8a93; --acc: #c6f432; --acc-tx: #0a0a0b; --r: 14px; }
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: "Geist", sans-serif; background: var(--bg); color: var(--tx); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-weight: 600; letter-spacing: -0.04em; line-height: 1.02; }
code, .mono { font-family: "Geist Mono", monospace; }
.w { max-width: 1240px; margin: 0 auto; padding: 0 28px; }
.sec { padding: 110px 0; }
.lead { font-size: 18px; line-height: 1.6; color: var(--dim); max-width: 36em; }
.acc { color: var(--acc); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 18px; border-radius: 10px; font-weight: 500; font-size: 14.5px; background: var(--acc); color: var(--acc-tx); border: 0; cursor: pointer; font-family: inherit; transition: filter .2s, transform .2s; white-space: nowrap; }
.btn:hover { filter: brightness(1.08); transform: translateY(-1px); } .btn.ghost { background: var(--card); color: var(--tx); box-shadow: inset 0 0 0 1px var(--line-2); }
.label { font-family: "Geist Mono"; font-size: 12px; color: var(--dim); text-transform: uppercase; letter-spacing: .08em; display: inline-flex; gap: 8px; align-items: center; }
.label::before { content: ""; width: 6px; height: 6px; background: var(--acc); border-radius: 1px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); }
[data-rv] { opacity: 0; transform: translateY(18px); transition: opacity .6s, transform .6s cubic-bezier(.2,.7,.2,1); } [data-rv].in { opacity: 1; transform: none; }
.dots { background-image: radial-gradient(#26262b 1px, transparent 1px); background-size: 20px 20px; }

/* header */
.lh { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 28px; border-bottom: 1px solid transparent; transition: background .3s, border-color .3s; }
.lh.scrolled, .lh.menu-open { background: rgba(10,10,11,.85); backdrop-filter: blur(12px); border-color: var(--line); }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 17px; letter-spacing: -0.02em; }
.lh-nav { display: flex; gap: 4px; } .lh-nav a { padding: 7px 12px; border-radius: 8px; font-size: 14.5px; color: var(--dim); } .lh-nav a:hover { color: var(--tx); background: var(--card); } .lh-nav a[aria-current] { color: var(--tx); }
.lh-act { display: flex; gap: 14px; align-items: center; } .lh-sec { font-size: 14.5px; color: var(--dim); } .lh-sec:hover { color: var(--tx); }
.burger { display: none; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--card); cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.burger i { width: 15px; height: 1.5px; background: var(--tx); transition: transform .3s; }
.menu-open .burger i:first-child { transform: translateY(3.3px) rotate(45deg); } .menu-open .burger i:last-child { transform: translateY(-3.3px) rotate(-45deg); }
.drawer { position: fixed; inset: 69px 0 0 0; z-index: 49; background: var(--bg); padding: 24px 28px; display: flex; flex-direction: column; gap: 24px; opacity: 0; pointer-events: none; transition: opacity .25s; }
.drawer.open { opacity: 1; pointer-events: auto; } .drawer nav { display: flex; flex-direction: column; } .drawer nav a { font-size: 26px; font-weight: 600; padding: 12px 0; border-bottom: 1px solid var(--line); }

/* footer */
.lf { border-top: 1px solid var(--line); padding: 70px 28px 36px; }
.lf-top { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 40px; }
.lf-brand p { margin-top: 12px; color: var(--dim); max-width: 22em; line-height: 1.55; font-size: 14.5px; }
.lf h4 { font-family: "Geist Mono"; font-size: 12px; color: var(--dim); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 12px; font-weight: 500; }
.lf-top a { display: block; padding: 5px 0; font-size: 14.5px; color: #c4c4cb; } .lf-top a:hover { color: var(--acc); }
.lf-bot { max-width: 1240px; margin: 50px auto 0; padding-top: 20px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 13px; color: #6b6b74; } .lf-bot a:hover { color: var(--acc); }
.concept-badge { position: fixed; left: 16px; bottom: 16px; z-index: 60; display: flex; align-items: center; gap: 8px; padding: 7px 12px 7px 7px; border-radius: 99px; background: #fff; color: #0d0f12; font: 600 12px/1 Inter, sans-serif; box-shadow: 0 10px 30px rgba(0,0,0,.4); transition: transform .2s; }
.concept-badge:hover { transform: translateY(-2px); } .concept-badge b { background: #6d49e2; color: #fff; padding: 5px 8px; border-radius: 99px; } .concept-badge i { font-style: normal; color: #6d49e2; }

/* hero */
.hero { padding: 80px 0 60px; text-align: center; position: relative; }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 50% at 50% 0%, color-mix(in srgb, var(--acc) 18%, transparent), transparent 70%); pointer-events: none; }
.hero .w { position: relative; }
.ver { display: inline-flex; gap: 8px; align-items: center; padding: 5px 12px 5px 5px; border-radius: 99px; border: 1px solid var(--line-2); font-size: 13px; color: var(--dim); background: var(--bg-2); }
.ver b { background: var(--acc); color: var(--acc-tx); padding: 3px 8px; border-radius: 99px; font-weight: 500; font-size: 12px; }
.hero h1 { font-size: clamp(44px, 6.8vw, 96px); margin: 24px auto 20px; max-width: 12em; }
.hero .lead { margin: 0 auto; }
.install { margin: 34px auto 0; display: inline-flex; align-items: center; gap: 14px; padding: 8px 8px 8px 16px; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--line-2); font-family: "Geist Mono"; font-size: 14.5px; max-width: 100%; }
.install span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .install span::before { content: "$ "; color: var(--dim); }
.install button { font-family: "Geist Mono"; font-size: 12.5px; padding: 7px 10px; border-radius: 8px; background: var(--card); color: var(--tx); border: 1px solid var(--line-2); cursor: pointer; flex: none; }
.hero .acts { margin-top: 18px; display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* bento of live components */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 12px; margin-top: 70px; text-align: left; }
.tile { padding: 18px; position: relative; overflow: hidden; }
.tile .nm { font-family: "Geist Mono"; font-size: 11px; color: var(--dim); position: absolute; right: 14px; top: 14px; }
.t-kpi { grid-column: span 3; } .t-chart { grid-column: span 6; } .t-chat { grid-column: span 3; grid-row: span 2; } .t-table { grid-column: span 6; } .t-ctrl { grid-column: span 3; }
.kpi small { color: var(--dim); font-size: 13px; } .kpi b { display: block; font-size: 34px; letter-spacing: -0.04em; margin: 6px 0; } .delta { font-family: "Geist Mono"; font-size: 12px; color: var(--acc); }
.tile svg { display: block; width: 100%; }
.area-path { fill: color-mix(in srgb, var(--acc) 18%, transparent); } .line-path { fill: none; stroke: var(--acc); stroke-width: 2; stroke-dasharray: 900; stroke-dashoffset: 900; transition: stroke-dashoffset 1.8s cubic-bezier(.2,.7,.2,1); }
.in .line-path, .line-path.drawn { stroke-dashoffset: 0; }
.chat { display: flex; flex-direction: column; gap: 10px; font-size: 13.5px; line-height: 1.45; margin-top: 26px; }
.msg { padding: 10px 12px; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--line); max-width: 92%; }
.msg.me { align-self: flex-end; background: var(--acc); color: var(--acc-tx); border: 0; }
.tool { border: 1px dashed var(--line-2); border-radius: 12px; padding: 10px 12px; font-family: "Geist Mono"; font-size: 12px; color: var(--dim); }
.tool b { color: var(--tx); font-weight: 500; } .tool .ok { color: var(--acc); }
.typing { display: inline-flex; gap: 4px; } .typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--dim); animation: bl 1.2s infinite; } .typing i:nth-child(2) { animation-delay: .2s; } .typing i:nth-child(3) { animation-delay: .4s; }
@keyframes bl { 50% { opacity: .2; } }
.tbl { width: 100%; border-collapse: collapse; font-size: 13.5px; margin-top: 24px; }
.tbl th { text-align: left; font-weight: 500; color: var(--dim); font-size: 12px; padding: 8px 6px; border-bottom: 1px solid var(--line); font-family: "Geist Mono"; }
.tbl td { padding: 10px 6px; border-bottom: 1px solid var(--line); } .tbl tr:last-child td { border-bottom: 0; }
.st { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; padding: 3px 8px; border-radius: 99px; background: var(--bg-2); border: 1px solid var(--line-2); } .st::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--acc); } .st.w8::before { background: #f5b53c; } .st.er::before { background: #ff5d5d; }
.switch { position: relative; width: 40px; height: 22px; border-radius: 99px; background: var(--line-2); border: 0; cursor: pointer; transition: background .2s; flex: none; } .switch::after { content: ""; position: absolute; left: 3px; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .2s; }
.switch[aria-checked="true"] { background: var(--acc); } .switch[aria-checked="true"]::after { transform: translateX(18px); background: var(--acc-tx); }
.ctrl-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; } .ctrl-row:last-child { border-bottom: 0; }
.ctrl-wrap { margin-top: 22px; }
.slider { width: 100%; accent-color: var(--acc); }

.nums { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.nums div { padding: 28px; border-right: 1px solid var(--line); } .nums div:last-child { border-right: 0; }
.nums b { display: block; font-size: clamp(34px, 4vw, 52px); letter-spacing: -0.05em; } .nums span { color: var(--dim); font-size: 14px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.split h2 { font-size: clamp(34px, 4.2vw, 56px); margin: 16px 0; }
.code { background: #0d0d0f; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.code .bar { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; border-bottom: 1px solid var(--line); font-family: "Geist Mono"; font-size: 12px; color: var(--dim); }
.code .bar button { font: inherit; background: none; border: 1px solid var(--line-2); color: var(--tx); border-radius: 6px; padding: 4px 8px; cursor: pointer; }
.code pre { padding: 18px; font-family: "Geist Mono"; font-size: 13.5px; line-height: 1.7; overflow-x: auto; color: #d4d4d8; }
.code .k { color: #c792ea; } .code .s { color: var(--acc); } .code .c { color: #5c5c66; } .code .p { color: #82aaff; }

.themes { display: flex; gap: 10px; margin-top: 24px; flex-wrap: wrap; }
.themes button { display: flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--card); color: var(--tx); cursor: pointer; font-family: inherit; font-size: 14px; }
.themes button i { width: 14px; height: 14px; border-radius: 4px; } .themes button.on { box-shadow: inset 0 0 0 1px var(--acc); }
.swatches { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.swatches div { border-radius: 12px; border: 1px solid var(--line); padding: 12px; font-family: "Geist Mono"; font-size: 11px; color: var(--dim); }
.swatches i { display: block; height: 54px; border-radius: 8px; margin-bottom: 8px; }

.cta { text-align: center; padding: 110px 0; }
.cta h2 { font-size: clamp(40px, 5.6vw, 80px); max-width: 12em; margin: 0 auto 26px; }

/* components page */
.phero { padding: 70px 0 40px; } .phero h1 { font-size: clamp(40px, 5.4vw, 76px); margin: 18px 0; max-width: 12em; }
.filters { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 22px; }
.filters button { font-family: inherit; font-size: 14px; padding: 8px 14px; border-radius: 99px; border: 1px solid var(--line-2); background: transparent; color: var(--dim); cursor: pointer; } .filters button.on { background: var(--tx); color: var(--bg); border-color: var(--tx); }
.cgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.comp { overflow: hidden; transition: border-color .2s; } .comp:hover { border-color: var(--line-2); }
.comp .pv { height: 180px; display: grid; place-items: center; padding: 20px; border-bottom: 1px solid var(--line); }
.comp .meta { padding: 14px 16px; display: flex; justify-content: space-between; align-items: center; gap: 10px; } .comp .meta b { font-weight: 500; } .comp .meta code { font-size: 12px; color: var(--dim); }
.comp.hide { display: none; }

/* docs */
.docs { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 50px; padding: 50px 0 100px; }
.side { position: sticky; top: 90px; align-self: start; } .side h4 { font-family: "Geist Mono"; font-size: 12px; color: var(--dim); text-transform: uppercase; letter-spacing: .08em; margin: 20px 0 8px; font-weight: 500; }
.side a { display: block; padding: 6px 10px; border-radius: 8px; font-size: 14.5px; color: var(--dim); } .side a:hover { color: var(--tx); background: var(--card); } .side a.on { color: var(--tx); background: var(--card); box-shadow: inset 2px 0 0 var(--acc); }
.doc { max-width: 760px; } .doc h1 { font-size: 46px; margin-bottom: 14px; } .doc h2 { font-size: 30px; margin: 56px 0 12px; scroll-margin-top: 90px; } .doc p { color: #b6b6bf; line-height: 1.7; margin-bottom: 16px; } .doc .code { margin: 16px 0 22px; }
.doc code.i { background: var(--card); border: 1px solid var(--line); padding: 2px 6px; border-radius: 6px; font-size: 13px; color: var(--tx); }
.callout { border: 1px solid var(--line-2); border-left: 3px solid var(--acc); border-radius: 10px; padding: 14px 16px; background: var(--bg-2); color: #c4c4cb; font-size: 15px; line-height: 1.6; margin: 18px 0; }
.ttable { width: 100%; border-collapse: collapse; font-size: 14px; margin: 14px 0 22px; } .ttable th, .ttable td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); } .ttable th { color: var(--dim); font-weight: 500; font-family: "Geist Mono"; font-size: 12px; } .ttable td i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; vertical-align: middle; margin-right: 8px; border: 1px solid var(--line-2); }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; align-items: stretch; }
.plan { padding: 26px; display: flex; flex-direction: column; }
.plan h3 { font-size: 22px; } .plan .price { font-size: 52px; letter-spacing: -0.05em; font-weight: 600; margin: 18px 0 4px; } .plan .price small { font-size: 15px; color: var(--dim); font-weight: 400; letter-spacing: 0; }
.plan > p { color: var(--dim); font-size: 15px; line-height: 1.5; } .plan ul { list-style: none; margin: 22px 0 26px; flex: 1; } .plan li { padding: 9px 0; border-top: 1px solid var(--line); font-size: 14.5px; display: flex; gap: 10px; } .plan li::before { content: "✓"; color: var(--acc); }
.plan.hot { border-color: var(--acc); box-shadow: 0 0 0 1px var(--acc), 0 30px 60px color-mix(in srgb, var(--acc) 12%, transparent); }
.faqq details { border-bottom: 1px solid var(--line); padding: 18px 0; } .faqq summary { cursor: pointer; font-weight: 500; font-size: 18px; list-style: none; display: flex; justify-content: space-between; } .faqq summary::after { content: "+"; color: var(--acc); font-family: "Geist Mono"; } .faqq details[open] summary::after { content: "−"; } .faqq p { color: var(--dim); margin-top: 10px; line-height: 1.6; }

@media (prefers-reduced-motion: reduce) { [data-rv] { opacity: 1; transform: none; } .line-path { stroke-dashoffset: 0; transition: none; } .typing i { animation: none; } }
@media (max-width: 960px) {
  .lh-nav, .lh-sec, .lh-act > .btn { display: none; } .burger { display: flex; } .lh { padding: 12px 20px; }
  .w { padding: 0 20px; } .sec { padding: 80px 0; }
  .t-kpi, .t-ctrl { grid-column: span 6; } .t-chart, .t-table, .t-chat { grid-column: span 12; } .t-chat { grid-row: auto; }
  .split, .docs { grid-template-columns: 1fr; gap: 30px; } .side { position: static; display: flex; flex-wrap: wrap; gap: 4px; } .side h4 { width: 100%; margin: 6px 0 2px; }
  .nums { grid-template-columns: 1fr 1fr; } .nums div:nth-child(2) { border-right: 0; } .nums div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .cgrid, .plans { grid-template-columns: 1fr 1fr; } .swatches { grid-template-columns: repeat(3, 1fr); }
  .lf-top { grid-template-columns: 1fr 1fr; } .lf-brand { grid-column: span 2; }
}
@media (max-width: 560px) { .t-kpi, .t-ctrl { grid-column: span 12; } .cgrid, .plans { grid-template-columns: 1fr; } .doc h1 { font-size: 36px; } .install { font-size: 12.5px; } }
