/* ============================================================
   abm_optimize — ABM prospecting page on the new Scribe brand.
   Section structure follows the ABM build spec; the hero is a
   two-column copy/form split modelled on scribe.com/sales
   (64px form card, 12px radius, segmented progress, gray-100
   option chips). Brand tokens are shared with abm_v2.
   ============================================================ */

/* ── Self-hosted brand fonts ────────────────────────────────── */
@font-face {
  font-family: "ABC Marist";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/scribe/ABCMarist-Regular-e142c884.woff2") format("woff2");
}
@font-face {
  font-family: "ABC Diatype";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/scribe/ABCDiatype-Regular-b8ef7376.woff2") format("woff2");
}
@font-face {
  font-family: "ABC Diatype";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/scribe/ABCDiatype-Bold-d0a6f84c.woff2") format("woff2");
}

/* ── Layout shell ───────────────────────────────────────────── */
.landing-body:has(.abmo-page) {
  background: #ffffff;
  color: #020617;
  /* Re-tint the shared landing form colours to the brand blue so focus
     rings and checked states match the theme. */
  --color-primary:       #5098c1;
  --color-primary-dark:  #3f7c9f;
  --color-primary-light: #e7f1f6;
}

.landing-body:has(.abmo-page) .landing-header {
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
}

/* ── Brand tokens (scoped) ──────────────────────────────────── */
.abmo-page {
  --abmo-bg-soft:     #f9fafc;
  --abmo-bg-card:     #f3f4f6;
  --abmo-border:      #dbdcde;
  --abmo-text:        #020617;
  --abmo-text-muted:  #475258;
  --abmo-text-faint:  #84888d;

  --abmo-blue-50:     #f2f7f8;
  --abmo-blue-100:    #daebef;
  --abmo-blue-200:    #c6e3ee;
  --abmo-blue-300:    #afd1db;
  --abmo-blue:        #5098c1;

  --abmo-btn-bg:       #000000;
  --abmo-btn-bg-hover: #222425;
  --abmo-btn-text:     #ffffff;

  --abmo-error:       #dc2626;

  min-height: 100vh;
  background: transparent;
  color: var(--abmo-text);
  overflow-x: clip;
  padding: 0 0 80px;
  font-family: "ABC Diatype", "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.4;
}

.abmo-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

@media (min-width: 720px) {
  .abmo-container { padding: 0 6vw; }
}

/* ── Shared type ────────────────────────────────────────────── */
.abmo-section-heading {
  font-family: "ABC Marist", Georgia, serif;
  font-size: clamp(1.75rem, 3.5vw, 3.25rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--abmo-text);
  margin: 0 0 16px;
  overflow-wrap: break-word;
}

.abmo-section-body {
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--abmo-text-muted);
  margin: 0 0 32px;
  max-width: 720px;
}

/* ── Shared buttons ─────────────────────────────────────────── */
.abmo-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 100vw;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: background 0.15s, color 0.15s, border-color 0.15s, transform 0.15s;
}

.abmo-btn:hover { transform: translateY(-1px); }

.abmo-btn--primary {
  background: var(--abmo-btn-bg);
  color: var(--abmo-btn-text);
  border-color: var(--abmo-btn-bg);
}
.abmo-btn--primary:hover {
  background: var(--abmo-btn-bg-hover);
  border-color: var(--abmo-btn-bg-hover);
}

.abmo-btn--secondary {
  background: transparent;
  color: var(--abmo-text);
  border-color: var(--abmo-text);
}
.abmo-btn--secondary:hover {
  color: var(--abmo-text-faint);
  border-color: var(--abmo-text-faint);
}

.abmo-btn[disabled] { opacity: 0.6; cursor: not-allowed; transform: none; }

/* ── 1. Hero — two-column copy / form ──────────────────────── */
.abmo-hero {
  padding: 72px 0 56px;
  scroll-margin-top: 24px;
}

.abmo-hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
}

@media (min-width: 900px) {
  .abmo-hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 64px;
    align-items: center;
  }
}

.abmo-hero__copy { min-width: 0; }

.abmo-hero__eyebrow {
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--abmo-text-faint);
  margin: 0 0 16px;
}

.abmo-hero__headline {
  font-family: "ABC Marist", Georgia, serif;
  font-size: clamp(2.25rem, 4.5vw, 3.75rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--abmo-text);
  margin: 0 0 24px;
  overflow-wrap: break-word;
}

.abmo-hero__body {
  font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
  line-height: 1.55;
  color: var(--abmo-text-muted);
  margin: 0;
  max-width: 45ch;
  overflow-wrap: break-word;
}

