/* ============================================================
   REFINED, CLEAN & MATURE DUAL-EDITION SHOWCASE
   ============================================================ */

.download-studio {
  position: relative;
  z-index: 2;
  width: min(1080px, calc(100% - 48px));
  margin: 0 auto;
  padding: 44px 0 96px;
}

/* Subtle Ambient Lighting */
.download-ambient-glow {
  position: absolute;
  top: -160px;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  max-width: 1200px;
  height: 520px;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(ellipse 500px 300px at 50% 30%, rgba(56, 189, 248, 0.07), transparent 70%);
  filter: blur(80px);
  opacity: 0.8;
}

/* ============================================================
   EDITORIAL HEADLINE
   ============================================================ */
.edition-hero {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 52px;
}

.edition-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font, "Geist", sans-serif);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #94a3b8;
  margin-bottom: 14px;
}

.edition-kicker .kicker-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #38bdf8;
}

.edition-hero h1 {
  margin: 0 0 12px;
  color: #f5f7f8;
  font-family: var(--display, "Space Grotesk", sans-serif);
  font-size: clamp(36px, 4.8vw, 54px);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.05;
  text-wrap: balance;
}

.edition-hero h1 .mock-type-serif {
  color: #e2e8f0;
  font-family: var(--editorial, "Instrument Serif", Georgia, serif);
  font-size: 1.14em;
  font-style: italic;
  font-weight: 400;
}

.edition-hero h1 .mock-type-technical {
  position: relative;
  top: -0.06em;
  color: #94a3b8;
  font-family: var(--font, "Geist", sans-serif);
  font-size: 0.44em;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0 8px;
}

.edition-hero h1 .mock-type-emphasis {
  color: #ffffff;
  font-family: var(--montserrat, "Montserrat", sans-serif);
  font-size: 0.92em;
  font-style: normal;
  font-weight: 800;
}

.edition-hero p.hero-subtitle {
  font-family: var(--font, "Geist", sans-serif);
  font-size: 15.5px;
  line-height: 1.5;
  color: #cbd5e1;
  margin: 0 auto;
  max-width: 540px;
}

.edition-hero p.hero-subtitle strong {
  color: #f8fafc;
  font-weight: 600;
}

/* ============================================================
   BENTO ARENA WITH DOMINANT FLAGSHIP HIERARCHY
   ============================================================ */
.edition-arena {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: stretch;
  gap: 28px;
  margin-bottom: 48px;
}

.edition-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 22px;
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  overflow: hidden;
  transition: transform 220ms cubic-bezier(0.16, 1, 0.3, 1), border-color 220ms ease, box-shadow 220ms ease;
}

