/* Site-wide UI refinement — spacing, clarity, calm hierarchy */

/* Book funnel */
.funnel-page .funnel__wrap {
  padding-block: clamp(2rem, 5vw, 3rem);
}

.funnel-page .funnel-single__title {
  letter-spacing: -0.03em;
  line-height: 1.12;
}

.funnel-page .funnel-schedule-inline {
  border-radius: 14px;
  overflow: hidden;
}

.funnel-page .navbar__in {
  min-height: 3rem;
}

/* Demo wizard */
.demo-ss {
  line-height: 1.6;
}

.demo-ss__header-in {
  padding: 0.85rem 1.25rem;
}

.demo-ss__title {
  letter-spacing: -0.03em;
  line-height: 1.12;
}

.demo-ss__lead {
  color: var(--ss-muted);
  max-width: 38ch;
}

.demo-ss__path-card,
.demo-ss__choice,
.demo-ss__stat-card {
  border-radius: 12px;
}

.demo-ss__path-card:focus-visible,
.demo-ss__choice:focus-visible {
  outline: 2px solid rgba(255, 98, 0, 0.45);
  outline-offset: 2px;
}

/* Legal pages */
.legal-page .legal {
  padding: clamp(2rem, 5vw, 3rem) 0 clamp(3rem, 6vw, 4rem);
}

.legal-page .legal__title {
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.legal-page .legal__section p,
.legal-page .legal__section li {
  line-height: 1.7;
}

/* Account / profile */
.account-page .account-card {
  border-radius: 14px;
}

.account-page .account-card__title {
  letter-spacing: -0.025em;
}

@media (max-width: 767px) {
  .funnel-page .funnel__wrap--wide {
    width: min(100%, calc(100% - 1.5rem));
  }

  .demo-ss__header-in {
    grid-template-columns: 1fr auto;
    gap: 0.5rem;
  }

  .demo-ss__step-label {
    justify-self: end;
  }
}
