:root{
  --navy:#041a3a;
  --navy-2:#07356a;
  --blue:#0b67e8;
  --sky:#86c8ff;
  --ink:#071a42;
  --muted:#586983;
  --paper:#f5f9fd;
  --white:#fff;
  --line:#d8e4f1;
  --shadow:0 24px 60px rgba(13,42,85,.12);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  color:var(--ink);
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  background:#fff;
  line-height:1.6;
}
a{color:inherit;text-decoration:none}
img{display:block;max-width:100%}

.site-header{
  position:absolute;
  top:0;left:0;right:0;
  z-index:20;
  height:78px;
  padding:0 clamp(22px,5vw,72px);
  display:flex;
  justify-content:space-between;
  align-items:center;
  color:#fff;
}

.brand{display:inline-flex;align-items:center;gap:13px}
.brand-text{font-weight:650;letter-spacing:.22em;font-size:1rem}
.brand-symbol{
  position:relative;
  width:31px;height:29px;
  display:inline-block;
}
.brand-symbol::before,.brand-symbol::after{
  content:"";
  position:absolute;
  bottom:0;
  width:12px;height:28px;
  border-radius:7px 7px 2px 2px;
  transform-origin:bottom;
}
.brand-symbol::before{
  left:4px;
  transform:skew(-26deg);
  background:linear-gradient(180deg,#75bbff,#0864e8);
}
.brand-symbol::after{
  right:4px;
  transform:skew(26deg);
  background:#fff;
}

.main-nav{display:flex;align-items:center;gap:30px;font-size:.92rem;font-weight:600}
.main-nav a{color:rgba(255,255,255,.9)}
.nav-cta{padding:11px 17px;border-radius:8px;background:var(--blue)}
.menu-toggle{display:none;background:transparent;border:0}
.menu-toggle span{display:block;width:25px;height:2px;background:#fff;margin:5px}

.hero{
  position:relative;
  background:var(--navy);
}
.hero-image{
  width:100%;
  height:auto;
  min-height:720px;
  object-fit:cover;
  object-position:center top;
}
.hero-fade{
  position:absolute;
  left:0;right:0;bottom:0;
  height:140px;
  background:linear-gradient(180deg,transparent,rgba(239,248,255,.92));
}
.hero-scroll{
  position:absolute;
  left:50%;
  bottom:112px;
  transform:translateX(-50%);
  display:inline-flex;
  align-items:center;
  gap:14px;
  padding:14px 22px;
  border-radius:999px;
  color:#fff;
  font-weight:750;
  background:rgba(4,42,94,.9);
  box-shadow:0 12px 30px rgba(0,33,83,.28);
  border:1px solid rgba(255,255,255,.18);
}

.capabilities{
  position:relative;
  z-index:5;
  width:min(1140px,calc(100% - 40px));
  margin:-76px auto 0;
  display:grid;
  grid-template-columns:repeat(5,1fr);
  background:rgba(255,255,255,.92);
  border:1px solid rgba(13,71,145,.12);
  border-radius:24px;
  box-shadow:var(--shadow);
  backdrop-filter:blur(14px);
}
.capabilities article{
  min-height:188px;
  text-align:center;
  padding:26px 18px 22px;
  position:relative;
}
.capabilities article+article::before{
  content:"";
  position:absolute;
  left:0;top:22px;bottom:22px;width:1px;
  background:var(--line);
}
.cap-icon{
  height:45px;
  display:grid;
  place-items:center;
  margin-bottom:12px;
  color:var(--blue);
  font-size:2rem;
}
.desktop-icon::before{content:"▣";font-size:2.2rem}
.capabilities h2{
  font-size:.93rem;
  text-transform:uppercase;
  letter-spacing:.11em;
  margin:0 0 10px;
}
.capabilities p{
  margin:0;
  font-size:.91rem;
  color:#2e405d;
}

.section{padding:100px clamp(22px,6vw,86px)}
.products{
  padding-top:88px;
  background:
    linear-gradient(180deg,#edf7ff 0%,rgba(250,253,255,.96) 100%);
}
.centered{text-align:center}
.eyebrow{
  color:var(--blue);
  text-transform:uppercase;
  letter-spacing:.18em;
  font-size:.73rem;
  font-weight:850;
  margin:0 0 12px;
}
.eyebrow.light{color:#90c7ff}
.section-heading h2,.story h2,.why h2,.contact h2{
  margin:0;
  letter-spacing:-.045em;
  line-height:1.08;
}
.section-heading h2{font-size:clamp(2.2rem,4vw,4rem)}
.section-intro{
  max-width:760px;
  margin:16px auto 0;
  color:var(--muted);
  font-size:1.08rem;
}

.product-grid{
  max-width:1180px;
  margin:48px auto 0;
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:20px;
}
.product-card{
  overflow:hidden;
  background:#fff;
  border:1px solid rgba(8,67,145,.08);
  border-radius:18px;
  box-shadow:0 18px 46px rgba(13,43,84,.10);
}
.product-visual{
  height:170px;
  padding:24px 20px 0;
  display:flex;
  align-items:flex-end;
}
.workforce-visual{background:linear-gradient(135deg,#06366f,#176cc7)}
.invoice-visual{background:linear-gradient(135deg,#2e714d,#80a98a)}
.flow-visual{background:linear-gradient(135deg,#ee9450,#ffc487)}
.pulse-visual{background:linear-gradient(135deg,#4c4b99,#9690dd)}
.ui-window,.map-panel{
  width:100%;
  height:128px;
  background:#f7fbff;
  border-radius:10px 10px 0 0;
  box-shadow:0 12px 24px rgba(0,0,0,.18);
}
.ui-window{display:grid;grid-template-columns:27% 73%;overflow:hidden}
.ui-sidebar{background:#edf3f8;border-right:1px solid #dce6ef}
.ui-content{padding:16px 12px}
.ui-topline{height:10px;width:58%;background:#d9e5ef;border-radius:4px;margin-bottom:15px}
.ui-row{display:grid;grid-template-columns:1.5fr 1fr .75fr;gap:6px;margin:9px 0}
.ui-row span,.invoice-lines span,.flow-columns span{
  display:block;height:10px;border-radius:3px;background:#dfe8f0;
}
.invoice-lines{display:grid;gap:10px}
.flow-columns{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.flow-columns span{height:70px}
.map-panel{
  position:relative;
  background:
    linear-gradient(30deg,transparent 48%,rgba(83,141,207,.22) 49%,transparent 51%),
    linear-gradient(120deg,transparent 48%,rgba(83,141,207,.18) 49%,transparent 51%),
    #e9f4ff;
}
.pin{
  position:absolute;width:14px;height:14px;border-radius:50%;
  background:#ef6a52;
  box-shadow:0 0 0 5px rgba(239,106,82,.18);
}
.pin-one{left:32%;top:55%}.pin-two{left:64%;top:34%}.pin-three{left:72%;top:68%}

.product-copy{padding:23px 20px 22px}
.product-kicker{
  display:block;
  color:var(--blue);
  font-size:.67rem;
  text-transform:uppercase;
  font-weight:850;
  letter-spacing:.12em;
  margin-bottom:6px;
}
.product-copy h3{font-size:1.18rem;margin:0 0 10px}
.product-copy p{
  color:#3d4c64;
  font-size:.92rem;
  line-height:1.55;
  min-height:86px;
}
.product-copy ul{list-style:none;padding:0;margin:18px 0 20px;font-size:.84rem}
.product-copy li{margin:8px 0}
.product-copy li::before{content:"✓";color:var(--blue);font-weight:800;margin-right:8px}
.product-copy a{color:var(--blue);font-weight:800;font-size:.9rem}

.story{
  background:
    linear-gradient(180deg,#f8fbff,rgba(255,247,237,.75));
}
.story-card{
  max-width:1180px;
  margin:0 auto;
  display:grid;
  grid-template-columns:.85fr 1.15fr;
  gap:58px;
  align-items:center;
}
.story-image-wrap img{
  width:100%;
  height:430px;
  object-fit:cover;
  border-radius:24px;
  box-shadow:var(--shadow);
}
.story-copy h2{font-size:clamp(2.4rem,4.5vw,4.8rem);margin-bottom:25px}
.story-copy>p:not(.eyebrow){color:#34445f;font-size:1.04rem}
.text-link{display:inline-block;margin-top:15px;color:var(--blue);font-weight:800}

.why{
  padding-top:0;
  background:linear-gradient(180deg,rgba(255,247,237,.75),#f7fbff);
}
.why-card{
  max-width:1180px;
  margin:0 auto;
  padding:70px;
  display:grid;
  grid-template-columns:.9fr 1.1fr;
  gap:68px;
  color:#fff;
  border-radius:30px;
  background:
    radial-gradient(circle at 85% 25%,rgba(82,157,244,.27),transparent 35%),
    linear-gradient(145deg,#051a3b,#093d76);
  box-shadow:var(--shadow);
}
.why h2{font-size:clamp(2.6rem,5vw,5rem)}
.why-translation{font-size:1.24rem;color:#acd3ff;margin:10px 0 0}
.why-copy p{color:#d9e7f5;font-size:1.05rem;margin-top:0}

.contact{padding-top:34px;background:#f7fbff}
.contact-card{
  max-width:1180px;
  margin:0 auto;
  padding:58px;
  border-radius:28px;
  display:grid;
  grid-template-columns:1fr auto;
  gap:45px;
  align-items:center;
  color:#fff;
  background:linear-gradient(135deg,#07295b,#0b68e8);
  box-shadow:var(--shadow);
}
.contact h2{font-size:clamp(2.2rem,4vw,4rem)}
.contact-card p{color:#dceaff;max-width:720px}
.contact-actions{display:flex;gap:12px;flex-wrap:wrap}
.primary-button,.secondary-button{
  padding:14px 20px;border-radius:999px;font-weight:800;white-space:nowrap
}
.primary-button{background:#fff;color:#07356a}
.secondary-button{border:1px solid rgba(255,255,255,.5)}

.site-footer{
  background:#03152f;
  color:#bdcde0;
  padding:58px clamp(22px,6vw,86px) 24px;
}
.footer-main{
  display:grid;
  grid-template-columns:1.25fr repeat(3,1fr);
  gap:46px;
}
.footer-main h3{color:#fff;font-size:.95rem;margin:0 0 14px}
.footer-main a,.footer-main span{display:block;margin:7px 0;font-size:.88rem}
.footer-brand p{line-height:1.5}
.footer-bottom{
  border-top:1px solid rgba(255,255,255,.1);
  margin-top:34px;
  padding-top:18px;
  display:flex;
  justify-content:space-between;
  gap:20px;
  font-size:.8rem;
}

@media (max-width:980px){
  .product-grid{grid-template-columns:repeat(2,1fr)}
  .story-card,.why-card{grid-template-columns:1fr}
  .contact-card{grid-template-columns:1fr}
  .footer-main{grid-template-columns:repeat(2,1fr)}
}

@media (max-width:760px){
  .site-header{height:68px}
  .menu-toggle{display:block}
  .main-nav{
    display:none;
    position:absolute;
    top:68px;left:16px;right:16px;
    flex-direction:column;
    align-items:stretch;
    gap:15px;
    padding:20px;
    border-radius:14px;
    background:rgba(4,26,58,.98);
  }
  .main-nav.open{display:flex}
  .hero-image{min-height:0;aspect-ratio:1/1;object-fit:cover}
  .hero-scroll{bottom:48px;font-size:.87rem}
  .capabilities{
    margin:0;
    width:100%;
    border-radius:0;
    grid-template-columns:1fr;
  }
  .capabilities article{min-height:auto;padding:22px}
  .capabilities article+article::before{
    top:0;bottom:auto;left:22px;right:22px;width:auto;height:1px
  }
  .product-grid{grid-template-columns:1fr}
  .story-image-wrap img{height:300px}
  .why-card,.contact-card{padding:34px 24px}
  .footer-main{grid-template-columns:1fr}
  .footer-bottom{flex-direction:column}
}

@media (max-width:480px){
  .hero-image{aspect-ratio:4/5;object-position:center top}
  .hero-scroll{display:none}
  .section{padding:72px 20px}
  .product-copy p{min-height:auto}
}


/* FINAL POLISH FIXES */

/* The approved hero artwork already contains the five capability panels.
   Hide the duplicated HTML version while keeping it in the document for accessibility. */
.capabilities {
  display: none !important;
}

/* Position the product button within the hero, above the capability panel in the artwork. */
.hero-scroll {
  bottom: 26% !important;
  z-index: 8;
}

/* Let the hero flow naturally into the products section without an abrupt white band. */
.products {
  padding-top: 76px !important;
  margin-top: -4px;
}

/* Ensure the story photograph is a clean crop, not stretched or showing adjacent text. */
.story-image-wrap {
  overflow: hidden;
  border-radius: 24px;
  box-shadow: var(--shadow);
}
.story-image-wrap img {
  width: 100%;
  height: 430px;
  object-fit: cover;
  object-position: 36% center;
  border-radius: 0 !important;
  box-shadow: none !important;
}

/* Reduce excess spacing caused by the removed duplicate panel. */
.hero-fade {
  height: 95px !important;
}

@media (max-width: 760px) {
  .hero-scroll {
    bottom: 18% !important;
  }
  .story-image-wrap img {
    height: 300px;
    object-position: 36% center;
  }
}
@media (max-width: 760px) {
  .site-header .brand {
    display: none;
  }

  .site-header {
    justify-content: flex-end;
    padding: 0 18px;
  }

  .menu-toggle {
    position: relative;
    z-index: 50;
  }
}

@media screen and (max-width: 760px) {
  .hero-image {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: auto !important;
    object-fit: contain !important;
    object-position: center top !important;
    background: #062b59;
  }

  .hero {
    background: #062b59;
    overflow: hidden;
  }
}

@media screen and (max-width: 760px) {
  .hero-image {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: auto !important;
    object-fit: contain !important;
    object-position: center top !important;
    background: #062b59;
  }

  .hero {
    background: #062b59;
    overflow: hidden;
  }
}
