/* Split from marketing-overrides.css — regenerate via scripts/split-marketing-overrides.py */

/* Features — light typography on dark page canvas
   (reviews title/subtitle/label live in chrome — /reviews does not load this chunk) */
.pm-marketing-page-band:not(:has(.pm-home-dark-band)) .wtrk-hero h1,
.pm-marketing-page-band:not(:has(.pm-home-dark-band)) .wtrk-workflow-header h2,
.pm-marketing-page-band:not(:has(.pm-home-dark-band)) .wtrk-integrations h2,
.pm-marketing-page-band:not(:has(.pm-home-dark-band)) .wtrk-section-header h2 {
  color: #f8fafc;
}

.pm-marketing-page-band:not(:has(.pm-home-dark-band)) .wtrk-hero p,
.pm-marketing-page-band:not(:has(.pm-home-dark-band)) .wtrk-workflow-header p,
.pm-marketing-page-band:not(:has(.pm-home-dark-band)) .wtrk-integrations > p,
.pm-marketing-page-band:not(:has(.pm-home-dark-band)) .wtrk-section-header p {
  color: rgba(226, 232, 240, 0.82);
}

.pm-marketing-page-band:not(:has(.pm-home-dark-band)) .wtrk-section-label {
  color: #7dd3fc;
}

.pm-marketing-page-band:not(:has(.pm-home-dark-band)) .wtrk-hero-stat-value {
  color: #6ee7b7;
}

.pm-marketing-page-band:not(:has(.pm-home-dark-band)) .wtrk-hero-stat-label {
  color: rgba(226, 232, 240, 0.72);
}

.pm-marketing-page-band:not(:has(.pm-home-dark-band)) .wtrk-workflow-step h3 {
  color: #f8fafc;
}

.pm-marketing-page-band:not(:has(.pm-home-dark-band)) .wtrk-workflow-step p {
  color: rgba(226, 232, 240, 0.78);
}

.pm-marketing-page-band:not(:has(.pm-home-dark-band)) .wtrk-workflow-step-num {
  background: rgba(15, 23, 42, 0.88);
}

.pm-marketing-page-band:not(:has(.pm-home-dark-band)) .wtrk-features {
  padding-top: clamp(32px, 5vw, 56px);
}

/* Features page — full-bleed iOS layout from wootrack-features plugin */
.pm-main-content:has(.wtrk-features-page) {
  padding: 0;
  max-width: none;
  overflow-x: clip;
}

html:has(.wtrk-features-page),
body:has(.wtrk-features-page) {
  overflow-x: clip;
}

.wtrk-features-page {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: clip;
}

.wtrk-features-page .wtrk-features {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: clip;
}

/* Features page — dark surfaces on marketing navy canvas */
.pm-marketing-page-band:not(:has(.pm-home-dark-band)) .wtrk-features-page .wtrk-features {
  --wtrk-bg: rgba(11, 18, 36, 0.88);
  --wtrk-card: rgba(15, 23, 42, 0.92);
  --wtrk-text: #f8fafc;
  --wtrk-text-secondary: rgba(226, 232, 240, 0.78);
  --wtrk-border: rgba(52, 199, 89, 0.2);
  background: transparent;
  color: rgba(226, 232, 240, 0.92);
}

.pm-marketing-page-band:not(:has(.pm-home-dark-band)) .wtrk-features-page .wtrk-platforms-logos__item,
.pm-marketing-page-band:not(:has(.pm-home-dark-band)) .wtrk-features-page .wtrk-platforms-highlight,
.pm-marketing-page-band:not(:has(.pm-home-dark-band)) .wtrk-features-page .wtrk-ad-platforms-chip,
.pm-marketing-page-band:not(:has(.pm-home-dark-band)) .wtrk-features-page .wtrk-highlight-section,
.pm-marketing-page-band:not(:has(.pm-home-dark-band)) .wtrk-features-page .wtrk-menu-section,
.pm-marketing-page-band:not(:has(.pm-home-dark-band)) .wtrk-features-page .wtrk-flow-section,
.pm-marketing-page-band:not(:has(.pm-home-dark-band)) .wtrk-features-page .wtrk-features-ai-agent,
.pm-marketing-page-band:not(:has(.pm-home-dark-band)) .wtrk-features-page .wtrk-feature-card:not(.featured):not(.featured-green):not(.featured-orange),
.pm-marketing-page-band:not(:has(.pm-home-dark-band)) .wtrk-features-page .wtrk-integration-icon {
  border-color: rgba(52, 199, 89, 0.2);
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(52, 199, 89, 0.12), transparent 55%),
    linear-gradient(165deg, rgba(15, 23, 42, 0.92) 0%, rgba(11, 18, 36, 0.96) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 12px 32px rgba(0, 0, 0, 0.28);
}

