/* Local Lato files from Google Fonts; licence in assets/fonts/OFL.txt. */
@font-face { font-family: 'Lato'; font-style: normal; font-weight: 400; font-display: swap; src: url('assets/fonts/Lato-Regular.ttf') format('truetype'); }
@font-face { font-family: 'Lato'; font-style: normal; font-weight: 700; font-display: swap; src: url('assets/fonts/Lato-Bold.ttf') format('truetype'); }
@font-face { font-family: 'Lato'; font-style: normal; font-weight: 900; font-display: swap; src: url('assets/fonts/Lato-Black.ttf') format('truetype'); }
/* Dean's supplied website brand palette. Loaded last on all three funnel pages. */
body.ac-funnel {
  --surface-page: #F8F6F3;
  --surface-card: #F8F6F3;
  --surface-panel: #0F2A3D;
  --heading: #0A1F2E;
  --body-text: #334155;
  --cta: #C8A96E;
  --cta-ink: #0A1F2E;
  --cta-hover: color-mix(in srgb, #C8A96E 85%, #F8F6F3 15%);
  --brand-navy: var(--heading);
  --brand-navy-deep: #0F2A3D;
  --brand-ivory: var(--surface-page);
  --brand-gold: #C8A96E;
  --brand-teal: #0D9488;
  --paper: var(--surface-page);
  --ink: var(--body-text);
  --text: var(--body-text);
  --mint: var(--surface-card);
  --light: var(--surface-card);
  --green: var(--heading);
  --line: #D9D5CC;
  --ui-border: var(--line);
  --ui-shadow: 0 8px 24px #1A202C08;
  --ac-orange: var(--cta);
  --sans: 'Lato', Arial, Helvetica, sans-serif;
  --display: 'Lato', Arial, Helvetica, sans-serif;
  background: var(--surface-page);
  color: var(--body-text);
  font-family: var(--sans);
  font-size: 1.125rem;
  line-height: 1.6;
}
/* Keep every paragraph and form instruction readable, including draft notes. */
body.ac-funnel :is(p,li,label,figcaption,small,summary,input,.v3-blank,
  .bump-description,.bump-select,.sample-tag,.summary-eyebrow,.order-line,
  .checkout-progress,.payment-slot,.booking-feedback,.video-note,
  .v3-preview-note,.v3-testimonial-context,.v3-footer,.site-footer) {
  color: var(--body-text) !important;
  font-family: var(--sans) !important;
  font-size: max(1.125rem, 18px) !important;
  line-height: 1.6 !important;
}
body.ac-funnel :is(h1,h2,h3,h4,.eyebrow,.order-total strong,.checkout-starter-price) {
  color: var(--heading) !important;
  font-family: var(--sans) !important;
}
body.ac-funnel :is(h1,h2,h3,h4) { letter-spacing: -.025em; }
body.ac-funnel :is(h1,h2) em { color: var(--heading); background: none; }
body.ac-funnel a:not(.button):not(.nav-purchase):not(.brand):not(.v3-testimonial-image) {
  color: var(--heading);
  text-decoration: underline;
  text-underline-offset: .2em;
  text-decoration-thickness: .08em;
}
body.ac-funnel .text-link { font-size: 1.125rem; border: 0; }
body.ac-funnel :is(a,button,input,summary):focus-visible {
  outline: 3px solid var(--heading);
  outline-offset: 4px;
  box-shadow: 0 0 0 7px var(--surface-page);
}
/* Navy is concentrated in navigation and trust accents. */
body.ac-funnel .site-header {
  background: var(--heading);
  color: var(--surface-page);
  border-bottom-color: var(--heading);
  box-shadow: 0 0 0 100vmax var(--heading);
  flex-wrap: wrap;
  padding-top: 16px;
  padding-bottom: 16px;
}
body.ac-funnel .brand { color: var(--surface-page); }
body.ac-funnel .brand-sub { font-size: .875rem; letter-spacing: .08em; }
body.ac-funnel .brand-mark i { border-color: var(--surface-page); }
body.ac-funnel .site-header a:not(.nav-purchase):not(.brand) { color: var(--surface-page); }
body.ac-funnel .sales-nav { font-size: 1.125rem; }
/* Website soft-gold actions with navy labels; existing button size is retained. */
body.ac-funnel :is(.button,.nav-purchase) {
  background: var(--cta);
  border-color: var(--cta-hover);
  color: var(--cta-ink);
  font-family: var(--sans);
  font-size: max(1.25rem, 20px) !important;
  font-weight: 700;
  line-height: 1.5 !important;
  text-decoration: none;
  min-height: 56px;
  padding: 14px 22px;
  white-space: normal;
}
body.ac-funnel :is(.button,.nav-purchase):hover {
  background: var(--cta-hover);
  border-color: var(--cta-hover);
  color: var(--cta-ink);
  text-decoration: none;
}
/* Cream reading sections preserve the existing page layout. */
body.ac-funnel :is(.sales-opening,.v3-soft,.v3-decision) {
  background: var(--surface-page);
  color: var(--body-text);
  box-shadow: none;
}
body.ac-funnel.v3-page :is(#inside,#included) {
  background: var(--surface-page);
  border-color: var(--line);
}
body.ac-funnel .opening-heading h1,
body.ac-funnel .opening-heading h1 em { color: var(--heading); background: none; }
body.ac-funnel .v3-preview-note {
  background: var(--surface-card);
  border-color: var(--line);
}
body.ac-funnel :is(.v3-photo,.v3-photo-space,.v3-hero-photo .v3-photo-space) {
  background: var(--surface-card);
  border-color: var(--line);
}
body.ac-funnel .v3-photo-space svg { stroke: var(--heading); opacity: 1; }
body.ac-funnel :is(.v3-photo figcaption,.v3-testimonial,.v3-shot-card,
  .v3-shot-card figcaption,.v3-screenshot-testimonial figcaption,
  .v3-safety-panel,.v3-price-card,.v3-question-list details,.v3-review details,
  .order-summary,.booking-card,.bump-card) {
  background: var(--surface-card);
  border-color: var(--line);
  color: var(--body-text);
}
body.ac-funnel .v3-price-card,
body.ac-funnel .order-summary,
body.ac-funnel .booking-card { border-top-color: var(--heading); }
body.ac-funnel .v3-price-card h3,
body.ac-funnel .v3-price-card h3 strong { color: var(--heading); font-family: var(--sans); }
body.ac-funnel :is(.v3-safety-panel,.v3-chapter .v3-emphasis) { border-left-color: var(--heading); }
body.ac-funnel .v3-chapter .v3-emphasis {
  font-size: 1.75rem !important;
  font-weight: 700;
  background: var(--surface-card);
  color: var(--heading) !important;
}
body.ac-funnel .v3-chapter h2:before { background: var(--heading); }
body.ac-funnel :is(.v3-days>li,.v3-included,.payment-slot) {
  background: var(--surface-page);
  border-color: var(--line);
}
body.ac-funnel .v3-days>li { border-left-color: var(--heading); }
body.ac-funnel .v3-included>li:before {
  background: var(--surface-card);
  color: var(--heading);
}
body.ac-funnel .v3-blank {
  background: var(--surface-card);
  border-color: var(--heading);
}
body.ac-funnel :is(.v3-question-list details[open],.bump-card:hover) {
  border-color: var(--heading);
  box-shadow: var(--ui-shadow);
}
body.ac-funnel :is(.v3-question-list summary:hover,.bump-card:hover) { background: var(--surface-card); }
body.ac-funnel .v3-question-list summary:after { color: var(--heading); }
body.ac-funnel .v3-decision .v3-postscript { border-color: var(--line); }
body.ac-funnel :is(.v3-footer [aria-disabled],.preview-label,.summary-eyebrow,.bump-select,.sample-tag) { color: var(--body-text); }
body.ac-funnel .checkout-progress { flex-wrap: wrap; }
body.ac-funnel .checkout-progress>i { background: var(--heading); }
body.ac-funnel .checkout-progress>[aria-current] { color: var(--heading); }
body.ac-funnel :is(.order-lines,.checkout-starter) { border-color: var(--line); }
body.ac-funnel .checkout-starter { border-top-color: var(--heading); }
body.ac-funnel .checkout-starter-icon { color: var(--surface-page); background: var(--heading); }
body.ac-funnel .bump-card:has(input:checked) {
  background: var(--surface-card);
  border-color: var(--heading);
  box-shadow: inset 3px 0 0 var(--heading);
}
body.ac-funnel .bump-card input { accent-color: var(--heading); }
body.ac-funnel .checkout-main .bump-select { border-color: var(--heading); }
body.ac-funnel :is(.day-option,.time-option) {
  background: var(--surface-page);
  border-color: var(--heading);
  color: var(--body-text);
  font-size: 1.125rem;
}
body.ac-funnel :is(.day-option,.time-option):hover { border-color: var(--heading); }
body.ac-funnel :is(.day-option,.time-option).selected {
  background: var(--heading);
  color: var(--surface-page);
  border-color: var(--heading);
}
body.ac-funnel .vsl-placeholder {
  background: var(--surface-card);
  color: var(--heading);
  border-color: var(--line);
}
body.ac-funnel .vsl-message { color: var(--heading); font-family: var(--sans); }
body.ac-funnel :is(.vsl-caption,.video-corner,.video-controls) { color: var(--body-text); font-size: 1.125rem; }
body.ac-funnel .play-icon-large { border-color: var(--heading); }
body.ac-funnel .play-icon-large:after { border-left-color: var(--heading); }
body.ac-funnel .video-track { background: var(--heading); }
/* Preserve the original screenshot pixels, including their own colours. */
body.ac-funnel .v3-shot-card figcaption { border-top-color: var(--line); }
body.ac-funnel .v3-testimonial-image:focus-visible { outline-color: var(--heading); }
/* A cream purchase bar keeps the reading area light. */
body.ac-funnel.v3-page { padding-bottom: calc(110px + env(safe-area-inset-bottom)); }
body.ac-funnel.v3-page .mobile-purchase:not([hidden]) {
  background: var(--surface-card);
  border-top-color: var(--heading);
  box-shadow: 0 -4px 20px #1A202C0A;
}
body.ac-funnel.v3-page .mobile-purchase strong {
  font-size: 1.125rem;
  color: var(--heading);
  line-height: 1.5;
}
body.ac-funnel.v3-page .mobile-purchase small { display: block; }
@media(max-width:760px) {
  body.ac-funnel .time-option { flex-basis: 40%; }
  body.ac-funnel .checkout-starter { flex-wrap: wrap; }
  body.ac-funnel .vsl-placeholder { min-height: 320px; padding-top: 70px; padding-bottom: 70px; }
  body.ac-funnel .video-controls { flex-wrap: wrap; }
}
@media(max-width:600px) {
  body.ac-funnel.v3-page { padding-bottom: calc(180px + env(safe-area-inset-bottom)); }
  body.ac-funnel.v3-page .mobile-purchase:not([hidden]) {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  }
  body.ac-funnel.v3-page .mobile-purchase>span { text-align: center; }
  body.ac-funnel.v3-page .mobile-purchase .button { width: 100%; }
  body.ac-funnel .text-link { max-width: none; text-align: left; }
  body.ac-funnel .v3-footer nav { font-size: 1.125rem; }
}

/* Four testimonials grouped above the offer; price now uses one reading column. */
body.ac-funnel.v3-page .v3-price-grid-single { grid-template-columns: minmax(0, 1fr); }
body.ac-funnel.v3-page #price .v3-wide { max-width: 640px; }

/* Sales-page scale adjustment requested 2026-11-25. */
body.ac-funnel.v3-page { font-size: 1.0625rem; }
body.ac-funnel.v3-page :is(p,li,label,figcaption,small,summary,input,.v3-blank,
  .v3-preview-note,.v3-testimonial-context,.v3-footer,.site-footer) {
  font-size: 1.0625rem !important;
  line-height: 1.7 !important;
}
body.ac-funnel.v3-page #headline {
  font-size: clamp(3rem, 4.6vw, 3.75rem);
  line-height: 1.08;
  letter-spacing: -.035em;
  text-wrap: balance;
}
body.ac-funnel.v3-page .v3-chapter h2 { font-size: 1.6875rem; }
body.ac-funnel.v3-page .v3-days h3 { font-size: 1.0625rem; }
body.ac-funnel.v3-page .v3-chapter .v3-emphasis { font-size: 1.625rem !important; }
body.ac-funnel.v3-page .v3-price-card h3 { font-size: 1.6875rem; }
body.ac-funnel.v3-page .v3-price-card h3 strong { font-size: 3.5rem; }
body.ac-funnel.v3-page :is(.v3-delivery,.v3-blank,.v3-preview-note,
  .v3-experiences-note,.v3-medical-disclaimer,.v3-shot-card figcaption,
  .v3-footer,.v3-footer nav,.v3-review p,.v3-review summary) {
  font-size: .9375rem !important;
}
body.ac-funnel.v3-page .mobile-purchase strong { font-size: 1rem; }
body.ac-funnel.v3-page .mobile-purchase small { font-size: .9375rem !important; }
body.ac-funnel.v3-page #experiences .v3-proof-grid {
  width: 100%;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  align-items: start;
}
@media(max-width:760px) {
  body.ac-funnel.v3-page #headline { font-size: clamp(2.125rem, 9.8vw, 2.5rem); }
  body.ac-funnel.v3-page .v3-chapter h2 { font-size: 1.5rem; }
  body.ac-funnel.v3-page #experiences .v3-shot-card {
    width: 90%;
    max-width: 300px;
    justify-self: center;
  }
}


