@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@500;600;700;800&display=swap');

/* Shared site header and footer, rendered by /site-chrome.js. Self-contained so it looks the same on every page,
   including article pages, which restyle .top-bar. Selectors start with "html body" to win over page-level rules. */

/* ---------- Header ---------- */
html body .top-bar.sc-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 68px;
  padding: 0;
  display: block;
  font-family: 'Manrope', sans-serif;
  color: #0a0a0a;
  z-index: 50;
  background: rgba(255, 255, 255, .78);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid rgba(10, 10, 10, .07);
  transition: box-shadow .3s ease, background .3s ease;
}
html body .top-bar.sc-header.scrolled,
html body .top-bar.sc-header.sc-open {
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 4px 18px rgba(0, 0, 0, .07);
}
/* Lines the logo up with the page content edge used by the homepage and company pages. */
html body .sc-header .sc-header-inner {
  width: min(1100px, calc(100vw - 112px));
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 2.25rem;
}
html body header.top-bar.sc-header .sc-logo {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: 21px;
  font-weight: 800;
  color: #0a0a0a;
  text-decoration: none;
  letter-spacing: -.01em;
  flex: none;
}
html body header.top-bar.sc-header .sc-logo img { width: 28px; height: 28px; display: block; }
html body .sc-header .sc-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 1.75rem);
}
html body .sc-header .sc-link {
  color: #0a0a0a;
  text-decoration: none;
  font-size: .95rem;
  font-weight: 600;
  opacity: .75;
  transition: opacity .2s ease;
  padding: .25rem 0;
  border-bottom: 2px solid transparent;
}
html body .sc-header .sc-link:hover { opacity: 1; }
html body .sc-header .sc-link[aria-current="page"] { opacity: 1; border-bottom-color: #c9e04a; }
html body .sc-header .sc-actions { display: flex; align-items: center; gap: .6rem; flex: none; margin-left: auto; }
html body .sc-header .sc-btn {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .4rem 1rem;
  border-radius: 100px;
  background: rgba(255, 255, 255, .55);
  border: 1px solid rgba(255, 255, 255, .6);
  box-shadow: 0 4px 20px rgba(0, 0, 0, .08);
  color: #0a0a0a;
  font-size: .95rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: transform .2s ease, background .2s ease;
}
html body .sc-header .sc-btn:hover { transform: translateY(-1px); background: rgba(255, 255, 255, .85); }
html body .sc-header .sc-btn--ghost { font-weight: 600; }
html body .sc-header .sc-arrow {
  display: inline-grid;
  place-items: center;
  width: 1.3rem;
  height: 1.3rem;
  border-radius: 50%;
  background: #e1ff8b;
  font-size: .8rem;
}
html body .sc-header .sc-menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  padding: 10px 8px;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-between;
}
html body .sc-header .sc-menu-toggle span { display: block; height: 2px; border-radius: 2px; background: #0a0a0a; transition: transform .2s ease, opacity .2s ease; }
html body .sc-header.sc-open .sc-menu-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
html body .sc-header.sc-open .sc-menu-toggle span:nth-child(2) { opacity: 0; }
html body .sc-header.sc-open .sc-menu-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
html body .sc-header .sc-mobile-menu {
  position: absolute;
  top: 68px;
  left: 0;
  right: 0;
  display: grid;
  gap: .25rem;
  padding: .75rem clamp(12px, 3vw, 28px) 1.25rem;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 12px 24px rgba(0, 0, 0, .08);
}
html body .sc-header .sc-mobile-menu[hidden] { display: none; }
html body .sc-header .sc-mobile-menu .sc-link { font-size: 1.05rem; padding: .6rem 0; opacity: .9; border-bottom: 1px solid rgba(0, 0, 0, .06); }

@media (max-width: 960px) {
  html body .top-bar.sc-header { height: 60px; }
  html body .sc-header .sc-header-inner { width: auto; padding: 0 16px; }
  html body .sc-header .sc-nav,
  html body .sc-header .sc-hide-mobile { display: none; }
  html body .sc-header .sc-menu-toggle { display: flex; }
  html body .sc-header .sc-mobile-menu { top: 60px; padding: .5rem 16px 1.25rem; }
  html body .sc-header .sc-mobile-menu .sc-link { min-height: 44px; display: flex; align-items: center; }
}
@media (max-width: 380px) {
  html body .sc-header .sc-btn { padding: .35rem .75rem; font-size: .85rem; }
}

/* ---------- Footer ---------- */
html body footer.footer.sc-footer {
  background: #e1ff8b;
  color: #0a0a0a;
  padding: 3rem clamp(16px, 4vw, 40px) 1.5rem;
  text-align: left;
  font-family: 'Manrope', sans-serif;
  font-weight: 500;
  font-size: .95rem;
  border-top: 0;
}
html body .sc-footer .sc-footer-inner {
  width: min(1100px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2.6fr);
  gap: 2.5rem;
}
html body .sc-footer .sc-footer-logo { font-size: 1.35rem; font-weight: 800; color: inherit; text-decoration: none; }
html body .sc-footer .sc-footer-brand p { margin: .6rem 0 1rem; line-height: 1.5; opacity: .8; max-width: 26ch; }
html body .sc-footer .sc-badges { display: flex; flex-wrap: wrap; gap: .5rem; }
html body .sc-footer .sc-badges img { height: 40px; width: auto; display: block; }
/* The Google Play PNG has 41px of transparent padding on a 250px-tall canvas; scale and trim it to match the App Store badge. */
html body .sc-footer .sc-badges img[src*="google-play"] { height: 60px; margin: -10px; }
html body .sc-footer .sc-footer-cols { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.5rem; }
html body .sc-footer .sc-footer-col { display: grid; align-content: start; gap: .55rem; }
html body .sc-footer .sc-footer-title { margin: 0 0 .2rem; font-weight: 800; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; }
html body .sc-footer .sc-footer-col a { color: inherit; text-decoration: none; opacity: .78; line-height: 1.35; }
html body .sc-footer .sc-footer-col a:hover { opacity: 1; text-decoration: underline; }
html body .sc-footer .sc-footer-bottom {
  width: min(1100px, 100%);
  margin: 2.5rem auto 0;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(0, 0, 0, .12);
  font-size: .85rem;
  font-weight: 600;
  opacity: .75;
}

@media (max-width: 960px) {
  html body .sc-footer .sc-footer-inner { grid-template-columns: 1fr; }
  html body .sc-footer .sc-footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
