/* ============================================================
   best-alternative.css
   Page styles for the Writecream-vs-competitor pages.
   Depends on /css/styles.css (CSS vars, .container, .section).
   ============================================================ */

:root {
  --ba-accent: #f86635;        /* warm orange — matches Writecream brand accent */
  --ba-accent-hover: #d8501d;
  --ba-success: #16a34a;
  --ba-muted-bg: #f8f9fa;
  --ba-card-radius: 18px;
  --ba-shadow-sm: 0 1px 3px rgba(15,23,42,.06), 0 1px 2px rgba(15,23,42,.04);
  --ba-shadow-md: 0 10px 30px rgba(15,23,42,.08), 0 4px 10px rgba(15,23,42,.04);
  --ba-shadow-lg: 0 25px 60px rgba(15,23,42,.12), 0 10px 25px rgba(15,23,42,.06);
}

.ba-body {
  font-family: var(--font-body);
  color: var(--gray-800);
}

.ba-main { padding-top: 0; }

/* ============================================================
   Shared button
   ============================================================ */
.ba-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  padding: 12px 28px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: .01em;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  text-decoration: none;
}
.ba-btn--primary {
  background: var(--ba-accent);
  color: #fff;
}
.ba-btn--primary:hover {
  background: var(--ba-accent-hover);
  color: #fff;
}
.ba-btn--lg { padding: 16px 36px; font-size: 18px; }
.ba-btn--block { width: 100%; }

/* ============================================================
   HERO — single-line offer strip
   ============================================================ */
.ba-hero {
  background: linear-gradient(90deg, #fff 0%, #fff3ec 100%);
  border-bottom: 1px solid var(--gray-200);
  padding: 0;
}
.ba-hero__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 8px 16px;
  min-height: 44px;
  flex-wrap: nowrap;
}
.ba-hero__label {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ba-accent);
  white-space: nowrap;
}

.ba-countdown {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.ba-countdown__cell {
  display: inline-flex;
  flex-direction: row;
  align-items: baseline;
  gap: 3px;
  min-width: 0;
}
.ba-countdown__num {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 16px;
  line-height: 1;
  color: var(--dark);
  font-variant-numeric: tabular-nums;
  letter-spacing: -.02em;
}
.ba-countdown__label {
  margin: 0;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--gray-600);
}
.ba-countdown__sep {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14px;
  color: var(--gray-400);
  padding: 0 2px;
}
.ba-hero .ba-btn--primary {
  padding: 7px 18px;
  font-size: 13px;
  line-height: 1;
}

/* ============================================================
   POSITIONING — H1 + signup iframe
   ============================================================ */
.ba-positioning {
  padding: 60px 0 70px;
}
.ba-positioning__inner { max-width: 920px; }
.ba-positioning__h1 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 48px;
  line-height: 1.15;
  text-align: center;
  color: var(--dark);
  margin-bottom: 14px;
  letter-spacing: -.01em;
}
.ba-positioning__accent {
  color: var(--ba-accent);
}
.ba-positioning__sub {
  text-align: center;
  font-size: 18px;
  color: var(--gray-600);
  max-width: 680px;
  margin: 0 auto 32px;
}
.ba-signup {
  background: #fff;
  border-radius: var(--ba-card-radius);
  border: 1px solid var(--gray-200);
  box-shadow: var(--ba-shadow-lg);
  overflow: hidden;
}
.ba-signup__iframe {
  display: block;
  width: 100%;
  height: 720px;
  border: 0;
}

/* ============================================================
   PRICING comparison
   ============================================================ */
.ba-pricing {
  background: var(--ba-muted-bg);
  padding: 80px 0;
}
.ba-pricing__h2 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 36px;
  text-align: center;
  color: var(--dark);
  margin-bottom: 10px;
}
.ba-pricing__sub {
  text-align: center;
  color: var(--gray-600);
  font-size: 17px;
  margin-bottom: 40px;
}
.ba-pricing__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  max-width: 880px;
  margin: 0 auto;
}
.ba-price-card {
  position: relative;
  background: #fff;
  border-radius: var(--ba-card-radius);
  padding: 36px 32px;
  box-shadow: var(--ba-shadow-md);
  border: 1px solid var(--gray-200);
  display: flex;
  flex-direction: column;
}
.ba-price-card--featured {
  border: 2px solid var(--ba-accent);
  box-shadow: var(--ba-shadow-lg);
  transform: translateY(-4px);
}
.ba-price-card__header {
  margin-bottom: 20px;
}
.ba-price-card__badge {
  display: inline-block;
  background: var(--ba-accent);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}