/* Sales copy v6: existing scale and palette retained. */
body.ac-funnel.v3-page .v6-preheadline {
  margin: 0 0 16px; font-weight: 700; color: var(--heading) !important;
}
body.ac-funnel.v3-page .v6-proof-count { margin-top: 24px; font-size: .9375rem !important; }
body.ac-funnel.v3-page .v6-story {
  margin: 28px 0; padding: 24px; background: var(--surface-card);
  border-left: 3px solid var(--heading); border-radius: 0 var(--ui-radius) var(--ui-radius) 0;
}
body.ac-funnel.v3-page .v6-story blockquote { margin: 0; }
body.ac-funnel.v3-page .v6-story figcaption { margin-top: 20px; font-weight: 700; }
body.ac-funnel.v3-page .v6-after-order { margin: 0; padding-left: 1.5em; }
body.ac-funnel.v3-page .v6-after-order li { padding-left: 8px; margin-bottom: 20px; }
body.ac-funnel.v3-page .v6-after-order li::marker { color: var(--heading); font-weight: 700; }
body.ac-funnel.v3-page .v3-review p { white-space: pre-line; }

/* Brand-kit finish: navy panels, gold accents and teal interaction cues. */
body.ac-funnel :is(h1,h2) { font-weight: 900 !important; }
body.ac-funnel :is(h3,label,summary,.eyebrow,.sample-tag,.summary-eyebrow,.bump-name) { font-weight: 700; }
body.ac-funnel .brand-mark i { border-color: var(--brand-gold); }
body.ac-funnel :is(a,button,input,summary):focus-visible { outline-color: var(--brand-teal); }
body.ac-funnel :is(.v3-photo,.v3-price-card,.vsl-placeholder) {
  --surface-card: #0F2A3D;
  --surface-page: #F8F6F3;
  --body-text: #F8F6F3;
  --heading: #C8A96E;
  background: var(--surface-card);
}
body.ac-funnel .v3-price-card,
body.ac-funnel .order-summary,
body.ac-funnel .booking-card { border-top-color: var(--brand-gold) !important; }
body.ac-funnel .v3-price-card .v3-blank { background: #0F2A3D; }
body.ac-funnel .v3-chapter h2:before { background: var(--brand-gold); }
body.ac-funnel .v3-days>li { border-left-color: var(--brand-teal); }
body.ac-funnel .v3-included>li:before { color: var(--brand-teal); }
body.ac-funnel.v3-page .mobile-purchase:not([hidden]) { border-top-color: var(--brand-gold); }
body.ac-funnel .bump-description { font-weight: 400; }

/* Headline-only UI treatment approved 2026-11-28; wording and type size retained. */
body.ac-funnel.v3-page .v3-hero-grid { max-width: 1000px; }
body.ac-funnel.v3-page .opening-heading { max-width: 1000px; }
body.ac-funnel.v3-page .v6-preheadline {
  font-size: .9375rem !important;
  letter-spacing: .025em;
  margin-bottom: 24px;
}
body.ac-funnel.v3-page #headline em {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin: .12em auto 0;
  white-space: nowrap;
  font-style: normal;
  text-decoration-line: underline;
  text-decoration-color: var(--brand-gold);
  text-decoration-thickness: .055em;
  text-underline-offset: .16em;
  text-decoration-skip-ink: auto;
}
@media(max-width:760px) {
  body.ac-funnel.v3-page .v6-preheadline { margin-bottom: 20px; }
  body.ac-funnel.v3-page #headline em { white-space: normal; text-wrap: balance; }
}

