@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;450;500;550;600;650;700&family=Manrope:wght@400;500;600;650;700;750;800&display=swap');
:root{--blue:#1458e8;--cyan:#15b6ba;--ink:#14223d;--muted:#69758b;--line:#e4eaf2;--pale:#f5f8fc}*{box-sizing:border-box}body{margin:0;color:var(--ink);background:#fff;font:15px 'DM Sans',sans-serif}h1,h2,h3,.brand{font-family:Manrope,sans-serif}a{color:inherit;text-decoration:none}button,input,textarea,select{font:inherit}button,.button{cursor:pointer;border:0;border-radius:9px;background:var(--blue);color:white;padding:13px 20px;font-weight:650;display:inline-flex;align-items:center;justify-content:center;gap:10px}button:hover,.button:hover{filter:brightness(.94)}button:disabled{opacity:.55;cursor:not-allowed}.secondary{background:white;color:var(--ink);border:1px solid var(--line)}.small{padding:9px 14px;font-size:13px}.wrap{max-width:1180px;margin:auto;padding:0 28px}.brand{font-size:24px;font-weight:800;letter-spacing:-1px;display:flex;align-items:center;gap:9px}.brand b{color:var(--blue)}.mark{display:inline-flex;background:var(--blue);width:32px;height:32px;border-radius:9px;align-items:center;justify-content:center;color:white;letter-spacing:-4px;padding-right:4px}.nav{height:88px;display:flex;align-items:center;justify-content:space-between;gap:25px}.navlinks{display:flex;gap:28px;align-items:center;font-size:14px}.navlinks a:hover,.active{color:var(--blue)}.navright{display:flex;align-items:center;gap:23px}.eyebrow{display:inline-flex;gap:8px;align-items:center;font-size:11px;letter-spacing:1.6px;text-transform:uppercase;font-weight:750;color:var(--blue)}.dot{width:7px;height:7px;background:var(--cyan);border-radius:50%}.hero{position:relative;overflow:hidden;background:radial-gradient(ellipse at 80% 40%,#def9f6 0,transparent 48%),linear-gradient(130deg,#f8faff,#edf4ff);padding:80px 0 85px;border-top:1px solid #eff3fa}.hero-grid{display:grid;grid-template-columns:1fr 1.1fr;align-items:center;gap:50px}.pill{border:1px solid #d1e2f7;background:#ffffffb0;padding:8px 12px;border-radius:30px;letter-spacing:.6px}h1{font-size:58px;line-height:1.12;letter-spacing:-2.6px;margin:22px 0;font-weight:800}h1 em{font-style:normal;color:var(--blue)}p{line-height:1.75;color:var(--muted)}.lead{font-size:17px;max-width:490px}.actions{display:flex;gap:12px;flex-wrap:wrap;margin:28px 0 16px}.micro{font-size:12px;color:var(--muted)}.preview{background:white;border:1px solid #dce7f4;border-radius:15px;box-shadow:0 24px 70px #294d8220;transform:rotate(-2deg);overflow:hidden}.preview-head{padding:15px 18px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line)}.badge{padding:5px 8px;font-size:10px;letter-spacing:.5px;border-radius:5px;color:#148680;background:#e2f7f3;display:inline-block}.preview-body{display:grid;grid-template-columns:105px 1fr;min-height:360px}.mini-side{background:#f7f9fc;border-right:1px solid var(--line);padding:18px 10px;font-size:9px;color:#73809a}.mini-side div{padding:9px 5px}.mini-side .selected{background:#e8efff;color:var(--blue);border-radius:5px}.mini-main{padding:20px}.mini-main h3{font-size:17px;margin:0 0 5px}.mini-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:18px 0}.mini-stats div{border:1px solid var(--line);padding:10px;border-radius:7px;font-size:9px;color:var(--muted)}.mini-stats strong{display:block;font-size:21px;color:var(--ink);margin-top:7px}.mini-chart{border:1px solid var(--line);border-radius:8px;padding:14px;font-size:10px}.mini-chart svg{width:100%;height:105px}.preview-note{font-size:9px;color:var(--muted)}.agent-bubble{background:#f1f7ff;border:1px solid #dce7fa;padding:12px;border-radius:8px;font-size:11px;margin-top:12px;display:flex;gap:10px}.agent-bubble strong{display:block}.strip{padding:26px 0;border-bottom:1px solid var(--line)}.strip .wrap{display:flex;justify-content:space-between;gap:20px;align-items:center;color:#697992;font-size:12px}.strip span{display:flex;align-items:center;gap:10px}.section{padding:78px 0}.section.alt{background:var(--pale)}h2{font-size:36px;line-height:1.25;letter-spacing:-1.2px;margin:13px 0 16px}.section-heading{display:flex;justify-content:space-between;align-items:end;margin-bottom:34px;gap:30px}.section-heading p{max-width:430px;margin:0}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.card{border:1px solid var(--line);border-radius:12px;padding:26px;background:white}.card h3{font-size:18px;letter-spacing:-.4px}.card p{font-size:14px}.icon{width:42px;height:42px;background:#eaf1ff;color:var(--blue);display:flex;align-items:center;justify-content:center;border-radius:10px;font-size:21px}.card a{font-size:13px;font-weight:650;color:var(--blue)}.workflow{display:grid;grid-template-columns:repeat(3,1fr);gap:40px;margin-top:36px}.workflow strong{font-size:12px;color:var(--cyan)}.cta{border-radius:16px;padding:45px;background:#102e69;color:white;display:flex;align-items:center;justify-content:space-between;gap:25px}.cta p{color:#b9ccec}.cta h2{margin:0}.footer{padding:45px 0 24px;border-top:1px solid var(--line)}.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:30px}.footer a{display:block;margin:12px 0;font-size:13px;color:var(--muted)}.footer .brand{color:var(--ink)}.footline{margin-top:35px;padding-top:18px;border-top:1px solid var(--line);font-size:12px;display:flex;justify-content:space-between;color:var(--muted)}.pagehead{padding:65px 0 40px;text-align:center;background:linear-gradient(135deg,#f5f8ff,#effcf9)}.pagehead h1{font-size:44px;letter-spacing:-1.7px}.pagehead p{max-width:630px;margin:0 auto}.pricing{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.price{position:relative}.price.featured{border:2px solid var(--blue)}.price strong{font:800 42px Manrope;display:block;margin:20px 0}.price strong small{font:400 13px 'DM Sans';color:var(--muted)}.price ul{padding:0;list-style:none;min-height:145px;color:var(--muted);font-size:13px}.price li{margin:15px 0}.price li:before{content:'✓';color:var(--cyan);margin-right:8px}.price .button{width:100%}.auth{max-width:450px;margin:60px auto;padding:32px;border:1px solid var(--line);border-radius:16px}.auth h1{font-size:30px;letter-spacing:-1px}.notice{background:#eef6ff;border:1px solid #d4e6fc;border-radius:9px;padding:14px 18px;color:#345888;font-size:13px;line-height:1.65;margin:18px 0}label{display:block;font-size:13px;font-weight:650;margin:17px 0 7px}input,select,textarea{border:1px solid #d6dfec;background:white;border-radius:8px;padding:12px;width:100%;color:var(--ink)}textarea{min-height:160px;resize:vertical}input:focus,textarea:focus,select:focus{outline:2px solid #72b3ff;outline-offset:2px}.formrow{display:grid;grid-template-columns:1fr 1fr;gap:15px}.dash{display:grid;grid-template-columns:238px 1fr;min-height:100vh;background:#f5f7fb}.sidebar{background:white;border-right:1px solid var(--line);padding:26px 18px;display:flex;flex-direction:column}.sidebar .brand{padding:0 12px;margin-bottom:30px}.sidebar a.item{display:flex;align-items:center;gap:13px;font-size:13px;padding:11px 14px;border-radius:7px;color:#66758b;margin:2px 0}.sidebar a.item.active{background:#eaf1ff;color:var(--blue);font-weight:650}.sidebar a.item span{width:18px;text-align:center;font-size:17px}.side-label{font-size:10px;font-weight:700;letter-spacing:1.3px;color:#94a0b4;padding:20px 14px 10px}.side-bottom{margin-top:auto;padding-top:25px}.dashboard-main{min-width:0}.topbar{height:78px;background:white;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;padding:0 34px}.avatar{overflow:hidden;width:32px;height:32px;background:#e4f6f6;color:#187f84;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;font-weight:650;font-size:12px}.dash-content{max-width:1250px;padding:32px;margin:auto}.dash-title{display:flex;justify-content:space-between;gap:20px;align-items:center}.dash-title h1{font-size:29px;letter-spacing:-1px;margin:0}.dash-title p{font-size:13px;margin:8px 0}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:17px;margin:26px 0}.stat{background:white;border:1px solid var(--line);border-radius:10px;padding:22px}.stat span{font-size:12px;color:var(--muted)}.stat strong{display:block;font-size:31px;margin:15px 0 8px}.stat small{font-size:11px;color:var(--muted)}.dash-grid{display:grid;grid-template-columns:1.4fr 1fr;gap:20px}.empty{text-align:center;padding:45px 20px}.empty .icon{margin:auto}.empty h3{font-size:18px}.empty p{font-size:13px;max-width:380px;margin:12px auto 22px}.checklist{list-style:none;padding:0}.checklist li{padding:15px 0;border-bottom:1px solid var(--line);display:flex;gap:15px;align-items:center;font-size:13px}.checklist li:last-child{border:0}.checklist i{font-style:normal;color:var(--blue);background:#edf3ff;border-radius:50%;padding:8px 12px}.checklist small{display:block;color:var(--muted);margin-top:5px}.toolbar{display:flex;gap:10px;align-items:center;margin:25px 0}.toolbar input{max-width:320px}.tablewrap{overflow:auto}table{width:100%;border-collapse:collapse;font-size:13px}th{text-align:left;color:var(--muted);font-size:11px;padding:15px;border-bottom:1px solid var(--line)}td{padding:18px 15px;border-bottom:1px solid var(--line)}dialog{border:1px solid var(--line);border-radius:16px;padding:30px;width:min(460px,90vw);color:var(--ink)}dialog::backdrop{background:#14223d70}dialog h2{font-size:25px}#toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);max-width:90vw;background:#14223d;color:white;border-radius:10px;padding:15px 22px;box-shadow:0 8px 30px #0002;display:none;z-index:100}.tool-output{white-space:pre-wrap;line-height:1.7;background:var(--pale);padding:20px;border-radius:9px;margin-top:20px}.article{max-width:780px;margin:auto}.article h2{font-size:26px}.article p{font-size:16px}.menu{display:none}.wide{width:100%}:focus-visible{outline:3px solid #15b6ba;outline-offset:3px}@media(max-width:1050px){.navlinks{gap:16px}.hero-grid{gap:25px}h1{font-size:46px}.pricing{grid-template-columns:repeat(2,1fr)}.dash{grid-template-columns:195px 1fr}.stats{grid-template-columns:repeat(2,1fr)}.dash-grid{grid-template-columns:1fr}}@media(max-width:760px){.wrap{padding:0 20px}.nav{height:72px;flex-wrap:wrap}.menu{display:block;padding:8px 12px}.navlinks{display:none;width:100%;background:white;padding:20px;position:absolute;top:72px;left:0;z-index:5;box-shadow:0 10px 20px #0001;flex-wrap:wrap}.navlinks.open{display:flex}.navright>a:first-child{display:none}.navright{gap:10px}.hero{padding:48px 0}.hero-grid{grid-template-columns:1fr;gap:40px}h1{font-size:44px}.preview{transform:none}.strip .wrap{flex-wrap:wrap}.cards,.workflow{grid-template-columns:1fr}.section{padding:48px 0}.section-heading{display:block}h2{font-size:29px}.footer-grid{grid-template-columns:1fr 1fr}.cta{display:block;padding:30px}.cta .button{margin-top:15px}.pricing{grid-template-columns:1fr}.dash{grid-template-columns:1fr}.sidebar{padding:12px;border-bottom:1px solid var(--line)}.sidebar .brand{margin:0 0 12px}.sidebar nav{display:flex;overflow:auto;gap:3px}.sidebar .item{white-space:nowrap}.side-label,.side-bottom{display:none}.topbar{height:60px;padding:0 20px}.dash-content{padding:24px 18px}.dash-title{align-items:start;flex-wrap:wrap}.stats{gap:10px}.stat{padding:15px}.formrow{grid-template-columns:1fr}.auth{margin:35px 20px}.pagehead h1{font-size:36px}.footline{gap:20px}.toolbar{flex-wrap:wrap}}

.brand-image{display:block;width:160px;height:auto;object-fit:contain}.sidebar .brand-image{width:155px}.auth .brand-image{width:175px}
.footline{flex-wrap:wrap;align-items:center}
.footline .legal-links{display:flex;gap:20px}
.footer .footline a{display:inline;margin:0;font-size:inherit}
.footer .footline a:hover{color:var(--ink)}
[hidden]{display:none!important}
.sidebar a.item span.badge{width:auto;font-size:9px;line-height:1;margin-left:auto;padding:3px 6px;letter-spacing:.4px}
/* sidebar v2: readable */
.sidebar a.item{font-size:14.5px;font-weight:500;color:#1e293b;padding:10px 12px;gap:12px;border-radius:8px;margin:2px 0;transition:background .15s,color .15s}
.sidebar a.item span:first-child{color:#475569;font-size:17px;width:20px}
.sidebar a.item:hover{background:#f1f5f9;color:#0f172a}
.sidebar a.item:hover span:first-child{color:#1d4ed8}
.sidebar a.item.active{background:#e8f0ff;color:#1d4ed8;font-weight:650;box-shadow:inset 3px 0 0 #1d4ed8}
.sidebar a.item.active span:first-child{color:#1d4ed8}
.sidebar a.item:has(.badge){color:#334155}
.sidebar a.item:focus-visible{outline:2px solid #1d4ed8;outline-offset:2px}
.side-label{font-size:11px;font-weight:700;letter-spacing:1.2px;color:#475569;padding:22px 12px 8px}
.sidebar a.item span.badge{background:#dff6f1;color:#0b5c56;font-size:10px;font-weight:700;padding:3px 7px;border-radius:5px}
.side-bottom .notice{font-size:12.5px;color:#334155}
/* sidebar v2.1 */
.sidebar a.item{line-height:1.25}
.sidebar a.item span.badge{flex-shrink:0;white-space:nowrap}
@media(max-width:1050px) and (min-width:761px){.dash{grid-template-columns:220px 1fr}.sidebar a.item{font-size:14px;padding:9px 10px;gap:10px}.sidebar{padding:22px 12px}}
/* dark theme */
[data-theme="dark"]{color-scheme:dark;--blue:#4b82f6;--cyan:#2cc7cb;--ink:#e6edf7;--muted:#a3b3c9;--line:#26344d;--pale:#111b2e}
[data-theme="dark"] body{background:#0a1120}
[data-theme="dark"] .card,[data-theme="dark"] .stat,[data-theme="dark"] .preview,[data-theme="dark"] .auth,[data-theme="dark"] dialog{background:#0f1a2e;border-color:var(--line);color:var(--ink)}
[data-theme="dark"] .secondary{background:#0f1a2e;color:var(--ink);border-color:#2c3c58}
[data-theme="dark"] input,[data-theme="dark"] select,[data-theme="dark"] textarea{background:#0b1426;border-color:#2c3c58;color:var(--ink)}
[data-theme="dark"] input::placeholder,[data-theme="dark"] textarea::placeholder{color:#6f819b}
[data-theme="dark"] .dash{background:#0a1120}
[data-theme="dark"] .sidebar,[data-theme="dark"] .topbar{background:#0d1626;border-color:var(--line)}
[data-theme="dark"] .sidebar a.item{color:#d7e1f0}
[data-theme="dark"] .sidebar a.item:has(.badge){color:#b9c7dc}
[data-theme="dark"] .sidebar a.item span:first-child{color:#9fb0c7}
[data-theme="dark"] .sidebar a.item:hover{background:#16233a;color:#fff}
[data-theme="dark"] .sidebar a.item:hover span:first-child{color:#8fb4ff}
[data-theme="dark"] .sidebar a.item.active{background:#16294d;color:#9dbdff;box-shadow:inset 3px 0 0 #8fb4ff}
[data-theme="dark"] .sidebar a.item.active span:first-child{color:#8fb4ff}
[data-theme="dark"] .side-label{color:#9fb0c7}
[data-theme="dark"] .side-bottom .notice{color:#b8cdee}
[data-theme="dark"] .notice{background:#0f2036;border-color:#1f3a5e;color:#b8cdee}
[data-theme="dark"] .badge,[data-theme="dark"] .sidebar a.item span.badge{background:#0f3330;color:#7be0d6}
[data-theme="dark"] .icon,[data-theme="dark"] .checklist i{background:#16294d;color:#8fb4ff}
[data-theme="dark"] .avatar{background:#123a3d;color:#7be0d6}
[data-theme="dark"] .hero{background:radial-gradient(ellipse at 80% 40%,#0f3a40 0,transparent 48%),linear-gradient(130deg,#0b1424,#0c1a33);border-color:var(--line)}
[data-theme="dark"] .pagehead{background:linear-gradient(135deg,#0c1527,#0b1f26)}
[data-theme="dark"] .pill{background:#0f1a2eb0;border-color:#26344d}
[data-theme="dark"] .mini-side{background:#0c1424;color:#9fb0c7}
[data-theme="dark"] .mini-side .selected{background:#16294d;color:#9dbdff}
[data-theme="dark"] .agent-bubble{background:#0f2036;border-color:#1f3a5e}
[data-theme="dark"] .strip .wrap{color:#a3b3c9}
[data-theme="dark"] .cta{background:#10285a}
[data-theme="dark"] #toast{background:#e6edf7;color:#0a1120}
[data-theme="dark"] dialog::backdrop{background:#000a}
[data-theme="dark"] .brand-image{background:#fff;border-radius:10px;padding:5px 10px;box-sizing:content-box}
[data-theme="dark"] .card a,[data-theme="dark"] .article a{color:#8fb4ff}
[data-theme="dark"] .preview svg path[stroke="#edf1f6"]{stroke:#26344d}
@media(max-width:760px){[data-theme="dark"] .navlinks{background:#0d1626}}
/* settings page */
.settings{max-width:820px}
.settings .card{margin-top:18px}
.settings h3{margin-top:0}
.kv{display:grid;grid-template-columns:150px 1fr;gap:10px 18px;font-size:14px;margin:14px 0}
.kv dt{color:var(--muted)}.kv dd{margin:0;word-break:break-all}
.profile-head{display:flex;align-items:center;gap:16px}
.profile-head .avatar{width:56px;height:56px;font-size:20px}
.choice{display:flex;gap:10px;flex-wrap:wrap;margin-top:12px}
.choice label{display:flex;align-items:center;gap:8px;margin:0;border:1px solid var(--line);border-radius:9px;padding:11px 16px;cursor:pointer;font-weight:600}
.choice input{width:auto;margin:0}
.choice label:has(input:checked){border-color:var(--blue);box-shadow:0 0 0 1px var(--blue)}
.danger{border-color:#f0b4b4!important}
[data-theme="dark"] .danger{border-color:#7a2d2d!important}
.danger h3{color:#b42318}
[data-theme="dark"] .danger h3{color:#ff9b93}
.btn-danger{background:#b42318}
.btn-danger:disabled{opacity:.45}
@media(max-width:760px){.kv{grid-template-columns:1fr}}
[data-theme="dark"] .preview-head img{background:#fff;border-radius:8px;padding:3px 6px;box-sizing:content-box}
/* reports + print */
.report{background:#fff;color:#14223d;border:1px solid var(--line);border-radius:12px;padding:32px;margin-top:8px}
.report p,.report .micro{color:#69758b}
.report-head{border-bottom:2px solid #14223d;padding-bottom:16px;margin-bottom:8px}
.report-sec{margin-top:26px;break-inside:avoid}
.report-sec h3{font-size:19px;margin:0 0 6px}
.report .stat{background:#fff}
.report .tablewrap{overflow:visible}
.report table th,.report table td{color:#14223d}
.report-foot{margin-top:30px;border-top:1px solid var(--line);padding-top:12px}
[data-theme="dark"] .report{background:#fff;color:#14223d}
@media print{
 .sidebar,.topbar,.no-print,.dash-title,#toast,.notice,.side-bottom{display:none!important}
 .dash{display:block!important;background:#fff!important}
 body,html[data-theme="dark"] body{background:#fff!important;color:#000!important}
 .dash-content{padding:0!important;max-width:none!important}
 .report{border:0!important;padding:0!important}
 .stats{grid-template-columns:repeat(4,1fr)!important}
 @page{margin:14mm}
}
.avatar img{width:100%;height:100%;object-fit:cover;display:block}
.section.tight{padding:0 0 56px}.cta .eyebrow{color:#7be0d6}
@media(max-width:760px){.section.tight{padding:0 0 32px}}
/* Darker secondary text in the light theme so inner pages read as clearly as the sidebar */
:root{--muted:#46546a}
:root:not([data-theme="dark"]) .dash-content p,:root:not([data-theme="dark"]) .dash-content li,:root:not([data-theme="dark"]) .dash-content td,:root:not([data-theme="dark"]) .dash-content label,:root:not([data-theme="dark"]) .dash-content summary{color:#2b3a52}
:root:not([data-theme="dark"]) .dash-content .micro,:root:not([data-theme="dark"]) .dash-content th,:root:not([data-theme="dark"]) .stat span,:root:not([data-theme="dark"]) .stat small{color:#46546a}
:root:not([data-theme="dark"]) .strip .wrap{color:#46546a}
.user-name{font-size:14px;font-weight:600;max-width:160px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-right:8px}.user-name:empty{display:none}
.inline-form{display:flex;gap:10px}.inline-form input{flex:1}.inline-form button{white-space:nowrap}#name-form{margin:0 0 18px}
@media(max-width:700px){.user-name{display:none}}
/* Buttons that are links inside cards keep their own text colour (the generic .card a rule made them blue on blue) */
.card a.button,.cta a.button{color:#fff;font-size:inherit}
.card a.button.secondary{color:var(--ink)}
[data-theme="dark"] .card a.button{color:#fff}
[data-theme="dark"] .card a.button.secondary{color:var(--ink)}

.cta a.button.secondary{color:var(--ink)}
/* ===== Home page v3 (scoped) ===== */
.hx{--p:#6a45e6;--p2:#8b6cf5;--deep:#1d0f4d;--ink:#17123a;--muted:#4f4a6e;--lav:#f3efff;--lav2:#e8e1ff;--line:#e3dcfb;--white:#fff}
.hx *{box-sizing:border-box}
.hx{scroll-behavior:smooth}
.hx{margin:0;font:16px/1.55 'DM Sans',ui-sans-serif,system-ui,-apple-system,'Segoe UI',sans-serif;color:var(--ink);background:#fff}
.hx a{color:inherit;text-decoration:none}
.hx .hx-wrap{width:min(1180px,calc(100% - 40px));margin:auto}
.hx h1,.hx h2,.hx h3{line-height:1.08;margin:0;letter-spacing:-.02em}
.hx .hx-grad{background:linear-gradient(90deg,#5b34e0,#9b7bff);-webkit-background-clip:text;background-clip:text;color:transparent}
.hx .hx-pill{display:inline-flex;align-items:center;gap:8px;border:1px solid var(--line);background:#fff;color:var(--p);border-radius:999px;padding:7px 14px;font-size:13px;font-weight:600}
.hx .hx-btn{display:inline-flex;align-items:center;gap:8px;border-radius:999px;padding:13px 22px;font-weight:650;font-size:15px;border:1.5px solid var(--p);transition:transform .15s}
.hx .hx-btn:hover{transform:translateY(-1px)}
.hx .hx-btn.hx-primary{background:var(--p);color:#fff;box-shadow:0 10px 24px -10px rgba(106,69,230,.7)}
.hx .hx-btn.hx-ghost{background:#fff;color:var(--p)}
.hx .hx-topbar{background:linear-gradient(90deg,#4a26c9,#7b57f0);color:#fff;text-align:center;font-size:14px;padding:9px 16px;border-radius:0 0 22px 22px;margin:0 20px}
.hx .hx-topbar a{text-decoration:underline;font-weight:600}
.hx .hx-nav{margin:18px auto 0;display:flex;align-items:center;justify-content:space-between;background:#fff;border:1px solid var(--line);border-radius:999px;padding:10px 12px 10px 20px;box-shadow:0 8px 30px -18px rgba(60,30,160,.4)}
.hx .hx-nav img{height:34px;display:block}
.hx .hx-nav nav{display:flex;gap:26px;font-size:15px;font-weight:500}
.hx .hx-hero{position:relative;overflow:hidden;background:radial-gradient(900px 500px at 78% 30%,#e3d9ff 0,rgba(227,217,255,0) 60%),linear-gradient(180deg,#f6f2ff,#fff 85%);padding-bottom:70px}
.hx .hx-hero-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:30px;align-items:center;padding:56px 0 20px}
.hx .hx-hero h1{font-size:clamp(40px,5.2vw,64px);font-weight:800;margin:22px 0 18px}
.hx .hx-hero p.hx-lead{color:var(--muted);max-width:520px;font-size:17px}
.hx .hx-hero .hx-cta{display:flex;gap:12px;margin-top:28px;flex-wrap:wrap}
.hx .hx-visual{position:relative;min-height:430px}
.hx .hx-orb{position:absolute;right:6%;top:6%;width:330px;height:330px;border-radius:50%;background:radial-gradient(circle at 35% 30%,#c9b8ff,#7e5df0 70%);opacity:.55;filter:blur(2px)}
.hx .hx-card{background:#fff;border:1px solid var(--line);border-radius:16px;box-shadow:0 24px 50px -28px rgba(60,30,160,.5)}
.hx .hx-mock1{position:absolute;left:0;top:30px;width:260px;padding:16px;transform:rotate(-4deg)}
.hx .hx-mock1 small{color:var(--muted);font-size:12px}
.hx .hx-mock1 strong{display:block;font-size:24px;margin:2px 0 6px}
.hx .hx-mock2{position:absolute;right:0;top:70px;width:210px;padding:16px;text-align:center}
.hx .hx-gauge{width:130px;height:68px;margin:6px auto 0;border-radius:130px 130px 0 0;background:conic-gradient(from 270deg at 50% 100%,#6a45e6 0 144deg,#e6e0fb 144deg 180deg,transparent 180deg);position:relative}
.hx .hx-gauge:after{content:"";position:absolute;left:18px;right:18px;bottom:0;height:50px;background:#fff;border-radius:100px 100px 0 0}
.hx .hx-mock2 b{display:block;font-size:30px;margin-top:-8px}
.hx .hx-mock3{position:absolute;left:70px;bottom:0;right:10px;background:#1b1146;color:#fff;border-radius:16px;padding:22px;display:flex;justify-content:space-between;align-items:flex-end;gap:18px}
.hx .hx-mock3 span{font-size:11px;letter-spacing:.8px;color:#b9a8ff}
.hx .hx-mock3 h3{font-size:22px;margin-top:6px}
.hx .hx-bars{display:flex;gap:9px;align-items:flex-end}
.hx .hx-bars i{width:30px;background:linear-gradient(#a58bff,#6a45e6);border-radius:6px 6px 0 0;display:block}
.hx .hx-tag{position:absolute;right:20px;top:0;background:#fff;border:1px solid var(--line);border-radius:999px;padding:6px 12px;font-size:12px;font-weight:600;color:var(--p)}
.hx .hx-strip{display:flex;justify-content:center;align-items:center;gap:14px;flex-wrap:wrap;padding-top:34px}
.hx .hx-strip .hx-chip{background:#fff;border:1px solid var(--line);border-radius:999px;padding:14px 26px;font-weight:700;color:#3b2f7a;box-shadow:0 10px 24px -20px rgba(60,30,160,.6)}
.hx .hx-strip .hx-lbl{width:100%;text-align:center;margin-bottom:6px}
.hx section.hx-s{padding:84px 0}
.hx .hx-head{text-align:center;max-width:720px;margin:0 auto 44px}
.hx .hx-head h2{font-size:clamp(30px,3.6vw,44px);font-weight:800;margin-top:16px}
.hx .hx-head p{color:var(--muted)}
.hx .hx-tools{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.hx .hx-tool{padding:20px}
.hx .hx-tool .hx-ico{width:44px;height:44px;border-radius:12px;background:var(--lav);color:var(--p);display:grid;place-items:center;font-size:20px;margin-bottom:14px}
.hx .hx-tool h3{font-size:18px;margin-bottom:6px}
.hx .hx-tool p{margin:0;color:var(--muted);font-size:14.5px}
.hx .hx-about{display:grid;grid-template-columns:1fr 1fr;gap:56px;align-items:center}
.hx .hx-about .hx-panel{background:linear-gradient(160deg,var(--lav),#fff);border:1px solid var(--line);border-radius:24px;padding:28px;position:relative}
.hx .hx-row{display:flex;justify-content:space-between;align-items:center;padding:12px 0;border-bottom:1px dashed var(--line);font-size:15px}
.hx .hx-row:last-child{border:0}
.hx .hx-up{color:#12915f;font-weight:700}
.hx .hx-down{color:#d33b5a;font-weight:700}
.hx .hx-about h2{font-size:clamp(30px,3.4vw,42px);font-weight:800;margin:16px 0}
.hx .hx-about p{color:var(--muted)}
.hx .hx-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.hx .hx-step{padding:26px}
.hx .hx-step b{color:var(--p);font-size:13px;letter-spacing:1px}
.hx .hx-step h3{font-size:21px;margin:8px 0}
.hx .hx-step p{margin:0;color:var(--muted)}
.hx .hx-plans{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.hx .hx-plan{padding:24px;position:relative}
.hx .hx-plan h3{font-size:19px}
.hx .hx-plan .hx-price{font-size:34px;font-weight:800;margin:10px 0 2px}
.hx .hx-plan .hx-price small{font-size:14px;font-weight:500;color:var(--muted)}
.hx .hx-plan ul{padding-left:18px;color:var(--muted);font-size:14.5px;margin:12px 0 0}
.hx .hx-plan.hx-hot{border:2px solid var(--p)}
.hx .hx-plan.hx-hot:before{content:"Most popular";position:absolute;top:-12px;left:20px;background:var(--p);color:#fff;font-size:12px;font-weight:700;padding:3px 10px;border-radius:999px}
.hx .hx-dark{background:linear-gradient(180deg,#2a1368,#1a0c45);color:#fff;border-radius:34px;margin:0 20px}
.hx .hx-dark .hx-wrap{display:grid;grid-template-columns:1.2fr .8fr;gap:40px;align-items:center;padding:70px 0}
.hx .hx-dark h2{font-size:clamp(30px,3.6vw,44px);font-weight:800}
.hx .hx-dark p{color:#cdc2ff}
.hx .hx-dark .hx-btn.hx-light{background:#fff;color:var(--deep);border-color:#fff}
.hx .hx-dark .hx-perk{background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.18);border-radius:20px;padding:26px}
.hx .hx-dark .hx-perk b{font-size:34px;display:block}
.hx .hx-faq{max-width:820px;margin:auto}
.hx details{background:#fff;border:1px solid var(--line);border-radius:14px;padding:18px 22px;margin-bottom:12px}
.hx summary{font-weight:650;cursor:pointer}
.hx details p{color:var(--muted);margin:10px 0 0}
.hx .hx-final{background:linear-gradient(120deg,#5b34e0,#8b6cf5);border-radius:28px;color:#fff;padding:54px;display:flex;justify-content:space-between;align-items:center;gap:20px;flex-wrap:wrap}
.hx .hx-final h2{font-size:clamp(28px,3.4vw,40px);font-weight:800}
.hx .hx-final p{margin:8px 0 0;color:#ece6ff}
.hx .hx-final .hx-btn{background:#fff;color:var(--deep);border-color:#fff}
.hx footer{padding:56px 0 34px;color:var(--muted);font-size:14px}
.hx .hx-fg{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:30px}
.hx footer b{color:var(--ink);display:block;margin-bottom:10px}
.hx footer a{display:block;margin:7px 0}
.hx .hx-line{border-top:1px solid var(--line);margin-top:30px;padding-top:18px;display:flex;justify-content:space-between;flex-wrap:wrap;gap:10px}
.hx .hx-note-unused{position:fixed;right:14px;bottom:14px;background:#17123a;color:#fff;font-size:12px;padding:8px 12px;border-radius:10px;opacity:.92;z-index:5}
.hx .hx-audit{display:grid;grid-template-columns:1.1fr .9fr;gap:34px;align-items:center;background:linear-gradient(120deg,#3b1fa8,#6a45e6);border-radius:30px;color:#fff;padding:48px}
.hx .hx-audit h2{font-size:clamp(28px,3.4vw,40px);font-weight:800}
.hx .hx-audit ul{list-style:none;padding:0;margin:16px 0 0;color:#e6defe}
.hx .hx-audit li{margin:8px 0}
.hx .hx-audit li:before{content:"✓ ";font-weight:800}
.hx .hx-audit form{background:#fff;color:var(--ink);border-radius:20px;padding:24px}
.hx .hx-audit label{font-size:13px;font-weight:650;display:block;margin:10px 0 6px}
.hx .hx-audit input{width:100%;padding:13px 14px;border:1px solid var(--line);border-radius:12px;font:inherit}
.hx .hx-audit .hx-btn{width:100%;justify-content:center;margin-top:16px;cursor:pointer}
.hx .hx-posts{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.hx .hx-post{overflow:hidden}
.hx .hx-post .hx-img{height:150px;background:linear-gradient(135deg,#d9ccff,#8b6cf5);display:grid;place-items:center;color:#fff;font-size:42px}
.hx .hx-post .hx-b{padding:20px}
.hx .hx-post .hx-cat{font-size:12px;font-weight:700;color:var(--p);letter-spacing:.6px}
.hx .hx-post h3{font-size:19px;margin:8px 0}
.hx .hx-post p{margin:0;color:var(--muted);font-size:14.5px}
.hx .hx-contact{display:grid;grid-template-columns:1fr 1fr;gap:26px}
.hx .hx-contact .hx-card{padding:28px}
.hx .hx-contact h3{font-size:22px;margin-bottom:8px}
.hx .hx-contact p{color:var(--muted);margin:0 0 14px}
@media(max-width:980px){.hx .hx-audit,.hx .hx-contact{grid-template-columns:1fr}
.hx .hx-posts{grid-template-columns:1fr}
.hx .hx-audit{padding:30px}}

@media(max-width:1100px){.hx .hx-tools{grid-template-columns:repeat(3,1fr)}}

@media(max-width:980px){.hx .hx-hero-grid,.hx .hx-about,.hx .hx-dark .hx-wrap{grid-template-columns:1fr}
.hx .hx-tools,.hx .hx-plans{grid-template-columns:repeat(2,1fr)}
.hx .hx-steps{grid-template-columns:1fr}
.hx .hx-fg{grid-template-columns:1fr 1fr}
.hx .hx-nav nav{display:none}
.hx .hx-visual{min-height:400px}}

@media(max-width:560px){.hx .hx-tools,.hx .hx-plans{grid-template-columns:1fr}
.hx .hx-mock1{width:210px}
.hx .hx-mock2{width:170px}
.hx .hx-topbar{margin:0 8px}}
.hx .hx-navr{display:flex;align-items:center;gap:14px}
.hx .hx-login{font-weight:600;font-size:15px}
.hx .hx-mnav{display:none;position:relative}
.hx .hx-mnav summary{list-style:none;cursor:pointer;font-size:22px;padding:4px 10px;border:1px solid var(--line);border-radius:12px}
.hx .hx-mnav summary::-webkit-details-marker{display:none}
.hx .hx-mpanel{position:absolute;right:0;top:46px;background:#fff;border:1px solid var(--line);border-radius:16px;padding:10px;min-width:200px;box-shadow:0 20px 40px -20px rgba(60,30,160,.5);z-index:9}
.hx .hx-mpanel a{display:block;padding:10px 12px;border-radius:10px;font-weight:500}
.hx .hx-mpanel a:hover{background:var(--lav)}
.hx .hx-nav nav{gap:20px}
@media(max-width:1100px){.hx .hx-nav nav{display:none}
.hx .hx-mnav{display:block}
.hx .hx-login{display:none}}


/* ===== Design v3: violet palette, pill navigation, framed dashboard, colourful tiles, charts ===== */
:root{--blue:#6a45e6;--cyan:#14b8d4;--pale:#f6f3ff;--line:#e3dcfb}
[data-theme="dark"]{--blue:#9b7bff;--pale:#141029;--line:#2b2450}
.button,button{background:var(--blue)}
.button.secondary,.secondary,button.secondary{background:#fff;color:var(--ink)}
[data-theme="dark"] .secondary{background:#1a1536;color:var(--ink);border-color:#3a3166}
.notice{background:#f3efff;border-color:#ddd3fb;color:#41318a}
[data-theme="dark"] .notice{background:#1b1538;border-color:#352b63;color:#cdbfff}
.brand{gap:10px}.brand-icon{height:32px;width:32px;display:block}.brand-image{width:auto;height:26px}
.sidebar .brand-image{height:22px;width:auto}
/* public navigation: floating pill */
.nav{height:68px;margin-top:14px;padding:0 14px 0 22px;background:#fff;border:1px solid var(--line);border-radius:999px;box-shadow:0 8px 30px -18px rgba(60,30,160,.4);position:relative;width:min(1180px,calc(100% - 40px))}
[data-theme="dark"] .nav{background:#17122f}
.announce{background:linear-gradient(90deg,#4a26c9,#7b57f0);color:#fff;text-align:center;font-size:14px;padding:9px 16px;margin:0 20px;border-radius:0 0 22px 22px}
.announce a{color:#fff;text-decoration:underline;font-weight:650}
.footer{background:linear-gradient(180deg,#fff,#f6f3ff)}
[data-theme="dark"] .footer{background:transparent}
.cta{background:linear-gradient(120deg,#3b1fa8,#6a45e6)}
/* dashboard shell */
.dash{background:#e9e4f8;padding:18px;gap:18px;grid-template-columns:260px 1fr}
.sidebar{border:0;border-radius:16px;padding:20px 14px;background:#fff}
.sidebar a.item{color:#1e293b}
.sidebar a.item:hover{background:#f4f0ff;color:#14213d}
.sidebar a.item:hover span:first-child{color:var(--blue)}
.sidebar a.item.active{background:var(--blue);color:#fff;box-shadow:0 10px 18px -12px var(--blue)}
.sidebar a.item.active span:first-child{color:#fff}
.dashboard-main{display:flex;flex-direction:column;gap:16px}
.topbar{height:auto;min-height:62px;border:0;border-radius:16px;padding:12px 20px}
.dash-content{padding:0;max-width:none;margin:0;width:100%}
.dash-title h1{font-size:28px}
.card{border-color:transparent;border-radius:16px}
.dash .card{box-shadow:none}
[data-theme="dark"] .dash{background:#0d0a1f}
[data-theme="dark"] .sidebar,[data-theme="dark"] .topbar{background:#17122f}
[data-theme="dark"] .sidebar a.item:hover{background:#221a45;color:#fff}
/* colourful stat tiles everywhere in the dashboard */
.dash-content .stats .stat{border:0;color:#fff;border-radius:16px;padding:20px;min-height:120px}
.dash-content .stats .stat span,.dash-content .stats .stat small{color:#fff;opacity:.92}
.dash-content .stats .stat strong{font-size:30px;margin:8px 0 6px}
.dash-content .stats .stat:nth-child(4n+1){background:linear-gradient(135deg,#5b34e0,#9b7bff)}
.dash-content .stats .stat:nth-child(4n+2){background:linear-gradient(135deg,#0ea5c6,#3b82f6)}
.dash-content .stats .stat:nth-child(4n+3){background:linear-gradient(135deg,#10b9a7,#22c55e)}
.dash-content .stats .stat:nth-child(4n+4){background:linear-gradient(135deg,#f59e0b,#f97316)}
.report .stats .stat{background:#fff!important;color:var(--ink);border:1px solid var(--line)}
.report .stats .stat span,.report .stats .stat small{color:var(--muted);opacity:1}
/* charts */
.ov-grid{display:grid;gap:16px;margin-top:16px}.ov-g2{grid-template-columns:1.5fr 1fr}.ov-g3{grid-template-columns:repeat(3,1fr)}
.ov-grid .card h3,.report-chart h3{margin:0 0 10px;font-size:17px}
.chart{max-width:100%;color:var(--ink)}
.hbar{display:grid;grid-template-columns:minmax(90px,150px) 1fr 56px;gap:10px;align-items:center;margin:10px 0;font-size:14px}
.hbar span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hbar>div{background:#eef1f8;border-radius:6px;height:10px}.hbar i{display:block;height:10px;border-radius:6px}.hbar b{text-align:right}
[data-theme="dark"] .hbar>div{background:#241d45}
.legend{display:flex;gap:14px;flex-wrap:wrap;font-size:13px;color:var(--muted);margin-top:8px}.legend i{display:inline-block;width:10px;height:10px;border-radius:3px;margin-right:6px}
.chart-row{display:flex;gap:18px;align-items:center;flex-wrap:wrap}
.report-charts{display:grid;grid-template-columns:repeat(2,1fr);gap:16px;margin:14px 0}
@media print{.dash-content .stats .stat{background:#fff!important;color:#14213d;border:1px solid #ccc}.dash-content .stats .stat span,.dash-content .stats .stat small{color:#444}}
@media(max-width:1050px){.dash{padding:10px;grid-template-columns:1fr}.ov-g2,.ov-g3,.report-charts{grid-template-columns:1fr}.nav{border-radius:24px;height:auto;min-height:60px;padding:8px 12px 8px 18px}}
.hx-illu{position:absolute;right:6px;bottom:-16px;font-size:10.5px;letter-spacing:.8px;color:var(--muted);font-weight:700}
/* dark theme: keep menu text readable with the v3 rules */
[data-theme="dark"] .sidebar a.item{color:#d7e1f0}
[data-theme="dark"] .sidebar a.item span:first-child{color:#9fb0c7}
[data-theme="dark"] .sidebar a.item:hover span:first-child{color:#c9b8ff}
[data-theme="dark"] .sidebar a.item.active,[data-theme="dark"] .sidebar a.item.active span:first-child{color:#fff}
[data-theme="dark"] .side-label{color:#9fb0c7}
[data-theme="dark"] .chart text[fill="#6b778c"]{fill:#9fb0c7}
.hx .hx-audit form .hx-btn{border:0;font:inherit;font-weight:650}.hx .hx-audit form label{color:var(--ink)}
/* clearer form borders: dark violet, with a visible focus ring */
input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),select,textarea{border:1.5px solid #5b3fc4;background:#fff}
input:not([type="checkbox"]):not([type="radio"]):focus,select:focus,textarea:focus{outline:3px solid rgba(106,69,230,.28);outline-offset:0;border-color:#4a2fb0}
input::placeholder,textarea::placeholder{color:#6b6790}
.hx .hx-audit input{border:1.5px solid #5b3fc4}
[data-theme="dark"] input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),[data-theme="dark"] select,[data-theme="dark"] textarea{border-color:#8b6cf5;background:#120e27;color:#e6edf7}
[data-theme="dark"] input:not([type="checkbox"]):not([type="radio"]):focus,[data-theme="dark"] select:focus,[data-theme="dark"] textarea:focus{outline-color:rgba(155,123,255,.4);border-color:#b9a3ff}
/* public pages and tools: visible violet outlines on cards and result boxes, violet page header */
.pagehead{background:radial-gradient(ellipse at 80% 20%,#e3d9ff 0,transparent 55%),linear-gradient(180deg,#f6f2ff,#fff)}
[data-theme="dark"] .pagehead{background:linear-gradient(180deg,#1a1436,transparent)}
main .section .card{border:1.5px solid #cdbff7;background:#fff}
[data-theme="dark"] main .section .card{border-color:#3a3166;background:#17122f}
.tool-output{background:#f6f3ff;border:1.5px dashed #8b6cf5;color:#2b2160}
[data-theme="dark"] .tool-output{background:#1b1538;border-color:#6a52c9;color:#e6dcff}

/* App Store optimization */
.aso-apps{display:flex;gap:10px;flex-wrap:wrap;margin-top:16px}
.aso-app{display:flex;gap:10px;align-items:center;background:#fff;color:var(--ink);border:1.5px solid #cdbff7;border-radius:14px;padding:8px 14px 8px 8px;text-align:left}
.aso-app small{display:block;color:var(--muted);font-weight:500;font-size:12px}.aso-app.active{border-color:var(--blue);box-shadow:0 8px 20px -14px var(--blue)}
.aso-head{display:flex;gap:16px;align-items:center;flex-wrap:wrap}
.aso-ph{display:inline-block;border-radius:10px;background:#e7e0ff}
.aso-reads{display:flex;gap:12px;align-items:center;flex-wrap:wrap;border:1.5px solid #cdbff7;border-radius:12px;padding:12px 16px;margin:16px 0;background:#faf8ff}
.aso-act{display:inline-block;font-weight:700;font-size:13.5px;padding:4px 10px;border-radius:999px}
.aso-act.keep{background:#eef1f8;color:#46546a}.aso-act.move{background:#ede7ff;color:#4a2fb0}.aso-act.add{background:#e3f6f3;color:#0b5c56}
.aso-top{display:flex;gap:6px}.aso-top img,.aso-top .aso-ph{display:block}
[data-theme="dark"] .aso-app{background:#17122f;border-color:#3a3166}[data-theme="dark"] .aso-reads{background:#1b1538;border-color:#3a3166}
[data-theme="dark"] .aso-act.keep{background:#241d45;color:#cfd6e6}[data-theme="dark"] .aso-act.move{background:#2c2260;color:#d8ccff}[data-theme="dark"] .aso-act.add{background:#0f3330;color:#7be0d6}

.aso-listing{margin:14px 0}.aso-meter{display:grid;grid-template-columns:140px 1fr 70px;gap:12px;align-items:center;margin:8px 0;font-size:14px}
.aso-meter>div{background:#eef1f8;border-radius:6px;height:10px}.aso-meter i{display:block;height:10px;border-radius:6px}.aso-meter b{text-align:right}
.aso-more{background:#faf8ff;border:1.5px solid #e1d9fb;border-radius:12px;padding:16px;margin:6px 0 10px}
.aso-cols{display:grid;grid-template-columns:1.4fr 1fr;gap:20px}.aso-mini{width:100%;min-width:0;font-size:14px;margin-top:6px}.aso-mini td{padding:5px 8px;border-top:1px solid var(--line)}
[data-theme="dark"] .aso-more{background:#1b1538;border-color:#3a3166}[data-theme="dark"] .aso-meter>div{background:#241d45}
@media(max-width:800px){.aso-cols{grid-template-columns:1fr}}

.aso-comp{display:inline-block;font-weight:700;font-size:13px;padding:3px 10px;border-radius:999px}
.aso-comp.low{background:#e3f6f3;color:#0b5c56}.aso-comp.mid{background:#fff3d6;color:#92600a}.aso-comp.high{background:#fde8e8;color:#b42318}

.aso-check-row{display:flex;gap:10px;align-items:flex-start;margin:8px 0}.aso-check-row .dot{width:12px;height:12px;border-radius:50%;margin-top:6px;flex:none;background:#9aa6b8}
.aso-check-row.good .dot{background:#22c55e}.aso-check-row.warn .dot{background:#f59e0b}.aso-check-row.bad .dot{background:#ef4444}
@media(max-width:800px){.grid-2{grid-template-columns:1fr!important}}

/* ===== Public pages v3: features, pricing, how it works, FAQ, docs ===== */
.pagehead{padding:70px 0 48px}
.pagehead h1{background:linear-gradient(90deg,#4a26c9,#8b6cf5);-webkit-background-clip:text;background-clip:text;color:transparent;font-size:44px}
[data-theme="dark"] .pagehead h1{background:linear-gradient(90deg,#c9b8ff,#9b7bff);-webkit-background-clip:text;background-clip:text}
.pagehead .eyebrow{background:#fff;border:1px solid var(--line);padding:7px 14px;border-radius:999px;margin-bottom:14px}
[data-theme="dark"] .pagehead .eyebrow{background:#17122f}
.section.tight{padding:0 0 64px}
/* feature cards */
.cards .card{padding:24px;transition:transform .15s,box-shadow .15s}
.cards .card:hover{transform:translateY(-3px);box-shadow:0 22px 40px -26px rgba(60,30,160,.55)}
.cards .card .icon{width:46px;height:46px;border-radius:14px;background:#f0ebff;color:var(--blue);display:inline-grid;place-items:center;font-size:20px;margin-bottom:12px}
[data-theme="dark"] .cards .card .icon{background:#241d45}
.cards .card h3{margin:6px 0 8px}
.cards .card a{display:inline-block;margin-top:6px}
/* pricing */
.pricing{gap:18px;align-items:stretch}
.price{padding:26px;display:flex;flex-direction:column}
.price p{margin:6px 0 0}
.price strong{font-size:40px;margin:16px 0 4px}
.price ul{flex:1;margin:12px 0 18px}
.price li{margin:11px 0;line-height:1.45}
.price li:before{color:var(--blue);font-weight:800}
.price.featured{border:2px solid var(--blue);box-shadow:0 26px 50px -32px rgba(106,69,230,.7);position:relative}
.price.featured .badge{position:absolute;top:-12px;left:22px;background:var(--blue);color:#fff;padding:4px 12px;border-radius:999px}
.price .button{margin-top:auto}
/* how it works */
.steps4{display:grid;grid-template-columns:repeat(2,1fr);gap:18px;margin:6px 0 34px}
.step{padding:24px}
.step .stepno{display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:var(--blue);color:#fff;font-weight:800;margin-bottom:12px}
.step h3{margin:0 0 8px}.step p{margin:0}
/* FAQ and docs */
.article details.card,.wrap details.card{padding:0;margin-bottom:12px;overflow:hidden}
.article details.card summary,.wrap details.card summary{padding:18px 22px;font-weight:650;cursor:pointer;list-style:none;display:flex;justify-content:space-between;gap:16px;align-items:center}
.article details.card summary::-webkit-details-marker,.wrap details.card summary::-webkit-details-marker{display:none}
.article details.card summary:after,.wrap details.card summary:after{content:'+';font-size:22px;color:var(--blue);font-weight:700;flex:none}
.article details.card[open] summary:after,.wrap details.card[open] summary:after{content:'–'}
.article details.card p,.wrap details.card p{margin:0;padding:0 22px 20px}
.article h2{margin-top:34px;padding-left:14px;border-left:4px solid var(--blue)}
.article h2:first-child{margin-top:0}
.article ul{padding-left:20px}.article li{margin:8px 0}
@media(max-width:700px){.steps4{grid-template-columns:1fr}.pagehead h1{font-size:34px}}

.consent{display:flex;gap:10px;align-items:flex-start;font-weight:500;font-size:14px;line-height:1.45;margin:14px 0 4px;cursor:pointer}
.consent input{width:auto;margin-top:3px;flex:none;accent-color:var(--blue)}
.consent a{color:var(--blue);font-weight:650;text-decoration:underline}

/* In-dashboard guides */
.guide{background:#faf8ff;border:1.5px solid #cdbff7;border-left:5px solid var(--blue);border-radius:14px;margin:16px 0}
.guide summary{padding:14px 18px;cursor:pointer;list-style:none;display:flex;gap:10px;align-items:center}
.guide summary::-webkit-details-marker{display:none}
.guide summary:after{content:'Hide';margin-left:auto;font-size:12.5px;font-weight:650;color:var(--blue)}
.guide:not([open]) summary:after{content:'Show'}
.guide-i{display:inline-grid;place-items:center;width:24px;height:24px;border-radius:50%;background:var(--blue);color:#fff;font-weight:800;font-size:13px;font-style:italic;flex:none}
.guide-body{padding:0 20px 18px 20px}.guide-body p{margin:0 0 12px;max-width:820px}
.guide-steps{margin:0 0 10px;padding-left:22px}.guide-steps li{margin:7px 0;padding-left:4px}
.guide-steps li::marker{color:var(--blue);font-weight:800}
.guide-tips{margin:10px 0 0;padding:10px 14px 10px 30px;background:#fff;border:1px solid var(--line);border-radius:10px;font-size:14px;color:var(--muted)}
[data-theme="dark"] .guide{background:#1b1538;border-color:#3a3166;border-left-color:var(--blue)}
[data-theme="dark"] .guide-tips{background:#17122f;border-color:#3a3166}

/* Ops page */
.ops-dot{display:inline-block;width:10px;height:10px;border-radius:50%;margin-right:6px;background:#9aa6b8}.ops-dot.good{background:#22c55e}.ops-dot.warn{background:#f59e0b}.ops-dot.bad{background:#ef4444}
.hbar-track{background:#eef1f8;border-radius:6px;height:10px;min-width:120px}.hbar-track i{display:block;height:10px;border-radius:6px;background:linear-gradient(90deg,#8b6cf5,#6a45e6)}
[data-theme="dark"] .hbar-track{background:#241d45}

/* ===== Dark theme, softer: lighter slate surfaces and a calm periwinkle accent (replaces the near-black violet) ===== */
[data-theme="dark"]{--blue:#7681e0;--cyan:#4fb8c9;--ink:#e4e7f2;--muted:#aab1c8;--line:#363c5a;--pale:#20243a;color-scheme:dark}
[data-theme="dark"] body,[data-theme="dark"] .dash{background:#1b1f2f}
[data-theme="dark"] .sidebar,[data-theme="dark"] .topbar,[data-theme="dark"] .nav,[data-theme="dark"] .navlinks{background:#232842;border-color:var(--line)}
[data-theme="dark"] .card,[data-theme="dark"] .stat,[data-theme="dark"] .preview,[data-theme="dark"] .auth,[data-theme="dark"] dialog,
[data-theme="dark"] main .section .card{background:#262b47;border-color:#363c5a;color:var(--ink)}
[data-theme="dark"] .dash .card{box-shadow:none}
[data-theme="dark"] .secondary,[data-theme="dark"] .button.secondary,[data-theme="dark"] button.secondary{background:#2b3050;color:var(--ink);border-color:#41486a}
[data-theme="dark"] .card a.button,[data-theme="dark"] .cta a.button{color:#fff}
[data-theme="dark"] .card a.button.secondary,[data-theme="dark"] .cta a.button.secondary{color:var(--ink)}
[data-theme="dark"] .card a,[data-theme="dark"] .article a,[data-theme="dark"] .guide a{color:#aab3f7}
/* form fields */
[data-theme="dark"] input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),[data-theme="dark"] select,[data-theme="dark"] textarea{background:#1f2339;border:1.5px solid #4c5479;color:var(--ink)}
[data-theme="dark"] input:not([type="checkbox"]):not([type="radio"]):focus,[data-theme="dark"] select:focus,[data-theme="dark"] textarea:focus{border-color:#8f99ee;outline:3px solid rgba(143,153,238,.25)}
[data-theme="dark"] input::placeholder,[data-theme="dark"] textarea::placeholder{color:#7f88a6}
/* menu */
[data-theme="dark"] .sidebar a.item{color:#dde1f1}
[data-theme="dark"] .sidebar a.item span:first-child{color:#a4acc6}
[data-theme="dark"] .sidebar a.item:hover{background:#2c3256;color:#fff}
[data-theme="dark"] .sidebar a.item:hover span:first-child{color:#c3caf6}
[data-theme="dark"] .sidebar a.item.active{background:rgba(118,129,224,.2);color:#eef0ff;box-shadow:inset 3px 0 0 #8f99ee}
[data-theme="dark"] .sidebar a.item.active span:first-child{color:#c8cffa}
[data-theme="dark"] .side-label{color:#9aa2bf}
/* notices, badges, guide and ASO surfaces */
[data-theme="dark"] .notice,[data-theme="dark"] .side-bottom .notice{background:#2a3052;border-color:#3d4570;color:#d3d8f5}
[data-theme="dark"] .guide{background:#2a3052;border-color:#3d4570;border-left-color:#8f99ee}
[data-theme="dark"] .guide-tips,[data-theme="dark"] .aso-app,[data-theme="dark"] .aso-reads,[data-theme="dark"] .aso-more,[data-theme="dark"] .tool-output{background:#242945;border-color:#3d4570;color:#d8dcf3}
[data-theme="dark"] .guide-i{background:#6f79d6}
[data-theme="dark"] .hbar>div,[data-theme="dark"] .hbar-track,[data-theme="dark"] .aso-meter>div{background:#323859}
[data-theme="dark"] .hbar-track i{background:linear-gradient(90deg,#7a85e6,#6672d8)}
[data-theme="dark"] .aso-act.keep{background:#323859;color:#d3d8ec}
[data-theme="dark"] .aso-act.move{background:#363d68;color:#d4d9fb}
[data-theme="dark"] .aso-app.active{border-color:#8f99ee;box-shadow:none}
[data-theme="dark"] .chip{background:#323a64;color:#c9d0fa}
[data-theme="dark"] .badge,[data-theme="dark"] .sidebar a.item span.badge{background:#27413f;color:#8fe0d4}
[data-theme="dark"] .cards .card .icon,[data-theme="dark"] .icon,[data-theme="dark"] .checklist i{background:#323a64;color:#c3caf6}
[data-theme="dark"] .avatar{background:#2f4a52;color:#9fe0da}
[data-theme="dark"] .pagehead{background:linear-gradient(180deg,#232842,transparent)}
[data-theme="dark"] .pagehead h1{background:linear-gradient(90deg,#d5dafc,#a9b3f4);-webkit-background-clip:text;background-clip:text}
[data-theme="dark"] .pagehead .eyebrow{background:#262b47;border-color:#363c5a}
[data-theme="dark"] .cta{background:linear-gradient(120deg,#363e7a,#4a53a8)}
/* colourful tiles, calmer in the dark */
[data-theme="dark"] .dash-content .stats .stat:nth-child(4n+1){background:linear-gradient(135deg,#454c8c,#5760a8)}
[data-theme="dark"] .dash-content .stats .stat:nth-child(4n+2){background:linear-gradient(135deg,#2f6a88,#3d82a3)}
[data-theme="dark"] .dash-content .stats .stat:nth-child(4n+3){background:linear-gradient(135deg,#2f7468,#3c8f7f)}
[data-theme="dark"] .dash-content .stats .stat:nth-child(4n+4){background:linear-gradient(135deg,#94672f,#ad7a37)}
[data-theme="dark"] .report .stats .stat{background:#fff!important}
[data-theme="dark"] .footer{background:transparent}
/* buttons: softer fill with readable white text */
[data-theme="dark"] button:not(.secondary):not(.small):not(.menu):not(.btn-danger),[data-theme="dark"] .button:not(.secondary){background:#6a74d6;color:#fff}
[data-theme="dark"] button.small:not(.secondary){background:#6a74d6;color:#fff}

/* ===== Dark theme: text that is easier on the eyes (nothing is pure white) ===== */
[data-theme="dark"]{--ink:#c7cce0;--muted:#8d96b2}
[data-theme="dark"] body{color:#c7cce0}
[data-theme="dark"] h1,[data-theme="dark"] h2,[data-theme="dark"] h3,[data-theme="dark"] .dash-title h1,[data-theme="dark"] .panel h3{color:#d3d7e8}
[data-theme="dark"] strong,[data-theme="dark"] b,[data-theme="dark"] th{color:#d0d4e6}
[data-theme="dark"] p,[data-theme="dark"] li,[data-theme="dark"] td,[data-theme="dark"] label,[data-theme="dark"] summary{color:#bcc2d8}
[data-theme="dark"] .micro,[data-theme="dark"] small,[data-theme="dark"] .crumb{color:#8d96b2}
[data-theme="dark"] .sidebar a.item{color:#c0c6db}
[data-theme="dark"] .sidebar a.item:hover{color:#dde1f1}
[data-theme="dark"] .sidebar a.item.active{color:#dfe3f6}
[data-theme="dark"] .sidebar a.item.active span:first-child{color:#b9c1ee}
[data-theme="dark"] input,[data-theme="dark"] select,[data-theme="dark"] textarea{color:#c7cce0}
[data-theme="dark"] .notice,[data-theme="dark"] .side-bottom .notice{color:#c3c9e8}
[data-theme="dark"] .guide-body p,[data-theme="dark"] .guide-steps li{color:#bcc2d8}
/* white text on coloured surfaces: a touch softer too */
[data-theme="dark"] .dash-content .stats .stat,[data-theme="dark"] .dash-content .stats .stat span,[data-theme="dark"] .dash-content .stats .stat small,[data-theme="dark"] .dash-content .stats .stat strong{color:#e3e6f3}
[data-theme="dark"] button:not(.secondary):not(.menu),[data-theme="dark"] .button:not(.secondary),[data-theme="dark"] .card a.button,[data-theme="dark"] .cta a.button{color:#eceff9}
[data-theme="dark"] .cta,[data-theme="dark"] .cta h2,[data-theme="dark"] .cta p{color:#e3e6f3}
[data-theme="dark"] .report,[data-theme="dark"] .report *{color:#14223d}
[data-theme="dark"] .report .micro{color:#46546a}
[data-theme="dark"] .report .stats .stat span{color:#46546a}
[data-theme="dark"] .report .stats .stat strong,[data-theme="dark"] .report h2,[data-theme="dark"] .report h3,[data-theme="dark"] .report h4{color:#14223d}

/* ===== Content width: boxes no longer stretch across very wide screens ===== */
.dash-content{max-width:1180px;margin-left:auto;margin-right:auto;width:100%}
.dashboard-main .topbar{max-width:none}
.guide-body p,.guide-steps{max-width:900px}

/* ===== Dark theme, one step lighter and less blue (dark mode only) ===== */
[data-theme="dark"] body,[data-theme="dark"] .dash{background:#23273a}
[data-theme="dark"] .sidebar,[data-theme="dark"] .topbar,[data-theme="dark"] .nav,[data-theme="dark"] .navlinks{background:#2b3047;border-color:#3d4361}
[data-theme="dark"] .card,[data-theme="dark"] .stat,[data-theme="dark"] .preview,[data-theme="dark"] .auth,[data-theme="dark"] dialog,
[data-theme="dark"] main .section .card{background:#30354f;border-color:#41486a}
[data-theme="dark"] .notice,[data-theme="dark"] .side-bottom .notice,[data-theme="dark"] .guide{background:#343a58;border-color:#474f75}
[data-theme="dark"] .guide-tips,[data-theme="dark"] .aso-app,[data-theme="dark"] .aso-reads,[data-theme="dark"] .aso-more,[data-theme="dark"] .tool-output{background:#2c3149;border-color:#474f75}
[data-theme="dark"] input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),[data-theme="dark"] select,[data-theme="dark"] textarea{background:#262b41;border-color:#555d85}
[data-theme="dark"] .secondary,[data-theme="dark"] .button.secondary,[data-theme="dark"] button.secondary{background:#363c5c;border-color:#4d5579}
[data-theme="dark"] .sidebar a.item:hover{background:#363c5c}
[data-theme="dark"] .hbar>div,[data-theme="dark"] .hbar-track,[data-theme="dark"] .aso-meter>div{background:#3b4264}
[data-theme="dark"] {--line:#41486a;--pale:#2a2f47}

/* ===== Small screens: the single column may shrink below the width of the horizontal menu, so nothing is pushed off-screen ===== */
.dash{min-width:0}
.dashboard-main,.dash-content,.sidebar{min-width:0}
@media(max-width:1050px){
 .dash{grid-template-columns:minmax(0,1fr)}
 .sidebar{overflow:hidden}
 .sidebar nav{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
 .dash-content{max-width:100%;margin-left:0;margin-right:0}
 .tablewrap{max-width:100%}
}
