:root{
  --bg:#f6f7f5;
  --surface:#ffffff;
  --ink:#13231f;
  --muted:#61706b;
  --line:#dfe5e1;
  --accent:#38b77b;
  --accent-dark:#21955f;
  --deep:#0f2420;
  --deep-2:#17312b;
  --radius:22px;
  --shadow:0 16px 45px rgba(16,42,35,.08);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  background:var(--bg);
  color:var(--ink);
  line-height:1.6;
}
a{color:inherit;text-decoration:none}
button,input,textarea,select{font:inherit}
.container{width:min(1180px,calc(100% - 40px));margin:0 auto}
.site-header{
  position:sticky;top:0;z-index:50;
  background:rgba(246,247,245,.9);
  backdrop-filter:blur(16px);
  border-bottom:1px solid rgba(223,229,225,.85);
}
.nav-wrap{height:78px;display:flex;align-items:center;gap:28px}
.brand{display:flex;align-items:center;gap:12px;font-weight:700;white-space:nowrap}
.brand-mark{
  width:40px;
  height:40px;
  border-radius:13px;
  background:var(--deep);
  color:white;
  display:grid;
  place-items:center;
  font-size:14px;
  letter-spacing:.03em;
  border:1px solid var(--line);
  box-shadow:
    0 0 0 3px var(--surface),
    0 5px 14px rgba(16,42,35,.10);
}
.brand-text{font-size:17px}
.brand-text strong{font-weight:500;color:var(--muted)}
.mainnav{display:flex;gap:25px;align-items:center;margin-left:auto}
.mainnav a{font-size:14px;color:#33453f}
.mainnav a:hover{color:var(--accent-dark)}
.nav-cta{padding:10px 15px;border:1px solid var(--line);border-radius:999px;background:white}
.language-switcher{display:flex;gap:4px;padding:4px;background:#e9eeeb;border-radius:999px}
.language-switcher button,
.language-switcher a{
  appearance:none;
  border:0;
  background:transparent;
  border-radius:999px;
  color:var(--muted);
  cursor:pointer;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:30px;
  min-height:26px;
  padding:6px 8px;
  font:inherit;
  font-size:11px;
  font-weight:700;
  line-height:1;
}
.language-switcher a{text-decoration:none}
.language-switcher button.active,
.language-switcher a.active{background:white;color:var(--ink);box-shadow:0 2px 8px rgba(0,0,0,.07)}
.menu-toggle{display:none}
.hero{padding:96px 0 86px;overflow:hidden}
.hero-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:70px;align-items:center}
.eyebrow{text-transform:uppercase;letter-spacing:.13em;font-size:12px;font-weight:800;color:var(--accent-dark);margin:0 0 18px}
h1,h2,h3,p{margin-top:0}
h1{font-size:clamp(48px,6vw,78px);line-height:.98;letter-spacing:-.045em;max-width:820px;margin-bottom:28px}
h2{font-size:clamp(34px,4vw,54px);line-height:1.05;letter-spacing:-.035em;margin-bottom:22px}
h3{line-height:1.15}
.hero-tagline{font-size:clamp(24px,3vw,38px);line-height:1.08;font-weight:750;color:#2b443d;max-width:720px;margin:-12px 0 22px}
.hero-lead{font-size:20px;max-width:720px;color:#53635e}
.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin:34px 0 38px}
.button{display:inline-flex;align-items:center;justify-content:center;border-radius:12px;padding:14px 20px;font-weight:750;border:1px solid transparent;cursor:pointer}
.button.primary{background:var(--deep);color:#fff}
.button.primary:hover{background:var(--deep-2)}
.button.secondary{background:white;border-color:var(--line)}
.hero-proof{display:flex;gap:34px;flex-wrap:wrap}
.hero-proof div{display:grid;gap:2px}
.hero-proof strong{font-size:21px}
.hero-proof span{font-size:12px;color:var(--muted)}
.flow-card{
  position:relative;width:100%;height:470px;border-radius:32px;
  background:linear-gradient(145deg,#10251f,#173b30);
  box-shadow:var(--shadow);overflow:hidden;
}
.flow-card:before{
  content:"";position:absolute;inset:0;
  background:radial-gradient(circle at 75% 10%,rgba(56,183,123,.35),transparent 28%),
             radial-gradient(circle at 15% 80%,rgba(255,255,255,.07),transparent 28%);
}
.flow-node{
  position:absolute;z-index:3;padding:15px 18px;border-radius:14px;
  border:1px solid rgba(255,255,255,.14);background:rgba(255,255,255,.08);
  color:#dcebe5;font-size:14px;backdrop-filter:blur(10px)
}
.flow-node.source{left:36px;top:72px}
.flow-node.target{right:34px;bottom:72px}
.flow-node.engine{left:50%;top:50%;transform:translate(-50%,-50%);text-align:center;padding:25px 30px;background:rgba(56,183,123,.16)}
.flow-node.engine strong{font-size:20px;color:white}
.flow-line{position:absolute;height:2px;background:linear-gradient(90deg,transparent,var(--accent),transparent);z-index:1}
.line-1{width:250px;left:85px;top:160px;transform:rotate(32deg)}
.line-2{width:250px;right:75px;bottom:150px;transform:rotate(32deg)}
.flow-pill{
  position:absolute;z-index:4;border-radius:999px;background:#eafff4;color:#14372c;
  padding:7px 11px;font-size:11px;font-weight:800;box-shadow:0 8px 24px rgba(0,0,0,.16)
}
.p1{left:42%;top:25%}.p2{right:18%;top:42%}.p3{left:18%;bottom:30%}.p4{right:38%;bottom:18%}

/* Bridge image section */
.bridge-section{
  background:url("bridge-forest.jpg") center center / cover no-repeat;
  min-height:430px;
  position:relative;
}
.bridge-overlay{
  min-height:430px;
  background:linear-gradient(90deg, rgba(8,23,18,.78) 0%, rgba(8,23,18,.60) 45%, rgba(8,23,18,.38) 100%);
  display:flex;
  align-items:center;
}
.bridge-content{
  color:white;
  max-width:760px;
  padding:70px 0;
}
.bridge-content h2{
  color:white;
  max-width:700px;
}
.bridge-content p{
  font-size:18px;
  max-width:640px;
  color:#d6e5df;
}
.bridge-eyebrow{color:#8fe0b0}

.section{padding:100px 0}
.section-alt{background:#edf1ee}
.section-dark{background:var(--deep);color:white}
.split{display:grid;grid-template-columns:1fr 1fr;gap:80px}
.body-copy{font-size:18px;color:var(--muted)}
.body-copy p{margin-bottom:18px}
.section-heading{max-width:800px;margin-bottom:48px}
.section-heading.narrow{max-width:720px}
.section-heading>p:last-child{font-size:18px;color:var(--muted)}
.capability-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.capability{
  background:white;border:1px solid var(--line);border-radius:var(--radius);
  padding:28px;min-height:250px
}
.cap-number{font-size:12px;color:var(--accent-dark);font-weight:800}
.capability h3{font-size:24px;margin:45px 0 12px}
.capability p{color:var(--muted);font-size:15px}
.framework-panel{
  margin-top:20px;padding:34px;border-radius:var(--radius);background:var(--deep);color:white;
  display:grid;grid-template-columns:1fr 1fr;gap:50px;align-items:end
}
.framework-panel h3{font-size:28px;margin:0}
.framework-panel>p{color:#c8d7d1;margin:0}
.product-grid{display:flex;gap:18px;overflow-x:auto;scroll-snap-type:x mandatory;scroll-behavior:smooth;padding-bottom:8px;scrollbar-width:thin}
.product-card{
  background:white;border:1px solid var(--line);border-radius:var(--radius);
  padding:30px;display:flex;flex-direction:column;min-height:390px;box-shadow:0 3px 0 rgba(20,50,40,.02)
}
.product-top{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:58px}
.product-badge{font-size:14px;font-weight:900;color:var(--accent-dark)}
.product-sector{font-size:11px;color:var(--muted);text-align:right}
.product-card h3{font-size:27px;letter-spacing:-.025em;margin-bottom:17px}
.product-card p{color:var(--muted);font-size:15px}
.text-link{margin-top:auto;font-weight:800;color:var(--accent-dark);padding-top:25px}
.section-dark .eyebrow{color:#62d79b}
.section-dark .section-heading{margin-bottom:56px}
.why-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:32px}
.why-grid strong{font-size:32px;color:#62d79b}
.why-grid h3{font-size:20px;margin:24px 0 12px}
.why-grid p{color:#b9cac4;font-size:14px}
.about-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:70px;align-items:center}
.about-card{background:white;border:1px solid var(--line);border-radius:var(--radius);padding:40px;box-shadow:var(--shadow)}
.location-dot{display:block;width:12px;height:12px;border-radius:50%;background:var(--accent);margin-bottom:25px;box-shadow:0 0 0 9px rgba(56,183,123,.12)}
.contact-section{padding-top:30px}
.contact-card{
  display:grid;grid-template-columns:.85fr 1.15fr;gap:70px;background:#dff2e8;
  padding:56px;border-radius:30px
}
.contact-card h2{font-size:44px}
.contact-card>div>p:last-child{color:#4e625a;font-size:17px}
.contact-form{display:grid;grid-template-columns:1fr 1fr;gap:15px}
.contact-form label{display:grid;gap:7px;font-size:12px;font-weight:800;color:#40534c}
.contact-form input,.contact-form textarea,.contact-form select{
  width:100%;border:1px solid #c8d8d0;background:white;border-radius:10px;padding:13px 14px;color:var(--ink)
}
.contact-form textarea{resize:vertical}
.full{grid-column:1/-1}
.form-note{font-size:11px;color:#64766f;margin:0;grid-column:1/-1}
.footer{padding:35px 0 50px}
.footer-grid{display:grid;grid-template-columns:1fr 1fr auto;gap:30px;align-items:center}
.footer-grid-legal{grid-template-columns:1fr 1fr auto auto}
.footer p{margin:0;color:var(--muted);font-size:13px}
.footer-brand .brand-mark{width:34px;height:34px;border-radius:10px}
.footer-legal-links{display:flex;gap:18px;flex-wrap:wrap}
.footer-legal-links a{font-size:13px;color:var(--accent-dark)}

/* Customer references / testimonials */
.references-section{
  background:#f8faf8;
}
.references-section.is-disabled{
  display:none;
}
.reference-grid{
  display:flex;
  gap:18px;
  overflow-x:auto;
  scroll-snap-type:x mandatory;
  scroll-behavior:smooth;
  padding-bottom:8px;
  scrollbar-width:thin;
}
.reference-card{
  background:white;
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:28px;
  min-height:260px;
  display:flex;
  flex-direction:column;
  box-shadow:0 3px 0 rgba(20,50,40,.02);
}
.reference-person{
  display:flex;
  align-items:center;
  gap:14px;
  margin-bottom:28px;
}
.reference-avatar{
  width:52px;
  height:52px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:var(--deep);
  color:white;
  font-size:13px;
  font-weight:800;
  letter-spacing:.04em;
  flex:0 0 auto;
}
.reference-person strong{
  display:block;
  font-size:14px;
}
.reference-person span{
  display:block;
  font-size:12px;
  color:var(--muted);
}
.reference-card blockquote{
  margin:0;
  font-size:17px;
  line-height:1.55;
  color:#43544f;
}

/* Horizontal carousels */
.carousel-shell{
  position:relative;
}
.carousel-track{
  -webkit-overflow-scrolling:touch;
  overscroll-behavior-inline:contain;
}
.carousel-track::-webkit-scrollbar{
  height:8px;
}
.carousel-track::-webkit-scrollbar-thumb{
  background:#cfd9d4;
  border-radius:999px;
}
.carousel-controls{
  display:flex;
  justify-content:flex-end;
  gap:8px;
  margin:-8px 0 18px;
}
.carousel-button{
  width:42px;
  height:42px;
  border-radius:999px;
  border:1px solid var(--line);
  background:white;
  color:var(--ink);
  cursor:pointer;
  font-size:18px;
  display:grid;
  place-items:center;
}
.carousel-button:hover{
  border-color:#bac8c1;
}
.carousel-button:disabled{
  opacity:.35;
  cursor:default;
}
.product-grid .product-card,
.reference-grid .reference-card{
  flex:0 0 calc((100% - 36px) / 3);
  scroll-snap-align:start;
}
.reference-card[hidden]{display:none}
.product-links{
  margin-top:auto;
  padding-top:25px;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:8px;
}
.product-links .text-link{
  margin-top:0;
  padding-top:0;
}
.product-links .secondary-link{
  font-size:13px;
  color:var(--muted);
}

/* Product detail pages */
.product-page .site-header{
  position:sticky;
}
.product-hero{
  padding:84px 0 72px;
}
.product-hero-grid{
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:60px;
  align-items:center;
}
.product-kicker{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 11px;
  border-radius:999px;
  background:#e5f4ec;
  color:var(--accent-dark);
  font-size:12px;
  font-weight:800;
  margin-bottom:20px;
}
.product-hero h1{
  max-width:850px;
}
.product-summary{
  font-size:20px;
  color:var(--muted);
  max-width:760px;
}
.product-visual{
  min-height:360px;
  border-radius:30px;
  background:var(--deep);
  color:white;
  padding:34px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  overflow:hidden;
  position:relative;
}
.product-visual:after{
  content:"";
  position:absolute;
  width:260px;
  height:260px;
  border-radius:50%;
  background:rgba(56,183,123,.22);
  right:-80px;
  top:-60px;
}
.product-visual .visual-label{
  position:relative;
  z-index:1;
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.12em;
  color:#9fd9bd;
}
.product-visual .visual-title{
  position:relative;
  z-index:1;
  font-size:38px;
  letter-spacing:-.035em;
  max-width:420px;
}
.product-visual-logo {
  display: block;
  width: 70%;
  max-width: 210px;
  height: auto;
  margin: 0 auto;
}
.detail-section{
  padding:84px 0;
}
.detail-section.alt{
  background:#edf1ee;
}
.detail-grid{
  display:grid;
  grid-template-columns:.8fr 1.2fr;
  gap:70px;
}
.detail-copy p{
  color:var(--muted);
  font-size:17px;
}
.detail-list{
  display:grid;
  gap:14px;
  margin:0;
  padding:0;
  list-style:none;
}
.detail-list li{
  background:white;
  border:1px solid var(--line);
  border-radius:16px;
  padding:18px 20px;
}
.detail-list strong{
  display:block;
  margin-bottom:5px;
}
.feature-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:16px;
}
.feature-card{
  background:white;
  border:1px solid var(--line);
  border-radius:18px;
  padding:24px;
  min-height:190px;
}
.feature-card h3{
  font-size:20px;
  margin-bottom:10px;
}
.feature-card p{
  color:var(--muted);
  font-size:14px;
}
.placeholder-note{
  border:1px dashed #aebcb5;
  border-radius:16px;
  padding:18px 20px;
  background:rgba(255,255,255,.5);
  color:#5e6e68;
  font-size:14px;
}
.workflow-steps{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:14px;
}
.service-page .workflow-steps{
  grid-template-columns:repeat(5,1fr);
}
.workflow-step{
  background:var(--deep);
  color:white;
  border-radius:18px;
  padding:22px;
}
.workflow-step span{
  color:#7fe0ae;
  font-size:12px;
  font-weight:800;
}
.workflow-step h3{
  font-size:19px;
  margin:24px 0 8px;
}
.workflow-step p{
  font-size:14px;
  color:#c4d2cd;
}
.faq-list{
  display:grid;
  gap:12px;
}
.faq-item{
  border:1px solid var(--line);
  border-radius:16px;
  background:white;
  padding:20px;
}
.faq-item h3{
  font-size:17px;
  margin-bottom:8px;
}
.faq-item p{
  color:var(--muted);
  margin-bottom:0;
}
.product-cta{
  padding:64px 0 90px;
}
.product-cta-card{
  background:#dff2e8;
  border-radius:28px;
  padding:46px;
  display:grid;
  grid-template-columns:1fr auto;
  align-items:center;
  gap:30px;
}
.product-cta-card h2{
  font-size:38px;
  margin-bottom:10px;
}
.breadcrumb{
  font-size:13px;
  color:var(--muted);
  margin-bottom:22px;
}
.breadcrumb ol{
  display:flex;
  flex-wrap:wrap;
  gap:7px;
  align-items:center;
  list-style:none;
  margin:0;
  padding:0;
}
.breadcrumb li:not(:last-child)::after{
  content:"›";
  margin-left:7px;
  color:var(--muted);
}
.breadcrumb a{
  color:var(--accent-dark);
}

/* Legal pages */
.legal-page main{padding:74px 0 90px}
.legal-hero{margin-bottom:42px}
.legal-hero h1{margin-bottom:16px}
.legal-note{
  background:#edf1ee;
  border:1px solid var(--line);
  border-radius:16px;
  padding:18px 20px;
  color:#556660;
  font-size:14px;
  width:100%;
}
.legal-sections{
  display:grid;
  gap:18px;
}
.legal-block{
  background:white;
  border:1px solid var(--line);
  border-radius:20px;
  padding:28px;
}
.legal-block h2{
  font-size:28px;
  margin-bottom:10px;
}
.legal-block p, .legal-block li{
  color:var(--muted);
}
.legal-block ul{
  padding-left:18px;
}
.legal-back{
  display:inline-flex;
  margin-top:26px;
  color:var(--accent-dark);
  font-weight:700;
}

@media(max-width:920px){
  .mainnav{display:none;position:absolute;left:20px;right:20px;top:72px;background:white;border:1px solid var(--line);border-radius:16px;padding:16px;box-shadow:var(--shadow);flex-direction:column;align-items:stretch}
  .mainnav.open{display:flex}
  .menu-toggle{display:block;margin-left:auto;border:1px solid var(--line);background:white;border-radius:10px;padding:8px 11px}
  .language-switcher{margin-left:0}
  .hero-grid,.split,.about-grid,.contact-card,.framework-panel,.product-hero-grid,.detail-grid,.product-cta-card{grid-template-columns:1fr}
  .flow-card{height:390px}
  .capability-grid,.why-grid{grid-template-columns:1fr 1fr}
  .product-grid .product-card,
  .reference-grid .reference-card{
    flex-basis:calc((100% - 18px) / 2);
  }
  .feature-grid{grid-template-columns:1fr 1fr}
  .workflow-steps,
  .service-page .workflow-steps{grid-template-columns:1fr 1fr}
  .footer-grid-legal{grid-template-columns:1fr 1fr}
}
@media(max-width:620px){
  .container{width:min(100% - 24px,1180px)}
  .nav-wrap{gap:10px}.brand-text{display:none}
  .hero{padding-top:66px}.hero-grid{gap:42px}.hero-lead{font-size:18px}
  .hero-proof{gap:20px}
  .section{padding:72px 0}
  .capability-grid,.why-grid,.feature-grid,.workflow-steps,
  .service-page .workflow-steps{grid-template-columns:1fr}
  .contact-card{padding:28px}.contact-form{grid-template-columns:1fr}.contact-card h2{font-size:36px}
  .footer-grid,.footer-grid-legal{grid-template-columns:1fr}.footer-meta{margin-top:10px!important}
  .carousel-controls{display:none}
  .product-grid .product-card,
  .reference-grid .reference-card{
    flex-basis:86%;
  }
  .bridge-section,.bridge-overlay{min-height:360px}
  .product-hero{padding-top:58px}
  .product-visual{min-height:300px}
  .product-cta-card{padding:28px}
}


/* Product-page customer references */
.product-references-section{
  background:#f8faf8;
}
.product-references-section.is-disabled{
  display:none;
}




/* Theme selector */
.theme-switcher{
  display:flex;
  gap:4px;
  padding:4px;
  background:#e9eeeb;
  border-radius:999px;
}
.theme-switcher button{
  border:0;
  background:transparent;
  padding:6px 8px;
  min-width:30px;
  border-radius:999px;
  font-size:11px;
  font-weight:700;
  color:var(--muted);
  cursor:pointer;
}
.theme-switcher button.active{
  background:white;
  color:var(--ink);
  box-shadow:0 2px 8px rgba(0,0,0,.07);
}
@media(max-width:620px){
  .theme-switcher button:first-child{display:none}
}

/* Automatic dark theme: follows browser / operating-system preference */
@media (prefers-color-scheme: dark) {
  :root{
    --bg:#0d1513;
    --surface:#14201d;
    --ink:#edf5f1;
    --muted:#a9bbb4;
    --line:#2a3934;
    --accent:#59cf94;
    --accent-dark:#74dfaa;
    --deep:#08110f;
    --deep-2:#10231d;
    --shadow:0 16px 45px rgba(0,0,0,.28);
  }

  body{
    background:var(--bg);
    color:var(--ink);
  }

  .site-header{
    background:rgba(13,21,19,.9);
    border-bottom-color:rgba(42,57,52,.9);
  }

  .brand-text strong,
  .mainnav a,
  .hero-tagline,
  .hero-lead,
  .body-copy,
  .section-heading>p:last-child,
  .product-card p,
  .product-sector,
  .why-grid p,
  .contact-card>div>p:last-child,
  .footer p,
  .reference-person span,
  .reference-card blockquote,
  .detail-copy p,
  .feature-card p,
  .faq-item p,
  .breadcrumb,
  .legal-block p,
  .legal-block li,
  .form-note{
    color:var(--muted);
  }

  .language-switcher,
  .theme-switcher{
    background:#1d2a26;
  }

  .language-switcher button,
  .language-switcher a,
  .theme-switcher button{
    color:#a9bbb4;
  }

  .language-switcher button.active,
  .language-switcher a.active,
  .theme-switcher button.active{
    background:#263631;
    color:var(--ink);
    box-shadow:none;
  }

  .nav-cta,
  .button.secondary,
  .menu-toggle,
  .carousel-button,
  .capability,
  .product-card,
  .reference-card,
  .about-card,
  .detail-list li,
  .feature-card,
  .faq-item,
  .legal-block{
    background:var(--surface);
    border-color:var(--line);
    color:var(--ink);
  }

  .section-alt,
  .references-section,
  .product-references-section,
  .detail-section.alt{
    background:#111b18;
  }

  .section-dark{
    background:#07100e;
  }

  .framework-panel,
  .workflow-step,
  .product-visual,
  .brand-mark{
    background:#08110f;
  }

  .contact-card,
  .product-cta-card{
    background:#163126;
  }

  .contact-form label{
    color:#c5d4cf;
  }

  .contact-form input,
  .contact-form textarea,
  .contact-form select{
    background:#101b18;
    border-color:#34463f;
    color:var(--ink);
  }

  .contact-form input::placeholder,
  .contact-form textarea::placeholder{
    color:#7f918a;
  }

  .placeholder-note,
  .legal-note{
    background:#111b18;
    border-color:#364740;
    color:#a9bbb4;
  }

  .product-kicker{
    background:#163126;
    color:#8ce6b7;
  }

  .carousel-track::-webkit-scrollbar-thumb{
    background:#3a4b45;
  }

  .carousel-button:hover{
    border-color:#52655e;
  }

  .reference-avatar{
    background:#0a1512;
  }

  .bridge-overlay{
    background:linear-gradient(90deg, rgba(3,10,8,.82) 0%, rgba(3,10,8,.66) 45%, rgba(3,10,8,.48) 100%);
  }

  .flow-card{
    box-shadow:0 16px 45px rgba(0,0,0,.35);
  }

  .nav-cta:hover,
  .button.secondary:hover,
  .carousel-button:hover{
    background:#192824;
  }

  a.text-link,
  .footer-legal-links a,
  .breadcrumb a,
  .legal-back{
    color:var(--accent);
  }
}


/* Manual dark-theme override */
html[data-theme="dark"]{
  --bg:#0d1513;
  --surface:#14201d;
  --ink:#edf5f1;
  --muted:#a9bbb4;
  --line:#2a3934;
  --accent:#59cf94;
  --accent-dark:#74dfaa;
  --deep:#08110f;
  --deep-2:#10231d;
  --shadow:0 16px 45px rgba(0,0,0,.28);
  color-scheme:dark;
}
html[data-theme="dark"] body{background:var(--bg);color:var(--ink)}
html[data-theme="dark"] .site-header{background:rgba(13,21,19,.9);border-bottom-color:rgba(42,57,52,.9)}
html[data-theme="dark"] .brand-text strong,
html[data-theme="dark"] .mainnav a,
html[data-theme="dark"] .hero-tagline,
html[data-theme="dark"] .hero-lead,
html[data-theme="dark"] .body-copy,
html[data-theme="dark"] .section-heading>p:last-child,
html[data-theme="dark"] .product-card p,
html[data-theme="dark"] .product-sector,
html[data-theme="dark"] .why-grid p,
html[data-theme="dark"] .contact-card>div>p:last-child,
html[data-theme="dark"] .footer p,
html[data-theme="dark"] .reference-person span,
html[data-theme="dark"] .reference-card blockquote,
html[data-theme="dark"] .detail-copy p,
html[data-theme="dark"] .feature-card p,
html[data-theme="dark"] .faq-item p,
html[data-theme="dark"] .breadcrumb,
html[data-theme="dark"] .legal-block p,
html[data-theme="dark"] .legal-block li,
html[data-theme="dark"] .form-note{color:var(--muted)}
html[data-theme="dark"] .language-switcher,
html[data-theme="dark"] .theme-switcher{background:#1d2a26}
html[data-theme="dark"] .language-switcher button,
html[data-theme="dark"] .language-switcher a,
html[data-theme="dark"] .theme-switcher button{color:#a9bbb4}
html[data-theme="dark"] .language-switcher button.active,
html[data-theme="dark"] .language-switcher a.active,
html[data-theme="dark"] .theme-switcher button.active{background:#263631;color:var(--ink);box-shadow:none}
html[data-theme="dark"] .nav-cta,
html[data-theme="dark"] .button.secondary,
html[data-theme="dark"] .menu-toggle,
html[data-theme="dark"] .carousel-button,
html[data-theme="dark"] .capability,
html[data-theme="dark"] .product-card,
html[data-theme="dark"] .reference-card,
html[data-theme="dark"] .about-card,
html[data-theme="dark"] .detail-list li,
html[data-theme="dark"] .feature-card,
html[data-theme="dark"] .faq-item,
html[data-theme="dark"] .legal-block{background:var(--surface);border-color:var(--line);color:var(--ink)}
html[data-theme="dark"] .section-alt,
html[data-theme="dark"] .references-section,
html[data-theme="dark"] .product-references-section,
html[data-theme="dark"] .detail-section.alt{background:#111b18}
html[data-theme="dark"] .section-dark{background:#07100e}
html[data-theme="dark"] .framework-panel,
html[data-theme="dark"] .workflow-step,
html[data-theme="dark"] .product-visual,
html[data-theme="dark"] .brand-mark{background:#08110f}
html[data-theme="dark"] .contact-card,
html[data-theme="dark"] .product-cta-card{background:#163126}
html[data-theme="dark"] .contact-form label{color:#c5d4cf}
html[data-theme="dark"] .contact-form input,
html[data-theme="dark"] .contact-form textarea,
html[data-theme="dark"] .contact-form select{background:#101b18;border-color:#34463f;color:var(--ink)}
html[data-theme="dark"] .placeholder-note,
html[data-theme="dark"] .legal-note{background:#111b18;border-color:#364740;color:#a9bbb4}
html[data-theme="dark"] .product-kicker{background:#163126;color:#8ce6b7}
html[data-theme="dark"] .carousel-track::-webkit-scrollbar-thumb{background:#3a4b45}
html[data-theme="dark"] .reference-avatar{background:#0a1512}
html[data-theme="dark"] .bridge-overlay{background:linear-gradient(90deg,rgba(3,10,8,.82) 0%,rgba(3,10,8,.66) 45%,rgba(3,10,8,.48) 100%)}
html[data-theme="dark"] .nav-cta:hover,
html[data-theme="dark"] .button.secondary:hover,
html[data-theme="dark"] .carousel-button:hover{background:#192824}
html[data-theme="dark"] a.text-link,
html[data-theme="dark"] .footer-legal-links a,
html[data-theme="dark"] .breadcrumb a,
html[data-theme="dark"] .legal-back{color:var(--accent)}


/* Manual light-theme override, even when the operating system is dark */
html[data-theme="light"]{
  --bg:#f6f7f5;
  --surface:#ffffff;
  --ink:#13231f;
  --muted:#61706b;
  --line:#dfe5e1;
  --accent:#38b77b;
  --accent-dark:#21955f;
  --deep:#0f2420;
  --deep-2:#17312b;
  --shadow:0 16px 45px rgba(16,42,35,.08);
  color-scheme:light;
}
html[data-theme="light"] body{background:var(--bg);color:var(--ink)}
html[data-theme="light"] .site-header{background:rgba(246,247,245,.9);border-bottom-color:rgba(223,229,225,.85)}
html[data-theme="light"] .brand-text strong,
html[data-theme="light"] .hero-tagline,
html[data-theme="light"] .hero-lead,
html[data-theme="light"] .body-copy,
html[data-theme="light"] .section-heading>p:last-child,
html[data-theme="light"] .product-card p,
html[data-theme="light"] .product-sector,
html[data-theme="light"] .contact-card>div>p:last-child,
html[data-theme="light"] .footer p,
html[data-theme="light"] .reference-person span,
html[data-theme="light"] .reference-card blockquote,
html[data-theme="light"] .detail-copy p,
html[data-theme="light"] .feature-card p,
html[data-theme="light"] .faq-item p,
html[data-theme="light"] .breadcrumb,
html[data-theme="light"] .legal-block p,
html[data-theme="light"] .legal-block li,
html[data-theme="light"] .form-note{color:var(--muted)}
html[data-theme="light"] .mainnav a{color:#33453f}
html[data-theme="light"] .language-switcher,
html[data-theme="light"] .theme-switcher{background:#e9eeeb}
html[data-theme="light"] .language-switcher button,
html[data-theme="light"] .language-switcher a,
html[data-theme="light"] .theme-switcher button{color:var(--muted)}
html[data-theme="light"] .language-switcher button.active,
html[data-theme="light"] .language-switcher a.active,
html[data-theme="light"] .theme-switcher button.active{background:white;color:var(--ink);box-shadow:0 2px 8px rgba(0,0,0,.07)}
html[data-theme="light"] .nav-cta,
html[data-theme="light"] .button.secondary,
html[data-theme="light"] .menu-toggle,
html[data-theme="light"] .carousel-button,
html[data-theme="light"] .capability,
html[data-theme="light"] .product-card,
html[data-theme="light"] .reference-card,
html[data-theme="light"] .about-card,
html[data-theme="light"] .detail-list li,
html[data-theme="light"] .feature-card,
html[data-theme="light"] .faq-item,
html[data-theme="light"] .legal-block{background:white;border-color:var(--line);color:var(--ink)}
html[data-theme="light"] .section-alt{background:#edf1ee}
html[data-theme="light"] .references-section,
html[data-theme="light"] .product-references-section{background:#f8faf8}
html[data-theme="light"] .detail-section.alt{background:#edf1ee}
html[data-theme="light"] .section-dark{background:var(--deep)}
html[data-theme="light"] .framework-panel,
html[data-theme="light"] .workflow-step,
html[data-theme="light"] .product-visual,
html[data-theme="light"] .brand-mark{background:var(--deep)}
html[data-theme="light"] .contact-card,
html[data-theme="light"] .product-cta-card{background:#dff2e8}
html[data-theme="light"] .contact-form label{color:#40534c}
html[data-theme="light"] .contact-form input,
html[data-theme="light"] .contact-form textarea,
html[data-theme="light"] .contact-form select{background:white;border-color:#c8d8d0;color:var(--ink)}
html[data-theme="light"] .placeholder-note{background:rgba(255,255,255,.5);border-color:#aebcb5;color:#5e6e68}
html[data-theme="light"] .legal-note{background:#edf1ee;border-color:var(--line);color:#556660}
html[data-theme="light"] .product-kicker{background:#e5f4ec;color:var(--accent-dark)}
html[data-theme="light"] .carousel-track::-webkit-scrollbar-thumb{background:#cfd9d4}
html[data-theme="light"] .reference-avatar{background:var(--deep)}
html[data-theme="light"] .bridge-overlay{background:linear-gradient(90deg,rgba(8,23,18,.78) 0%,rgba(8,23,18,.60) 45%,rgba(8,23,18,.38) 100%)}
html[data-theme="light"] .nav-cta:hover,
html[data-theme="light"] .button.secondary:hover,
html[data-theme="light"] .carousel-button:hover{background:white}
html[data-theme="light"] a.text-link,
html[data-theme="light"] .footer-legal-links a,
html[data-theme="light"] .breadcrumb a,
html[data-theme="light"] .legal-back{color:var(--accent-dark)}


/* Back-to-top button */
.back-to-top{
  display:flex;
  text-decoration:none;
  align-items:center;
  justify-content:center;
  gap:7px;
  margin:0 auto 34px;
  padding:10px 15px;
  border-radius:999px;
  border:1px solid var(--line);
  background:var(--surface);
  color:var(--ink);
  font-size:13px;
  font-weight:700;
  cursor:pointer;
  transition:transform .18s ease, border-color .18s ease, background .18s ease;
}
.back-to-top:hover{
  transform:translateY(-2px);
  border-color:var(--accent);
}
.back-to-top:focus-visible{
  outline:3px solid color-mix(in srgb, var(--accent) 35%, transparent);
  outline-offset:3px;
}
html[data-theme="dark"] .back-to-top{
  background:var(--surface);
  border-color:var(--line);
  color:var(--ink);
}
@media(prefers-color-scheme: dark){
  html:not([data-theme]) .back-to-top{
    background:var(--surface);
    border-color:var(--line);
    color:var(--ink);
  }
}


/* Contact form backend/status */
.contact-honeypot{
  position:absolute !important;
  left:-10000px !important;
  width:1px !important;
  height:1px !important;
  overflow:hidden !important;
}
.contact-status{
  border-radius:10px;
  padding:12px 14px;
  font-size:14px;
  font-weight:650;
}
.contact-status[data-status="success"]{
  background:#e4f5eb;
  border:1px solid #b7dec8;
  color:#1c6743;
}
.contact-status[data-status="invalid"],
.contact-status[data-status="error"]{
  background:#fff0ed;
  border:1px solid #ebc4bc;
  color:#8a3328;
}
@media(prefers-color-scheme: dark){
  html:not([data-theme]) .contact-status[data-status="success"]{
    background:#153125;
    border-color:#2f6048;
    color:#9be2ba;
  }
  html:not([data-theme]) .contact-status[data-status="invalid"],
  html:not([data-theme]) .contact-status[data-status="error"]{
    background:#371d1a;
    border-color:#6d3730;
    color:#f2b8ae;
  }
}
html[data-theme="dark"] .contact-status[data-status="success"]{
  background:#153125;
  border-color:#2f6048;
  color:#9be2ba;
}
html[data-theme="dark"] .contact-status[data-status="invalid"],
html[data-theme="dark"] .contact-status[data-status="error"]{
  background:#371d1a;
  border-color:#6d3730;
  color:#f2b8ae;
}
