/*
 * Waydev UX polish, November 2026.
 * Presentation and interaction only: no copy, section, pricing or navigation changes.
 * Priorities: legibility & accessibility (4), spacing rhythm (5), CTA & form states (6).
 */
:root {
  --wd-ux-blue:#1178EB;
  --wd-ux-blue-hover:#0564CD;
  --wd-ux-focus:#56ACFF;
  --wd-ux-ink:#17304C;
  --wd-ux-muted:#536A84;
  --wd-ux-line:#D6E3F0;
  --wd-ux-radius:8px;
}

/* Keyboard focus: visible on bright and dark surfaces, without changing
   mouse-click styling or any existing control behavior. */
body :is(a,button,input,select,textarea,summary,[role="button"]):focus-visible {
  outline:3px solid var(--wd-ux-focus)!important;
  outline-offset:3px!important;
}
body :is(.wd-ai-overview,.wd-ask-panel,.wd-build-page,.wfdir,.wpricinghero-block) :is(button,a,select,input,textarea,summary):focus-visible {
  position:relative;
  z-index:2;
}
body :is(button,a,select,input,textarea)[disabled],
body :is(button,a)[aria-disabled="true"] {
  cursor:not-allowed!important;
  opacity:.55;
}
body :is(.wd-ai-overview,.wd-ask-panel,.wd-build-page,.wfdir,.wpricinghero-block) button,
body :is(.wd-ai-overview,.wd-ask-panel,.wd-build-page,.wfdir,.wpricinghero-block) a {
  -webkit-tap-highlight-color:rgba(17,120,235,.13);
}
@media(prefers-reduced-motion:reduce){
  body :is(.wd-ai-overview,.wd-ask-panel,.wd-build-page,.wfdir,.wpricinghero-block)
  :is(a,button,summary) {
    transition-duration:.01ms!important;
    animation-duration:.01ms!important;
  }
}

/* Homepage dashboard: preserve the approved layout while fixing the
   tiny, washed-out labels and low-contrast values. */
#homepage_hero .wd-ai-overview .wd-ai-filters label span {
  color:#395675!important;
  font-size:11px!important;
  line-height:1.3!important;
}
#homepage_hero .wd-ai-overview .wd-ai-filters label {
  gap:6px!important;
  padding:9px 12px 10px!important;
}
#homepage_hero .wd-ai-overview .wd-ai-filters select {
  font-size:13px!important;
  color:#173650!important;
  min-height:24px!important;
}
#homepage_hero .wd-ai-overview .wd-ai-section-heading span,
#homepage_hero .wd-ai-overview .wd-ai-accordion-grid span {
  color:#1262BC!important;
  font-size:11px!important;
}
#homepage_hero .wd-ai-overview .wd-ai-period-label {
  color:#50657D!important;
  font-size:12px!important;
}
#homepage_hero .wd-ai-overview .wd-ai-ring strong {
  color:#087F79!important;
}
#homepage_hero .wd-ai-overview .wd-ai-card-info small {
  color:#186849!important;
  font-size:11px!important;
}
#homepage_hero .wd-ai-overview .wd-ai-microkpis span {
  color:#455B76!important;
  font-size:11px!important;
  line-height:1.45!important;
}
#homepage_hero .wd-ai-overview .wd-ai-microkpis small {
  color:#526781!important;
  font-size:11px!important;
}
#homepage_hero .wd-ai-overview .wd-ai-microkpis .wd-ai-upbad {
  color:#A64720!important;
}
#homepage_hero .wd-ai-overview .wd-ai-microkpis .wd-ai-upgood {
  color:#137347!important;
}
#homepage_hero .wd-ai-overview .wd-ai-panel-header p,
#homepage_hero .wd-ai-overview .wd-ai-bottomdata small,
#homepage_hero .wd-ai-overview .wd-ai-disclaimer {
  color:#4C627C!important;
  font-size:11px!important;
  line-height:1.6!important;
}
#homepage_hero .wd-ai-overview .wd-ai-legend button {
  color:#365475!important;
  font-size:11px!important;
  min-height:30px!important;
  padding:5px 3px!important;
}
#homepage_hero .wd-ai-overview .wd-ai-legend button[aria-pressed="false"] {
  opacity:.62!important;
  text-decoration:line-through;
  text-decoration-thickness:1px;
}
#homepage_hero .wd-ai-overview .wd-ai-metrictabs button {
  font-size:11px!important;
  min-height:42px!important;
  color:#36516F!important;
  padding:10px 12px!important;
}
#homepage_hero .wd-ai-overview .wd-ai-metrictabs button[aria-pressed="true"] {
  color:#0F58B4!important;
  font-weight:750!important;
}
#homepage_hero .wd-ai-overview .wd-ai-chart-select select {
  font-size:12px!important;
  min-height:39px!important;
  color:#244A6C!important;
}
#homepage_hero .wd-ai-overview .wd-ai-settings {
  min-height:44px!important;
  font-size:12px!important;
}
#homepage_hero .wd-ai-overview :is(.wd-ai-gauge-card,.wd-ai-microkpis button,.wd-ai-accordion-toggle) {
  transition:border-color .16s ease,box-shadow .16s ease,background-color .16s ease;
}
#homepage_hero .wd-ai-overview :is(.wd-ai-gauge-card,.wd-ai-microkpis button):hover {
  border-color:#80B5F0!important;
  box-shadow:0 5px 18px #216DD01C!important;
}
#homepage_hero .wd-ai-overview .wd-ai-accordion-toggle:hover {
  background:#DDEEFF!important;
}
#homepage_hero .wd-ai-overview .wd-ai-accordion-toggle {
  min-height:48px!important;
}

