  :root{
    --ink:#0F1424;
    --ink-2:#161D33;
    --paper:#F6F4EE;
    --paper-dim:#EAE7DC;
    --blue:#2A5CDB;
    --blue-dim:#15329E;
    --slate:#8A93A8;
    --red:#D93A3A;
    --red-dim:#A82626;
    --line: rgba(246,244,238,0.12);
    --line-dark: rgba(15,20,36,0.10);
    --radius: 2px;
    --maxw: 1180px;
  }
  *{box-sizing:border-box;}
  html{scroll-behavior:smooth;}
  body{
    margin:0;
    background:var(--paper);
    color:var(--ink);
    font-family:'Inter', sans-serif;
    -webkit-font-smoothing:antialiased;
  }
  h1,h2,h3,h4{
    font-family:'Inter', sans-serif;
    margin:0;
    letter-spacing:-0.01em;
  }
  .mono{
    font-family:'Inter', sans-serif;
    font-weight:600;
    font-size:12.5px;
    letter-spacing:0.06em;
    text-transform:uppercase;
  }
  a{color:inherit;text-decoration:none;}
  img{max-width:100%;display:block;}
  .wrap{max-width:var(--maxw); margin:0 auto; padding:0 32px;}
  @media (max-width:640px){ .wrap{padding:0 20px;} }

  /* prefers-reduced-motion */
  @media (prefers-reduced-motion: reduce){
    *{animation-duration:0.001ms !important; animation-iteration-count:1 !important; transition-duration:0.001ms !important;}
  }

  /* ---------- NAV ---------- */
  header{
    position:sticky; top:0; z-index:50;
    background:rgba(246,244,238,0.88);
    backdrop-filter:blur(10px);
    border-bottom:1px solid var(--line-dark);
  }
  nav.wrap{
    display:flex; align-items:center; justify-content:space-between;
    height:76px;
  }
  .brand{
    display:flex; align-items:center; gap:10px;
    font-family:'Inter', sans-serif;
    font-weight:700; font-size:19px;
  }
  .brand-mark{
    width:26px;height:26px;
    position:relative;
    flex-shrink:0;
  }
  .brand-mark svg{width:100%;height:100%;}
  .navlinks{display:flex; gap:36px; align-items:center;}
  .navlinks a{
    font-size:14px; font-weight:500; color:var(--ink);
    position:relative; padding:4px 0;
  }
  .navlinks a::after{
    content:''; position:absolute; left:0; bottom:0; height:1px; width:0;
    background:var(--ink); transition:width .25s ease;
  }
  .navlinks a:hover::after{width:100%;}
  .navlinks a:focus-visible, a:focus-visible{outline:2px solid var(--blue-dim); outline-offset:3px;}
  .nav-cta{
    background:var(--ink); color:var(--paper) !important;
    padding:10px 20px; border-radius:var(--radius);
    font-size:13.5px; font-weight:600;
  }
  .nav-cta:hover{background:var(--blue-dim);}
  .navlinks a.nav-cta::after{display:none;}
  .navtoggle{display:none;}
  @media (max-width: 880px){
    .navlinks{display:none;}
    .navtoggle{display:block; background:none; border:none; cursor:pointer;}
  }

  /* ---------- HERO ---------- */
  .hero{
    position:relative;
    background:var(--ink);
    color:var(--paper);
    overflow:hidden;
    border-bottom:1px solid var(--line-dark);
  }
  .hero-grid{
    display:grid; grid-template-columns: 1.05fr 0.95fr; gap:40px;
    align-items:center;
    padding:96px 0 88px;
    position:relative; z-index:2;
  }
  @media (max-width:900px){
    .hero-grid{grid-template-columns:1fr; padding:64px 0 48px;}
  }
  .eyebrow{
    color:var(--blue); margin-bottom:22px; display:flex; align-items:center; gap:10px;
  }
  .eyebrow::before{
    content:''; width:22px; height:1px; background:var(--blue);
  }
  .hero h1{
    font-size:clamp(2.4rem, 5vw, 3.85rem);
    font-weight:700;
    line-height:1.04;
    color:var(--paper);
  }
  .hero h1 em{
    font-style:normal; color:var(--red);
  }
  .hero p.lede{
    margin-top:26px; max-width:480px;
    font-size:17px; line-height:1.65; color:var(--slate);
  }
  .hero-ctas{display:flex; gap:14px; margin-top:38px; flex-wrap:wrap;}
  .btn{
    display:inline-flex; align-items:center; gap:8px;
    padding:14px 26px; border-radius:var(--radius);
    font-size:14.5px; font-weight:600;
    border:1px solid transparent;
    cursor:pointer;
    transition:transform .15s ease, background .2s ease, border-color .2s ease;
  }
  .btn:hover{transform:translateY(-2px);}
  .btn-primary{background:var(--blue); color:var(--ink);}
  .btn-primary:hover{background:#5be0cf;}
  .btn-ghost{border-color:var(--line); color:var(--paper);}
  .btn-ghost:hover{border-color:var(--blue); color:var(--blue);}

  .hero-stats{
    display:flex; gap:34px; margin-top:56px; flex-wrap:wrap;
  }
  .stat b{
    font-family:'Inter'; font-weight:700; font-size:1.7rem; color:var(--paper); display:block;
  }
  .stat span{color:var(--slate); font-size:12.5px;}

  /* network canvas */
  .network-box{
    position:relative; height:420px;
    border:1px solid var(--line);
    border-radius:var(--radius);
    background:
      linear-gradient(180deg, rgba(58,110,224,0.08), transparent 40%),
      #0B0F1D;
  }
  .network-box canvas{width:100%; height:100%; display:block;}
  .network-caption{
    position:absolute; bottom:14px; left:14px; right:14px;
    display:flex; justify-content:space-between;
    color:var(--slate); font-size:11px;
  }
  @media (max-width:900px){ .network-box{height:300px;} }

  /* ---------- SECTION SHELL ---------- */
  section{padding:100px 0;}
  .section-head{
    display:flex; justify-content:space-between; align-items:flex-end; gap:24px;
    margin-bottom:56px; flex-wrap:wrap;
  }
  .section-head .eyebrow{color:var(--blue-dim);}
  .section-head .eyebrow::before{background:var(--blue-dim);}
  .section-head h2{font-size:clamp(1.8rem, 3.2vw, 2.5rem); max-width:620px;}
  .section-head p{color:#57607a; max-width:360px; font-size:14.5px; line-height:1.6;}

  /* ---------- SERVICES ---------- */
  .services{background:var(--paper);}
  .service-grid{
    display:grid; grid-template-columns:repeat(3, 1fr); gap:1px;
    background:var(--line-dark);
    border:1px solid var(--line-dark);
  }
  @media (max-width:860px){ .service-grid{grid-template-columns:1fr;} }
  .service-card{
    background:var(--paper); padding:38px 32px;
    transition:background .25s ease;
    position:relative;
  }
  .service-card:hover{background:#FBFAF6;}
  .service-index{
    font-family:'Inter'; font-weight:600; font-size:12px; letter-spacing:0.04em; text-transform:uppercase; color:var(--slate); margin-bottom:22px; display:block;
  }
  .service-card h3{font-size:1.25rem; margin-bottom:12px;}
  .service-card p{font-size:14px; line-height:1.65; color:#57607a; margin:0 0 20px;}
  .service-card a.more{
    font-size:13px; font-weight:600; color:var(--ink);
    border-bottom:1px solid var(--ink); padding-bottom:2px;
  }
  .service-card a.more:hover{color:var(--blue-dim); border-color:var(--blue-dim);}

  /* ---------- ABOUT / MISSION ---------- */
  .about{background:var(--paper-dim); border-top:1px solid var(--line-dark); border-bottom:1px solid var(--line-dark);}
  .about-grid{display:grid; grid-template-columns:0.9fr 1.1fr; gap:70px; align-items:center;}
  @media (max-width:900px){ .about-grid{grid-template-columns:1fr; gap:40px;} }
  .about h2{font-size:clamp(1.8rem,3vw,2.4rem); margin-bottom:22px;}
  .about p.body-text{font-size:16px; line-height:1.75; color:#3d4457; max-width:520px;}
  .mission-figures{
    display:grid; grid-template-columns:1fr 1fr; gap:1px; background:var(--line-dark); border:1px solid var(--line-dark); margin-top:32px;
  }
  .mission-figures div{background:var(--paper-dim); padding:22px 20px;}
  .mission-figures b{font-family:'Inter'; font-weight:700; font-size:1.5rem; display:block;}
  .mission-figures span{font-size:12px; color:#5c6478;}

  .diagram-card{
    border:1px solid var(--line-dark); background:var(--ink); border-radius:var(--radius);
    padding:34px; color:var(--paper);
  }
  .diagram-card .mono{color:var(--blue);}
  .diagram-list{list-style:none; margin:22px 0 0; padding:0;}
  .diagram-list li{
    display:flex; gap:14px; padding:14px 0; border-top:1px solid var(--line); font-size:14.5px;
  }
  .diagram-list li:first-child{border-top:none;}
  .diagram-list b{font-family:'Inter'; font-weight:600; color:var(--blue); min-width:26px;}

  /* ---------- SOLUTIONS ---------- */
  .solutions{background:var(--ink); color:var(--paper);}
  .solutions .section-head p{color:var(--slate);}
  .solutions .section-head .eyebrow{color:var(--blue);}
  .solutions .section-head .eyebrow::before{background:var(--blue);}
  .sol-grid{display:grid; grid-template-columns:repeat(3, 1fr); gap:24px;}
  @media (max-width:860px){ .sol-grid{grid-template-columns:1fr;} }
  .sol-card{
    border:1px solid var(--line); border-radius:var(--radius);
    padding:30px; transition:border-color .2s ease, transform .2s ease;
  }
  .sol-card:hover{border-color:var(--blue); transform:translateY(-4px);}
  .sol-card h3{font-size:1.15rem; margin:18px 0 10px;}
  .sol-card p{font-size:13.5px; line-height:1.6; color:var(--slate);}
  .sol-icon{
    width:38px; height:38px; border:1px solid var(--blue); border-radius:50%;
    display:flex; align-items:center; justify-content:center; color:var(--blue); font-family:'Inter'; font-weight:600; font-size:13px;
  }

  /* ---------- CONTACT CTA ---------- */
  .cta-band{background:var(--paper); padding:90px 0; text-align:center;}
  .cta-band h2{font-size:clamp(1.9rem,4vw,2.8rem); max-width:640px; margin:0 auto 24px;}
  .cta-band p{color:#57607a; max-width:460px; margin:0 auto 34px; font-size:15.5px;}

  /* ---------- FOOTER ---------- */
  footer{background:var(--ink); color:var(--paper); padding:64px 0 28px; border-top:1px solid var(--line);}
  .footer-grid{
    display:grid; grid-template-columns:1.3fr 0.8fr 0.8fr 1fr; gap:40px;
    padding-bottom:44px; border-bottom:1px solid var(--line);
  }
  @media (max-width:820px){ .footer-grid{grid-template-columns:1fr 1fr; row-gap:32px;} }
  .footer-grid h4{font-size:12.5px; text-transform:uppercase; letter-spacing:0.08em; color:var(--slate); margin-bottom:18px; font-family:'Inter'; font-weight:600;}
  .footer-grid ul{list-style:none; margin:0; padding:0;}
  .footer-grid li{margin-bottom:11px;}
  .footer-grid a{font-size:14px; color:var(--paper); opacity:0.85;}
  .footer-grid a:hover{opacity:1; color:var(--blue);}
  .foot-brand p{color:var(--slate); font-size:14px; line-height:1.6; max-width:280px; margin-top:16px;}
  .foot-bottom{
    display:flex; justify-content:space-between; align-items:center; padding-top:26px; flex-wrap:wrap; gap:12px;
  }
  .foot-bottom span{font-size:12.5px; color:var(--slate);}

  .skip-link{
    position:absolute; left:-999px; top:auto;
    background:var(--blue); color:var(--ink); padding:10px 16px; z-index:100;
  }
  .skip-link:focus{left:16px; top:16px;}
