/* Manrope by the Manrope Project Authors, SIL OFL 1.1. Self-hosted. */
@font-face {
  font-family: "Manrope";
  src: url("fonts/Manrope-Variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}
:root {
  --site-font: "Manrope", "Segoe UI", Arial, sans-serif;
  --workspace-font: var(--site-font);
  --font-family-primary: var(--site-font);
}
body, button, input, select, textarea { font-family: var(--site-font); }
.public-site, .reference-home, .workspace-site, body.agro-admin { font-family: var(--site-font); }
.public-site :is(h1,h2,h3,h4), .workspace-site :is(h1,h2,h3,h4), .agro-admin :is(h1,h2,h3,h4) { font-family: var(--site-font); }
.public-site :is(h1,h2), .workspace-site h1 { letter-spacing: -.035em; }
.public-site h3, .workspace-site :is(h2,h3) { letter-spacing: -.02em; }
.public-site button, .public-site .button { font-weight: 650; }
.reference-home .farm-copy :is(h1,h2) { font-size: clamp(36px,3.5vw,56px); line-height: 1.1; }
.reference-home .farm-copy { max-width: 800px; }
.reference-home .solution-text h3 { line-height: 1.35; }
.reference-home .solution-buttons button, .reference-home .solution-buttons .button { white-space: normal; }
.reference-home .team-card h3, .reference-home .helper-card h3 { line-height: 1.35; }
.workspace-main table, .agro-admin #result_list, .price-value, .ai-metrics strong, .comparison-value { font-variant-numeric: tabular-nums; }
.workspace-site .site-nav { flex-wrap: wrap; row-gap: 12px; }
@media(max-width:1280px) {
  .public-site .site-header { flex-wrap: wrap; }
  .public-site .site-nav { order: 3; flex-basis: 100%; overflow-x: auto; padding: 8px 0; }
  .public-site .header-right { margin-left: auto; }
}
@media(max-width:760px) {
  .reference-home .farm-copy :is(h1,h2) { font-size: clamp(32px,7.5vw,43px); }
  .reference-home .farm-copy { padding-top: 32px; }
  .public-site .header-right { margin-left: 0; }
}

/* Filled links inherit the action colour instead of surrounding blue link rules. */
body a.button:not(.white):not(.soft-button),body a.button:not(.white):not(.soft-button):visited{color:#fff}
body a.button:not(.white):not(.soft-button) .icon{color:inherit;stroke:currentColor}
.staff-entry{position:relative;margin:0;font-size:13px;align-self:flex-end}
.staff-entry summary{padding:8px 12px;border:1px solid #cbded2;border-radius:8px;color:#164b37;background:#f2f8f4;list-style:none}
.staff-entry summary::after{content:' •'}
.staff-entry[open] summary{background:#e5f0e9}
.staff-entry nav{position:absolute;right:0;top:100%;z-index:50;display:flex;flex-direction:column;align-items:stretch;gap:4px;min-width:210px;padding:10px;background:white;border:1px solid #d5e4da;border-radius:12px;box-shadow:0 12px 30px #153e2420}
.staff-entry nav a{padding:10px 12px;border-radius:7px;color:#153e2c;white-space:nowrap}
.staff-entry nav a:hover{background:#eaf3ed}
.role-choices{display:flex;flex-wrap:wrap;gap:8px;margin:20px 0}
.role-choices a{border:1px solid #cbded2;border-radius:8px;padding:9px 12px;font-size:13px}
.role-choices a[aria-current=page]{color:white;background:#245b42;border-color:#245b42}

.product-tabs{overflow-x:auto;gap:24px;white-space:nowrap}
.product-tabs [role=tab]{border-bottom:3px solid transparent;padding:14px 0;color:#536d7b}
.product-tabs [role=tab][aria-selected=true]{color:#164d38;border-bottom-color:#164d38;font-weight:750}
.product-content>[role=tabpanel]{min-height:220px;padding:28px 0;outline-offset:6px}
.product-content>[role=tabpanel][hidden]{display:none}
.product-content #matrix table{min-width:650px}
.product-content #matrix th,.product-content #matrix td{border-right:1px solid #dce8e1;padding:18px 22px;vertical-align:top}
.product-content #matrix td:nth-child(even){background:#f7faf8}

/* Catalog product/service names */
.reference-home .solution-card .solution-text h3,.solution-card .solution-text h3{font-size:19px!important;font-weight:700;line-height:1.35!important;margin-bottom:10px;overflow-wrap:anywhere}@media(max-width:640px){.reference-home .solution-card .solution-text h3,.solution-card .solution-text h3{font-size:18px!important}}

.reference-home .farm-hero .slider-controls{top:16px!important;right:20px!important;bottom:auto!important;left:auto!important;transform:none!important;display:flex;flex-wrap:wrap;gap:3px;max-width:calc(100% - 40px);padding:5px;border-radius:10px;background:rgba(255,255,255,.92);z-index:5}.reference-home .farm-hero .slider-controls[hidden]{display:none!important}.reference-home .farm-hero .slider-controls .slide-square{position:relative;display:block;width:30px;height:30px;min-height:30px;padding:0;margin:0;border:0;border-radius:5px;background:transparent}.reference-home .farm-hero .slide-square:before{content:"";position:absolute;inset:6px;border-radius:3px;background:#9ec3a8}.reference-home .farm-hero .slide-square[aria-pressed="true"]:before{background:#236044;box-shadow:0 0 0 2px #236044}.reference-home .farm-hero .slide-square:hover:before{background:#47775b}.reference-home .farm-hero .slide-square:focus-visible{outline:2px solid #236044;outline-offset:1px}

/* Keep all slide selectors in one compact row on phones. */
@media(max-width:640px){
 .reference-home .farm-hero .slider-controls{top:8px!important;right:8px!important;left:auto!important;flex-wrap:nowrap;gap:1px;padding:3px 4px;border-radius:7px;max-width:calc(100% - 16px);box-sizing:border-box;overflow-x:auto;scrollbar-width:none}
 .reference-home .farm-hero .slider-controls::-webkit-scrollbar{display:none}
 .reference-home .farm-hero .slider-controls .slide-square{flex:0 0 clamp(10px,3.5vw,16px);width:clamp(10px,3.5vw,16px);height:22px!important;min-height:22px!important;border-radius:3px}
 .reference-home .farm-hero .slide-square:before{inset:6px 3px;border-radius:2px}
 .reference-home .farm-hero .slide-square[aria-pressed="true"]:before{box-shadow:0 0 0 1px #236044}
}
