/* Shared, responsive finishing layer for Semper's existing server-rendered UI. */
:root { --focus-ring: #93c5fd; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { -webkit-font-smoothing: antialiased; }
*, *::before, *::after { box-sizing: border-box; }
button, input, select, textarea { font: inherit; }
button, summary, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--focus-ring); outline-offset: 4px; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline-offset: 1px; }
input, select, textarea { max-width: 100%; }
button:disabled { cursor: not-allowed; opacity: .55; }
.hero { align-items: center; min-height: 0; gap: 56px; padding-top: 64px; padding-bottom: 64px; }
.hero h1 { font-size: clamp(36px, 4.1vw, 62px); letter-spacing: -.045em; line-height: 1.08; max-width: 650px; }
.hero h1 .gradient { color: #72a7ff; background: none; -webkit-text-fill-color: currentColor; }
.hero p.lede { max-width: 510px; line-height: 1.7; font-size: 18px; }
.hero-eyebrow { font-size: 12px; letter-spacing: .015em; }
.hero-demo { height: 650px; overflow: hidden; border-radius: 24px; }
.hero-demo iframe { height: 100%; }
.hero-ctas .btn { min-height: 48px; padding: 14px 22px; }
.feature { border-radius: 18px; padding: 28px; }
.pricing-card { border-radius: 20px; }
.main { max-width: 1440px; }
.page-title { letter-spacing: -.035em; }
.page-subtitle { line-height: 1.5; }
.sp-modal { max-height: calc(100dvh - 40px); overflow-y: auto; }
.sp-modal-actions button { min-height: 44px; }
.sp-today-collapsed { margin-bottom: 12px; }
.sp-today-summary { min-height: 64px; }
.sp-today-service { color: var(--text-dim); }
.sp-today-body { padding-top: 8px; }
@media (max-width: 800px) {
  .hero { padding: 36px 22px 40px; gap: 30px; }
  .hero-copy { text-align: left; }
  .hero-copy h1 { margin-top: 20px; margin-bottom: 20px; }
  .hero-copy p.lede { font-size: 16px; }
  .hero-ctas-desktop { display: flex; margin-top: 24px; flex-wrap: wrap; }
  .hero-ctas-mobile { display: none; }
  .hero-demo { height: 620px; max-width: 390px; }
  .hero h1 { font-size: clamp(34px, 8vw, 48px); }
  .features, .pricing { padding: 44px 22px; }
  .main { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
  .page-header { gap: 16px; align-items: center; }
  input:not([type=checkbox]):not([type=radio]), select, textarea { font-size: 16px !important; min-height: 44px; }
  .sp-today-summary {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto 12px;
    grid-template-areas: "customer when chev" "service badge chev";
    gap: 7px 10px !important;
    padding: 15px 13px !important;
    min-height: 78px;
  }
  .sp-today-customer { grid-area: customer; font-size: 15px !important; min-width: 0; }
  .sp-today-service { grid-area: service; font-size: 13px !important; display: block !important; max-width: none !important; }
  .sp-today-when { grid-area: when; font-size: 12px !important; text-align: right; }
  .sp-today-badge { grid-area: badge; justify-self: end; font-size: 9px !important; }
  .sp-today-chev { grid-area: chev; }
  .sp-today-summary > span:not([class]) { display: none; }
  .sp-booking-past { min-height: 48px; }
  .sp-copy { min-height: 32px; }
  .sp-modal { width: calc(100% - 24px); border-radius: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

@media (max-width: 600px) {
  #services-list > .signup-service-row {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 44px !important;
    padding: 12px; margin-bottom: 12px !important;
    border: 1px solid var(--border); border-radius: 12px;
  }
  .signup-service-row .svc-name { grid-column: 1 / -1; width: 100%; box-sizing: border-box; }
  .signup-service-row .svc-price, .signup-service-row .svc-dur { width: 100%; min-width: 0; box-sizing: border-box; }
  .signup-service-headings { display: none !important; }
}