/* 1. Flash (Flagship Powerhouse) */
.edition-card.is-desktop {
  background: 
    linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, transparent 40%),
    linear-gradient(175deg, rgba(17, 22, 30, 0.88) 0%, rgba(9, 12, 17, 0.94) 100%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 
    0 24px 60px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.edition-card.is-desktop:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.24);
  box-shadow: 
    0 32px 72px rgba(0, 0, 0, 0.65),
    0 0 30px rgba(255, 255, 255, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

/* 2. Flash Air (Companion Client) */
.edition-card.is-air {
  background: rgba(13, 17, 23, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.edition-card.is-air:hover {
  transform: translateY(-3px);
  border-color: rgba(56, 189, 248, 0.35);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(125, 211, 252, 0.15);
}

/* Card Header */
.card-top {
  padding: 34px 34px 22px;
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.card-icon-tile {
  width: 58px;
  height: 58px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
  background: #090d12;
  border: 1px solid rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.edition-card.is-desktop .card-icon-tile {
  width: 62px;
  height: 62px;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.card-icon-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-title-block {
  flex: 1;
  min-width: 0;
}

.card-eyebrow-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 5px;
}

.card-badge {
  display: inline-block;
  font-family: var(--font, "Geist", sans-serif);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 6px;
}

.edition-card.is-desktop .card-badge {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.edition-card.is-air .card-badge {
  color: #7dd3fc;
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.22);
}

.card-title-block h2 {
  font-family: var(--display, "Space Grotesk", sans-serif);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: #ffffff;
  margin: 0 0 3px;
  line-height: 1.1;
}

.edition-card.is-desktop .card-title-block h2 {
  font-size: 29px;
  font-weight: 800;
}

.card-title-block p.card-tagline {
  font-family: var(--font, "Geist", sans-serif);
  font-size: 13.5px;
  color: #81909a;
  margin: 0;
  line-height: 1.4;
}

.edition-card.is-desktop p.card-tagline {
  color: #a0aec0;
}

/* Card Body & Feature Stack */
.card-body {
  padding: 0 34px 26px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.clean-feature-list {
  list-style: none;
  padding: 0;
  margin: 10px 0 24px;
  display: grid;
  gap: 13px;
}

.clean-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.feature-check {
  width: 19px;
  height: 19px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  margin-top: 1px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #ffffff;
}

.edition-card.is-air .feature-check {
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.08);
  border-color: rgba(56, 189, 248, 0.22);
}

.feature-check svg {
  width: 11px;
  height: 11px;
  stroke-width: 2.6;
}

.feature-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.feature-copy strong {
  font-family: var(--font, "Geist", sans-serif);
  font-size: 13.5px;
  font-weight: 650;
  color: #f1f5f9;
  letter-spacing: -0.01em;
}

.edition-card.is-desktop .feature-copy strong {
  color: #ffffff;
  font-weight: 700;
}

.feature-copy span {
  font-family: var(--font, "Geist", sans-serif);
  font-size: 12.5px;
  color: #81909a;
  line-height: 1.4;
}

/* Limitation Pill & Unsupported Feature Item */
.air-limitation-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 7px 0 0 0;
  padding: 3px 9px 3px 7px;
  border-radius: 6px;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.25);
  font-family: var(--font, "Geist", sans-serif);
  font-size: 11.5px;
  font-weight: 600;
  color: #fca5a5;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.air-limitation-x {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 15px;
  height: 15px;
  border-radius: 4px;
  background: rgba(239, 68, 68, 0.22);
  color: #f87171;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  flex-shrink: 0;
}

.clean-feature-item.is-unsupported .feature-check.is-cross {
  color: #f87171 !important;
  background: rgba(239, 68, 68, 0.12) !important;
  border-color: rgba(239, 68, 68, 0.3) !important;
}

.clean-feature-item.is-unsupported .feature-copy strong {
  color: #fca5a5;
}

.clean-feature-item.is-unsupported .feature-copy span {
  color: #94a3b8;
}

/* Micro Size Badge */
.card-size-badge {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 14px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  margin-top: auto;
}

.edition-card.is-desktop .card-size-badge {
  background: rgba(0, 0, 0, 0.36);
  border-color: rgba(255, 255, 255, 0.08);
}

.card-size-badge .size-label {
  font-family: var(--font, "Geist", sans-serif);
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64748b;
}

.card-size-badge .size-val {
  font-family: var(--font, "Geist", sans-serif);
  font-size: 12px;
  font-weight: 650;
  color: #e2e8f0;
}

/* Action Footers */
.card-footer {
  padding: 0 34px 34px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.btn-primary-action {
  width: 100%;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 12px;
  font-family: var(--font, "Geist", sans-serif);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
  cursor: pointer;
  border: none;
  transition: all 160ms cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

/* Flash hero flagship button */
.edition-card.is-desktop .btn-primary-action {
  background: #ffffff;
  color: #0b0f14;
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.18), 0 2px 6px rgba(0, 0, 0, 0.4);
}
.edition-card.is-desktop .btn-primary-action:hover {
  background: #f8fafc;
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(255, 255, 255, 0.28), 0 4px 12px rgba(0, 0, 0, 0.5);
}

/* Flash Air button: Clean crisp azure button */
.edition-card.is-air .btn-primary-action {
  background: #0ea5e9;
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(14, 165, 233, 0.25);
}
.edition-card.is-air .btn-primary-action:hover {
  background: #38bdf8;
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(14, 165, 233, 0.35);
}

.btn-primary-action svg {
  width: 17px;
  height: 17px;
  stroke-width: 2.2;
}

.card-sublinks {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font, "Geist", sans-serif);
  font-size: 11.5px;
  color: #64748b;
}

.card-sublinks a {
  color: #81909a;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color 140ms ease;
}

.card-sublinks a:hover {
  color: #f1f5f9;
  text-decoration: underline;
}

.card-sublinks .sublink-sep {
  margin: 0 8px;
  color: #475569;
}

/* ============================================================
   SCREENSHOTS SECTION
   ============================================================ */
.app-screenshots-section {
  margin: 20px 0 48px;
}

.screenshots-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
}

.screenshot-card {
  border-radius: 20px;
  background: rgba(14, 18, 24, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.screenshot-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 8px 0;
}

.screenshot-head h3 {
  font-family: var(--display, "Space Grotesk", sans-serif);
  font-size: 14px;
  font-weight: 700;
  color: #f1f5f9;
  margin: 0;
  letter-spacing: -0.01em;
}

.preview-badge {
  font-family: var(--font, "Geist", sans-serif);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #81909a;
  background: rgba(255, 255, 255, 0.06);
  padding: 2px 7px;
  border-radius: 5px;
}

.screenshot-frame {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #080b0f;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.screenshot-frame img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 260ms ease;
}

.screenshot-card:hover .screenshot-frame img {
  transform: scale(1.015);
}

/* ============================================================
   1-CLICK VIDEO SHOWCASE SECTION
   ============================================================ */
.video-showcase-section {
  margin: 16px 0 52px;
  border-radius: 22px;
  background: rgba(14, 18, 24, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  padding: 34px 34px 30px;
  position: relative;
  overflow: hidden;
}

.video-showcase-header {
  text-align: center;
  max-width: 660px;
  margin: 0 auto 24px;
}

.video-kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font, "Geist", sans-serif);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.22);
  padding: 2.5px 8.5px;
  border-radius: 6px;
  margin-bottom: 10px;
}

.video-showcase-header h2 {
  font-family: var(--display, "Space Grotesk", sans-serif);
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin: 0 0 8px;
}

.video-showcase-header p {
  font-family: var(--font, "Geist", sans-serif);
  font-size: 14px;
  color: #81909a;
  margin: 0;
  line-height: 1.45;
}

.video-player-frame {
  border-radius: 14px;
  overflow: hidden;
  background: #000000;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.6), 0 0 40px rgba(56, 189, 248, 0.08);
}

.video-player-frame video {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 13px;
  pointer-events: none;
}

/* ============================================================
   CLEAN 3-STEP SETUP
   ============================================================ */
.workflow-section {
  margin: 16px 0 0;
}

.workflow-header {
  text-align: center;
  margin-bottom: 20px;
}

.workflow-header h3 {
  font-family: var(--display, "Space Grotesk", sans-serif);
  font-size: 18px;
  font-weight: 650;
  color: #f8fafc;
  margin: 0;
  letter-spacing: -0.015em;
}

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.workflow-tile {
  padding: 20px 20px 18px;
  border-radius: 14px;
  background: rgba(14, 18, 24, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.step-indicator {
  font-family: var(--font, "Geist", sans-serif);
  font-size: 9.5px;
  font-weight: 750;
  letter-spacing: 0.08em;
  color: #81909a;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 2px 7px;
  border-radius: 5px;
  align-self: flex-start;
}

.workflow-tile h4 {
  font-family: var(--font, "Geist", sans-serif);
  font-size: 14px;
  font-weight: 650;
  color: #ffffff;
  margin: 2px 0 0;
}

.workflow-tile p {
  font-family: var(--font, "Geist", sans-serif);
  font-size: 12px;
  color: #81909a;
  line-height: 1.4;
  margin: 0;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 860px) {
  .edition-arena,
  .screenshots-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .workflow-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .download-studio {
    width: calc(100% - 32px);
    padding: 28px 0 60px;
  }
  .card-top {
    padding: 26px 24px 18px;
  }
  .card-body {
    padding: 0 24px 22px;
  }
  .card-footer {
    padding: 0 24px 26px;
  }
  .video-showcase-section {
    padding: 24px 20px 20px;
  }
}

/* After buying a paid tool: confirmation + "install the app" next step */
.purchase-next-step {
  display: flex;
  align-items: center;
  gap: 14px;
  width: min(760px, calc(100% - 32px));
  margin: 28px auto 0;
  padding: 16px 20px;
  border: 1px solid rgba(52, 211, 153, 0.35);
  border-radius: 14px;
  background: rgba(52, 211, 153, 0.08);
  color: #f4f4ef;
}

.purchase-next-step[hidden] {
  display: none;
}

.purchase-next-check {
  display: inline-flex;
  flex: none;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #34d399;
  color: #03131d;
}

.purchase-next-step div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.purchase-next-step strong {
  font-size: 16px;
  font-weight: 700;
}

.purchase-next-step div span {
  color: rgba(244, 244, 239, 0.65);
  font-size: 14px;
}

/* Flash Air spotlight: one recommended download, full Flash as a quiet secondary option */
.edition-hero.is-compact {
  padding-top: 36px;
  padding-bottom: 8px;
}

.edition-hero.is-compact h1 {
  font-size: clamp(40px, 6vw, 64px);
}

.air-spotlight {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: min(560px, calc(100% - 32px));
  margin: 28px auto 0;
}

.edition-card.is-air.is-recommended {
  border-color: rgba(56, 189, 248, 0.55);
  box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.18), 0 24px 60px rgba(14, 165, 233, 0.18);
}

.edition-card.is-air .card-badge.is-recommended-badge {
  border-color: rgba(56, 189, 248, 0.6);
  background: #38bdf8;
  color: #03131d;
}

.air-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.air-facts li {
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: rgba(244, 244, 239, 0.75);
  font-size: 13px;
  font-weight: 600;
}

.full-flash-option {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.025);
}

.full-flash-option img {
  flex: none;
  border-radius: 10px;
}

.full-flash-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.full-flash-copy strong {
  color: #f4f4ef;
  font-size: 14px;
  font-weight: 700;
}

.full-flash-copy span {
  color: rgba(244, 244, 239, 0.55);
  font-size: 13px;
}

.full-flash-download {
  flex: none;
  padding: 9px 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  color: #f4f4ef;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.full-flash-download:hover {
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.05);
}

