/* Isolated review polish. The approved site and its content remain untouched. */
.phase3.story-revision {
  --accent: #414953;
  --premium-ink: #1b1f25;
  --premium-silver: #c4c9d0;
  --premium-gutter: max(24px, calc((100vw - 1180px) / 2));
  --premium-ease: cubic-bezier(.22, 1, .36, 1);
  --premium-press-space: 32px;
}

/* A single charcoal / silver language across both statistical framings. */
.phase3 .success-dots, .phase3 .failure-dots { --dot-ink: #4a525e; }
.phase3 .situation-waterfall { --rate-ink: #4a525e; }
.phase3 .stat-comparison[data-stat-framing] strong,
.phase3 .benefit-value, .phase3 .pitch-odds > div:last-child,
.phase3 .p3-trial-button { color: #414953; }
.phase3 .chart-bands .stat-group {
  background: #e0e3e84d;
  border-top-color: #8f98a4;
}
.phase3 .stat-comparison .dots-numeral { background: #e0e3e84d; }
.phase3 .odds-comparison > div + div { background: #dce0e68c; color: #414953; }
.phase3 .pitch-workflow { border-left-color: #a3abb7; }
.phase3 .pitch-workflow > div > span { background: #dce0e6; color: #414953; }
.phase3 .pitch-partnership { background: #23272e; color: #f3f4f6; }
.phase3 .p3-trial-button { border-bottom-color: #8b939e; }
.phase3 .waterfall-market .waterfall-bar i { background: #8a939f; }
.phase3 .waterfall-step { border-left-color: #929ba866; }
.phase3 .waterfall-step:not(:last-child)::after { border-right-color: #929ba855; }

/* Align the outer shell with the established 1180px content grid. */
.phase3.story-revision .p3-masthead,
.phase3.story-revision .p3-compact-footer {
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  margin-inline: auto;
  padding-inline: var(--premium-gutter);
}
.phase3 .p3-motion { right: var(--premium-gutter); }
.phase3 .p3-masthead .brand { min-width: 0; }

/* Major boundaries follow the content grid; card and accordion rules stay local. */
.phase3.story-revision main > .p3-section,
.phase3.story-revision main > .creator-story,
.phase3.story-revision main > .questions-story {
  position: relative;
  border-bottom: 0;
  padding-block: var(--section-space);
}
.phase3.story-revision main > .p3-section::after,
.phase3.story-revision main > .creator-story::after,
.phase3.story-revision main > .questions-story::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: var(--premium-gutter);
  right: var(--premium-gutter);
  height: 1px;
  background: var(--rule);
  pointer-events: none;
}
.phase3.story-revision main.p3-checkout > .p3-section::after { left: 0; right: 0; }
.phase3.story-revision .p3-compact-footer { border-top: 0; }
.phase3.story-revision main > .p3-proof-frame { padding-bottom: 0; }
.phase3.story-revision .p3-testimonial-press {
  width: 100%;
  max-width: none;
  margin: var(--premium-press-space) 0 0;
  padding-block: var(--premium-press-space);
}
.phase3.story-revision .p3-compact-footer .p3-footer-bottom {
  margin-top: 30px;
  padding-top: 0;
}
.phase3.story-revision .situation-waterfall { margin-bottom: 72px; }
.phase3.story-revision .p3-price-card > .p3-button:not(.p3-trial-button) {
  display: flex;
  width: fit-content;
  max-width: min(100%, 320px);
  margin-inline: auto;
}

/* Silver edge lighting is static at rest; there is no repeating CTA animation. */
.phase3.story-revision .p3-button:not(.p3-trial-button) {
  position: relative;
  background: linear-gradient(165deg, #30353e 0%, #1b1f25 47%, #20242b 100%);
  border: 1px solid #959daa;
  box-shadow: inset 0 1px 0 #ffffff33, inset 0 -1px 0 #00000024, 0 2px 6px #1b1f2510;
  overflow: hidden;
  isolation: isolate;
}
.phase3.story-revision .p3-button:not(.p3-trial-button)::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(115deg, #ffffff00 24%, #ffffff12 50%, #ffffff00 76%);
  opacity: .5;
  transition: opacity 180ms var(--premium-ease);
}
@media (hover: hover) {
  .phase3.story-revision .p3-button:not(.p3-trial-button):hover::before { opacity: 1; }
}
.phase3.story-revision .p3-button:focus-visible { outline: 2px solid #687484; outline-offset: 4px; }
.phase3.story-revision .p3-sticky.premium-over-dark .p3-button {
  color: #1b1f25 !important;
  background: linear-gradient(165deg, #fafbfc, #dbe0e7);
  border-color: #f4f6f9;
  box-shadow: inset 0 1px 0 #fff, 0 2px 6px #00000016;
}
.phase3 .p3-sticky.premium-over-dark .p3-button span { color: inherit; }
.phase3.story-revision .p3-sticky.premium-after-faq { display: none !important; }

/* The final offer is explicit, with the purchase retaining visual priority. */
.phase3.story-revision .p3-final-actions {
  display: flex;
  align-items: stretch;
  justify-content: flex-start;
  gap: 14px;
  width: 100%;
  max-width: 620px;
  margin: 26px 0 0;
}
.phase3.story-revision .p3-final-actions > .p3-button {
  flex: 1.15 1 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: auto;
  min-width: 0;
  min-height: 54px;
  margin: 0;
  padding: 14px 20px;
  text-align: center;
}
.phase3.story-revision .p3-final-actions > .p3-trial-button {
  flex: 1 1 0;
  background: #ffffff5c;
  border: 1px solid #929ba8;
  border-radius: 999px;
  color: #414953 !important;
  box-shadow: inset 0 1px 0 #ffffff80;
  font-size: 14px;
  font-weight: 500 !important;
}

/* Only leaf copy receives reveal transforms: never sections, phones or tracks. */
.premium-polish [data-premium-reveal] {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition: opacity 440ms var(--premium-ease), transform 440ms var(--premium-ease);
}
.premium-polish [data-premium-reveal="below"] { opacity: 0; transform: translate3d(0, 8px, 0); }
.premium-polish [data-premium-reveal="above"] { opacity: 0; transform: translate3d(0, -4px, 0); }
.premium-polish [data-premium-reveal]:focus-within { opacity: 1; transform: none; }
.premium-polish[data-premium-keyboard="true"] [data-premium-reveal] { transition: none; }

/* Wait for the complete price pair, then draw the existing diagonal only once. */
.premium-polish .reference-price s[data-premium-strike]::after {
  top: calc(50% + .35em);
  transform: rotate(-17deg) scaleX(1);
  transform-origin: left center;
  transition: transform 520ms var(--premium-ease);
}
.premium-polish .reference-price s[data-premium-strike="waiting"]::after {
  transform: rotate(-17deg) scaleX(0);
}

/* The rating occupies the card's top right. The copy and attribution share
   one centred column, with the reading alignment retained on the left. */
.phase3.story-revision .quote-card { position: relative; }
.phase3.story-revision .p3-testimonial-track .quote-card { padding-top: 76px; }
.phase3.story-revision .quote-card .p3-quote-copy,
.phase3.story-revision .quote-card figcaption,
.phase3.story-revision .quote-card .p3-full-quote-link {
  box-sizing: border-box;
  width: min(100%, 40rem);
  max-width: 40rem;
  margin-inline: auto;
  justify-self: center;
  text-align: left;
}
.phase3.story-revision .p3-full-testimonial.quote-card { padding-top: 54px; }
.phase3 .quote-card .premium-stars {
  position: absolute;
  top: 22px;
  right: 24px;
  display: flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  margin: 0;
  color: #697483;
  line-height: 1;
}
.phase3 .p3-full-testimonial .premium-stars { top: 0; right: 0; }
.phase3 .premium-stars svg { display: block; width: 30px; height: 30px; flex: none; }
.phase3 .premium-stars .premium-star-reflection {
  fill: #e3e7ed;
  opacity: var(--premium-star-shine, 0);
}

/* Compensate for the source artwork's clear padding, without clipping the mark. */
.phase3 .p3-press img[src*="expertview-cutout"],
.phase3 .p3-testimonial-press img[src*="expertview-cutout"] {
  width: 126px;
  height: 90px;
  max-width: 100%;
  max-height: none;
  object-fit: contain;
}

.phase3.story-revision .questions-story summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  list-style: none;
}
.phase3 .questions-story summary::-webkit-details-marker { display: none; }
.phase3 .questions-story summary::marker { content: ''; }
.phase3 .questions-story summary::after {
  content: '+';
  flex: 0 0 24px;
  text-align: center;
  font-size: 24px;
  font-weight: 400;
  line-height: 1;
  color: #636e7d;
}
.phase3 .questions-story details[open] > summary::after { content: '−'; }

/* Two precisely measured units: the second joins the first with the same gap. */
.phase3.story-revision .authority-group .authority-logos.premium-ticker {
  display: flex;
  flex-wrap: nowrap;
  gap: 0;
  width: max-content;
  padding: 0 !important;
  animation: premium-marquee var(--premium-ticker-duration, 38s) linear infinite !important;
  animation-play-state: running !important;
  will-change: transform;
}
.phase3.story-revision .authority-group .premium-ticker > .logo-set {
  display: flex;
  flex-wrap: nowrap;
  flex: none;
  width: max-content;
  gap: 24px;
  padding: 0 24px 0 0;
}
.phase3.story-revision .authority-group .premium-ticker[data-premium-inview="false"] {
  animation-play-state: paused !important;
  will-change: auto;
}
@keyframes premium-marquee {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(calc(-1 * var(--premium-ticker-distance, 0px)), 0, 0); }
}

html.motion-paused.premium-polish [data-premium-reveal],
html[data-motion="off"].premium-polish [data-premium-reveal] {
  opacity: 1;
  transform: none;
  transition: none;
}
html.motion-paused.premium-polish .reference-price s[data-premium-strike]::after,
html[data-motion="off"].premium-polish .reference-price s[data-premium-strike]::after {
  transform: rotate(-17deg) scaleX(1);
  transition: none;
}
html.motion-paused .phase3.story-revision .authority-group .authority-logos.premium-ticker,
html[data-motion="off"] .phase3.story-revision .authority-group .authority-logos.premium-ticker {
  animation-play-state: paused !important;
}
html.motion-paused .premium-stars .premium-star-reflection,
html[data-motion="off"] .premium-stars .premium-star-reflection { opacity: 0; }

@media (max-width: 760px) {
  /* Keep the four group labels on the section grid; nest only their contents. */
  .phase3.story-revision .curriculum-group {
    position: relative;
    margin-inline: 0;
    margin-bottom: 36px;
    padding-inline: 0;
  }
  .phase3.story-revision .curriculum-group:last-child { margin-bottom: 0; }
  .phase3.story-revision .curriculum-group > h3 {
    margin: 0 0 14px;
    padding: 0;
    text-align: left;
    font-weight: 600;
  }
  .phase3.story-revision .curriculum-group::before {
    content: '';
    position: absolute;
    top: 32px;
    bottom: 0;
    left: 0;
    width: 1px;
    background: #a3abb74a;
    pointer-events: none;
  }
  .phase3.story-revision .curriculum-group > .curriculum-row {
    margin-inline: 16px 0;
  }
  .phase3.story-revision .curriculum-group > .curriculum-row > div {
    padding-inline: 0;
  }
  .phase3.story-revision { --premium-press-space: 28px; }
  .phase3.story-revision .situation-waterfall { margin-bottom: 54px; }
  .phase3.story-revision .p3-final-actions { gap: 10px; }
  .phase3.story-revision .p3-final-actions > .p3-button {
    padding: 12px 13px;
    font-size: 14px;
    gap: 7px;
    min-height: 50px;
  }
  .phase3.story-revision .p3-final-actions > .p3-trial-button { font-size: 13px; }
  .phase3.story-revision .p3-masthead {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 44px;
    gap: 0 12px;
    padding-block: 14px 8px;
    min-height: 88px;
    z-index: 50;
  }
  .phase3 .p3-masthead .brand { grid-column: 1; grid-row: 1; justify-self: start; }
  .phase3 .p3-masthead .brand-name { font-size: clamp(17px, 5vw, 20px); }
  .phase3 .p3-masthead .p3-menu {
    grid-column: 2;
    grid-row: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin: 0;
    padding: 0;
  }
  .phase3 .p3-masthead .p3-menu svg { width: 32px; }
  .phase3 .p3-masthead .p3-motion {
    position: static;
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: end;
    padding: 4px 0;
    min-height: 24px;
    font-size: 9px !important;
    line-height: 16px;
  }
  .phase3 .p3-masthead nav { top: 100%; padding-inline: 24px; }
  .phase3 .p3-masthead nav a { padding-inline: 0; }
  .phase3.story-revision .authority-group .premium-ticker > .logo-set { gap: 22px; padding-right: 22px; }
}

@media (max-width: 360px) {
  .phase3.story-revision .p3-final-actions > .p3-button { padding-inline: 10px; font-size: 12.5px; gap: 5px; }
}

@media (prefers-reduced-motion: reduce) {
  .premium-polish [data-premium-reveal] { opacity: 1; transform: none; transition: none; }
  .premium-polish .reference-price s[data-premium-strike]::after {
    transform: rotate(-17deg) scaleX(1);
    transition: none;
  }
  .phase3.story-revision .p3-button::before { transition: none; }
  .phase3 .premium-stars .premium-star-reflection { opacity: 0; }
  .phase3.story-revision .authority-group .authority-logos.premium-ticker {
    animation: none !important;
    transform: none !important;
    width: 100%;
    will-change: auto;
  }
  .phase3.story-revision .authority-group .premium-ticker > .logo-set {
    flex-wrap: wrap;
    width: 100%;
    gap: 14px 20px;
    padding: 0;
  }
  .phase3.story-revision .authority-group .premium-ticker > .logo-set[aria-hidden="true"],
  .phase3.story-revision .premium-ticker [data-premium-copy],
  .phase3.story-revision .premium-ticker [data-premium-repeat] { display: none !important; }
}