.pm-marketing-page-band:not(:has(.pm-home-dark-band)) .wtrk-features-page .wtrk-flow-step,
.pm-marketing-page-band:not(:has(.pm-home-dark-band)) .wtrk-features-page .wtrk-preset-card,
.pm-marketing-page-band:not(:has(.pm-home-dark-band)) .wtrk-features-page .wtrk-menu-item,
.pm-marketing-page-band:not(:has(.pm-home-dark-band)) .wtrk-features-page .wtrk-workflow-step-num,
.pm-marketing-page-band:not(:has(.pm-home-dark-band)) .wtrk-features-page .pm-home-ai-agent__card {
  border-color: rgba(52, 199, 89, 0.18);
  background: rgba(11, 18, 36, 0.9);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
}

.pm-marketing-page-band:not(:has(.pm-home-dark-band)) .wtrk-features-page .wtrk-platforms-highlight h3,
.pm-marketing-page-band:not(:has(.pm-home-dark-band)) .wtrk-features-page .wtrk-platforms-logos__name,
.pm-marketing-page-band:not(:has(.pm-home-dark-band)) .wtrk-features-page .wtrk-ad-platforms-chip__name,
.pm-marketing-page-band:not(:has(.pm-home-dark-band)) .wtrk-features-page .wtrk-highlight-header h2,
.pm-marketing-page-band:not(:has(.pm-home-dark-band)) .wtrk-features-page .wtrk-highlight-header p,
.pm-marketing-page-band:not(:has(.pm-home-dark-band)) .wtrk-features-page .wtrk-flow-header h2,
.pm-marketing-page-band:not(:has(.pm-home-dark-band)) .wtrk-features-page .wtrk-flow-header p,
.pm-marketing-page-band:not(:has(.pm-home-dark-band)) .wtrk-features-page .wtrk-flow-step h4,
.pm-marketing-page-band:not(:has(.pm-home-dark-band)) .wtrk-features-page .wtrk-preset-name,
.pm-marketing-page-band:not(:has(.pm-home-dark-band)) .wtrk-features-page .wtrk-menu-text h4,
.pm-marketing-page-band:not(:has(.pm-home-dark-band)) .wtrk-features-page .wtrk-integration-name,
.pm-marketing-page-band:not(:has(.pm-home-dark-band)) .wtrk-features-page .wtrk-feature-title,
.pm-marketing-page-band:not(:has(.pm-home-dark-band)) .wtrk-features-page .pm-home-ai-agent__card-body h3,
.pm-marketing-page-band:not(:has(.pm-home-dark-band)) .wtrk-features-page .pm-home-ai-agent__intro .pm-saas-heading,
.pm-marketing-page-band:not(:has(.pm-home-dark-band)) .wtrk-features-page .pm-home-ai-agent__intro .pm-saas-lead,
.pm-marketing-page-band:not(:has(.pm-home-dark-band)) .wtrk-features-page .pm-home-ai-agent__proby-intro {
  color: #f8fafc;
}

.pm-marketing-page-band:not(:has(.pm-home-dark-band)) .wtrk-features-page .wtrk-platforms-highlight p,
.pm-marketing-page-band:not(:has(.pm-home-dark-band)) .wtrk-features-page .wtrk-flow-step p,
.pm-marketing-page-band:not(:has(.pm-home-dark-band)) .wtrk-features-page .wtrk-preset-desc,
.pm-marketing-page-band:not(:has(.pm-home-dark-band)) .wtrk-features-page .wtrk-menu-text p,
.pm-marketing-page-band:not(:has(.pm-home-dark-band)) .wtrk-features-page .wtrk-feature-desc,
.pm-marketing-page-band:not(:has(.pm-home-dark-band)) .wtrk-features-page .wtrk-feature-list li,
.pm-marketing-page-band:not(:has(.pm-home-dark-band)) .wtrk-features-page .pm-home-ai-agent__card-body p,
.pm-marketing-page-band:not(:has(.pm-home-dark-band)) .wtrk-features-page .pm-home-ai-agent__detail {
  color: rgba(226, 232, 240, 0.78);
}

