/* Service pages: where we can help, our approach and the commitment band. */
.service-detail .eyebrow{display:inline-block;font-size:13px;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:#479b20;margin-bottom:14px}

/* Where we can help */
.help-grid{display:grid;gap:16px;list-style:none;padding:0;margin:0}
.help-card{position:relative;display:flex;flex-direction:column;padding:26px 24px;border:1px solid rgba(255,255,255,.92);border-radius:22px;background:linear-gradient(150deg,rgba(255,255,255,.85),rgba(255,255,255,.55));box-shadow:inset 0 1px 0 #fff,0 18px 44px rgba(20,60,35,.07)}
.help-icon{display:grid;place-items:center;width:48px;height:48px;border-radius:14px;background:#e3ecd9;margin-inline:auto;margin-bottom:20px}
.help-icon svg{width:24px;height:24px;fill:none;stroke:#205732;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.help-card h3{font-size:21px;font-weight:500;letter-spacing:-.025em;line-height:1.2;color:var(--forest)}
.help-card p{margin-top:10px;font-size:15px;line-height:1.65;color:#516154}
.help-card .help-outcome{display:flex;gap:10px;align-items:flex-start;margin-top:auto;padding-top:20px;font-size:14px;font-weight:600;color:#2e6b3a}
.help-outcome:before{content:'';flex:none;width:18px;height:18px;margin-top:1px;border-radius:50%;background:#479b20 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/12px no-repeat}

/* Our approach */
.approach-grid{display:grid;gap:36px}
.approach-intro h2{font-size:clamp(34px,4vw,55px);line-height:1.06;font-weight:500;letter-spacing:-.045em}
.approach-intro p{margin-top:20px;color:#4b5b4e;max-width:30em}
.approach-steps{list-style:none;padding:0;margin:0;position:relative}
.approach-steps:before{content:'';position:absolute;left:21px;top:22px;bottom:22px;width:2px;background:linear-gradient(#479b20,rgba(71,155,32,.15))}
.approach-steps li{position:relative;padding:0 0 34px 70px}
.approach-steps li:last-child{padding-bottom:0}
.approach-steps .step-num{position:absolute;left:0;top:0;display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:#205732;color:#fff;font-size:15px;font-weight:600;box-shadow:0 0 0 6px #f5f7f0}
.approach-steps h3{font-size:23px;font-weight:500;letter-spacing:-.025em;line-height:1.2;color:var(--forest);padding-top:8px}
.approach-steps p{margin-top:10px;font-size:15px;line-height:1.7;color:#536356;max-width:38em}

/* Commitment band */
.story-page main>.commitment{padding-block:24px 56px}
.commitment .wrap>div{border-radius:28px;background:radial-gradient(70% 90% at 100% 0%,rgba(168,237,125,.35),transparent 65%),#e3ecd9;border:1px solid #d5e1ca;padding:40px 24px}
.story-page .commitment h2{margin:0;color:var(--forest)}
.commitment-facts{display:grid;gap:14px;margin:32px 0 0;padding:0;list-style:none}
.commitment-facts li{padding:20px 22px;border-radius:18px;background:rgba(255,255,255,.7);border:1px solid rgba(255,255,255,.9)}
.commitment-facts strong{display:block;font-size:22px;line-height:1.15;font-weight:600;letter-spacing:-.035em;color:#205732}
.commitment-facts span{display:block;margin-top:6px;font-size:14px;line-height:1.5;color:#4b644d}
.commitment-facts .text-link{font-size:inherit}

@media(min-width:700px){
  .help-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .commitment .wrap>div{padding:56px 48px}
  .commitment-facts{grid-template-columns:repeat(3,minmax(0,1fr))}
  .commitment-facts strong{font-size:clamp(20px,1.9vw,26px)}
}
@media(min-width:1000px){
  .help-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
  .approach-grid{grid-template-columns:minmax(0,.85fr) minmax(0,1.3fr);gap:80px;align-items:start}
  .story-page main>.commitment{padding-block:40px 80px}
  .commitment .wrap>div{padding:72px 64px}
}
@media(hover:hover) and (prefers-reduced-motion:no-preference){
  .help-card{transition:translate .4s cubic-bezier(.2,.75,.2,1),box-shadow .4s}
  .help-card:hover{translate:0 -4px;box-shadow:inset 0 1px 0 #fff,0 24px 50px rgba(20,60,35,.12)}
}
@media(prefers-reduced-transparency:reduce){.help-card{background:#fbfcfa}}

/* Hero heading: sized to the copy column so it always sits on two even lines */
.story-page:is(.automation-page,.software-page) .hero-copy{container-type:inline-size}
.story-page:is(.automation-page,.software-page) .page-hero h1{font-size:clamp(30px,10cqi,72px);max-width:none;text-wrap:balance}

/* Keep the next heading visible below Automation's taller workflow on desktop. */
@media(min-width:1000px){
  .story-page.automation-page main>.page-hero{padding-bottom:40px}
  .story-page.automation-page main>.page-hero+.section{padding-top:40px}
}
@media(min-width:1000px) and (max-height:800px){
  .story-page.automation-page main>.page-hero:first-child{padding-top:calc(36px + var(--site-header-h,112px));padding-bottom:24px}
  .story-page.automation-page main>.page-hero+.section{padding-top:24px}
  .automation-page .workflow{padding:24px}
  .automation-page .workflow-header{margin-bottom:16px}
  .automation-page .flow-nodes{gap:12px}
  .automation-page .flow-node{padding:12px}
  .automation-page .workflow-detail{margin-top:18px}
}

/* Four-card variant: two columns until there is room for a single row */
@media(min-width:1000px){.help-grid-four{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(min-width:1200px){.help-grid-four{grid-template-columns:repeat(4,minmax(0,1fr))}}

/* A highlighted line under an intro */
.approach-intro .approach-note{margin-top:24px;padding:16px 20px;border-left:3px solid #479b20;border-radius:0 12px 12px 0;background:#e3ecd9;font-size:15px;font-weight:600;line-height:1.5;color:var(--forest)}

/* Trust panel on the dark band */
.trust-heading{max-width:46em}
.trust-heading p{margin-top:18px}
.trust-grid{display:grid;gap:14px;margin:36px 0 0;padding:0;list-style:none}
.trust-grid li{padding:24px 22px;border-radius:20px;border:1px solid rgba(255,255,255,.14);background:rgba(255,255,255,.06)}
.trust-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:12px;background:rgba(168,237,125,.16);margin-inline:auto;margin-bottom:18px}
.trust-icon svg{width:22px;height:22px;fill:none;stroke:#c9f0ad;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.story-page .trust-grid h3{font-size:19px;font-weight:500;letter-spacing:-.02em;line-height:1.25;color:#fff}
.story-page .trust-grid p{margin-top:8px;font-size:14.5px;line-height:1.6;color:rgba(255,255,255,.76)}
.trust-heading .text-link{font-size:inherit}
@media(min-width:700px){.trust-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(min-width:1100px){.trust-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}

/* Software explorer: one panel per screenshot, each in the same phone frame */
.screen-panel{display:contents}
.screen-panel[hidden]{display:none}
.screen-stage .browser-device{position:relative;z-index:1;transform:rotate(-2deg)}
.screen-stage .browser-device img{animation:screen-reveal .45s ease both}
@media(prefers-reduced-motion:reduce){.screen-stage .browser-device img{animation:none}}
/* Software explorer phone: narrower and taller than the shared frame so it reads as a phone */
.software-page .screen-phone{width:240px;border-radius:36px}
.software-page .screen-phone img{aspect-ratio:1/2;border-radius:29px}
@media(min-width:1000px){.story-page.software-page .screen-phone{width:262px}}
@media(max-width:699px){.story-page.software-page .screen-phone{width:228px}}

/* Line up the icon, title, description and outcome across each row of cards */
@supports (grid-template-rows:subgrid){
  .help-card{display:grid;grid-row:span 4;grid-template-rows:subgrid;row-gap:0;align-content:start}
  .help-card .help-outcome{margin-top:0}
}