.full-flash-vt {
  display: inline-flex;
  flex: none;
  color: rgba(244, 244, 239, 0.4);
}

.full-flash-vt:hover {
  color: #f4f4ef;
}

@media (max-width: 520px) {
  .full-flash-option {
    flex-wrap: wrap;
  }

  .full-flash-copy {
    flex-basis: calc(100% - 60px);
  }

  .full-flash-download {
    flex: 1;
    text-align: center;
  }
}

/* 3-step guide sits right under the headline, above the download card */
.workflow-section.is-top {
  margin: 26px 0 0;
}

.workflow-section.is-top .workflow-header {
  margin-bottom: 14px;
}

@media (max-width: 860px) {
  /* Phones: compact rows (number beside the text) so the download card stays close */
  .workflow-section.is-top .workflow-grid {
    gap: 8px;
  }
  .workflow-section.is-top .workflow-tile {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 12px;
    row-gap: 2px;
    align-items: center;
    padding: 12px 14px;
  }
  .workflow-section.is-top .step-indicator {
    grid-row: span 2;
    align-self: center;
  }
  .workflow-section.is-top .workflow-tile h4 {
    margin: 0;
  }
}

/* ---------- After buying: one focused "what now" card ---------- */
.purchase-next-step {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 18px;
  width: min(560px, calc(100% - 32px));
  padding: 22px;
}