/* User-selected static hero mockup, 2026-11-28. Original pixels retained. */
body.ac-funnel.v3-page .v3-product-mockup {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
body.ac-funnel.v3-page .v3-product-mockup img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

/* Five-day course previews and supplied portrait; copy retained, 2026-11-28. */
body.ac-funnel.v3-page #inside .v3-reading { max-width: 920px; }
body.ac-funnel.v3-page #inside .v3-reading>h2,
body.ac-funnel.v3-page #inside .v3-reading>p { max-width: 640px; margin-left: auto; margin-right: auto; }
body.ac-funnel.v3-page .v7-lesson-grid {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: stretch;
  gap: 24px; margin-top: 32px;
}
body.ac-funnel.v3-page .v7-lesson-grid>.v7-lesson-card {
  display: flex; flex-direction: column; flex: 0 0 calc((100% - 24px) / 2);
  min-width: 0; padding: 0; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--ui-radius-large);
  background: var(--surface-page); box-shadow: var(--ui-shadow);
}
body.ac-funnel.v3-page .v7-lesson-visual { aspect-ratio: 16 / 9; border-bottom: 3px solid var(--brand-gold); background: var(--surface-panel); }
body.ac-funnel.v3-page .v7-lesson-visual img { display: block; width: 100%; height: 100%; object-fit: contain; }
body.ac-funnel.v3-page .v7-lesson-body { padding: 22px; }
body.ac-funnel.v3-page .v7-lesson-body h3 { margin-bottom: 12px; }
body.ac-funnel.v3-page .v7-lesson-body .v3-blank { margin-top: 12px; }
body.ac-funnel.v3-page #guide .v3-reading { max-width: 1000px; }
body.ac-funnel.v3-page #guide .v3-reading>h2,
body.ac-funnel.v3-page #guide .v3-reading>p { max-width: 640px; margin-left: auto; margin-right: auto; }
body.ac-funnel.v3-page .v7-story-layout { display: grid; grid-template-columns: 280px minmax(0,1fr); gap: 28px; align-items: start; margin: 28px 0; }
body.ac-funnel.v3-page .v7-guide-portrait { margin: 0; overflow: hidden; border-radius: var(--ui-radius-large); border-bottom: 3px solid var(--brand-gold); box-shadow: var(--ui-shadow); }
body.ac-funnel.v3-page .v7-guide-portrait img { display: block; width: 100%; height: auto; }
body.ac-funnel.v3-page .v7-story-layout .v6-story { margin: 0; }
@media(max-width:760px) {
  body.ac-funnel.v3-page .v7-story-layout { grid-template-columns: minmax(0,1fr); gap: 24px; }
  body.ac-funnel.v3-page .v7-guide-portrait { width: 100%; max-width: 280px; justify-self: center; }
}
@media(max-width:600px) {
  body.ac-funnel.v3-page .v7-lesson-grid { gap: 20px; }
  body.ac-funnel.v3-page .v7-lesson-grid>.v7-lesson-card { flex-basis: 100%; }
  body.ac-funnel.v3-page .v7-lesson-body { padding: 20px; }
}