/* The visual hierarchy is unchanged even though semantic headings are now
   H2/H3, fixing the dashboard's skipped heading levels. */
#homepage_hero .wd-ai-overview .wd-ai-section-heading h2 {
  font-size:24px!important;
  line-height:1.16!important;
  font-weight:750!important;
  color:#142841!important;
  margin:5px 0!important;
  letter-spacing:normal!important;
}
#homepage_hero .wd-ai-overview .wd-ai-panel-header h3 {
  font-size:15px!important;
  color:#162942!important;
  font-weight:750!important;
  margin:0!important;
  line-height:1.35!important;
  letter-spacing:normal!important;
}

/* Ask Waydev: improve subdued text and small interactive targets,
   preserving the drawer's appearance and functionality. */
#homepage_hero .wd-ask-panel .wd-ask-welcome-note,
#homepage_hero .wd-ask-panel .wd-ask-disclaimer {
  color:#516782!important;
  font-size:11px!important;
  line-height:1.6!important;
}
#homepage_hero .wd-ask-panel .wd-ask-mode-row button {
  min-height:48px!important;
  font-size:11px!important;
  border-color:#C5D8EC!important;
}
#homepage_hero .wd-ask-panel .wd-ask-suggestions button {
  min-height:44px!important;
  font-size:12px!important;
  color:#203A59!important;
}
#homepage_hero .wd-ask-panel .wd-ask-compose textarea::placeholder {
  color:#596D87!important;
}
#homepage_hero .wd-ask-panel .wd-ask-header-actions button {
  min-height:36px!important;
  min-width:36px!important;
}
#homepage_hero .wd-ask-panel :is(.wd-ask-header-actions button,.wd-ask-suggestions button,.wd-ask-mode-row button):hover {
  background:#E8F2FF!important;
  color:#0F55AC!important;
}

/* Shared conversion controls: consistent minimum target, readable spacing,
   focus and feedback across the current pages; no copy or link changes. */
