.tc-site-header {
  position: fixed;
  z-index: 1000;
  inset: 0 0 auto;
  height: 68px;
  border-bottom: 1px solid rgba(0, 0, 0, .055);
  background: rgba(255, 255, 255, .9);
  backdrop-filter: saturate(180%) blur(22px);
  -webkit-backdrop-filter: saturate(180%) blur(22px);
}

.tc-site-header *,
.tc-site-footer *,
.tc-not-found * {
  box-sizing: border-box;
}

.tc-site-header a,
.tc-site-footer a {
  color: inherit;
  text-decoration: none;
}

.tc-site-header-inner,
.tc-site-footer-inner {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.tc-site-header-inner {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.tc-site-brand {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
}

.tc-site-brand img {
  display: block;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  object-fit: contain;
}

.tc-site-brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.tc-site-brand-name {
  color: #1d1d1f;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -.045em;
}

.tc-site-brand-caption {
  margin-top: 4px;
  color: #77777c;
  font-size: 6.5px;
  font-weight: 600;
  letter-spacing: .055em;
  text-transform: uppercase;
}

.tc-site-search {
  position: relative;
  flex: 0 1 300px;
  min-width: 190px;
  margin: 0 6px;
}

.tc-site-search-input {
  width: 100%;
  height: 38px;
  padding: 0 14px;
  border: 1px solid #e3e5e8;
  border-radius: 999px;
  outline: none;
  background: rgba(248, 249, 250, .92);
  color: #1d1d1f;
  font: 500 12px/1 Inter, -apple-system, BlinkMacSystemFont, sans-serif;
}

.tc-site-search-input:focus {
  border-color: #92bdf0;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(0, 113, 227, .11);
}

.tc-site-search-results {
  position: absolute;
  z-index: 1100;
  top: calc(100% + 9px);
  right: 0;
  left: 0;
  max-height: 40vh;
  overflow: auto;
  padding: 7px;
  border: 1px solid rgba(22, 32, 44, .09);
  border-radius: 16px;
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 18px 48px rgba(20, 32, 46, .18);
  backdrop-filter: blur(18px);
}

.tc-site-search-results[hidden] {
  display: none;
}

.tc-site-search-result {
  display: block;
  padding: 10px;
  border-radius: 10px;
  color: #20242a !important;
  font-size: 12px !important;
}

.tc-site-search-result:hover,
.tc-site-search-result:focus-visible {
  outline: none;
  background: #f0f6fd;
}

.tc-site-nav {
  display: flex;
  align-items: center;
  gap: 27px;
}

.tc-site-nav a {
  color: #444446;
  font-size: 11px;
  transition: color .2s ease;
}

.tc-site-nav a:hover {
  color: #000;
}

.tc-site-nav .tc-site-nav-cta {
  padding: 9px 16px;
  border: 0;
  border-radius: 999px;
  background: #0071e3;
  color: #fff;
  font: inherit;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
}

.tc-site-nav .tc-site-join-trigger {
  padding: 0;
  border: 0;
  background: transparent;
  color: #444446;
  font: inherit;
  font-size: 11px;
  cursor: pointer;
  transition: color .2s ease;
}

.tc-site-nav .tc-site-join-trigger:hover {
  color: #000;
}

.tc-site-menu-toggle {
  display: none;
  padding: 4px 7px;
  border: 0;
  background: transparent;
  color: #252527;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.tc-site-footer {
  padding: 65px 0 30px;
  border-top: 1px solid #e5e5e7;
  background: #f5f5f7;
  color: #1d1d1f;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
}

.tc-site-footer-grid {
  display: grid;
  grid-template-columns: 1.6fr .7fr .7fr .8fr;
  gap: 50px;
}

.tc-site-footer-description {
  max-width: 350px;
  margin: 15px 0 0;
  color: #6e6e73;
  font-size: 10px;
  line-height: 1.7;
}

.tc-site-footer-heading {
  margin: 0 0 15px;
  font-size: 10px;
  font-weight: 600;
}

.tc-site-footer-links {
  display: grid;
  gap: 9px;
}

.tc-site-footer-links a {
  color: #6e6e73;
  font-size: 10px;
}

.tc-site-footer-links a:hover {
  color: #171719;
}

.tc-site-footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 55px;
  padding-top: 20px;
  border-top: 1px solid #e5e5e7;
  color: #99999e;
  font-size: 9px;
}

.tc-site-footer-bottom a {
  color: inherit;
}

.tc-site-footer-bottom a:hover {
  color: #171719;
}

body.tc-site-page {
  padding-top: 68px;
}

body.tc-site-page .page {
  padding-top: 18px;
}

body.tc-site-page .platform-bar {
  top: 78px;
}

.tc-not-found {
  display: flex;
  min-height: min(620px, calc(100vh - 68px));
  align-items: center;
  justify-content: center;
  padding: 64px 24px;
  background:
    radial-gradient(ellipse at 50% 20%, rgba(0, 113, 227, .08), transparent 48%),
    #f5f5f7;
  color: #1d1d1f;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
  text-align: center;
}

body.tc-not-found-page {
  margin: 0;
  padding-top: 68px;
}

.tc-not-found-card {
  width: min(560px, 100%);
  padding: clamp(32px, 7vw, 64px);
  border: 1px solid rgba(0, 0, 0, .06);
  border-radius: 28px;
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 25px 70px rgba(0, 0, 0, .08);
}

.tc-not-found-code {
  margin: 0;
  color: #0071e3;
  font-size: clamp(64px, 14vw, 104px);
  font-weight: 700;
  letter-spacing: -.08em;
  line-height: 1;
}

.tc-not-found h1 {
  margin: 16px 0 10px;
  font-size: clamp(24px, 5vw, 34px);
  letter-spacing: -.04em;
}

.tc-not-found p {
  margin: 0;
  color: #6e6e73;
  font-size: 14px;
  line-height: 1.7;
}

.tc-not-found-home {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  margin-top: 26px;
  padding: 0 20px;
  border-radius: 999px;
  background: #0071e3;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}

.tc-not-found-home:hover {
  background: #0066cc;
}

@media (max-width: 1050px) {
  .tc-site-header {
    height: auto;
    min-height: 112px;
  }

  .tc-site-header-inner,
  .tc-site-footer-inner {
    width: calc(100% - 30px);
  }

  .tc-site-header-inner {
    min-height: 112px;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 7px 0 9px;
  }

  .tc-site-search {
    order: 3;
    flex: 0 0 100%;
    min-width: 0;
    margin: 0;
  }

  .tc-site-search-input {
    height: 36px;
  }

  .tc-site-search-results {
    width: 100%;
  }

  .tc-site-nav {
    position: fixed;
    top: 112px;
    right: 0;
    left: 0;
    display: none;
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
    padding: 25px;
    border-bottom: 1px solid #e5e5e7;
    background: rgba(255, 255, 255, .98);
  }

  .tc-site-nav.is-open {
    display: flex;
  }

  .tc-site-nav a {
    font-size: 15px;
  }

  .tc-site-nav .tc-site-nav-cta {
    font-size: 13px;
  }

  .tc-site-nav .tc-site-join-trigger {
    font-size: 15px;
  }

  .tc-site-menu-toggle {
    display: block;
  }

  .tc-site-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 1050px) {
  body.tc-site-page {
    padding-top: 112px;
  }

  body.tc-site-page .platform-bar {
    top: 122px;
  }

  .tc-not-found {
    min-height: min(620px, calc(100vh - 112px));
  }

  body.tc-not-found-page {
    padding-top: 112px;
  }
}

@media (max-width: 650px) {
  .tc-site-footer-grid {
    grid-template-columns: 1fr;
  }

  .tc-site-footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tc-site-header *,
  .tc-site-footer *,
  .tc-not-found * {
    scroll-behavior: auto;
    transition-duration: .01ms;
  }
}