.ba-price-card__title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 22px;
  color: var(--dark);
}
.ba-price-card__price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 24px;
}
.ba-price-card__currency {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 600;
  color: var(--gray-800);
}
.ba-price-card__amount {
  font-family: var(--font-heading);
  font-size: 56px;
  font-weight: 700;
  color: var(--dark);
  line-height: 1;
  letter-spacing: -.02em;
}
.ba-price-card__period {
  color: var(--gray-600);
  font-size: 16px;
}
.ba-price-card__bullets {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  flex-grow: 1;
}
.ba-price-card__bullets li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  color: var(--gray-800);
  font-size: 15px;
}
.ba-price-card__bullets li i {
  color: var(--ba-success);
  margin-top: 4px;
  font-size: 13px;
}
.ba-price-card--muted .ba-price-card__bullets li i { color: var(--gray-400); }
.ba-price-card__footnote {
  font-size: 12px;
  color: var(--gray-600);
  text-align: center;
}

/* ============================================================
   COMPARE TABLE — 18-row feature matrix
   ============================================================ */
.ba-compare {
  padding: 80px 0;
}
.ba-compare__h2 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 32px;
  text-align: center;
  color: var(--dark);
  margin-bottom: 32px;
}
.ba-compare__table-wrap {
  overflow-x: auto;
  border-radius: var(--ba-card-radius);
  border: 1px solid var(--gray-200);
  box-shadow: var(--ba-shadow-sm);
  background: #fff;
}
.ba-compare__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
.ba-compare__table thead th {
  background: #fff;
  text-align: left;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--gray-600);
  padding: 18px 22px;
  border-bottom: 1px solid var(--gray-200);
}
.ba-compare__table thead th.ba-compare__th--us {
  color: var(--ba-accent);
  background: #fff7f3;
}
.ba-compare__table tbody th {
  text-align: left;
  font-weight: 500;
  color: var(--gray-800);
  padding: 16px 22px;
  border-bottom: 1px solid var(--gray-200);
  background: var(--ba-muted-bg);
  font-family: var(--font-body);
}
.ba-compare__table tbody td {
  padding: 16px 22px;
  border-bottom: 1px solid var(--gray-200);
  color: var(--gray-800);
}
.ba-compare__table tbody td.ba-compare__td--us {
  background: #fff7f3;
  font-weight: 500;
  color: var(--dark);
}
.ba-compare__table tbody tr:last-child th,
.ba-compare__table tbody tr:last-child td {
  border-bottom: 0;
}

/* ============================================================
   BRANDS strip
   ============================================================ */
.ba-brands {
  padding: 60px 0;
  background: var(--ba-muted-bg);
}
.ba-brands__h2 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-align: center;
  color: var(--gray-600);
  margin-bottom: 28px;
}
.ba-brands__strip {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 36px;
  padding: 0;
  margin: 0;
}
.ba-brands__strip li {
  flex: 0 0 auto;
}
.ba-brands__strip img {
  max-height: 50px;
  width: auto;
  opacity: .72;
  filter: grayscale(100%);
  transition: opacity .2s ease, filter .2s ease;
}
.ba-brands__strip img:hover {
  opacity: 1;
  filter: grayscale(0%);
}

/* ============================================================
   FLAGSHIP FEATURES grid
   ============================================================ */
