/* Shared offer components. Page styles own layout; these own typography and controls. */
:root .studio-hero-title {
  color: var(--studio-ink);
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: clamp(2.7rem, 5.6vw, 4.7rem);
  font-weight: 800;
  line-height: 1.07;
  letter-spacing: -.055em;
  text-wrap: balance;
}
:root .studio-offer-title {
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: clamp(1.8rem, 3.3vw, 2.7rem);
  font-weight: 800;
  line-height: 1.17;
  letter-spacing: -.045em;
  text-wrap: balance;
}
:root .studio-highlight {
  color: var(--studio-ink);
  background: var(--offer-highlight, var(--studio-lilac));
  box-shadow: 4px 0 0 var(--offer-highlight, var(--studio-lilac)), -4px 0 0 var(--offer-highlight, var(--studio-lilac));
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
:root .studio-eyebrow {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  color: #5743c3;
  font-size: .73rem;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: .06em;
  text-transform: uppercase;
}
:root .studio-offer-lead { color: var(--studio-muted); font-size: 1.06rem; line-height: 1.8; }
:root .studio-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  max-width: 100%;
  padding: 14px 20px;
  border: 1px solid transparent;
  border-radius: 7px;
  box-shadow: none;
  color: var(--studio-ink);
  background: white;
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: .92rem;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background .15s, border-color .15s, box-shadow .15s, transform .15s;
}
:root .studio-button--primary { color: white; background: var(--studio-purple); border-color: var(--studio-purple); }
:root .studio-button--secondary { color: var(--studio-ink); background: white; border-color: var(--studio-line); }
:root .studio-button--mint { color: var(--studio-ink); background: var(--studio-mint); border-color: var(--studio-mint); }
:root .studio-button:hover { text-decoration: none; transform: translate(-1px, -1px); box-shadow: 3px 3px 0 var(--studio-ink); }
:root .studio-button--primary:hover { color: white; background: #503bc5; border-color: #503bc5; }
:root .studio-button--secondary:hover { color: var(--studio-purple); background: white; border-color: var(--studio-purple); }
:root .studio-button--mint:hover { color: var(--studio-ink); background: #aee8d6; border-color: #aee8d6; }
:root .studio-button:active { transform: none; box-shadow: none; }
:root .studio-button:focus-visible { outline: 3px solid var(--studio-purple); outline-offset: 4px; }
:root .studio-offer--dark { color: white; background: var(--studio-ink); border-color: var(--studio-ink); }
.studio-offer--dark, .school-book-banner, .track-after, .book-offer-card { --offer-highlight: var(--studio-mint); }
:root .studio-offer--dark .studio-eyebrow { color: var(--studio-mint); }
:root .studio-offer--dark .studio-button:hover { box-shadow: 3px 3px 0 white; }
:root .studio-offer--dark .studio-button:focus-visible { outline-color: var(--studio-mint); }

/* The same title scale and cover treatment across the three entry points. */
.track-page .track-hero { grid-template-columns: minmax(0, 1.7fr) minmax(270px, 1fr); }
.book-hero .book-title-main { max-width: none; font-size: inherit; }
.book-hero .book-title-sub { margin-top: 24px; color: var(--studio-ink); font-size: clamp(1.5rem, 2.5vw, 2rem); font-weight: 800; line-height: 1.3; letter-spacing: -.035em; }
.book-hero-art, .book-final, .track-premium, .track-after { border-radius: 10px; }
.track-premium { border-color: var(--studio-ink); }
.track-premium h3 { max-width: 28ch; }
.track-premium-description { font-size: 1rem; line-height: 1.8; }
.track-after p:not(.track-kicker), .book-final p:not(.book-eyebrow) { font-size: 1rem; line-height: 1.8; }
.track-premium-action { min-width: 0; }
.track-hero-actions { gap: 12px; }
.book-final .book-final-action > p { font-size: .74rem; line-height: 1.65; }
:root .studio-button.header-cta-in-nav { display: none; }

@media (max-width: 900px) {
  .track-page .track-hero { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 768px) {
  :root .studio-hero-title { font-size: clamp(2.7rem, 11vw, 4rem); line-height: 1.08; }
  :root .studio-hero-title--long { font-size: clamp(2rem, 8.8vw, 3.4rem); }
  :root .studio-offer-title { font-size: clamp(1.5rem, 7.8vw, 1.9rem); line-height: 1.2; }
  :root .studio-offer-lead { font-size: 1rem; }
  :root .studio-button.header-cta-bar { display: none; }
  :root .studio-button.header-cta-in-nav { display: inline-flex; }
}
@media (max-width: 720px) {
  .book-hero-copy { order: -1; }
  .book-hero .book-title-sub { margin-top: 20px; font-size: 1.5rem; }
}
@media (max-width: 480px) {
  .track-hero-actions { align-items: stretch; grid-template-columns: minmax(0, 1fr); }
  .track-hero-actions .studio-button { width: 100%; }
  .track-premium-art { max-width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  :root .studio-button { transition: none; }
  :root .studio-button:hover { transform: none; }
}
