:root{
  --ink:#0B1220;
  --ink-soft:#3B4254;
  --slate:#5B6272;
  --blue:#5B6CE8;
  --blue-deep:#3F4FCB;
  --paper:#F7F5F0;
  --paper-2:#EFECE5;
  --line:#DEDAD1;
  --white:#FFFFFF;
  --radius:14px;
  --maxw:1180px;
}
*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;
  font-family:'Inter',system-ui,sans-serif;
  background:var(--paper);
  color:var(--ink);
  -webkit-font-smoothing:antialiased;
}
@media (prefers-reduced-motion: reduce){
  *{animation:none !important; transition:none !important;}
}
a{color:inherit;}
.wrap{max-width:var(--maxw); margin:0 auto; padding:0 32px;}
img,svg{display:block;}

a:focus-visible, button:focus-visible{
  outline:2px solid var(--blue);
  outline-offset:3px;
  border-radius:4px;
}

/* NAV */
header.nav{
  position:sticky; top:0; z-index:50;
  background:rgba(247,245,240,0.92);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--line);
}
.nav-inner{
  display:flex; align-items:center; justify-content:space-between;
  padding:16px 32px; max-width:var(--maxw); margin:0 auto; gap:24px;
}
.brand{display:flex; align-items:center; gap:12px; font-weight:800; font-size:18px; letter-spacing:-0.01em; text-decoration:none; flex:none;}
.brand .logo{width:30px; height:auto; object-fit:contain;}
.brand .sft{font-weight:600; font-size:12px; letter-spacing:0.18em; color:var(--slate); margin-left:2px;}
nav.links{display:flex; gap:26px; font-size:14px; font-weight:600; flex-wrap:wrap;}
nav.links a{text-decoration:none; color:var(--ink-soft); transition:color .15s ease; white-space:nowrap;}
nav.links a:hover, nav.links a.is-active{color:var(--blue-deep);}
.nav-cta{
  display:inline-flex; align-items:center; gap:8px;
  background:var(--ink); color:var(--white);
  padding:10px 18px; border-radius:999px;
  font-size:13.5px; font-weight:700; text-decoration:none; white-space:nowrap;
  transition:transform .15s ease, background .15s ease;
}
.nav-cta:hover{background:var(--blue-deep); transform:translateY(-1px);}
.lang-switch{
  display:inline-flex; align-items:center; justify-content:center;
  font-size:12.5px; font-weight:800; letter-spacing:0.02em;
  border:1.5px solid var(--line); border-radius:999px; padding:7px 13px;
  text-decoration:none; color:var(--ink-soft); transition:border-color .15s ease, color .15s ease;
  flex:none;
}
.lang-switch:hover{border-color:var(--ink); color:var(--ink);}
.nav-toggle{display:none; background:none; border:none; cursor:pointer; padding:6px;}
.nav-toggle svg{width:22px; height:22px;}
@media (max-width:900px){
  nav.links{display:none;}
  .nav-toggle{display:block;}
  nav.links.is-open{
    display:flex; flex-direction:column; gap:0; position:absolute; top:100%; left:0; right:0;
    background:var(--white); border-bottom:1px solid var(--line); padding:8px 32px 16px;
  }
  nav.links.is-open a{padding:10px 0; border-bottom:1px solid var(--paper-2);}
}

/* HERO */
.hero{position:relative; padding:110px 32px 80px; overflow:hidden;}
.hero-grid{max-width:var(--maxw); margin:0 auto; display:grid; grid-template-columns:1fr 1fr; gap:56px; align-items:center;}
.hero h1{font-size:clamp(36px,4.8vw,58px); line-height:1.05; letter-spacing:-0.03em; font-weight:800; margin:0 0 20px;}
.hero .lede{font-size:19px; line-height:1.55; color:var(--ink-soft); max-width:480px; margin:0 0 30px; font-weight:500;}
.hero-ctas{display:flex; gap:14px; flex-wrap:wrap;}
@media (max-width:900px){ .hero-grid{grid-template-columns:1fr;} .hero{padding-top:90px;} }