/* Textured frame behind the form card — background-image set inline via
   asset_path (matches the lp_gradient.webp convention on enterprise_v1/v2).
   Padding here is what shows the texture as a border around the white card. */
.abmo-hero__form-side {
  position: relative;
  min-width: 0;
  background-color: var(--abmo-blue-100);
  background-size: cover;
  background-position: center;
  border-radius: 24px;
  padding: 16px;
}

@media (min-width: 900px) {
  .abmo-hero__form-side { padding: 32px; }
}

/* Lifts the form above the shared .form-spotlight-overlay (z-index: 40,
   see landing.css) when the bottom CTA scrolls back up to it. */
.abmo-hero__form-side.is-spotlit { z-index: 50; }

/* ── Hero form card ────────────────────────────────────────── */
.abmo-form-card {
  background: #ffffff;
  border: 1px solid var(--abmo-border);
  border-radius: 12px;
  padding: 24px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.1);
}

@media (min-width: 900px) {
  .abmo-form-card { padding: 48px; }
}

@keyframes abmo-spotlight-ring {
  0%   { box-shadow: 0 12px 40px rgba(15, 23, 42, 0.1), 0 0 0 0 rgba(80, 152, 193, 0.6); }
  60%  { box-shadow: 0 12px 40px rgba(15, 23, 42, 0.1), 0 0 0 10px rgba(80, 152, 193, 0.2); }
  100% { box-shadow: 0 12px 40px rgba(15, 23, 42, 0.1), 0 0 0 6px rgba(80, 152, 193, 0.08); }
}

.abmo-form-card.is-spotlit {
  animation: abmo-spotlight-ring 0.5s ease-out forwards;
}

.abmo-form-card__heading {
  font-family: "ABC Marist", Georgia, serif;
  font-size: 1.1875rem;
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--abmo-text);
  margin: 0 0 20px;
  overflow-wrap: break-word;
}

/* Fixed minimum so the card doesn't jump height between steps — sized to the
   tallest step's content (step 4: field + textarea) rather than step 1's,
   which is much shorter and was otherwise leaving a lot of empty space. */
.abmo-form-card [data-form-steps-target="formContainer"] { min-height: 200px; }

.abmo-form-card--cta { text-align: center; }
.abmo-form-card--cta .abmo-btn { width: 100%; }

.abmo-form-card--empty {
  text-align: center;
  color: var(--abmo-text-muted);
  font-size: 0.9375rem;
}
.abmo-form-card--empty p { margin: 0; }

/* ── Segmented progress ────────────────────────────────────── */
.abmo-progress { margin: 0 0 24px; }

.abmo-progress__track {
  /* Segment count comes from the form's step count, set inline as
     --abmo-steps by the template. Falls back to 4 (the seeded ABM Optimize
     form) if a form is attached without it. */
  --abmo-steps: 4;
  --abmo-seg: calc(100% / var(--abmo-steps));

  position: relative;
  height: 10px;
  background: var(--abmo-blue-100);
  border-radius: 100vw;
  overflow: hidden;
  /* Equal segments with 4px gaps, matching the marketing site's segmented
     indicator rather than a single continuous fill. */
  -webkit-mask-image: repeating-linear-gradient(to right, #000 0 calc(var(--abmo-seg) - 4px), transparent calc(var(--abmo-seg) - 4px) var(--abmo-seg));
          mask-image: repeating-linear-gradient(to right, #000 0 calc(var(--abmo-seg) - 4px), transparent calc(var(--abmo-seg) - 4px) var(--abmo-seg));
}

.abmo-progress__fill {
  height: 100%;
  background: var(--abmo-blue);
  transition: width 0.3s ease;
}

/* ── Steps ─────────────────────────────────────────────────── */
.abmo-step[hidden] { display: none; }

.abmo-step__heading {
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--abmo-text);
  margin: 0 0 16px;
  overflow-wrap: break-word;
}

.abmo-fields {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 560px) {
  .abmo-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .abmo-field { grid-column: 1 / -1; min-width: 0; }
  .abmo-field--half { grid-column: span 1; }
}

.abmo-field { min-width: 0; }

/* ── Choice rows (step 1) ──────────────────────────────────── */
.abmo-choices {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

.abmo-choice {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 16px 18px;
  background: #ffffff;
  border: 1px solid var(--abmo-border);
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  color: var(--abmo-text);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  transition: border-color 0.15s, background 0.15s, transform 0.15s;
}

.abmo-choice:hover {
  border-color: var(--abmo-blue);
  transform: translateY(-1px);
}

/* Visually hide the radio but keep it focusable and clickable. */
.abmo-choice input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  margin: 0;
  pointer-events: none;
}

.abmo-choice__label { min-width: 0; overflow-wrap: break-word; }

.abmo-choice__arrow {
  flex: 0 0 auto;
  color: var(--abmo-blue);
  font-size: 1.125rem;
  line-height: 1;
}

.abmo-choice:has(input[type="radio"]:checked) {
  border-color: var(--abmo-blue);
  background: var(--abmo-blue-50);
  box-shadow: inset 0 0 0 1px var(--abmo-blue);
}

.abmo-choice:has(input[type="radio"]:focus-visible) {
  outline: 2px solid var(--abmo-blue);
  outline-offset: 2px;
}

.abmo-choice--link:hover { background: var(--abmo-blue-50); }

/* ── Field styling (shared partial markup) ─────────────────── */
.abmo-form-card .form-group { margin: 0; min-width: 0; }

.abmo-form-card .form-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--abmo-text);
  margin-bottom: 6px;
}

