/* ==========================================================================
   Squarely — Platform › Auto Drafting page (Figma 596:322)
   Reuses platform-sub.css for the hero, breadcrumb, .feat rows and .pp-cta.
   This file styles the page-specific pieces: bigger hero, chevron breadcrumb,
   the 4-step process, the "Grounded & reviewed AI" panel, and the audience grid.
   ========================================================================== */

/* ---- Hero (larger title than the standard step pages) ---- */
.ad-hero__title {
  font-size: 80px;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin: 0 0 24px;
  max-width: 1026px;
}
.ad-hero__text {
  font-size: 28px;
  line-height: 1.3;
  max-width: 950px;
}
/* ==========================================================================
   How it works — 4-step process
   ========================================================================== */
.ad-steps {
  list-style: none;
  max-width: var(--container);
  margin: 44px auto 0;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  grid-auto-flow: column;      /* fill 1,2 down the left column, then 3,4 right */
  gap: 16px 40px;
}
.ad-step { display: flex; align-items: stretch; gap: 12px; }
.ad-step__num {
  flex: none;
  width: 58px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-primary);
  font-weight: 900;
  font-size: 34px;
  color: #fff;
  line-height: 1;
}
.ad-step__text {
  flex: 1;
  min-width: 0;
  margin: 0;
  display: flex;
  align-items: center;
  border-radius: 14px;
  padding: 14px 24px;
  font-size: 18px;
  line-height: 1.3;
}
.ad-step__text strong { font-weight: 600; }

.ad-step--green  .ad-step__num  { background: #aada91; }
.ad-step--green  .ad-step__text { background: #e6f4ec; color: #104f4b; }
.ad-step--blue   .ad-step__num  { background: #7ba8d9; }
.ad-step--blue   .ad-step__text { background: #cfe2f3; color: #1b3d62; }
.ad-step--purple .ad-step__num  { background: #a68bd9; }
.ad-step--purple .ad-step__text { background: #e4daf5; color: #47228d; }
.ad-step--orange .ad-step__num  { background: #f2a57a; }
.ad-step--orange .ad-step__text { background: #ffd9c2; color: #8b4822; }

/* How-it-works media: single merged image (screenshot + overlay baked in, from Figma) */
.ad-how__shot {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
}

/* ==========================================================================
   Grounded & reviewed AI
   ========================================================================== */
.ad-grounded {
  max-width: var(--container);
  margin: 0 auto;
  padding: 40px 40px 24px;
  text-align: center;
}
.ad-grounded__eyebrow {
  margin: 0 0 26px;
  font-size: 20px;
  font-weight: 600;
  color: var(--green-600);
}
.ad-grounded__panel {
  position: relative;
  overflow: hidden;
  border-radius: 40px;
  padding: 44px;
  background:
    radial-gradient(70% 120% at 97% 0%, rgba(83, 188, 125, 0.28), rgba(83, 188, 125, 0) 52%),
    #f8f6f1;
  box-shadow: inset 0 0 50px rgba(45, 130, 103, 0.05);
}
.ad-grounded__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.ad-gcard {
  background: #fff;
  border-radius: 30px;
  padding: 32px 30px;
  text-align: left;
}
.ad-gcard__icon { display: block; width: 32px; height: 32px; margin-bottom: 18px; }
.ad-gcard__icon img { width: 100%; height: 100%; object-fit: contain; }
.ad-gcard__eyebrow { margin: 0 0 12px; font-size: 18px; font-weight: 600; color: #7ba8d9; }
.ad-gcard__title {
  margin: 0 0 12px;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--teal-900);
}
.ad-gcard__text { margin: 0; font-size: 18px; font-weight: 300; line-height: 1.3; color: var(--teal-700); }

/* ==========================================================================
   Who Auto Drafting is for
   ========================================================================== */
.ad-audience {
  max-width: var(--container);
  margin: 0 auto;
  padding: 40px 40px 24px;
}
.ad-audience__eyebrow {
  margin: 0 0 12px;
  font-family: var(--font-address, "Open Sans"), sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--green-600);
}
.ad-audience__title {
  margin: 0 0 44px;
  font-size: 44px;
  font-weight: 800;
  line-height: 1.2;
  color: var(--teal-900);
  max-width: 1010px;
}
.ad-audience__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.ad-acard {
  min-height: 130px;
  padding: 24px 34px;
  background: #fff;
  border: 1px solid;
  border-radius: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.ad-acard p { margin: 0; font-size: 18px; line-height: 1.3; color: var(--teal-900); }
.ad-acard--blue   { border-color: #7ba8d9; }
.ad-acard--purple { border-color: #a68bd9; }
.ad-acard--orange { border-color: #f2a57a; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .ad-hero__title { font-size: clamp(44px, 6.4vw, 72px); }
  .ad-hero__text { font-size: clamp(18px, 2.6vw, 26px); }

  .ad-grounded__cards { grid-template-columns: 1fr; max-width: 620px; margin-inline: auto; }
  .ad-audience__cards { grid-template-columns: 1fr; }
  .ad-audience__title { font-size: 36px; }
  .ad-acard { min-height: 0; }
}

@media (max-width: 760px) {
  .ad-steps { grid-template-columns: 1fr; grid-auto-flow: row; gap: 14px; padding-inline: 22px; }
  .ad-step__num { width: 50px; font-size: 28px; }
  .ad-step__text { font-size: 16px; padding: 12px 18px; }

  .ad-grounded { padding: 24px 22px; }
  .ad-grounded__panel { padding: 22px; border-radius: 30px; }
  .ad-gcard { padding: 26px 24px; }
  .ad-gcard__text { font-size: 16px; }

  .ad-audience { padding: 24px 22px; }
  .ad-audience__title { font-size: 28px; }
  .ad-acard p { font-size: 16px; }
}