.pm-marketing-page-band:not(:has(.pm-home-dark-band)) .wtrk-features-page .wtrk-ad-platforms-chip:hover,
.pm-marketing-page-band:not(:has(.pm-home-dark-band)) .wtrk-features-page .wtrk-menu-item:hover {
  border-color: rgba(96, 165, 250, 0.38);
  background: rgba(20, 30, 58, 0.96);
}

.pm-marketing-page-band:not(:has(.pm-home-dark-band)) .wtrk-features-page .wtrk-ad-platforms-chip__badge {
  color: rgba(226, 232, 240, 0.72);
  background: rgba(255, 255, 255, 0.08);
}

.pm-marketing-page-band:not(:has(.pm-home-dark-band)) .wtrk-features-page .wtrk-ad-platforms-chip__badge--live {
  color: #6ee7b7;
  background: rgba(52, 199, 89, 0.16);
}

.pm-marketing-page-band:not(:has(.pm-home-dark-band)) .wtrk-features-page .wtrk-features-ai-agent.pm-saas-section--muted {
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(52, 199, 89, 0.12), transparent 55%),
    linear-gradient(165deg, rgba(15, 23, 42, 0.92) 0%, rgba(11, 18, 36, 0.96) 100%);
}

.pm-marketing-page-band:not(:has(.pm-home-dark-band)) .wtrk-features-page .pm-home-ai-agent__visual {
  border-color: rgba(52, 199, 89, 0.22);
  background:
    radial-gradient(ellipse 70% 60% at 20% 20%, rgba(52, 199, 89, 0.14), transparent 55%),
    linear-gradient(165deg, rgba(15, 23, 42, 0.96) 0%, rgba(11, 18, 36, 0.94) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 18px 44px rgba(0, 0, 0, 0.32);
}

.pm-marketing-page-band:not(:has(.pm-home-dark-band)) .wtrk-features-page .pm-home-ai-agent__visual-stack::before {
  background: radial-gradient(
    circle,
    rgba(52, 199, 89, 0.2) 0%,
    rgba(52, 199, 89, 0.08) 42%,
    transparent 74%
  );
}

.pm-marketing-page-band:not(:has(.pm-home-dark-band)) .wtrk-features-page .pm-home-ai-agent__lottie {
  border-color: rgba(52, 199, 89, 0.26);
  background: rgba(11, 18, 36, 0.94);
  box-shadow:
    0 12px 32px rgba(0, 0, 0, 0.36),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.pm-marketing-page-band:not(:has(.pm-home-dark-band)) .wtrk-features-page .pm-home-ai-agent__card:hover {
  border-color: rgba(96, 165, 250, 0.38);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.32);
}

.pm-marketing-page-band:not(:has(.pm-home-dark-band)) .wtrk-features-page .wtrk-feature-list li {
  border-top-color: rgba(52, 199, 89, 0.14);
}

.pm-marketing-page-band:not(:has(.pm-home-dark-band)) .wtrk-features-page .wtrk-preset-card:hover {
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.32);
}

.pm-marketing-page-band:not(:has(.pm-home-dark-band)) .wtrk-features-page .pm-saas-kicker {
  color: #7dd3fc;
}

.pm-marketing-page-band:not(:has(.pm-home-dark-band)) .wtrk-features-page .wtrk-workflow-step-num {
  background: rgba(11, 18, 36, 0.92);
}

/* Features compact layout — dark surfaces */
.pm-marketing-page-band:not(:has(.pm-home-dark-band)) .wtrk-features-page .wtrk-stack,
.pm-marketing-page-band:not(:has(.pm-home-dark-band)) .wtrk-features-page .wtrk-cap-card,
.pm-marketing-page-band:not(:has(.pm-home-dark-band)) .wtrk-features-page .wtrk-label-strip__chip,
.pm-marketing-page-band:not(:has(.pm-home-dark-band)) .wtrk-features-page .wtrk-how-timeline__step,
.pm-marketing-page-band:not(:has(.pm-home-dark-band)) .wtrk-features-page .wtrk-workspace-list,
.pm-marketing-page-band:not(:has(.pm-home-dark-band)) .wtrk-features-page .wtrk-stack-stores__item {
  border-color: rgba(52, 199, 89, 0.2);
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(52, 199, 89, 0.1), transparent 55%),
    linear-gradient(165deg, rgba(15, 23, 42, 0.92) 0%, rgba(11, 18, 36, 0.96) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 8px 24px rgba(0, 0, 0, 0.24);
}

