@import url("/fonts.css");

:root {
  --ui-font: "Söhne", "Soehne", "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --editorial-font: var(--ui-font);
  --canvas: #fcfcfa;
  --panel: #fff;
  --tint: #f4f5fa;
  --selection: #e9edff;
  --text: #202331;
  --quiet: #5f6578;
  --rule: #e3e5ee;
  --edge: #cbd0de;
  --action: #2f4bff;
  --action-hover: #233bd6;
  --on-action: #fff;
  --accent-text: #263ed6;
  --focus: #2f4bff;
  --inverse: #1c2237;
  --on-inverse: #f0f2f9;
  --inverse-quiet: #bac3db;
  --inverse-rule: #3e475e;
  --danger: #a43131;
  --danger-soft: #fff1ef;
  --caution: #765219;
  --caution-soft: #f8f0e2;
  --mineral: #405b72;
  --mineral-soft: #eaf1f6;
  --lavender: #665a7a;
  --lavender-soft: #eeebf3;
  --radius: 9px;
  --control-height: 44px;
  --ease: cubic-bezier(0.2, 0.7, 0.3, 1);
  color-scheme: light;
}
:root[data-theme="dark"] {
  --canvas: #151824;
  --panel: #1d2230;
  --tint: #252b3b;
  --selection: #2b365d;
  --text: #edf0fb;
  --quiet: #abb4cb;
  --rule: #353d52;
  --edge: #697697;
  --action: #2f4bff;
  --action-hover: #405aff;
  --on-action: #fff;
  --accent-text: #abb7ff;
  --focus: #a3afff;
  --inverse: #111421;
  --on-inverse: #f0f2fc;
  --inverse-quiet: #b7c0d9;
  --inverse-rule: #353e54;
  --danger: #ffbcb5;
  --danger-soft: #3c2624;
  --caution: #e9cd98;
  --caution-soft: #3a3225;
  --mineral: #bad1e3;
  --mineral-soft: #263540;
  --lavender: #d5c7e5;
  --lavender-soft: #35303e;
  color-scheme: dark;
}
html,
body {
  font-family: var(--ui-font);
}
:root[data-theme="dark"] img:is([src="/assets/brands/shift4.com.png"], [src="/assets/brands/pax8.com.png"], [src="/assets/brands/builtwith.com.png"]) {
  background-color: #edf0fb;
  border-radius: 5px;
}
:where(button, input, select, textarea) {
  font-family: inherit;
}
.onboarding-trajectory { display: flex; align-items: end; gap: 3px; min-height: 26px; color: var(--edge); }
.onboarding-trajectory span { display: grid; gap: 2px; }
.onboarding-trajectory i { width: 4px; height: 4px; border-radius: 1px; background: currentColor; }
.onboarding-trajectory [data-filled] { color: var(--focus); }
.onboarding-trajectory [data-current] i:not(:first-child) { opacity: .5; }
:where(input, textarea)::placeholder {
  color: var(--quiet);
  opacity: 1;
}
:where(a, button, input, select, textarea, summary):focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}
ascend-theme {
  display: inline-flex;
  flex: none;
  vertical-align: middle;
}
ascend-theme:empty {
  display: none;
}
ascend-theme .theme-toggle {
  display: inline-grid;
  place-items: center;
  width: 44px;
  min-width: 44px;
  height: 44px;
  min-height: 44px;
  padding: 0;
  margin: 0;
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--radius);
  color: inherit;
  cursor: pointer;
  touch-action: manipulation;
  transition:
    color 190ms var(--ease),
    background-color 190ms var(--ease),
    border-color 190ms var(--ease),
    transform 180ms var(--ease);
}
ascend-theme .theme-toggle:hover {
  background: var(--tint);
  border-color: var(--rule);
  color: var(--text);
}
ascend-theme .theme-toggle:active {
  transform: scale(0.96);
}
ascend-theme .theme-toggle:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}
.theme-toggle svg {
  display: block;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.appearance-status {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
/* The approved Ascend wordmark has light and inverse artwork. */
.brand {
  display: inline-flex;
  align-items: center;
  width: 150px;
  max-width: 100%;
  line-height: 1;
  vertical-align: middle;
}
.brand img { display: block; width: 100%; height: auto; }
.brand .brand-on-dark,
[data-theme="dark"] .brand .brand-on-light,
.in-footer .brand .brand-on-light { display: none; }
[data-theme="dark"] .brand .brand-on-dark,
.in-footer .brand .brand-on-dark { display: block; }
@media (max-width: 600px) {
  .brand { width: 112px; }
}
@media (prefers-reduced-motion: reduce) {
  .theme-toggle,
  .theme-toggle svg {
    transition: none !important;
  }
}
