/* Alex Site Full v4 — shared editorial, report, vertical and service page families. */
body.ay-stitch-content-v1.ay-content-resource .ay-page .ay-section.ay-hero,
body.ay-stitch-content-v1.ay-content-legal .ay-page .ay-section.ay-hero {
  padding-top: 128px !important;
}
body.ay-stitch-content-v1.ay-content-thanks .ay-page .ay-section.ay-hero {
  min-height: auto !important;
  display: block !important;
  padding-top: 128px !important;
  padding-bottom: 62px !important;
}
@media (max-width: 720px) {
  body.ay-stitch-content-v1.ay-content-thanks .ay-page .ay-section.ay-hero {
    padding-top: 104px !important;
    padding-bottom: 56px !important;
  }
}
body.ay-stitch-content-v1 {
  --ay-content-ink: #0f172a;
  --ay-content-muted: #5f6876;
  --ay-content-paper: #f5f3ed;
  --ay-content-soft: #ebe8e0;
  --ay-content-line: rgba(15, 23, 42, .14);
  --ay-content-orange: #ff5a1f;
  background: var(--ay-content-paper) !important;
  color: var(--ay-content-ink);
}
body.ay-stitch-content-v1 .content-area,
body.ay-stitch-content-v1 .site-main,
body.ay-stitch-content-v1 .entry-content-wrap,
body.ay-stitch-content-v1 .entry-content,
body.ay-stitch-content-v1 .content-bg,
body.ay-stitch-content-v1 article.entry {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
/* Keep native articles inside the accepted shell; Kadence post extras are a separate visual island. */
body.ay-stitch-content-v1.ay-content-resource .post-navigation,
body.ay-stitch-content-v1.ay-content-resource .entry-related,
body.ay-stitch-content-v1.ay-content-resource .comments-area {
  display: none !important;
}
body.ay-stitch-content-v1 .ay-content-v1,
body.ay-stitch-content-v1 .ay-page { overflow: clip; }
body.ay-stitch-content-v1 .ay-content-v1__wrap {
  width: min(calc(100% - 64px), 1080px);
  margin-inline: auto;
}
body.ay-stitch-content-v1 .ay-content-v1__hero {
  padding: 154px 0 86px;
  border-bottom: 1px solid var(--ay-content-line);
}
body.ay-stitch-content-v1 .ay-content-v1__hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.58fr) minmax(260px, .68fr);
  gap: clamp(40px, 7vw, 92px);
  align-items: end;
}
body.ay-stitch-content-v1 .ay-content-v1__eyebrow,
body.ay-stitch-content-v1 .ay-reading .ay-eyebrow {
  margin: 0 0 18px;
  color: rgba(15, 23, 42, .62);
  font: 800 11px/1.2 Geist, Manrope, sans-serif;
  letter-spacing: .16em;
  text-transform: uppercase;
}
body.ay-stitch-content-v1 .ay-content-v1__hero h1,
body.ay-stitch-content-v1 .ay-reading h1 {
  max-width: 880px;
  margin: 0;
  color: var(--ay-content-ink);
  font: 820 clamp(48px, 6.2vw, 82px)/.98 Manrope, sans-serif;
  letter-spacing: -.058em;
  text-wrap: balance;
}
body.ay-stitch-content-v1 .ay-content-v1__lede,
body.ay-stitch-content-v1 .ay-reading .ay-lede {
  max-width: 740px;
  margin: 28px 0 0;
  color: var(--ay-content-muted);
  font: 500 clamp(17px, 1.7vw, 21px)/1.58 Manrope, sans-serif;
}
body.ay-stitch-content-v1 .ay-content-v1__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 20px;
  align-items: center;
  margin-top: 34px;
}
body.ay-stitch-content-v1 .ay-content-v1__actions .ay-stitch-btn {
  min-height: 48px;
  padding-inline: 22px;
}
body.ay-stitch-content-v1 .ay-content-v1__link {
  color: var(--ay-content-ink) !important;
  font: 750 13px/1.25 Geist, Manrope, sans-serif;
  letter-spacing: .04em;
  text-decoration: none;
}
body.ay-stitch-content-v1 .ay-content-v1__link::after { content: ' ↗'; }
body.ay-stitch-content-v1 .ay-content-v1__hero-note {
  padding: 26px 0 2px 28px;
  border-left: 1px solid var(--ay-content-line);
}
body.ay-stitch-content-v1 .ay-content-v1__hero-note span {
  display: block;
  margin-bottom: 22px;
  color: rgba(15, 23, 42, .5);
  font: 800 10px/1 Geist, sans-serif;
  letter-spacing: .15em;
  text-transform: uppercase;
}
body.ay-stitch-content-v1 .ay-content-v1__hero-note strong {
  display: block;
  color: var(--ay-content-ink);
  font: 790 25px/1.08 Manrope, sans-serif;
  letter-spacing: -.04em;
}
body.ay-stitch-content-v1 .ay-content-v1__hero-note p {
  margin: 15px 0 0;
  color: var(--ay-content-muted);
  font: 500 14px/1.58 Manrope, sans-serif;
}
body.ay-stitch-content-v1 .ay-content-v1__hero-note--orange {
  padding: 28px;
  border: 0;
  border-radius: 22px;
  background: var(--ay-content-orange);
}
body.ay-stitch-content-v1 .ay-content-v1__hero-note--orange span,
body.ay-stitch-content-v1 .ay-content-v1__hero-note--orange p { color: rgba(15, 23, 42, .7); }
body.ay-stitch-content-v1 .ay-content-v1__section { padding: 82px 0; }
body.ay-stitch-content-v1 .ay-content-v1__section--soft { background: var(--ay-content-soft); }
body.ay-stitch-content-v1 .ay-content-v1__section--compact { padding-block: 50px; }
body.ay-stitch-content-v1 .ay-content-v1__split {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  gap: clamp(46px, 8vw, 104px);
  align-items: start;
}
body.ay-stitch-content-v1 .ay-content-v1__section-head { max-width: 510px; }
body.ay-stitch-content-v1 .ay-content-v1__section-head--wide { max-width: 760px; margin-bottom: 46px; }
body.ay-stitch-content-v1 .ay-content-v1__section h2,
body.ay-stitch-content-v1 .ay-reading h2 {
  margin: 0;
  color: var(--ay-content-ink);
  font: 800 clamp(34px, 4vw, 52px)/1.02 Manrope, sans-serif;
  letter-spacing: -.052em;
  text-wrap: balance;
}
body.ay-stitch-content-v1 .ay-content-v1__section-head > p:not(.ay-content-v1__eyebrow) {
  margin: 24px 0 0;
  color: var(--ay-content-muted);
  font: 500 16px/1.65 Manrope, sans-serif;
}
body.ay-stitch-content-v1 .ay-content-v1__receipt,
body.ay-stitch-content-v1 .ay-content-v1__prompt-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--ay-content-line);
}
body.ay-stitch-content-v1 .ay-content-v1__receipt li,
body.ay-stitch-content-v1 .ay-content-v1__prompt-list li {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 20px;
  align-items: baseline;
  padding: 22px 0;
  border-bottom: 1px solid var(--ay-content-line);
}
body.ay-stitch-content-v1 .ay-content-v1__receipt span,
body.ay-stitch-content-v1 .ay-content-v1__prompt-list span {
  color: rgba(15, 23, 42, .64);
  font: 800 10px/1.3 Geist, sans-serif;
  letter-spacing: .12em;
  text-transform: uppercase;
}
body.ay-stitch-content-v1 .ay-content-v1__receipt p,
body.ay-stitch-content-v1 .ay-content-v1__prompt-list p {
  margin: 0;
  color: var(--ay-content-ink);
  font: 650 16px/1.48 Manrope, sans-serif;
}
body.ay-stitch-content-v1 .ay-content-v1__data { margin: 0; border-top: 1px solid var(--ay-content-line); }
body.ay-stitch-content-v1 .ay-content-v1__data-row {
  display: grid;
  grid-template-columns: minmax(180px, .68fr) minmax(0, 1.32fr);
  gap: 48px;
  padding: 24px 0;
  border-bottom: 1px solid var(--ay-content-line);
}
body.ay-stitch-content-v1 .ay-content-v1__data dt {
  color: var(--ay-content-ink);
  font: 750 14px/1.4 Manrope, sans-serif;
}
body.ay-stitch-content-v1 .ay-content-v1__data dd {
  margin: 0;
  color: var(--ay-content-muted);
  font: 500 15px/1.58 Manrope, sans-serif;
}
body.ay-stitch-content-v1 .ay-content-v1__evidence-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--ay-content-line);
  border-bottom: 1px solid var(--ay-content-line);
}
body.ay-stitch-content-v1 .ay-content-v1__evidence-grid article { padding: 40px 44px 40px 0; }
body.ay-stitch-content-v1 .ay-content-v1__evidence-grid article + article {
  padding-left: 44px;
  border-left: 1px solid var(--ay-content-line);
}
body.ay-stitch-content-v1 .ay-content-v1__evidence-grid h2 { font-size: clamp(30px, 3vw, 42px); }
body.ay-stitch-content-v1 .ay-content-v1__evidence-grid ul { margin: 30px 0 0; padding: 0; list-style: none; }
body.ay-stitch-content-v1 .ay-content-v1__evidence-grid li {
  position: relative;
  margin: 0;
  padding: 14px 0 14px 24px;
  border-top: 1px solid var(--ay-content-line);
  color: var(--ay-content-muted);
  font: 550 15px/1.55 Manrope, sans-serif;
}
body.ay-stitch-content-v1 .ay-content-v1__evidence-grid li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 22px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ay-content-orange);
}
body.ay-stitch-content-v1 .ay-content-v1__section--dark {
  padding-block: 58px;
  background: var(--ay-content-ink);
  color: #fff;
}
body.ay-stitch-content-v1 .ay-content-v1__dark-rail {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(240px, .72fr) auto;
  gap: 42px;
  align-items: center;
}
body.ay-stitch-content-v1 .ay-content-v1__section--dark .ay-content-v1__eyebrow { color: rgba(255,255,255,.52); }
body.ay-stitch-content-v1 .ay-content-v1__section--dark h2 {
  max-width: 660px;
  color: #fff;
  font-size: clamp(31px, 3.4vw, 46px);
}
body.ay-stitch-content-v1 .ay-content-v1__dark-rail > p {
  margin: 0;
  color: rgba(255,255,255,.68);
  font: 500 15px/1.58 Manrope, sans-serif;
}
body.ay-stitch-content-v1 .ay-content-v1__section--dark .ay-content-v1__actions { margin: 0; flex-direction: column; align-items: stretch; }
body.ay-stitch-content-v1 .ay-content-v1__section--dark .ay-stitch-btn-primary { background: #fff !important; color: var(--ay-content-ink) !important; }
body.ay-stitch-content-v1 .ay-content-v1__section--dark .ay-content-v1__link { color: #fff !important; text-align: center; }
body.ay-stitch-content-v1 .ay-content-v1__return {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 50px;
  align-items: center;
}
body.ay-stitch-content-v1 .ay-content-v1__return h2 { max-width: 680px; font-size: clamp(31px, 3.7vw, 46px); }
body.ay-stitch-content-v1 .ay-content-v1__return .ay-content-v1__actions { margin: 0; }
body.ay-stitch-content-v1 .ay-content-v1__section--faq { padding-top: 64px; }
body.ay-stitch-content-v1 .ay-content-v1__faq { margin-top: 38px; border-top: 1px solid var(--ay-content-line); }
body.ay-stitch-content-v1 .ay-content-v1__faq details { border-bottom: 1px solid var(--ay-content-line); }
body.ay-stitch-content-v1 .ay-content-v1__faq summary {
  display: flex;
  gap: 24px;
  justify-content: space-between;
  align-items: center;
  min-height: 72px;
  cursor: pointer;
  list-style: none;
  color: var(--ay-content-ink);
  font: 720 17px/1.35 Manrope, sans-serif;
}
body.ay-stitch-content-v1 .ay-content-v1__faq summary::-webkit-details-marker { display: none; }
body.ay-stitch-content-v1 .ay-content-v1__faq summary i {
  position: relative;
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
}
body.ay-stitch-content-v1 .ay-content-v1__faq summary i::before,
body.ay-stitch-content-v1 .ay-content-v1__faq summary i::after {
  content: '';
  position: absolute;
  left: 1px;
  top: 8px;
  width: 16px;
  height: 1px;
  background: currentColor;
}
body.ay-stitch-content-v1 .ay-content-v1__faq summary i::after { transform: rotate(90deg); transition: transform .2s ease; }
body.ay-stitch-content-v1 .ay-content-v1__faq details[open] summary i::after { transform: rotate(0); }
body.ay-stitch-content-v1 .ay-content-v1__faq details > div { max-width: 760px; padding: 0 0 26px; }
body.ay-stitch-content-v1 .ay-content-v1__faq p { margin: 0; color: var(--ay-content-muted); font: 500 15px/1.65 Manrope, sans-serif; }

/* Existing native article, privacy and thank-you content inside the same shell. */
body.ay-stitch-content-v1 .ay-page > .ay-section { padding: 78px 0; }
body.ay-stitch-content-v1 .ay-page > .ay-section.ay-hero { padding-top: 150px; border-bottom: 1px solid var(--ay-content-line); }
body.ay-stitch-content-v1 .ay-reading { width: min(calc(100% - 64px), 760px); margin-inline: auto; }
body.ay-stitch-content-v1 .ay-reading > p:not(.ay-eyebrow):not(.ay-lede):not(.ay-small) { margin: 22px 0 0; color: var(--ay-content-muted); font: 500 16px/1.72 Manrope, sans-serif; }
body.ay-stitch-content-v1 .ay-reading h2 { margin-top: 58px; font-size: clamp(30px, 3.5vw, 44px); }
body.ay-stitch-content-v1 .ay-reading h2:first-child { margin-top: 0; }
body.ay-stitch-content-v1 .ay-reading .ay-small { color: rgba(15,23,42,.64); font: 500 13px/1.55 Manrope, sans-serif; }
body.ay-stitch-content-v1 .ay-reading a { color: inherit; text-underline-offset: 4px; }
body.ay-stitch-content-v1 .ay-cta-band {
  margin-top: 66px;
  padding: 34px;
  border-radius: 24px;
  background: var(--ay-content-ink);
  color: #fff;
}
body.ay-stitch-content-v1 .ay-cta-band h2 { margin-top: 0; color: #fff; font-size: clamp(28px, 3vw, 38px); }
body.ay-stitch-content-v1 .ay-cta-band p { color: rgba(255,255,255,.68) !important; }
body.ay-stitch-content-v1 .ay-cta-band .ay-button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  padding: 11px 18px;
  border-radius: 999px;
  background: #fff !important;
  color: var(--ay-content-ink) !important;
  font: 800 12px/1 Geist, sans-serif;
  letter-spacing: .06em;
  text-decoration: none;
  text-transform: uppercase;
}
/* Stitch 2026 body-grammar port: sample evidence, vertical receipt, answer-first editorial, legal and thank-you. */
body.ay-stitch-content-v1 .ay-content-v1__vertical-scope,
body.ay-stitch-content-v1 .ay-content-v1__sample-panel {
  align-self: stretch;
  padding: 0;
  border-top: 1px solid var(--ay-content-ink);
  border-bottom: 1px solid var(--ay-content-line);
}
body.ay-stitch-content-v1 .ay-content-v1__vertical-scope > p,
body.ay-stitch-content-v1 .ay-content-v1__sample-label > span {
  margin: 0;
  padding: 14px 0;
  color: rgba(15,23,42,.64);
  font: 800 10px/1 Geist, sans-serif;
  letter-spacing: .15em;
  text-transform: uppercase;
}
body.ay-stitch-content-v1 .ay-content-v1__vertical-scope dl,
body.ay-stitch-content-v1 .ay-content-v1__sample-panel dl { margin: 0; }
body.ay-stitch-content-v1 .ay-content-v1__vertical-scope dl > div,
body.ay-stitch-content-v1 .ay-content-v1__sample-panel dl > div {
  display: grid;
  grid-template-columns: 86px minmax(0,1fr);
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid var(--ay-content-line);
}
body.ay-stitch-content-v1 .ay-content-v1__vertical-scope dt,
body.ay-stitch-content-v1 .ay-content-v1__sample-panel dt {
  color: rgba(15,23,42,.64);
  font: 750 10px/1.4 Geist, sans-serif;
  letter-spacing: .08em;
  text-transform: uppercase;
}
body.ay-stitch-content-v1 .ay-content-v1__vertical-scope dd,
body.ay-stitch-content-v1 .ay-content-v1__sample-panel dd {
  margin: 0;
  color: var(--ay-content-ink);
  font: 620 13px/1.5 Manrope, sans-serif;
}
body.ay-stitch-content-v1 .ay-content-v1__sample-panel {
  padding: 24px;
  border: 0;
  border-radius: 24px;
  background: var(--ay-content-ink);
  color: #fff;
}
body.ay-stitch-content-v1 .ay-content-v1__sample-label { margin-bottom: 14px; }
body.ay-stitch-content-v1 .ay-content-v1__sample-label > span { display: block; padding: 0 0 10px; color: rgba(255,255,255,.52); }
body.ay-stitch-content-v1 .ay-content-v1__sample-label > strong { color: #fff; font: 780 23px/1.1 Manrope, sans-serif; letter-spacing: -.035em; }
body.ay-stitch-content-v1 .ay-content-v1__sample-panel dl > div { border-color: rgba(255,255,255,.14); }
body.ay-stitch-content-v1 .ay-content-v1__sample-panel dt { color: rgba(255,255,255,.48); }
body.ay-stitch-content-v1 .ay-content-v1__sample-panel dd { color: rgba(255,255,255,.86); font-size: 12px; }
body.ay-stitch-content-v1 .ay-content-v1__sample-panel > p { margin: 18px 0 0; color: rgba(255,255,255,.56); font: 550 11px/1.5 Manrope, sans-serif; }

body.ay-stitch-content-v1.ay-content-resource .ay-article-v2 > .ay-hero > .ay-reading,
body.ay-stitch-content-v1.ay-content-legal .ay-legal-v2 > .ay-hero > .ay-reading {
  width: min(calc(100% - 64px), 1080px);
}
body.ay-stitch-content-v1 .ay-article-v2__hero-grid,
body.ay-stitch-content-v1 .ay-legal-v2__hero-grid {
  display: grid;
  grid-template-columns: minmax(0,1.15fr) minmax(320px,.85fr);
  gap: clamp(52px,8vw,104px);
  align-items: start;
}
body.ay-stitch-content-v1 .ay-article-v2__hero-grid h1 { font-size: clamp(48px,5.7vw,74px); }
body.ay-stitch-content-v1 .ay-article-v2__answer,
body.ay-stitch-content-v1 .ay-legal-v2__summary {
  padding: 18px 0 0;
  border-top: 1px solid var(--ay-content-ink);
}
body.ay-stitch-content-v1 .ay-article-v2__answer > p:first-child,
body.ay-stitch-content-v1 .ay-legal-v2__summary > p {
  margin: 0 0 24px;
  color: rgba(15,23,42,.64);
  font: 800 10px/1 Geist, sans-serif;
  letter-spacing: .15em;
  text-transform: uppercase;
}
body.ay-stitch-content-v1 .ay-article-v2__answer .ay-lede {
  margin: 0;
  color: var(--ay-content-ink);
  font-size: clamp(17px,1.6vw,20px);
  line-height: 1.62;
}
body.ay-stitch-content-v1 .ay-article-v2__answer > a {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  margin-top: 28px;
  padding: 13px 18px;
  border-radius: 999px;
  background: var(--ay-content-ink);
  color: #fff;
  font: 800 11px/1 Geist, sans-serif;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
}
body.ay-stitch-content-v1 .ay-legal-v2__summary dl { margin: 0; }
body.ay-stitch-content-v1 .ay-legal-v2__summary dl > div {
  padding: 16px 0;
  border-top: 1px solid var(--ay-content-line);
}
body.ay-stitch-content-v1 .ay-legal-v2__summary dt { color: var(--ay-content-ink); font: 760 14px/1.35 Manrope, sans-serif; }
body.ay-stitch-content-v1 .ay-legal-v2__summary dd { margin: 5px 0 0; color: var(--ay-content-muted); font: 500 13px/1.55 Manrope, sans-serif; }

body.ay-stitch-content-v1.ay-content-thanks .ay-page > .ay-section.ay-hero { min-height: 78vh; display: grid; align-items: center; }
body.ay-stitch-content-v1.ay-content-thanks .ay-reading { width: min(calc(100% - 64px), 900px); padding: 0; border: 0; background: transparent; }
body.ay-stitch-content-v1.ay-content-thanks .ay-reading h1 { max-width: 780px; font-size: clamp(46px,6vw,76px); }
body.ay-stitch-content-v1 .ay-thanks-v2__status {
  display: none;
}
body.ay-stitch-content-v1 .ay-thanks-v2__next { margin-top: 42px; border-top: 1px solid var(--ay-content-ink); }
body.ay-stitch-content-v1 .ay-thanks-v2__next > p { margin: 0; padding: 14px 0; color: rgba(15,23,42,.52); font: 800 10px/1 Geist, sans-serif; letter-spacing: .15em; text-transform: uppercase; }
body.ay-stitch-content-v1 .ay-thanks-v2__next ol { margin: 0; padding: 0; list-style: none; border-bottom: 1px solid var(--ay-content-line); }
body.ay-stitch-content-v1 .ay-thanks-v2__next li { display: grid; grid-template-columns: 44px 160px minmax(0,1fr); gap: 16px; align-items: baseline; padding: 16px 0; border-top: 1px solid var(--ay-content-line); }
body.ay-stitch-content-v1 .ay-thanks-v2__next li span { color: var(--ay-content-orange); font: 800 11px/1 Geist, sans-serif; }
body.ay-stitch-content-v1 .ay-thanks-v2__next li strong { color: var(--ay-content-ink); font: 760 14px/1.35 Manrope, sans-serif; }
body.ay-stitch-content-v1 .ay-thanks-v2__next li small { color: var(--ay-content-muted); font: 500 13px/1.5 Manrope, sans-serif; }
body.ay-stitch-content-v1 .ay-thanks-v2__action { display: flex; gap: 24px; justify-content: space-between; align-items: center; padding-top: 24px; }
body.ay-stitch-content-v1 .ay-thanks-v2__action p { margin: 0; color: var(--ay-content-muted); font: 550 14px/1.5 Manrope, sans-serif; }
body.ay-stitch-content-v1 .ay-thanks-v2__action a { color: var(--ay-content-ink); font: 780 13px/1.3 Manrope, sans-serif; text-decoration: none; }

@media (max-width: 1024px) {
  body.ay-stitch-content-v1 .ay-content-v1__hero-grid,
  body.ay-stitch-content-v1 .ay-content-v1__split,
  body.ay-stitch-content-v1 .ay-article-v2__hero-grid,
  body.ay-stitch-content-v1 .ay-legal-v2__hero-grid { grid-template-columns: 1fr; }
  body.ay-stitch-content-v1 .ay-article-v2__answer,
  body.ay-stitch-content-v1 .ay-legal-v2__summary { max-width: 620px; }
  body.ay-stitch-content-v1 .ay-content-v1__hero-note,
  body.ay-stitch-content-v1 .ay-content-v1__vertical-scope,
  body.ay-stitch-content-v1 .ay-content-v1__sample-panel { max-width: 620px; }
  body.ay-stitch-content-v1 .ay-content-v1__dark-rail { grid-template-columns: 1fr 1fr; }
  body.ay-stitch-content-v1 .ay-content-v1__dark-rail .ay-content-v1__actions { grid-column: 1 / -1; flex-direction: row; align-items: center; }
}
@media (max-width: 720px) {
  body.ay-stitch-content-v1 .ay-content-v1__wrap,
  body.ay-stitch-content-v1 .ay-reading { width: min(calc(100% - 32px), 540px); }
  body.ay-stitch-content-v1 .ay-content-v1__hero { padding: 110px 0 60px; }
  body.ay-stitch-content-v1 .ay-content-v1__hero h1,
  body.ay-stitch-content-v1 .ay-reading h1 { font-size: clamp(39px, 12vw, 56px); }
  body.ay-stitch-content-v1 .ay-content-v1__hero-grid { gap: 42px; }
  body.ay-stitch-content-v1 .ay-content-v1__hero-note { padding: 22px 0 0; border-left: 0; border-top: 1px solid var(--ay-content-line); }
  body.ay-stitch-content-v1 .ay-content-v1__hero-note--orange { padding: 24px; border: 0; }
  body.ay-stitch-content-v1 .ay-content-v1__section,
  body.ay-stitch-content-v1 .ay-page > .ay-section { padding-block: 58px; }
  body.ay-stitch-content-v1 .ay-page > .ay-section.ay-hero { padding-top: 108px; }
  body.ay-stitch-content-v1 .ay-content-v1__split { gap: 38px; }
  body.ay-stitch-content-v1 .ay-content-v1__section h2,
  body.ay-stitch-content-v1 .ay-reading h2 { font-size: 34px; }
  body.ay-stitch-content-v1 .ay-content-v1__receipt li,
  body.ay-stitch-content-v1 .ay-content-v1__prompt-list li { grid-template-columns: 58px 1fr; gap: 14px; padding-block: 18px; }
  body.ay-stitch-content-v1 .ay-content-v1__data-row { grid-template-columns: 1fr; gap: 8px; padding-block: 20px; }
  body.ay-stitch-content-v1 .ay-content-v1__evidence-grid { grid-template-columns: 1fr; }
  body.ay-stitch-content-v1 .ay-content-v1__evidence-grid article { padding: 34px 0; }
  body.ay-stitch-content-v1 .ay-content-v1__evidence-grid article + article { padding-left: 0; border-left: 0; border-top: 1px solid var(--ay-content-line); }
  body.ay-stitch-content-v1 .ay-content-v1__dark-rail,
  body.ay-stitch-content-v1 .ay-content-v1__return { grid-template-columns: 1fr; gap: 26px; }
  body.ay-stitch-content-v1 .ay-content-v1__dark-rail .ay-content-v1__actions { grid-column: auto; flex-direction: column; align-items: stretch; }
  body.ay-stitch-content-v1 .ay-content-v1__return .ay-content-v1__actions { margin: 0; }
  body.ay-stitch-content-v1.ay-content-resource .ay-article-v2 > .ay-hero > .ay-reading,
  body.ay-stitch-content-v1.ay-content-legal .ay-legal-v2 > .ay-hero > .ay-reading,
  body.ay-stitch-content-v1.ay-content-thanks .ay-reading { width: min(calc(100% - 32px), 540px); }
  body.ay-stitch-content-v1 .ay-article-v2__hero-grid,
  body.ay-stitch-content-v1 .ay-legal-v2__hero-grid { gap: 36px; }
  body.ay-stitch-content-v1 .ay-content-v1__vertical-scope dl > div,
  body.ay-stitch-content-v1 .ay-content-v1__sample-panel dl > div { grid-template-columns: 72px minmax(0,1fr); gap: 12px; }
  body.ay-stitch-content-v1 .ay-thanks-v2__next li { grid-template-columns: 34px minmax(0,1fr); gap: 10px 14px; }
  body.ay-stitch-content-v1 .ay-thanks-v2__next li small { grid-column: 2; }
  body.ay-stitch-content-v1 .ay-thanks-v2__action { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 360px) {
  body.ay-stitch-content-v1 .ay-content-v1__hero h1,
  body.ay-stitch-content-v1 .ay-reading h1 { font-size: 38px; }
  body.ay-stitch-content-v1 .ay-content-v1__actions { align-items: stretch; flex-direction: column; }
  body.ay-stitch-content-v1 .ay-content-v1__actions > * { width: 100%; justify-content: center; text-align: center; }
  body.ay-stitch-content-v1 .ay-content-v1__receipt li,
  body.ay-stitch-content-v1 .ay-content-v1__prompt-list li { grid-template-columns: 1fr; gap: 7px; }
}

/* Phase 5: bring every surviving editorial family onto the accepted Home canvas and type scale. */
@media (min-width: 1025px) {
  body.ay-stitch-content-v1 {
    --ay-content-paper: #f4f1e9;
  }
  body.ay-stitch-content-v1 .ay-article-v2 .ay-hero .ay-reading {
    width: min(calc(100% - 64px), 1120px);
    max-width: 1120px;
  }
  body.ay-stitch-content-v1 .ay-article-v2__hero-grid {
    grid-template-columns: minmax(0, 1.4fr) minmax(360px, .8fr);
    gap: clamp(48px, 5.5vw, 80px);
  }
  body.ay-stitch-content-v1 .ay-content-v1__hero h1,
  body.ay-stitch-content-v1 .ay-reading h1,
  body.ay-stitch-content-v1 .ay-article-v2__hero-grid h1,
  body.ay-stitch-content-v1.ay-content-thanks .ay-reading h1 {
    max-width: 880px;
    font-size: clamp(58px, 4.7vw, 68px);
    line-height: .99;
  }
}

/* Carry the measured Home phone tokens through report, vertical, article and legal pages. */
@media (max-width: 720px) {
  body.ay-stitch-content-v1 {
    --ay-content-paper: #f4f1e9;
  }
  body.ay-stitch-content-v1 .ay-content-v1__hero h1,
  body.ay-stitch-content-v1 .ay-reading h1,
  body.ay-stitch-content-v1 .ay-article-v2__hero-grid h1,
  body.ay-stitch-content-v1.ay-content-thanks .ay-reading h1 {
    font-size: clamp(36px, 9.5vw, 39px);
    font-weight: 800;
    line-height: 1.02;
  }
}

/* Carry the measured Home tablet tokens through the 721–1024 gap. */
@media (min-width: 721px) and (max-width: 1024px) {
  body.ay-stitch-content-v1 {
    --ay-content-paper: #f4f1e9;
  }
  body.ay-stitch-content-v1 .ay-content-v1__hero h1,
  body.ay-stitch-content-v1 .ay-reading h1,
  body.ay-stitch-content-v1 .ay-article-v2__hero-grid h1,
  body.ay-stitch-content-v1.ay-content-thanks .ay-reading h1 {
    font-size: clamp(46px, 4.25vw, 58px);
    font-weight: 800;
    line-height: 1.02;
  }
}