.pm-marketing-page-band:not(:has(.pm-home-dark-band)) .wtrk-features-page .wtrk-stack-extra,
.pm-marketing-page-band:not(:has(.pm-home-dark-band)) .wtrk-features-page .wtrk-preset-tag--inline {
  border-color: rgba(52, 199, 89, 0.18);
  background: rgba(11, 18, 36, 0.88);
  color: rgba(226, 232, 240, 0.78);
}

.pm-marketing-page-band:not(:has(.pm-home-dark-band)) .wtrk-features-page .wtrk-cap-card h3,
.pm-marketing-page-band:not(:has(.pm-home-dark-band)) .wtrk-features-page .wtrk-label-strip__name,
.pm-marketing-page-band:not(:has(.pm-home-dark-band)) .wtrk-features-page .wtrk-how-timeline__body h3,
.pm-marketing-page-band:not(:has(.pm-home-dark-band)) .wtrk-features-page .wtrk-workspace-list strong,
.pm-marketing-page-band:not(:has(.pm-home-dark-band)) .wtrk-features-page .wtrk-stack-stores__name,
.pm-marketing-page-band:not(:has(.pm-home-dark-band)) .wtrk-features-page .wtrk-stack-row__label {
  color: #f8fafc;
}

.pm-marketing-page-band:not(:has(.pm-home-dark-band)) .wtrk-features-page .wtrk-cap-card p,
.pm-marketing-page-band:not(:has(.pm-home-dark-band)) .wtrk-features-page .wtrk-label-strip__range,
.pm-marketing-page-band:not(:has(.pm-home-dark-band)) .wtrk-features-page .wtrk-how-timeline__body p,
.pm-marketing-page-band:not(:has(.pm-home-dark-band)) .wtrk-features-page .wtrk-workspace-list li {
  color: rgba(226, 232, 240, 0.78);
}

.pm-marketing-page-band:not(:has(.pm-home-dark-band)) .wtrk-features-page .wtrk-label-strip__action {
  color: #7dd3fc;
}

.pm-marketing-page-band:not(:has(.pm-home-dark-band)) .wtrk-features-page .pm-home-ai-agent--compact {
  margin-bottom: 48px;
}

@media (max-width: 768px) {
  .wtrk-features-page .wtrk-hero,
  .wtrk-features-page .wtrk-platforms-section,
  .wtrk-features-page .wtrk-ad-platforms-section,
  .wtrk-features-page .wtrk-workflow,
  .wtrk-features-page .wtrk-integrations {
    padding-left: 16px;
    padding-right: 16px;
    box-sizing: border-box;
  }

.wtrk-features-page .wtrk-platforms-logos {
    padding-left: 0;
    padding-right: 0;
  }

.wtrk-features-page .wtrk-flow-section,
  .wtrk-features-page .wtrk-menu-section {
    padding: 24px 16px !important;
  }

.wtrk-features-page .wtrk-features-ai-agent {
    overflow-x: clip;
  }

.wtrk-features-page .wtrk-features-ai-agent .pm-home-ai-agent__visual {
    overflow: hidden;
  }

.wtrk-features-page .wtrk-features-ai-agent .pm-home-ai-agent__visual-stack {
    max-width: 100%;
    margin: 0 auto;
  }

.wtrk-features-page .wtrk-automation-grid,
  .wtrk-features-page .wtrk-menu-grid,
  .wtrk-features-page .wtrk-benefits-grid {
    grid-template-columns: minmax(0, 1fr);
  }

.wtrk-features-page .wtrk-flow-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
  }

.wtrk-features-page .wtrk-labels-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

.wtrk-features-page .wtrk-presets-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

.wtrk-features-page .wtrk-workflow-steps {
    flex-direction: row;
    align-items: flex-start;
    gap: 8px;
  }

.wtrk-features-page .wtrk-workflow-steps::before {
    display: block;
    top: 22px;
    left: 8%;
    right: 8%;
    height: 2px;
  }

