/* Shared spacing for product previews, access steps and native form controls. */
.mp-resource-feature > div > p + .lp-btn {
  margin-top: 24px;
}

/* Give the adoption sequence its own full-width row, not half a split layout. */
.mp-propagation-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
  max-width: 1120px;
  padding: 0;
  margin: 0 auto;
  list-style: none;
}
.mp-propagation-flow > li {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-width: 0;
  min-height: 144px;
  padding: 24px 18px;
  border: 1px solid rgba(139, 143, 255, .25);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(99, 102, 241, .09), rgba(255, 255, 255, .02));
  text-align: center;
}
.mp-propagation-flow__number {
  color: #a5b4fc;
  font: 500 .7rem/1.5 "JetBrains Mono", monospace;
  letter-spacing: .1em;
}
.mp-propagation-flow strong { display: flex; align-items: center; justify-content: center; min-height: 3em; color: #f4f4f5; font-size: .9rem; font-weight: 600; line-height: 1.5; }
.mp-propagation-flow i {
  position: absolute;
  right: -33px;
  top: 50%;
  width: 32px;
  transform: translateY(-50%);
  color: #a5b4fc;
  font-style: normal;
  line-height: 1;
}
:is(.light, [data-theme="light"]) .mp-propagation-flow > li { background: #f4f5fa; border-color: #d2d4e3; }
:is(.light, [data-theme="light"]) .mp-propagation-flow strong { color: #18181b; }
:is(.light, [data-theme="light"]) .mp-propagation-flow :is(.mp-propagation-flow__number, i) { color: #4f46e5; }
@media (max-width: 640px) {
  .mp-propagation-flow { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .mp-propagation-flow > li { flex-direction: row; justify-content: flex-start; min-height: 80px; padding: 20px 24px; text-align: left; }
  .mp-propagation-flow strong { min-height: 0; justify-content: flex-start; }
  .mp-propagation-flow i { top: auto; right: 50%; bottom: -29px; width: 28px; height: 28px; display: grid; place-items: center; transform: translateX(50%) rotate(90deg); }
}

.dpoaf-robok-theme .lp-section-head--center > p {
  margin-inline: auto;
  text-align: center;
}

.dpoaf-robok-theme .lp-platform-grid .lp-platform-card > .lp-card-link {
  margin-top: 20px;
  max-width: 100%;
  line-height: 1.5;
}

.lp-platform-grid :is(.lp-card-metrics, .surface-mini-stack, .surface-proof-types) {
  gap: 12px;
  padding-top: 8px;
}

.lp-platform-grid .lp-card-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
}

.dpoaf-robok-theme .lp-platform-grid .lp-card-metrics > span {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .025);
  color: var(--m);
  font-size: .75rem;
  line-height: 1.5;
}

.lp-platform-grid .lp-card-metrics b {
  color: var(--t);
  font-size: 1.15rem;
  font-weight: 650;
  line-height: 1.25;
}

.lp-platform-grid .surface-mini-stack > span {
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 16px;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: .75rem;
  line-height: 1.5;
}

.lp-platform-grid .surface-proof-types {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.lp-platform-grid .surface-proof-types > span {
  min-width: 0;
  padding: 16px 8px;
  border-radius: 12px;
}

.lp-platform-grid .surface-proof-types b { font-size: .8rem; }
.lp-platform-grid .surface-proof-types small {
  margin-top: 6px;
  font-size: .7rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

/* A fixed number column cannot shrink when a translated explanation wraps. */
.lp-access-steps { gap: 20px; }
.lp-access-steps > div {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  align-items: start;
  gap: 14px;
}
.lp-access-steps > div > span { width: 32px; height: 32px; }
.lp-access-steps > div > p { min-width: 0; margin: 0; }
.lp-access-steps strong { min-height: 32px; display: flex; align-items: center; line-height: 1.5; }
.lp-access-steps small { margin-top: 4px; line-height: 1.7; }

/* Keep the native select: keyboard, touch picker, validation and submission. */
.dpoaf-robok-theme .lp-form select.form-select {
  appearance: none;
  -webkit-appearance: none;
  min-height: 50px;
  padding: 12px 46px 12px 16px;
  border: 1px solid rgba(161, 161, 179, .28);
  border-radius: 12px;
  background-color: #11131d;
  background-image: linear-gradient(45deg, transparent 50%, #a5b4fc 50%), linear-gradient(135deg, #a5b4fc 50%, transparent 50%);
  background-position: calc(100% - 22px) 50%, calc(100% - 17px) 50%;
  background-size: 5px 5px;
  background-repeat: no-repeat;
  color: #f4f4f5;
  color-scheme: dark;
  font: 500 .9rem/1.5 Inter, system-ui, sans-serif;
  cursor: pointer;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.dpoaf-robok-theme .lp-form select.form-select:hover { border-color: #818cf8; }
.dpoaf-robok-theme .lp-form select.form-select:focus-visible {
  border-color: #818cf8;
  outline: 2px solid #a5b4fc;
  outline-offset: 3px;
  box-shadow: 0 0 0 4px rgba(99, 102, 241, .12);
}
.dpoaf-robok-theme .lp-form select.form-select option { background: #11131d; color: #f4f4f5; }
.dpoaf-robok-theme .lp-form select.form-select:disabled { opacity: .55; cursor: not-allowed; }

:is(.light, [data-theme="light"]) .lp-platform-grid :is(.lp-card-metrics > span, .surface-mini-stack > span, .surface-proof-types > span) {
  border-color: rgba(24, 24, 27, .15);
  background: #f4f5fa;
  color: #52525b;
}
:is(.light, [data-theme="light"]) .lp-platform-grid :is(.lp-card-metrics, .surface-mini-stack, .surface-proof-types) b { color: #18181b; }
:is(.light, [data-theme="light"]) .lp-platform-grid .surface-proof-types small { color: #52525b; }
:is(.light, [data-theme="light"]) .lp-form select.form-select {
  color-scheme: light;
  background-color: #fff;
  color: #18181b;
  border-color: #c4c6d0;
  background-image: linear-gradient(45deg, transparent 50%, #4f46e5 50%), linear-gradient(135deg, #4f46e5 50%, transparent 50%);
}
:is(.light, [data-theme="light"]) .lp-form select.form-select option { background: #fff; color: #18181b; }
@media (forced-colors: active) {
  .dpoaf-robok-theme .lp-form select.form-select { appearance: auto; background-image: none; }
}
@media (prefers-reduced-motion: reduce) {
  .dpoaf-robok-theme .lp-form select.form-select { transition: none; }
}
