/* Campaign copy and roadmap share the product cards' white outer frame. */
.platform-hero-grid {
  background: #eceef4;
}

.platform-hero h1 {
  font-size: clamp(37px, 4.1vw, 65px);
  letter-spacing: -.051em;
  text-wrap: balance;
}

.platform-hero h1 > span {
  display: block;
  color: #284acc;
}

.platform-hero-copy > p {
  max-width: 470px;
  color: #3e495d;
}

.platform-board {
  box-shadow: 0 18px 48px #192a501a;
}

.platform-hero-actions .campaign-play {
  gap: 8px;
  min-height: 44px;
  border-bottom: 0;
}

.platform-hero-actions .campaign-play i {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #fff;
  color: #284acc;
}

.campaign-play i svg {
  width: 15px;
  height: 15px;
}

.platform-free small {
  color: #4c586b;
}

.roadmap {
  --roadmap-ink: #f8f6f0;
  --roadmap-dark: #101728;
}

.roadmap-feature {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  align-items: stretch;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--roadmap-dark);
  color: var(--roadmap-ink);
}

.roadmap-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(24px, 4vw, 62px);
}

.roadmap-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border-radius: 99px;
  background: #263046;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.roadmap-status > span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ffbf76;
}

.roadmap-copy h2 {
  max-width: 15ch;
  margin: 18px 0;
  font-size: clamp(34px, 4.15vw, 62px);
  line-height: 1.09;
  letter-spacing: -.045em;
  font-weight: 650;
}

.roadmap-copy p {
  max-width: 410px;
  color: #d2dae8;
  font-size: clamp(14px, 1.4vw, 17px);
}

.roadmap-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
  min-height: 44px;
  color: #ffe0af;
  font-weight: 650;
}

.roadmap-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.roadmap-feature figure {
  position: relative;
  min-width: 0;
  min-height: 345px;
  margin: 0;
}

.roadmap-feature img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.roadmap-feature figcaption {
  position: absolute;
  right: 14px;
  bottom: 14px;
  max-width: calc(100% - 28px);
  padding: 6px 11px;
  border-radius: 8px;
  background: #101728;
  color: #fff;
  font-size: 11px;
}

.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.roadmap-card {
  padding: clamp(22px, 2.3vw, 34px);
  border-radius: var(--inner-radius);
  background: var(--card);
  color: var(--card-ink, var(--ink));
}

.roadmap-card i {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #fff;
  color: var(--card-icon, var(--ink));
}

.roadmap-card h3 {
  margin: 14px 0 8px;
  font-size: clamp(21px, 1.9vw, 26px);
  font-weight: 650;
  line-height: 1.2;
  letter-spacing: -.025em;
}

.roadmap-card p {
  max-width: 40ch;
  font-size: 14px;
  line-height: 1.65;
}

.roadmap-sand { --card: #f0dfc1; }
.roadmap-blue { --card: #2347bc; --card-ink: #fff; --card-icon: #2347bc; }
.roadmap-green { --card: #165d48; --card-ink: #fff; --card-icon: #165d48; }
.roadmap-copper { --card: #ecad86; }
.roadmap-violet { --card: #332756; --card-ink: #fff; --card-icon: #332756; }
.roadmap-stone { --card: #e9edf3; }

.roadmap-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 16px;
  color: #4d586c;
  font-size: 13px;
}

.roadmap-note i {
  flex-shrink: 0;
  margin-top: 2px;
}

@media (max-width: 900px) {
  .platform-hero h1 { max-width: 630px; }
  .roadmap-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .platform-hero h1 {
    font-size: clamp(33px, 8.8vw, 46px);
    text-wrap: wrap;
  }

  .platform-hero-actions { row-gap: 3px; }
  .platform-hero-actions .campaign-play { font-size: 13px; }
  .platform-free small { font-size: 11px; }
  .roadmap-feature { grid-template-columns: 1fr; }
  .roadmap-feature figure { min-height: 0; aspect-ratio: 3 / 2; }
  .roadmap-grid { grid-template-columns: 1fr; gap: 9px; }
  .roadmap-card h3 { margin-top: 11px; }
}

.campaign-more {
  margin-bottom: 28px;
}

.campaign-more > summary {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 62px;
  padding: 14px 20px;
  border-radius: var(--inner-radius);
  background: #eff2f7;
  color: var(--ink);
  cursor: pointer;
  font-weight: 650;
  list-style: none;
}

.campaign-more > summary::-webkit-details-marker {
  display: none;
}

.campaign-more > summary > i:last-child {
  margin-left: auto;
}

.campaign-more[open] > summary > i:last-child {
  transform: rotate(90deg);
}

.campaign-more > .automation-workspace {
  margin-top: 12px;
}

.campaign-tariffs {
  margin-top: 12px;
  min-height: 44px;
}