.wtrk-features-page .pm-reveal--ready.pm-reveal--left:not(.pm-reveal--visible),
  .wtrk-features-page .pm-reveal--ready.pm-reveal--right:not(.pm-reveal--visible) {
    transform: translate3d(0, 24px, 0);
  }

.wtrk-platforms-logos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding-left: 0;
    padding-right: 0;
  }
}

/* Features grid — 2 cards per row on desktop, 1 on mobile */
.wtrk-features-page .wtrk-features-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.wtrk-features-page .wtrk-feature-card.featured,
.wtrk-features-page .wtrk-feature-card.featured-green,
.wtrk-features-page .wtrk-feature-card.featured-orange {
  grid-column: span 1;
}

/* Row wrappers participate in the parent 2-column grid */
.wtrk-features-page .wtrk-features-row-3 {
  display: contents;
}

.wtrk-features-row-3 {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin-bottom: 28px;
}

.wtrk-features-grid > .wtrk-features-row-3:last-of-type {
  margin-bottom: 0;
}

/* Labels section — tighter spacing */
.wtrk-features-page .wtrk-labels-section {
  padding: 44px 36px !important;
  margin-bottom: 72px !important;
}

.wtrk-features-page .wtrk-labels-section h2 {
  margin-bottom: 10px !important;
  font-size: clamp(28px, 4vw, 34px) !important;
}

.wtrk-features-page .wtrk-labels-section > p {
  margin-bottom: 28px !important;
  font-size: 16px !important;
}

.wtrk-features-page .wtrk-labels-grid {
  gap: 18px !important;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.wtrk-features-page .wtrk-label-card {
  padding: 24px 28px !important;
  min-width: 200px;
}

.wtrk-features-page .wtrk-label-letter {
  width: 64px !important;
  height: 64px !important;
  font-size: 32px !important;
  margin-bottom: 12px !important;
  border-radius: 16px !important;
}

.wtrk-features-page .wtrk-label-card h4 {
  margin-bottom: 6px !important;
  font-size: 20px !important;
}

.wtrk-features-page .wtrk-label-card p {
  margin-bottom: 10px !important;
  font-size: 14px !important;
  line-height: 1.45 !important;
}

.wtrk-features-page .wtrk-label-action {
  padding: 6px 12px !important;
  font-size: 12px !important;
}

@media (max-width: 768px) {
  .wtrk-features-page .wtrk-labels-section {
    padding: 28px 20px !important;
    margin-bottom: 48px !important;
  }

.wtrk-features-page .wtrk-labels-section > p {
    margin-bottom: 20px !important;
  }

.wtrk-features-page .wtrk-labels-grid {
    gap: 12px !important;
  }

.wtrk-features-page .wtrk-label-card {
    padding: 14px 8px !important;
    min-width: 0;
    width: 100%;
  }

.wtrk-features-page .wtrk-label-letter {
    width: 40px !important;
    height: 40px !important;
    font-size: 20px !important;
    margin-bottom: 8px !important;
    border-radius: 10px !important;
  }

.wtrk-features-page .wtrk-label-card h4 {
    font-size: 13px !important;
    margin-bottom: 4px !important;
  }

.wtrk-features-page .wtrk-label-card p {
    font-size: 10px !important;
    margin-bottom: 6px !important;
    line-height: 1.35 !important;
  }

.wtrk-features-page .wtrk-label-action {
    padding: 4px 6px !important;
    font-size: 9px !important;
    display: block;
    line-height: 1.3;
  }
}

/* Strategy presets — tag pinned to card bottom */
.wtrk-features-page .wtrk-highlight-section {
  padding: 44px 36px !important;
  margin-bottom: 72px !important;
}

.wtrk-features-page .wtrk-highlight-header {
  margin-bottom: 28px !important;
}

.wtrk-features-page .wtrk-highlight-header h2 {
  margin-bottom: 8px !important;
  font-size: clamp(26px, 4vw, 32px) !important;
}

.wtrk-features-page .wtrk-presets-grid {
  gap: 16px !important;
  align-items: stretch;
}

.wtrk-features-page .wtrk-preset-card {
  display: flex !important;
  flex-direction: column;
  height: 100%;
  padding: 22px 20px !important;
}

.wtrk-features-page .wtrk-preset-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px !important;
  min-height: 62px;
}

.wtrk-features-page .wtrk-preset-icon__img {
  width: auto !important;
  height: 56px !important;
  max-width: 100%;
  object-fit: contain;
}