.ba-features {
  padding: 90px 0;
}
.ba-features__eyebrow {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-align: center;
  color: var(--ba-accent);
  margin-bottom: 10px;
}
.ba-features__h2 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 36px;
  text-align: center;
  color: var(--dark);
  margin-bottom: 48px;
}
.ba-features__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.ba-feature {
  background: #fff;
  border-radius: var(--ba-card-radius);
  padding: 18px 18px 22px;
  border: 1px solid var(--gray-200);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  display: flex;
  flex-direction: column;
}
.ba-feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--ba-shadow-md);
  border-color: transparent;
}
.ba-feature__media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin-bottom: 16px;
  border-radius: 12px;
  overflow: hidden;
  background: #f3f4f6;
}
.ba-feature__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .25s ease;
}
.ba-feature__media:hover img { transform: scale(1.03); }
.ba-feature__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.ba-feature__play i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(0, 0, 0, .65);
  color: #fff;
  font-size: 18px;
  padding-left: 4px;
  transition: background .2s ease, transform .2s ease;
}
.ba-feature__media:hover .ba-feature__play i {
  background: var(--ba-accent);
  transform: scale(1.08);
}
.ba-feature__title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 17px;
  color: var(--dark);
  margin: 0 0 8px;
  line-height: 1.3;
}
.ba-feature__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #fff7f3;
  color: var(--ba-accent);
  font-size: 18px;
  margin-bottom: 16px;
}
.ba-feature h3 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 18px;
  color: var(--dark);
  margin-bottom: 8px;
}
.ba-feature p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--gray-600);
  margin: 0;
}

/* ============================================================
   FAQ accordion
   ============================================================ */
.ba-faq {
  padding: 80px 0;
  background: var(--ba-muted-bg);
}
.ba-faq__h2 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 32px;
  text-align: center;
  color: var(--dark);
  margin-bottom: 32px;
}
.ba-faq__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}
.ba-faq__item details {
  background: #fff;
  border-radius: 14px;
  border: 1px solid var(--gray-200);
  padding: 4px 4px;
  transition: box-shadow .2s ease, border-color .2s ease;
}
.ba-faq__item details[open] {
  box-shadow: var(--ba-shadow-md);
  border-color: transparent;
}
.ba-faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 16.5px;
  color: var(--dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.ba-faq__item summary::-webkit-details-marker { display: none; }
.ba-faq__item summary::after {
  content: "+";
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: var(--ba-muted-bg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 20px;
  color: var(--gray-600);
  transition: transform .2s ease, background .2s ease, color .2s ease;
}
.ba-faq__item details[open] summary::after {
  content: "−";
  background: var(--ba-accent);
  color: #fff;
}
.ba-faq__item p {
  padding: 0 22px 18px;
  color: var(--gray-600);
  font-size: 15px;
  line-height: 1.65;
}
.ba-faq__item a {
  color: var(--ba-accent);
  font-weight: 500;
}

/* ============================================================
   FOOTER CTA
   ============================================================ */
.ba-cta {
  padding: 90px 0;
  background:
    radial-gradient(800px 400px at 50% 0%, rgba(248,102,53,.10), transparent 60%),
    linear-gradient(180deg, #fff 0%, #fff7f3 100%);
  text-align: center;
}
.ba-cta__h2 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 36px;
  color: var(--dark);
  margin-bottom: 12px;
}
.ba-cta__sub {
  color: var(--gray-600);
  font-size: 17px;
  margin-bottom: 28px;
}

/* ============================================================
   CONTENT CATEGORIES — 6-tile grid
   ============================================================ */
.ba-cats {
  padding: 90px 0;
}
.ba-cats__h2 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 36px;
  text-align: center;
  color: var(--dark);
  margin-bottom: 12px;
  line-height: 1.2;
}
.ba-cats__sub {
  text-align: center;
  color: var(--gray-600);
  font-size: 17px;
  max-width: 720px;
  margin: 0 auto 44px;
}
.ba-cats__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.ba-cat {
  background: #fff;
  border-radius: var(--ba-card-radius);
  padding: 32px 28px;
  border: 1px solid var(--gray-200);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.ba-cat:hover {
  transform: translateY(-4px);
  box-shadow: var(--ba-shadow-md);
  border-color: transparent;
}
.ba-cat__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, #fff7f3, #ffe4d6);
  color: var(--ba-accent);
  font-size: 22px;
  margin-bottom: 18px;
}
.ba-cat__title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 20px;
  color: var(--dark);
  margin-bottom: 14px;
}
.ba-cat__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}
.ba-cat__list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.5px;
  color: var(--gray-800);
  line-height: 1.4;
}
.ba-cat__list li i {
  color: var(--ba-success);
  margin-top: 4px;
  font-size: 12px;
  flex-shrink: 0;
}