/* First user-supplied story image. Full original image, within the reading column. */
body.ac-funnel.v3-page .v8-story-photo {
  width: 100%; max-width: 640px; margin: 32px auto;
  overflow: hidden; border-radius: var(--ui-radius-large);
}
body.ac-funnel.v3-page .v8-story-photo img {
  display: block; width: 100%; height: auto;
}

/* User-supplied anatomy clips for the story sections; native click-to-play controls. */
body.ac-funnel.v3-page .v8-story-video {
  width: 100%; max-width: 640px; margin: 32px auto;
  overflow: hidden; border-radius: var(--ui-radius-large); background: #0A1F2E;
}
body.ac-funnel.v3-page .v8-story-video video {
  display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: contain;
}

/* Silent looping story illustrations. Click or use Enter/Space to pause/resume. */
body.ac-funnel.v3-page .v9-story-loop video { cursor: pointer; }
body.ac-funnel.v3-page .v9-story-loop video:focus-visible {
  outline: 3px solid var(--brand-teal); outline-offset: -3px;
}

/* ZIP testimonial cards: two below the mockup, six in the main proof section,
   four before the price. Screenshots retain their original pixels. */
body.ac-funnel.v3-page .v3-hero-grid {
  grid-template-areas: 'heading' 'photo' 'proof' 'copy';
}
body.ac-funnel.v3-page .v11-hero-proof { grid-area: proof; width: 100%; max-width: 640px; }
body.ac-funnel.v3-page .v11-testimonial-grid,
body.ac-funnel.v3-page #experiences .v11-testimonial-grid {
  display: grid; grid-template-columns: repeat(2,minmax(0,1fr));
  width: 100%; max-width: 640px; gap: 24px; align-items: start;
  margin: 24px auto 0;
}
body.ac-funnel.v3-page .v11-hero-proof .v11-testimonial-grid { margin-top: 0; }
body.ac-funnel.v3-page .v11-testimonial-grid .v3-shot-card,
body.ac-funnel.v3-page #experiences .v11-testimonial-grid .v3-shot-card {
  width: 100%; max-width: none; justify-self: stretch; margin: 0;
}
body.ac-funnel.v3-page .v11-testimonial-grid .v11-testimonial-wide { grid-column: 1 / -1; }
body.ac-funnel.v3-page .v11-testimonial-grid .v3-testimonial-image { padding: 0; border-bottom: 0; }
body.ac-funnel.v3-page .v11-testimonial-grid img { display: block; width: 100%; height: auto; }
body.ac-funnel.v3-page .v11-hero-proof > .v3-experiences-note { margin: 20px 0 0; }
@media(max-width:600px) {
  body.ac-funnel.v3-page .v11-testimonial-grid,
  body.ac-funnel.v3-page #experiences .v11-testimonial-grid { grid-template-columns: minmax(0,1fr); gap: 20px; }
}

