/**
 * Accessibility presentation — reuses rubrics-uplift surfaces.
 * Layout, type, color, and spacing stay on those tokens.
 */

.page--presso #main [id^="ap-"] {
  scroll-margin-top: calc(4.5rem + var(--space-m));
}

.page--presso .ru-hero__product {
  width: min(100%, 42rem);
  border-radius: var(--space-1);
  background: #fff;
}

.page--presso .ap-story {
  --ap-ink: #111;
  padding-block: var(--space-xxl);
  background: #fff;
}

.page--presso .ap-story__inner {
  display: grid;
  width: 100%;
  max-width: 81rem;
  gap: var(--space-subsection);
}

.page--presso .ap-story__copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  width: 100%;
}

.page--presso .ap-story .ru-title {
  color: var(--ap-ink);
}

.page--presso .ap-story__body {
  display: flex;
  flex-direction: column;
  gap: var(--space-related);
  max-width: 65ch;
  color: var(--color-text-neutral-light);
  font: var(--font-body-xs);
}

.page--presso .ap-story__body p {
  margin: 0;
  text-wrap: pretty;
}

.page--presso .ap-story__body strong {
  color: inherit;
  font-weight: var(--font-weight-bold);
}

.page--presso .ap-story__note {
  position: static;
  width: min(16.375rem, 100%);
  color: var(--color-primary-main);
  pointer-events: auto;
  transform: none;
}

.page--presso .ap-thoughts {
  --ap-line: #f2c7c9;
  border-bottom: var(--border-width-default) solid var(--ap-line);
}

.page--presso .ap-thoughts .ap-story__note {
  color: var(--color-primary-main);
}

@media (min-width: 900px) {
  .page--presso .ap-story__inner {
    grid-template-columns: minmax(0, 1fr) 16.375rem;
    justify-content: space-between;
    align-items: start;
  }

  .page--presso .ap-story__note {
    margin-top: 2rem;
    justify-self: end;
  }
}

@media (max-width: 899px) {
  .page--presso .ap-story__note {
    margin-inline: auto;
  }
}