.abmo-form-card .form-label__optional {
  font-weight: 400;
  color: var(--abmo-text-faint);
  margin-left: 4px;
}

.abmo-form-card .form-input,
.abmo-form-card .form-select,
.abmo-form-card .form-textarea {
  width: 100%;
  max-width: 100%;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.4;
  color: var(--abmo-text);
  background: #ffffff;
  border: 1px solid var(--abmo-border);
  border-radius: 4px;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.abmo-form-card .form-textarea { resize: vertical; min-height: 88px; }

.abmo-form-card .form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5l5-5' stroke='%2384888d' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
}

/* Multi-select renders as a native list box — same surface, taller. */
.abmo-form-card .form-select[multiple] {
  background-image: none;
  padding-right: 14px;
  min-height: 120px;
}

.abmo-form-card .form-select[multiple] option {
  padding: 8px 10px;
  border-radius: 4px;
}

.abmo-form-card .form-input:focus,
.abmo-form-card .form-select:focus,
.abmo-form-card .form-textarea:focus {
  outline: none;
  border-color: var(--abmo-blue);
  box-shadow: 0 0 0 3px rgba(80, 152, 193, 0.18);
}

/* Error state — the element type is included so this matches the
   specificity of the input rules above and actually applies. */
.abmo-form-card input.field-error,
.abmo-form-card select.field-error,
.abmo-form-card textarea.field-error {
  border-color: var(--abmo-error);
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12);
}

.abmo-form-card .form-error,
.abmo-form-card .field-error-message {
  display: block;
  margin-top: 6px;
  font-size: 0.8125rem;
  color: var(--abmo-error);
}

/* ── Step nav ──────────────────────────────────────────────── */
.abmo-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 24px;
}

.abmo-nav--first { justify-content: flex-end; }
.abmo-nav--first:empty { margin-top: 0; }

.abmo-btn-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 18px;
  background: transparent;
  border: 1px solid var(--abmo-border);
  border-radius: 100vw;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--abmo-text-muted);
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
}

.abmo-btn-back:hover {
  border-color: var(--abmo-text);
  color: var(--abmo-text);
}

/* Error summary sits above the nav row, never inside it — as a flex
   child it would stretch between the Back and Submit buttons. */
.abmo-error-summary {
  margin-top: 20px;
  padding: 12px 14px;
  border: 1px solid var(--abmo-error);
  border-radius: 4px;
  background: rgba(220, 38, 38, 0.06);
  color: var(--abmo-error);
  font-size: 0.875rem;
  line-height: 1.45;
}

.abmo-error-summary[hidden] { display: none; }

/* ── Success state ─────────────────────────────────────────── */
.abmo-success { text-align: center; padding: 24px 0; }
.abmo-success[hidden] { display: none; }

.abmo-success__heading {
  font-family: "ABC Marist", Georgia, serif;
  font-size: 1.75rem;
  font-weight: 400;
  color: var(--abmo-text);
  margin: 0 0 8px;
}

.abmo-success__body {
  font-size: 1rem;
  color: var(--abmo-text-muted);
  margin: 0;
}

/* ── 2. Trust bar ──────────────────────────────────────────── */
.abmo-trust {
  padding: 32px 0 56px;
  border-top: 1px solid var(--abmo-border);
}

.abmo-trust__text {
  font-size: 0.95rem;
  color: var(--abmo-text-faint);
  text-align: center;
  margin: 0 0 24px;
}

.abmo-trust__logos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px 32px;
  align-items: center;
  justify-items: center;
  max-width: 960px;
  margin: 0 auto;
}

