/* Automate features - measured from www.transformify.ai/automate-features at 1440px */

.af-title { font-size: clamp(32px, 3.75vw, 54px); font-weight: 700; line-height: 1.2; }

/* Hero */
.af-hero { padding-top: 42px; }
.af-hero__lead { margin-top: 25px; font-size: clamp(17px, 1.42vw, 20.4px); line-height: 1.6; }
.af-divider { position: relative; height: 49px; margin-top: 40px; }
.af-divider::before, .af-divider::after { content: ''; position: absolute; top: 23px; height: 2px; background: #ffb8c2; }
.af-divider::before { left: 0; right: calc(50% + 43px); }
.af-divider::after { left: calc(50% + 43px); right: 0; }
.af-divider img { width: 49px; height: 49px; margin: 0 auto; }

/* Feature sections */
.af-sec { padding: 100px 0 137px; }
.af-sec--gray { background: rgba(149, 161, 181, .07); }
.af-lead { max-width: 1008px; margin-top: 25px; font-size: 17px; line-height: 20px; }

/* Tabs */
.af-tabs { margin-top: 40px; }
.af-tablist { display: flex; flex-wrap: wrap; gap: 10px; border-bottom: 1px solid #dfe3e9; }
.af-tab {
  height: 51px; padding: 0 15px; font: 400 16px/28.8px var(--font); color: var(--text); cursor: pointer;
  border: 1px solid transparent;
  background: linear-gradient(#fff, #fff) padding-box, linear-gradient(90deg, #ff4d67, #8b4bbf) border-box;
}
.af-tab:hover { color: var(--rose); }
.af-tab[aria-selected='true'] {
  color: #fff; text-decoration: underline; text-underline-offset: 2px;
  background: linear-gradient(90deg, #ff4d67, #8b4bbf) border-box;
}

/* Panel: text column + framed media */
.af-panel { display: grid; grid-template-columns: 368px 793px; justify-content: space-between; align-items: start; margin-top: 46px; }
.af-panel[hidden] { display: none; }
.af-sec--wide .af-panel { grid-template-columns: 374px 806px; }
.af-text p { font-size: 17px; line-height: 27.2px; }
.af-text p + p { margin-top: 27.2px; }
.af-link { display: inline-flex; align-items: center; gap: 12px; height: 50px; margin-top: 15px; font-size: 16px; font-weight: 700; color: var(--text); text-decoration: none; }
.af-link svg { width: 13px; height: 13px; fill: currentColor; transform: scaleY(-1); }
.af-link:hover { color: var(--pink); }

.af-box { background: #fff; border: 2px solid rgba(223, 227, 233, .5); }
.af-shot__img { width: 100%; }
/* 1230x700 screenshots are cropped to 789x447 on the original */
.af-shot__img--crop { aspect-ratio: 789 / 447; object-fit: cover; }
.af-empty { height: var(--h, 200px); }

.af-io { display: grid; grid-template-columns: 1fr 1fr; padding-bottom: 17px; }
.af-io--tall { padding-bottom: 7px; }
.af-io__col { padding: 18px 18px 0; }
.af-io__col + .af-io__col { border-left: 2px solid rgba(223, 227, 233, .5); }
.af-io__title { font-size: 24px; line-height: 38.4px; }
.af-io__col p { margin-top: 25px; font-size: 17px; line-height: 27.2px; }
.af-io__col a { color: inherit; }
.af-io__img { width: 100%; margin-top: 26px; }

/* Advanced reasoning band */
.af-band { display: flex; align-items: center; height: 225px; text-align: center; }

/* Shared CTA band - this page's measurements */
.cta-embrace { padding: 100px 0; }
.cta-embrace .btn { margin-top: 35px; width: 228px; padding: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1240px) {
  .af-panel, .af-sec--wide .af-panel { grid-template-columns: minmax(0, 30%) minmax(0, 65%); }
}
@media (max-width: 900px) {
  .af-sec { padding: 72px 0; }
  .af-panel, .af-sec--wide .af-panel { grid-template-columns: minmax(0, 1fr); gap: 24px; margin-top: 32px; }
  .af-tab { height: 44px; padding: 0 12px; font-size: 15px; }
  .af-band { height: 160px; }
  .cta-embrace { padding: 72px 0; }
}
@media (max-width: 560px) {
  .af-io { grid-template-columns: minmax(0, 1fr); }
  .af-io__col + .af-io__col { border-left: 0; border-top: 2px solid rgba(223, 227, 233, .5); margin-top: 18px; }
  .af-io__img { max-width: 357px; }
  .af-divider::before { right: calc(50% + 36px); }
  .af-divider::after { left: calc(50% + 36px); }
}
