:root {
  --bg: #070707;
  --panel: #111111;
  --panel-2: #171717;
  --line: #2a2a2a;
  --text: #f5f5f2;
  --muted: #a6a6a0;
  --accent: #d8f27b;
  --accent-2: #b5cf50;
  --danger: #ff7f7f;
  --radius: 20px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
.shell { width: min(1180px, calc(100% - 36px)); margin: 0 auto; }
.nav { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid rgba(255,255,255,.08); backdrop-filter: blur(18px); background: rgba(7,7,7,.82); }
.nav-inner { height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; letter-spacing: -.03em; font-size: 20px; }
.brand-mark { width: 34px; height: 34px; border-radius: 11px; background: var(--accent); color: #111; display: grid; place-items: center; font-weight: 900; }
.nav-links { display: flex; gap: 24px; color: var(--muted); font-size: 14px; }
.nav-links a:hover { color: var(--text); }
.btn { border: 1px solid var(--line); border-radius: 999px; padding: 11px 18px; background: var(--panel); color: var(--text); font-weight: 700; }
.btn:hover { transform: translateY(-1px); border-color: #484848; }
.btn-primary { background: var(--accent); color: #0b0b0b; border-color: var(--accent); }
.btn-primary:hover { background: var(--accent-2); }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.hero { min-height: 78vh; display: grid; align-items: center; padding: 90px 0; background: radial-gradient(circle at 70% 30%, rgba(216,242,123,.12), transparent 32%), radial-gradient(circle at 20% 20%, rgba(255,255,255,.05), transparent 25%); }
.eyebrow { text-transform: uppercase; letter-spacing: .18em; font-size: 12px; color: var(--accent); font-weight: 800; }
h1 { font-size: clamp(48px, 8vw, 104px); line-height: .94; letter-spacing: -.065em; margin: 18px 0 24px; max-width: 1000px; }
.hero p { max-width: 720px; font-size: clamp(18px, 2.2vw, 24px); color: var(--muted); line-height: 1.55; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 70px; }
.stat { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.02); }
.stat strong { font-size: 28px; display: block; margin-bottom: 7px; }
.stat span { color: var(--muted); }
.section { padding: 90px 0; }
.section h2 { font-size: clamp(34px, 5vw, 64px); letter-spacing: -.045em; margin: 0 0 20px; }
.section-intro { color: var(--muted); font-size: 18px; max-width: 700px; line-height: 1.6; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 38px; }
.card { border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); padding: 28px; }
.card h3 { font-size: 22px; margin: 16px 0 10px; }
.card p { color: var(--muted); line-height: 1.6; }
.card-number { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #111; font-weight: 900; }
.footer { border-top: 1px solid var(--line); padding: 34px 0; color: var(--muted); font-size: 14px; }
.footer-inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* Studio */
.studio-body { min-height: 100vh; background: #080808; }
.studio-top { border-bottom: 1px solid var(--line); background: rgba(8,8,8,.92); position: sticky; top: 0; z-index: 20; backdrop-filter: blur(16px); }
.studio-top-inner { min-height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.user-pill { border: 1px solid var(--line); border-radius: 999px; padding: 9px 14px; color: var(--muted); font-size: 13px; }
.studio-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 20px; padding: 24px 0 60px; }
.trial-banner { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 18px 20px; border: 1px solid rgba(216,242,123,.28); background: rgba(216,242,123,.06); border-radius: 18px; }
.trial-banner strong { display: block; margin-bottom: 5px; }
.trial-banner span { color: var(--muted); font-size: 14px; }
.credit-meter { min-width: 240px; }
.meter-track { height: 7px; background: #2a2a2a; border-radius: 99px; overflow: hidden; margin-top: 8px; }
.meter-fill { height: 100%; background: var(--accent); width: 0%; }
.workspace, .side-panel { border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.workspace { padding: 24px; min-height: 700px; }
.side-panel { padding: 20px; align-self: start; position: sticky; top: 94px; }
.mode-tabs { display: inline-flex; padding: 4px; border: 1px solid var(--line); background: #0b0b0b; border-radius: 999px; gap: 4px; }
.mode-tab { border: 0; background: transparent; color: var(--muted); padding: 10px 17px; border-radius: 999px; font-weight: 800; }
.mode-tab.active { background: var(--text); color: #111; }
.workspace h1 { font-size: clamp(34px, 5vw, 62px); letter-spacing: -.05em; line-height: 1; margin: 26px 0 12px; }
.workspace-sub { color: var(--muted); margin-bottom: 28px; }
.prompt-box { background: #0a0a0a; border: 1px solid var(--line); border-radius: 18px; padding: 18px; }
.prompt-box textarea { width: 100%; min-height: 148px; resize: vertical; background: transparent; color: var(--text); border: 0; outline: 0; font-size: 17px; line-height: 1.55; }
.prompt-footer { display: flex; justify-content: space-between; align-items: center; gap: 12px; border-top: 1px solid var(--line); padding-top: 14px; }
.prompt-tip { color: var(--muted); font-size: 12px; }
.settings-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 18px 0; }
.field label { display: block; font-size: 12px; color: var(--muted); margin: 0 0 8px 4px; }
.field select, .field input { width: 100%; background: #0a0a0a; border: 1px solid var(--line); color: var(--text); border-radius: 14px; padding: 13px 14px; outline: none; }
.source-box { border: 1px dashed #424242; border-radius: 16px; padding: 18px; margin-bottom: 18px; display: none; }
.source-box.visible { display: block; }
.source-preview { display: flex; align-items: center; gap: 14px; }
.source-preview img { width: 78px; height: 78px; object-fit: cover; border-radius: 12px; background: #222; }
.source-copy strong { display: block; margin-bottom: 6px; }
.source-copy span { color: var(--muted); font-size: 13px; }
.full-btn { width: 100%; border-radius: 15px; padding: 15px 20px; font-size: 16px; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin: 34px 0 14px; }
.section-head h2 { margin: 0; font-size: 24px; letter-spacing: -.03em; }
.section-head span { color: var(--muted); font-size: 13px; }
.job-list { display: grid; gap: 12px; }
.job-card { border: 1px solid var(--line); border-radius: 16px; padding: 16px; background: #0c0c0c; }
.job-head { display: flex; justify-content: space-between; gap: 12px; align-items: start; }
.job-head strong { display: block; max-width: 78%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.status-chip { border: 1px solid var(--line); border-radius: 999px; padding: 5px 9px; font-size: 11px; color: var(--muted); text-transform: capitalize; }
.progress { height: 7px; background: #242424; border-radius: 99px; overflow: hidden; margin: 13px 0 8px; }
.progress > div { height: 100%; background: var(--accent); width: 0; transition: width .35s ease; }
.job-meta { display: flex; justify-content: space-between; color: var(--muted); font-size: 12px; }
.creation-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.creation { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: #0a0a0a; }
.creation img { width: 100%; aspect-ratio: 1.15; object-fit: cover; display: block; background: #222; }
.creation-copy { padding: 13px; }
.creation-copy strong { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.creation-copy span { color: var(--muted); font-size: 12px; }
.creation-actions { display: flex; gap: 8px; margin-top: 11px; }
.small-btn { border: 1px solid var(--line); border-radius: 10px; background: #151515; color: var(--text); padding: 8px 10px; font-size: 12px; font-weight: 700; }
.empty { padding: 34px 18px; text-align: center; color: var(--muted); border: 1px dashed #383838; border-radius: 16px; }
.notice { padding: 12px 14px; border-radius: 13px; background: rgba(255,127,127,.08); border: 1px solid rgba(255,127,127,.25); color: #ffb2b2; font-size: 13px; display: none; margin-bottom: 14px; }
.notice.visible { display: block; }
.side-panel h3 { margin: 0 0 16px; font-size: 18px; }
.side-stat { display: flex; justify-content: space-between; padding: 13px 0; border-bottom: 1px solid var(--line); color: var(--muted); }
.side-stat strong { color: var(--text); }
.side-note { color: var(--muted); line-height: 1.55; font-size: 13px; margin-top: 18px; }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .cards, .stats { grid-template-columns: 1fr; }
  .studio-grid { grid-template-columns: 1fr; }
  .side-panel { position: static; }
  .trial-banner { align-items: flex-start; flex-direction: column; }
  .credit-meter { width: 100%; min-width: 0; }
}
@media (max-width: 600px) {
  .shell { width: min(100% - 22px, 1180px); }
  .settings-grid, .creation-grid { grid-template-columns: 1fr; }
  .workspace { padding: 17px; }
  .prompt-footer { align-items: flex-start; flex-direction: column; }
  .studio-top .btn { display: none; }
}

/* Public site v2 */
.nav-actions { display:flex; align-items:center; gap:16px; }
.text-link { color:var(--muted); font-size:14px; }
.text-link:hover { color:var(--text); }
.hero-v2 { min-height:auto; padding:86px 0 96px; overflow:hidden; }
.hero-grid { display:grid; grid-template-columns:minmax(0,1.05fr) minmax(420px,.95fr); gap:58px; align-items:center; }
.hero-copy h1 { font-size:clamp(54px,7.1vw,100px); max-width:900px; }
.hero-copy p { max-width:680px; }
.status-badge { display:inline-flex; align-items:center; gap:9px; border:1px solid rgba(216,242,123,.24); background:rgba(216,242,123,.06); border-radius:999px; padding:8px 12px; color:#e8f7b4; font-size:12px; font-weight:700; margin-bottom:24px; }
.status-badge span { width:7px; height:7px; border-radius:50%; background:var(--accent); box-shadow:0 0 14px var(--accent); }
.btn-large { padding:14px 22px; }
.trust-row { display:flex; align-items:center; gap:12px; flex-wrap:wrap; color:var(--muted); font-size:13px; margin-top:28px; }
.trust-row i { width:4px; height:4px; border-radius:50%; background:#565656; }
.product-demo { border:1px solid #343434; border-radius:26px; background:linear-gradient(180deg,#161616,#0b0b0b); box-shadow:0 35px 90px rgba(0,0,0,.45); overflow:hidden; transform:rotate(1.5deg); }
.demo-topbar { height:54px; display:flex; align-items:center; gap:10px; padding:0 18px; border-bottom:1px solid var(--line); color:var(--muted); font-size:13px; }
.demo-topbar b { margin-left:auto; color:#0c0c0c; background:var(--accent); border-radius:999px; padding:5px 9px; font-size:10px; text-transform:uppercase; letter-spacing:.08em; }
.demo-dot { width:9px; height:9px; border-radius:50%; background:var(--accent); }
.demo-body { padding:18px; display:grid; gap:14px; }
.demo-prompt { border:1px solid var(--line); border-radius:17px; background:#0a0a0a; padding:16px; }
.demo-prompt small { color:var(--accent); text-transform:uppercase; letter-spacing:.12em; font-weight:800; }
.demo-prompt p { color:#deded8; font-size:14px; line-height:1.55; margin:9px 0 14px; }
.demo-tags { display:flex; gap:7px; flex-wrap:wrap; }
.demo-tags span,.action-pills span { border:1px solid var(--line); border-radius:999px; padding:6px 9px; color:var(--muted); font-size:11px; }
.demo-result { border:1px solid var(--line); border-radius:17px; overflow:hidden; background:#0a0a0a; }
.demo-result img { width:100%; aspect-ratio:16/10; object-fit:cover; display:block; }
.demo-result-copy { display:flex; align-items:center; justify-content:space-between; gap:14px; padding:13px 15px; font-size:12px; color:var(--muted); }
.demo-result-copy strong { color:var(--text); }
.demo-steps { display:grid; grid-template-columns:repeat(3,1fr); border-top:1px solid var(--line); }
.demo-steps span { padding:13px 15px; color:#777; font-size:11px; text-align:center; border-right:1px solid var(--line); }
.demo-steps span:last-child { border-right:0; }
.demo-steps .active { color:#111; background:var(--accent); font-weight:800; }
.section-soft { background:#0b0b0b; border-top:1px solid rgba(255,255,255,.05); border-bottom:1px solid rgba(255,255,255,.05); }
.section-kicker { color:var(--accent); font-size:12px; text-transform:uppercase; letter-spacing:.16em; font-weight:800; margin-bottom:16px; }
.section-heading-row { display:grid; grid-template-columns:minmax(0,1.2fr) minmax(280px,.8fr); gap:50px; align-items:end; }
.section-heading-row h2 { margin-bottom:0; }
.section-heading-row > p { color:var(--muted); font-size:18px; line-height:1.65; margin:0 0 7px; }
.workflow-grid { display:grid; grid-template-columns:1.2fr .9fr .9fr; gap:16px; margin-top:46px; }
.workflow-card { min-height:310px; border:1px solid var(--line); border-radius:24px; padding:26px; background:linear-gradient(180deg,#151515,#0f0f0f); position:relative; overflow:hidden; }
.workflow-card.featured { background:radial-gradient(circle at 75% 0%,rgba(216,242,123,.13),transparent 42%),linear-gradient(180deg,#171717,#0e0e0e); }
.workflow-label { color:var(--accent); font-size:12px; text-transform:uppercase; letter-spacing:.12em; font-weight:800; }
.workflow-card h3 { font-size:27px; line-height:1.08; letter-spacing:-.035em; margin:24px 0 13px; max-width:360px; }
.workflow-card p { color:var(--muted); line-height:1.6; }
.mini-ui { position:absolute; left:26px; right:26px; bottom:26px; display:flex; align-items:center; gap:7px; flex-wrap:wrap; }
.mini-ui span { border:1px solid var(--line); border-radius:9px; padding:8px 9px; color:var(--muted); font-size:11px; }
.mini-ui button { margin-left:auto; border:0; border-radius:9px; padding:9px 11px; background:var(--accent); font-weight:800; }
.motion-line { display:flex; gap:6px; align-items:end; height:70px; position:absolute; bottom:28px; left:27px; right:27px; }
.motion-line i { display:block; flex:1; background:linear-gradient(var(--accent),rgba(216,242,123,.12)); border-radius:99px; }
.motion-line i:nth-child(1){height:26%}.motion-line i:nth-child(2){height:54%}.motion-line i:nth-child(3){height:84%}.motion-line i:nth-child(4){height:62%}.motion-line i:nth-child(5){height:36%}
.action-pills { position:absolute; left:26px; right:26px; bottom:30px; display:flex; gap:8px; flex-wrap:wrap; }
.use-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:16px; margin-top:44px; }
.use-grid article { border-top:1px solid var(--line); padding:24px 4px 10px; display:grid; grid-template-columns:54px 1fr; column-gap:14px; }
.use-grid article > span { color:var(--accent); font-weight:800; }
.use-grid h3 { margin:0; font-size:22px; }
.use-grid p { grid-column:2; color:var(--muted); line-height:1.6; }
.section-dark-band { background:linear-gradient(135deg,#131313,#090909 62%); border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.compact-heading { max-width:870px; }
.process-list { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; margin-top:42px; }
.process-list > div { border:1px solid var(--line); border-radius:20px; padding:25px; background:rgba(255,255,255,.015); }
.process-list b { width:38px; height:38px; border-radius:12px; display:grid; place-items:center; background:var(--accent); color:#111; }
.process-list h3 { font-size:22px; margin:24px 0 10px; }
.process-list p { color:var(--muted); line-height:1.6; }
.infrastructure-grid { display:grid; grid-template-columns:1fr 1fr; gap:70px; align-items:center; }
.infra-points { display:grid; grid-template-columns:repeat(2,1fr); gap:10px; margin-top:30px; }
.infra-points span { border:1px solid var(--line); border-radius:13px; padding:13px; color:#d9d9d3; font-size:13px; }
.infra-diagram { display:grid; grid-template-columns:1fr 34px 1fr 34px 1fr; align-items:center; }
.infra-diagram div { min-height:150px; display:flex; flex-direction:column; justify-content:center; border:1px solid var(--line); border-radius:18px; padding:18px; background:#111; font-weight:800; }
.infra-diagram small { color:var(--muted); margin-top:8px; font-weight:500; line-height:1.4; }
.infra-diagram i { height:1px; background:var(--accent); }
.beta-section { padding-top:30px; }
.beta-card { border:1px solid rgba(216,242,123,.26); border-radius:28px; background:radial-gradient(circle at 85% 15%,rgba(216,242,123,.13),transparent 35%),#111; padding:42px; display:grid; grid-template-columns:1fr 1fr; gap:44px; }
.beta-card h2 { margin-bottom:16px; }
.beta-card p { color:var(--muted); line-height:1.65; }
.beta-metrics { display:grid; grid-template-columns:repeat(2,1fr); gap:12px; }
.beta-metrics div { border:1px solid var(--line); border-radius:18px; padding:20px; background:rgba(0,0,0,.18); }
.beta-metrics strong { display:block; font-size:38px; letter-spacing:-.05em; }
.beta-metrics span { color:var(--muted); font-size:12px; }
.early-access-section { background:radial-gradient(circle at 12% 12%,rgba(216,242,123,.08),transparent 30%); }
.access-grid { display:grid; grid-template-columns:.85fr 1.15fr; gap:70px; align-items:start; }
.waitlist-form { border:1px solid var(--line); border-radius:24px; background:var(--panel); padding:24px; display:grid; gap:14px; }
.form-row { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.waitlist-form label { display:grid; gap:8px; color:var(--muted); font-size:12px; font-weight:700; }
.waitlist-form input,.waitlist-form textarea { width:100%; border:1px solid var(--line); border-radius:13px; background:#090909; color:var(--text); padding:13px 14px; outline:0; }
.waitlist-form textarea { min-height:112px; resize:vertical; }
.waitlist-form input:focus,.waitlist-form textarea:focus { border-color:#5f6c31; box-shadow:0 0 0 3px rgba(216,242,123,.08); }
.form-message { margin:0; color:var(--muted); font-size:12px; line-height:1.5; }
.form-message.success { color:#dff79a; }
.form-message.error { color:#ffaaaa; }
.faq-grid { display:grid; grid-template-columns:.65fr 1.35fr; gap:70px; }
.faq-list { display:grid; gap:10px; }
.faq-list details { border:1px solid var(--line); border-radius:16px; background:#111; padding:18px 20px; }
.faq-list summary { cursor:pointer; font-weight:800; }
.faq-list p { color:var(--muted); line-height:1.6; margin-bottom:2px; }
.footer-main { display:grid; grid-template-columns:2fr 1fr 1fr; gap:50px; padding:48px 0; }
.footer-main > div { display:flex; flex-direction:column; gap:10px; }
.footer-main p { color:var(--muted); max-width:410px; line-height:1.6; }
.footer-main strong { color:var(--text); margin-bottom:7px; }
.footer-main a:not(.brand) { color:var(--muted); font-size:14px; }
.footer-bottom { display:flex; justify-content:space-between; gap:16px; border-top:1px solid var(--line); padding:22px 0 30px; }
.legal { max-width:820px; padding-top:80px; padding-bottom:100px; }
.legal h1 { font-size:clamp(50px,8vw,84px); }
.legal h2 { font-size:25px; margin:42px 0 12px; }
.legal p { color:var(--muted); line-height:1.75; font-size:16px; }
.legal a { color:var(--accent); }
.legal-note { border:1px solid rgba(216,242,123,.24); border-radius:16px; padding:16px; color:#dbe9ab; background:rgba(216,242,123,.05); margin-top:42px; line-height:1.6; }
@media (max-width:1050px){
  .hero-grid,.infrastructure-grid,.access-grid { grid-template-columns:1fr; }
  .product-demo { max-width:700px; transform:none; }
  .workflow-grid { grid-template-columns:1fr 1fr; }
  .workflow-card.featured { grid-column:1 / -1; }
  .infra-diagram { max-width:760px; }
}
@media (max-width:800px){
  .nav-actions .text-link { display:none; }
  .section-heading-row,.beta-card,.faq-grid { grid-template-columns:1fr; gap:24px; }
  .process-list,.footer-main { grid-template-columns:1fr; }
  .workflow-grid,.use-grid { grid-template-columns:1fr; }
  .workflow-card.featured { grid-column:auto; }
  .infra-diagram { grid-template-columns:1fr; gap:8px; }
  .infra-diagram i { width:1px; height:26px; margin:auto; }
}
@media (max-width:600px){
  .nav-actions .btn { padding:10px 13px; }
  .hero-v2 { padding-top:58px; }
  .hero-copy h1 { font-size:54px; }
  .product-demo { border-radius:19px; }
  .form-row,.beta-metrics,.infra-points { grid-template-columns:1fr; }
  .beta-card { padding:26px; }
  .footer-bottom { flex-direction:column; }
}
