/* "Question first?" line under the in-body free-trial buttons on the service and pricing
   pages (service-page fix 1, Dec 2026). Gives buyers who want to ask before trying a
   route to a person. Deliberately quieter than the trial button: small, muted text with
   plain underlined links, so the button stays the primary action.
   Markup (identical on every page):
   <p class="ask-first"><a href="/contact">Question first?</a> <span>Email <a href="mailto:ask@pixelbyhand.com">ask@pixelbyhand.com</a>.</span> <span>We reply the same working day.</span></p>
   Clicks are already counted by /assets/click-events.js (contact_click: email and
   contact_page), and ask-tag.js source-tags the address. Add no tracking parameters. */
.ask-first {
  margin: 14px 0 0;
  font-size: 13px;
  line-height: 2;
  font-weight: 400;
  color: #52627a;
  letter-spacing: 0;
}

.ask-first a {
  /* 44 px tall tap area without changing the line's height: padding grows the hit box,
     the matching negative margin keeps the text where it was. */
  display: inline-block;
  padding: 9px 2px;
  margin: -9px -2px;
  color: #1b2a4a;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  white-space: nowrap;
}

/* Each phrase stays whole, so the line only breaks between phrases. */
.ask-first span {
  white-space: nowrap;
}

.ask-first a:hover {
  text-decoration-thickness: 2px;
}

.ask-first a:focus-visible {
  outline: 2px solid #3b82f6;
  outline-offset: -4px;
  border-radius: 4px;
}

/* Phones: the line wraps, so links can sit one above the other. A 44 px line pitch keeps
   each link's 44 px tap area from overlapping the next line's. */
@media (max-width: 600px) {
  .ask-first {
    font-size: 14px;
    line-height: 44px;
    margin-top: 4px;
  }

  .ask-first a {
    padding: 0 2px;
    margin: 0 -2px;
  }
}

/* Inside a flex row of hero actions (background-removal), sit on its own line. */
.hero-actions .ask-first {
  flex-basis: 100%;
  margin: 0;
}

/* "What happens after I send?" line (service-page fix 2, Dec 2026). Sits between each
   in-body free-trial button and the "Question first?" line, replacing the mixed risk lines
   each page had. Same facts as the trial thank-you page and confirmation email: 3–5 images,
   edited free, back within 24 hours with a quote, no card. Separators sit inside the
   phrase before them, so a wrapped line never starts with a dot.
   Markup (identical on every page; tests/unit/after-send-line.test.ts checks it):
   <p class="after-send"><span>Send 3–5 images ·</span> <span>Edited free, back within 24 hours with a quote ·</span> <span>No card</span></p> */
.after-send {
  margin: 14px 0 0;
  font-size: 13px;
  line-height: 1.6;
  font-weight: 400;
  color: #52627a;
  letter-spacing: 0;
}

/* Each phrase stays whole, so the line only breaks between phrases. */
.after-send span {
  white-space: nowrap;
}

/* The two lines read as one block: close the gap before "Question first?". */
.after-send + .ask-first {
  margin-top: 2px;
}

@media (max-width: 600px) {
  .after-send {
    font-size: 14px;
    margin-top: 12px;
  }

  /* Too narrow to keep phrases whole: let the line flow over two lines instead of three. */
  .after-send span {
    white-space: normal;
  }

  .after-send + .ask-first {
    margin-top: 0;
  }
}

.hero-actions .after-send {
  flex-basis: 100%;
  margin: 0;
}

.hero-actions .after-send + .ask-first {
  margin-top: -14px;
}

/* Starting price directly under the H1 on /ghost-mannequin and /background-removal
   (service-page fix 3, Dec 2026). B2B buyers shortlist on budget, and the first price on
   these pages sat several screens down. It sits under the H1, not by the trial button:
   by the button it fell below the first screen on /background-removal at 1440x900 and
   under the cookie bar on phones. Figures match /pricing and pbh-facts.md (GM £2.49
   standard / £3.49 complex, BR £0.99, as of 23 Nov 2026); change them only when the rate
   card changes. Links to the page's own price section. Add no tracking parameters.
   Markup (tests/unit/hero-price.test.ts checks it):
   GM: <p class="hero-price"><a href="#gm-facts-h">From £2.49 per image <span>(complex £3.49)</span></a></p>
   BR: <p class="hero-price"><a href="#pricing">From £0.99 per image</a></p> */
.service-hero p.hero-price,
.hero-price {
  margin: 20px 0 0;
  font-size: 17px;
  line-height: 1.5;
  font-weight: 600;
  color: #1b2a4a;
  letter-spacing: 0;
}

.hero-price a {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-decoration-color: #3b82f6;
  text-underline-offset: 4px;
}

.hero-price a:hover {
  text-decoration-thickness: 2px;
}

/* The complex price is the secondary fact: lighter, and kept whole. */
.hero-price span {
  font-weight: 400;
  color: #52627a;
  white-space: nowrap;
}

@media (max-width: 600px) {
  .service-hero p.hero-price,
  .hero-price {
    margin-top: 16px;
    font-size: 16px;
  }
}

/* In-body trial block at decision points (service-page fix 4, Dec 2026). Placed at the end
   of a section where the reader has just seen a price or before/after proof, so the next
   step sits where they decide instead of screens later. Holds the page's own trial button,
   the "after send" line and the "Question first?" line, copied verbatim from the page's
   first in-body CTA. Rule: no two trial buttons within one screen of each other
   (tests/unit/inline-cta.test.ts checks the markup). Markup:
   <div class="inline-cta"><a class="cta" href="/free-trial">…</a><p class="after-send">…</p><p class="ask-first">…</p></div> */
.inline-cta {
  margin-top: 48px;
  grid-column: 1 / -1;
}

@media (max-width: 600px) {
  .inline-cta {
    margin-top: 36px;
  }
}

/* At-a-glance facts under the price on /ghost-mannequin, phones only (click-read P2,
   Dec 2026). The full "at a glance" list sat ~2,000 px down on a phone; the two facts
   buyers check after price (turnaround, what to send) now sit with the price in the
   first screen. Wording matches the page's own #gm-facts-h list. Hidden above 760 px,
   so desktop and tablet are unchanged. order:3 keeps it straight after .hero-price
   (also order 3) if the phone hero is re-ordered with flex order.
   Markup: <ul class="hero-glance"><li>Back within 24 hours</li><li>One photo per garment, no inside shot</li></ul> */
.hero-glance {
  display: none;
}

@media (max-width: 760px) {
  .service-hero .hero-glance {
    order: 3;
    display: flex;
    flex-wrap: wrap;
    gap: 4px 16px;
    margin: 8px 0 0;
    padding: 0;
    list-style: none;
    font-size: 15px;
    line-height: 1.5;
    color: #1b2a4a;
  }

  .hero-glance li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
  }

  .hero-glance li::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #3b82f6;
    flex: none;
  }
}