.purchase-next-step[hidden] {
  display: none;
}

.purchase-next-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.purchase-next-step .purchase-next-head strong {
  font-size: 20px;
  font-weight: 800;
}

.purchase-next-steps {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.purchase-next-steps li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.purchase-step-num {
  display: inline-flex;
  flex: none;
  width: 26px;
  height: 26px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #f4f4ef;
  font-size: 13px;
  font-weight: 800;
}

.purchase-next-steps li > div {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.purchase-next-steps b {
  font-size: 15px;
  font-weight: 700;
  line-height: 26px;
}

.purchase-next-steps li > div > span,
.purchase-next-steps small {
  color: rgba(244, 244, 239, 0.6);
  font-size: 13px;
}

.purchase-next-step .purchase-next-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 8px 0 4px;
  width: 100%;
  min-height: 48px;
  font-size: 16px;
}

/* The card replaces the generic headline and 3-step section; the download cards stay below */
body.is-purchase-next .edition-hero.is-compact,
body.is-purchase-next .workflow-section.is-top {
  display: none !important;
}

body.is-purchase-next .air-spotlight {
  margin-top: 36px;
}

.purchase-next-step .purchase-next-download {
  background: #0ea5e9;
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(14, 165, 233, 0.25);
  text-decoration: none;
}

.purchase-next-step .purchase-next-download:hover {
  background: #38bdf8;
}

/* The card already has the Flash Air download; keep only the "need modules" option below */
body.is-purchase-next .edition-card.is-air {
  display: none !important;
}

body.is-purchase-next .air-spotlight {
  margin-top: 16px;
}

.purchase-next-step .purchase-next-download span {
  color: #ffffff;
  font-size: 16px;
}

/* ---------- Post-purchase checklist: done / current / next ---------- */
.purchase-next-steps li.is-done .purchase-step-num {
  background: #34d399;
  color: #03131d;
}

.purchase-next-steps li.is-done b {
  font-size: 18px;
}

.purchase-next-steps li.is-current .purchase-step-num {
  background: #0ea5e9;
  color: #ffffff;
  box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.2);
}

