:root{
  --rdc-blue:#00a3e0;
  --rdc-yellow:#ffd100;
  --rdc-red:#ce1126;
  --bg:#f5f7fb;
  --panel:#ffffff;
  --line:#e2e8f0;
  --text:#0f172a;
  --muted:#64748b;
  --shadow:0 12px 32px rgba(15,23,42,.07);
  --radius:22px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:Inter,Arial,Helvetica,sans-serif;
  background:var(--bg);
  color:var(--text);
}
a{text-decoration:none;color:inherit}
button,input,select,textarea{font:inherit}
img{max-width:100%;display:block}
.container{width:min(1180px,calc(100% - 32px));margin:0 auto}
.hidden{display:none!important}

/* shared */
.logo{
  width:46px;height:46px;border-radius:16px;background:#fff;position:relative;overflow:hidden;
  border:1px solid var(--line); box-shadow:0 10px 24px rgba(0,163,224,.18)
}
.logo::before{content:"";position:absolute;top:0;right:0;width:10px;height:100%}
.logo::after{content:"CF";position:absolute;inset:0;display:grid;place-items:center;color:var(--rdc-red);font-weight:800;font-size:14px}
.brand{display:flex;align-items:center;gap:12px}
.brand .title{font-weight:800}
.brand .sub{font-size:13px;color:var(--muted)}
.btn{
  border:none;background:var(--rdc-blue);color:#fff;padding:12px 18px;border-radius:16px;
  font-weight:700;cursor:pointer;box-shadow:0 12px 22px rgba(0,163,224,.18);font-size: 0.8rem
}
.btn-outline{
  border:1px solid var(--line);background:#fff;color:var(--text);padding:12px 18px;border-radius:16px;
  font-weight:700;cursor:pointer
}
.btn-soft{
  border:1px solid var(--line);background:#fff;color:var(--muted);padding:12px 18px;border-radius:16px;
  font-weight:700;cursor:pointer;font-size: 0.8rem
}
.badge{
  display:inline-flex;align-items:center;gap:6px;padding:8px 12px;border-radius:999px;font-size:12px;font-weight:800;
  border:1px solid transparent;white-space:nowrap
}
.b-neutral{background:#eef2f7;color:#334155;border-color:#dbe2ea}
.b-blue{background:#dff4ff;color:#0b6ea8;border-color:#b8e7ff}
.b-yellow{background:#fff4c1;color:#8c6800;border-color:#ffe488}
.b-red{background:#ffe0e6;color:#a61b35;border-color:#ffc4cf}
.b-green{background:#dff7e7;color:#18794e;border-color:#b8ecc8}
.card{
  background:var(--panel);border:1px solid var(--line);border-radius:28px;padding:24px;
  box-shadow:0 12px 28px rgba(15,23,42,.04)
}
.section{padding:72px 0;background:#fff}
.section.alt{background:#f8fafc}
.section-title{max-width:780px}
.section-title .mini{
  text-transform:uppercase;letter-spacing:.22em;font-size:12px;color:var(--muted);font-weight:800
}
.section-title h1,.section-title h2{letter-spacing:-.03em;line-height:1.05}
.section-title h1{font-size:clamp(1.9rem,4vw,2.3rem);margin:16px 0 0}
.section-title h2{font-size:clamp(1.6rem,3vw,2rem);margin:14px 0 0}
.section-title p{margin:16px 0 0;color:var(--muted);line-height:1.8;font-size:15px}
.pill-row{display:flex;flex-wrap:wrap;gap:12px;margin-top:22px}
.pill{
  background:#fff;border:1px solid var(--line);
  border-radius:999px;padding:10px 14px;color:var(--muted);font-size:13px;font-weight:700
}
.tricolor-top{border-top:5px solid var(--rdc-blue)}
.tricolor-right{border-right:5px solid var(--rdc-yellow)}
.tricolor-bottom{border-bottom:5px solid var(--rdc-red)}
.tricolor-frame{
  border-top:3px solid var(--rdc-blue);
}
.tricolor-side{
  position:relative;
}
.tricolor-side::before{
  content:"";position:absolute;left:0;top:0;bottom:0;width:6px;border-radius:22px 0 0 22px;
}
.tricolor-side::after{
  content:"";position:absolute;right:0;top:0;bottom:0;width:6px;
  border-radius:0 22px 22px 0;
}
.nav{position:sticky;top:0;z-index:20;background:rgba(255,255,255,.94);backdrop-filter:blur(10px);border-bottom:1px solid var(--line)}
.nav-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 0}
.nav-links{display:flex;align-items:center;gap:24px;color:var(--muted);font-size:14px}
.hero-shell{position:relative;overflow:hidden;background:linear-gradient(180deg,#f8fcff 0%,#ffffff 100%)}
.hero-shell::before{
  content:"";position:absolute;inset:0;
  background:radial-gradient(circle at top right,rgba(0,163,224,.10),transparent 34%),
             radial-gradient(circle at left center,rgba(206,17,38,.08),transparent 28%);
  pointer-events:none
}
.hero-shell::after{
  content:"";position:absolute;left:0;right:0;bottom:0;height:8px;
  background:linear-gradient(90deg,var(--rdc-blue) 0 45%,var(--rdc-yellow) 45% 55%,var(--rdc-red) 55% 100%)
}
.hero-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:42px;padding:72px 0 88px;align-items:center}
.eyebrow{
  display:inline-flex;align-items:center;gap:8px;padding:8px 14px;border:1px solid var(--line);
  border-radius:999px;
  color:var(--muted);font-size:13px;font-weight:700;background:#fff
}
.hero-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:28px}
.preview-card{background:#fff;border:1px solid var(--line);border-radius:30px;box-shadow:var(--shadow);padding:22px}
.stats-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.metric{padding:22px;border-radius:24px;background:#fff;border:1px solid var(--line)}
.metric.primary{background:#fff;color:var(--text)}
.metric h3{margin:8px 0 0;font-size:1.3rem}
.metric p,.metric small{margin:0;color:inherit;opacity:.85}
.flow-card{grid-column:span 2}
.progress{width:100%;height:10px;border-radius:999px;background:#edf2f7;overflow:hidden;margin-top:16px}
.progress>span{
  display:block;height:100%;width:84%;background:var(--rdc-blue);border-radius:inherit
}
.cards-4,.cards-3,.content-grid,.benefits-grid,.kpi-grid,.grid-2,.grid-3{display:grid;gap:18px}
.cards-4{grid-template-columns:repeat(4,minmax(0,1fr));margin-top:30px}
.cards-3{grid-template-columns:repeat(3,minmax(0,1fr));margin-top:30px}
.content-grid{grid-template-columns:1.08fr .92fr;margin-top:26px}
.benefits-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.kpi-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
.grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.icon-box{
  width:48px;height:48px;border-radius:16px;background:#fff;display:grid;place-items:center;font-size:20px;
  border-top:2px solid var(--rdc-blue);border-right:2px solid var(--rdc-yellow);border-bottom:2px solid var(--rdc-red)
}
.card h3{margin:16px 0 0;font-size:1.1rem}
.card p{margin:10px 0 0;color:var(--muted);line-height:1.7}
.benefit{
  display:flex;gap:12px;align-items:flex-start;background:#fff;border:1px solid var(--line);border-radius:22px;padding:18px;
}
.benefit-check{
  width:28px;height:28px;border-radius:999px;display:grid;place-items:center;font-weight:900;flex:0 0 auto;
  background:#fff;border:1px solid var(--line);position:relative;color:var(--rdc-blue)
}
.benefit-check::after{
  content:"";position:absolute;top:0;right:0;width:7px;height:100%;
  border-top-right-radius:999px;border-bottom-right-radius:999px
}
.mobile-mock{
  width:190px;border:3px solid var(--rdc-blue);border-right-color:var(--rdc-red);border-top-color:var(--rdc-yellow);
  border-radius:32px;padding:14px;background:#fff;box-shadow:var(--shadow)
}
.cta-band{
  background:#0f172a;color:#fff;border-radius:34px;padding:34px;display:grid;grid-template-columns:1fr auto;
  align-items:center;gap:20px;box-shadow:var(--shadow);border-top:3px solid var(--rdc-blue);border-bottom:6px solid var(--rdc-red)
}
.cta-band p{color:rgba(255,255,255,.78);line-height:1.7}
.cta-white{background:#fff;color:var(--text);border:none;border-radius:16px;padding:12px 18px;font-weight:800;cursor:pointer}

.phone-stage{display:flex;justify-content:center;align-items:center;gap:18px;flex-wrap:wrap}
.phone{
  width:210px;height:430px;background:#111827;border-radius:34px;padding:10px;
  box-shadow:0 14px 30px rgba(15,23,42,.14);position:relative
}
.phone::before{
  content:"";position:absolute;top:10px;left:50%;transform:translateX(-50%);
  width:82px;height:8px;border-radius:999px;background:#1f2937;z-index:2
}
.phone-screen{
  height:100%;background:#f8fafc;border-radius:26px;overflow:hidden;position:relative
}
.phone-header{
  padding:18px 16px 12px;background:#fff;border-bottom:1px solid var(--line)
}
.phone-topline{
  height:4px;width:54px;border-radius:999px;background:var(--rdc-blue);margin-bottom:10px
}
.phone-title{font-size:14px;font-weight:800}
.phone-sub{font-size:11px;color:var(--muted);margin-top:4px}
.phone-body{padding:14px;display:grid;gap:12px}
.phone-card{
  background:#fff;border:1px solid var(--line);border-radius:18px;padding:12px
}
.phone-chiprow{display:flex;gap:8px;flex-wrap:wrap}
.phone-chip{
  font-size:10px;padding:5px 8px;border-radius:999px;background:#eef2f7;color:#475569
}
.phone-line{height:9px;border-radius:999px;background:#e2e8f0}
.phone-line.blue{background:#dbeafe}
.phone-line.yellow{background:#fef3c7}
.phone-line.red{background:#fee2e2}
.phone-kpi{
  display:grid;grid-template-columns:1fr 1fr;gap:10px
}
.phone-kpi .mini{
  background:#fff;border:1px solid var(--line);border-radius:16px;padding:10px
}
.phone-kpi .value{font-size:18px;font-weight:800;margin-top:5px}
.phone-footerbtn{
  margin-top:2px;background:var(--rdc-blue);color:#fff;text-align:center;border-radius:14px;padding:10px 12px;font-size:12px;font-weight:700
}
.phone-accent{
  position:absolute;left:0;right:0;bottom:0;height:4px;
  background:linear-gradient(90deg,var(--rdc-blue) 0 45%,var(--rdc-yellow) 45% 55%,var(--rdc-red) 55% 100%)
}

/* prototype */
.layout{min-height:100vh;display:grid;grid-template-columns:270px 1fr;background:var(--bg)}
.sidebar{background:#fff;border-right:1px solid var(--line);padding:22px 16px}
.side-promo{
  margin-top:20px;border-radius:28px;padding:22px;color:var(--text);background:#fff;border:1px solid var(--line);
  box-shadow:0 16px 32px rgba(15,23,42,.10);position:relative;overflow:hidden
}
.side-promo::before{content:"";position:absolute;left:0;top:0;bottom:0;width:8px;}
.side-promo::after{
  content:"";position:absolute;right:0;top:0;bottom:0;width:8px;
 
}
.side-nav{margin-top:20px}
.side-nav a{
  display:flex;align-items:center;gap:12px;padding:14px 16px;border-radius:18px;color:var(--muted);font-weight:700;margin-bottom:6px;font-size: 0.8rem;
}
.side-nav a.active{
  color:#fff;background:var(--rdc-blue);box-shadow:0 10px 18px rgba(0,163,224,.18);
}
.main-area{min-width:0}
.topbar{
  background:rgba(255,255,255,.94);backdrop-filter:blur(10px);border-bottom:1px solid var(--line);padding:20px 24px;
  display:flex;align-items:center;justify-content:space-between;gap:14px
}
.topbar p{margin:6px 0 0;color:var(--muted)}
.top-actions{display:flex;gap:10px;flex-wrap:wrap}
.workspace{padding:22px 24px 56px}
.kpi-card{background:#fff;border:1px solid var(--line);border-radius:24px;padding:20px;box-shadow:0 12px 24px rgba(15,23,42,.04)}
.kpi-card .label{color:var(--muted);font-size:14px}
.kpi-card .value{margin-top:10px;font-size:1.7rem;font-weight:800}
.kpi-card .note{margin-top:8px;color:var(--muted);font-size:13px}
.panel-title h3{margin:0}
.panel-title p{margin:8px 0 0;color:var(--muted)}
.toolbar{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.input,.select,.textarea{
  width:100%;padding:12px 14px;border-radius:16px;border:1px solid var(--line);background:#fff;outline:none
}
.textarea{min-height:110px;resize:vertical;border-radius:18px}
.search{min-width:260px}
.list{display:grid;gap:12px;margin-top:18px}
.row{
  border:1px solid var(--line);border-left:5px solid transparent;border-radius:22px;padding:16px;background:#fff;cursor:pointer;transition:.2s ease
}
.row.selected{
  color:var(--text);border-top:4px solid var(--rdc-yellow);
  box-shadow:0 18px 28px rgba(15,23,42,.08)
}
.row-grid{display:flex;justify-content:space-between;gap:14px;align-items:flex-start}
.row-title{font-weight:800}
.row-text{margin-top:8px;font-size:14px}
.row-sub{margin-top:8px;font-size:12px;color:inherit;opacity:.75}
.detail-grid{display:grid;gap:20px}
.detail-pills{display:flex;flex-wrap:wrap;gap:10px}
.detail-pill,a .detail-pill{
  border:1px solid var(--line);background:var(--rdc-blue);border-radius:999px;padding:10px 14px;font-size:12px;font-weight:800;
  color:white
}
.two-col{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.step-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin-top:16px}
.step{text-align:center}
.step-dot{
  width:40px;height:40px;margin:0 auto;border-radius:999px;display:grid;place-items:center;font-size:18px;background:#edf2f7;color:#94a3b8
}
.step.done .step-dot{
  background:#fff;color:var(--rdc-blue);border:1px solid var(--line);position:relative
}
.step.done .step-dot::after{
  content:"";position:absolute;top:0;right:0;width:8px;height:100%;
  border-top-right-radius:999px;border-bottom-right-radius:999px
}
.step label{display:block;margin-top:8px;font-size:11px;color:var(--muted)}
.soft-box{border-radius:24px;padding:22px;background:#f8fafc;border:1px solid var(--line)}
.executive-banner{
  border-radius:30px;padding:28px;color:var(--text);background:#fff;box-shadow:var(--shadow);
  border-top:2px solid var(--rdc-blue);border-right:2px solid var(--rdc-yellow);border-bottom:2px solid var(--rdc-red);border-left:6px solid var(--rdc-blue)
}
.scan-drop{
  margin-top:18px;border:2px dashed var(--rdc-blue);border-right-color:var(--rdc-red);border-top-color:var(--rdc-yellow);
  border-radius:26px;padding:22px;background:#fbfdff
}
.scan-preview{
  background:#fff;border:1px solid var(--line);border-radius:22px;padding:20px;box-shadow:0 10px 24px rgba(15,23,42,.05)
}
.doc-lines{display:grid;gap:10px}
.doc-lines div{height:10px;background:#e2e8f0;border-radius:999px}
.page-links{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px}
.footer{border-top:1px solid var(--line);background:#fff;padding:20px 0 40px}

@media (max-width:1100px){
  .hero-grid,.content-grid,.layout,.cta-band{grid-template-columns:1fr}
  .cards-4{grid-template-columns:repeat(2,minmax(0,1fr))}
  .cards-3,.grid-3,.kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .sidebar{border-right:none;border-bottom:1px solid var(--line)}
}
@media (max-width:720px){
  .nav-links{display:none}
  .cards-4,.cards-3,.benefits-grid,.grid-2,.grid-3,.kpi-grid,.stats-grid,.two-col,.step-grid{grid-template-columns:1fr}
  .hero-grid{padding-top:48px}
  .topbar,.workspace{padding-left:16px;padding-right:16px}
  .container{width:min(100% - 24px,1180px)}
  .cta-band{padding:24px}
  .row-grid{flex-direction:column}
  .search{min-width:100%}
}

.executive-stats{
  display:grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap:18px;
}

@media (max-width: 900px){
  .executive-stats{
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap:14px;
  }

  .executive-stats .soft-box{
    padding:16px;
  }

  .executive-stats .soft-box div:first-child{
    font-size:13px !important;
    line-height:1.3;
  }

  .executive-stats .soft-box div:last-child{
    font-size:1.7rem !important;
    margin-top:6px !important;
  }
}