@media (min-width: 640px) { .abmo-trust__logos { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 960px) { .abmo-trust__logos { grid-template-columns: repeat(8, 1fr); } }

.abmo-trust__logo {
  max-height: 28px;
  max-width: 100%;
  object-fit: contain;
  opacity: 0.85;
}

/* ── 3. Stats ──────────────────────────────────────────────── */
.abmo-stats { padding: 64px 0; }

.abmo-stats__heading {
  text-align: center;
  max-width: 880px;
  margin: 0 auto 40px;
}

.abmo-stats__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 720px) {
  .abmo-stats__grid { grid-template-columns: repeat(3, 1fr); gap: 32px; }
}

.abmo-stat {
  text-align: center;
  padding: 36px 20px;
  border-radius: 12px;
  background: var(--abmo-bg-card);
  border: 1px solid var(--abmo-border);
  min-width: 0;
}

.abmo-stat__eyebrow {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--abmo-text-faint);
  margin-bottom: 16px;
}

.abmo-stat__value {
  font-family: "ABC Marist", Georgia, serif;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--abmo-text);
  line-height: 1;
  margin-bottom: 12px;
}

.abmo-stat__label {
  font-size: 0.95rem;
  color: var(--abmo-text-muted);
  line-height: 1.45;
}

/* ── 4. Rep intro ──────────────────────────────────────────── */
.abmo-rep { padding: 64px 0; }

.abmo-rep__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
  padding: 40px;
  background: var(--abmo-blue-50);
  border: 1px solid var(--abmo-blue-100);
  border-radius: 16px;
}

@media (min-width: 720px) {
  .abmo-rep__inner { grid-template-columns: 160px 1fr; gap: 40px; padding: 48px; }
}

.abmo-rep__photo {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--abmo-blue-300);
  justify-self: center;
}

.abmo-rep__copy { min-width: 0; }

.abmo-rep__greeting {
  font-family: "ABC Marist", Georgia, serif;
  font-size: 1.625rem;
  font-weight: 400;
  color: var(--abmo-text);
  margin: 0 0 12px;
  line-height: 1.15;
  letter-spacing: -0.01em;
  overflow-wrap: break-word;
}

.abmo-rep__body {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--abmo-text-muted);
  margin: 0 0 20px;
}

.abmo-rep__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin-bottom: 24px;
  font-size: 0.9rem;
  color: var(--abmo-text-faint);
}

.abmo-rep__name { font-weight: 700; color: var(--abmo-text); }

/* ── 5. Optimize for [industry] ────────────────────────────── */
.abmo-industry { padding: 64px 0; }

.abmo-industry__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 32px;
}

@media (min-width: 720px) {
  .abmo-industry__grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
  }
}

.abmo-industry__card {
  padding: 28px;
  background: var(--abmo-bg-card);
  border: 1px solid var(--abmo-border);
  border-radius: 12px;
  min-width: 0;
}

.abmo-industry__card-title {
  font-family: "ABC Marist", Georgia, serif;
  font-size: 1.375rem;
  font-weight: 400;
  color: var(--abmo-text);
  margin: 0 0 12px;
  line-height: 1.15;
  letter-spacing: -0.01em;
  overflow-wrap: break-word;
}

.abmo-industry__card-body {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--abmo-text-muted);
  margin: 0;
}

/* Optional sub-blocks — only render when the industry has signed-off data */
.abmo-usecases { margin-top: 48px; }

.abmo-usecases__heading {
  font-family: "ABC Marist", Georgia, serif;
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--abmo-text);
  margin: 0 0 20px;
  letter-spacing: -0.01em;
}

.abmo-usecases__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--abmo-border);
}

.abmo-usecase {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 24px;
  padding: 16px 0;
  border-bottom: 1px solid var(--abmo-border);
  min-width: 0;
}

.abmo-usecase__name {
  font-size: 1rem;
  color: var(--abmo-text);
  min-width: 0;
  overflow-wrap: break-word;
}

.abmo-usecase__outcome {
  font-weight: 700;
  font-size: 1rem;
  color: var(--abmo-blue);
  flex: 0 0 auto;
}

.abmo-stack {
  margin: 32px 0 0;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--abmo-text-muted);
}

.abmo-stack__label { font-weight: 700; color: var(--abmo-text); }

/* ── 6. Customer testimonial ───────────────────────────────── */
.abmo-testimonial { padding: 64px 0; }

.abmo-testimonial__heading { text-align: center; margin-bottom: 40px; }

.abmo-testimonial-card {
  position: relative;
  display: block;
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  text-align: left;
  background: #020617;
  border: 1px solid var(--abmo-border);
  border-radius: 16px;
  overflow: hidden;
  min-height: 320px;
  padding: 0;
  color: #ffffff;
  font-family: inherit;
  cursor: pointer;
  transition: border-color 0.15s, transform 0.15s;
}

