/* Homepage benefits: styles are scoped to keep the rest of the site intact. */
.kllivo-benefits {
  padding: 72px 24px 48px;
  background: #fff;
}
.kb-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.kb-card {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  isolation: isolate;
}
.kb-copy {
  position: relative;
  z-index: 2;
}
.kb-card h2 {
  font-family: inherit;
  font-size: 32px;
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -1.2px;
  margin: 0 0 18px;
  color: inherit;
}
.kb-card p {
  font-size: 16px;
  line-height: 1.5;
  margin: 0;
  color: #6a736c;
  max-width: 400px;
}
.kb-overview {
  grid-column: 1/-1;
  min-height: 310px;
  display: flex;
  align-items: center;
  padding: 42px 34px;
  background: linear-gradient(120deg, #f7fafa 12%, #e8fbf7 58%, #3fe0c5);
  color: #1f4b5c;
}
.kb-overview .kb-copy {
  width: 40%;
}
.kb-overview p {
  max-width: 330px;
}
.kb-dashboard {
  position: absolute;
  left: 46%;
  top: 28px;
  width: 51%;
  min-height: 340px;
  transform: rotate(-4deg);
  transform-origin: center;
  background: white;
  border-radius: 20px;
  padding: 22px;
  box-shadow: 0 12px 38px rgba(31, 75, 92, 0.1);
  color: #1f4b5c;
}
.kb-dashboard-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.kb-dashboard-heading strong {
  font-size: 18px;
}
.kb-dashboard-heading > span {
  font-size: 10px;
  border: 1px solid #e7ebe8;
  border-radius: 6px;
  padding: 8px;
}
.kb-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.kb-metrics > div {
  border: 1px solid #e2f2ef;
  border-radius: 12px;
  padding: 12px 10px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.kb-metrics span {
  font-size: 10px;
  color: #71858d;
}
.kb-metrics strong {
  font-size: 23px;
  line-height: 1.3;
}
.kb-metrics small {
  font-size: 8px;
  color: #248f80;
}
.kb-chart-heading {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  margin: 18px 0;
}
.kb-chart-heading span {
  font-size: 8px;
  color: #87948b;
}
.kb-chart {
  width: 100%;
  height: auto;
  display: block;
}
.kb-orders,
.kb-payments {
  height: 610px;
  padding: 36px 35px 0;
}
.kb-orders {
  background: #f7fafa;
  color: #1d1d1f;
  border: 1px solid #e8f4f2;
}
.kb-payments {
  background: #1f4b5c;
  color: #fff;
}
.kb-eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  margin-bottom: 20px;
  color: #1f4b5c;
}
.kb-payments .kb-eyebrow {
  color: #3fe0c5;
}
.kb-payments .kb-copy p {
  color: rgba(255, 255, 255, 0.72);
}
.kb-order-phone {
  position: absolute;
  display: block;
  width: 360px;
  height: auto;
  max-width: 85%;
  left: 50%;
  top: 235px;
  transform: translateX(-50%);
}
.kb-payment-phone {
  position: absolute;
  width: 294px;
  height: 550px;
  top: 250px;
  left: 50%;
  transform: translateX(-50%) rotate(5deg);
  border: 3px solid #747e82;
  border-radius: 47px;
  background: #101614;
  padding: 6px;
  box-shadow: 0 10px 30px #0003;
  color: #243b2e;
}
.kb-phone-screen {
  position: relative;
  background: linear-gradient(155deg, #e4e9de, #c3d2bd);
  height: 100%;
  border-radius: 37px;
  overflow: hidden;
  padding: 17px 14px;
}
.kb-phone-status {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  font-weight: 700;
  padding: 0 8px;
}
.kb-phone-island {
  position: absolute;
  top: 9px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 25px;
  background: #0b100c;
  border-radius: 20px;
}
.kb-checkout-brand {
  font-size: 24px;
  font-weight: 800;
  margin: 29px 0 18px;
  text-align: center;
  letter-spacing: -1px;
}
.kb-checkout-brand span {
  display: block;
  font-size: 8px;
  letter-spacing: 2px;
  margin-top: 3px;
  font-weight: 500;
}
.kb-success {
  margin: auto;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #31533e;
  color: #fff;
  font-size: 28px;
  text-align: center;
  line-height: 48px;
}
.kb-phone-screen h3 {
  font-size: 24px;
  text-align: center;
  margin: 12px 0 4px;
  color: #243b2e;
  letter-spacing: -0.7px;
}
.kb-phone-screen > p {
  font-size: 12px;
  text-align: center;
  color: #627260;
}
.kb-receipt {
  margin-top: 20px;
  background: #ffffffb3;
  border-radius: 15px;
  padding: 15px;
}
.kb-receipt > div {
  display: flex;
  justify-content: space-between;
  gap: 6px;
  font-size: 10px;
  padding: 9px 0;
  border-bottom: 1px solid #dfe5db;
}
.kb-receipt > div:first-child {
  padding-top: 0;
}
.kb-receipt > div:last-child {
  border: 0;
  padding-bottom: 0;
}
.kb-receipt > div:first-child > span {
  font-size: 8px;
  background: #dcebd9;
  padding: 3px 5px;
  border-radius: 4px;
}
.kb-notification {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  background: #fffffff2;
  border-radius: 17px;
  padding: 14px 10px;
  margin-top: 16px;
  box-shadow: 0 5px 18px #344b3020;
}
.kb-app-icon {
  display: block;
  background: #416148;
  color: #fff;
  border-radius: 8px;
  width: 28px;
  height: 28px;
  line-height: 28px;
  text-align: center;
  font-weight: 700;
}
.kb-notification strong {
  font-size: 11px;
}
.kb-notification p {
  font-size: 10px;
  line-height: 1.5;
  margin-top: 3px;
}
.kb-notification small {
  margin-left: auto;
  font-size: 8px;
  color: #82907f;
}
.kb-demo-label {
  display: block;
  text-align: center;
  font-size: 9px;
  margin-top: 14px;
  color: #71806c;
}
@media (min-width: 1400px) {
  .kllivo-benefits {
    padding-top: 88px;
  }
}
@media (max-width: 900px) {
  .kb-card h2 {
    font-size: 28px;
  }
  .kb-overview {
    padding: 32px 26px;
  }
  .kb-overview .kb-copy {
    width: 42%;
  }
  .kb-dashboard {
    left: 48%;
    width: 59%;
  }
  .kb-orders,
  .kb-payments {
    padding: 30px 26px 0;
    height: 610px;
  }
  .kb-card p {
    font-size: 15px;
  }
  .kb-order-phone {
    top: 260px;
  }
  .kb-payment-phone {
    top: 275px;
    width: 270px;
  }
}
@media (max-width: 600px) {
  .kllivo-benefits {
    padding: 40px 16px 24px;
  }
  .kb-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .kb-card {
    border-radius: 22px;
  }
  .kb-overview {
    grid-column: auto;
    min-height: 445px;
    align-items: flex-start;
    padding: 28px 24px;
  }
  .kb-overview .kb-copy {
    width: 100%;
  }
  .kb-card h2 {
    font-size: 29px;
  }
  .kb-overview p {
    max-width: 350px;
  }
  .kb-dashboard {
    top: 225px;
    left: 24px;
    width: calc(100% - 34px);
    padding: 16px;
    min-height: 280px;
  }
  .kb-metrics strong {
    font-size: 20px;
  }
  .kb-metrics > div {
    padding: 9px 7px;
  }
  .kb-metrics small {
    font-size: 7px;
  }
  .kb-orders,
  .kb-payments {
    height: 570px;
    padding: 30px 24px 0;
  }
  .kb-order-phone {
    top: 225px;
    width: 330px;
  }
  .kb-payment-phone {
    top: 235px;
    width: 280px;
  }
  .kb-eyebrow {
    font-size: 10px;
    margin-bottom: 18px;
  }
}
/* Override the theme's global SVG fill so the chart retains its own colours. */
.kb-chart path:nth-of-type(1) {
  fill: none;
  stroke: #e9efeb;
}
.kb-chart path:nth-of-type(2) {
  fill: url(#kb-chart-fill);
  stroke: none;
}
.kb-chart path:nth-of-type(3) {
  fill: none;
  stroke: #3fe0c5;
}
/* Real Theme1 component captures, framed as product mockups. */
.kb-device {
  position: absolute;
  top: 248px;
  left: 50%;
  width: 310px;
  max-width: 85%;
  padding: 7px;
  border: 2px solid #7e868a;
  border-radius: 42px;
  background: #111719;
  box-shadow: 0 14px 32px #12261c26;
  overflow: hidden;
  transform: translateX(-50%) rotate(-5deg);
}
.kb-device img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0 0 32px 32px;
}
.kb-device-status {
  height: 35px;
  padding: 8px 18px 0;
  background: #fff;
  border-radius: 32px 32px 0 0;
  display: flex;
  justify-content: space-between;
  color: #17242a;
  font-size: 9px;
  font-weight: 700;
}
.kb-device-island {
  position: absolute;
  width: 88px;
  height: 23px;
  border-radius: 20px;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  background: #111719;
}
.kb-confirmation-device {
  transform: translateX(-50%) rotate(5deg);
}
.kb-confirmation-device .kb-device-status {
  background: #f7f7f5;
}
@media (max-width: 900px) {
  .kb-device {
    top: 275px;
    width: 290px;
  }
}
@media (max-width: 600px) {
  .kb-device {
    top: 245px;
    width: 290px;
  }
}
/* Supplied confirmation already includes its native status bar. */
.kb-confirmation-device img {
  border-radius: 32px;
}
.kb-confirmation-device .kb-device-island {
  width: 78px;
  height: 21px;
  top: 13px;
}
/* Overlap the screen pieces to prevent a dark subpixel seam when rotated. */
.kb-menu-device img {
  margin-top: -1px;
  border: 0;
  outline: 0;
}
.kb-menu-device .kb-device-status {
  box-shadow: 0 2px 0 #fff;
}
