:root{--brand:#1f4e79;--ink:#1d2433;--muted:#667085;--line:#e3e7ee;--bg:#f6f8fb;--card:#fff;--ok:#127a3c;--warn:#a15c00;--bad:#b42318;--info:#175cd3;--r:8px}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;font:15px/1.6 system-ui,-apple-system,"Segoe UI",Roboto,"Noto Sans",Arial,sans-serif;color:var(--ink);background:var(--bg)}
a{color:var(--brand);text-decoration:none}a:hover{text-decoration:underline}
h1,h2,h3,h4{line-height:1.3;margin:1.2em 0 .5em}h1{font-size:1.65rem;margin-top:.4em}h2{font-size:1.3rem}h3{font-size:1.1rem}
img{max-width:100%}
.wrap{max-width:1180px;margin:0 auto;padding:0 16px}
.row{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.main{padding-top:20px;padding-bottom:40px;min-height:60vh}
.topbar{background:#111827;color:#cbd5e1;font-size:13px}
.topbar .row{min-height:38px}
.topbar a,.topbar .linkbtn{color:#e5e7eb;margin-left:14px}
.topbar .site{font-weight:600;margin-left:0}
.usernav{display:flex;align-items:center;flex-wrap:wrap}
.inline{display:inline}
.linkbtn{background:none;border:0;padding:0;font:inherit;cursor:pointer;color:var(--brand)}
.sitehead{background:linear-gradient(135deg,#1f4e79,#2e75b6);color:#fff;padding:22px 0}
.sitebrand{color:#fff;font-size:1.5rem;font-weight:700;margin-right:12px}.sitehead .tag{opacity:.85}
.jhead{background:#fff;border-bottom:1px solid var(--line)}
.jhead>.wrap{padding-top:16px;padding-bottom:12px}
.jbrand{display:flex;align-items:center;gap:14px;color:var(--ink)}.jbrand:hover{text-decoration:none}
.jlogo{height:64px;width:auto}
.jtitle{display:block;font-size:1.45rem;font-weight:700;color:var(--brand)}
.jissn{display:block;color:var(--muted);font-size:13px}
.jsearch input{min-width:220px}
.jnav{background:var(--brand)}
.jnav .wrap{display:flex;flex-wrap:wrap;gap:2px}
.jnav a{color:#fff;padding:10px 12px;display:inline-block;font-size:14px}
.jnav a:hover{background:rgba(255,255,255,.14);text-decoration:none}
.jnav .cta{margin-left:auto;background:rgba(255,255,255,.18);font-weight:600}
.dd{position:relative;display:inline-block}
.ddm{display:none;position:absolute;top:100%;left:0;background:#fff;min-width:210px;box-shadow:0 8px 24px rgba(0,0,0,.15);border-radius:0 0 6px 6px;z-index:10}
.ddm a{color:var(--ink);display:block}.ddm a:hover{background:var(--bg)}
.dd:hover .ddm,.dd:focus-within .ddm{display:block}
.staffnav{background:#eef2f7;border-top:1px solid var(--line);font-size:13px}
.staffnav .wrap{display:flex;flex-wrap:wrap;gap:4px;align-items:center;padding-top:6px;padding-bottom:6px}
.staffnav a{padding:3px 9px;border-radius:5px;color:#344054}.staffnav a:hover{background:#dde4ee;text-decoration:none}
.foot{background:#111827;color:#cbd5e1;padding:22px 0;font-size:14px}.foot a{color:#93c5fd}
.small{font-size:13px}.muted{color:var(--muted)}.foot .muted{color:#94a3b8}
.card{background:var(--card);border:1px solid var(--line);border-radius:var(--r);padding:18px;margin-bottom:16px}
.card>h2:first-child,.card>h3:first-child{margin-top:0}
.grid{display:grid;gap:16px}
.g2{grid-template-columns:repeat(2,minmax(0,1fr))}.g3{grid-template-columns:repeat(3,minmax(0,1fr))}.g4{grid-template-columns:repeat(4,minmax(0,1fr))}
.side{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:20px;align-items:start}
@media(max-width:900px){.g3,.g4{grid-template-columns:repeat(2,minmax(0,1fr))}.side{grid-template-columns:1fr}}
@media(max-width:600px){.g2,.g3,.g4{grid-template-columns:1fr}.jnav .cta{margin-left:0}.jsearch input{min-width:0;width:100%}.jsearch{width:100%}}
.stat{background:#fff;border:1px solid var(--line);border-radius:var(--r);padding:14px}
.stat b{display:block;font-size:1.6rem;color:var(--brand)}.stat span{color:var(--muted);font-size:13px}
label{display:block;font-weight:600;font-size:14px;margin:12px 0 4px}
label.cb{font-weight:400;display:flex;gap:8px;align-items:flex-start}
input[type=text],input[type=email],input[type=password],input[type=number],input[type=date],input[type=url],input[type=search],input:not([type]),select,textarea{width:100%;padding:8px 10px;border:1px solid #cfd6e0;border-radius:6px;font:inherit;background:#fff;color:inherit}
input[type=color]{height:38px;width:80px;padding:2px;border:1px solid #cfd6e0;border-radius:6px}
textarea{min-height:110px;resize:vertical}
input:focus,select:focus,textarea:focus{outline:2px solid color-mix(in srgb,var(--brand) 40%,transparent);border-color:var(--brand)}
.hint{color:var(--muted);font-size:12.5px;margin-top:3px}
.btn,button.btn{display:inline-block;background:var(--brand);color:#fff;border:1px solid var(--brand);padding:8px 16px;border-radius:6px;font:inherit;font-weight:600;cursor:pointer;line-height:1.3}
.btn:hover{filter:brightness(1.08);text-decoration:none}
.btn.sec{background:#fff;color:var(--brand)}.btn.danger{background:var(--bad);border-color:var(--bad)}.btn.ok{background:var(--ok);border-color:var(--ok)}
.btn.sm{padding:4px 10px;font-size:13px}
.actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin-top:14px}
table{width:100%;border-collapse:collapse;background:#fff}
th,td{padding:8px 10px;border-bottom:1px solid var(--line);text-align:left;vertical-align:top}
th{font-size:12.5px;text-transform:uppercase;letter-spacing:.03em;color:var(--muted);background:#fafbfc}
.tablewrap{overflow-x:auto;border:1px solid var(--line);border-radius:var(--r);margin-bottom:16px}
.tablewrap table{border:0}
.badge{display:inline-block;padding:1px 8px;border-radius:999px;font-size:12px;font-weight:600;background:#eef2f7;color:#344054;white-space:nowrap}
.badge.ok,.b-published,.b-accepted,.b-active,.b-completed,.b-paid{background:#e7f6ec;color:var(--ok)}
.badge.warn,.b-revision_required,.b-pending,.b-invited,.b-desk_review,.b-suspended{background:#fff4e5;color:var(--warn)}
.badge.bad,.b-rejected,.b-declined,.b-withdrawn,.b-cancelled{background:#fdecea;color:var(--bad)}
.b-under_review,.b-submitted,.b-resubmitted,.b-copyediting,.b-production,.b-scheduled{background:#eaf1fd;color:var(--info)}
.flash{padding:10px 14px;border-radius:6px;margin-bottom:12px;border:1px solid}
.flash.success{background:#e7f6ec;border-color:#b7e1c4;color:#0b5a2b}.flash.error{background:#fdecea;border-color:#f5c2bd;color:#8a1c12}.flash.info{background:#eaf1fd;border-color:#bfd3f8;color:#123f8c}
.tabs{display:flex;gap:4px;flex-wrap:wrap;border-bottom:1px solid var(--line);margin-bottom:16px}
.tabs a{padding:8px 14px;border-radius:6px 6px 0 0;color:var(--muted)}
.tabs a.on{background:#fff;border:1px solid var(--line);border-bottom-color:#fff;margin-bottom:-1px;color:var(--ink);font-weight:600}
.art{padding:12px 0;border-bottom:1px solid var(--line)}.art:last-child{border-bottom:0}
.art .t{font-weight:600;font-size:1.03rem}.art .a{color:#475467;font-size:14px}.art .m{font-size:13px;color:var(--muted)}
.jcard{display:flex;gap:14px}.jcard img{width:72px;height:96px;object-fit:cover;border-radius:4px;border:1px solid var(--line)}
.jcard .ph{width:72px;height:96px;border-radius:4px;background:linear-gradient(135deg,var(--brand),#2e75b6);flex:none}
.prose{max-width:820px}.prose p{margin:.6em 0}
.kv{display:grid;grid-template-columns:160px 1fr;gap:4px 12px;font-size:14px}.kv dt{color:var(--muted)}.kv dd{margin:0}
@media(max-width:600px){.kv{grid-template-columns:1fr}}
.timeline{list-style:none;padding:0;margin:0;font-size:13px}.timeline li{padding:5px 0;border-bottom:1px dashed var(--line)}
.msg{padding:10px 12px;border-radius:8px;background:#f2f4f7;margin:8px 0}.msg.mine{background:#eaf1fd}
.msg .who{font-size:12.5px;color:var(--muted)}
.pre{white-space:pre-wrap}
.cover{max-width:220px;border:1px solid var(--line);border-radius:6px}
.member{display:flex;gap:12px;padding:10px 0;border-bottom:1px solid var(--line)}
.member img{width:64px;height:64px;border-radius:50%;object-fit:cover}
.check{list-style:none;padding:0}.check li{padding:6px 0;border-bottom:1px solid var(--line)}
.check .y{color:var(--ok);font-weight:700}.check .n{color:var(--bad);font-weight:700}
.authrow{display:grid;grid-template-columns:2fr 2fr 2fr 1fr 1.2fr auto;gap:8px;align-items:end;margin-bottom:8px}
@media(max-width:900px){.authrow{grid-template-columns:1fr 1fr}}
.authrow label{margin:0;font-size:12px;font-weight:500}
.bar{height:10px;background:var(--brand);border-radius:3px;min-width:2px}
.pager{display:flex;gap:6px;margin:14px 0}
.pager a,.pager span{padding:4px 10px;border:1px solid var(--line);border-radius:5px;background:#fff}
.right{text-align:right}.nowrap{white-space:nowrap}
.mt0{margin-top:0}
details>summary{cursor:pointer;font-weight:600;padding:4px 0}
.hero{background:#fff;border:1px solid var(--line);border-radius:var(--r);padding:22px;margin-bottom:18px}

/* ---------- Landing page ---------- */
.center{text-align:center}
.lp-hero{display:grid;grid-template-columns:1.1fr 1fr;gap:40px;align-items:center;padding:36px 0 30px}
.lp-kicker{display:inline-block;background:#e8f0fa;color:var(--brand);font-weight:600;font-size:13px;padding:4px 12px;border-radius:999px;letter-spacing:.02em}
.lp-hero h1{font-size:2.6rem;line-height:1.15;margin:.35em 0 .4em;letter-spacing:-.01em}
.lp-sub{font-size:1.1rem;color:#475467;max-width:560px}
.btn.lp-big{padding:12px 22px;font-size:16px}
.lp-trust{margin-top:14px;color:var(--muted)}
.lp-mock{background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:0 24px 60px rgba(31,78,121,.18);overflow:hidden;transform:rotate(1deg)}
.lp-mock-bar{display:flex;gap:6px;align-items:center;padding:9px 12px;background:#f2f4f7;border-bottom:1px solid var(--line)}
.lp-mock-bar span{width:10px;height:10px;border-radius:50%;background:#d0d5dd}.lp-mock-bar span:first-child{background:#f97066}.lp-mock-bar span:nth-child(2){background:#fdb022}.lp-mock-bar span:nth-child(3){background:#32d583}
.lp-mock-bar em{margin-left:10px;font-style:normal;font-size:12px;color:#667085;background:#fff;border-radius:6px;padding:2px 10px;flex:1}
.lp-mock-head{padding:14px 16px 8px}.lp-mock-head b{display:block;color:var(--brand)}.lp-mock-head small{color:var(--muted);font-size:11px}
.lp-mock-nav{display:flex;gap:4px;background:var(--brand);padding:6px 10px;flex-wrap:wrap}.lp-mock-nav i{font-style:normal;color:#fff;font-size:11px;padding:2px 6px;border-radius:4px}.lp-mock-nav i.on{background:rgba(255,255,255,.25);margin-left:auto}
.lp-mock-body{display:grid;grid-template-columns:1.6fr 1fr;gap:10px;padding:14px;background:var(--bg)}
.lp-mock-card{background:#fff;border:1px solid var(--line);border-radius:8px;padding:10px}.lp-mock-card b{font-size:12px}
.lp-mock-card p{height:8px;background:#e4e7ec;border-radius:4px;margin:9px 0}.lp-mock-card p.s{width:60%;background:#eef2f7}
.lp-mock-side{display:flex;flex-direction:column;gap:8px}
.lp-pill{background:#eaf1fd;color:var(--info);font-size:11px;font-weight:600;padding:8px;border-radius:8px}.lp-pill.g{background:#e7f6ec;color:var(--ok)}.lp-pill.b{background:#fff4e5;color:var(--warn)}
.lp-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;background:var(--line);border:1px solid var(--line);border-radius:12px;overflow:hidden;margin:10px 0 20px}
.lp-stats div{background:#fff;padding:18px;text-align:center}.lp-stats b{display:block;font-size:1.8rem;color:var(--brand)}.lp-stats span{color:var(--muted);font-size:13px}
.lp-sec{padding:34px 0;border-top:1px solid var(--line)}
.lp-sec h2{font-size:1.75rem;margin-top:0}
.lp-about{display:grid;grid-template-columns:1.2fr 1fr;gap:40px;align-items:start}
.lp-checks{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:1fr 1fr;gap:10px}
.lp-checks li{background:#fff;border:1px solid var(--line);border-radius:10px;padding:10px 12px 10px 36px;position:relative;font-size:14px;font-weight:500}
.lp-checks li:before{content:"";position:absolute;left:12px;top:50%;width:14px;height:14px;margin-top:-7px;border-radius:50%;background:var(--ok);box-shadow:inset 0 0 0 4px #e7f6ec}
.lp-roles{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-top:20px}
.lp-role{background:#fff;border:1px solid var(--line);border-radius:12px;padding:18px}
.lp-role h3{margin:.6em 0 .4em}.lp-role ul{padding-left:18px;margin:0;font-size:14px;color:#344054}.lp-role li{margin:4px 0}
.lp-ic{width:46px;height:46px;border-radius:12px;background:#e8f0fa;color:var(--brand);display:flex;align-items:center;justify-content:center}
.lp-ic.sm{width:40px;height:40px;flex:none}
.lp-feats{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin-top:22px}
.lp-feat{display:flex;gap:12px}.lp-feat h4{margin:2px 0 4px}.lp-feat p{margin:0;font-size:13.5px;color:#475467}
.lp-steprow{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:20px}
.lp-steprow div{background:#fff;border:1px solid var(--line);border-radius:12px;padding:20px;text-align:center}
.lp-steprow span{display:inline-flex;width:38px;height:38px;border-radius:50%;background:var(--brand);color:#fff;font-weight:700;align-items:center;justify-content:center}
.lp-steprow p{color:#475467;font-size:14px;margin:0}
.lp-used{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:20px 0 10px}
.lp-j{display:flex;gap:12px;align-items:center;background:#fff;border:1px solid var(--line);border-radius:10px;padding:10px 12px;color:var(--ink)}
.lp-j:hover{text-decoration:none;border-color:var(--brand)}
.lp-j img{width:44px;height:44px;object-fit:contain}.lp-j strong{display:block;font-size:14px;line-height:1.3}.lp-j small{color:var(--muted)}
.lp-jph{width:44px;height:44px;border-radius:8px;background:var(--brand);color:#fff;font-weight:700;font-size:12px;display:flex;align-items:center;justify-content:center;flex:none}
.lp-faq details{background:#fff;border:1px solid var(--line);border-radius:10px;padding:12px 16px;margin:10px auto;max-width:860px}
.lp-faq summary{font-size:15px}
.lp-cta{background:linear-gradient(135deg,#1f4e79,#2e75b6);color:#fff;border-radius:16px;padding:30px;margin:20px 0;display:grid;grid-template-columns:1fr auto;gap:20px;align-items:center}
.lp-cta h2{margin:0 0 6px}.lp-cta p{margin:0;opacity:.9}
.lp-contact{display:flex;gap:10px;flex-wrap:wrap;align-items:center}
.lp-contact a{color:#fff;background:rgba(255,255,255,.14);padding:9px 14px;border-radius:8px;font-weight:600}
.lp-contact a.btn{background:#fff;color:#1f4e79;border-color:#fff}
.lp-addr{grid-column:1/-1;opacity:.85}
/* plan cards */
.plans{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:18px;margin-top:20px;align-items:stretch}
.plan{position:relative;background:#fff;border:1px solid var(--line);border-radius:14px;padding:22px;display:flex;flex-direction:column}
.plan.hl{border:2px solid var(--brand);box-shadow:0 12px 32px rgba(31,78,121,.15)}
.plan h3{margin:0}
.plan .price{font-size:2rem;font-weight:700;color:var(--brand);margin:12px 0}.plan .price span{font-size:14px;color:var(--muted);font-weight:400;margin-left:4px}
.plan ul{list-style:none;padding:0;margin:0 0 18px;flex:1}.plan li{padding:6px 0 6px 22px;position:relative;font-size:14px;border-bottom:1px dashed var(--line)}
.plan li:before{content:"✓";position:absolute;left:0;color:var(--ok);font-weight:700}
.ribbon{position:absolute;top:-12px;right:16px;background:var(--brand);color:#fff;font-size:12px;font-weight:700;padding:3px 10px;border-radius:999px}
@media(max-width:900px){.lp-hero,.lp-about,.lp-cta{grid-template-columns:1fr}.lp-roles,.lp-feats{grid-template-columns:1fr 1fr}.lp-used{grid-template-columns:1fr 1fr}.lp-stats{grid-template-columns:1fr 1fr}.lp-mock{transform:none}}
@media(max-width:600px){.lp-hero h1{font-size:1.9rem}.lp-roles,.lp-feats,.lp-steprow,.lp-used,.lp-checks{grid-template-columns:1fr}}