.abmo-testimonial-card:hover {
  border-color: var(--abmo-text);
  transform: translateY(-2px);
}

.abmo-testimonial-card__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}

.abmo-testimonial-card__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg,
    rgba(2, 6, 23, 0.2) 0%,
    rgba(2, 6, 23, 0.55) 55%,
    rgba(2, 6, 23, 0.82) 100%);
}

.abmo-testimonial-card__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 32px;
  min-height: 320px;
}

.abmo-testimonial-card__play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #020617;
  font-size: 0.95rem;
  line-height: 1;
  padding-left: 4px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
}

.abmo-testimonial-card__quote {
  font-family: "ABC Marist", Georgia, serif;
  font-size: 1.375rem;
  line-height: 1.2;
  color: #ffffff;
  font-weight: 400;
  letter-spacing: -0.01em;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
}

.abmo-testimonial-card__author {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: auto;
}

.abmo-testimonial-card__name { font-weight: 700; font-size: 0.9375rem; }

.abmo-testimonial-card__title {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.78);
}

/* ── 7. Capture how work actually gets done ────────────────── */
.abmo-shwagd { padding: 64px 0; }

.abmo-shwagd__heading-fade { color: var(--abmo-text-faint); }

.abmo-shwagd__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 32px;
}

.abmo-shwagd__card {
  background: var(--abmo-bg-card);
  border: 1px solid var(--abmo-border);
  border-radius: 16px;
  padding: 32px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
  overflow: hidden;
}

@media (min-width: 720px) {
  .abmo-shwagd__card {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 40px;
    padding: 40px;
  }
  .abmo-shwagd__card:nth-child(even) .abmo-shwagd__card-copy { order: 2; }
  .abmo-shwagd__card:nth-child(even) .abmo-shwagd__card-img  { order: 1; }
}

.abmo-shwagd__card-copy { min-width: 0; }

.abmo-shwagd__card-title {
  font-family: "ABC Marist", Georgia, serif;
  font-size: 1.625rem;
  font-weight: 400;
  color: var(--abmo-text);
  margin: 0 0 14px;
  line-height: 1.15;
  letter-spacing: -0.01em;
  overflow-wrap: break-word;
}

.abmo-shwagd__card-body {
  font-size: 1rem;
  line-height: 1.55;
  color: var(--abmo-text-muted);
  margin: 0;
  max-width: 48ch;
}

.abmo-shwagd__card-img {
  display: block;
  width: 100%;
  height: auto;
  min-width: 0;
  border-radius: 20px;
  overflow: hidden;
}

/* ── 8. Turn insight into impact ───────────────────────────── */
.abmo-tii { padding: 64px 0; }

.abmo-tii__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

@media (min-width: 900px) {
  .abmo-tii__grid { grid-template-columns: repeat(3, 1fr); gap: 32px; }
}

.abmo-tii__card {
  position: relative;
  padding: 4px 0 4px 20px;
  border-left: 2px solid var(--abmo-blue-300);
  min-width: 0;
}

.abmo-tii__card-title {
  font-family: "ABC Marist", Georgia, serif;
  font-size: 1.375rem;
  font-weight: 400;
  color: var(--abmo-text);
  margin: 0 0 12px;
  line-height: 1.15;
  letter-spacing: -0.01em;
  overflow-wrap: break-word;
}

.abmo-tii__card-body {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--abmo-text-muted);
  margin: 0;
}

/* ── 9. Bottom CTA ─────────────────────────────────────────── */
.abmo-bottom-cta {
  padding: 72px 0 24px;
  background: var(--abmo-bg-soft);
  margin-top: 32px;
}

.abmo-bottom-cta__card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: stretch;
  background: #ffffff;
  border-radius: 24px;
  padding: 48px 32px;
  overflow: hidden;
}

@media (min-width: 720px) {
  .abmo-bottom-cta__card {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 48px;
    padding: 64px;
  }
}

.abmo-bottom-cta__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.abmo-bottom-cta__heading {
  font-family: "ABC Marist", Georgia, serif;
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 400;
  line-height: 1.05;
  color: var(--abmo-text);
  margin: 0 0 28px;
  max-width: 18ch;
  letter-spacing: -0.02em;
  overflow-wrap: break-word;
}

.abmo-bottom-cta__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.abmo-bottom-cta__mark {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 0;
  padding: 24px 0 24px 32px;
}

.abmo-bottom-cta__mark-img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 240px;
  height: auto;
}

@media (max-width: 719px) {
  .abmo-bottom-cta__mark { display: none; }
}