.purchase-next-steps li:not(.is-done):not(.is-current) {
  opacity: 0.85;
}

/* Once the download started by itself, the button is only a quiet "Download again" */
.purchase-next-steps li.is-downloading .purchase-next-download {
  width: auto;
  min-height: 0;
  margin: 4px 0 0;
  padding: 0;
  background: none;
  box-shadow: none;
  justify-content: flex-start;
}

.purchase-next-steps li.is-downloading .purchase-next-download span {
  color: #7dd3fc;
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.purchase-next-steps li.is-downloading .purchase-next-download svg {
  display: none;
}

.purchase-next-steps li.is-downloading .purchase-next-download {
  height: auto;
}

/* Step 4: hovering (or tapping, on phones) shows where "Link account" is in Flash Air */
.purchase-next-steps li.has-step-preview {
  position: relative;
  cursor: help;
  outline: none;
}

.purchase-next-steps li.has-step-preview u {
  text-decoration-style: dotted;
  text-underline-offset: 4px;
}

.purchase-step-preview {
  position: absolute;
  z-index: 5;
  left: 38px;
  bottom: calc(100% + 8px);
  width: min(360px, calc(100vw - 80px));
  height: auto;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
  opacity: 0;
  transform: translateY(6px);
  pointer-events: none;
  transition: opacity 160ms ease, transform 160ms ease;
}

.purchase-next-steps li.has-step-preview:hover .purchase-step-preview,
.purchase-next-steps li.has-step-preview:focus .purchase-step-preview,
.purchase-next-steps li.has-step-preview:focus-within .purchase-step-preview {
  opacity: 1;
  transform: none;
}

/* Steps with a hover picture stay fully opaque (the picture would inherit the fade) and sit on top */
.purchase-next-steps li.has-step-preview:not(.is-done):not(.is-current) {
  opacity: 1;
}

.purchase-next-steps li.has-step-preview:hover,
.purchase-next-steps li.has-step-preview:focus,
.purchase-next-steps li.has-step-preview:focus-within {
  z-index: 6;
}

/* Flash Download row on the Downloads page (same look as the full Flash row) */
.full-flash-option.is-flash-download img {
  border-radius: 10px;
}

.full-flash-option.is-flash-download .full-flash-copy a {
  color: #7dd3fc;
  text-decoration: underline;
  text-underline-offset: 3px;
}