/* Simple page hero (non-home) */
.page-hero{padding:80px 32px 50px;}
.page-hero .eyebrow{font-size:11.5px; font-weight:800; letter-spacing:0.16em; color:var(--blue-deep); text-transform:uppercase; margin-bottom:14px;}
.page-hero h1{font-size:clamp(32px,4.4vw,48px); font-weight:800; letter-spacing:-0.02em; margin:0 0 16px; max-width:800px;}
.page-hero p{font-size:18px; line-height:1.6; color:var(--ink-soft); max-width:640px; margin:0;}

.btn-primary{
  background:var(--blue); color:var(--white); text-decoration:none;
  padding:14px 26px; border-radius:999px; font-weight:700; font-size:15px;
  display:inline-flex; align-items:center; gap:8px;
  box-shadow:0 8px 20px -8px rgba(91,108,232,0.55);
  transition:transform .15s ease, box-shadow .15s ease, background .15s ease;
  border:none; cursor:pointer;
}
.btn-primary:hover{transform:translateY(-2px); box-shadow:0 12px 26px -8px rgba(91,108,232,0.65); background:var(--blue-deep);}
.btn-ghost{
  background:transparent; color:var(--ink); text-decoration:none;
  padding:14px 22px; border-radius:999px; font-weight:700; font-size:15px;
  border:1.5px solid var(--line);
  transition:border-color .15s ease, background .15s ease;
}
.btn-ghost:hover{border-color:var(--ink); background:var(--white);}

.hero-panel{background:var(--white); border:1px solid var(--line); border-radius:20px; padding:36px; position:relative;}
.hero-panel .eyebrow{font-size:11.5px; font-weight:800; letter-spacing:0.16em; color:var(--blue-deep); text-transform:uppercase; margin-bottom:14px;}
.hero-panel h2{font-size:25px; line-height:1.2; font-weight:800; letter-spacing:-0.01em; margin:0 0 14px;}
.hero-panel p{font-size:15.5px; line-height:1.6; color:var(--ink-soft); margin:0 0 26px;}

.feature-row{display:grid; grid-template-columns:repeat(3,1fr); gap:0; border-top:1px solid var(--line); padding-top:22px;}
.feature-row .f{padding:0 14px 0 0;}
.feature-row .f:not(:first-child){border-left:1px solid var(--line); padding-left:16px;}
.f .ficon{width:34px; height:34px; border-radius:50%; background:var(--paper-2); display:flex; align-items:center; justify-content:center; margin-bottom:12px;}
.f .ficon svg{width:16px; height:16px; stroke:var(--ink);}
.f h4{font-size:13.5px; font-weight:800; margin:0 0 4px; letter-spacing:-0.005em;}
.f p{font-size:12.5px; color:var(--slate); margin:0; line-height:1.45;}
@media (max-width:900px){
  .feature-row{grid-template-columns:1fr; gap:16px;}
  .feature-row .f{border-left:none !important; padding-left:0 !important; border-top:1px solid var(--line); padding-top:16px;}
  .feature-row .f:first-child{border-top:none; padding-top:0;}
}

/* Generic section */
section.light{padding:76px 32px;}
section.light.tight{padding:50px 32px;}
.section-head{margin-bottom:40px; max-width:640px;}
.section-head.center{margin-left:auto; margin-right:auto; text-align:center;}
.section-head .eyebrow{font-size:11.5px; font-weight:800; letter-spacing:0.16em; color:var(--blue-deep); text-transform:uppercase; margin-bottom:10px;}
.section-head h2{font-size:32px; font-weight:800; letter-spacing:-0.02em; margin:0 0 10px;}
.section-head p{font-size:16.5px; color:var(--slate); margin:0; line-height:1.6;}

