:root {
  --wt-public-shell-width: 1120px;
  --wt-public-shell-gutter: 32px;
  --wt-public-topbar-min-height: 70px;
}

@view-transition {
  navigation: auto;
}

.shell,
#pricingView.view.shell,
body:has(#pricingView.active) > .topbar.shell,
body:has(#pricingView.active) > .footer.shell {
  width: min(var(--wt-public-shell-width), calc(100% - var(--wt-public-shell-gutter)));
  margin-right: auto;
  margin-left: auto;
}

.topbar {
  display: flex;
  align-items: center;
  flex-direction: row;
  justify-content: space-between;
  gap: 16px;
  min-height: var(--wt-public-topbar-min-height);
  padding: 16px 0;
}

.brand,
.topbar-actions,
.nav {
  display: inline-flex;
  align-items: center;
}

.brand {
  gap: 10px;
  min-width: 0;
  color: inherit;
  font-weight: 850;
  letter-spacing: 0;
  text-decoration: none;
}

.mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border-radius: 8px;
  color: #fff;
  background: var(--accent, var(--wt-brand, #008f8b));
  font-size: 15px;
  font-weight: 900;
}

.topbar-actions {
  justify-content: flex-end;
  gap: 12px;
  min-width: 0;
  line-height: 1;
}

.nav {
  gap: 14px;
  color: var(--muted, var(--wt-muted, #5b6b7c));
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
}

.nav a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  border-bottom: 2px solid transparent;
  color: inherit;
  text-decoration: none;
}

.nav a[aria-current="page"] {
  border-bottom-color: var(--accent, var(--wt-brand, #008f8b));
  color: var(--accent-strong, var(--wt-brand-strong, #005f5c));
}

.account-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: min(280px, 38vw);
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid var(--line, var(--wt-border, #d8e7e5));
  border-radius: 999px;
  color: var(--accent-strong, var(--wt-brand-strong, #005f5c));
  background: rgb(255 255 255 / 78%);
  font-size: 13px;
  font-weight: 800;
  overflow: hidden;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 36px;
  padding: 3px;
  border: 1px solid var(--line, var(--wt-border, #d8e7e5));
  border-radius: 8px;
  background: rgb(255 255 255 / 72%);
}

.footer {
  padding: 28px 0 40px;
  color: var(--muted, var(--wt-muted, #5b6b7c));
  font-size: 13px;
  line-height: 1.6;
  text-align: center;
}

.footer a {
  color: var(--accent-strong, var(--wt-brand-strong, #005f5c));
  font-weight: 750;
  text-decoration: none;
}

@media (max-width: 760px) {
  .nav {
    display: none;
  }

  .topbar {
    align-items: flex-start;
  }

  .topbar-actions {
    margin-left: auto;
  }

  .brand span:last-child {
    display: none;
  }

  .account-pill {
    max-width: min(220px, 54vw);
  }
}
