/* Shared Grocery/Pharmacy rules; loaded only by these two routes. */

:is(.gf-hero,.ph-hero){
  position:relative;
  overflow:hidden;
  padding:92px 0 86px;
  background:
    radial-gradient(circle at 86% 14%,rgba(116,215,174,.2),transparent 30%),
    linear-gradient(180deg,#f4faf7 0%,#fff 100%);
}
:is(.gf-hero-grid,.ph-hero-grid){
  display:grid;
  grid-template-columns:.92fr 1.08fr;
  gap:60px;
  align-items:center;
}
:is(.gf-copy,.ph-copy) h1{
  max-width:760px;
  margin:18px 0 20px;
  font-size:clamp(49px,4.2vw,70px);
  line-height:.98;
  letter-spacing:-.055em;
}
:is(.gf-lead,.ph-lead){
  max-width:690px;
  margin:0;
  color:#627872;
  font-size:18px;
  line-height:1.58;
}
:is(.gf-record-card,.ph-record-card){
  padding:28px;
  border:1px solid #d6e4de;
  border-radius:22px;
  background:#fff;
  box-shadow:0 28px 70px rgba(10,53,49,.11);
}
.record-top{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
  margin-bottom:18px;
}
.record-top strong{
  font-size:18px;
}
.record-badge{
  padding:7px 10px;
  border-radius:999px;
  background:#eef8f3;
  color:#4f7169;
  font-size:8px;
  font-weight:900;
  letter-spacing:.08em;
}
.record-grid{
  display:grid;
  grid-template-columns:1fr 1.4fr;
  border-top:1px solid var(--line);
}
.record-grid div{
  display:contents;
}
.record-grid span,
.record-grid b{
  border-bottom:1px solid var(--line);
  font-size:11px;
}
.record-grid span{
  color:#7b8e89;
}
.record-grid b{
  color:#183f3b;
}
.state-ok{
  color:#14825b!important;
}
.record-note{
  margin:14px 0 0;
  color:#84968f;
  font-size:9px;
  line-height:1.45;
}

.split-heading{
  display:grid;
  grid-template-columns:1fr .8fr;
  gap:72px;
  align-items:end;
  margin-bottom:34px;
}
.split-heading h2{
  margin:10px 0 0;
  font-size:46px;
  line-height:1.04;
  letter-spacing:-.045em;
}
.split-heading>p{
  margin:0;
  color:#60706c;
  font-size:15px;
  line-height:1.6;
}
.scope-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:14px;
}
.scope-grid article{
  min-height:225px;
  padding:22px;
  border:1px solid var(--line);
  border-radius:14px;
  background:#fff;
}
.scope-grid article>span{
  color:#607671;
  font-size:10px;
  font-weight:900;
}
.scope-grid h3{
  margin:34px 0 10px;
  font-size:20px;
  letter-spacing:-.025em;
}
.scope-grid p{
  margin:0;
  color:#63726f;
  font-size:13px;
  line-height:1.55;
}

:is(.gf-problems,.ph-problems){
  background:#f7fbf8;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}
:is(.gf-problems,.ph-problems)>div>h2{
  max-width:840px;
  margin:10px 0 32px;
  font-size:44px;
  line-height:1.04;
  letter-spacing:-.04em;
}
.problem-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:14px;
}
.problem-grid article{
  padding:24px;
  border:1px solid var(--line);
  border-radius:14px;
  background:#fff;
}
.problem-grid h3{
  margin:0 0 10px;
  font-size:20px;
  line-height:1.18;
}
.problem-grid p{
  margin:0;
  color:#60706c;
  font-size:13px;
  line-height:1.55;
}