/* Four testimonials at the top, eight later. Independent columns close the gaps
   between original screenshots of different heights; no captions or cropping. */
body.ac-funnel.v3-page .v12-hero-proof { max-width: 840px; }
body.ac-funnel.v3-page .v12-testimonial-layout {
  display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px;
  width: 100%; max-width: 920px; margin: 28px auto 0; align-items: start;
}
body.ac-funnel.v3-page .v12-hero-proof .v12-testimonial-layout { margin-top: 0; }
body.ac-funnel.v3-page .v12-testimonial-column { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
body.ac-funnel.v3-page .v12-testimonial-layout .v3-shot-card,
body.ac-funnel.v3-page #experiences .v12-testimonial-layout .v3-shot-card {
  width: 100%; max-width: none; margin: 0; flex: none;
  border-radius: 12px; box-shadow: 0 6px 18px #0A1F2E0A;
}
body.ac-funnel.v3-page .v12-testimonial-layout .v3-testimonial-image {
  display: block; padding: 0; border: 0; line-height: 0;
}
body.ac-funnel.v3-page .v12-testimonial-layout img { display: block; width: 100%; height: auto; }
body.ac-funnel.v3-page #experiences .v3-reading { max-width: 960px; }
body.ac-funnel.v3-page #experiences .v3-reading > h2,
body.ac-funnel.v3-page #experiences .v3-reading > .v3-experiences-note,
body.ac-funnel.v3-page .v12-hero-proof > .v3-experiences-note { max-width: 640px; margin-left: auto; margin-right: auto; }
body.ac-funnel.v3-page .v12-hero-proof > .v3-experiences-note { margin-top: 20px; margin-bottom: 0; }
@media(max-width:760px) {
  body.ac-funnel.v3-page .v12-testimonial-layout { grid-template-columns: minmax(0,1fr); gap: 20px; }
  body.ac-funnel.v3-page .v12-testimonial-column { gap: 20px; }
}

