:root{
  font-family:Inter,"Segoe UI",Arial,sans-serif;
  color:#0F172A;
  background:#FFFFFF;
  font-synthesis:none;
  --bg:#FFFFFF;
  --bg2:#F3F5F9;
  --panel:#FFFFFF;
  --panel2:#F3F5F9;
  --line:#E3E8F0;
  --muted:#64748B;
  --soft:#1E293B;
  --ink:#0F172A;
  --accent:#5850C4;
  --accent2:#3B4C6B;
  --cta:#F0871B;
  --success:#1E9E5A;
  --warn:#C2760A;
  --danger:#D6433D;
  --shadow:0 10px 26px rgba(15,23,42,.08)}
*{
  box-sizing:border-box}
html{
  scroll-behavior:smooth}
body{
  margin:0;
  background:var(--bg);
  color:var(--ink);
  min-height:100vh}
a{
  color:inherit;
  text-decoration:none}
button,input{
  font:inherit}
button,a,input{
  outline-offset:5px}
button{
  cursor:pointer}
button:disabled{
  opacity:.55;
  cursor:not-allowed}
.header{
  position:sticky;
  top:0;
  z-index:10;
  min-height:86px;
  border-bottom:1px solid var(--line);
  display:flex;
  align-items:center;
  justify-content:space-between;
  max-width:1480px;
  margin:auto;
  padding:14px 5%;
  backdrop-filter:blur(18px);
  background:rgba(255,255,255,.86)}
.brand{
  display:flex;
  align-items:center;
  gap:14px;
  font-weight:800;
  letter-spacing:-.6px}
.brand-logo{
  width:64px;
  height:64px;
  object-fit:contain;
  filter:drop-shadow(0 4px 10px rgba(15,23,42,.14))}
.brand strong{
  display:block;
  font-size:24px}
.brand small{
  display:block;
  color:var(--muted);
  font-size:11px;
  letter-spacing:1.3px;
  margin-top:2px}
.footer-brand{
  font-size:18px}
.brand-logo.small{
  width:34px;
  height:34px}
nav{
  display:flex;
  align-items:center;
  gap:28px;
  font-size:14px;
  color:var(--soft)}
nav a:hover,footer a:hover{
  color:var(--accent)}
.nav-button{
  border:1px solid var(--line);
  background:var(--panel2);
  color:var(--ink);
  padding:12px 18px;
  border-radius:13px;
  box-shadow:none}
.nav-button span{
  margin-left:16px}
main{
  min-height:75vh}
.wrap{
  max-width:1280px;
  padding:0 32px;
  margin:auto}
.hero{
  display:grid;
  grid-template-columns:1.02fr .98fr;
  gap:70px;
  align-items:center;
  padding-top:92px;
  padding-bottom:78px}
.eyebrow{
  font:800 12px/1.7 Inter,"Segoe UI",Arial,sans-serif;
  color:var(--muted);
  letter-spacing:1.6px;
  text-transform:uppercase;
  margin:0 0 20px}
.eyebrow span{
  border:1px solid var(--line);
  padding:5px 8px;
  margin-right:10px;
  border-radius:6px;
  background:rgba(88,80,196,.1);
  color:var(--accent)}
h1{
  font-size:clamp(42px,5vw,72px);
  line-height:1.02;
  letter-spacing:-3.6px;
  font-weight:820;
  margin:0 0 24px;
  text-wrap:balance}
h1 em{
  font-style:normal;
  color:var(--accent)}