/* ============================================================
   CHATGENIE — promo banner + 2 sub-cards
   ============================================================ */
.ba-chatgenie {
  padding: 80px 0;
  background: var(--ba-muted-bg);
}
.ba-chatgenie__h2 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 32px;
  line-height: 1.25;
  color: var(--dark);
  text-align: center;
  margin-bottom: 36px;
}
.ba-chatgenie__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 40px;
}
.ba-chatgenie__copy p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--gray-800);
}
.ba-chatgenie__video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--ba-card-radius);
  overflow: hidden;
  background: #000;
  box-shadow: var(--ba-shadow-md);
}
.ba-chatgenie__video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.ba-chatgenie__pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.ba-promo-card {
  background: #fff;
  border-radius: var(--ba-card-radius);
  padding: 36px 32px;
  border: 1px solid var(--gray-200);
  transition: transform .2s ease, box-shadow .2s ease;
}
.ba-promo-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--ba-shadow-md);
}
.ba-promo-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, #fff7f3, #ffe4d6);
  color: var(--ba-accent);
  font-size: 22px;
  margin-bottom: 18px;
}
.ba-promo-card__title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 22px;
  color: var(--dark);
  margin-bottom: 10px;
}
.ba-promo-card__lede {
  font-size: 16px;
  font-weight: 500;
  color: var(--dark);
  margin-bottom: 12px;
}
.ba-promo-card p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--gray-600);
}
.ba-promo-card__img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 360px;
  margin: 14px auto 18px;
  border-radius: 12px;
  border: 1px solid var(--gray-200);
}

/* ============================================================
   PERSONALIZE ICEBREAKERS — 3-step numbered cards
   ============================================================ */
.ba-personalize {
  padding: 90px 0;
}
.ba-personalize__h2 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 36px;
  text-align: center;
  color: var(--dark);
  margin-bottom: 36px;
  line-height: 1.2;
}
.ba-personalize__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 48px;
}
.ba-personalize__copy p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--gray-800);
  margin-bottom: 16px;
}
.ba-personalize__copy p:last-child { margin-bottom: 0; }
.ba-personalize__video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--ba-card-radius);
  overflow: hidden;
  background: #000;
  box-shadow: var(--ba-shadow-md);
}
.ba-personalize__video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.ba-personalize__sub {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 22px;
  text-align: center;
  color: var(--dark);
  margin-bottom: 28px;
}
.ba-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.ba-step {
  background: #fff;
  border-radius: var(--ba-card-radius);
  padding: 36px 30px;
  border: 1px solid var(--gray-200);
  position: relative;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.ba-step:hover {
  transform: translateY(-4px);
  box-shadow: var(--ba-shadow-md);
  border-color: transparent;
}
.ba-step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--ba-accent), #ff8a5b);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 22px;
  margin-bottom: 18px;
}
.ba-step__title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 19px;
  color: var(--dark);
  margin-bottom: 10px;
  line-height: 1.3;
}
.ba-step p {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--gray-600);
  margin-bottom: 18px;
}
.ba-step__links {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 14.5px;
  margin: 0;
}
.ba-step__links a {
  color: var(--ba-accent);
  text-decoration: none;
  transition: color .15s ease;
}
.ba-step__links a:hover { color: var(--ba-accent-hover); }
.ba-step__sep {
  color: var(--gray-300);
  font-weight: 400;
}
.ba-mini-card__links {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 10px 0 0;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 14px;
}
.ba-mini-card__links a {
  color: var(--ba-accent);
  text-decoration: none;
}
.ba-mini-card__links a:hover { color: var(--ba-accent-hover); }

/* ============================================================
   LONG-FORM BLOG highlight (split copy + 2 mini cards)
   ============================================================ */
