/* Shared navigation and footer for the v5 brand. Fonts are self-hosted so the portable page stays offline. */
@font-face {
  font-family: Geist;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("assets/geist-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("assets/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Geist Mono";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("assets/geist-mono-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

body .site-header.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: 68px;
  background: #ffffffeb;
  color: #211c30;
  border: 0;
  border-bottom: 1px solid #ece8f2;
  backdrop-filter: blur(10px);
}
body .site-header .header-inner {
  height: 68px;
  min-height: 68px;
  width: min(1200px, calc(100% - 64px));
  max-width: 1200px;
  margin-inline: auto;
  padding: 0;
  gap: 28px;
  display: flex;
  align-items: center;
}
body .site-header .brand {
  gap: 8px;
  color: inherit;
  text-decoration: none;
}
body .site-header .brand-logo,
body .site-footer .brand-logo,
img.dialog-mark,
img.small-brand-mark,
img[src$="uptold-logo.svg"],
img[src$="uptold-mark.svg"],
img[src$="favicon.svg"] {
  filter: none;
  mix-blend-mode: normal;
}
body .site-header .brand-logo {
  width: 30px;
  height: 30px;
  flex: none;
  display: block;
}
body .site-header .brand > span {
  font-family: Geist, Inter, system-ui, sans-serif;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.03em;
  line-height: 1;
  color: #211c30;
}
/* Approved pages still paint this wordmark for the old dark header.
   This selector wins so “uptold” stays readable on the light bar. */
body.approved-page .site-header .brand > span:not(.pro-badge) {
  color: #211c30;
}
body .site-header .desktop-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 0 auto;
  font-family: Inter, system-ui, sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: #3d3750;
}
body .site-header .desktop-nav a {
  font-size: 15px;
  font-weight: 500;
  padding: 12px 0;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
}
body .site-header .desktop-nav a::after { content: none; }
body .site-header .desktop-nav a[aria-current="page"] { color: #39186b; }
body .site-header .header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: 0;
  flex: none;
}
body .site-header .header-actions .si-link,
body .site-header .header-actions .si-bar { order: 1; }
body .site-header .header-actions .header-report { order: 2; }
body .site-header .header-actions .header-trial { order: 3; }
body .site-header .header-actions .mobile-toggle { order: 4; }
body .site-header .header-actions a.header-report {
  background: transparent;
  color: #39186b;
  border: 1px solid #d9d0ea;
}
body .site-header .header-trial .trial-note {
  font-weight: 500;
  font-size: 12px;
  opacity: .9;
}
body .site-header .si-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 6px;
  font-family: Inter, system-ui, sans-serif;
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
}
body .site-header .si-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
body .site-header .si-bar { display: none; }
body .site-header .si-ic {
  width: 22px;
  height: 22px;
  flex: none;
}
body .v5-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  padding: 0 16px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-family: Inter, system-ui, sans-serif;
  font-weight: 600;
  font-size: 14px;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}
