/* Product-card presentation for the free and paid editions. */
#editions { padding-top: 76px; padding-bottom: 76px; }
#editions .edition-section-top { margin-bottom: 36px; }
.edition-product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.edition-product-card {
  position: relative;
  min-width: 0;
  min-height: 340px;
  display: flex;
  flex-direction: column;
  padding: 28px 30px 24px;
  overflow: hidden;
  border: 1px solid #d4e2e8;
  border-radius: 16px;
}
.edition-product-card::after {
  content: '';
  position: absolute;
  right: -62px;
  top: -72px;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  pointer-events: none;
}
.edition-product-card--free { background: #fff; box-shadow: 0 10px 30px rgba(22, 53, 65, .045); }
.edition-product-card--free::after { background: #eef8f0; }
.edition-product-card--paid { border-color: #b9d2de; background: linear-gradient(145deg, #e8f2f7 0%, #f8fbfc 72%); box-shadow: 0 12px 32px rgba(47, 108, 133, .08); }
.edition-product-card--paid::after { background: #dcecf3; }
.edition-product-head { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.edition-product-badge { display: inline-flex; align-items: center; padding: 6px 11px; border-radius: 999px; font-size: 13px; font-weight: 600; line-height: 1.4; }
.edition-product-badge--free { background: #e4f3e7; color: #3f7650; }
.edition-product-badge--upcoming { background: #dceef8; color: #2f6c85; }
.edition-product-number { color: #a4b6bf; font-size: 12px; letter-spacing: 1.4px; }
.edition-product-card h3 { position: relative; z-index: 1; margin: 18px 0 12px; font-size: 30px; line-height: 1.35; font-weight: 600; letter-spacing: -.5px; }
.edition-product-description { position: relative; z-index: 1; min-height: 58px; margin: 0; color: #5f7884; font-size: 16px; line-height: 1.8; }
.edition-product-description strong { color: #294f61; font-weight: 600; }
.edition-product-tags { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 20px 0 26px; list-style: none; }
.edition-product-tags li { padding: 7px 10px; border-radius: 6px; background: #edf4f6; color: #527180; font-size: 12px; line-height: 1.5; }
.edition-product-card--paid .edition-product-tags li { background: #e1edf3; color: #436c7f; }
.edition-product-footer { position: relative; z-index: 1; margin-top: auto; padding-top: 22px; border-top: 1px solid #dce7ec; }
.edition-product-card--paid .edition-product-footer { border-top-color: #cbdfe8; }
.edition-product-link { display: inline-flex; align-items: center; gap: 7px; color: #163541; font-size: 15px; font-weight: 500; line-height: 1.6; }
.edition-product-link:hover { color: #2f6c85; }
.edition-product-link svg { display: block; width: 18px; height: 18px; }
.edition-product-link--disabled { cursor: default; }
.edition-product-link--disabled:hover { color: #163541; }
@media (max-width: 767px) {
  #editions { padding-top: 48px; padding-bottom: 48px; }
  #editions .edition-section-top { margin-bottom: 24px; }
  .edition-product-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .edition-product-card { min-height: 0; padding: 22px 20px 20px; }
  .edition-product-card h3 { font-size: 25px; }
  .edition-product-description { min-height: 0; font-size: 15px; }
  .edition-product-tags { margin-top: 16px; }
  .edition-product-footer { margin-top: 18px; padding-top: 18px; }
}

/* Match the site's underlined text-link treatment for the free-tier CTA. */
.edition-product-link--text { gap: 26px; padding-bottom: 6px; border-bottom: 1px solid #8aa5b0; }
.edition-product-link--text:hover { color: #2f6c85; }

/* Checklist presentation inferred from the supplied product comparison. */
.edition-product-card { min-height: 590px; padding: 26px 28px 24px; }
.edition-product-card h3 { margin: 18px 0 10px; }
.edition-product-description { min-height: 28px; color: #5f7884; font-size: 15px; }
.edition-product-features {
  position: relative; z-index: 1; flex: 1;
  margin-top: 26px; padding-top: 24px;
  border-top: 1px solid #dce7ec;
}
.edition-product-card--paid .edition-product-features { border-top-color: #cbdfe8; }
.edition-product-features h4 {
  margin: 0 0 16px; color: #203f50;
  font-size: 15px; line-height: 1.5; font-weight: 650;
}
.edition-product-checklist {
  display: grid; gap: 13px; padding: 0; margin: 0; list-style: none;
}
.edition-product-checklist li {
  display: flex; align-items: flex-start; gap: 9px;
  color: #4f6c7a; font-size: 14px; line-height: 1.55;
}
.edition-product-checklist li::before {
  content: '✓'; flex: none; margin-top: 1px;
  color: #315e71; font-size: 14px; font-weight: 700;
}
.edition-product-note {
  margin: 18px 0 0; color: #6d848f;
  font-size: 13px; line-height: 1.7;
}
@media (max-width: 767px) {
  .edition-product-card { min-height: 0; padding: 22px 20px 20px; }
  .edition-product-features { margin-top: 20px; padding-top: 20px; }
  .edition-product-note { margin-top: 14px; }
}

/* Compact card width and content-led height. */
.edition-product-grid {
  width: min(100%, 980px);
  margin-inline: auto;
  gap: 22px;
  align-items: stretch;
}
.edition-product-card {
  min-height: 0;
  padding: 24px 26px 22px;
}
.edition-product-card::after {
  width: 150px;
  height: 150px;
  right: -52px;
  top: -58px;
}
.edition-product-head { min-height: 30px; }
.edition-product-card h3 { margin: 14px 0 8px; font-size: 27px; }
.edition-product-description { min-height: 0; font-size: 14px; line-height: 1.7; }
.edition-product-features { margin-top: 20px; padding-top: 18px; }
.edition-product-features h4 { margin-bottom: 12px; font-size: 14px; }
.edition-product-checklist { gap: 9px; }
.edition-product-checklist li { gap: 8px; font-size: 13px; line-height: 1.5; }
.edition-product-note {
  width: min(100%, 980px);
  margin: 14px auto 0;
  font-size: 12px;
}
@media (max-width: 1023px) {
  .edition-product-grid { width: 100%; gap: 18px; }
}
@media (max-width: 767px) {
  .edition-product-grid { gap: 14px; }
  .edition-product-card { padding: 20px 18px 18px; }
  .edition-product-card h3 { font-size: 24px; }
  .edition-product-features { margin-top: 17px; padding-top: 16px; }
  .edition-product-note { margin-top: 12px; }
}


/* Slightly taller cards after removing the explanatory note. */
#editions .edition-product-card {
  min-height: 420px;
}
@media (max-width: 767px) {
  #editions .edition-product-card { min-height: 0; }
}

/* Education edition card inserted between Free and Pro. */
.edition-product-card--edu {
  border-color: #d4dfe7;
  background: linear-gradient(145deg, #f4f7fa 0%, #fbfcfd 72%);
  box-shadow: 0 10px 28px rgba(41, 74, 96, .055);
}
.edition-product-card--edu::after { background: #e9eff5; }
.edition-product-badge--edu { background: #e9eff5; color: #526d80; }
.edition-product-card--edu .edition-product-features { border-top-color: #dce5eb; }
@media (min-width: 768px) {
  .edition-product-grid {
    width: min(100%, 1180px);
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .edition-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}


/* Text CTA at the bottom of the Edu card. */
.edition-product-card--edu .edition-product-robotrain { margin-top: 18px; align-self: flex-start; font-size: 13px; }
