.fridge-hero {
  position:relative;
  isolation:isolate;
  background:#1c2631;
  color:#fff;
  overflow:hidden;
}

.fridge-hero-background {
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  z-index:-2;
}

.fridge-hero::after {
  content:"";
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.51);
  z-index:-1;
}

.fridge-hero-inner {
  position:relative;
  min-height:855px;
  display:flex;
  align-items:center;
  padding-top:96px;
  padding-bottom:80px;
}

.fridge-hero-copy {
  position:relative;
  z-index:2;
  width:66%;
}

.fridge-hero h1 {
  font-size:calc(clamp(48px,5.55vw,80px) * var(--text-scale));
  font-style:italic;
  font-weight:750;
  letter-spacing:-2px;
  line-height:1.1;
  margin:0 0 46px;
}

.fridge-hero-benefits {
  display:flex;
  gap:36px;
  list-style:none;
  padding:0;
  margin:0;
  font-size:calc(20px * var(--text-scale));
  font-weight:600;
  white-space:nowrap;
}

.fridge-hero-device {
  position:absolute;
  width:40%;
  height:auto;
  right:6%;
  bottom:100px;
  filter:drop-shadow(7px 8px 15px #0006);
}

.fridge-vending,.fridge-intelligence,.fridge-scenarios {
  padding:58px 0 52px;
}

.fridge-vending h2,.fridge-store h2,.fridge-intelligence h2,.fridge-payments h2,.fridge-scenarios h2 {
  font-size:calc(36px * var(--text-scale));
  font-weight:600;
  line-height:1.3;
  text-align:center;
  letter-spacing:-1px;
  margin:0;
}

.fridge-vending-diagram {
  height:470px;
  max-width:1094px;
  margin:32px auto 0;
  position:relative;
  color:#85858a;
}

.fridge-vending-top {
  position:absolute;
  left:50%;
  top:0;
  text-align:center;
  transform:translateX(-50%);
  font-size:calc(24px * var(--text-scale));
  line-height:1.5;
}

.fridge-vending-top p {
  margin:0 0 20px;
}

.fridge-vending-top img {
  display:block;
  width:50px;
  height:auto;
  margin:auto;
}

.fridge-vending-ring {
  position:absolute;
  left:50%;
  top:172px;
  transform:translateX(-50%) rotate(-16.52deg);
  width:277px;
}

.fridge-vending-ring img {
  width:100%;
  height:auto;
}

.fridge-vending-item {
  position:absolute;
  display:flex;
  align-items:center;
  gap:24px;
  font-size:calc(24px * var(--text-scale));
  line-height:1.4;
  min-height:100px;
}

.fridge-vending-item p {
  margin:0;
}

.fridge-vending-item>img {
  flex:none;
  max-width:53px;
  height:auto;
}

.fridge-vending-item--shelf {
  left:0;
  top:200px;
}

.fridge-vending-item--recognition {
  left:0;
  top:360px;
}

.fridge-vending-item--variety {
  right:-4px;
  top:194px;
  color:#151515;
  padding:16px 22px;
}

.fridge-vending-item--variety>.fridge-vending-highlight {
  position:absolute;
  inset:0;
  width:100%;
  max-width:none;
  height:100%;
  z-index:0;
}

.fridge-vending-item--variety>p,.fridge-vending-item--variety>img:not(.fridge-vending-highlight) {
  position:relative;
}

.fridge-vending-item--flexible {
  right:38px;
  top:360px;
}

.fridge-vending-item--flexible>img {
  width:43px;
}

.fridge-store {
  position:relative;
  background:#03070e;
  color:#fff;
  overflow:hidden;
  padding-top:30px;
}

.fridge-store h2 {
  position:relative;
  z-index:3;
}

.fridge-store-stage {
  height:560px;
  position:relative;
  max-width:1440px;
  isolation:isolate;
}

.fridge-store-grid,.fridge-store-stars,.fridge-store-glow {
  position:absolute;
  pointer-events:none;
  z-index:-1;
}

.fridge-store-grid {
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  opacity:.22;
}

.fridge-store-stars {
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  opacity:.4;
}

.fridge-store-glow {
  left:-30%;
  top:-80%;
  width:160%;
  height:auto;
  opacity:.45;
}

.fridge-store-device {
  position:absolute;
  left:50%;
  top:20px;
  transform:translateX(-50%);
  height:502px;
  width:auto;
}

.fridge-callout {
  position:absolute;
  font-size:calc(16px * var(--text-scale));
  line-height:1.35;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  isolation:isolate;
  padding:10px 18px;
}

.fridge-callout img {
  position:absolute;
  width:100%;
  height:auto;
  z-index:-1;
}

.fridge-callout p {
  margin:0;
  position:relative;
}

.fridge-callout--fog {
  left:16%;
  top:100px;
  width:301px;
  min-height:54px;
}

.fridge-callout--pos {
  left:18%;
  top:214px;
  width:274px;
  min-height:71px;
  text-align:right;
}

.fridge-callout--door {
  left:14%;
  top:350px;
  width:332px;
  min-height:51px;
}

.fridge-callout--display {
  left:63%;
  top:74px;
  width:218px;
  min-height:38px;
}

.fridge-callout--steel {
  left:63%;
  top:177px;
  width:218px;
  min-height:38px;
}

.fridge-callout--shelves {
  left:63%;
  top:280px;
  width:347px;
  min-height:38px;
}

.fridge-callout--water {
  left:63%;
  top:383px;
  width:291px;
  min-height:38px;
}

.fridge-intelligence {
  background:radial-gradient(ellipse at 20% 80%,#eef4f9,transparent 65%),#fff;
  padding-bottom:60px;
}

.fridge-software-layout {
  display:grid;
  grid-template-columns:1fr 1.15fr;
  gap:40px;
  align-items:end;
  margin-top:60px;
}

.fridge-dashboard {
  position:relative;
  overflow:hidden;
  aspect-ratio:569/327;
}

.fridge-dashboard img {
  position:absolute;
  width:157.6%;
  max-width:none;
  height:auto;
  left:-50.3%;
  top:-419.95%;
}

.fridge-software-features {
  list-style:none;
  padding:0;
  margin:0;
  display:grid;
  grid-template-columns:1.15fr 1fr;
  gap:30px 17px;
}

.fridge-software-features li {
  min-height:84px;
  display:flex;
  align-items:center;
  gap:20px;
  padding:20px 24px;
  border:1px solid #e0e0e0;
  border-radius:13px;
  box-shadow:0 4px 4px #00000016;
  background:#ffffffa8;
  font-size:calc(18px * var(--text-scale));
  line-height:1.3;
}

.fridge-software-features li:nth-child(6) {
  background:#eef0f5;
}

.fridge-software-features img {
  width:auto;
  height:auto;
  max-width:40px;
  max-height:40px;
  flex:none;
}

.fridge-payments {
  background:#031735 url('../static/design/8dbf5.svg') center/cover no-repeat;
  color:#fff;
  padding:58px 0 30px;
}

.fridge-section-intro {
  text-align:center;
  font-size:calc(20px * var(--text-scale));
  line-height:1.5;
  margin:18px 0 0;
}

.fridge-payments .fridge-section-intro {
  color:#e1e4ec;
}

.fridge-payment-workflow {
  position:relative;
  overflow:hidden;
  width:100%;
  aspect-ratio:1341/319;
  margin:48px auto 0;
}

.fridge-payment-workflow img {
  position:absolute;
  width:100%;
  max-width:none;
  height:auto;
  top:-21.91%;
  left:0;
}

.fridge-payment-caption {
  text-align:center;
  font-size:calc(20px * var(--text-scale));
  margin:28px 0 18px;
}

.fridge-payment-logos {
  position:relative;
  overflow:hidden;
  width:90%;
  aspect-ratio:1200/93;
  margin:0 auto;
}

.fridge-payment-logos img {
  position:absolute;
  width:139.98%;
  max-width:none;
  height:auto;
  left:-18.68%;
  top:-554.03%;
}

.fridge-scenarios {
  padding-top:30px;
}

.fridge-scenario-grid {
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:30px;
  margin-top:36px;
}

.fridge-scenario-grid figure {
  position:relative;
  margin:0;
  overflow:hidden;
}

.fridge-scenario-grid img {
  display:block;
  width:100%;
  height:auto;
}

.fridge-scenario-grid figcaption {
  position:absolute;
  bottom:0;
  left:0;
  right:0;
  padding:12px 8px;
  background:#1b326dc9;
  text-align:center;
  color:#fff;
  font-size:calc(24px * var(--text-scale));
  font-weight:600;
}

@media(min-width:1600px) {
  .fridge-hero-inner {
    min-height:900px;
  }
}

@media(max-width:1199px) {
  .fridge-hero-inner {
    min-height:720px;
  }
  .fridge-hero-benefits {
    gap:22px;
    font-size:calc(17px * var(--text-scale));
  }
  .fridge-hero h1 {
    font-size:calc(64px * var(--text-scale));
  }
  .fridge-hero-device {
    right:3%;
    bottom:100px;
  }
  .fridge-vending-diagram {
    transform:scale(.85);
    transform-origin:center top;
    margin-bottom:-65px;
  }
  .fridge-vending-item {
    font-size:calc(20px * var(--text-scale));
  }
  .fridge-vending-ring {
    width:245px;
    top:185px;
  }
  .fridge-vending-item--shelf,.fridge-vending-item--recognition {
    left:-20px;
  }
  .fridge-vending-item--variety {
    right:-20px;
  }
  .fridge-vending-item--flexible {
    right:0;
  }
  .fridge-callout--fog {
    left:5%;
  }
  .fridge-callout--pos {
    left:7%;
  }
  .fridge-callout--door {
    left:3%;
  }
  .fridge-callout--display,.fridge-callout--steel,.fridge-callout--shelves,.fridge-callout--water {
    left:66%;
    max-width:31%;
  }
  .fridge-callout {
    font-size:calc(13px * var(--text-scale));
  }
  .fridge-software-layout {
    gap:24px;
  }
  .fridge-software-features {
    gap:18px 12px;
  }
  .fridge-software-features li {
    padding:15px;
    gap:12px;
    font-size:calc(15px * var(--text-scale));
  }
  .fridge-scenario-grid {
    gap:18px;
  }
  .fridge-scenario-grid figcaption {
    font-size:calc(19px * var(--text-scale));
  }
}

@media(max-width:900px) {
  .fridge-hero-inner {
    min-height:680px;
    align-items:flex-start;
    padding-top:56px;
    padding-bottom:0;
  }
  .fridge-hero-copy {
    width:100%;
    text-align:center;
  }
  .fridge-hero h1 {
    font-size:calc(46px * var(--text-scale));
    letter-spacing:-1.5px;
    margin-bottom:24px;
  }
  .fridge-hero-benefits {
    justify-content:center;
    flex-wrap:wrap;
    gap:10px 22px;
    font-size:calc(14px * var(--text-scale));
  }
  .fridge-hero-device {
    width:80%;
    max-width:430px;
    right:50%;
    transform:translateX(50%);
    bottom:54px;
  }
  .fridge-hero-background {
    object-position:40% center;
  }
  .fridge-vending,.fridge-intelligence,.fridge-scenarios {
    padding:42px 0;
  }
  .fridge-vending h2,.fridge-store h2,.fridge-intelligence h2,.fridge-payments h2,.fridge-scenarios h2 {
    font-size:calc(28px * var(--text-scale));
    letter-spacing:-.7px;
  }
  .fridge-vending-diagram {
    transform:none;
    height:auto;
    margin:30px 0 0;
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:24px 16px;
  }
  .fridge-vending-top {
    position:static;
    transform:none;
    grid-column:1/-1;
    font-size:calc(18px * var(--text-scale));
  }
  .fridge-vending-top p {
    margin-bottom:14px;
  }
  .fridge-vending-ring {
    position:static;
    transform:rotate(-16.52deg);
    grid-column:1/-1;
    width:190px;
    justify-self:center;
    grid-row:2;
  }
  .fridge-vending-item {
    position:relative;
    inset:auto;
    flex-direction:column;
    justify-content:flex-start;
    text-align:center;
    gap:12px;
    font-size:calc(15px * var(--text-scale));
    min-height:0;
    padding:12px 0;
  }
  .fridge-vending-item--shelf,.fridge-vending-item--recognition {
    flex-direction:column-reverse;
  }
  .fridge-vending-item--variety {
    padding:12px;
  }
  .fridge-vending-item>img {
    max-width:35px;
    max-height:35px;
    width:auto;
  }
  .fridge-vending-item--variety>.fridge-vending-highlight {
    max-height:none;
    width:100%;
    height:100%;
  }
  .fridge-store {
    padding-top:28px;
  }
  .fridge-store-stage {
    height:auto;
    padding-top:25px;
    padding-bottom:30px;
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:12px;
  }
  .fridge-store-device {
    position:static;
    grid-column:1/-1;
    height:420px;
    width:auto;
    max-width:100%;
    transform:none;
    margin:0 auto 15px;
    object-fit:contain;
  }
  .fridge-callout {
    position:relative;
    inset:auto;
    max-width:none!important;
    width:auto;
    min-height:65px;
    font-size:calc(13px * var(--text-scale));
    padding:12px;
    border:1px solid #5e697a66;
    background:#ffffff09;
    border-radius:4px;
  }
  .fridge-callout img {
    max-width:100%;
    opacity:.5;
  }
  .fridge-callout--water {
    grid-column:1/-1;
  }
  .fridge-store-glow {
    top:0;
    left:-70%;
    width:240%;
  }
  .fridge-software-layout {
    grid-template-columns:1fr;
    gap:30px;
    margin-top:32px;
  }
  .fridge-dashboard {
    width:100%;
    max-width:600px;
    margin:auto;
  }
  .fridge-software-features {
    gap:12px;
  }
  .fridge-software-features li {
    font-size:calc(13px * var(--text-scale));
    min-height:78px;
    gap:9px;
    padding:13px 10px;
    border-radius:8px;
  }
  .fridge-software-features img {
    max-width:28px;
    max-height:30px;
  }
  .fridge-payments {
    padding:42px 0 28px;
  }
  .fridge-section-intro {
    font-size:calc(16px * var(--text-scale));
    margin-top:14px;
  }
  .fridge-payment-workflow {
    width:calc(100% + 24px);
    margin:30px -12px 0;
  }
  .fridge-payment-caption {
    font-size:calc(15px * var(--text-scale));
    margin:22px 0 14px;
  }
  .fridge-payment-logos {
    width:100%;
  }
  .fridge-scenario-grid {
    grid-template-columns:1fr 1fr;
    gap:16px;
    margin-top:26px;
  }
  .fridge-scenario-grid figcaption {
    font-size:calc(16px * var(--text-scale));
    padding:8px;
  }
}

@media(prefers-reduced-motion:reduce) {
  .fridge-hero * {
    animation:none!important;
  }
}

.fridge-case-link { margin-top: 28px; }