.wtrk-features-page .wtrk-preset-name {
  margin-bottom: 8px !important;
  font-size: 18px !important;
}

.wtrk-features-page .wtrk-preset-desc {
  flex: 1 1 auto;
  margin-bottom: 14px !important;
  font-size: 13px !important;
}

.wtrk-features-page .wtrk-preset-tag {
  margin-top: auto !important;
  margin-bottom: 0 !important;
  align-self: center;
}

/* Benefits section — tighter spacing */
.wtrk-features-page .wtrk-benefits-section {
  padding: 44px 36px !important;
  margin-bottom: 72px !important;
}

.wtrk-features-page .wtrk-benefits-section h2 {
  margin-bottom: 10px !important;
  font-size: clamp(28px, 4vw, 34px) !important;
}

.wtrk-features-page .wtrk-benefits-section > p {
  margin-bottom: 28px !important;
  font-size: 16px !important;
}

.wtrk-features-page .wtrk-benefits-grid {
  gap: 18px !important;
}

.wtrk-features-page .wtrk-benefit-card {
  padding: 24px 22px !important;
  text-align: left;
}

.wtrk-features-page .wtrk-benefit-card h4 {
  margin-bottom: 8px !important;
  font-size: 20px !important;
}

.wtrk-features-page .wtrk-benefit-card p {
  font-size: 14px !important;
  line-height: 1.5 !important;
}

@media (max-width: 768px) {
  .wtrk-features-page .wtrk-highlight-section,
  .wtrk-features-page .wtrk-benefits-section {
    padding: 28px 20px !important;
    margin-bottom: 48px !important;
  }

.wtrk-features-page .wtrk-highlight-header {
    margin-bottom: 20px !important;
  }

.wtrk-features-page .wtrk-benefits-section > p {
    margin-bottom: 20px !important;
  }
}

@media (max-width: 768px) {
  .wtrk-features-page .wtrk-features-grid {
    grid-template-columns: 1fr;
  }
}

/* Features — automation cards without icons */
.wtrk-features-page .wtrk-automation-card {
  text-align: left;
  padding: 24px 22px !important;
}

.wtrk-features-page .wtrk-automation-card h4 {
  margin-top: 0;
}

/* Features — flow section (horizontal decision pipeline) */
.wtrk-features-page .wtrk-flow-section {
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  border: 1px solid var(--wtrk-border, rgba(0, 0, 0, 0.08));
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.04);
}

.wtrk-features-page .wtrk-flow-header {
  margin-bottom: 28px !important;
}