body .v5-btn-v { background: #39186b; color: #fff; }
body .site-header .header-actions a.v5-btn.v5-btn-v {
  background: linear-gradient(90deg, #9135C3, #373EFE);
  color: #fff;
  border: 0;
}
body .v5-btn-w { background: #fff; color: #211c30; border-color: #ece8f2; }
body .site-header .v5-btn:hover,
body .site-footer .v5-btn:hover { text-decoration: none; transform: translateY(-1px); }
body .site-header a:focus-visible,
body .site-header button:focus-visible,
body .site-footer a:focus-visible,
body .site-footer button:focus-visible {
  outline: 3px solid #39186b;
  outline-offset: 3px;
}
body .site-header .mobile-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin: 0;
  flex: none;
  border: 0;
  background: transparent;
  color: #211c30;
  align-items: center;
  justify-content: center;
}
body .site-header .mobile-nav {
  display: none;
}
body .site-footer.site-footer {
  display: block;
  background: #fff;
  color: #211c30;
  border: 0;
  border-radius: 40px 40px 0 0;
  margin-top: -40px;
  position: relative;
  padding: 64px 0 32px;
}
body .site-footer .v5-foot {
  width: min(1200px, calc(100% - 64px));
  max-width: 1200px;
  margin-inline: auto;
  padding: 0;
}
body .site-footer .brand > span {
  font-family: Geist, Inter, system-ui, sans-serif;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.03em;
  color: #211c30;
}
body .site-footer .brand-logo { width: 30px; height: 30px; display: block; }
body .v5-ft {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
body .v5-ft-actions { display: flex; gap: 10px; flex-wrap: wrap; }
body .v5-fcols {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin: 48px 0;
}
body .v5-fcols h2 {
  font-family: Inter, system-ui, sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
  color: #6b6579;
  margin: 0 0 14px;
}
body .v5-fcols a {
  display: block;
  font-family: Inter, system-ui, sans-serif;
  font-size: 16px;
  font-weight: 500;
  padding: 4px 0;
  color: #211c30;
  text-decoration: none;
}
body .v5-fcols a[aria-current="page"] { color: #39186b; }
body .v5-legal {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-family: Inter, system-ui, sans-serif;
  font-size: 13px;
  color: #6b6579;
  border-top: 1px solid #ece8f2;
  padding-top: 22px;
}
body .v5-legal a,
body .v5-legal button {
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}
body .v5-legal span:last-child { display: flex; flex-wrap: wrap; gap: 8px 14px; }

@media (max-width: 899px) {
  body .site-header .header-inner,
  body .site-footer .v5-foot { width: min(1200px, calc(100% - 36px)); }
  body .site-header .desktop-nav,
  body .site-header .si-link { display: none !important; }
  body .site-header .si-bar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    width: 44px;
    height: 44px;
    flex: none;
    color: inherit;
    text-decoration: none;
    border-radius: 12px;
  }
  body .site-header .si-bar:hover { text-decoration: none; }
  body .site-header .header-inner { gap: 12px; }
  body .site-header .header-actions { margin-left: auto; gap: 4px; }
  body .site-header .header-actions .v5-btn { height: 44px; padding: 0 12px; font-size: 13px; }
  body .site-header .header-actions .header-report { display: none !important; }
  body .site-header .header-trial .trial-note { display: none; }
  body .site-header .mobile-toggle { display: inline-flex !important; }
  body .site-header .mobile-nav:not([hidden]) {
    display: flex !important;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 2px;
    padding: 8px 18px 18px;
    background: #fff;
    color: #211c30;
    border-bottom: 1px solid #ece8f2;
    box-shadow: 0 18px 40px #39186b14;
    max-height: calc(100dvh - 68px);
    overflow: auto;
  }
  body .site-header .mobile-nav a,
  body .site-header .mobile-nav button {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 8px 4px;
    background: none;
    border: 0;
    text-align: left;
    font-family: Inter, system-ui, sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #211c30;
    text-decoration: none;
  }
  body .site-header .mobile-nav .si-sep {
    border: 0;
    border-top: 1px solid #ece8f2;
    margin: 8px 0;
    width: 100%;
    height: 0;
  }
  body .site-header .mobile-nav a.si-drawer-a { gap: 10px; font-weight: 600; }
  body .site-header .mobile-nav a.si-drawer-cta {
    justify-content: center;
    flex-direction: column;
    gap: 2px;
    line-height: 1.2;
    border-radius: 12px;
    background: linear-gradient(90deg, #9135C3, #373EFE);
    color: #fff;
    font-weight: 600;
    min-height: 52px;
    margin: 4px 0 8px;
    text-decoration: none;
  }
  body .site-header .mobile-nav a.si-drawer-cta small {
    font-size: 12px;
    font-weight: 500;
    opacity: .92;
  }
  body .site-header .mobile-nav a.si-drawer-cta:hover { text-decoration: none; color: #fff; }
  body .site-header .mobile-nav a.si-drawer-report {
    justify-content: center;
    min-height: 48px;
    margin-bottom: 8px;
    border: 1px solid #d9d0ea;
    border-radius: 12px;
    color: #39186b;
    font-weight: 600;
  }
  body .v5-fcols { grid-template-columns: 1fr 1fr; margin: 32px 0; }
  body .site-footer.site-footer { border-radius: 28px 28px 0 0; padding: 40px 0 28px; }
}
@media (min-width: 900px) {
  body .site-header .mobile-toggle,
  body .site-header .mobile-nav { display: none !important; }
}
@media (max-width: 380px) {
  body .site-header .brand > span,
  body .site-footer .brand > span { font-size: 16px; }
  body .site-header .brand-logo { width: 26px; height: 26px; }
  body .site-header .header-actions .v5-btn { padding: 0 10px; font-size: 12px; height: 44px; }
}
@media (max-width: 430px) {
  body .site-header .header-actions .v5-btn { height: 44px; min-height: 44px; }
  body .site-header .mobile-toggle { width: 44px; height: 44px; min-width: 44px; min-height: 44px; }
  body .v5-legal span:last-child { gap: 12px 12px; }
  body .v5-legal a,
  body .v5-legal button {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    padding: 0 4px;
  }
  body .v5-fcols a {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
  }
}
@media (max-width: 359px) {
  body .site-header .header-actions .v5-btn { display: none; }
}

@media (prefers-color-scheme: dark) {
  body.approved-page .site-header.site-header,
  body.approved-page .site-header .mobile-nav:not([hidden]) {
    background: #191c19f2;
    color: #f6f7f2;
    border-color: #444a41;
  }
  body.approved-page .site-header .brand > span:not(.pro-badge),
  body.approved-page .site-header .desktop-nav,
  body.approved-page .site-header .si-link,
  body.approved-page .site-header .si-bar,
  body.approved-page .site-header .mobile-toggle,
  body.approved-page .site-header .mobile-nav a,
  body.approved-page .site-header .mobile-nav button { color: #f6f7f2; }
  body.approved-page .site-header .mobile-nav a.si-drawer-cta { color: #fff; }
  body.approved-page .site-header .mobile-nav .si-sep { border-top-color: #444a41; }
  body.approved-page .site-footer.site-footer { background: #191c19; color: #f6f7f2; }
  body.approved-page .site-footer .brand > span,
  body.approved-page .v5-fcols a { color: #f6f7f2; }
  body.approved-page .v5-fcols h2,
  body.approved-page .v5-legal { color: #b9c0b5; border-color: #444a41; }
  body.approved-page .v5-btn-w { background: transparent; color: #f6f7f2; border-color: #444a41; }
  body.approved-page .site-header a:focus-visible,
  body.approved-page .site-header button:focus-visible,
  body.approved-page .site-footer a:focus-visible,
  body.approved-page .site-footer button:focus-visible { outline-color: #bcaaff; }
}

/* Suite pages and How it works use the violet dark theme. Pricing keeps its own colours. */
@media (prefers-color-scheme: dark) {
  body.approved-page:not([data-page="pricing"]) .site-header.site-header,
  body.approved-page:not([data-page="pricing"]) .site-header .mobile-nav:not([hidden]) {
    background: #140A28f2;
    color: #F4F1FA;
    border-color: #ffffff1f;
  }
  body.approved-page:not([data-page="pricing"]) .site-header .brand > span:not(.pro-badge),
  body.approved-page:not([data-page="pricing"]) .site-header .desktop-nav,
  body.approved-page:not([data-page="pricing"]) .site-header .si-link,
  body.approved-page:not([data-page="pricing"]) .site-header .si-bar,
  body.approved-page:not([data-page="pricing"]) .site-header .mobile-toggle,
  body.approved-page:not([data-page="pricing"]) .site-header .mobile-nav a,
  body.approved-page:not([data-page="pricing"]) .site-header .mobile-nav button {
    color: #F4F1FA;
  }
  body.approved-page:not([data-page="pricing"]) .site-header .mobile-nav a.si-drawer-cta { color: #fff; }
  body.approved-page:not([data-page="pricing"]) .site-header .mobile-nav .si-sep { border-top-color: #ffffff1f; }
  body.approved-page:not([data-page="pricing"]) .site-footer.site-footer {
    background: #1A0F33;
    color: #F4F1FA;
  }
  body.approved-page:not([data-page="pricing"]) .site-footer .brand > span,
  body.approved-page:not([data-page="pricing"]) .v5-fcols a {
    color: #F4F1FA;
  }
  body.approved-page:not([data-page="pricing"]) .v5-fcols h2,
  body.approved-page:not([data-page="pricing"]) .v5-legal {
    color: #C2B8D9;
    border-color: #ffffff1f;
  }
  body.approved-page:not([data-page="pricing"]) .v5-btn-w {
    background: transparent;
    color: #F4F1FA;
    border-color: #ffffff1f;
  }
  body.approved-page:not([data-page="pricing"]) .brand-logo {
    filter: none;
  }
  body.approved-page:not([data-page="pricing"]) .site-header a:focus-visible,
  body.approved-page:not([data-page="pricing"]) .site-header button:focus-visible,
  body.approved-page:not([data-page="pricing"]) .site-footer a:focus-visible,
  body.approved-page:not([data-page="pricing"]) .site-footer button:focus-visible {
    outline-color: #B9A6FF;
  }
}

@media (min-width: 900px) and (max-width: 1199px) {
  body .site-header .desktop-nav { gap: 16px; font-size: 14px; }
  body .site-header .header-inner { gap: 16px; }
  body .site-header .header-actions { gap: 10px; }
  body .site-header .header-actions .v5-btn { padding: 0 12px; }
  body .site-header .header-trial .trial-note { display: none; }
}
@media (min-width: 900px) and (max-width: 999px) {
  body .site-header .header-actions .header-report { display: none; }
}
@media (max-width: 900px) {
  body:not(.home-v5) .site-header .header-actions .v5-btn,
  body:not(.home-v5) .site-footer .v5-btn {
    min-height: 44px;
    height: 44px;
  }
  body:not(.home-v5) .v5-legal a,
  body:not(.home-v5) .v5-legal button {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    padding: 0 4px;
  }
  body.approved-page:not([data-page="pricing"]) .v5-btn-v {
    background: linear-gradient(110deg, #9135C3, #373EFE);
    color: #fff;
    border: 0;
  }
}
@media (prefers-color-scheme: dark) {
  html:not([data-theme="light"]) body .site-header .header-actions a.header-report,
  html:not([data-theme="light"]) body .site-header .mobile-nav a.si-drawer-report {
    color: #f4f1fa;
    border-color: #ffffff40;
    background: transparent;
  }
}
html[data-theme="dark"] body .site-header .header-actions a.header-report,
html[data-theme="dark"] body .site-header .mobile-nav a.si-drawer-report {
  color: #f4f1fa;
  border-color: #ffffff40;
  background: transparent;
}
@media (prefers-reduced-motion: reduce) {
  body .v5-btn { transition: none; }
  body .v5-btn:hover { transform: none; }
}