.hero-band{
  background:linear-gradient(135deg,#11122b,#2a2564 55%,#4c3fb8);
  border-radius:0 0 28px 28px;
  margin-bottom:8px}
.hero-band .hero-copy .eyebrow{color:#c9cdfb}
.hero-band .hero-copy .eyebrow span{background:rgba(255,255,255,.1);border-color:rgba(255,255,255,.22);color:#fff}
.hero-band .hero-copy h1{color:#fff}
.hero-band .hero-copy h1 em{color:var(--cta)}
.hero-band .hero-copy .lead{color:#d3d6f4}
.hero-band .hero-copy .note{color:#c7cbef}
.hero-band .hero-copy .badge-row span{background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.2);color:#fff}
.hero-band .hero-copy .badge-row .icon{color:#fff}
.hero-band .hero-copy .stats-strip{border-color:rgba(255,255,255,.2)}
.hero-band .hero-copy .stats-strip div{border-right-color:rgba(255,255,255,.2);color:#fff}
.hero-band .hero-copy .stats-strip span{color:#c7cbef}
.hero-band .hero-copy .button:not(.primary){background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.35);color:#fff}
.lead{
  font-size:18px;
  color:var(--muted);
  line-height:1.75;
  max-width:600px}
.actions{
  display:flex;
  gap:13px;
  flex-wrap:wrap;
  margin-top:30px}
.button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:18px;
  border:1px solid var(--line);
  background:var(--panel);
  color:var(--ink);
  padding:14px 22px;
  border-radius:13px;
  font-size:14px;
  font-weight:800;
  min-height:50px;
  box-shadow:0 1px 2px rgba(15,23,42,.04)}
.button.primary{
  background:var(--cta);
  border-color:var(--cta);
  color:#fff;
  box-shadow:0 8px 20px rgba(240,135,27,.28)}
.button:hover{
  filter:brightness(1.05)}
.note{
  font-size:12px;
  color:var(--muted);
  margin-top:17px;
  line-height:1.7}
.preview{
  border:1px solid var(--line);
  border-radius:14px;
  background:var(--panel);
  box-shadow:var(--shadow);
  overflow:hidden}
.preview-top{
  padding:17px 20px;
  border-bottom:1px solid var(--line);
  display:flex;
  justify-content:space-between;
  font-size:12px;
  color:var(--muted);
  background:var(--panel2)}
.preview-body{
  padding:30px}
.preview h3{
  font-size:24px;
  font-weight:800;
  margin:0 0 7px}
.preview .sub{
  font-size:12px;
  color:var(--muted)}
.metrics{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:12px;
  margin:26px 0}
.metric{
  border:1px solid var(--line);
  background:var(--panel2);
  padding:17px;
  border-radius:16px}
.metric b{
  font-size:34px;
  display:block;
  font-weight:850}
.metric span{
  font-size:12px;
  color:var(--muted)}
.metric:first-child b{
  color:var(--accent)}
.finding{
  display:flex;
  justify-content:space-between;
  gap:15px;
  padding:15px 0;
  border-bottom:1px solid var(--line);
  font-size:14px}
.pill{
  font-size:12px;
  padding:5px 10px;
  border-radius:999px;
  background:rgba(30,158,90,.1);
  color:#1a7a48;
  white-space:nowrap;
  border:1px solid rgba(30,158,90,.28)}
.pill.orange{
  background:rgba(194,118,10,.1);
  color:#a1610c;
  border-color:rgba(194,118,10,.28)}
.pill.red{
  background:rgba(214,67,61,.1);
  color:#b5342f;
  border-color:rgba(214,67,61,.28)}
.flow{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:14px;
  padding:0 0 34px}
.flow span{
  border:1px solid var(--line);
  background:var(--panel);
  border-radius:16px;
  padding:18px;
  color:var(--ink);
  font-size:13px}
.flow span b{
  color:var(--accent);
  margin-right:10px}
.section{
  padding-top:86px;
  padding-bottom:86px}
.section-head{
  display:flex;
  justify-content:space-between;
  gap:50px;
  align-items:end;
  margin-bottom:36px}
.section-head p{
  max-width:430px;
  color:var(--muted);
  font-size:16px;
  line-height:1.7}
h2{
  font-size:40px;
  font-weight:820;
  letter-spacing:-1.7px;
  line-height:1.14;
  margin:0;
  text-wrap:balance}
h3{
  font-weight:800}
.cards{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:20px}
.card{
  padding:28px;
  border:1px solid var(--line);
  border-radius:14px;
  background:var(--panel);
  box-shadow:none}
.feature-icon{
  font-size:20px;
  display:inline-block;
  color:var(--accent);
  margin-bottom:20px}
.card h3{
  font-size:20px;
  margin:0 0 12px}
.card p{
  font-size:15px;
  color:var(--muted);
  line-height:1.75;
  margin:0}
.section.light{
  background:linear-gradient(135deg,#edf4ff,#e7ecff);
  color:#0d1730}
.light .eyebrow{
  color:#5a45e8}
.light .card{
  background:#fff;
  border-color:#d2dcf2;
  box-shadow:0 18px 45px rgba(20,40,80,.08)}
.light .card p,.light .section-head p{
  color:#53617d}
.plan{
  position:relative;
  display:flex;
  flex-direction:column}
.plan.recommended{
  border:2px solid var(--accent)}
.ribbon{
  position:absolute;
  right:20px;
  top:-13px;
  background:var(--accent);
  color:#fff;
  font-size:11px;
  padding:7px 11px;
  border-radius:999px;
  letter-spacing:1px}
.price{
  font-size:36px;
  letter-spacing:-1px;
  font-weight:850;
  margin:26px 0 8px}
.plan ul{
  list-style:none;
  padding:0;
  margin:24px 0 30px;
  flex:1}
.plan li{
  font-size:14px;
  padding:10px 0;
  border-top:1px solid #e3e8f7;
  color:#263555}
.plan li:before{
  content:'✓';
  color:#34b667;
  margin-right:10px}
.light .button{
  color:#152242;
  border-color:#c9d2e8;
  background:#f4f7ff}
.light .button.primary{
  background:var(--accent);
  color:#fff;
  border-color:var(--accent)}
.light .note{
  color:#667593}
.download-block{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:50px;
  border:1px solid var(--line);
  border-radius:14px;
  padding:45px;
  background:var(--panel);
  box-shadow:var(--shadow)}
.download-block p{
  color:var(--muted);
  line-height:1.8}
.download-icon{
  font-size:48px;
  color:var(--accent);
  margin-bottom:18px}
.portal-heading{
  padding:55px 0 35px;
  display:flex;
  justify-content:space-between;
  align-items:center}
.portal-heading h1{
  font-size:40px;
  letter-spacing:-1.5px;
  margin:0}
.portal-grid{
  display:grid;
  grid-template-columns:255px 1fr;
  gap:30px;
  padding-bottom:70px}
.sidebar{
  display:flex;
  flex-direction:column;
  gap:8px}
.sidebar a{
  font-size:14px;
  padding:15px;
  border-radius:14px;
  color:var(--muted);
  border:1px solid transparent;
  display:flex;
  align-items:center;
  gap:6px}
.sidebar a .icon{
  width:17px;
  height:17px;
  flex-shrink:0}
.sidebar a.active{
  background:rgba(88,80,196,.1);
  color:var(--accent);
  border-color:rgba(88,80,196,.3)}
.portal-content .cards{
  grid-template-columns:1fr 1fr;
  margin-bottom:22px}
.portal-content h2{
  font-size:29px;
  letter-spacing:-.8px}
.portal-content .card{
  margin-bottom:20px}
.big-value{
  font-size:34px;
  margin:17px 0;
  font-weight:850}
.form{
  max-width:560px}
.form label{
  display:block;
  font-size:14px;
  margin:21px 0 8px;
  color:var(--soft);
  font-weight:750}
.form input{
  width:100%;
  border:1px solid var(--line);
  border-radius:13px;
  padding:14px 15px;
  background:var(--panel);
  color:var(--ink);
  font-size:16px}
.form input:focus{
  border-color:var(--accent);
  box-shadow:0 0 0 3px rgba(88,80,196,.18)}
.form button{
  margin-top:24px}
.auth-layout{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:100px;
  align-items:center;
  padding-top:70px;
  padding-bottom:80px}
.auth-layout .card{
  padding:36px}
.auth-layout h1{
  font-size:54px}
.auth-layout h2{
  font-size:30px}
.error{
  color:var(--danger);
  font-size:14px;
  line-height:1.7;
  margin-top:15px}
.inline-link{
  color:var(--accent);
  text-decoration:underline}
.activity{
  display:flex;
  justify-content:space-between;
  gap:25px;
  font-size:14px;
  padding:17px 0;
  border-bottom:1px solid var(--line);
  line-height:1.5}
.activity time{
  color:var(--muted);
  font-size:12px;
  white-space:nowrap}
.empty{
  color:var(--muted);
  font-size:15px;
  line-height:1.8}
.notice{
  padding:16px 20px;
  border:1px solid var(--line);
  border-radius:10px;
  color:var(--soft);
  background:var(--panel2);
  font-size:14px;
  line-height:1.7;
  margin-bottom:25px}
footer{
  border-top:1px solid var(--line);
  max-width:1480px;
  margin:auto;
  padding:35px 5%;
  display:flex;
  justify-content:space-between;
  gap:25px;
  align-items:center;
  font-size:12px;
  color:var(--muted)}
footer .brand{
  font-size:18px;
  color:var(--ink)}
#toast{
  position:fixed;
  bottom:25px;
  right:25px;
  max-width:430px;
  padding:20px 25px;
  border:1px solid var(--line);
  background:var(--panel2);
  color:var(--soft);
  box-shadow:0 8px 24px rgba(8,13,26,.3);
  border-radius:10px;
  font-size:14px;
  z-index:20}
#toast[hidden]{
  display:none}

/* ---- Dashboard (post-login overview) ---- */
.kpi-row{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:16px;
  margin-bottom:20px}
.kpi-card{
  border:1px solid var(--line);
  background:var(--panel);
  border-radius:12px;
  padding:18px 20px;
  display:flex;
  gap:14px;
  align-items:center}
.kpi-card .icon-wrap{
  width:40px;
  height:40px;
  border-radius:10px;
  background:rgba(88,80,196,.1);
  display:flex;
  align-items:center;
  justify-content:center;
  flex-shrink:0}
.kpi-card .icon-wrap .icon{
  color:var(--accent);
  width:20px;
  height:20px}
.kpi-card b{
  display:block;
  font-size:24px;
  font-weight:800;
  letter-spacing:-.3px}
.kpi-card span{
  font-size:12px;
  color:var(--muted)}
.dash-grid{
  display:grid;
  grid-template-columns:1.3fr 1fr;
  gap:20px;
  margin-bottom:20px}
.list-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:12px 0;
  border-bottom:1px solid var(--line);
  font-size:13px}
.list-row:last-child{
  border-bottom:none}
.donut{
  position:relative;
  width:130px;
  height:130px;
  border-radius:50%;
  flex-shrink:0}
.donut-hole{
  position:absolute;
  top:50%;
  left:50%;
  transform:translate(-50%,-50%);
  width:78px;
  height:78px;
  border-radius:50%;
  background:var(--panel);
  display:flex;
  align-items:center;
  justify-content:center;
  flex-direction:column;
  text-align:center;
  box-shadow:0 2px 8px rgba(15,23,42,.08)}
.donut-hole b{
  font-size:20px;
  font-weight:800}
.donut-hole span{
  font-size:10px;
  color:var(--muted)}
.legend{
  display:flex;
  flex-direction:column;
  gap:9px;
  flex:1}
.legend-item{
  display:flex;
  align-items:center;
  gap:8px;
  font-size:13px}
.legend-dot{
  width:10px;
  height:10px;
  border-radius:50%;
  flex-shrink:0}
@media(max-width:1000px){
  .kpi-row{grid-template-columns:repeat(2,1fr)}
  .dash-grid{grid-template-columns:1fr}
}

/* ---- Home page (compressed enterprise redesign) ---- */
.icon{
  width:20px;
  height:20px;
  display:inline-block;
  vertical-align:middle;
  stroke:currentColor;
  fill:none;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round}
.hero-compact{
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:48px;
  align-items:center;
  padding-top:48px;
  padding-bottom:44px}
.badge-row{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin:16px 0 22px}
.badge-row span{
  display:inline-flex;
  align-items:center;
  gap:6px;
  font-size:12px;
  font-weight:700;
  color:var(--soft);
  border:1px solid var(--line);
  background:var(--panel);
  padding:6px 11px;
  border-radius:7px}
.badge-row .icon{
  width:14px;
  height:14px;
  color:var(--accent)}
.stats-strip{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  border:1px solid var(--line);
  border-radius:12px;
  overflow:hidden;
  margin:36px 0}
.stats-strip div{
  padding:18px 20px;
  border-right:1px solid var(--line)}
.stats-strip div:last-child{
  border-right:none}
.stats-strip b{
  display:block;
  font-size:26px;
  font-weight:800;
  letter-spacing:-.5px}
.stats-strip span{
  font-size:12px;
  color:var(--muted)}
.section-compact{
  padding-top:52px;
  padding-bottom:52px}
.capabilities-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:14px}
.capability-tile{
  border:1px solid var(--line);
  border-radius:12px;
  padding:20px;
  background:var(--panel)}
.capability-tile .icon{
  color:var(--accent);
  margin-bottom:14px}
.capability-tile h4{
  font-size:14px;
  margin:0 0 6px;
  letter-spacing:-.2px}
.capability-tile p{
  font-size:12.5px;
  color:var(--muted);
  line-height:1.6;
  margin:0}
.flow-compact{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:12px;
  padding:0 0 8px}
.flow-compact div{
  border:1px solid var(--line);
  background:var(--panel);
  border-radius:10px;
  padding:14px 16px;
  display:flex;
  align-items:center;
  gap:10px;
  font-size:13px;
  color:var(--soft)}
.flow-compact .icon{
  color:var(--accent);
  flex-shrink:0}
.cta-strip{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:30px;
  border:1px solid var(--line);
  border-radius:12px;
  padding:32px 36px;
  background:var(--panel)}
.cta-strip h3{
  font-size:22px;
  margin:0 0 6px}
.cta-strip p{
  color:var(--muted);
  font-size:14px;
  margin:0}
@media(max-width:1000px){
  .hero-compact{grid-template-columns:1fr}
  .stats-strip{grid-template-columns:repeat(2,1fr)}
  .capabilities-grid{grid-template-columns:repeat(2,1fr)}
  .flow-compact{grid-template-columns:1fr 1fr}
  .cta-strip{flex-direction:column;align-items:flex-start}
}
@media(max-width:1000px){
  .hero{
  gap:30px}
.hero h1{
  font-size:50px}
.auth-layout{
  gap:35px}
.wrap{
  padding-left:24px;
  padding-right:24px}
.brand small{
  display:none}
.cards{
  grid-template-columns:1fr 1fr}
.flow{
  grid-template-columns:1fr 1fr}
}
@media(max-width:720px){
  .header{
  height:auto;
  padding:18px;
  flex-wrap:wrap;
  gap:18px}
.brand-logo{
  width:52px;
  height:52px}
.brand strong{
  font-size:20px}
nav{
  gap:13px;
  width:100%;
  justify-content:space-between;
  font-size:13px}
.nav-button{
  padding:9px 11px}
.nav-button span{
  margin-left:5px}
.hero,.auth-layout{
  grid-template-columns:1fr;
  padding-top:45px;
  padding-bottom:50px;
  gap:38px}
.hero h1,.auth-layout h1{
  font-size:43px;
  letter-spacing:-2px}
.cards,.flow{
  grid-template-columns:1fr}
.section{
  padding-top:50px;
  padding-bottom:50px}
.section-head,.download-block{
  display:block}
.section-head p{
  margin-top:20px}
h2{
  font-size:31px}
.download-block{
  padding:27px}
.portal-grid{
  grid-template-columns:1fr}
.sidebar{
  flex-direction:row;
  overflow:auto}
.sidebar a{
  white-space:nowrap;
  padding:12px}
.portal-heading{
  gap:15px}
.portal-heading h1{
  font-size:29px}
.portal-content .cards{
  grid-template-columns:1fr}
.activity{
  display:block}
.activity time{
  display:block;
  margin-top:8px}
footer{
  align-items:start;
  flex-direction:column}
.auth-layout .card{
  padding:25px}
#toast{
  right:15px;
  left:15px;
  bottom:15px}
}