.wtrk-features-page .wtrk-flow-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.wtrk-features-page .wtrk-flow-step {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 10px;
  row-gap: 6px;
  align-items: center;
  text-align: left;
  background: #fff;
  border: 1px solid var(--wtrk-border, rgba(0, 0, 0, 0.08));
  border-radius: 14px;
  padding: 16px 14px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

.wtrk-features-page .wtrk-flow-num {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  margin: 0;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  box-shadow: none;
}

.wtrk-features-page .wtrk-flow-step:nth-child(1) .wtrk-flow-num {
  background: linear-gradient(135deg, #34c759, #28a745);
}

.wtrk-features-page .wtrk-flow-step:nth-child(2) .wtrk-flow-num {
  background: linear-gradient(135deg, #007aff, #5856d6);
}

.wtrk-features-page .wtrk-flow-step:nth-child(3) .wtrk-flow-num {
  background: linear-gradient(135deg, #ff9500, #e68a00);
}

.wtrk-features-page .wtrk-flow-step:nth-child(4) .wtrk-flow-num {
  background: linear-gradient(135deg, #8e8e93, #636366);
}

.wtrk-features-page .wtrk-flow-step h4 {
  grid-column: 2;
  grid-row: 1;
  margin: 0;
  font-size: 14px;
  line-height: 1.25;
}

.wtrk-features-page .wtrk-flow-step p {
  grid-column: 1 / -1;
  grid-row: 2;
  margin: 0;
  font-size: 12px;
  line-height: 1.45;
}

/* Features — workflow steps on one row */
.wtrk-features-page .wtrk-workflow-steps {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 12px;
}

.wtrk-features-page .wtrk-workflow-steps::before {
  top: 28px;
  left: 6%;
  right: 6%;
  height: 2px;
}

.wtrk-features-page .wtrk-workflow-step {
  min-width: 0;
  flex: 1 1 0;
}

.wtrk-features-page .wtrk-workflow-step-num {
  width: 56px;
  height: 56px;
  font-size: 22px;
  margin-bottom: 12px;
  border-width: 3px;
}

.wtrk-features-page .wtrk-workflow-step h3 {
  font-size: 14px;
  margin-bottom: 6px;
}

.wtrk-features-page .wtrk-workflow-step p {
  font-size: 11px;
  max-width: none;
  line-height: 1.4;
}

@media (max-width: 768px) {
  .wtrk-features-page .wtrk-flow-section {
    padding: 24px 12px !important;
  }

.wtrk-features-page .wtrk-flow-grid {
    gap: 8px;
  }

.wtrk-features-page .wtrk-flow-step {
    padding: 12px 8px;
    border-radius: 12px;
    column-gap: 8px;
    row-gap: 4px;
  }

.wtrk-features-page .wtrk-flow-num {
    width: 24px;
    height: 24px;
    font-size: 12px;
  }

.wtrk-features-page .wtrk-flow-step h4 {
    font-size: 11px;
    line-height: 1.3;
  }

.wtrk-features-page .wtrk-flow-step p {
    font-size: 10px;
    line-height: 1.35;
  }

.wtrk-features-page .wtrk-workflow-step-num {
    width: 40px;
    height: 40px;
    font-size: 16px;
    margin-bottom: 8px;
    border-width: 2px;
  }

.wtrk-features-page .wtrk-workflow-step h3 {
    font-size: 11px;
  }

.wtrk-features-page .wtrk-workflow-step p {
    font-size: 9px;
  }

.wtrk-features-page .wtrk-presets-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

.wtrk-features-page .wtrk-preset-card {
    padding: 16px 12px !important;
  }

.wtrk-features-page .wtrk-preset-icon {
    min-height: 48px;
    margin-bottom: 8px !important;
  }

.wtrk-features-page .wtrk-preset-icon__img {
    height: 44px !important;
  }

.wtrk-features-page .wtrk-preset-name {
    font-size: 14px !important;
  }

.wtrk-features-page .wtrk-preset-desc {
    font-size: 11px !important;
    margin-bottom: 10px !important;
  }
}

/* Features CTA — iOS green background + multi-plan summary */
.wtrk-features-page .wtrk-cta {
  background: var(--pm-cta-green-gradient);
  box-shadow: 0 16px 48px var(--pm-cta-green-shadow);
  border: none;
}

.wtrk-features-page .wtrk-cta__lead {
  max-width: 42rem;
}

.wtrk-features-page .wtrk-cta-features span::before {
  color: rgba(255, 255, 255, 0.95);
}

.wtrk-features-page .wtrk-cta-btn:hover {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.14);
}

@media (max-width: 500px) {
  .wtrk-features-page .wtrk-flow-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

.wtrk-features-page .wtrk-presets-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

.wtrk-features-page .wtrk-cta-plans {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 90%;
    max-width: 90%;
  }

.wtrk-cta-plans {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 90%;
    max-width: 90%;
  }

.wtrk-cta-actions {
    flex-direction: column;
    width: 100%;
  }

.wtrk-features-page .wtrk-cta-btn {
    width: 100%;
    justify-content: center;
  }
}

/* Features page — AI Agent (Proby) block */
.wtrk-features-page .wtrk-features-ai-agent {
  border-top: none;
  background: var(--wtrk-card, #fff);
  border: 1px solid var(--wtrk-border, #e5e5e7);
  border-radius: 32px;
  padding: clamp(28px, 4vw, 52px) clamp(20px, 3.5vw, 44px);
  margin-bottom: 72px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.wtrk-features-page .wtrk-features-ai-agent .pm-container {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

@media (max-width: 768px) {
  .wtrk-features-page .wtrk-features-ai-agent {
    padding: 24px 18px;
    margin-bottom: 48px;
    border-radius: 24px;
  }
}

.wtrk-features-page .wtrk-features-ai-agent .pm-home-ai-agent__visual {
  margin-top: 10px;
}

.pm-marketing-page-band:not(:has(.pm-home-dark-band)) .wtrk-features-page .wtrk-features {
  padding-top: 0;
  padding-left: 0;
  padding-right: 0;
}