/* Keep screenshot links from shrinking inside Safari's flex card layout. */
body.ac-funnel.v3-page .v12-testimonial-layout .v3-testimonial-image {
  flex: 0 0 auto; width: 100%;
}

/* Supplied what-you-get mockup at the close; keep the letter at its reading width. */
body.ac-funnel.v3-page #decision .v3-reading { max-width: 960px; }
body.ac-funnel.v3-page #decision .v3-reading > :not(.v13-footer-mockup) {
  max-width: 640px; margin-left: auto; margin-right: auto;
}
body.ac-funnel.v3-page .v13-footer-mockup {
  width: 100%; margin: 32px auto 40px; overflow: hidden;
  border-radius: var(--ui-radius-large);
}
body.ac-funnel.v3-page .v13-footer-mockup img { display: block; width: 100%; height: auto; }

/* Dean's introduction sits between the hero image and the first four testimonials. */
body.ac-funnel.v3-page .v3-hero-grid {
  grid-template-areas: 'heading' 'photo' 'intro' 'proof' 'copy';
}
body.ac-funnel.v3-page .v14-hero-intro { grid-area: intro; }
body.ac-funnel.v3-page .v14-hero-intro > p:last-child { margin-bottom: 0; }

/* Scale the supplied long-form headline while retaining its full wording. */
body.ac-funnel.v3-page #headline.v15-long-headline {
  font-size: clamp(2.5rem, 3.2vw, 3rem); line-height: 1.16;
}
@media(max-width:760px) {
  body.ac-funnel.v3-page #headline.v15-long-headline {
    font-size: clamp(1.75rem, 7.2vw, 2rem); line-height: 1.18;
  }
}