.ba-longform {
  padding: 90px 0;
  background: var(--ba-muted-bg);
}
.ba-longform__h2 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 36px;
  line-height: 1.2;
  color: var(--dark);
  text-align: center;
  margin-bottom: 28px;
}
.ba-longform__copy {
  max-width: 880px;
  margin: 0 auto 40px;
}
.ba-longform__copy p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--gray-800);
  margin-bottom: 16px;
}
.ba-longform__copy p:last-child { margin-bottom: 0; }
.ba-longform__pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.ba-longform__video {
  position: relative;
  width: 100%;
  max-width: 860px;
  margin: 36px auto 0;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--gray-200);
  box-shadow: var(--ba-shadow-md);
  background: #000;
}
.ba-longform__video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.ba-mini-card {
  background: #fff;
  border-radius: var(--ba-card-radius);
  padding: 28px 26px;
  border: 1px solid var(--gray-200);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.ba-mini-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--ba-shadow-md);
}
.ba-mini-card__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #fff7f3;
  color: var(--ba-accent);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 18px;
}
.ba-mini-card__head {
  display: flex;
  align-items: center;
  gap: 14px;
}
.ba-mini-card__title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 18px;
  color: var(--dark);
  margin: 0;
}
.ba-mini-card__desc,
.ba-mini-card p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--gray-600);
  margin: 0;
}

/* ============================================================
   WORKFLOW — 4-step horizontal
   ============================================================ */
.ba-workflow {
  padding: 90px 0;
}
.ba-workflow__h2 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 36px;
  text-align: center;
  color: var(--dark);
  margin: 0 auto 12px;
  max-width: 880px;
  line-height: 1.25;
}
.ba-workflow__intro {
  text-align: center;
  color: var(--gray-600);
  font-size: 16px;
  margin-bottom: 40px;
}
.ba-workflow__row {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: center;
}
.ba-workflow__video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--ba-card-radius);
  overflow: hidden;
  background: #000;
  box-shadow: var(--ba-shadow-md);
}
.ba-workflow__video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.ba-workflow__steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: workflow;
  position: relative;
}
.ba-workflow__step {
  position: relative;
  background: #fff;
  border-radius: var(--ba-card-radius);
  padding: 22px 22px 22px 22px;
  border: 1px solid var(--gray-200);
  counter-increment: workflow;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.ba-workflow__step::before {
  content: counter(workflow, decimal-leading-zero);
  position: absolute;
  top: 8px;
  right: 14px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 28px;
  color: var(--gray-200);
  line-height: 1;
}
.ba-workflow__step:hover {
  transform: translateY(-3px);
  box-shadow: var(--ba-shadow-md);
  border-color: transparent;
}
.ba-workflow__step:hover::before {
  color: rgba(248,102,53,.20);
}
.ba-workflow__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--ba-accent), #ff8a5b);
  color: #fff;
  font-size: 18px;
  flex-shrink: 0;
}
.ba-workflow__step h3 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 16px;
  color: var(--dark);
  line-height: 1.3;
  margin: 0;
}

/* ============================================================
   TESTIMONIALS — Join 300k companies
   ============================================================ */
