:root{
 --bg:#f7f5ef;
 --paper:#ffffff;
 --paper2:#fbfaf7;
 --ink:#17171c;
 --muted:#74747d;
 --line:#e7e3da;
 --violet:#6254e7;
 --violet2:#7b6df0;
 --gold:#c99745;
 --green:#327c67;
 --shadow:0 24px 80px rgba(49,43,30,.08);
 --radius:24px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
 margin:0;
 min-height:100vh;
 color:var(--ink);
 background:
  linear-gradient(180deg,#faf9f5 0,#f6f3ec 58%,#f9f8f4 100%);
 font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}
button,select,textarea{font:inherit}
button{cursor:pointer}
a{text-decoration:none;color:inherit}

.ambient{
 position:fixed;
 border-radius:50%;
 filter:blur(1px);
 pointer-events:none;
 z-index:-1;
}
.ambient-one{
 width:520px;height:520px;
 right:-180px;top:-230px;
 background:radial-gradient(circle,rgba(111,91,238,.14),transparent 68%);
}
.ambient-two{
 width:500px;height:500px;
 left:-260px;top:420px;
 background:radial-gradient(circle,rgba(208,164,86,.12),transparent 69%);
}

.site-header{
 position:sticky;
 top:0;
 z-index:50;
 border-bottom:1px solid rgba(225,220,210,.75);
 background:rgba(250,249,245,.86);
 backdrop-filter:blur(18px);
}
.nav-inner{
 max-width:1240px;
 margin:auto;
 min-height:78px;
 padding:0 24px;
 display:flex;
 align-items:center;
 justify-content:space-between;
 gap:20px;
}
.brand{display:flex;align-items:center;gap:12px}
.brand-mark{
 width:42px;height:42px;
 display:grid;place-items:center;
 border-radius:13px;
 color:#fff;
 font-family:Georgia,serif;
 font-size:21px;
 background:linear-gradient(145deg,#28252f,#6758e9);
 box-shadow:0 10px 24px rgba(99,84,231,.20);
}
.brand-copy{display:flex;flex-direction:column}
.brand-copy strong{
 font-family:Georgia,"Times New Roman",serif;
 font-size:21px;
 letter-spacing:-.02em;
}
.brand-copy small{color:var(--muted);font-size:11px;margin-top:1px}

.nav-actions{display:flex;align-items:center;gap:10px}
.wallet-link{
 display:flex;
 align-items:center;
 gap:10px;
 padding:8px 13px;
 border:1px solid var(--line);
 border-radius:15px;
 background:rgba(255,255,255,.72);
}
.wallet-link>span:last-child{display:flex;flex-direction:column}
.wallet-link small{font-size:10px;color:var(--muted)}
.wallet-link strong{font-size:12px;max-width:290px}
.wallet-dot{
 width:8px;height:8px;border-radius:50%;
 background:#4db78e;
 box-shadow:0 0 0 4px rgba(77,183,142,.11);
}
.account-btn{
 padding:11px 15px;
 border-radius:14px;
 border:1px solid #dad5cb;
 background:#19191e;
 color:#fff;
 font-size:12px;
 font-weight:700;
}

.page-shell{max-width:1240px;margin:auto;padding:0 24px 50px}

.hero{
 min-height:420px;
 display:grid;
 grid-template-columns:minmax(0,1.4fr) minmax(300px,.6fr);
 align-items:center;
 gap:72px;
 padding:68px 0 46px;
}
.eyebrow{
 display:inline-flex;align-items:center;gap:8px;
 font-size:10px;font-weight:800;
 letter-spacing:.16em;
 color:#625b74;
}
.eyebrow-dot{
 width:7px;height:7px;border-radius:50%;
 background:var(--gold)
}
.hero h1{
 margin:16px 0;
 max-width:800px;
 font-family:Georgia,"Times New Roman",serif;
 font-size:clamp(48px,6.4vw,82px);
 line-height:.96;
 letter-spacing:-.055em;
 font-weight:500;
}
.hero h1 span{
 display:block;
 color:var(--violet);
}
.hero p{
 max-width:670px;
 margin:24px 0;
 color:#65636b;
 font-size:18px;
 line-height:1.65;
}
.trust-row{
 display:flex;
 align-items:center;
 flex-wrap:wrap;
 gap:11px;
 color:#79767d;
 font-size:11px;
 font-weight:650;
}
.trust-row i{
 width:3px;height:3px;
 border-radius:50%;
 background:#b4aea3;
}

.hero-preview{
 padding:22px;
 min-height:250px;
 border:1px solid #ded8cc;
 border-radius:30px;
 background:
  linear-gradient(145deg,rgba(255,255,255,.92),rgba(244,240,232,.92));
 box-shadow:var(--shadow);
 transform:none;
}
.preview-top{
 display:flex;justify-content:space-between;align-items:center
}
.live-pill{
 display:inline-flex;align-items:center;gap:7px;
 padding:7px 10px;
 border:1px solid #ded8ce;
 border-radius:30px;
 color:#625f66;
 font-size:10px;
 font-weight:700;
 background:#fff;
}
.live-pill i{
 width:7px;height:7px;border-radius:50%;
 background:#58ab88
}
.preview-time{color:#8d8990;font-size:11px}
.wave{
 height:110px;
 display:flex;
 align-items:center;
 justify-content:center;
 gap:5px;
 margin:14px 0;
}
.wave i{
 display:block;
 width:5px;
 border-radius:8px;
 background:linear-gradient(180deg,var(--violet2),#b29e67);
}
.wave i:nth-child(3n){height:66px}
.wave i:nth-child(3n+1){height:28px}
.wave i:nth-child(3n+2){height:46px}
.preview-copy{
 display:flex;flex-direction:column;gap:4px
}
.preview-copy strong{font-family:Georgia,serif;font-size:16px}
.preview-copy span{color:var(--muted);font-size:11px}

.mode-switch{
 display:grid;
 grid-template-columns:repeat(3,1fr);
 gap:10px;
 margin-bottom:16px;
}
.tab{
 display:flex;
 align-items:center;
 gap:12px;
 min-height:72px;
 padding:11px 15px;
 border:1px solid var(--line);
 border-radius:19px;
 background:rgba(255,255,255,.72);
 color:#55545b;
 text-align:left;
 transition:.18s ease;
}
.tab:hover{transform:translateY(-1px);background:#fff}
.tab.active{
 background:#1b1a20;
 border-color:#1b1a20;
 color:#fff;
 box-shadow:0 12px 30px rgba(25,24,30,.10);
}
.tab-icon{
 width:34px;height:34px;
 display:grid;place-items:center;
 border-radius:10px;
 border:1px solid currentColor;
 opacity:.7;
 font-size:10px;
 font-weight:800;
}
.tab>span:last-child{display:flex;flex-direction:column}
.tab b{font-size:14px}
.tab small{font-size:10px;opacity:.6;margin-top:2px}

.studio-shell{
 display:grid;
 grid-template-columns:minmax(0,1.6fr) minmax(310px,.72fr);
 gap:14px;
}
.editor-card,.controls-card,.pipeline-card,.projects{
 border:1px solid var(--line);
 background:rgba(255,255,255,.86);
 box-shadow:0 12px 50px rgba(44,39,29,.045);
}
.editor-card{
 border-radius:var(--radius);
 padding:23px;
 min-height:470px;
 display:flex;
 flex-direction:column;
}
.section-head{
 display:flex;justify-content:space-between;align-items:flex-start;
 gap:16px;
}
.section-kicker,.controls-title span,.pipeline-head>div>span{
 color:#938d83;
 font-size:9px;
 letter-spacing:.16em;
 font-weight:800;
}
.section-head h2,.projects-head h2{
 margin:6px 0 0;
 font-family:Georgia,serif;
 font-weight:500;
 font-size:22px;
}
.counter{
 padding:7px 10px;
 border-radius:20px;
 background:#f4f1eb;
 color:#8b867e;
 font-size:10px;
}
.editor-card textarea{
 flex:1;
 width:100%;
 min-height:300px;
 resize:vertical;
 border:0;
 outline:0;
 padding:25px 2px;
 background:transparent;
 color:#202027;
 font-size:18px;
 line-height:1.75;
}
.editor-card textarea::placeholder{color:#aaa59c}
.editor-footer{
 border-top:1px solid var(--line);
 padding-top:16px;
 display:flex;
 align-items:center;
 justify-content:space-between;
 gap:12px;
}
.guard{display:flex;align-items:center;gap:10px}
.guard-icon{
 width:30px;height:30px;
 border-radius:10px;
 display:grid;place-items:center;
 background:#e8f3ef;color:var(--green);
 font-weight:900;
}
.guard>span:nth-child(2){display:flex;flex-direction:column}
.guard b{font-size:11px}
.guard small{color:var(--muted);font-size:9px}
.guard>strong{
 margin-left:5px;
 font-size:9px;
 color:var(--green);
}
.tip{color:#979187;font-size:10px}

.controls-card{
 border-radius:var(--radius);
 padding:20px;
}
.controls-title{
 display:flex;
 flex-direction:column;
 gap:4px;
 margin-bottom:17px;
}
.controls-title b{
 font-family:Georgia,serif;
 font-size:20px;
 font-weight:500;
}
.controls-card label{
 display:grid;
 gap:6px;
 margin:0 0 12px;
}
.controls-card label>span{
 font-size:10px;
 color:#78747b;
 font-weight:700;
}
select{
 width:100%;
 padding:12px 13px;
 color:#24232a;
 background:#fbfaf7;
 border:1px solid #dfdad0;
 border-radius:13px;
 outline:none;
}
select:focus{
 border-color:#9a8ff0;
 box-shadow:0 0 0 3px rgba(98,84,231,.07)
}
.estimate{
 display:flex;
 justify-content:space-between;
 align-items:flex-end;
 margin-top:18px;
 padding-top:17px;
 border-top:1px solid var(--line);
}
.estimate>div{display:flex;flex-direction:column;gap:4px}
.estimate small{font-size:9px;color:var(--muted)}
.estimate strong{font-size:18px}
.estimate>span{
 font-size:9px;
 color:#77717f;
 padding:5px 7px;
 background:#f0edf8;
 border-radius:10px;
}
.generate{
 width:100%;
 margin-top:14px;
 min-height:50px;
 border:0;
 border-radius:15px;
 display:flex;
 align-items:center;
 justify-content:space-between;
 padding:0 17px;
 background:linear-gradient(135deg,#5c4fe5,#7768ed);
 color:white;
 font-weight:800;
 box-shadow:0 12px 25px rgba(92,79,229,.18);
}
.generate:disabled{
 opacity:.62;
 cursor:not-allowed;
}
.generate b{font-size:21px}
.generate-note{
 margin:10px 5px 0;
 color:#9a958c;
 font-size:9px;
 line-height:1.5;
 text-align:center;
}

.pipeline-card{
 margin-top:14px;
 padding:19px 22px;
 border-radius:20px;
}
.pipeline-head{
 display:flex;
 justify-content:space-between;
 align-items:flex-end;
 gap:20px;
}
.pipeline-head>div{display:flex;flex-direction:column;gap:4px}
.pipeline-head strong{font-size:13px}
.pipeline-head small{color:var(--muted);font-size:10px}
.bar{
 height:5px;
 border-radius:20px;
 background:#ebe7df;
 overflow:hidden;
 margin:16px 0 11px;
}
.bar i{
 display:block;
 width:0;
 height:100%;
 background:linear-gradient(90deg,var(--violet),var(--gold));
}
.steps{
 display:flex;
 justify-content:space-between;
 color:#918c84;
 font-size:9px;
}
.steps span{display:flex;align-items:center;gap:5px}
.steps b{
 width:18px;height:18px;
 display:grid;place-items:center;
 border:1px solid #d8d3ca;
 border-radius:50%;
 font-size:8px;
}

.projects{
 margin-top:14px;
 border-radius:24px;
 padding:22px;
}
.projects-head{
 display:flex;
 align-items:flex-end;
 justify-content:space-between;
 margin-bottom:15px;
}
.projects-head button{
 border:0;
 background:transparent;
 color:var(--violet);
 font-size:11px;
 font-weight:750;
}
.project-grid{
 display:grid;
 grid-template-columns:1.35fr 1fr 1fr;
 gap:10px;
}
.empty-project,.feature-project{
 min-height:135px;
 border-radius:18px;
 padding:17px;
}
.empty-project{
 display:flex;
 align-items:center;
 gap:15px;
 border:1px dashed #d3cdc2;
 background:#fbfaf7;
}
.project-icon{
 width:42px;height:42px;
 flex:0 0 auto;
 display:grid;place-items:center;
 border-radius:14px;
 background:#f0ece4;
 color:#777169;
 font-size:22px;
}
.empty-project strong,.feature-project strong{
 display:block;
 font-family:Georgia,serif;
 font-size:16px;
 font-weight:500;
}
.empty-project p,.feature-project small{
 color:#8b867d;
 line-height:1.5;
 font-size:10px;
}
.feature-project{
 background:#f0eefb;
 display:flex;
 flex-direction:column;
 justify-content:flex-end;
}
.feature-project:last-child{background:#f4eee4}
.feature-project>span{
 margin-bottom:auto;
 font-size:9px;
 font-weight:800;
 letter-spacing:.12em;
 color:#7f788d;
}

footer{
 padding:28px 4px 4px;
 display:flex;
 justify-content:space-between;
 color:#9b968d;
 font-size:10px;
}

@media(max-width:900px){
 .hero{grid-template-columns:1fr;gap:30px;padding-top:48px}
 .hero-preview{max-width:500px;transform:none}
 .studio-shell{grid-template-columns:1fr}
 .project-grid{grid-template-columns:1fr 1fr}
 .empty-project{grid-column:1/-1}
}

@media(max-width:640px){
 .nav-inner,.page-shell{padding-left:14px;padding-right:14px}
 .nav-inner{min-height:68px}
 .brand-copy small{display:none}
 .account-btn{
  display:flex;
  align-items:center;
  justify-content:center;
  padding:8px 9px;
  font-size:10px;
  white-space:nowrap;
 }
 .wallet-link{padding:7px 9px}
 .wallet-link strong{font-size:10px;max-width:185px}
 .hero{min-height:auto;padding:42px 0 30px}
 .hero h1{font-size:48px}
 .hero p{font-size:15px}
 .hero-preview{display:none}
 .trust-row{gap:7px}
 .mode-switch{grid-template-columns:1fr 1fr 1fr;gap:6px}
 .tab{min-height:58px;padding:8px;justify-content:center}
 .tab-icon{display:none}
 .tab small{display:none}
 .editor-card{min-height:410px;padding:17px}
 .editor-card textarea{font-size:16px;min-height:250px}
 .editor-footer{align-items:flex-start}
 .tip{display:none}
 .controls-card{padding:17px 17px 82px}
 .generate{
  position:fixed;
  left:14px;right:14px;bottom:14px;
  width:auto;
  z-index:40;
  box-shadow:0 16px 44px rgba(51,41,120,.28)
 }
 .generate-note{display:none}
 .pipeline-head small{display:none}
 .steps span:nth-child(2),.steps span:nth-child(4){display:none}
 .project-grid{grid-template-columns:1fr}
 .empty-project{grid-column:auto}
 footer{padding-bottom:82px}
}

@media(max-width:390px){
 .hero h1{font-size:42px}
 .brand-mark{width:38px;height:38px}
 .brand-copy strong{font-size:18px}
}

.editor-actions{display:flex;align-items:center;gap:7px}
.smart-detect{
 border:1px solid #ddd7cc;background:#fff;color:#5d55a7;
 border-radius:999px;padding:7px 10px;font-size:10px;font-weight:800;
 transition:.16s ease
}
.smart-detect:hover{border-color:#aaa0ee;background:#f8f6ff}
.smart-detect.detected{background:#edeafa;border-color:#c9c1f5}

.sample-pills{display:flex;gap:7px;margin-top:13px}
.voice-sample{
 flex:1;display:flex;align-items:center;gap:8px;
 border:1px solid #ddd7cd;background:#fff;color:#29282e;
 border-radius:13px;padding:8px 10px;text-align:left
}
.voice-sample>i{
 width:28px;height:28px;display:grid;place-items:center;
 border-radius:50%;background:#f0edfb;color:#6254e7;
 font-style:normal;font-size:9px
}
.voice-sample>span{display:flex;flex-direction:column}
.voice-sample b{font-size:11px}
.voice-sample small{font-size:8px;color:#918c84}
.voice-sample.playing{
 border-color:#a69bef;background:#f8f6ff
}
.voice-sample.playing>i{background:#6254e7;color:#fff}

@media(max-width:640px){
 .smart-detect{padding:6px 9px}
 .sample-pills{margin-top:10px}
}


/* VAGBODHA_MOBILE_VOICE_PREVIEW_V1 */
@media(max-width:640px){
 .hero-preview{
   display:block;
   min-height:auto;
   padding:14px;
   border-radius:20px;
   margin-top:-4px;
 }
 .hero-preview .wave{
   height:52px;
   margin:7px 0;
   gap:4px;
   overflow:hidden;
 }
 .hero-preview .wave i{
   width:4px;
   transform:scaleY(.62);
 }
 .preview-copy strong{font-size:13px}
 .preview-copy span{font-size:9px}
 .sample-pills{margin-top:8px}
 .voice-sample{padding:7px 8px}
 .voice-sample>i{width:25px;height:25px}
}


.voice-result{
 margin-top:15px;padding-top:14px;border-top:1px solid var(--line);
 display:flex;align-items:center;gap:10px
}
.voice-result[hidden]{display:none}
.voice-result>button{
 width:38px;height:38px;border:0;border-radius:50%;
 background:#6254e7;color:#fff;font-weight:800
}
.voice-result>div{display:flex;flex-direction:column;gap:2px;flex:1}
.voice-result strong{font-size:12px}
.voice-result small{font-size:9px;color:var(--muted)}
.voice-result>a{
 color:#6254e7;font-size:10px;font-weight:800
}
.generate:not(:disabled){opacity:1}

/* VAGBODHA_VOICE_PICKER_4A3A */
.voice-control{margin:0 0 12px}
.voice-label{
 display:flex;align-items:center;
 justify-content:space-between;
 margin-bottom:7px
}
.voice-label>span{
 font-size:10px;color:#78747b;font-weight:700
}
.voice-label small{
 color:#9a958d;font-size:9px
}
.voice-native-select{
 position:absolute!important;
 width:1px!important;height:1px!important;
 opacity:0!important;pointer-events:none!important
}
.voice-picker{
 display:grid;
 grid-template-columns:1fr 1fr;
 gap:7px
}
.voice-choice{
 min-width:0;
 display:flex;
 align-items:center;
 gap:7px;
 padding:8px;
 border:1px solid #dfdad0;
 border-radius:13px;
 background:#fbfaf7;
 color:#29282e;
 text-align:left;
 transition:.15s ease
}
.voice-choice:hover{
 background:#fff;
 border-color:#c7c0b4
}
.voice-choice.selected{
 background:#f2effd;
 border-color:#a99def;
 box-shadow:0 0 0 2px rgba(98,84,231,.055)
}
.voice-preview{
 width:29px;height:29px;
 flex:0 0 29px;
 display:grid;place-items:center;
 border:0;border-radius:50%;
 background:#ebe8f8;
 color:#6254e7;
 font-size:9px;
 padding:0
}
.voice-preview:hover{background:#6254e7;color:#fff}
.voice-preview.playing{
 background:#6254e7;color:#fff
}
.voice-choice-copy{
 min-width:0;
 display:flex;
 flex-direction:column;
 gap:1px
}
.voice-choice-copy b{
 font-size:11px;
 white-space:nowrap;
 overflow:hidden;
 text-overflow:ellipsis
}
.voice-choice-copy small{
 color:#918c84;
 font-size:8px
}
.voice-none{
 grid-column:1/-1;
 padding:10px;
 border:1px dashed #d8d2c7;
 border-radius:12px;
 color:#918c84;
 font-size:10px;
 text-align:center
}

@media(max-width:380px){
 .voice-picker{grid-template-columns:1fr}
}

/* VAGBODHA_UI_RECENT_V10B */

.nav-menu{position:relative}

.menu-btn{
 width:42px;height:42px;
 border:1px solid var(--line);
 border-radius:13px;
 background:#fff;
 color:#24232a;
 font-size:20px;
 line-height:1;
 cursor:pointer
}

.menu-panel{
 position:absolute;
 right:0;top:50px;
 z-index:90;
 min-width:170px;
 padding:7px;
 border:1px solid var(--line);
 border-radius:14px;
 background:#fff;
 box-shadow:
  0 18px 46px rgba(35,31,49,.14)
}

.menu-panel[hidden]{display:none}

.menu-panel a{
 display:block;
 padding:10px 11px;
 border-radius:9px;
 font-size:12px;
 font-weight:700;
 color:#34323a
}

.menu-panel a:hover{background:#f5f2ec}

.recent-voices{margin:34px 0 8px}

.recent-head{
 display:flex;
 align-items:end;
 justify-content:space-between;
 gap:14px;
 margin-bottom:14px
}

.recent-head h2{
 margin:3px 0 0;
 font-size:24px
}

.recent-head small{
 color:var(--muted);
 font-size:10px
}

.recent-list{
 display:grid;
 grid-template-columns:
  repeat(2,minmax(0,1fr));
 gap:12px
}

.recent-voice{
 min-width:0;
 padding:14px;
 border:1px solid var(--line);
 border-radius:17px;
 background:rgba(255,255,255,.78)
}

.recent-meta{
 display:flex;
 justify-content:space-between;
 gap:10px;
 margin-bottom:10px
}

.recent-meta>div{
 min-width:0;
 display:flex;
 flex-direction:column
}

.recent-meta strong{
 font-size:13px;
 white-space:nowrap;
 overflow:hidden;
 text-overflow:ellipsis
}

.recent-meta span,
.recent-meta small{
 font-size:9px;
 color:var(--muted)
}

.recent-voice audio{
 width:100%;
 height:34px
}

.recent-actions{
 display:flex;
 gap:7px;
 flex-wrap:wrap;
 margin-top:10px
}

.recent-actions a,
.recent-actions button{
 border:1px solid #ded9d0;
 background:#fff;
 border-radius:9px;
 padding:7px 9px;
 font:700 10px/1 inherit;
 color:#4d4855;
 cursor:pointer
}

.recent-empty{
 grid-column:1/-1;
 padding:18px;
 border:1px dashed #d8d2c7;
 border-radius:14px;
 text-align:center;
 color:var(--muted);
 font-size:11px
}

@media(max-width:640px){
 .nav-actions{gap:6px}

 .wallet-link{
  padding:7px 9px;
  max-width:210px
 }

 .wallet-link small{display:none}

 .wallet-link strong{
  font-size:10px;
  max-width:165px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis
 }

 .menu-btn{
  width:38px;
  height:38px;
  border-radius:11px
 }

 .menu-panel{
  top:44px;
  min-width:155px
 }

 .recent-list{
  grid-template-columns:1fr
 }

 .recent-head small{display:none}

 .recent-voice{padding:12px}
}
