:root{
    --bg-900:#FFFFFF;
    --bg-800:#F5F7FA;
    --bg-700:#E2E8F0;
    --violet-500:#18CB96;
    --violet-400:#12A87A;
    --violet-300:#0B7A57;
    --violet-900:#DFFBF1;
    --gold-500:#F97316;
    --gold-300:#FDE68A;
    --red-500:#EF4444;
    --text-1:#0F172A;
    --text-2:#475569;
    --text-3:#64748B;
    --line:rgba(15,23,42,0.10);
    --line-strong:rgba(15,23,42,0.20);
  }
  *{margin:0;padding:0;box-sizing:border-box;}
  html{scroll-behavior:smooth;}
  body{
    font-family:'Inter',sans-serif;
    background:var(--bg-900);
    color:var(--text-1);
    line-height:1.6;
    -webkit-font-smoothing:antialiased;
  }
  a{color:inherit;text-decoration:none;}
  .wrap{max-width:1300px;margin:0 auto;padding:0 32px;}
  img,svg{display:block;max-width:100%;}

  /* ===== nav ===== */
  nav{
    border-bottom:1px solid var(--line);position:sticky;top:0;
    background:rgba(255,255,255,0.86);backdrop-filter:blur(10px);z-index:50;
  }
  nav .wrap{display:flex;align-items:center;justify-content:space-between;height:74px;}
  .logo{display:flex;align-items:center;gap:9px;font-weight:600;font-size:18px;font-family:'Sora',sans-serif;}
  .logo-dot{width:8px;height:8px;border-radius:50%;background:var(--gold-500);}
  .nav-links{display:flex;align-items:center;gap:32px;}
  .nav-links a{font-size:14.5px;font-weight:500;color:var(--text-2);transition:color .15s;}
  .nav-links a:hover{color:var(--text-1);}
  .nav-cta{
    background:var(--violet-500);color:#fff;padding:10px 20px;border-radius:6px;
    font-size:14px;font-weight:600;transition:background .15s;
  }
  .nav-cta:hover{background:var(--violet-400);}
  @media(max-width:820px){.nav-links{display:none;}}

  /* ===== breadcrumb + subpage hero ===== */
  .crumb{font-size:13px;color:var(--text-2);margin-bottom:18px;justify-content:center;display:flex;}
  .crumb a{color:var(--violet-500);font-weight:500;}
  .crumb a:hover{text-decoration:underline;}
  .kicker{
    font-family:'Inter',sans-serif;font-size:12px;font-weight:500;color:var(--gold-500);
    text-transform:uppercase;letter-spacing:0.06em;margin-bottom:22px;
    display:inline-flex;align-items:center;gap:9px;padding:6px 12px;
    border:1px solid var(--line-strong);border-radius:20px;
  }
  .subpage-hero{padding:72px 0 56px;text-align:center;border-bottom:1px solid var(--line);}
  .subpage-hero h1{
    font-size:clamp(32px,4.6vw,50px);font-weight:400;line-height:1.12;
    margin-bottom:18px;font-family:'Sora',sans-serif;
  }
  .subpage-hero p.sub{font-size:17px;color:var(--text-2);max-width:600px;margin:0 auto 28px;}
  .hero-ctas{display:flex;gap:14px;align-items:center;justify-content:center;flex-wrap:wrap;}
  .btn-primary{
    background:var(--violet-500);color:#fff;padding:14px 24px;border-radius:6px;
    font-weight:600;font-size:14.5px;transition:background .15s,transform .15s;display:inline-block;
  }
  .btn-primary:hover{background:var(--violet-400);transform:translateY(-1px);}
  .btn-ghost{
    padding:14px 22px;border-radius:6px;font-weight:600;font-size:14.5px;
    border:1px solid var(--line-strong);color:var(--text-1);
    transition:border-color .15s,background .15s;
  }
  .btn-ghost:hover{border-color:var(--violet-400);background:rgba(24,203,150,0.06);}

  section{padding:80px 0;}
  .section-head{max-width:620px;margin:0 auto 50px;text-align:center;}
  .section-head p{color:var(--text-2);font-size:16px;margin-top:14px;}
  .section-head h2{font-size:clamp(26px,3vw,36px);font-weight:400;line-height:1.2;font-family:'Sora',sans-serif;}

  /* ===== persona / factor grid ===== */
  .factor-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:22px;}
  .factor-card{
    background:var(--bg-900);border:1px solid var(--line);border-radius:12px;
    padding:26px;display:flex;flex-direction:column;
  }
  .factor-card .fnum{
    font-family:'Sora',sans-serif;font-size:12px;color:var(--violet-500);font-weight:600;
    background:var(--violet-900);display:inline-flex;padding:4px 10px;border-radius:6px;
    margin-bottom:16px;width:fit-content;
  }
  .factor-card h3{font-size:17px;font-weight:600;margin-bottom:10px;font-family:'Sora',sans-serif;}
  .factor-card p.desc{font-size:14px;color:var(--text-2);margin-bottom:16px;}
  .factor-card ul{list-style:none;margin-bottom:18px;flex:1;}
  .factor-card li{display:flex;gap:8px;font-size:13px;color:var(--text-2);padding:5px 0;}
  .factor-card li .b{color:var(--violet-500);font-weight:700;flex-shrink:0;}
  .factor-card .link{font-size:13px;font-weight:600;color:var(--violet-500);}
  .factor-card:hover{
    transform:translateY(-4px);border-color:rgba(24,203,150,0.35);
    transition:transform 300ms ease-out,box-shadow 300ms ease-out,border-color 300ms ease-out;
    box-shadow:0 10px 25px rgba(0,0,0,0.08),0 4px 10px rgba(0,0,0,0.04);
  }
  @media(max-width:1000px){.factor-grid{grid-template-columns:repeat(2,1fr);}}
  @media(max-width:600px){.factor-grid{grid-template-columns:1fr;}}

  /* ===== feature rows ===== */
  .features-section{background:var(--bg-800);border-top:1px solid var(--line);border-bottom:1px solid var(--line);}
  .feature-row{
    display:grid;grid-template-columns:0.9fr 1.1fr;gap:56px;align-items:center;
    padding:50px 0;border-top:1px solid var(--line);
  }
  .feature-row:first-of-type{border-top:none;padding-top:0;}
  .feature-row.reverse .feature-copy{order:2;}
  .feature-row.reverse .feature-visual{order:1;}
  .feature-tag{
    display:inline-block;font-family:'Inter',sans-serif;font-size:11.5px;color:var(--violet-300);
    background:var(--violet-900);padding:4px 10px;border-radius:4px;margin-bottom:16px;
  }
  .feature-copy h3{font-size:23px;font-weight:400;margin-bottom:14px;font-family:'Sora',sans-serif;}
  .feature-copy p{color:var(--text-2);font-size:15.5px;margin-bottom:20px;}
  .feature-list{list-style:none;}
  .feature-list li{display:flex;gap:10px;font-size:14.5px;padding:6px 0;}
  .feature-list li .b{color:var(--gold-500);font-weight:700;}
  .feature-visual{background:var(--bg-900);border:1px solid var(--line);border-radius:10px;padding:22px;}
  @media(max-width:800px){
    .feature-row,.feature-row.reverse{grid-template-columns:1fr;gap:26px;}
    .feature-row.reverse .feature-copy{order:1;}
    .feature-row.reverse .feature-visual{order:2;}
  }

  /* mockups inside feature-visual */
  .mock-table{width:100%;border-collapse:collapse;font-size:13px;}
  .mock-table th{
    text-align:left;font-family:'Inter',sans-serif;font-weight:500;color:var(--text-2);
    font-size:10.5px;text-transform:uppercase;letter-spacing:0.03em;padding:0 8px 10px;
    border-bottom:1px solid var(--line);
  }
  .mock-table td{padding:12px 8px;border-bottom:1px solid var(--line);font-size:13.5px;}
  .mock-table tr:last-child td{border-bottom:none;}
  .pill{display:inline-block;padding:3px 9px;border-radius:4px;font-size:11px;font-weight:600;font-family:'Inter',sans-serif;}
  .pill.cited{background:var(--violet-900);color:var(--violet-300);}
  .pill.missing{background:rgba(239,68,68,0.12);color:var(--red-500);}

  .gauge-card{display:flex;flex-direction:column;gap:20px;}
  .gauge-row{display:flex;align-items:center;justify-content:space-between;}
  .gauge-row .name{font-size:13.5px;font-weight:500;}
  .gauge-bar-bg{height:7px;background:var(--bg-800);border-radius:3px;overflow:hidden;flex:1;margin:0 14px;}
  .gauge-bar-fill{height:100%;background:var(--violet-500);}
  .gauge-val{font-family:'Inter',sans-serif;font-size:12.5px;color:var(--text-2);width:36px;text-align:right;}

  .alert-item{display:flex;gap:12px;padding:13px 0;border-bottom:1px solid var(--line);}
  .alert-item:last-child{border-bottom:none;}
  .alert-dot{width:7px;height:7px;border-radius:50%;background:var(--red-500);margin-top:6px;flex-shrink:0;}
  .alert-item.pos .alert-dot{background:var(--violet-500);}
  .alert-item .t{font-size:13.5px;font-weight:500;}
  .alert-item .d{font-size:11.5px;color:var(--text-2);margin-top:2px;font-family:'Inter',sans-serif;}

  /* ===== timeline ===== */
  .timeline{position:relative;display:grid;grid-template-columns:repeat(3,1fr);gap:36px;margin-top:20px;}
  .timeline::before{content:"";position:absolute;top:11px;left:0;right:0;height:1px;background:var(--line);}
  .tstep{position:relative;padding-top:32px;}
  .tstep::before{
    content:"";position:absolute;top:0;left:0;width:22px;height:22px;border-radius:50%;
    background:var(--bg-800);border:2px solid var(--violet-500);
  }
  .tstep h3{font-size:17px;font-weight:600;margin-bottom:8px;}
  .tstep p{font-size:14px;color:var(--text-2);}
  @media(max-width:800px){.timeline{grid-template-columns:1fr;}.timeline::before{display:none;}}

  /* ===== pull quote ===== */
  .quote-section{text-align:center;}
  .pull{
    font-family:'Sora',sans-serif;font-weight:500;font-size:clamp(22px,3vw,30px);
    line-height:1.5;max-width:760px;margin:0 auto 22px;color:var(--text-1);
  }
  .quote-attr{font-size:14px;color:var(--text-2);}
  .quote-attr strong{color:var(--text-1);}

  /* ===== stats strip ===== */
  .strip{padding:44px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);background:var(--bg-800);}
  .strip-inner{
    display:flex;align-items:center;justify-content:space-between;
    flex-wrap:wrap;gap:24px;
  }
  .strip-label{
    font-family:'Inter',sans-serif;font-size:11.5px;color:var(--text-2);
    text-transform:uppercase;letter-spacing:0.05em;
  }
  .strip-engines{display:flex;gap:40px;flex-wrap:wrap;}
  .strip-engines .stat-num{font-family:'Sora',sans-serif;font-size:22px;font-weight:600;color:var(--text-1);}
  .strip-engines .stat-label{font-family:'Inter',sans-serif;font-size:12px;color:var(--text-2);margin-top:2px;}

  /* ===== CTA band ===== */
  .cta-band{background:var(--violet-500);text-align:left;padding:72px 0;}
  .cta-inner{display:flex;justify-content:space-between;align-items:center;gap:32px;flex-wrap:wrap;}
  .cta-band h2{
    font-family:'Sora',sans-serif;font-size:clamp(26px,3.6vw,38px);
    font-weight:400;color:#fff;max-width:480px;
  }
  .cta-band .btn-primary{background:#fff;color:var(--violet-500);flex-shrink:0;}
  .cta-band .btn-primary:hover{background:#EFFDF9;}

  /* ===== footer ===== */
  footer{background:var(--bg-800);color:var(--text-2);padding-top:64px;border-top:1px solid var(--line);}
  footer .wrap{max-width:1300px;}
  .footer-top{
    display:grid;grid-template-columns:1.4fr repeat(4,1fr);gap:40px;
    padding-bottom:48px;border-bottom:1px solid var(--line);
  }
  .footer-brand .flogo{
    color:var(--text-1);font-weight:600;font-family:'Sora',sans-serif;font-size:18px;
    display:flex;align-items:center;gap:8px;margin-bottom:14px;
  }
  .footer-brand p{font-size:13.5px;color:var(--text-2);max-width:260px;margin-bottom:22px;line-height:1.6;}
  .footer-social{display:flex;flex-wrap:wrap;gap:10px;}
  .footer-social a{
    width:34px;height:34px;border-radius:8px;border:1px solid var(--line-strong);
    display:flex;align-items:center;justify-content:center;color:var(--text-2);
    transition:border-color .15s,color .15s,background .15s;font-size:12px;font-weight:600;
  }
  .footer-social a:hover{border-color:var(--violet-400);color:var(--violet-400);background:var(--violet-900);}
  .footer-col-head{
    font-family:'Inter',sans-serif;font-size:11.5px;font-weight:600;color:var(--text-1);
    text-transform:uppercase;letter-spacing:0.05em;margin-bottom:18px;
  }
  .footer-col a{display:block;font-size:13.5px;color:var(--text-2);padding:7px 0;transition:color .15s;}
  .footer-col a:hover{color:var(--violet-400);}
  .footer-bottom{
    display:flex;justify-content:space-between;align-items:center;
    flex-wrap:wrap;gap:14px;padding:24px 0 28px;
  }
  .footer-legal{display:flex;align-items:center;gap:20px;flex-wrap:wrap;}
  .footer-legal a{font-size:12.5px;color:var(--text-2);transition:color .15s;}
  .footer-legal a:hover{color:var(--text-1);}
  .footer-bottom .mono{font-size:12.5px;color:var(--text-3);}
  @media(max-width:900px){
    .footer-top{grid-template-columns:1fr 1fr;gap:36px 28px;}
    .footer-brand{grid-column:1 / -1;}
  }
  @media(max-width:600px){
    .footer-top{grid-template-columns:1fr;}
    .footer-bottom{flex-direction:column;align-items:flex-start;}
  }

  @media(max-width:900px){
    .wrap{padding:0 20px;}
    section{padding:56px 0;}
  }