.ba-testimonials {
  padding: 90px 0;
  background: var(--ba-muted-bg);
}
.ba-testimonials__h2 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 36px;
  text-align: center;
  color: var(--dark);
  margin-bottom: 14px;
  line-height: 1.2;
}
.ba-testimonials__sub {
  text-align: center;
  color: var(--gray-600);
  font-size: 17px;
  margin-bottom: 48px;
}
.ba-testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.ba-testimonial {
  background: #fff;
  border-radius: var(--ba-card-radius);
  padding: 32px 30px;
  border: 1px solid var(--gray-200);
  margin: 0;
  position: relative;
  transition: transform .2s ease, box-shadow .2s ease;
}
.ba-testimonial:hover {
  transform: translateY(-4px);
  box-shadow: var(--ba-shadow-md);
}
.ba-testimonial::before {
  content: "\201C";
  position: absolute;
  top: 12px;
  right: 22px;
  font-family: Georgia, serif;
  font-size: 64px;
  color: #ffe4d6;
  line-height: 1;
  pointer-events: none;
}
.ba-testimonial__title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 17px;
  line-height: 1.35;
  color: var(--dark);
  margin: 0 0 14px;
  padding-right: 36px;
}
.ba-testimonial blockquote {
  font-size: 15px;
  line-height: 1.7;
  color: var(--gray-800);
  margin: 0 0 20px;
  font-style: italic;
}
.ba-testimonial figcaption {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-top: 16px;
  border-top: 1px solid var(--gray-200);
}
.ba-testimonial figcaption strong {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 15px;
  color: var(--dark);
}
.ba-testimonial figcaption span {
  font-size: 13px;
  color: var(--gray-600);
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1080px) {
  .ba-cats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ba-testimonials__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 880px) {
  .ba-hero__inner { gap: 10px; padding: 7px 14px; min-height: 40px; }
  .ba-hero__label { font-size: 11px; }
  .ba-countdown__num { font-size: 15px; }

  .ba-positioning { padding: 40px 0 50px; }
  .ba-positioning__h1 { font-size: 32px; }
  .ba-positioning__sub { font-size: 16px; }
  .ba-signup__iframe { height: 820px; }

  .ba-pricing { padding: 60px 0; }
  .ba-pricing__h2 { font-size: 28px; }
  .ba-pricing__grid {
    grid-template-columns: 1fr;
    max-width: 460px;
  }
  .ba-price-card--featured { transform: none; }
  .ba-price-card { padding: 28px 24px; }
  .ba-price-card__amount { font-size: 46px; }

  .ba-compare { padding: 60px 0; }
  .ba-compare__h2 { font-size: 24px; }
  .ba-compare__table { font-size: 14px; }
  .ba-compare__table thead th,
  .ba-compare__table tbody th,
  .ba-compare__table tbody td { padding: 12px 14px; }

  .ba-brands__strip { gap: 24px; }
  .ba-brands__strip img { max-height: 36px; }

  .ba-features { padding: 60px 0; }
  .ba-features__h2 { font-size: 28px; }
  .ba-features__grid { gap: 14px; }

  .ba-faq { padding: 60px 0; }
  .ba-faq__h2 { font-size: 26px; }
  .ba-faq__item summary { font-size: 15px; padding: 16px 18px; }
  .ba-faq__item p { padding: 0 18px 16px; font-size: 14.5px; }

  .ba-cta { padding: 60px 0; }
  .ba-cta__h2 { font-size: 26px; }

  .ba-cats { padding: 60px 0; }
  .ba-cats__h2 { font-size: 28px; }
  .ba-cats__grid { grid-template-columns: 1fr; gap: 14px; }

  .ba-chatgenie { padding: 60px 0; }
  .ba-chatgenie__h2 { font-size: 24px; margin-bottom: 24px; }
  .ba-chatgenie__row { grid-template-columns: 1fr; gap: 24px; margin-bottom: 28px; }
  .ba-chatgenie__pair { grid-template-columns: 1fr; gap: 14px; }
  .ba-promo-card { padding: 28px 24px; }
  .ba-promo-card__title { font-size: 20px; }

  .ba-personalize { padding: 60px 0; }
  .ba-personalize__h2 { font-size: 28px; }
  .ba-personalize__row { grid-template-columns: 1fr; gap: 24px; margin-bottom: 32px; }
  .ba-personalize__sub { font-size: 20px; margin-bottom: 22px; }
  .ba-steps { grid-template-columns: 1fr; gap: 14px; }

  .ba-longform { padding: 60px 0; }
  .ba-longform__h2 { font-size: 28px; }
  .ba-longform__pair { grid-template-columns: 1fr; gap: 14px; }

  .ba-workflow { padding: 60px 0; }
  .ba-workflow__h2 { font-size: 26px; }
  .ba-workflow__row { grid-template-columns: 1fr; gap: 24px; }
  .ba-workflow__steps { grid-template-columns: 1fr; gap: 12px; }
  .ba-workflow__step::before { font-size: 24px; top: 8px; right: 12px; }
  .ba-workflow__badge { width: 40px; height: 40px; font-size: 16px; }

  .ba-testimonials { padding: 60px 0; }
  .ba-testimonials__h2 { font-size: 28px; }
  .ba-testimonials__grid { grid-template-columns: 1fr; gap: 14px; }
  .ba-testimonial { padding: 26px 24px; }
  .ba-testimonial__title { font-size: 16px; }
}