:is(.gf-output,.ph-output){
  background:#073c39;
  color:#fff;
}
.output-layout{
  display:grid;
  grid-template-columns:.8fr 1.2fr;
  gap:72px;
  align-items:start;
}
:is(.gf-output,.ph-output) .section-kicker{color:#a9d7c7}
:is(.gf-output,.ph-output) h2{
  margin:10px 0 14px;
  font-size:44px;
  line-height:1.04;
  letter-spacing:-.04em;
}
:is(.gf-output,.ph-output) p{
  color:#b8cfca;
  font-size:14px;
  line-height:1.6;
}
.schema-card{
  border:1px solid rgba(255,255,255,.15);
  border-radius:14px;
  overflow:hidden;
}
.schema-card>div{
  display:grid;
  grid-template-columns:.72fr 1.28fr;
  gap:20px;
  padding:15px 18px;
  border-bottom:1px solid rgba(255,255,255,.12);
}
.schema-card>div:last-child{border-bottom:0}
.schema-head{
  background:rgba(255,255,255,.06);
  color:#a9c4be;
  font-size:9px;
  font-weight:900;
  letter-spacing:.08em;
}
.schema-card code{
  color:#8ee1bd;
  font-size:12px;
}
.schema-card span{
  color:#d0dfdc;
  font-size:12px;
}

:is(.gf-governance,.ph-governance){background:#fff}
.governance-layout{
  display:grid;
  grid-template-columns:.72fr 1.28fr;
  gap:70px;
  align-items:start;
}
.governance-copy h2{
  margin:10px 0 14px;
  font-size:44px;
  line-height:1.04;
  letter-spacing:-.04em;
}
.governance-copy p{
  color:#60706c;
  font-size:15px;
  line-height:1.6;
}
.text-link{
  display:inline-block;
  margin-top:14px;
  color:#0b5b50;
  font-size:13px;
  font-weight:900;
}
.governance-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
}
.governance-grid article{
  min-height:210px;
  padding:22px;
  border:1px solid var(--line);
  border-radius:14px;
  background:#f8fbf9;
}
.governance-grid article>span{
  color:#167e58;
  font-size:9px;
  font-weight:900;
  letter-spacing:.08em;
}
.governance-grid h3{
  margin:34px 0 10px;
  font-size:19px;
}
.governance-grid p{
  margin:0;
  color:#60706c;
  font-size:13px;
  line-height:1.5;
}

:is(.gf-workflow,.ph-workflow){
  background:#f7fbf8;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}
.workflow-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:14px;
}
.workflow-grid article{
  padding:24px;
  border:1px solid var(--line);
  border-radius:14px;
  background:#fff;
}
.workflow-grid article>span{
  display:grid;
  place-items:center;
  width:36px;
  height:36px;
  border-radius:50%;
  background:#e9f8ef;
  color:#137a54;
  font-size:13px;
  font-weight:900;
}
.workflow-grid h3{
  margin:22px 0 8px;
  font-size:19px;
}
.workflow-grid p{
  margin:0;
  color:#63726f;
  font-size:13px;
  line-height:1.55;
}

:is(.gf-cta,.ph-cta){
  padding:56px 0;
  background:#073c39;
  color:#fff;
}
:is(.gf-cta-inner,.ph-cta-inner){
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:44px;
}
:is(.gf-cta,.ph-cta) h2{
  margin:8px 0 10px;
  font-size:38px;
  letter-spacing:-.035em;
}
:is(.gf-cta,.ph-cta) p{
  max-width:700px;
  margin:0;
  color:#b7cfca;
  font-size:14px;
  line-height:1.55;
}
.active-link{font-weight:900;color:#0b5b50!important}

@media(max-width:1050px){
  :is(.gf-hero-grid,.ph-hero-grid),.split-heading,.output-layout,.governance-layout{grid-template-columns:1fr}
  .scope-grid,.problem-grid{grid-template-columns:repeat(2,1fr)}
  .workflow-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:700px){
  :is(.gf-hero,.ph-hero){padding:64px 0}
  :is(.gf-copy,.ph-copy) h1{font-size:43px}
  :is(.gf-lead,.ph-lead){font-size:16px}
  .record-grid{grid-template-columns:1fr}
  .record-grid div{display:block}
  .record-grid span,.record-grid b{display:block}
  .scope-grid,.problem-grid,.governance-grid,.workflow-grid{grid-template-columns:1fr}
  .split-heading h2,:is(.gf-problems,.ph-problems)>div>h2,:is(.gf-output,.ph-output) h2,.governance-copy h2{font-size:36px}
  :is(.gf-cta-inner,.ph-cta-inner){flex-direction:column;align-items:flex-start}
}
@media(prefers-reduced-motion:reduce){
  *{scroll-behavior:auto!important}
}


/* V19 product-image hero treatment */
.product-visual-shell{
  position:relative;
  min-height:560px;
}
.product-photo-card{
  position:absolute;
  overflow:hidden;
  border:1px solid #d5e4de;
  border-radius:20px;
  background:#fff;
  box-shadow:0 28px 65px rgba(8,55,50,.11);
}
.product-photo-card img{
  display:block;
  width:100%;
  height:100%;
  object-fit:contain;
  background:#fff;
}
.product-photo-card>span{
  position:absolute;
  left:14px;
  bottom:13px;
  padding:7px 9px;
  border-radius:999px;
  background:rgba(7,60,57,.92);
  color:#fff;
  font-size:8px;
  font-weight:900;
  letter-spacing:.07em;
}
.product-photo-large{
  top:0;
  left:10%;
  width:54%;
  height:470px;
  padding:18px;
}
.product-photo-small{
  top:90px;
  right:0;
  width:39%;
  height:330px;
  padding:16px;
}
.mini-record{
  position:absolute;
  left:0;
  right:7%;
  bottom:0;
  padding:18px 20px;
  border:1px solid #d5e4de;
  border-radius:14px;
  background:#fff;
  box-shadow:0 16px 38px rgba(8,55,50,.1);
}
.mini-record strong{
  display:block;
  margin:10px 0 5px;
  color:#123e39;
  font-size:15px;
}
.mini-record small{
  color:#657570;
  font-size:9px;
  line-height:1.4;
}
@media(max-width:1050px){
  .product-visual-shell{
    max-width:760px;
  }
}
@media(max-width:700px){
  .product-visual-shell{
    min-height:520px;
  }
  .product-photo-large{
    left:0;
    width:60%;
    height:390px;
  }
  .product-photo-small{
    top:70px;
    width:43%;
    height:285px;
  }
  .mini-record{
    right:0;
  }
}
