/* /ai-advisory/ only. Loaded after case.css, which supplies the tokens, the
   type scale, the header, the buttons, the booking embed and the footer.
   No new fonts and no new colours here. */

/* header: two links and the Book button */
.advisory header.case-head nav { display: flex; align-items: center; gap: clamp(14px, 3vw, 24px); }
.advisory header.case-head nav a:not(.btn) { display: inline-flex; align-items: center; min-height: 44px; }
/* the button sits inside the nav, so undo the nav's mono label styling on it */
.advisory header.case-head nav a.btn {
  margin-top: 0;
  white-space: nowrap;
  font-family: var(--font-body);
  font-size: 14.5px;
  text-transform: none;
  letter-spacing: 0;
  color: #fff;
}
.advisory .cta-short { display: none; }
/* phone: logo, two links and the button share one 320-390px row */
@media (max-width: 560px) {
  .advisory .cta-long { display: none; }
  .advisory .cta-short { display: inline; }
  .advisory header.case-head { gap: 10px; }
  .advisory header.case-head nav { gap: 12px; }
  .advisory header.case-head nav a:not(.btn) { letter-spacing: 0.06em; }
  .advisory header.case-head nav a.btn.small { padding: 12px 16px; font-size: 14px; }
  .advisory .brand { font-size: 17px; }
}
/* the narrowest phones: let the links drop to a second row, never overflow */
@media (max-width: 359px) {
  .advisory header.case-head { flex-wrap: wrap; }
}

/* hero */
.adv-hero { padding-bottom: 8px; }
.adv-hero .lede { margin-bottom: 24px; }
.adv-hero .btn { margin-top: 0; }
.adv-hero .under-btn { margin: 16px 0 0; font-size: 15px; color: var(--text-muted); }
.adv-hero .micro,
.advisory .gates li {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  color: var(--text-muted);
}
.adv-hero .micro { margin: 14px 0 0; }

.advisory main section + section { margin-top: 8px; }
.advisory .text-link { font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; color: var(--accent-hover); }
.advisory .text-link:hover { color: var(--accent); }

/* the four piles, and the three steps after the audit */
.piles { list-style: none; display: grid; gap: 12px; margin: 20px 0 0; }
@media (min-width: 620px) { .piles { grid-template-columns: 1fr 1fr; } }
.piles li {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 20px;
  background: var(--bg-soft);
  color: var(--text-muted);
  line-height: 1.5;
}
.piles li strong { display: block; font-family: var(--font-display); font-size: 18px; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.after-list { margin: 18px 0 0; }

/* human gates: three labels */
.gates { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 4px 0 0; }
.advisory .gates li { padding: 7px 12px; border: 1px solid var(--border); border-radius: 999px; }

/* how it works: numbered */
.steps { list-style: none; counter-reset: step; display: grid; gap: 14px; margin: 20px 0 0; }
.steps li { counter-increment: step; position: relative; padding-left: 46px; min-height: 32px; color: var(--text-muted); line-height: 1.5; }
.steps li::before {
  content: counter(step);
  position: absolute; left: 0; top: -2px;
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border); border-radius: 50%;
  font-family: var(--font-display); font-weight: 700; font-size: 15px; color: var(--text);
  background: var(--bg-soft);
}
.steps li strong { color: var(--text); font-weight: 600; }

.for-list { margin: 0 0 0 20px; display: grid; gap: 10px; }

/* FAQ: always open, so the text a crawler reads is the text a visitor sees */
.faq-item { padding: 20px 0; border-top: 1px solid var(--border); }
.faq-item:last-child { padding-bottom: 0; }
.faq-item h3 { font-family: var(--font-display); font-size: 18px; font-weight: 700; line-height: 1.3; letter-spacing: -0.01em; margin-bottom: 8px; }
.faq-item p { margin: 0; color: var(--text-muted); }

.advisory .cta .btn { margin-top: 4px; }
#book { scroll-margin-top: 20px; }
