/* The reference page owns the visual system through its original inline
   styles. These rules are limited to the requested shared components,
   homepage FAQ, stage motion, and responsive adaptation. */

html {
  scroll-behavior: smooth;
}

html,
body {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

body {
  overflow-x: hidden;
}

.coaching-shared-header-spacer {
  height: 72px;
  background: #fff;
}

salesman-header,
salesman-footer {
  display: block;
}

salesman-header .header--solid,
salesman-header .header--solid.header--scrolled,
salesman-header .header--solid.scrolled {
  box-shadow: none !important;
}

.coaching-reference-faq {
  padding-top: 96px !important;
  padding-bottom: 96px !important;
  background: #fff;
}

.coaching-reference-faq .salesmanai-new-faq-title {
  margin-bottom: 40px;
  text-transform: none;
}

.coaching-reference-stages [sc-camel-on-click] {
  transition: color 220ms ease, background-color 220ms ease, transform 220ms ease;
}

.coaching-reference-stages [sc-camel-on-click]:hover {
  transform: translateY(-1px);
}

.coaching-reference-stage-panel,
.coaching-reference-stages .coaching-stage-enter {
  animation: coaching-reference-stage-enter 500ms cubic-bezier(.22, 1, .36, 1) both;
}

.coaching-reference-stage-panel[hidden] {
  display: none !important;
}

@keyframes coaching-reference-stage-enter {
  from {
    opacity: 0;
    transform: translateX(18px) scale(.992);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

.coaching-page,
.coaching-page > section,
.coaching-page [style*="display:grid"] > *,
.coaching-stage-card > * {
  min-width: 0;
}

.coaching-page img,
.coaching-page svg {
  max-width: 100%;
}

.coaching-page h1,
.coaching-page h2,
.coaching-page h3,
.coaching-page p {
  overflow-wrap: break-word;
}

.coaching-stage-tabs {
  scrollbar-width: none;
}

.coaching-stage-tabs::-webkit-scrollbar {
  display: none;
}

.coaching-stage-dropdown {
  display: none;
}

.coaching-stage-card > div:last-child {
  width: 100%;
  min-width: 0;
}

/* Restrained interaction motion: short travel, no looping effects. */
.coaching-page [style-hover],
.coaching-page [data-stage-tab],
.coaching-page [data-framework-tab],
.coaching-page a[style*="border-radius:999px"] {
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease,
    color 180ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .coaching-page [style-hover]:hover,
  .coaching-page a[style*="border-radius:999px"]:hover {
    transform: translateY(-2px);
  }

  .coaching-page [data-stage-tab]:hover,
  .coaching-page [data-framework-tab]:hover {
    transform: translateY(-1px);
  }
}

.coaching-page [style-hover]:active,
.coaching-page a[style*="border-radius:999px"]:active,
.coaching-page [data-stage-tab]:active,
.coaching-page [data-framework-tab]:active {
  transform: translateY(0);
}

.coaching-page.coaching-motion-ready .coaching-reveal {
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 420ms ease,
    transform 420ms cubic-bezier(.22, 1, .36, 1);
}

.coaching-page.coaching-motion-ready .coaching-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1180px) {
  .coaching-page > section,
  .coaching-reference-faq {
    padding-right: 28px !important;
    padding-left: 28px !important;
  }

  .coaching-stage-card {
    padding: 40px !important;
    gap: 36px !important;
  }

  .coaching-framework-layout {
    gap: 42px !important;
  }

  .coaching-outcomes-grid > div > div[style*="font-size:52px"] {
    font-size: 44px !important;
  }
}

@media (max-width: 980px) {
  .coaching-hero {
    padding-top: 64px !important;
    padding-bottom: 80px !important;
  }

  .coaching-page > section:not(.coaching-hero):not(.coaching-team):not(.coaching-trial):not(.coaching-final-cta),
  .coaching-reference-faq {
    padding-top: 72px !important;
    padding-bottom: 72px !important;
  }

  .coaching-team,
  .coaching-trial {
    padding-top: 64px !important;
    padding-bottom: 64px !important;
  }

  .coaching-page h1[style*="font-size:66px"] {
    font-size: 52px !important;
    line-height: 1.08 !important;
  }

  .coaching-page h2[style*="font-size:50px"],
  .coaching-page h2[style*="font-size:44px"],
  .coaching-page h2[style*="font-size:42px"] {
    font-size: 38px !important;
  }

  .coaching-problem-grid,
  .coaching-moments-grid,
  .coaching-outcomes-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .coaching-problem-grid > :last-child,
  .coaching-outcomes-grid > :last-child {
    grid-column: 1 / -1;
  }

  .coaching-stage-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    border-radius: 28px !important;
  }

  .coaching-stage-card,
  .coaching-framework-layout,
  .coaching-team-card,
  .coaching-trial-card {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .coaching-stage-card {
    gap: 34px !important;
  }

  .coaching-stage-card > div:last-child {
    max-width: 680px;
    margin: 0 auto;
  }

  .coaching-workflow-row--top {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 20px !important;
  }

  .coaching-workflow-row--top > :nth-child(even) {
    display: none !important;
  }

  .coaching-workflow-row--bottom {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .coaching-workflow-row--bottom > div {
    grid-column: auto !important;
  }

  .coaching-framework-layout > div:last-child {
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
  }

  .coaching-team-card {
    gap: 34px !important;
  }

  .coaching-team-card > div:last-child {
    width: 100%;
    max-width: 680px;
    margin: 0 auto;
  }

  .coaching-trial-card {
    gap: 30px !important;
  }

  .coaching-trial-actions {
    width: 100%;
    max-width: 380px;
    min-width: 0 !important;
  }

  .coaching-final-card {
    padding: 60px 40px !important;
  }
}

@media (max-width: 767px) {
  .coaching-stage-dropdown {
    display: block;
  }

  .coaching-stage-tabs {
    display: none !important;
  }
}

@media (max-width: 720px) {
  .coaching-page h1[style*="font-size:66px"] {
    font-size: 44px !important;
  }

  .coaching-page h2[style*="font-size:50px"],
  .coaching-page h2[style*="font-size:44px"],
  .coaching-page h2[style*="font-size:42px"] {
    font-size: 34px !important;
  }

  .coaching-page h3[style*="font-size:36px"] {
    font-size: 30px !important;
  }

  .coaching-comparison-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .coaching-final-card h2 {
    font-size: 36px !important;
  }
}

@media (max-width: 640px) {
  .coaching-shared-header-spacer {
    height: 64px;
  }

  .coaching-page > section,
  .coaching-reference-faq {
    padding-right: 20px !important;
    padding-left: 20px !important;
  }

  .coaching-hero {
    padding-top: 48px !important;
    padding-bottom: 60px !important;
  }

  .coaching-page > section:not(.coaching-hero):not(.coaching-team):not(.coaching-trial):not(.coaching-final-cta),
  .coaching-reference-faq {
    padding-top: 56px !important;
    padding-bottom: 56px !important;
  }

  .coaching-team,
  .coaching-trial {
    padding-top: 48px !important;
    padding-bottom: 48px !important;
  }

  .coaching-final-cta {
    padding-top: 0 !important;
    padding-bottom: 64px !important;
  }

  .coaching-page h1[style*="font-size:66px"] {
    font-size: 38px !important;
    line-height: 1.1 !important;
    letter-spacing: -.03em !important;
  }

  .coaching-page h2[style*="font-size:50px"],
  .coaching-page h2[style*="font-size:44px"],
  .coaching-page h2[style*="font-size:42px"],
  .coaching-page h2[style*="font-size:36px"] {
    font-size: 30px !important;
    line-height: 1.18 !important;
  }

  .coaching-page h3[style*="font-size:36px"],
  .coaching-page h2[style*="font-size:29px"] {
    font-size: 27px !important;
    line-height: 1.22 !important;
  }

  .coaching-page p[style*="font-size:19px"],
  .coaching-page p[style*="font-size:18px"],
  .coaching-page p[style*="font-size:17.5px"],
  .coaching-page p[style*="font-size:17px"],
  .coaching-page p[style*="font-size:16.5px"] {
    font-size: 15.5px !important;
  }

  .coaching-hero > div > div:first-child {
    gap: 18px !important;
  }

  .coaching-hero > div > div:nth-child(2) {
    margin-top: 40px !important;
    padding-top: 38px !important;
  }

  .coaching-hero-actions {
    width: 100%;
    max-width: 380px;
    flex-direction: column;
    align-items: stretch !important;
  }

  .coaching-hero-actions a,
  .coaching-final-card a {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .coaching-page a[style*="border-radius:999px"] {
    max-width: 100%;
    justify-content: center;
    text-align: center;
  }

  .coaching-page > section span[style*="border-radius:999px"] {
    max-width: 100%;
  }

  .coaching-platform-list {
    width: 100%;
    gap: 8px !important;
  }

  .coaching-platform-list > span {
    gap: 7px !important;
    padding: 9px 12px !important;
  }

  .coaching-platform-list > span > span {
    font-size: 12.5px !important;
  }

  .coaching-problem-grid,
  .coaching-moments-grid,
  .coaching-outcomes-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 14px !important;
  }

  .coaching-problem-grid > :last-child,
  .coaching-outcomes-grid > :last-child {
    grid-column: auto;
  }

  .coaching-problem-grid > div,
  .coaching-moments-grid > div {
    padding: 24px !important;
  }

  .coaching-rep-card {
    padding: 28px 24px !important;
    border-radius: 22px !important;
  }

  .coaching-reference-stages {
    padding-right: 16px !important;
    padding-left: 16px !important;
  }

  .coaching-stage-dropdown {
    margin-top: 32px;
  }

  .coaching-stage-card {
    padding: 22px !important;
    gap: 28px !important;
    border-radius: 22px !important;
  }

  .coaching-stage-card > div:last-child {
    padding: 14px !important;
    border-radius: 18px !important;
  }

  .coaching-stage-card > div:last-child > div:first-child {
    padding: 16px !important;
  }

  .coaching-stage-card [style*="justify-content:space-between"] {
    flex-wrap: wrap;
    gap: 10px;
  }

  .coaching-workflow-row--top {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 16px !important;
    margin-top: 34px !important;
  }

  .coaching-workflow-row--top > :nth-child(odd),
  .coaching-workflow-row--bottom > div > :first-child,
  .coaching-workflow-row--bottom > div > :last-child {
    width: 100% !important;
    flex-direction: row !important;
    justify-content: flex-start !important;
    text-align: left;
  }

  .coaching-workflow-row--top > :nth-child(odd) > div,
  .coaching-workflow-row--bottom > div > :first-child > div,
  .coaching-workflow-row--bottom > div > :last-child > div {
    flex: 0 0 auto;
  }

  .coaching-workflow-row--bottom {
    margin-top: 16px !important;
  }

  .coaching-workflow-row--bottom > div {
    flex-direction: column;
    gap: 16px !important;
  }

  .coaching-workflow-row--bottom > div > :nth-child(2) {
    display: none !important;
  }

  .coaching-workflow p[style*="padding:22px 26px"] {
    margin-top: 28px !important;
    padding: 18px !important;
  }

  .coaching-comparison-grid [style*="padding:22px 28px"] {
    padding: 18px 20px !important;
  }

  .coaching-comparison-grid [style*="padding:8px 28px 22px"] {
    padding: 6px 20px 18px !important;
  }

  .coaching-framework-layout > div:last-child {
    padding: 20px !important;
  }

  #coaching-framework-criteria > div {
    align-items: flex-start !important;
    flex-wrap: wrap;
  }

  #coaching-framework-criteria > div > span:last-child {
    width: 100%;
    padding-left: 34px;
  }

  .coaching-outcomes-grid > div {
    padding: 28px 24px !important;
  }

  .coaching-outcomes-grid > div > div[style*="font-size:52px"] {
    font-size: 38px !important;
    line-height: 1.3 !important;
  }

  .coaching-team-card,
  .coaching-trial-card {
    padding: 24px !important;
    border-radius: 22px !important;
  }

  .coaching-team-card > div:last-child {
    padding: 14px !important;
  }

  .coaching-workspace-row {
    flex-wrap: wrap;
  }

  .coaching-trial-actions {
    max-width: none;
  }

  .coaching-final-card {
    padding: 48px 22px !important;
    border-radius: 24px !important;
  }

  .coaching-final-card h2 {
    font-size: 32px !important;
  }

  .coaching-reference-faq .salesmanai-new-faq-title {
    margin-bottom: 28px;
    font-size: 30px;
  }

  .coaching-reference-faq .salesmanai-new-faq-item summary {
    gap: 14px;
    padding-right: 20px;
    padding-left: 20px;
  }

  .coaching-reference-faq .salesmanai-new-faq-item p {
    padding-right: 52px;
    padding-left: 20px;
  }
}

@media (max-width: 480px) {
  .coaching-stage-dropdown {
    margin-top: 28px;
  }
}

@media (max-width: 420px) {
  .coaching-page > section,
  .coaching-reference-faq {
    padding-right: 16px !important;
    padding-left: 16px !important;
  }

  .coaching-page h1[style*="font-size:66px"] {
    font-size: 34px !important;
  }

  .coaching-page h2[style*="font-size:50px"],
  .coaching-page h2[style*="font-size:44px"],
  .coaching-page h2[style*="font-size:42px"],
  .coaching-page h2[style*="font-size:36px"] {
    font-size: 28px !important;
  }

  .coaching-stage-card {
    padding: 18px !important;
  }

  .coaching-stage-card > div:last-child {
    padding: 10px !important;
  }

  .coaching-stage-card > div:last-child > div:first-child {
    padding: 13px !important;
  }

  .coaching-final-card {
    padding: 42px 18px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .coaching-page *,
  .coaching-page *::before,
  .coaching-page *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

  .coaching-reference-stage-panel,
  .coaching-reference-stages .coaching-stage-enter {
    animation: none;
  }

  .coaching-page.coaching-motion-ready .coaching-reveal {
    opacity: 1;
    transform: none;
  }
}
