html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

.site-header {
  transition: background-color 0.2s ease, box-shadow 0.2s ease, backdrop-filter 0.2s ease;
}

.site-header.is-scrolled {
  background-color: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.site-nav-desktop {
  display: none;
  gap: 0.125rem;
}

.site-nav-link {
  white-space: nowrap;
}

.site-nav-link .nav-icon {
  display: none;
}

@media (min-width: 1280px) {
  .site-nav-link .nav-icon {
    display: inline-flex;
  }

  .site-nav-desktop {
    gap: 0.25rem;
  }

  .site-nav-link,
  .nav-dropdown-toggle.site-nav-link {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
    gap: 0.375rem;
  }

  .site-nav-cta {
    margin-left: 0.5rem;
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

@media (min-width: 1024px) {
  .site-nav-desktop {
    display: flex;
  }
}

.nav-dropdown-panel {
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s ease;
}

.nav-dropdown.is-open .nav-dropdown-panel,
.nav-dropdown:hover .nav-dropdown-panel,
.nav-dropdown:focus-within .nav-dropdown-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mobile-nav-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}

.mobile-nav-panel.is-open {
  max-height: 40rem;
}

@media (min-width: 1024px) {
  #mobile-menu-toggle,
  #mobile-nav {
    display: none !important;
  }
}

.field-error {
  animation: shake 0.3s ease;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  75% { transform: translateX(4px); }
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.help-tile.is-selected {
  border-color: rgb(245 158 11);
  background-color: rgb(255 251 235);
}

.help-selection-bar {
  position: fixed !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 9999 !important;
  border-top: 1px solid rgb(226 232 240);
  background-color: #fff;
  box-shadow: 0 -4px 16px rgba(15, 23, 42, 0.12);
  padding-bottom: env(safe-area-inset-bottom, 0);
}

body.has-help-sticky-bar {
  padding-bottom: 5rem;
}

body.has-help-sticky-bar footer {
  padding-bottom: 4rem;
}

.help-summary-dialog {
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  max-width: 100vw;
  max-height: 100dvh;
  margin: 0;
  padding: 0;
  border: 0;
  background-color: #f8fafc;
  overflow: hidden;
}

.help-summary-dialog::backdrop {
  background-color: #f8fafc;
}

.help-summary-dialog[open] {
  display: flex;
  flex-direction: column;
}

.help-summary-fullpage {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  width: 100%;
  min-height: 0;
  overflow: hidden;
}

.help-summary-header {
  flex: 0 0 auto;
  border-bottom: 1px solid rgb(226 232 240);
  background-color: #fff;
  padding-top: env(safe-area-inset-top, 0);
}

.help-summary-header-inner {
  min-height: 4.5rem;
  padding-top: 0.875rem;
  padding-bottom: 1.25rem;
}

.help-summary-content {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.help-summary-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
}

@media (min-width: 768px) {
  .help-summary-content {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }

  .help-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
  }
}

@media (min-width: 1280px) {
  .help-summary-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
  }
}

.help-summary-footer {
  flex: 0 0 auto;
  border-top: 1px solid rgb(226 232 240);
  background-color: #fff;
  padding-bottom: env(safe-area-inset-bottom, 0);
}

.help-summary-footer-inner {
  min-height: 4.5rem;
  padding-top: 0.875rem;
  padding-bottom: 0.875rem;
}

body.help-modal-open {
  overflow: hidden;
}

body.help-modal-open .help-selection-bar {
  display: none !important;
}

.headcoach-closing {
  margin-bottom: 2rem;
}

.fp-search-wrap {
  position: relative;
}

.fp-search-icon {
  width: 2.75rem;
  z-index: 1;
}

.fp-search-input {
  box-sizing: border-box;
  display: block;
  width: 100%;
  min-height: 3rem;
  padding: 0.75rem 1rem 0.75rem 2.75rem;
  font-size: 1rem;
  line-height: 1.5;
  appearance: none;
  -webkit-appearance: none;
}

.fp-search-input::placeholder {
  color: rgb(148 163 184);
  opacity: 1;
}

.fp-search-input:focus {
  border-color: rgb(245 158 11);
  outline: none;
  box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.2);
}

.fp-tag-btn {
  padding: 0.375rem 0.875rem;
}

.fp-card.fp-card--filtered-out {
  display: none !important;
}

.fp-main {
  padding-top: 3rem;
  padding-bottom: 4rem;
}

.fp-grid-spacer {
  height: 2rem;
}

.fp-grid {
  margin-top: 0;
}

.fp-card-actions {
  margin-top: 1.25rem;
}
