:root{
  --ink:#0b0b0f;
  --ink-2:#f7f7f8;
  --ink-3:#e8e8eb;
  --paper:#ffffff;
  --paper-dim:#f1f1f3;
  --paper-soft:#fbfbfc;
  --rust:#5b5ce2;
  --rust-dark:#4748c9;
  --rust-light:#7475ee;
  --teal:#5b5ce2;
  --teal-light:#7475ee;
  --text-muted:#66666f;
  --text-muted-2:#73737d;
  --cream:#f7f7f8;
  --ds-accent:#635bff;
  --ds-accent-2:#7c74ff;
  --ds-text:#0a0a0f;
  --ds-muted:#6b6b76;
  --ds-line:#e7e7ec;
  --ds-soft:#f7f7fa;
  --ds-card:#ffffff;
}

*{box-sizing:border-box;margin:0;padding:0;}

html{scroll-behavior:smooth;--header-h:64px;background:#fff;transition:filter .55s ease;}

section[id]{scroll-margin-top:88px;}

body{background:#fff;color:var(--ds-text);font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;-webkit-font-smoothing:antialiased;line-height:1.5;letter-spacing:-.01em;font-size:15px;}

.mono{font-family:"IBM Plex Mono",monospace;}

a{color:inherit;text-decoration:none;}

.wrap{max-width:1180px;margin:0 auto;padding:0 24px;padding-left:30px;padding-right:30px;}

section{padding:112px 0;}

.site-header{position:sticky;top:0;z-index:200;}

nav{background:rgba(255,255,255,.76);backdrop-filter:saturate(180%) blur(22px);border-bottom:1px solid rgba(15,15,25,.08);-webkit-backdrop-filter:saturate(180%) blur(22px);}

.nav-inner{max-width:1160px;margin:0 auto;padding:13px 30px;display:flex;align-items:center;justify-content:space-between;min-height:66px;}

.brand{display:flex;align-items:center;gap:10px;font-weight:750;font-size:18px;color:#111116;letter-spacing:-.035em;}

.stamp-mark{width:31px;height:31px;border-radius:50%;border:1.5px solid var(--ds-accent);display:flex;align-items:center;justify-content:center;transform:rotate(-5deg);flex-shrink:0;box-shadow:0 0 0 4px rgba(99,91,255,.06);}

.stamp-mark span{font-family:Inter,ui-sans-serif,sans-serif;font-size:8px;font-weight:700;color:var(--ds-accent);letter-spacing:.04em;}

.nav-links{display:flex;gap:28px;font-size:13.5px;color:#777781;}

.nav-links a:hover{color:#111116;}

.nav-cta{background:#111116;color:#fff;font-family:Inter,ui-sans-serif,sans-serif;font-weight:700;font-size:13px;padding:9px 16px;border-radius:9px;letter-spacing:0;box-shadow:0 1px 2px rgba(0,0,0,.12),0 5px 16px rgba(0,0,0,.06);}

.nav-cta:hover{background:#29292f;}

.nav-burger{display:none;flex-direction:column;justify-content:center;align-items:center;gap:5px;width:38px;height:38px;background:none;border:none;cursor:pointer;padding:0;flex-shrink:0;position:relative;z-index:70;}

.nav-burger span{display:block;width:22px;height:2px;background:#111116;border-radius:2px;transition:transform .25s ease, opacity .2s ease;}

.nav-burger[aria-expanded="true"] span:nth-child(1){transform:translateY(7px) rotate(45deg);}

.nav-burger[aria-expanded="true"] span:nth-child(2){opacity:0;}

.nav-burger[aria-expanded="true"] span:nth-child(3){transform:translateY(-7px) rotate(-45deg);}

.mobile-menu-backdrop{position:fixed;inset:0;background:rgba(10,18,16,0.55);z-index:55;opacity:0;pointer-events:none;transition:opacity .25s ease;}

.mobile-menu-backdrop.open{opacity:1;pointer-events:auto;}

.mobile-menu{position:fixed;top:0;right:0;height:100dvh;width:min(80vw,320px);background:#fff;border-left:1px solid #e7e7eb;z-index:60;display:flex;flex-direction:column;padding:calc(var(--header-h) + 24px) 28px 28px;gap:2px;transform:translateX(100%);transition:transform .3s cubic-bezier(.4,0,.2,1);box-shadow:-20px 0 50px rgba(0,0,0,.08);overflow-y:auto;}

.mobile-menu.open{transform:translateX(0);}

.mobile-menu a{padding:15px 4px;font-size:16px;font-weight:500;color:#17171c;border-bottom:1px solid var(--ink-3);font-family:Inter,ui-sans-serif,sans-serif;border-bottom-color:#ededf0;}

.mobile-menu a:active{color:var(--rust-light);}

.mobile-menu .mobile-cta{display:block;margin-top:22px;text-align:center;padding:13px 18px;font-size:14px;font-weight:700;border-radius:8px;border-bottom:none;background:#111116;color:#fff;}

.mobile-menu .mobile-cta:active{background:var(--rust-dark);color:var(--cream);}

body.menu-open{overflow:hidden;}

.nav-account{position:relative;}

.nav-account-btn{background:none;border:1.5px solid var(--ink-3);color:#45454d;font-family:Inter,ui-sans-serif,sans-serif;font-size:12.5px;font-weight:600;padding:8px 14px;border-radius:7px;cursor:pointer;white-space:nowrap;max-width:160px;overflow:hidden;text-overflow:ellipsis;border-color:#dedee3;}

.nav-account-btn:hover{border-color:#b9b9c5;color:#111116;}

.account-dropdown{position:absolute;top:calc(100% + 8px);right:0;min-width:220px;background:var(--ink-2);border:1px solid var(--ink-3);border-radius:10px;box-shadow:0 12px 32px rgba(0,0,0,0.35);z-index:65;padding:10px;display:none;flex-direction:column;gap:2px;}

.account-dropdown.open{display:flex;}

.account-dropdown-email{font-size:12px;color:var(--text-muted-2);padding:8px 10px 10px;border-bottom:1px solid var(--ink-3);margin-bottom:4px;word-break:break-all;}

.account-dropdown button{display:block;width:100%;text-align:left;background:none;border:none;color:var(--cream);font-family:"IBM Plex Sans",sans-serif;font-size:13.5px;padding:9px 10px;border-radius:6px;cursor:pointer;}

.account-dropdown button:hover{background:var(--ink-3);}

.account-dropdown button.danger:hover{color:var(--rust-light);}

.mobile-menu .mobile-account-email{font-size:12px;color:var(--text-muted-2);padding:14px 4px 4px;font-family:"IBM Plex Mono",monospace;}

#mobileAccountLoggedOut,#mobileAccountLoggedIn{margin-top:14px;padding-top:10px;border-top:1px solid var(--ink-3);}

.auth-modal-backdrop{position:fixed;inset:0;background:rgba(10,18,16,0.65);z-index:80;opacity:0;pointer-events:none;transition:opacity .2s ease;display:flex;align-items:center;justify-content:center;padding:20px;}

.auth-modal-backdrop.open{opacity:1;pointer-events:auto;}

.auth-modal{background:#fff;color:#111116;border-radius:14px;width:100%;max-width:380px;padding:26px 24px 24px;position:relative;box-shadow:0 30px 80px rgba(10,10,18,.18);max-height:90vh;overflow-y:auto;border:1px solid #e1e1e6;}

.auth-modal-close{position:absolute;top:14px;right:14px;background:none;border:none;font-size:20px;line-height:1;color:var(--text-muted);cursor:pointer;padding:4px;}

.auth-modal-close:hover{color:var(--ink);}

.auth-tabs{display:flex;gap:4px;margin-bottom:18px;background:var(--paper-dim);border-radius:8px;padding:3px;}

.auth-tab{flex:1;text-align:center;padding:8px 10px;border-radius:6px;cursor:pointer;font-family:"IBM Plex Mono",monospace;font-size:12.5px;font-weight:700;color:var(--text-muted);background:none;border:none;}

.auth-tab.active{background:var(--paper-soft);color:var(--ink);box-shadow:0 1px 3px rgba(0,0,0,0.15);}

.auth-panel{display:none;}

.auth-panel.active{display:block;}

.auth-title{font-family:"IBM Plex Mono",monospace;font-weight:700;font-size:16px;margin-bottom:4px;}

.auth-subtitle{font-size:12.5px;color:var(--text-muted);margin-bottom:16px;}

.auth-error{display:none;background:#fbe4dd;border:1px solid var(--rust);color:var(--rust-dark);font-size:12.5px;padding:9px 11px;border-radius:7px;margin-top:12px;}

.auth-error.visible{display:block;}

.auth-success{display:none;background:#e2ede7;border:1px solid var(--teal);color:var(--teal);font-size:12.5px;padding:9px 11px;border-radius:7px;margin-top:12px;}

.auth-success.visible{display:block;}

.auth-switch-link{display:inline-block;margin-top:14px;font-size:12.5px;color:var(--teal);text-decoration:underline;cursor:pointer;background:none;border:none;font-family:inherit;}

.auth-switch-link:hover{color:var(--rust);}

.auth-hint{font-size:11.5px;color:var(--text-muted);margin-top:8px;}

.auth-modal .generate-btn{margin-top:16px;}

.auth-modal .generate-btn:disabled{opacity:.6;}

.dash-modal-backdrop{position:fixed;inset:0;background:rgba(10,18,16,0.65);z-index:80;opacity:0;pointer-events:none;transition:opacity .2s ease;display:flex;align-items:center;justify-content:center;padding:20px;}

.dash-modal-backdrop.open{opacity:1;pointer-events:auto;}

.dash-modal{background:var(--paper);color:var(--ink);border-radius:14px;width:100%;max-width:640px;padding:26px 24px 24px;position:relative;box-shadow:0 24px 60px rgba(0,0,0,0.45);max-height:88vh;overflow-y:auto;}

.dash-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:18px;padding-right:26px;}

.dash-pro-badge{font-family:"IBM Plex Mono",monospace;font-size:11px;font-weight:700;letter-spacing:.05em;padding:4px 10px;border-radius:20px;border:1.5px solid var(--teal);color:var(--teal);white-space:nowrap;}

.dash-pro-badge.pro{border-color:var(--rust-dark);color:var(--rust-dark);background:#fbe4dd;}

.dash-tabs{margin-bottom:18px;}

.dash-panel{display:none;}

.dash-panel.active{display:block;}

.dash-empty{font-size:13px;color:var(--text-muted);padding:28px 4px;text-align:center;}

.dash-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 4px;border-bottom:1px solid var(--paper-dim);}

.dash-row:last-child{border-bottom:none;}

.dash-row-main{min-width:0;flex:1;cursor:pointer;}

.dash-row-title{font-size:13.5px;color:var(--ink);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}

.dash-row-meta{font-size:11.5px;color:var(--text-muted);margin-top:2px;}

.dash-row-actions{display:flex;gap:6px;flex-shrink:0;}

.dash-row-actions .ghost-btn{padding:6px 10px;font-size:11px;}

.dash-doc-view-head{display:flex;align-items:center;gap:10px;margin:12px 0 8px;}

.dash-doc-view-date{font-size:11.5px;color:var(--text-muted);font-family:"IBM Plex Mono",monospace;}

#dashPanelAccount label:first-of-type{margin-top:0;}


/* ---------- PRODUCT POLISH PASS ---------- */
.onboarding-card{margin:22px 0 0;background:linear-gradient(135deg,#111116 0%,#1a1a22 100%);color:#fff;border:1px solid #2d2d38;border-radius:16px;padding:18px 18px 16px;box-shadow:0 18px 45px rgba(17,17,22,.12);position:relative;overflow:hidden;}
.onboarding-card::after{content:"";position:absolute;width:190px;height:190px;border-radius:50%;right:-80px;top:-110px;background:radial-gradient(circle,rgba(99,91,255,.28),transparent 68%);pointer-events:none;}
.onboarding-top{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;position:relative;z-index:1;}
.onboarding-kicker{font-family:"IBM Plex Mono",monospace;font-size:9px;font-weight:800;letter-spacing:.14em;text-transform:uppercase;color:#9b97ff;margin-bottom:5px;}
.onboarding-title{font-size:16px;font-weight:750;letter-spacing:-.025em;}
.onboarding-copy{font-size:12px;color:#a9a9b5;margin-top:4px;line-height:1.5;max-width:600px;}
.onboarding-dismiss{border:0;background:#25252e;color:#bcbcc6;width:30px;height:30px;border-radius:8px;cursor:pointer;font-size:16px;flex:0 0 auto;}
.onboarding-dismiss:hover{background:#30303a;color:#fff;}
.onboarding-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:15px;position:relative;z-index:1;}
.onboarding-step{display:flex;align-items:center;gap:9px;padding:10px 11px;background:rgba(255,255,255,.055);border:1px solid rgba(255,255,255,.08);border-radius:10px;cursor:pointer;transition:transform .16s ease,border-color .16s ease,background .16s ease;}
.onboarding-step:hover{transform:translateY(-1px);border-color:rgba(155,151,255,.36);background:rgba(255,255,255,.075);}
.onboarding-step.done{opacity:.62;}
.onboarding-step.done .onboarding-num{background:#37a77d;color:#fff;border-color:#37a77d;}
.onboarding-num{width:23px;height:23px;display:grid;place-items:center;border-radius:50%;border:1px solid #555563;color:#d9d9e0;font-family:"IBM Plex Mono",monospace;font-size:10px;font-weight:700;flex:0 0 auto;}
.onboarding-step strong{display:block;font-size:11.5px;color:#f7f7fb;}
.onboarding-step span{display:block;font-size:10px;color:#8f8f9c;margin-top:1px;}
.dash-modal{max-width:760px!important;padding:0!important;overflow:hidden!important;border:1px solid var(--paper-dim);}
.dash-head{padding:24px 26px 16px!important;margin-bottom:0!important;background:linear-gradient(180deg,rgba(99,91,255,.065),transparent);}
.dash-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;padding:0 26px 18px;}
.dash-stat{background:var(--paper-soft);border:1px solid var(--paper-dim);border-radius:12px;padding:13px 14px;}
.dash-stat-label{font-size:10px;color:var(--text-muted);text-transform:uppercase;letter-spacing:.08em;font-family:"IBM Plex Mono",monospace;}
.dash-stat-value{font-size:21px;font-weight:750;letter-spacing:-.04em;margin-top:4px;color:var(--ink);}
.dash-stat-sub{font-size:10.5px;color:var(--text-muted);margin-top:2px;}
.dash-tabs{margin:0 26px 18px!important;}
.dash-panel{padding:0 26px 26px;}
.dash-row{padding:12px 10px!important;border-radius:10px;border-bottom:0!important;margin-bottom:5px;background:var(--paper-soft);border:1px solid transparent!important;}
.dash-row:hover{border-color:var(--paper-dim)!important;}
.toast-stack{position:fixed;right:20px;bottom:20px;z-index:120;display:flex;flex-direction:column;gap:8px;pointer-events:none;}
.deaco-toast{min-width:220px;max-width:340px;background:#15151b;color:#fff;border:1px solid #30303a;border-radius:11px;padding:11px 13px;box-shadow:0 18px 44px rgba(0,0,0,.2);font-size:12.5px;line-height:1.4;display:flex;align-items:center;gap:9px;opacity:0;transform:translateY(8px) scale(.98);transition:opacity .18s ease,transform .18s ease;}
.deaco-toast.show{opacity:1;transform:none;}
.deaco-toast-mark{width:20px;height:20px;border-radius:50%;background:#635bff;display:grid;place-items:center;font-size:10px;font-weight:800;flex:0 0 auto;}
@media(max-width:720px){.onboarding-steps{grid-template-columns:1fr}.onboarding-card{padding:16px}.dash-summary{grid-template-columns:1fr 1fr;padding:0 18px 14px}.dash-stat:last-child{grid-column:1/-1}.dash-head{padding:20px 18px 14px!important}.dash-tabs{margin:0 18px 14px!important}.dash-panel{padding:0 18px 20px}.toast-stack{left:12px;right:12px;bottom:12px}.deaco-toast{min-width:0;max-width:none;width:100%}}

.hero{padding:132px 0 104px;text-align:center;position:relative;overflow:hidden;background:radial-gradient(700px 380px at 50% 2%,rgba(99,91,255,.14),transparent 68%),
    radial-gradient(500px 260px at 10% 30%,rgba(99,91,255,.05),transparent 70%),
    linear-gradient(#fff 0%,#fbfbfe 100%);}

.eyebrow{display:inline-block;font-family:Inter,sans-serif;font-size:12px;letter-spacing:.01em;text-transform:none;color:var(--ds-accent);border:1px solid rgba(99,91,255,.20);padding:8px 14px;border-radius:999px;margin-bottom:24px;background:rgba(255,255,255,.78);box-shadow:0 2px 8px rgba(30,30,60,.04);animation:deacoFadeInDown .6s ease both;font-weight:600;}

h1{font-family:"IBM Plex Mono",monospace;font-size:clamp(48px,7.2vw,84px);font-weight:700;line-height:.98;max-width:980px;margin:0 auto 20px;color:#0b0b0f;letter-spacing:-.075em;margin-bottom:28px;animation:deacoFadeInDown .7s .05s ease both;}

h1 em{color:transparent;font-style:normal;background:linear-gradient(100deg,#635bff 0%,#8a84ff 55%,#635bff 100%);-webkit-background-clip:text;background-clip:text;}

.hero-sub{max-width:660px;margin:0 auto 34px;color:#666671;font-size:19px;line-height:1.58;margin-bottom:36px;animation:deacoFadeInDown .7s .12s ease both;}

.hero-ctas{display:flex;gap:12px;justify-content:center;flex-wrap:wrap;animation:deacoFadeInDown .7s .18s ease both;}

.btn-primary{background:#111116;color:#fff;font-family:Inter,sans-serif;font-weight:700;font-size:14px;padding:15px 23px;border-radius:10px;border:none;cursor:pointer;box-shadow:0 1px 2px rgba(0,0,0,.12),0 10px 26px rgba(17,17,22,.10);transition:transform .18s ease,box-shadow .18s ease,background .18s ease;}

.btn-primary:hover{background:#27272d;transform:translateY(-2px);box-shadow:0 5px 18px rgba(17,17,22,.14);}

.btn-secondary{background:rgba(255,255,255,.82);color:#33333a;border:1px solid #dddde4;font-family:Inter,sans-serif;font-weight:600;font-size:14px;padding:15px 23px;border-radius:10px;cursor:pointer;}

.btn-secondary:hover{border-color:#bfc0ca;background:#fff;}

.hero-visual{margin-top:74px;display:flex;justify-content:center;margin:68px auto 0;max-width:940px;position:relative;perspective:1200px;}

.pain{background:#f7f7f9;border-top:1px solid #ededf1;border-bottom:1px solid #ededf1;}

.pain-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:0;margin-top:54px;border-top:1px solid #dfdfe5;}

.pain-item{padding:32px 34px 8px 0;border-right:1px solid #e2e2e6;}

.pain-num{font-family:Inter,sans-serif;font-size:11px;color:var(--ds-accent);font-weight:700;margin-bottom:10px;letter-spacing:.06em;}

.pain-item h3{font-size:18px;margin-bottom:8px;letter-spacing:-.025em;color:#17171c;}

.pain-item p{color:#73737d;font-size:14px;line-height:1.65;}

.section-title{font-family:"IBM Plex Mono",monospace;font-size:clamp(30px,4.2vw,46px);font-weight:700;text-align:center;color:#111116;letter-spacing:-.055em;line-height:1.08;}

.section-sub{text-align:center;color:#70707b;font-size:16px;max-width:560px;margin:12px auto 0;line-height:1.65;}

.tools-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:52px;}

.tool-card{background:#fff;color:#111116;border-radius:14px;padding:24px;cursor:pointer;transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease;border:1px solid #e5e5ea;min-height:184px;box-shadow:0 1px 1px rgba(0,0,0,.02);}

.tool-card:hover{transform:translateY(-3px);border-color:#cfd0d9;box-shadow:0 18px 42px rgba(20,20,35,.08);}

.tool-icon{width:40px;height:40px;border-radius:10px;background:#f0efff;color:var(--ds-accent);display:flex;align-items:center;justify-content:center;font-family:Inter,sans-serif;font-weight:700;font-size:13px;margin-bottom:18px;border:1px solid #dedcff;}

.tool-card h3{font-family:Inter,sans-serif;font-size:17px;margin-bottom:8px;letter-spacing:-.02em;}

.tool-card p{font-size:13.5px;color:#74747e;line-height:1.65;margin-bottom:14px;}

.tool-card .try{font-family:Inter,sans-serif;font-size:12px;font-weight:650;color:var(--ds-accent);}

.app-section{background:#fbfbfd;border-top:1px solid var(--ink-3);border-bottom:1px solid var(--ink-3);}

.app-card{background:#fff;color:var(--ink);border-radius:18px;padding:0;margin-top:48px;overflow:hidden;border:1px solid #dedee6;box-shadow:0 28px 70px rgba(20,20,35,.09),
    0 2px 5px rgba(20,20,35,.03);}

.app-tabs-wrap{position:relative;border-bottom:1px solid #e7e7ec;background:#f7f7fa;}

.app-tabs{display:flex;background:var(--ink-2);overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:thin;gap:2px;}

.app-tabs-fade{position:absolute;top:0;right:0;bottom:0;width:36px;background:linear-gradient(to right, transparent, var(--ink-2) 65%);pointer-events:none;opacity:1;transition:opacity .15s ease;display:flex;align-items:center;justify-content:flex-end;}

.app-tabs-fade::after{content:"⌕";color:var(--text-muted-2);font-size:18px;padding-right:6px;font-family:"IBM Plex Mono",monospace;}

.app-tabs-fade.hidden{opacity:0;}

.app-tab{flex:0 0 auto;white-space:nowrap;font-family:Inter,sans-serif;font-size:12px;font-weight:550;text-align:center;padding:15px 17px;background:transparent;border:0;cursor:pointer;color:#777781;border-radius:7px;}

.app-tab.active{background:#fff;color:#111116;box-shadow:0 1px 5px rgba(20,20,35,.08);}

.app-controls{display:flex;align-items:center;justify-content:flex-end;gap:12px;padding:12px 24px;background:#fafafd;flex-wrap:wrap;border-bottom:1px solid #eeeeF2;}

.usage-counter{font-family:"IBM Plex Mono",monospace;font-size:11.5px;color:var(--text-muted);}

.usage-counter strong{color:var(--rust-dark);}

.app-body{padding:34px 34px 38px;background:#fff;}

.app-tool-title{font-family:Inter,sans-serif;font-weight:700;font-size:21px;margin-bottom:4px;color:#111116;letter-spacing:-.03em;}

.app-tool-desc{font-size:14px;color:#73737c;margin-bottom:22px;}

label{display:block;font-size:11px;font-weight:650;text-transform:uppercase;letter-spacing:.07em;color:#565660;margin:14px 0 6px;}

label:first-of-type{margin-top:0;}

input[type=text],input[type=email],input[type=password],textarea,select{width:100%;font-family:"IBM Plex Sans",sans-serif;font-size:14.5px;padding:10px 12px;border-radius:9px;border:1px solid #dcdce4;background:#fff;color:var(--ink);outline:none;min-height:44px;box-shadow:0 1px 2px rgba(0,0,0,.02);}

input[type=text]:focus,input[type=email]:focus,input[type=password]:focus,textarea:focus,select:focus{border-color:#aaa5ef;box-shadow:0 0 0 4px rgba(99,91,255,.10);}

textarea{resize:vertical;min-height:94px;line-height:1.4;}

.row2{display:grid;grid-template-columns:1fr 1fr;gap:12px;}

.generate-btn{margin-top:20px;width:100%;background:#111116;color:var(--cream);border:none;border-radius:9px;padding:14px;font-family:Inter,sans-serif;font-weight:700;font-size:14px;letter-spacing:.03em;cursor:pointer;box-shadow:0 2px 4px rgba(0,0,0,.10),0 8px 18px rgba(0,0,0,.06);min-height:46px;}

.generate-btn:hover{background:#29292f;}

.generate-btn:disabled{opacity:.55;cursor:default;}

.template-toolbar{display:flex;gap:8px;align-items:center;margin-top:18px;}

.template-toolbar select{flex:1;font-size:12.5px;padding:8px 10px;}

.template-toolbar .ghost-btn{flex-shrink:0;white-space:nowrap;}

.result-wrap{margin-top:22px;position:relative;display:none;}

.stamp-small{position:absolute;top:-14px;right:8px;font-family:"IBM Plex Mono",monospace;font-size:11px;font-weight:700;letter-spacing:.1em;color:var(--teal);border:2px solid var(--teal);border-radius:4px;padding:3px 8px;transform:rotate(-4deg);background:var(--paper);z-index:2;}

.result-shell{position:relative;}

.result-box{width:100%;background:#fafafd;border:1px solid #dedee6;border-radius:10px;padding:18px 16px;white-space:pre-wrap;font-size:14px;line-height:1.65;color:#222229;min-height:160px;font-family:"IBM Plex Sans",sans-serif;resize:vertical;outline:none;}

.result-box:focus{border-color:var(--teal);border-style:solid;}

.edit-hint{font-size:11px;color:var(--text-muted);margin-top:6px;}

.result-actions{display:flex;gap:8px;margin-top:10px;flex-wrap:wrap;}

.ghost-btn{background:#fff;border:1px solid #dedee5;color:#46464e;font-family:Inter,sans-serif;font-size:12px;font-weight:600;padding:8px 14px;border-radius:8px;cursor:pointer;}

.ghost-btn:hover{background:#f5f5f8;color:var(--paper);border-color:#c8c8d2;}

.ghost-btn:disabled{opacity:.5;cursor:default;}

.ghost-btn.rust{border-color:var(--rust-dark);color:var(--rust-dark);}

.ghost-btn.rust:hover{background:var(--rust-dark);color:var(--cream);}

.loading{position:absolute;inset:0;background:var(--paper-soft);border:1.5px dashed var(--paper-dim);border-radius:8px;display:none;align-items:center;gap:8px;justify-content:center;color:var(--text-muted);font-size:13.5px;font-family:"IBM Plex Mono",monospace;}

.loading.active{display:flex;}

.doc-preview{display:none;background:var(--paper);border:1.5px solid var(--paper-dim);border-radius:10px;padding:0;min-height:160px;overflow:hidden;box-shadow:0 6px 20px rgba(0,0,0,.06), 0 1px 3px rgba(0,0,0,.05);}

.doc-preview-head{display:flex;align-items:center;justify-content:space-between;padding:16px 26px;background:var(--paper-dim);border-bottom:1.5px solid var(--paper-dim);}

.doc-preview-brand{display:flex;align-items:center;gap:8px;font-family:"IBM Plex Mono",monospace;font-weight:700;font-size:13px;color:var(--ink);}

.doc-preview-brand .stamp-mark{width:22px;height:22px;}

.doc-preview-brand .stamp-mark span{font-size:7px;}

.doc-preview-date{font-family:"IBM Plex Mono",monospace;font-size:11px;color:var(--text-muted);}

.doc-preview-title-row{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:22px 26px 0;}

.doc-preview-title{font-family:"IBM Plex Mono",monospace;font-weight:700;font-size:19px;color:var(--ink);line-height:1.3;}

.doc-preview-badge{flex-shrink:0;font-family:"IBM Plex Mono",monospace;font-size:10.5px;font-weight:700;letter-spacing:.05em;text-transform:uppercase;color:var(--teal);border:1.5px solid var(--teal);border-radius:20px;padding:4px 10px;white-space:nowrap;}

.doc-preview-meta{font-family:"IBM Plex Mono",monospace;font-size:11px;color:var(--text-muted);padding:6px 26px 18px;border-bottom:1px dashed var(--paper-dim);margin-bottom:20px;}

.doc-preview-body{padding:0 26px 26px;}

.doc-preview-body p{font-size:14.5px;line-height:1.75;color:var(--ink);margin-bottom:12px;}

.doc-preview-body p:last-child{margin-bottom:0;}

.doc-preview-body h4{font-family:"IBM Plex Mono",monospace;font-size:12.5px;font-weight:700;letter-spacing:.03em;text-transform:uppercase;color:var(--rust-dark);margin:20px 0 8px;}

.doc-preview-body h4:first-child{margin-top:0;}

.doc-preview-body ul{margin:0 0 14px;padding-left:20px;}

.doc-preview-body li{font-size:14.5px;line-height:1.7;color:var(--ink);margin-bottom:5px;}

.dot{width:6px;height:6px;border-radius:50%;background:var(--rust);animation:pulse 1s infinite ease-in-out;}

.dot:nth-child(2){animation-delay:.15s;}

.dot:nth-child(3){animation-delay:.3s;}

.disclaimer{margin-top:16px;font-size:11.5px;color:var(--text-muted);line-height:1.5;border-top:1px solid var(--paper-dim);padding-top:10px;}

.legal-note{font-size:11px;color:var(--text-muted, #8a8a94);opacity:.85;margin-top:2px;}

.error{color:var(--rust-dark);font-size:13px;margin-top:10px;}

.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:48px;counter-reset:step;}

.step{position:relative;padding-left:2px;background:#fff;border:1px solid #e5e5ea;border-radius:14px;padding:26px;box-shadow:0 1px 2px rgba(0,0,0,.02);}

.step-num{font-family:"IBM Plex Mono",monospace;font-size:13px;font-weight:700;color:var(--ds-accent);margin-bottom:24px;}

.step h3{font-size:17px;margin-bottom:8px;}

.step p{font-size:13.5px;color:#74747e;}

.pricing-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px;margin-top:48px;max-width:760px;margin-left:auto;margin-right:auto;}

.price-card{background:#fff;border:1px solid #e1e1e7;border-radius:16px;padding:30px;box-shadow:0 2px 8px rgba(20,20,35,.03);}

.price-card.featured{border-color:#bcb8f5;animation:deacoPulseGlow 3.6s ease-in-out infinite;box-shadow:0 20px 50px rgba(99,91,255,.11);position:relative;}

.price-tier{font-family:"IBM Plex Mono",monospace;font-size:13px;color:var(--ds-accent);text-transform:uppercase;letter-spacing:.06em;margin-bottom:10px;}

.price-amount{font-family:"IBM Plex Mono",monospace;font-size:42px;font-weight:700;margin-bottom:4px;}

.price-amount span{font-size:14px;color:var(--text-muted-2);font-weight:500;}

.price-desc{color:#777781;font-size:13.5px;margin-bottom:20px;}

.price-list{list-style:none;font-size:13.5px;color:var(--cream);}

.price-list li{padding:9px 0;border-top:1px solid #eeeeF2;color:#575760;}

.price-list li:first-child{border-top:none;}

.price-list li::before{content:"+";color:var(--ds-accent);font-weight:700;margin-right:5px;}

.price-btn{display:block;text-align:center;margin-top:22px;padding:12px;border-radius:9px;font-family:"IBM Plex Mono",monospace;font-weight:700;font-size:13px;min-height:44px;}

.price-card:not(.featured) .price-btn{border:1.5px solid var(--ink-3);color:var(--cream);}

.price-card.featured .price-btn{background:#635bff;color:var(--cream);}

.ai-badge{display:inline-flex;align-items:center;gap:8px;background:var(--ink-2);border:1px solid var(--ink-3);border-radius:20px;padding:7px 16px;margin-top:18px;font-family:Inter,sans-serif;font-size:11px;color:#8b8b95;}

.ai-badge .pulse-dot{width:6px;height:6px;border-radius:50%;background:var(--ds-accent);animation:badgepulse 2s infinite;}

.ai-strip{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:26px;}

.ai-strip-item{text-align:center;padding:18px 14px;background:#fff;border:1px solid #e7e7eb;border-radius:12px;}

.ai-strip-item .n{font-family:"IBM Plex Mono",monospace;color:var(--ds-accent);font-size:12px;margin-bottom:6px;}

.ai-strip-item p{font-size:13px;color:var(--text-muted-2);}

.templates-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:40px;}

.template-card{background:#fff;border:1px solid #e5e5e9;border-radius:10px;padding:18px 16px;cursor:pointer;transition:transform .18s,border-color .18s,box-shadow .18s;box-shadow:none;}

.template-card:hover{border-color:#cfcfd8;transform:translateY(-2px);box-shadow:0 10px 24px rgba(20,20,30,.05);}

.template-icon{width:36px;height:36px;border-radius:8px;background:var(--ink-3);display:flex;align-items:center;justify-content:center;font-family:"IBM Plex Mono",monospace;font-weight:700;font-size:14px;color:#5b5ce2;margin-bottom:12px;}

.template-card h4{font-size:14px;margin-bottom:4px;color:#17171c;}

.template-card span{font-size:12px;color:#7a7a83;}

.recent-docs{background:var(--ink-2);border:1px solid var(--ink-3);border-radius:12px;padding:18px 20px;margin-top:24px;}

.recent-docs-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px;}

.recent-docs-head h4{font-family:"IBM Plex Mono",monospace;font-size:12.5px;letter-spacing:.06em;text-transform:uppercase;color:var(--teal-light);}

.recent-docs-empty{font-size:13px;color:var(--text-muted);padding:8px 0;}

.recent-doc-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 0;border-top:1px solid var(--ink-3);font-size:13.5px;}

.recent-doc-row:first-child{border-top:none;}

.recent-doc-left{display:flex;align-items:center;gap:10px;overflow:hidden;}

.recent-doc-tag{font-family:"IBM Plex Mono",monospace;font-size:10px;font-weight:700;padding:3px 7px;border-radius:4px;background:var(--ink-3);color:var(--teal-light);flex-shrink:0;}

.recent-doc-title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--cream);}

.recent-doc-time{font-size:11.5px;color:var(--text-muted);flex-shrink:0;}

.faq-list{max-width:780px;margin:40px auto 0;margin-left:auto;margin-right:auto;margin-top:42px;}

.faq-item{border-bottom:1px solid var(--ink-3);background:#fff;border:1px solid #e4e4e9;border-radius:12px;margin-bottom:9px;overflow:hidden;}

.faq-q{width:100%;text-align:left;background:#fff;border:none;cursor:pointer;padding:20px 18px;display:flex;align-items:center;justify-content:space-between;gap:16px;color:#17171c;font-size:14.5px;font-weight:600;font-family:Inter,sans-serif;}

.faq-q .plus{font-family:"IBM Plex Mono",monospace;color:var(--ds-accent);font-size:18px;transition:transform .2s;flex-shrink:0;}

.faq-item.open .faq-q .plus{transform:rotate(45deg);}

.faq-a{max-height:0;overflow:hidden;transition:max-height .25s ease;color:#73737c;background:#fff;}

.faq-item.open .faq-a{max-height:220px;}

.faq-a p{padding:0 18px 20px;font-size:13.5px;color:#70707a;line-height:1.6;}

footer{border-top:1px solid #ededf1;padding:44px 0;background:#fff;color:#777781;}

.footer-inner{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:16px;}

.footer-brand{display:flex;align-items:center;gap:8px;font-weight:700;font-size:14px;color:#17171c;}

.footer-note{font-size:12.5px;color:var(--text-muted-2);}

.activation-banner{background:var(--rust);color:var(--cream);padding:12px 20px;font-size:13.5px;text-align:center;display:none;align-items:center;justify-content:center;gap:14px;flex-wrap:wrap;}

.activation-banner.visible{display:flex;}

.activation-banner button{background:var(--cream);color:var(--rust-dark);border:none;border-radius:6px;padding:6px 14px;font-family:"IBM Plex Mono",monospace;font-weight:700;font-size:12px;cursor:pointer;}

.activation-banner button:disabled{opacity:0.6;cursor:default;}

.chat-launcher{position:fixed;bottom:22px;right:22px;z-index:100;width:56px;height:56px;border-radius:50%;background:#111116;border:none;cursor:pointer;display:flex;align-items:center;justify-content:center;box-shadow:0 10px 30px rgba(0,0,0,.18);transition:transform .15s;}

.chat-launcher:hover{transform:scale(1.05) translateY(-1px);}

.chat-launcher svg{width:24px;height:24px;}

.chat-launcher .close-icon{display:none;}

.chat-launcher.open .chat-icon{display:none;}

.chat-launcher.open .close-icon{display:block;}

.chat-panel{position:fixed;bottom:92px;right:22px;z-index:100;width:340px;max-width:calc(100vw - 32px);height:460px;max-height:calc(100vh - 140px);background:var(--paper);border-radius:14px;box-shadow:0 22px 60px rgba(10,10,20,.18);display:none;flex-direction:column;overflow:hidden;border:1px solid #dedee6;}

.chat-panel.open{display:flex;}

.chat-head{background:var(--ink);color:var(--cream);padding:14px 16px;display:flex;align-items:center;gap:10px;}

.chat-head .stamp-mark{width:28px;height:28px;}

.chat-head .stamp-mark span{font-size:8px;}

.chat-head-text{font-size:13.5px;font-weight:600;}

.chat-head-sub{font-size:11px;color:var(--teal-light);}

.chat-messages{flex:1;overflow-y:auto;padding:16px;display:flex;flex-direction:column;gap:12px;}

.msg{max-width:85%;font-size:13.5px;line-height:1.5;padding:10px 13px;border-radius:10px;white-space:pre-wrap;}

.msg.bot{background:var(--paper-soft);color:var(--ink);align-self:flex-start;border-bottom-left-radius:2px;}

.msg.user{background:var(--ink);color:var(--cream);align-self:flex-end;border-bottom-right-radius:2px;}

.msg.typing{display:flex;gap:4px;align-items:center;padding:12px 14px;}

.msg.typing .dot{width:5px;height:5px;background:var(--text-muted);}

.chat-input-row{display:flex;gap:8px;padding:12px;border-top:1px solid var(--paper-dim);background:var(--paper);}

.chat-input-row input{flex:1;font-family:"IBM Plex Sans",sans-serif;font-size:13.5px;padding:10px 12px;border-radius:20px;border:1.5px solid var(--paper-dim);background:var(--paper-soft);color:var(--ink);outline:none;}

.chat-input-row input:focus{border-color:var(--rust);}

.chat-send{width:38px;height:38px;border-radius:50%;background:var(--rust);border:none;color:var(--cream);cursor:pointer;display:flex;align-items:center;justify-content:center;flex-shrink:0;}

.chat-send:hover{background:var(--rust-dark);}

.chat-send:disabled{opacity:.5;cursor:default;}

.print-only{display:none;}

h1,.section-title,.mono{font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;}

.hero::before{content:"";position:absolute;inset:0;pointer-events:none;opacity:.38;background-image:linear-gradient(rgba(17,17,22,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(17,17,22,.035) 1px,transparent 1px);background-size:48px 48px;mask-image:linear-gradient(to bottom,black,transparent 66%);}

.hero .wrap{position:relative;z-index:1;}

.pulse-dot{background:#5b5ce2;}

.pain-item:not(:first-child){padding-left:34px;}

.pain-item:last-child{border-right:0;}

#tools{background:#fff;}

#templates{background:#f7f7f8;border-top:1px solid #ededf0;border-bottom:1px solid #ededf0;}

.app-tab:hover{color:#222229;background:#f0f0f4;}

.app-controls label{color:#56565f;font-family:Inter,sans-serif;font-size:12px;}

.app-controls input,.app-controls textarea,.app-controls select{border:1px solid #dedee5;background:#fff;color:#17171c;border-radius:8px;}

.app-controls input:focus,.app-controls textarea:focus,.app-controls select:focus{border-color:#a8a8ed;box-shadow:0 0 0 3px rgba(91,92,226,.10);outline:none;}

#how{background:#f7f7f9;border-top:1px solid #ededf1;border-bottom:1px solid #ededf1;}

#pricing{background:#fff;}

#faq{background:#f7f7f9;border-top:1px solid #ededf1;}

.auth-modal input,.auth-modal select{background:#fff;color:#17171c;border-color:#dedee5;}

.auth-modal input:focus,.auth-modal select:focus{border-color:#a8a8ed;box-shadow:0 0 0 3px rgba(91,92,226,.1);}

html.night-mode{filter:invert(1) hue-rotate(180deg);}

html.night-mode body{background:#0b0b0f;}

html.night-mode img,html.night-mode video,html.night-mode iframe,html.night-mode svg image{filter:invert(1) hue-rotate(180deg);}

body,nav,.app-card,.tool-card,.template-card,.price-card,.faq-item,.result-box,.auth-modal,.mobile-menu,.hero{transition:background-color .45s ease, color .45s ease, border-color .45s ease, box-shadow .45s ease;}

.theme-toggle{position:relative;width:40px;height:40px;border-radius:50%;border:1.5px solid rgba(120,120,140,.28);background:rgba(120,120,140,.08);display:flex;align-items:center;justify-content:center;cursor:pointer;flex-shrink:0;transition:transform .35s cubic-bezier(.34,1.56,.64,1), border-color .25s ease, background-color .25s ease;}

.theme-toggle:hover{transform:rotate(-12deg) scale(1.06);border-color:#5b5ce2;}

.theme-toggle:active{transform:scale(.92);}

.theme-toggle svg{width:19px;height:19px;display:block;}

.theme-toggle .icon-sun,.theme-toggle .icon-moon{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%) scale(1) rotate(0deg);opacity:1;transition:opacity .35s ease, transform .5s cubic-bezier(.34,1.56,.64,1);}

.theme-toggle .icon-moon{opacity:0;transform:translate(-50%,-50%) scale(.4) rotate(-90deg);}

html.night-mode .theme-toggle .icon-sun{opacity:0;transform:translate(-50%,-50%) scale(.4) rotate(90deg);}

html.night-mode .theme-toggle .icon-moon{opacity:1;transform:translate(-50%,-50%) scale(1) rotate(0deg);}

.mobile-theme-row{display:flex;align-items:center;justify-content:space-between;margin-top:14px;padding-top:14px;border-top:1px solid var(--ink-3);font-family:"IBM Plex Mono",monospace;font-size:13px;color:var(--cream);}

.reveal-init{opacity:0;transform:translateY(26px);transition:opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1);will-change:opacity, transform;}

.reveal-visible{opacity:1;transform:translateY(0);}

.btn-primary,.generate-btn{transition:transform .18s ease, box-shadow .18s ease, background .18s ease;}

.btn-primary:active,.generate-btn:active{transform:scale(.97);}

.tool-card,.template-card,.price-card,.faq-item{transition:transform .22s cubic-bezier(.2,.7,.2,1), box-shadow .22s ease, border-color .22s ease, background-color .45s ease;}

::selection{background:rgba(99,91,255,.18);color:#111116;}

.nav-links a{transition:color .18s ease;}

.hero-steps{text-align:center;margin-top:14px;font-size:11.5px;font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:var(--ds-muted);}

.hero-demo{display:flex;align-items:stretch;gap:18px;border:1px solid var(--ds-line);border-radius:18px;background:linear-gradient(180deg,rgba(255,255,255,.98),rgba(249,249,252,.98));box-shadow:0 50px 100px rgba(20,20,35,.12),0 12px 28px rgba(20,20,35,.06),inset 0 1px 0 rgba(255,255,255,.9);padding:26px;}

.hero-demo-pane{flex:1;min-width:0;display:flex;flex-direction:column;}

.hero-demo-label{font-size:10px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--ds-muted);margin-bottom:14px;}

.hero-demo-input .hero-demo-field{border:1px solid var(--ds-line);border-radius:8px;background:var(--ds-soft);padding:9px 12px;font-size:13px;color:var(--ds-text);margin-bottom:8px;}

.hero-demo-field span{display:block;font-size:9px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--ds-muted);margin-bottom:2px;}

.hero-demo-genbtn{margin-top:8px;align-self:flex-start;background:var(--ds-accent);color:#fff;border-radius:8px;padding:9px 16px;font-size:12.5px;font-weight:600;}

.hero-demo-genbtn span{margin-left:4px;}

.hero-demo-arrow{align-self:center;color:var(--ds-line);font-size:20px;flex:0 0 auto;}

.hero-demo-output{border-left:1px dashed var(--ds-line);padding-left:18px;}

.hero-demo-doc{background:#fff;border:1px solid var(--ds-line);border-radius:10px;padding:16px;flex:1;}

.hero-demo-doc-title{font-size:13px;font-weight:700;color:var(--ds-text);margin-bottom:10px;}

.hero-demo-doc-line{height:7px;border-radius:4px;background:var(--ds-soft);margin-bottom:8px;}

.hero-demo-doc-line--wide{width:92%;}

.hero-demo-doc-line--short{width:55%;}

.hero-demo-badge{margin-top:12px;align-self:flex-start;font-size:11px;font-weight:600;color:#1a8a4a;background:#e9f8ee;border:1px solid #bfe9cd;border-radius:999px;padding:4px 10px;}

.pain .section-title{max-width:820px;margin:0 auto;text-align:center;}

.lang-picker{display:flex;align-items:center;gap:8px;}

.lang-picker label{white-space:nowrap;}

.lang-picker select{min-height:32px;padding:2px 8px;font-size:12.5px;font-family:"IBM Plex Mono",monospace;}

.checkbox-grid{display:grid;grid-template-columns:1fr 1fr;gap:6px 14px;margin:6px 0 4px;}

.checkbox-item{display:flex;align-items:center;gap:7px;text-transform:none;letter-spacing:normal;font-weight:400;font-size:13.5px;color:var(--ink,#17171c);cursor:pointer;}

.checkbox-item input[type=checkbox]{width:auto;min-height:auto;margin:0;}

.doc-warning{background:#fff6e8;border:1px solid #f0c56b;color:#6b4c05;border-radius:9px;padding:12px 14px;font-size:13px;line-height:1.5;margin:10px 0;}

.doc-warning strong{display:block;margin-bottom:4px;}

.doc-warning ul{margin:4px 0 0;padding-left:18px;}

.price-card.featured::before{content:"MOST POPULAR";position:absolute;top:-11px;right:20px;padding:4px 9px;border-radius:999px;background:#635bff;color:#fff;font-size:9px;font-weight:750;letter-spacing:.08em;}

.price-card.featured .price-btn:hover{background:#5048e6;}

/* --- Deaco conversion-focused polish --- */
.eyebrow{display:inline-flex;align-items:center;gap:8px;}
.eyebrow-dot{width:7px;height:7px;border-radius:50%;background:var(--ds-accent);box-shadow:0 0 0 5px rgba(99,91,255,.10);}
.hero h1{max-width:1040px;}
.hero-sub{max-width:720px;font-size:18px;}
.hero-ctas .btn-primary,.final-cta .btn-primary{display:inline-flex;align-items:center;gap:14px;}
.hero-ctas .btn-primary span,.final-cta .btn-primary span{transition:transform .18s ease;}
.hero-ctas .btn-primary:hover span,.final-cta .btn-primary:hover span{transform:translateX(3px);}
.hero-proof{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:0;margin:24px auto 0;color:#74747f;font-size:12.5px;animation:deacoFadeInDown .7s .23s ease both;}
.hero-proof span{padding:0 15px;border-right:1px solid #dddde5;}
.hero-proof span:last-child{border-right:0;}
.hero-proof strong{color:#26262d;font-weight:700;}
.hero-visual{max-width:1000px;}
.hero-demo{text-align:left;padding:12px;gap:12px;border-radius:22px;background:rgba(255,255,255,.78);backdrop-filter:blur(12px);}
.hero-demo-pane{border-radius:14px;padding:20px;}
.hero-demo-input{background:#f8f8fb;border:1px solid #ececf2;}
.hero-demo-output{background:#fff;border:1px solid #e7e7ee;padding-left:20px;}
.hero-demo-label{display:flex;align-items:center;gap:8px;margin-bottom:16px;}
.hero-demo-label span{display:inline-flex;width:20px;height:20px;align-items:center;justify-content:center;border-radius:6px;background:#ecebff;color:var(--ds-accent);font-size:9px;}
.hero-demo-input .hero-demo-field{background:#fff;padding:10px 12px;margin-bottom:9px;box-shadow:0 1px 1px rgba(20,20,35,.02);}
.hero-demo-genbtn{width:100%;text-align:center;margin-top:5px;padding:11px 16px;box-shadow:0 7px 18px rgba(99,91,255,.20);}
.hero-demo-arrow{width:34px;height:34px;border:1px solid #e1e1e8;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#fff;color:#8d8d98;position:relative;z-index:2;margin:0 -5px;}
.hero-demo-doc{padding:18px;border-radius:10px;box-shadow:0 8px 24px rgba(20,20,35,.05);}
.hero-demo-doc-head{display:flex;justify-content:space-between;gap:12px;align-items:center;padding-bottom:13px;margin-bottom:14px;border-bottom:1px solid #eeeeF2;font-size:14px;font-weight:750;color:#18181e;}
.hero-demo-doc-head span{font-size:8px;letter-spacing:.12em;color:#9696a0;font-weight:700;}
.hero-demo-doc-copy strong{font-size:12.5px;color:#24242b;}
.hero-demo-doc-copy p{font-size:11px;color:#74747d;line-height:1.55;margin:7px 0 15px;}
.hero-demo-row{display:flex;justify-content:space-between;gap:14px;padding:8px 0;border-top:1px solid #f0f0f3;font-size:10.5px;color:#777781;}
.hero-demo-row strong{font-size:10.5px;color:#24242b;}
.hero-demo-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:12px;font-size:9.5px;color:#888892;}
.hero-demo-badge{margin-top:0;}
.hero-trust{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:10px 24px;margin:20px auto 0;color:#85858f;font-size:11.5px;}
.hero-trust>span{display:flex;align-items:center;gap:7px;}
.hero-trust>span:not(:first-child)::before{content:"+";color:#6263d9;font-weight:800;}
.section-kicker{text-align:center;color:var(--ds-accent);font-size:10px;font-weight:800;letter-spacing:.16em;margin-bottom:12px;}
#pricing .price-card{padding:32px;}
#pricing .price-card.featured{box-shadow:0 18px 50px rgba(99,91,255,.11);}
.price-list li{position:relative;padding-left:23px;}
.price-list li::before{content:"+";position:absolute;left:0;top:0;color:var(--ds-accent);font-weight:800;}
.final-cta{padding:76px 0;background:#fff;border-top:1px solid #ededf1;}
.final-cta-card{display:flex;justify-content:space-between;align-items:center;gap:36px;padding:46px 50px;border:1px solid #e4e4eb;border-radius:22px;background:radial-gradient(520px 220px at 0% 0%,rgba(99,91,255,.12),transparent 70%),#111116;color:#fff;box-shadow:0 24px 70px rgba(20,20,35,.12);}
.final-cta-card .section-kicker{text-align:left;margin-bottom:10px;color:#9f9bff;}
.final-cta-card h2{font-size:clamp(30px,4vw,48px);line-height:1.04;letter-spacing:-.045em;margin-bottom:12px;}
.final-cta-card p{max-width:650px;color:#b9b9c2;font-size:15px;line-height:1.65;}
.final-cta-card .btn-primary{background:#fff;color:#111116;white-space:nowrap;box-shadow:none;}
.final-cta-card .btn-primary:hover{background:#f2f2f5;}

@media(max-width:640px){
  section{padding:52px 0;}
  .hero-proof{display:grid;grid-template-columns:1fr 1fr;gap:8px 0;max-width:330px;}
  .hero-proof span{border-right:0;padding:0 8px;}
  .hero-trust{display:grid;grid-template-columns:1fr 1fr;text-align:left;max-width:330px;}
  .hero-demo-pane{padding:16px;}
  .hero-demo-arrow{margin:-5px auto;transform:rotate(90deg);}
  .hero-demo-actions{align-items:flex-start;flex-direction:column;}
  .final-cta{padding:52px 0;}
  .final-cta-card{padding:32px 24px;align-items:flex-start;flex-direction:column;}
  .final-cta-card .btn-primary{width:100%;justify-content:center;}
  .pricing-grid{grid-template-columns:1fr;}
  .hero-demo{flex-direction:column;}
  .hero-demo-arrow{transform:rotate(90deg);align-self:center;}
  .hero-demo-output{border-left:none;padding-left:0;border-top:1px dashed var(--ds-line);padding-top:16px;}
}

@media(max-width:720px){
  .nav-links{display:none;}
  .nav-cta{display:none;}
  .nav-burger{display:flex;}
  .nav-account-btn{display:none;}
}

@media(min-width:721px){
  .mobile-menu,.mobile-menu-backdrop{display:none !important;}
}

@media(max-width:760px){
  .pain-grid{grid-template-columns:1fr;border-top:0;}
  .steps{grid-template-columns:1fr;}
  .templates-grid{grid-template-columns:repeat(2,1fr);}
  section{padding:76px 0;}
  .pain-item,.pain-item:not(:first-child){padding:24px 0;border-right:0;border-top:1px solid #e2e2e6;}
}

@media(max-width:800px){
  .tools-grid{grid-template-columns:1fr;}
  .hero{padding:94px 0 76px;}
  .hero-visual{margin-top:48px;}
  section{padding:88px 0;}
  h1{font-size:clamp(43px,11vw,64px);}
  .hero-sub{font-size:17px;}
}

@media(max-width:480px){
  .app-tab{font-size:11px;padding:12px 12px;letter-spacing:-0.01em;}
  .app-controls{padding:12px 16px;}
  .app-body{padding:20px 16px 22px;}
  .result-actions{gap:6px;}
  .ghost-btn{font-size:11px;padding:7px 10px;}
  .row2{grid-template-columns:1fr;}
  .checkbox-grid{grid-template-columns:1fr;}
}

@media(max-width:700px){
  .ai-strip{grid-template-columns:1fr;}
}

@media(max-width:460px){
  .templates-grid{grid-template-columns:1fr;}
}

@media(max-width:560px){
  .wrap{padding-left:18px;padding-right:18px;}
  .hero{padding-top:76px;}
  h1{font-size:43px;letter-spacing:-.065em;}
  .hero-sub{font-size:16px;}
  .hero-visual{margin-top:46px;}
  section{padding:74px 0;}
  .app-body{padding:22px 18px 26px;}
  .price-card{padding:25px 22px;}
}


/* === Deaco 2.0 workspace refresh === */
.app-section{background:linear-gradient(180deg,#f8f8fb 0%,#fbfbfd 100%);}
.app-section>.wrap{max-width:1240px;}
.app-card{display:grid;grid-template-columns:238px minmax(0,1fr);min-height:720px;border-radius:22px;box-shadow:0 30px 90px rgba(20,20,35,.10);}
.app-sidebar{background:#121217;color:#fff;border-right:1px solid #27272f;padding:18px 14px;display:flex;flex-direction:column;gap:14px;}
.app-sidebar-head{padding:8px 8px 4px;}
.app-sidebar-kicker{font-size:9px;font-weight:800;letter-spacing:.16em;color:#8d89ff;text-transform:uppercase;margin-bottom:6px;}
.app-sidebar-title{font-family:Inter,sans-serif;font-size:16px;font-weight:750;letter-spacing:-.025em;color:#fff;}
.app-sidebar-sub{font-size:11px;color:#92929d;line-height:1.45;margin-top:4px;}
.tool-search-wrap{position:relative;margin:2px 4px 2px;}
.tool-search-wrap::before{content:"⌕";position:absolute;left:11px;top:50%;transform:translateY(-50%);color:#7d7d89;font:14px "IBM Plex Mono",monospace;pointer-events:none;}
#toolSearch{width:100%;min-height:38px;background:#1b1b21;border:1px solid #2e2e37;color:#f5f5f7;border-radius:9px;padding:8px 10px 8px 32px;font-size:12px;box-shadow:none;}
#toolSearch::placeholder{color:#777783;}
#toolSearch:focus{border-color:#5954bb;box-shadow:0 0 0 3px rgba(99,91,255,.13);}
.app-tabs-wrap{border:0;background:transparent;position:relative;min-width:0;}
.app-tabs{display:flex;flex-direction:column;gap:3px;background:transparent;overflow:visible;padding:0;}
.app-tab{width:100%;display:flex;align-items:center;gap:10px;text-align:left;padding:10px 11px;border-radius:9px;color:#aaaab4;font-size:12px;font-weight:600;transition:background .15s ease,color .15s ease,transform .15s ease;}
.app-tab::before{content:"";width:7px;height:7px;border-radius:50%;background:#45454f;box-shadow:0 0 0 4px rgba(255,255,255,.015);flex:0 0 auto;}
.app-tab:hover{background:#1d1d24;color:#fff;transform:translateX(2px);}
.app-tab.active{background:#2a2850;color:#fff;box-shadow:inset 0 0 0 1px rgba(143,138,255,.24);}
.app-tab.active::before{background:#8f8aff;box-shadow:0 0 0 4px rgba(143,138,255,.13);}
.app-tab[hidden]{display:none!important;}
.app-tabs-fade{display:none;}
.app-sidebar-foot{margin-top:auto;padding:12px 8px 6px;border-top:1px solid #2b2b32;color:#858590;font-size:10.5px;line-height:1.55;}
.app-sidebar-foot strong{color:#d7d7df;font-weight:650;}
.app-workspace{min-width:0;background:#fff;display:flex;flex-direction:column;}
.app-controls{justify-content:space-between;min-height:66px;padding:12px 28px;background:#fcfcfe;border-bottom:1px solid #ececf1;}
.app-controls::before{content:"Document workspace";font:700 11px Inter,sans-serif;letter-spacing:.07em;text-transform:uppercase;color:#34343c;}
.lang-picker{display:flex;align-items:center;gap:8px;}
.lang-picker label{margin:0;font-size:9px;color:#888893;white-space:nowrap;}
.lang-picker select{width:auto;min-height:36px;padding:7px 30px 7px 10px;font-size:12px;background:#fff;}
.usage-counter{margin-left:auto;border:1px solid #e2e2e8;background:#fff;border-radius:999px;padding:8px 11px;font-size:10.5px;}
.app-body{padding:38px 42px 44px;max-width:880px;width:100%;}
.panel{animation:workspacePanelIn .22s ease both;}
@keyframes workspacePanelIn{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:none}}
.app-tool-title{font-size:25px;margin-bottom:7px;letter-spacing:-.04em;}
.app-tool-desc{max-width:650px;font-size:14.5px;line-height:1.65;margin-bottom:28px;color:#757580;}
.panel label{margin-top:17px;margin-bottom:7px;color:#4d4d57;font-size:10px;}
.panel input[type=text],.panel textarea,.panel select{border-color:#dfe0e7;border-radius:10px;background:#fdfdfe;transition:border-color .15s ease,box-shadow .15s ease,background .15s ease;}
.panel input[type=text]:hover,.panel textarea:hover,.panel select:hover{border-color:#c9cad4;background:#fff;}
.generate-btn{margin-top:26px;border-radius:10px;min-height:50px;background:linear-gradient(180deg,#1d1d23,#101014);font-size:13px;box-shadow:0 8px 20px rgba(17,17,22,.12);transition:transform .15s ease,box-shadow .15s ease,background .15s ease;}
.generate-btn:hover{transform:translateY(-1px);box-shadow:0 12px 26px rgba(17,17,22,.16);background:linear-gradient(180deg,#292932,#16161b);}
.generate-btn:disabled{transform:none;}
.result-wrap{margin-top:28px;border-top:1px solid #ececf1;padding-top:27px;}
.result-shell{border-radius:14px;overflow:hidden;box-shadow:0 14px 38px rgba(20,20,35,.07);}
.result-box{min-height:260px;border-radius:14px;padding:24px 24px;background:#fff;border:1px solid #dddde5;font-size:14px;line-height:1.72;}
.doc-preview{min-height:260px;border-radius:14px;border-color:#dddde5;}
.stamp-small{top:9px;right:14px;border-width:1px;border-radius:999px;transform:none;padding:4px 9px;font-size:9px;background:#fff;box-shadow:0 2px 8px rgba(20,20,35,.06);}
.edit-hint{margin-top:11px;color:#8b8b96;}
.result-actions{padding:10px 0 0;gap:7px;}
.ghost-btn{border-radius:8px;background:#fff;min-height:34px;}
.ghost-btn:hover{background:#f3f3f7;color:#202028;border-color:#c8c8d2;}
.recent-docs{border-radius:14px!important;border-color:#e4e4ea!important;background:rgba(255,255,255,.72)!important;backdrop-filter:blur(8px);}

@media(max-width:860px){
  .app-card{display:block;min-height:0;border-radius:16px;}
  .app-sidebar{display:block;padding:0;background:#f7f7fa;color:#111116;border-right:0;border-bottom:1px solid #e7e7ec;}
  .app-sidebar-head,.tool-search-wrap,.app-sidebar-foot{display:none;}
  .app-tabs-wrap{display:block;}
  .app-tabs{flex-direction:row;overflow-x:auto;gap:2px;padding:7px 8px;scrollbar-width:thin;}
  .app-tab{width:auto;white-space:nowrap;color:#777781;padding:10px 13px;background:transparent;}
  .app-tab::before{display:none;}
  .app-tab:hover{transform:none;background:#efeff4;color:#222229;}
  .app-tab.active{background:#fff;color:#111116;box-shadow:0 1px 5px rgba(20,20,35,.08);}
  .app-tabs-fade{display:flex;}
  .app-controls{padding:11px 18px;}
  .app-controls::before{display:none;}
  .usage-counter{margin-left:0;}
  .app-body{padding:28px 24px 32px;max-width:none;}
}
@media(max-width:560px){
  .app-controls{align-items:flex-start;gap:9px;}
  .lang-picker{width:100%;justify-content:space-between;}
  .lang-picker select{flex:1;}
  .app-tool-title{font-size:22px;}
  .app-body{padding:24px 18px 28px;}
  .result-box{padding:20px 16px;min-height:230px;}
}

@media(prefers-reduced-motion:reduce){
  html,.eyebrow,h1,.hero-sub,.hero-ctas,.price-card.featured,.reveal-init{animation:none !important;transition:none !important;}
  .reveal-init{opacity:1 !important;transform:none !important;}
  .hero-visual,.tool-card,.btn-primary,.generate-btn{transition:none !important;}
}

@keyframes pulse{
  0%,80%,100%{opacity:.25;}
  40%{opacity:1;}
}

@keyframes badgepulse{
  0%{box-shadow:0 0 0 0 rgba(107,153,133,0.5);}
  70%{box-shadow:0 0 0 6px rgba(107,153,133,0);}
  100%{box-shadow:0 0 0 0 rgba(107,153,133,0);}
}

@keyframes deacoFadeInDown{
  from{opacity:0;transform:translateY(-14px);}
  to{opacity:1;transform:translateY(0);}
}

@keyframes deacoPulseGlow{
  0%,100%{box-shadow:0 0 0 0 rgba(91,92,226,.0);}
  50%{box-shadow:0 0 0 6px rgba(91,92,226,.08);}
}

@media print{
  body *{visibility:hidden;}
  #printArea, #printArea *{visibility:visible;}
  #printArea{display:block;position:absolute;top:0;left:0;width:100%;padding:48px 56px;color:#000;background:#fff;}
  .print-head{display:flex;justify-content:space-between;align-items:baseline;border-bottom:2px solid #000;padding-bottom:12px;margin-bottom:24px;}
  .print-brand{font-family:"IBM Plex Mono", monospace;font-weight:700;font-size:16px;}
  .print-date{font-family:"IBM Plex Mono", monospace;font-size:12px;}
  .print-body p{font-size:13px;line-height:1.7;margin-bottom:12px;}
}


/* === Deaco pro features: client profiles, reuse, invoice builder === */
.pro-workflow-tools{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:2px 0 14px;padding:10px 12px;border:1px solid #e5e5ec;border-radius:12px;background:rgba(255,255,255,.72)}
.pro-workflow-label{font:700 9px "IBM Plex Mono",monospace;letter-spacing:.09em;text-transform:uppercase;color:#777786;margin-right:2px}
.pro-workflow-tools select{width:auto;min-width:150px;margin:0;padding:8px 30px 8px 10px;font-size:12px;background:#fff}
.mini-action{appearance:none;border:1px solid #dcdce6;background:#fff;color:#33333d;border-radius:9px;padding:8px 10px;font:700 11px Inter,sans-serif;cursor:pointer;transition:.15s ease}
.mini-action:hover{border-color:#aaa6e9;color:#514cb4;transform:translateY(-1px)}
.invoice-builder{margin:12px 0 14px;border:1px solid #e2e2ea;border-radius:13px;background:#fbfbfd;overflow:hidden}
.invoice-builder-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:11px 12px;border-bottom:1px solid #e8e8ee;background:#fff}
.invoice-builder-title{font:700 11px "IBM Plex Mono",monospace;letter-spacing:.06em;text-transform:uppercase;color:#555563}
.invoice-builder-head select{width:auto;margin:0;padding:7px 28px 7px 9px;font-size:11px}
.invoice-lines{padding:8px 10px 2px}.invoice-line{display:grid;grid-template-columns:minmax(0,1fr) 72px 100px 34px;gap:7px;align-items:end;margin-bottom:8px}
.invoice-line input{margin:0;padding:9px;font-size:12px;background:#fff}.invoice-line label{font-size:9.5px;margin:0 0 4px;color:#80808d}
.invoice-line-remove{height:36px;border:1px solid #e3e3e9;background:#fff;border-radius:8px;cursor:pointer;color:#8b5962;font-weight:800}
.invoice-builder-footer{display:flex;align-items:flex-end;justify-content:space-between;gap:10px;padding:9px 12px 11px;border-top:1px solid #ececf1;background:#fff}
.invoice-add{appearance:none;border:0;background:transparent;color:#5752ba;font:700 11px Inter,sans-serif;cursor:pointer;padding:6px 0}
.invoice-totals{display:grid;grid-template-columns:auto auto;gap:5px 12px;align-items:center;font-size:11.5px;color:#686875}.invoice-totals input{width:72px;margin:0;padding:6px 7px;font-size:11px;text-align:right}
.invoice-total-strong{font-weight:800;color:#272733;font-size:13px}
@media(max-width:720px){.pro-workflow-tools{align-items:stretch}.pro-workflow-tools select{width:100%}.mini-action{flex:1}.invoice-line{grid-template-columns:1fr 64px 86px 34px}.invoice-builder-footer{align-items:stretch;flex-direction:column}.invoice-totals{align-self:flex-end}}

/* === Deaco feature pass: pinned tools + local drafts === */
.pinned-tools{display:none;margin:8px 4px 2px;padding:10px;border:1px solid #2c2c35;border-radius:10px;background:#18181e;}
.pinned-tools.visible{display:block;}
.pinned-tools-label{font:700 9px "IBM Plex Mono",monospace;letter-spacing:.09em;text-transform:uppercase;color:#7e7e8a;margin-bottom:7px;}
.pinned-tools-list{display:flex;flex-wrap:wrap;gap:6px;}
.pinned-tool-chip{appearance:none;border:1px solid #34343e;background:#222229;color:#e8e8ec;border-radius:999px;padding:6px 9px;font:600 10.5px Inter,sans-serif;cursor:pointer;transition:.16s ease;}
.pinned-tool-chip:hover{border-color:#6560d5;background:#292933;transform:translateY(-1px);}
.workspace-action{appearance:none;border:1px solid #dedee7;background:#fff;color:#3a3a46;border-radius:9px;padding:8px 10px;font:700 11px Inter,sans-serif;cursor:pointer;white-space:nowrap;transition:.16s ease;}
.workspace-action:hover{border-color:#b7b4e9;color:#4e49aa;box-shadow:0 3px 12px rgba(48,45,110,.07);}
.workspace-action.is-pinned{background:#f0efff;border-color:#c8c5f4;color:#514cb4;}
.draft-status{display:flex;align-items:center;gap:7px;margin-left:auto;font-size:11px;color:#777786;min-height:30px;}
.draft-status-dot{width:7px;height:7px;border-radius:50%;background:#c7c7d0;transition:.18s ease;}
.draft-status.saved .draft-status-dot{background:#4ba579;box-shadow:0 0 0 3px rgba(75,165,121,.10);}
.draft-clear{appearance:none;border:0;background:transparent;color:#6d68c8;text-decoration:underline;text-underline-offset:2px;font:600 10.5px Inter,sans-serif;cursor:pointer;padding:2px 0;}
.recent-doc-row{cursor:pointer;border-radius:8px;padding-left:7px;padding-right:7px;transition:.15s ease;}
.recent-doc-row:hover{background:rgba(91,84,190,.06);}
.recent-doc-open{font-size:11px;font-weight:700;color:#615cc0;white-space:nowrap;}
.recent-docs-head-actions{display:flex;align-items:center;gap:8px;}
.recent-doc-clear{appearance:none;border:0;background:transparent;color:#777786;font:600 10.5px Inter,sans-serif;cursor:pointer;text-decoration:underline;text-underline-offset:2px;}
@media(max-width:900px){.pinned-tools{display:none!important}.workspace-action{display:none}.draft-status{width:100%;margin-left:0;justify-content:flex-end}.app-controls{flex-wrap:wrap}}


/* === Deaco Pro pass: brand kit, statuses, command palette === */
.brandkit-btn{display:inline-flex;align-items:center;gap:6px}.brandkit-dot{width:9px;height:9px;border-radius:50%;background:#635bff;box-shadow:0 0 0 2px rgba(99,91,255,.12)}
.brandkit-panel{margin-top:18px;padding:16px;border:1px solid var(--paper-dim);border-radius:12px;background:var(--paper-soft)}.brandkit-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.brandkit-grid .full{grid-column:1/-1}.brandkit-logo-preview{display:flex;align-items:center;gap:10px;margin-top:8px;font-size:12px;color:var(--text-muted)}.brandkit-logo-preview img{width:36px;height:36px;object-fit:contain;border:1px solid var(--paper-dim);border-radius:8px;background:#fff}.brandkit-actions{display:flex;gap:8px;margin-top:12px;flex-wrap:wrap}
.dash-status{appearance:none;border:1px solid var(--paper-dim);background:#fff;border-radius:999px;padding:6px 24px 6px 9px;font:700 10px "IBM Plex Mono",monospace;color:var(--text-muted);cursor:pointer}.dash-status[data-status="Paid"]{color:#167a48;background:#eefaf3}.dash-status[data-status="Overdue"]{color:#a64646;background:#fff0f0}.dash-status[data-status="Sent"]{color:#4f55a8;background:#f0f1ff}
.command-palette-backdrop{position:fixed;inset:0;z-index:150;background:rgba(10,10,16,.46);backdrop-filter:blur(6px);display:none;align-items:flex-start;justify-content:center;padding:12vh 18px 20px}.command-palette-backdrop.open{display:flex}.command-palette{width:min(620px,100%);background:#fff;border:1px solid #e1e1e8;border-radius:16px;box-shadow:0 30px 90px rgba(10,10,20,.26);overflow:hidden}.command-search{width:100%;border:0!important;border-bottom:1px solid #ececf1!important;border-radius:0!important;min-height:58px!important;padding:16px 18px!important;font-size:15px!important;box-shadow:none!important}.command-list{max-height:420px;overflow:auto;padding:8px}.command-item{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;border:0;background:transparent;border-radius:10px;padding:11px 12px;text-align:left;cursor:pointer;color:#26262d}.command-item:hover,.command-item.active{background:#f4f4f8}.command-item strong{display:block;font-size:13px}.command-item span{font-size:11px;color:#85858f}.command-key{font:700 9px "IBM Plex Mono",monospace;border:1px solid #dedee6;border-radius:5px;padding:3px 6px;background:#fff;color:#777780}.command-empty{padding:24px;text-align:center;color:#898994;font-size:12px}
.invoice-number-tools{display:flex;align-items:center;gap:8px;margin-top:-4px;margin-bottom:10px}.invoice-number-tools button{border:0;background:transparent;color:#5c58b5;font-size:11px;font-weight:700;cursor:pointer;padding:0}.invoice-number-tools span{font-size:10px;color:#8a8a95}
.doc-preview-brand img{width:22px;height:22px;object-fit:contain;border-radius:5px}.doc-preview-brand .brand-accent{width:7px;height:7px;border-radius:50%;display:inline-block}
@media(max-width:720px){.brandkit-grid{grid-template-columns:1fr}.brandkit-grid .full{grid-column:auto}.command-palette-backdrop{padding-top:8vh}.dash-row{align-items:flex-start}.dash-row-actions{flex-wrap:wrap;justify-content:flex-end}}

/* === Deaco business suite: CRM-lite, projects, recurring invoices, analytics === */
.business-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-bottom:18px}.business-metric{padding:14px;border:1px solid var(--paper-dim);border-radius:12px;background:var(--paper-soft)}.business-metric span{display:block;font:700 9px "IBM Plex Mono",monospace;letter-spacing:.08em;text-transform:uppercase;color:var(--text-muted);margin-bottom:6px}.business-metric strong{font-size:22px;color:var(--ink)}
.business-section{margin-top:18px;padding-top:18px;border-top:1px solid var(--paper-dim)}.business-section-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}.business-section-head h4{margin:0;font-size:14px}.business-mini{font-size:11px;color:var(--text-muted)}
.project-form{display:grid;grid-template-columns:1.2fr 1fr .8fr .7fr auto;gap:8px;align-items:end;margin-bottom:10px}.project-form input,.project-form select{margin:0}.project-list,.recurring-list,.reminder-list{display:grid;gap:7px}.business-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center;padding:11px 12px;border:1px solid var(--paper-dim);border-radius:10px;background:var(--paper-soft)}.business-row-title{font-weight:700;font-size:12.5px;color:var(--ink)}.business-row-meta{font-size:10.5px;color:var(--text-muted);margin-top:3px}.business-row-actions{display:flex;gap:6px;align-items:center;flex-wrap:wrap}.business-pill{display:inline-flex;align-items:center;border:1px solid var(--paper-dim);border-radius:999px;padding:5px 8px;font:700 9px "IBM Plex Mono",monospace;color:var(--text-muted);background:#fff}.business-pill.good{color:#167a48;background:#eefaf3}.business-pill.warn{color:#a16822;background:#fff8e9}.business-pill.bad{color:#a64646;background:#fff0f0}
.invoice-automation{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:10px 0 14px;padding:12px;border:1px dashed #d7d7e4;border-radius:12px;background:#fafaff}.invoice-automation label{margin-top:0}.invoice-automation-note{grid-column:1/-1;font-size:10.5px;color:#777786;line-height:1.45}.invoice-automation .checkline{display:flex;gap:8px;align-items:center;margin:0;text-transform:none;letter-spacing:0;font-weight:600;font-size:12px}.invoice-automation .checkline input{width:auto;min-height:auto;margin:0}.analytics-bar{height:7px;border-radius:999px;background:#ececf2;overflow:hidden;margin-top:7px}.analytics-bar span{display:block;height:100%;background:currentColor;border-radius:inherit}.business-empty{padding:13px;border:1px dashed var(--paper-dim);border-radius:10px;color:var(--text-muted);font-size:11.5px;text-align:center}
.revenue-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:12px 0}.revenue-card{padding:14px;border:1px solid var(--paper-dim);border-radius:12px;background:var(--paper-soft)}.revenue-card span{display:block;font:700 9px "IBM Plex Mono",monospace;letter-spacing:.08em;text-transform:uppercase;color:var(--text-muted);margin-bottom:5px}.revenue-card strong{font-size:20px;color:var(--ink)}.revenue-card small{display:block;margin-top:4px;color:var(--text-muted);font-size:10.5px}.pipeline-board{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.pipeline-col{border:1px solid var(--paper-dim);border-radius:12px;background:var(--paper-soft);min-height:118px;padding:10px}.pipeline-col-head{display:flex;justify-content:space-between;gap:8px;align-items:center;margin-bottom:8px;font:700 10px "IBM Plex Mono",monospace;text-transform:uppercase;letter-spacing:.05em;color:var(--text-muted)}.pipeline-count{background:#fff;border:1px solid var(--paper-dim);border-radius:999px;padding:2px 6px;font-size:9px}.pipeline-card{padding:9px;background:#fff;border:1px solid var(--paper-dim);border-radius:9px;margin-top:7px}.pipeline-card strong{display:block;font-size:11.5px;color:var(--ink)}.pipeline-card span{display:block;font-size:10px;color:var(--text-muted);margin-top:3px}.client360-toolbar{display:flex;gap:8px;align-items:end;margin-bottom:10px}.client360-toolbar>div{flex:1}.client360-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-bottom:10px}.client360-chip{padding:10px;border:1px solid var(--paper-dim);border-radius:10px;background:var(--paper-soft)}.client360-chip span{display:block;font-size:9px;text-transform:uppercase;letter-spacing:.06em;color:var(--text-muted);font-family:"IBM Plex Mono",monospace}.client360-chip strong{display:block;font-size:15px;margin-top:3px}.finance-editor{display:grid;grid-template-columns:1fr .7fr;gap:8px;margin:12px 0;padding:12px;border:1px dashed var(--paper-dim);border-radius:11px;background:var(--paper-soft)}.finance-editor .full{grid-column:1/-1}.finance-editor-actions{display:flex;gap:7px;grid-column:1/-1}.doc-money{font:700 10px "IBM Plex Mono",monospace;color:#167a48;margin-top:3px}.aging-list{display:grid;gap:7px}.aging-row{display:flex;justify-content:space-between;gap:10px;align-items:center;padding:10px 11px;border:1px solid var(--paper-dim);border-radius:10px;background:var(--paper-soft)}.aging-row strong{font-size:11.5px}.aging-row span{font-size:10px;color:var(--text-muted)}
@media(max-width:900px){.pipeline-board{grid-template-columns:1fr 1fr}.revenue-grid{grid-template-columns:1fr 1fr 1fr}}
@media(max-width:620px){.pipeline-board,.revenue-grid,.client360-summary{grid-template-columns:1fr}.client360-toolbar{align-items:stretch;flex-direction:column}.finance-editor{grid-template-columns:1fr}.finance-editor .full,.finance-editor-actions{grid-column:auto}}
@media(max-width:820px){.business-grid{grid-template-columns:1fr 1fr}.project-form{grid-template-columns:1fr 1fr}.project-form .project-wide{grid-column:1/-1}.invoice-automation{grid-template-columns:1fr}.invoice-automation-note{grid-column:auto}}
@media(max-width:520px){.business-grid{grid-template-columns:1fr 1fr}.project-form{grid-template-columns:1fr}.business-row{grid-template-columns:1fr}.business-row-actions{justify-content:flex-start}}


/* === Deaco final top pass: focus, completeness, shortcuts, premium states === */
.workspace-health{display:flex;align-items:center;gap:8px;min-width:150px}.workspace-health-track{width:70px;height:6px;border-radius:999px;background:#ececf2;overflow:hidden}.workspace-health-fill{height:100%;width:0;background:linear-gradient(90deg,#625df5,#8f8aff);border-radius:inherit;transition:width .22s ease}.workspace-health-text{font:700 10px "IBM Plex Mono",monospace;color:#6f6f7b;white-space:nowrap}.focus-toggle.is-active{background:#18181e;color:#fff;border-color:#18181e}.app-card.focus-mode{grid-template-columns:1fr}.app-card.focus-mode .app-sidebar{display:none}.app-card.focus-mode .app-body{max-width:980px}.app-card.focus-mode .app-controls::before{content:"Focus workspace"}.workspace-shortcut{font:700 9px "IBM Plex Mono",monospace;color:#8a8a95;border:1px solid #e3e3e9;background:#fff;border-radius:7px;padding:5px 7px;white-space:nowrap}.panel-focus-card{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 22px;padding:13px 14px;border:1px solid #e8e8ee;border-radius:12px;background:linear-gradient(135deg,#fbfbff,#f7f7fb)}.panel-focus-copy strong{display:block;font-size:12px;color:#2b2b33;margin-bottom:3px}.panel-focus-copy span{display:block;font-size:11px;line-height:1.45;color:#858590}.panel-focus-badge{flex:0 0 auto;border-radius:999px;padding:6px 9px;background:#fff;border:1px solid #e3e3e9;font:700 9px "IBM Plex Mono",monospace;color:#666673}.result-shell{position:relative}.result-shell::before{content:"Document preview";position:absolute;z-index:2;top:11px;left:15px;font:700 8px "IBM Plex Mono",monospace;letter-spacing:.08em;text-transform:uppercase;color:#aaaab3;pointer-events:none}.doc-preview,.result-box{padding-top:42px!important}.generate-btn{position:relative;overflow:hidden}.generate-btn.generating::after{content:"";position:absolute;inset:0;background:linear-gradient(100deg,transparent 20%,rgba(255,255,255,.16) 50%,transparent 80%);transform:translateX(-100%);animation:deacoGeneratingSweep 1.1s infinite}@keyframes deacoGeneratingSweep{to{transform:translateX(100%)}}.premium-empty{border:1px dashed #d9d9e3;border-radius:14px;padding:24px;text-align:center;background:#fbfbfd;color:#858590;font-size:12px}.premium-empty strong{display:block;color:#3a3a44;font-size:13px;margin-bottom:5px}.dash-tabs{position:sticky;top:0;z-index:5;background:#fff;padding-top:6px}.dash-modal{scrollbar-gutter:stable}.keyboard-help{margin-left:auto;color:#8a8a95;font:600 10px Inter,sans-serif}.keyboard-help kbd{font:700 9px "IBM Plex Mono",monospace;border:1px solid #dddde6;background:#f8f8fa;border-radius:5px;padding:3px 5px;color:#5f5f6a}@media(max-width:980px){.workspace-health,.workspace-shortcut,.keyboard-help{display:none}.app-card.focus-mode .app-sidebar{display:block}}

/* ---------- Production UX / accessibility ---------- */
.skip-link{position:fixed;left:16px;top:10px;z-index:1000;transform:translateY(-160%);background:var(--ink);color:var(--cream);padding:9px 13px;border-radius:8px;font:700 11px "IBM Plex Mono",monospace;text-decoration:none;box-shadow:0 8px 24px rgba(0,0,0,.2)}
.skip-link:focus{transform:translateY(0);outline:2px solid var(--rust);outline-offset:2px}
.connection-banner{background:#fff7e8;color:#49371d;border-bottom:1px solid #efd9ad;padding:9px 20px;font-size:12.5px;display:flex;align-items:center;justify-content:center;gap:9px;flex-wrap:wrap}
.connection-banner[hidden]{display:none!important}.connection-banner.is-error{background:#fff0ed;color:#6d2920;border-bottom-color:#efc1ba}.connection-banner.is-online{background:#eef8f1;color:#285c39;border-bottom-color:#cce5d4}
.connection-dot{width:7px;height:7px;border-radius:50%;background:currentColor;box-shadow:0 0 0 3px color-mix(in srgb,currentColor 14%,transparent)}
.connection-banner button{border:1px solid currentColor;background:transparent;color:inherit;border-radius:7px;padding:4px 9px;font:700 10px "IBM Plex Mono",monospace;cursor:pointer}
:focus-visible{outline:2px solid var(--rust);outline-offset:3px}
@media(max-width:640px){.connection-banner{justify-content:flex-start;padding:9px 14px}.skip-link{left:10px}}
.mobile-menu .mobile-link{display:block;width:100%;padding:15px 4px;font-size:16px;font-weight:500;color:#17171c;border:0;border-bottom:1px solid #ededf0;background:transparent;text-align:left;font-family:Inter,ui-sans-serif,sans-serif;cursor:pointer}
.mobile-menu .mobile-link:active{color:var(--rust-light)}
.inline-link{border:0;background:none;padding:0;color:inherit;text-decoration:underline;font:inherit;cursor:pointer}.inline-link:hover{text-decoration-thickness:2px}
.deaco-toast.is-error{border-color:#efc1ba;background:#fff7f5;color:#6d2920}.deaco-toast.is-error .deaco-toast-mark{background:#b94a3a;color:#fff}


/* === Final pre-deploy visual polish === */
:root{
  --ui-radius-lg:18px;
  --ui-shadow-lg:0 28px 90px rgba(18,18,28,.18),0 8px 28px rgba(18,18,28,.08);
}
body{
  background:
    radial-gradient(900px 520px at 50% -180px,rgba(99,91,255,.055),transparent 72%),
    #fff;
}
nav{box-shadow:0 1px 0 rgba(255,255,255,.62)}
.nav-links a{position:relative}
.nav-links a::after{content:"";position:absolute;left:0;right:100%;bottom:-8px;height:1.5px;background:var(--ds-accent);transition:right .18s ease}
.nav-links a:hover::after{right:0}

.dash-modal{
  max-width:840px!important;
  border-radius:var(--ui-radius-lg)!important;
  box-shadow:var(--ui-shadow-lg)!important;
}
.dash-head{min-height:116px}
.dash-tabs{
  overflow-x:auto;
  overscroll-behavior-x:contain;
  scrollbar-width:none;
  -webkit-overflow-scrolling:touch;
  background:rgba(255,255,255,.92)!important;
  backdrop-filter:blur(16px);
  -webkit-backdrop-filter:blur(16px);
  border-radius:10px;
  border:1px solid rgba(130,130,145,.09);
}
.dash-tabs::-webkit-scrollbar{display:none}
.dash-tabs .auth-tab{flex:0 0 auto;min-width:max-content}
.dash-panel{min-width:0}
.dash-stat,.account-metric,.executive-kpi,.settings-section{
  transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease;
}
.dash-stat:hover,.account-metric:hover,.executive-kpi:hover{
  border-color:color-mix(in srgb,var(--rust) 24%,var(--paper-dim));
  box-shadow:0 8px 22px rgba(20,20,32,.055);
}
.settings-section{border-radius:14px}
.dash-empty{line-height:1.55}
.dash-row-title,.webhook-card strong{overflow-wrap:anywhere}

.mobile-menu{
  width:min(86vw,344px);
  padding-bottom:max(28px,env(safe-area-inset-bottom));
}
.mobile-menu a,.mobile-menu .mobile-link{min-height:50px;display:flex;align-items:center}
.mobile-menu .mobile-cta{justify-content:center;min-height:48px}
.mobile-theme-row{min-height:62px}
.mobile-menu .mobile-account-email{line-height:1.45}

.price-value-anchor span{max-width:44ch}
.connection-banner{line-height:1.45}

@media(max-width:720px){
  .dash-modal-backdrop{padding:0;align-items:stretch}
  .dash-modal{
    max-width:none!important;
    max-height:100dvh!important;
    min-height:100dvh;
    border-radius:0!important;
    border:0!important;
    width:100%;
  }
  .dash-head{min-height:auto}
  .dash-tabs{
    margin-left:18px!important;
    margin-right:18px!important;
    border-radius:10px;
    padding-right:18px;
  }
  .dash-panel{padding-bottom:max(28px,env(safe-area-inset-bottom))}
  .dash-summary{gap:1px}
  .dash-stat{min-height:94px}
  .auth-tab{min-height:42px}
}
@media(max-width:430px){
  .wrap{padding-left:18px;padding-right:18px}
  .nav-inner{padding-left:18px;padding-right:18px}
  .mobile-menu{width:min(88vw,344px);padding-left:24px;padding-right:24px}
  .dash-head h2{font-size:26px;line-height:1.08}
  .dash-summary{grid-template-columns:1fr 1fr}
  .dash-panel h3{letter-spacing:-.035em}
  .generate-btn,.ghost-btn,.primary-btn{min-height:42px}
}
@media(prefers-reduced-motion:reduce){
  .nav-links a::after,.dash-stat,.account-metric,.executive-kpi{transition:none!important}
}


/* === Final dashboard + mobile-menu QA fixes === */
body.dashboard-open{overflow:hidden;}
.dash-modal{overflow-x:hidden!important;overflow-y:auto!important;overscroll-behavior:contain;}
.dash-tabs{scroll-snap-type:x proximity;}
.dash-tabs .auth-tab{scroll-snap-align:center;}
.mobile-menu{overscroll-behavior:contain;}
@media(max-width:720px){
  .dash-modal{-webkit-overflow-scrolling:touch;}
  .dash-head{padding-top:max(20px,env(safe-area-inset-top))!important;}
  .dash-tabs{top:0;}
  .auth-modal-close{min-width:44px;min-height:44px;}
}
/* Mobile drawer readability: the drawer surface is light before the global night invert. */
.mobile-theme-row{color:var(--ink);border-top-color:var(--paper-dim);}


/* === 2026 visual system pass: typography, contrast, color, readability === */
:root{
  --ds-accent:#5b5bd6;
  --ds-accent-2:#7775e7;
  --ds-text:#111118;
  --ds-muted:#62626d;
  --ds-line:#e4e4ea;
  --ds-soft:#f7f7fa;
  --text-muted:#666671;
  --text-muted-2:#74747f;
  --focus-ring:rgba(91,91,214,.18);
}
html{font-size:16px;text-rendering:optimizeLegibility;}
body{font-family:Inter,"IBM Plex Sans",ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:15.5px;line-height:1.58;letter-spacing:-.008em;color:var(--ds-text);}
button,input,textarea,select{font:inherit;}
p{font-kerning:normal;}

/* Display type: editorial SaaS, not terminal-like. Mono is reserved for metadata. */
h1,.section-title,.auth-title,.app-tool-title,.account-welcome h3,.client-review-modal .auth-title,.buyer-demo-card h3{
  font-family:Inter,"IBM Plex Sans",ui-sans-serif,sans-serif;
  text-wrap:balance;
}
h1{font-size:clamp(48px,7vw,82px);font-weight:800;line-height:.99;letter-spacing:-.066em;max-width:1000px;}
.section-title{font-size:clamp(31px,4vw,47px);font-weight:750;line-height:1.08;letter-spacing:-.047em;}
.section-sub{max-width:640px;color:#62626d;font-size:16.5px;line-height:1.7;text-wrap:pretty;}
.hero-sub{max-width:700px;color:#5f5f69;font-size:18.5px;line-height:1.62;text-wrap:pretty;}
.eyebrow{font-weight:650;color:#4f4fc4;border-color:rgba(91,91,214,.22);background:rgba(255,255,255,.9);}

/* Calm, high-contrast surfaces. */
.hero{background:radial-gradient(760px 420px at 50% 0%,rgba(91,91,214,.13),transparent 70%),radial-gradient(520px 300px at 8% 30%,rgba(120,117,231,.045),transparent 72%),linear-gradient(#fff 0%,#fafafe 100%);}
nav{background:rgba(255,255,255,.88);border-bottom-color:rgba(20,20,30,.075);}
.nav-links{color:#666670;font-weight:500;}
.nav-links a:hover{color:#111118;}
.brand{color:#111118;font-weight:760;}
.tool-card p,.pain-item p,.step p,.price-desc,.faq-a p{color:#666671;}
.tool-card h3,.pain-item h3,.template-card h4{color:#18181f;}
.tool-card{border-color:#e2e2e8;box-shadow:0 1px 2px rgba(20,20,30,.025);}
.tool-card:hover{border-color:#cfcfd9;box-shadow:0 18px 48px rgba(20,20,35,.085);}

/* Controls should look intentional and remain readable. */
input[type=text],input[type=email],input[type=password],textarea,select{font-family:Inter,"IBM Plex Sans",sans-serif;font-size:14.5px;color:#17171d;border-color:#d8d8e0;}
input[type=text]::placeholder,input[type=email]::placeholder,input[type=password]::placeholder,textarea::placeholder{color:#92929c;opacity:1;}
input[type=text]:focus,input[type=email]:focus,input[type=password]:focus,textarea:focus,select:focus{border-color:#7775df;box-shadow:0 0 0 4px var(--focus-ring);}
label{color:#51515b;font-weight:700;letter-spacing:.065em;}
.generate-btn,.btn-primary,.nav-cta{background:#17171d;color:#fff;letter-spacing:0;}
.generate-btn:hover,.btn-primary:hover,.nav-cta:hover{background:#292931;}
.btn-secondary,.ghost-btn{color:#3f3f48;border-color:#d8d8e0;background:#fff;}
.ghost-btn:hover,.btn-secondary:hover{background:#f5f5f8;color:#18181f;border-color:#c9c9d3;}

/* Fix legacy light-theme contrast leaks. */
.account-dropdown{background:#fff;border-color:#dfdfe6;box-shadow:0 18px 50px rgba(20,20,30,.14);}
.account-dropdown button{font-family:Inter,"IBM Plex Sans",sans-serif;color:#292930;}
.account-dropdown button:hover{background:#f4f4f7;}
.account-dropdown button.danger:hover{color:#a23f42;background:#fff3f3;}
.price-card:not(.featured) .price-btn{color:#2f2f38;border-color:#d7d7df;background:#fff;}
.price-card:not(.featured) .price-btn:hover{background:#f5f5f8;border-color:#c6c6d0;}
.price-card.featured .price-btn{background:#5b5bd6;color:#fff;}
.price-card.featured .price-btn:hover{background:#4b4bc3;}
.recent-doc-title{color:#2a2a32;}
.recent-doc-tag{background:#ecebff;color:#4f4fc4;}
.recent-docs-head h4{color:#4f4fc4;}
.mobile-theme-row{color:#303038;}

/* Reading rhythm inside the product. */
.app-tool-desc{color:#666671;line-height:1.7;max-width:680px;}
.result-box{font-family:"IBM Plex Sans",Inter,sans-serif;font-size:14.5px;line-height:1.72;color:#24242b;background:#fbfbfd;border-color:#dcdce4;}
.doc-preview-body p,.doc-preview-body li{line-height:1.78;}
.auth-subtitle,.auth-hint,.dash-row-meta,.recent-doc-time{color:#6c6c77;}
.auth-title{font-size:18px;font-weight:750;letter-spacing:-.025em;}
.auth-tab{font-family:Inter,"IBM Plex Sans",sans-serif;font-weight:650;letter-spacing:-.005em;}

/* Slightly more generous rhythm on wide screens; tighter but readable on mobile. */
@media(min-width:900px){section{padding-top:116px;padding-bottom:116px}.tools-grid{gap:16px}.tool-card{padding:26px}.app-body{padding:40px 44px 48px}}
@media(max-width:640px){
  body{font-size:15px;line-height:1.58;}
  section{padding:82px 0;}
  h1{font-size:clamp(42px,13vw,58px);line-height:1.01;letter-spacing:-.058em;}
  .hero{padding-top:104px;padding-bottom:82px;}
  .hero-sub{font-size:17px;line-height:1.62;}
  .section-title{font-size:clamp(29px,9.5vw,38px);letter-spacing:-.043em;}
  .section-sub{font-size:15.5px;line-height:1.68;}
  .btn-primary,.btn-secondary{min-height:48px;padding:14px 20px;}
}

/* === FINAL VISUAL / TYPOGRAPHY POLISH v3 === */
:root{
  --ui-accent:#635bff;
  --ui-accent-hover:#5148ed;
  --ui-text:#15151b;
  --ui-text-2:#4f4f59;
  --ui-muted:#6f6f7a;
  --ui-line:#e3e3e9;
  --ui-soft:#f7f7fa;
  --ui-focus:rgba(99,91,255,.16);
  --ui-shadow:0 18px 55px rgba(20,20,35,.08);
}
body{font-size:15.5px;line-height:1.58;color:var(--ui-text);text-rendering:optimizeLegibility;}
p{letter-spacing:-.006em;}
button,input,textarea,select{font:inherit;}
::selection{background:rgba(99,91,255,.18);color:#111116;}

/* Type hierarchy */
h1,.section-title,.auth-title,.app-tool-title,.tool-card h3,.step h3,.price-amount,.client-center-hero h3,.client-center-toolbar h3{font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;}
h1{font-size:clamp(46px,6.7vw,80px);line-height:1.01;letter-spacing:-.066em;font-weight:800;max-width:1020px;}
.section-title{font-size:clamp(32px,4vw,48px);line-height:1.08;letter-spacing:-.048em;font-weight:750;}
.section-sub{max-width:650px;font-size:16.5px;line-height:1.68;color:#666672;}
.hero-sub{max-width:720px;font-size:18.5px;line-height:1.65;color:#5f5f6a;}
.app-tool-desc,.tool-card p,.step p,.price-desc{color:#666671;line-height:1.65;}
.mono,.usage-counter,.draft-status,.price-tier,.dash-row-meta,.doc-preview-date{font-family:"IBM Plex Mono",ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:0;}

/* Navigation + surfaces */
nav{background:rgba(255,255,255,.86);border-bottom-color:rgba(20,20,30,.075);}
.nav-links{color:#62626d;font-weight:500;}
.nav-links a{transition:color .16s ease;}
.nav-account-btn{background:#fff;border-color:#d9d9e1;color:#34343c;}
.account-dropdown{background:#fff;border-color:#dedee6;box-shadow:0 18px 48px rgba(20,20,35,.14);}
.account-dropdown-email{color:#6a6a75;border-bottom-color:#ececf1;}
.account-dropdown button{color:#292930;font-family:Inter,ui-sans-serif,sans-serif;}
.account-dropdown button:hover{background:#f4f4f8;color:#111116;}
.account-dropdown button.danger:hover{background:#fff1f1;color:#b42318;}

/* Buttons: strong hierarchy + no disappearing text */
.btn-primary,.generate-btn,.nav-cta{background:#15151b;color:#fff;letter-spacing:-.005em;}
.btn-primary:hover,.generate-btn:hover,.nav-cta:hover{background:#2b2b32;color:#fff;}
.btn-secondary,.ghost-btn{background:#fff;color:#3f3f48;border-color:#d9d9e1;}
.btn-secondary:hover,.ghost-btn:hover{background:#f4f4f7;color:#17171d;border-color:#c8c8d2;}
.price-card:not(.featured) .price-btn{background:#fff;border:1px solid #d6d6de;color:#292930;}
.price-card:not(.featured) .price-btn:hover{background:#f4f4f8;border-color:#bdbdc8;}
.price-card.featured .price-btn{background:var(--ui-accent);color:#fff;}
.price-card.featured .price-btn:hover{background:var(--ui-accent-hover);}

/* Cards and readable density */
.tool-card,.step,.price-card,.ai-strip-item{border-color:var(--ui-line);}
.tool-card{padding:26px;min-height:188px;}
.tool-card h3{font-size:17.5px;font-weight:700;}
.tool-card p{font-size:14px;}
.tool-card:hover{box-shadow:var(--ui-shadow);}
.app-card{border-color:#dcdce4;box-shadow:0 30px 90px rgba(20,20,35,.09),0 2px 6px rgba(20,20,35,.03);}
.app-body{padding:36px 36px 40px;}
.app-tool-title{font-size:22px;font-weight:750;}
label{font-size:11px;color:#50505a;font-weight:700;letter-spacing:.065em;}
input[type=text],input[type=email],input[type=password],textarea,select{font-family:Inter,ui-sans-serif,sans-serif;font-size:14.5px;line-height:1.45;border-color:#d8d8e0;color:#202027;background:#fff;}
input::placeholder,textarea::placeholder{color:#92929c;opacity:1;}
input[type=text]:focus,input[type=email]:focus,input[type=password]:focus,textarea:focus,select:focus{border-color:#8e88f2;box-shadow:0 0 0 4px var(--ui-focus);}
.result-box{font-family:Inter,ui-sans-serif,sans-serif;font-size:14.5px;line-height:1.72;color:#25252c;background:#fbfbfd;}

/* Pricing / informational text */
.price-tier{font-family:Inter,ui-sans-serif,sans-serif;font-weight:750;font-size:11px;letter-spacing:.09em;}
.price-amount{font-size:44px;letter-spacing:-.045em;}
.price-list{color:#565660;}
.price-list li{color:#565660;line-height:1.5;}
.ai-badge{color:#666671;background:#fafafd;}

/* Modal and dashboard readability */
.auth-modal,.dash-modal{border:1px solid #dedee6;background:#fff;color:#17171d;}
.auth-title{font-size:18px;letter-spacing:-.025em;}
.auth-subtitle,.auth-hint{color:#6d6d77;line-height:1.55;}
.auth-tab{font-family:Inter,ui-sans-serif,sans-serif;color:#62626d;}
.auth-tab.active{background:#fff;color:#17171d;}
.dash-row-title{color:#202027;font-weight:600;}
.dash-row-meta{color:#74747f;}

/* Keyboard focus: visible without visual noise */
a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,[tabindex]:focus-visible{outline:3px solid rgba(99,91,255,.28);outline-offset:2px;}

/* Comfortable reading measure */
.pain-item p,.tool-card p,.step p,.faq-answer,.price-desc{max-width:64ch;}

@media(max-width:760px){
  body{font-size:15px;line-height:1.6;}
  .wrap{padding-left:20px;padding-right:20px;}
  section{padding:82px 0;}
  .hero{padding-top:104px;padding-bottom:78px;}
  h1{font-size:clamp(40px,12vw,58px);line-height:1.02;letter-spacing:-.055em;}
  .hero-sub{font-size:17px;line-height:1.62;}
  .section-title{font-size:clamp(30px,9vw,40px);}
  .section-sub{font-size:15.5px;}
  .app-body{padding:26px 20px 30px;}
  .tool-card{padding:22px;min-height:0;}
  .btn-primary,.btn-secondary{min-height:48px;display:inline-flex;align-items:center;justify-content:center;}
}

/* Pricing marker hard fix */
.price-list li::before {
    content: none !important;
    display: none !important;
}

.price-list li {
    padding-left: 0 !important;
}