@media (max-width: 480px) {
  .ba-hero__inner { gap: 8px; padding: 6px 10px; flex-wrap: wrap; min-height: 0; }
  .ba-hero__label { font-size: 10px; width: 100%; text-align: center; }
  .ba-countdown__num { font-size: 14px; }
  .ba-countdown__label { font-size: 10px; }
  .ba-countdown__sep { font-size: 12px; }
  .ba-hero .ba-btn--primary { padding: 6px 14px; font-size: 12px; }
}

/* ========================================
   TOOL (STYLE B — best-alternative: top-accent demo card)
   Distinct from legacy Style A. Shared write-tool.js drives it.
   ======================================== */
.ba-tool {
  max-width: 720px; margin: 0 auto; background: #fff;
  border: 1px solid #eef0f4; border-radius: var(--ba-card-radius);
  overflow: hidden; text-align: left;
}
.ba-tool__bar {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 22px; background: linear-gradient(90deg, var(--ba-accent), #ff8a5c); color: #fff;
}
.ba-tool__badge { font-weight: 700; font-size: 13px; }
.ba-tool__badge i { margin-right: 6px; }
.ba-tool__hint { font-size: 13px; opacity: .95; }
.ba-tool__label { display: block; font-weight: 700; color: #0f172a; margin: 22px 22px 8px; font-size: 15px; }
.ba-tool__textarea {
  display: block; width: calc(100% - 44px); margin: 0 22px; font-family: inherit; font-size: 15px;
  color: #0f172a; background: var(--ba-muted-bg); border: 1px solid #e5e7eb; border-radius: 12px;
  padding: 14px; resize: vertical; min-height: 120px;
}
.ba-tool__textarea:focus { outline: none; border-color: var(--ba-accent); background: #fff; box-shadow: 0 0 0 3px rgba(248,102,53,.15); }
.ba-tool__controls { display: grid; grid-template-columns: 1fr 1fr 150px; gap: 12px; margin: 14px 22px 0; }
.ba-tool__select, .ba-tool__input {
  width: 100%; font-family: inherit; font-size: 14px; color: #0f172a; background: #fff;
  border: 1px solid #e5e7eb; border-radius: 10px; padding: 11px 12px;
}
.ba-tool__select:focus, .ba-tool__input:focus { outline: none; border-color: var(--ba-accent); box-shadow: 0 0 0 3px rgba(248,102,53,.15); }
.ba-tool__btn {
  display: block; width: calc(100% - 44px); margin: 18px 22px 0; background: var(--ba-accent);
  color: #fff; border: none; border-radius: 999px; padding: 15px 24px; font-size: 16px; font-weight: 700;
  cursor: pointer; transition: background-color .18s ease;
}
.ba-tool__btn:hover { background: var(--ba-accent-hover); color: #fff; }
.ba-tool__btn:disabled { opacity: .6; cursor: not-allowed; }
.ba-tool__spinner { margin: 18px auto 0; width: 32px; height: 32px; }
.ba-tool__spinner span { display: block; width: 100%; height: 100%; border: 3px solid #e5e7eb; border-top-color: var(--ba-accent); border-radius: 50%; animation: ba-spin .8s linear infinite; }
@keyframes ba-spin { to { transform: rotate(360deg); } }
.ba-tool__output { margin: 18px 22px 0; }
.ba-tool__output .output-box { position: relative; background: var(--ba-muted-bg); border: 1px solid #e5e7eb; border-radius: 12px; padding: 18px 20px; margin-bottom: 14px; text-align: left; }
.ba-tool__output .markdown-body { color: #0f172a; }
.ba-tool__output .copyButton { position: absolute; top: 12px; right: 12px; background: #fff; border: 1px solid #e5e7eb; border-radius: 8px; width: 34px; height: 34px; cursor: pointer; color: #64748b; }
.ba-tool__output .copyButton:hover { color: var(--ba-accent); border-color: var(--ba-accent); }
.ba-tool__more { display: block; margin: 4px 22px 22px; background: #fff; color: #0f172a; border: 1px solid #e5e7eb; border-radius: 999px; padding: 11px 20px; font-weight: 600; cursor: pointer; }
.ba-tool__more:hover { border-color: var(--ba-accent); color: var(--ba-accent); }
@media (max-width: 620px) { .ba-tool__controls { grid-template-columns: 1fr; } }
