:root {
  --peach: #ff906d;
}

html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  overflow-x: clip;
}

body {
  background:
    radial-gradient(circle at 100% 0, rgba(113, 100, 232, .09), transparent 30%),
    radial-gradient(circle at 0 34%, rgba(183, 239, 66, .08), transparent 27%),
    var(--paper);
}

.saas-header {
  gap: 24px;
  width: min(1420px, 92%);
  height: 82px;
  margin: 0 auto;
  padding: 0;
  background: transparent;
  border-bottom: 0;
}

.shell {
  width: min(1240px, 90%);
  margin: 58px auto 82px;
}

.page-head > div > p {
  max-width: 720px;
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.saas-header .brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  line-height: 1;
  letter-spacing: -.7px;
  white-space: nowrap;
}

.brand-mark {
  width: 28px;
  height: 28px;
  display: inline-grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  transform: rotate(-7deg);
  flex: 0 0 auto;
}

.brand-mark i {
  display: block;
  border-radius: 6px;
}

.brand-mark i:nth-child(1) {
  height: 45%;
  align-self: end;
  background: var(--lime);
}

.brand-mark i:nth-child(2) {
  height: 75%;
  align-self: end;
  background: var(--violet);
}

.brand-mark i:nth-child(3) {
  height: 100%;
  background: var(--peach);
}

.saas-header nav {
  min-width: 0;
  justify-content: flex-end;
}

.saas-header nav a,
.link-button {
  white-space: nowrap;
}

.saas-header nav a:hover,
.link-button:hover {
  color: var(--ink);
}

.saas-header nav a.button-primary,
.saas-header nav a.button-violet {
  color: #fff;
}

.saas-header nav a.button-primary:hover,
.saas-header nav a.button-violet:hover {
  color: #fff;
}

.manager-nav-link,
.manager-current {
  color: var(--violet) !important;
  font-weight: 800 !important;
}

.account-settings {
  margin-top: 48px;
  padding: 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
}

.settings-heading {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: end;
  margin-bottom: 20px;
}

.settings-heading h2 {
  margin: 7px 0 0;
  font: 800 27px/1.15 Manrope, sans-serif;
}

.settings-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.settings-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.setting-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fafbfa;
}

.setting-card h3 {
  margin: 0 0 6px;
  font: 750 16px Manrope, sans-serif;
}

.setting-card p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.account-language {
  display: inline-flex;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fff;
}

.account-language a {
  min-width: 52px;
  padding: 9px 13px;
  border-radius: 8px;
  color: var(--muted);
  text-align: center;
  text-decoration: none;
  font: 800 12px Manrope, sans-serif;
}

.account-language a.active {
  color: #fff;
  background: var(--ink);
}

.signout-button {
  color: #8c2e36;
  background: #fff5f5;
  border: 1px solid #f0cccc;
}

@media (max-width: 700px) {
  .settings-heading {
    align-items: start;
    flex-direction: column;
  }

  .settings-grid {
    grid-template-columns: 1fr;
  }

  .saas-header {
    width: 100%;
    padding-inline: 16px;
  }

  .saas-header .brand {
    font-size: 18px;
  }

  .brand-mark {
    width: 24px;
    height: 24px;
  }

  .saas-header nav {
    gap: 8px;
  }

  .saas-header nav .button {
    padding: 10px 12px;
    font-size: 11px;
  }
}