/* Keep sales media inside the letter's reading column; smaller proof and portrait. */
body.ac-funnel.v3-page :is(#inside,#guide,#experiences,#decision) .v3-reading {
  max-width: 640px;
}
body.ac-funnel.v3-page .v12-hero-proof,
body.ac-funnel.v3-page .v12-testimonial-layout { max-width: 640px; }
body.ac-funnel.v3-page .v12-testimonial-layout { gap: 20px; }
body.ac-funnel.v3-page .v12-testimonial-column { gap: 20px; }
body.ac-funnel.v3-page .v7-story-layout {
  grid-template-columns: minmax(0,1fr); gap: 24px;
  width: 100%; max-width: 640px; margin: 28px auto;
}
body.ac-funnel.v3-page .v7-guide-portrait {
  width: 200px; max-width: 100%; justify-self: center;
}
@media(max-width:760px) {
  body.ac-funnel.v3-page .v12-testimonial-layout { max-width: 320px; }
}

/* Dean's website gold in a brush-stroke shape inspired by the supplied reference. */
body.ac-funnel.v3-page #headline .v16-gold-highlight {
  position: relative; display: inline-block; isolation: isolate;
  white-space: nowrap; color: inherit;
}
body.ac-funnel.v3-page #headline .v16-gold-highlight::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  inset: .12em -.12em .02em;
  background: url("assets/gold-brush-stroke.svg") center / 100% 100% no-repeat;
  transform: rotate(-.7deg);
}

/* Keep the confirmed support address readable within narrow text columns. */
body.ac-funnel .rms-support-email { overflow-wrap: anywhere; }
