@charset "UTF-8";
/* Platform — blocks/platform/platform.css */
/* POS Terminal vs Cloud Portal */
.ax-platform {
  background: radial-gradient(ellipse 55% 40% at 50% 0%, rgba(0, 128, 246, 0.06), transparent 70%), linear-gradient(180deg, #f7faff 0%, #fff 48%, #fff 100%);
}

.ax-platform .ax-section__intro {
  max-width: 720px;
  margin-bottom: clamp(2.75rem, 5vw, 3.75rem);
}

.ax-platform .ax-section__intro p {
  max-width: 40rem;
}

.ax-platform__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: auto auto auto;
  column-gap: clamp(3rem, 6vw, 5rem);
  row-gap: 0;
  align-items: start;
}

.ax-platform__col {
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 3;
  row-gap: 0;
  min-width: 0;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  border-radius: 0;
}

.ax-platform__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-self: stretch;
  width: 100%;
  margin: 0 0 1.35rem;
  padding: 0;
  border: 0;
  text-align: center;
}

.ax-platform__label {
  display: block;
  width: 100%;
  margin: 0 0 0.55rem;
  color: var(--ax-blue);
  font-size: clamp(0.85rem, 1.15vw, 0.95rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.2;
  text-align: center;
}

.ax-platform__media {
  position: relative;
  width: 100%;
  aspect-ratio: 16/10;
  margin: 0 0 1.65rem;
  border-radius: 20px;
  overflow: hidden;
  background: #edf2f8;
  border: 1px solid rgba(11, 18, 32, 0.06);
  box-shadow: none;
}

.ax-platform__media--terminal {
  background: radial-gradient(ellipse 70% 60% at 50% 85%, rgba(0, 128, 246, 0.14), transparent 72%), linear-gradient(165deg, #f3f7fc 0%, #e4ecf6 100%);
}

.axpos-page .ax-platform__media img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  border-radius: 0;
  box-shadow: none;
}

.axpos-page .ax-platform__media--terminal img {
  object-fit: cover;
  object-position: center 30%;
}

.axpos-page .ax-platform__media--portal img {
  object-fit: cover;
  object-position: top left;
}

/* Beat theme.json / editor p styles (serif + base weight in Gutenberg) */
.axpos-page .ax-platform__lead,
.editor-styles-wrapper .ax-platform__lead,
.acf-block-preview .ax-platform__lead,
.ax-platform__lead {
  width: 100%;
  margin: 0 auto !important;
  color: var(--ax-navy) !important;
  font-family: var(--ax-font, "Inter", ui-sans-serif, system-ui, sans-serif) !important;
  font-size: clamp(1.45rem, 2.4vw, 1.75rem) !important;
  font-weight: 700 !important;
  letter-spacing: -0.035em !important;
  line-height: 1.25 !important;
  text-align: center !important;
}

.ax-platform__list {
  margin: 0;
  padding-top: 0.1rem;
  gap: 0;
  /* Subgrid shares list-row height with taller column — keep short lists top-packed */
  align-self: start;
  align-content: start;
}

.ax-platform__list li {
  gap: 1rem;
  align-items: start;
  padding: 1.1rem 0;
  border-bottom: 1px solid rgba(11, 18, 32, 0.06);
}

.ax-platform__list li:first-child {
  padding-top: 0.2rem;
}

.ax-platform__list li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.ax-platform__list .ax-title-list__check {
  width: 42px;
  height: 42px;
  margin-top: 0.1rem;
  background: rgba(0, 128, 246, 0.1);
  color: var(--ax-blue);
  border-radius: 12px;
  flex-shrink: 0;
}

.ax-platform__list .ax-title-list__check svg {
  width: 21px;
  height: 21px;
}

.ax-platform__list .ax-title-list strong {
  font-size: 1.05rem;
  line-height: 1.3;
}

.ax-platform__list .ax-title-list__copy > span {
  margin-top: 0.3rem;
  max-width: 36ch;
  font-size: 0.95rem;
  line-height: 1.6;
}

.ax-platform__cta {
  display: flex;
  justify-content: center;
  margin-top: 1.5rem;
}

.ax-platform__cta .ax-btn {
  min-width: 220px;
  padding-inline: 2.5rem;
}

@media (max-width: 900px) {
  .ax-platform__grid {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    column-gap: 0;
    row-gap: 3rem;
  }
  .ax-platform__col {
    display: flex;
    flex-direction: column;
    grid-row: auto;
    grid-template-rows: none;
  }
  .ax-platform .ax-section__intro {
    margin-bottom: 2.25rem;
  }
  .ax-platform__cta {
    margin-top: 1.25rem;
  }
}