/* Capability / feature cards (3-up) */
.card-grid-3{display:grid; grid-template-columns:repeat(3,1fr); gap:20px;}
.card-grid-4{display:grid; grid-template-columns:repeat(4,1fr); gap:18px;}
.card-grid-2{display:grid; grid-template-columns:repeat(2,1fr); gap:20px;}
@media (max-width:900px){ .card-grid-3, .card-grid-4, .card-grid-2{grid-template-columns:1fr;} }
@media (min-width:901px) and (max-width:1100px){ .card-grid-4{grid-template-columns:repeat(2,1fr);} }

.cap-card{background:var(--white); border:1px solid var(--line); border-radius:16px; padding:28px; transition:transform .18s ease, box-shadow .18s ease;}
.cap-card:hover{transform:translateY(-3px); box-shadow:0 14px 30px -18px rgba(11,18,32,0.35);}
.cap-card .cicon{width:40px; height:40px; border-radius:10px; background:var(--paper-2); display:flex; align-items:center; justify-content:center; margin-bottom:18px;}
.cap-card .cicon svg{width:19px; height:19px; stroke:var(--blue-deep); fill:none; stroke-width:1.7;}
.cap-card .kicker{font-size:10.5px; font-weight:800; letter-spacing:0.08em; color:var(--blue-deep); text-transform:uppercase; margin-bottom:8px;}
.cap-card h3{font-size:18px; font-weight:800; margin:0 0 10px; letter-spacing:-0.01em;}
.cap-card p{font-size:14.5px; color:var(--slate); line-height:1.6; margin:0;}

/* Numbered "what we do" cards */
.num-card{background:var(--white); border:1px solid var(--line); border-radius:16px; padding:26px;}
.num-card .num{font-size:12px; font-weight:800; color:var(--blue-deep); letter-spacing:0.05em; margin-bottom:10px;}
.num-card h3{font-size:16.5px; font-weight:800; margin:0 0 8px;}
.num-card p{font-size:14px; color:var(--slate); line-height:1.55; margin:0;}