#homepage_hero .hero_cta_btns .wbtn,
.wpricinghero-block .pricing_hero_card_btn,
.wfdir :is(.wfdir-button,.wfdir-cta),
#wd-build-main :is(.wd-build-primary,.wd-build-secondary,.wd-build-live-cta,.wd-build-brain-link),
.special-page__form-panel :is(button[type="submit"],input[type="submit"]) {
  min-height:48px!important;
  box-sizing:border-box!important;
  display:inline-flex;
  justify-content:center;
  align-items:center;
  text-align:center;
  line-height:1.35!important;
}
#homepage_hero .hero_cta_btns .wbtn:hover,
.wpricinghero-block .pricing_hero_card_btn:hover,
.wfdir .wfdir-button:hover,
#wd-build-main .wd-build-primary:hover {
  filter:brightness(1.06);
}
.special-page__form-panel :is(input:not([type="checkbox"]):not([type="radio"]),select,textarea),
.wpricinghero-block :is(input:not([type="checkbox"]):not([type="radio"]),select,textarea),
#wd-build-main :is(input:not([type="checkbox"]):not([type="radio"]),select,textarea) {
  box-sizing:border-box;
  max-width:100%;
}
/* Improve real lead-form targets without touching HubSpot form values or
   submission handlers. The native fields remain under provider control. */
.special-page__form-panel :is(input[type="text"],input[type="email"],input[type="tel"],input[type="url"],select),
.wpricinghero-block :is(input[type="text"],input[type="email"],input[type="tel"],select) {
  min-height:44px!important;
  border-radius:8px!important;
  padding:10px 13px!important;
  line-height:1.4!important;
}
.special-page__form-panel :is(textarea) {
  min-height:92px;
  border-radius:8px!important;
  padding:12px 13px!important;
}
@media(max-width:767px) {
  .special-page__form-panel :is(input[type="text"],input[type="email"],input[type="tel"],input[type="url"],select,textarea) {
    font-size:16px!important;
  }
}
.special-page__form-panel :is(input,textarea,select):focus-visible,
.wpricinghero-block :is(input,textarea,select):focus-visible,
#wd-build-main :is(input,textarea,select):focus-visible {
  border-color:#1685F8!important;
  outline:3px solid #62B5FF!important;
  outline-offset:2px!important;
}
#wd-build-main .wd-build-choice-grid label,
#wd-build-main .wd-build-radios label {
  min-height:48px!important;
  line-height:1.5!important;
}

/* Measured spacing rhythm on interactive cards and common calls to action. */
#homepage_hero .wd-ai-overview .wd-ai-chartgrid {
  gap:12px!important;
  margin-bottom:12px!important;
}
#homepage_hero .wd-ai-overview .wd-ai-microkpis {
  gap:10px!important;
  margin-bottom:12px!important;
}
#homepage_hero .wd-ai-overview .wd-ai-panel-header {
  padding:18px 18px 10px!important;
  gap:12px!important;
}
#homepage_hero .wd-ai-overview .wd-ai-legend {
  column-gap:14px!important;
  row-gap:6px!important;
}
.wpricinghero-block .pricing_hero_card_btn,
#wd-build-main .wd-build-live-cta,
.wfdir .wfdir-button {
  border-radius:8px!important;
}

/* Preserve the existing iPhone layout corrections and let text wrap rather
   than expanding the document on narrow screens. */
@media(max-width:767px) {
  #homepage_hero .wd-ai-overview .wd-ai-section-heading h2 {
    font-size:20px!important;
  }
  #homepage_hero .wd-ai-overview .wd-ai-panel-header {
    padding:14px 12px 8px!important;
  }
  #homepage_hero .wd-ai-overview .wd-ai-filters label {
    padding:9px!important;
  }
  #homepage_hero .wd-ai-overview .wd-ai-microkpis strong {
    max-width:100%;
    overflow-wrap:anywhere;
  }
  #homepage_hero .wd-ask-panel .wd-ask-compose textarea {
    font-size:16px!important;
  }
  :is(.wpricinghero-block,.wfdir,#wd-build-main,.special-page__form-panel)
  :is(a,button,input,select,textarea) {
    max-width:100%;
  }
}