/* Dark band (AI section, what-we-do, etc.) */
.band{background:var(--ink); color:var(--white); padding:72px 32px;}
.band-inner{max-width:var(--maxw); margin:0 auto;}
.band .eyebrow{font-size:11.5px; font-weight:800; letter-spacing:0.18em; color:#9AA3F5; text-transform:uppercase; margin-bottom:12px;}
.band h2{font-size:30px; font-weight:800; letter-spacing:-0.02em; margin:0 0 14px; max-width:640px;}
.band > .wrap > p, .band-inner > p{font-size:16px; color:#B9BECC; max-width:560px; margin:0 0 34px; line-height:1.6;}
.band-card{background:#141C30; border:1px solid #263049; border-radius:16px; padding:22px;}
.band-card .bicon{width:36px; height:36px; margin-bottom:16px;}
.band-card .bicon svg{width:100%; height:100%; stroke:var(--blue); fill:none; stroke-width:1.6;}
.band-card h4{font-size:15.5px; font-weight:800; margin:0 0 8px; letter-spacing:-0.005em;}
.band-card p{font-size:13.5px; line-height:1.55; color:#B9BECC; margin:0;}

/* Steps (how we work) */
.steps{position:relative; padding-left:6px;}
.step{display:flex; gap:20px; padding-bottom:34px; position:relative;}
.step:last-child{padding-bottom:0;}
.step .dot{width:34px; height:34px; border-radius:50%; background:var(--ink); color:var(--white); display:flex; align-items:center; justify-content:center; font-weight:800; font-size:14px; flex:none; z-index:1;}
.step .stem{position:absolute; left:16px; top:34px; bottom:0; width:1.5px; background:var(--line);}
.step:last-child .stem{display:none;}
.step h4{font-size:16.5px; font-weight:800; margin:6px 0 6px;}
.step p{font-size:14px; color:var(--slate); line-height:1.55; margin:0; max-width:420px;}
.steps-row{display:grid; grid-template-columns:repeat(3,1fr); gap:24px;}
@media (max-width:900px){ .steps-row{grid-template-columns:1fr;} }

/* Audience cards */
.audience-card{background:var(--white); border:1px solid var(--line); border-radius:16px; padding:26px; display:flex; gap:16px; align-items:flex-start; height:100%;}
.audience-card .aicon{width:40px; height:40px; border-radius:10px; background:var(--paper-2); display:flex; align-items:center; justify-content:center; flex:none;}
.audience-card .aicon svg{width:19px; height:19px; stroke:var(--ink);}
.audience-card h4{font-size:14.5px; font-weight:800; margin:0 0 6px;}
.audience-card p{font-size:14.5px; line-height:1.55; color:var(--ink-soft); margin:0;}

/* Technology in practice — subtle project rows, NOT big cards */
.project-list{border:1px solid var(--line); border-radius:16px; overflow:hidden; background:var(--white);}
.project-row{display:flex; align-items:center; justify-content:space-between; gap:16px; padding:18px 22px; border-bottom:1px solid var(--paper-2);}
.project-row:last-child{border-bottom:none;}
.project-row:hover{background:var(--paper-2);}
.project-row .pname{font-weight:800; font-size:15px; margin-right:10px;}
.project-row .pdesc{font-size:13.5px; color:var(--slate);}
.project-row .pmeta{display:flex; align-items:center; gap:10px; flex-shrink:0;}
.pill{font-size:10.5px; font-weight:800; letter-spacing:0.05em; text-transform:uppercase; padding:4px 10px; border-radius:999px; white-space:nowrap;}
.pill-live{background:#E7F6EC; color:#1E7A3D;}
.pill-dev{background:#EDEFFC; color:var(--blue-deep);}
.pill-cat{background:var(--paper-2); color:var(--slate);}

/* Product cards (Software Products page) — compact, information-led */
.product-card{background:var(--white); border:1px solid var(--line); border-radius:16px; padding:24px; display:flex; flex-direction:column; gap:10px;}
.product-card .ptop{display:flex; align-items:center; justify-content:space-between; gap:10px;}
.product-card h3{font-size:17px; font-weight:800; margin:0;}
.product-card p{font-size:14px; color:var(--slate); line-height:1.55; margin:0;}
.product-card a.plink{font-size:13px; font-weight:700; color:var(--blue-deep); text-decoration:none; margin-top:4px;}

/* Insights list */
.insight-grid{display:grid; grid-template-columns:repeat(auto-fit, minmax(280px,1fr)); gap:20px;}
.insight-card{background:var(--white); border:1px solid var(--line); border-radius:16px; padding:24px; text-decoration:none; color:inherit; display:flex; flex-direction:column; gap:8px; transition:transform .18s ease, box-shadow .18s ease;}
.insight-card:hover{transform:translateY(-3px); box-shadow:0 14px 30px -18px rgba(11,18,32,0.35);}
.insight-meta{font-size:12px; font-weight:700; color:var(--slate); text-transform:uppercase; letter-spacing:0.04em; display:flex; gap:8px; align-items:center;}
.insight-card h3{font-size:18px; font-weight:800; margin:0; letter-spacing:-0.01em;}
.insight-card p{font-size:14px; color:var(--slate); margin:0; line-height:1.55;}
.insight-read{font-size:13px; font-weight:700; color:var(--blue-deep); margin-top:2px;}
.category-filter{display:flex; gap:10px; flex-wrap:wrap; margin-bottom:30px;}
.category-filter a{font-size:13px; font-weight:700; padding:8px 14px; border-radius:999px; border:1px solid var(--line); text-decoration:none; color:var(--ink-soft);}
.category-filter a.is-active, .category-filter a:hover{background:var(--ink); color:var(--white); border-color:var(--ink);}

/* Article page */
.breadcrumb{font-size:13px; color:var(--slate); margin-bottom:20px;}
.breadcrumb a{color:var(--slate); text-decoration:none;}
.breadcrumb a:hover{color:var(--blue-deep);}
.article-header{max-width:760px; margin:0 auto; padding:80px 32px 20px;}
.article-header .insight-meta{margin-bottom:16px;}
.article-header h1{font-size:clamp(28px,4vw,42px); font-weight:800; letter-spacing:-0.02em; margin:0 0 18px;}
.article-body{max-width:760px; margin:0 auto; padding:0 32px 60px; font-size:16.5px; line-height:1.75; color:var(--ink-soft);}
.article-body p{margin:0 0 20px;}
.article-body h2{font-size:22px; font-weight:800; color:var(--ink); margin:34px 0 14px;}
.article-body h3{font-size:18px; font-weight:800; color:var(--ink); margin:26px 0 12px;}
.article-footer{max-width:760px; margin:0 auto; padding:0 32px 60px;}
.related{border-top:1px solid var(--line); padding-top:26px; margin-top:20px;}
.related h4{font-size:13px; font-weight:800; text-transform:uppercase; letter-spacing:0.06em; color:var(--slate); margin:0 0 16px;}
.related a{display:block; font-size:15px; font-weight:700; color:var(--ink); text-decoration:none; margin-bottom:10px;}
.related a:hover{color:var(--blue-deep);}

/* CTA band */
.cta-band{background:var(--blue); color:var(--white); padding:64px 32px; text-align:center;}
.cta-band h2{font-size:clamp(26px,3.4vw,38px); font-weight:800; letter-spacing:-0.02em; margin:0 0 14px;}
.cta-band p{font-size:16px; color:#E6E9FD; margin:0 0 30px; max-width:560px; margin-left:auto; margin-right:auto;}
.btn-white{background:var(--white); color:var(--blue-deep); text-decoration:none; padding:15px 30px; border-radius:999px; font-weight:800; font-size:15.5px; display:inline-block; transition:transform .15s ease; border:none; cursor:pointer;}
.btn-white:hover{transform:translateY(-2px);}

/* Contact form */
.contact-form{max-width:560px; margin:0 auto; background:var(--white); border:1px solid var(--line); border-radius:16px; padding:34px;}
.contact-form label{display:block; font-weight:700; font-size:13px; margin:0 0 6px;}
.contact-form input, .contact-form textarea{width:100%; padding:12px; border:1px solid var(--line); border-radius:8px; font-family:inherit; font-size:14.5px; margin-bottom:18px; box-sizing:border-box;}
.contact-form textarea{min-height:130px;}
.form-note{font-size:13px; color:var(--slate); margin-top:14px;}
.form-success{background:#E7F6EC; color:#1E7A3D; padding:14px 18px; border-radius:10px; font-size:14.5px; margin-bottom:20px;}

/* Footer */
footer.site-footer{background:var(--paper-2); border-top:1px solid var(--line); padding:44px 32px 26px;}
.footer-top{display:flex; justify-content:space-between; flex-wrap:wrap; gap:30px; max-width:var(--maxw); margin:0 auto 30px;}
.footer-brand{display:flex; align-items:center; gap:10px; font-weight:800; font-size:15px;}
.footer-brand .logo{width:24px; height:auto;}
.footer-tag{font-size:13.5px; color:var(--slate); margin-top:10px; max-width:260px;}
.footer-links{display:flex; gap:48px; flex-wrap:wrap;}
.footer-links h5{font-size:11.5px; font-weight:800; letter-spacing:0.08em; text-transform:uppercase; color:var(--slate); margin:0 0 12px;}
.footer-links a{display:block; font-size:14px; color:var(--ink-soft); text-decoration:none; margin-bottom:9px;}
.footer-links a:hover{color:var(--blue-deep);}
.footer-bottom{max-width:var(--maxw); margin:0 auto; padding-top:22px; border-top:1px solid var(--line); display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px; font-size:12.5px; color:var(--slate);}
.footer-bottom a{color:var(--slate); text-decoration:none;}
.footer-bottom a:hover{color:var(--blue-deep);}

.reveal{opacity:0; transform:translateY(14px); transition:opacity .6s ease, transform .6s ease;}
.reveal.in{opacity:1; transform:translateY(0);}
